
/*------------------cart-------------*/

/*
#main-nav {
    margin: 10px auto;
    width: 100px;
    min-height: 50px;
    flex-flow: row nowrap;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: space-around;
}*/

#main-nav a.cart-button {
    width: 44px;
    min-height: 50px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    align-content: flex-start;
    justify-content: space-around;
}

    #main-nav a.cart-button span.bag-icon {
        width: 34px;
        height: 40px;
        display: block;
        margin-bottom: 10px;
        z-index: 1;
        text-indent: -999px;
        overflow: hidden;
        -webkit-mask: url("../images/shopping_cart.svg");
        background: rgba(255, 255, 255, 0.6);
        transition: all 0.5s linear 0s;
    }

    #main-nav a.cart-button span.bag-count {
        border-radius: 3px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 12px;
        font-weight: 600;
        height: 15px;
        width: 15px;
        position: absolute;
        top: 7px;
        right: 7px;
        z-index: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transition: all 0.5s linear 0s;
        background: #000;
        border-radius: 100%;
    }

    #main-nav a.cart-button span.bag-label {
        display: block;
        color: rgba(255, 255, 255, 0.6);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
        height: 20px;
        width: 80px;
        text-align: center;
        transition: all 0.5s linear 0s;
    }

    #main-nav a.cart-button:active span.bag-icon, #main-nav a.cart-button:hover span.bag-icon {
        background: #fff;
    }

    #main-nav a.cart-button:active span.bag-count, #main-nav a.cart-button:hover span.bag-count {
        color: #fff;
    }

    #main-nav a.cart-button:active span.bag-label, #main-nav a.cart-button:hover span.bag-label {
        color: #fff;
    }

body.show-sidebar-cart #sidebar-cart {
    right: 0;
    visibility: visible;
    transform: translateX(0);
}

body.show-sidebar-cart #sidebar-cart-curtain {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#sidebar-cart {
    --dw-cart-bg: #1A1D23;
    --dw-cart-card: #232730;
    --dw-cart-text: #F5F5F5;
    --dw-cart-muted: rgba(245, 245, 245, 0.72);
    --dw-cart-gold: #D4AF37;
    --dw-cart-border: rgba(212, 175, 55, 0.25);
    background: var(--dw-cart-bg);
    color: var(--dw-cart-muted);
    padding: 0;
    position: fixed;
    display: flex;
    flex-direction: column;
    width: min(400px, 100vw);
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 9999999;
    top: 0;
    right: 0;
    transform: translateX(100%);
    visibility: hidden;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    border-left: 1px solid var(--dw-cart-border);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    z-index: 99999999;
}

    #sidebar-cart main {
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
    }

    #sidebar-cart a.close-button {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin: 0 0 12px 0;
        text-decoration: none;
        position: absolute;
        z-index: 2;
        align-self: flex-start;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border-radius: 50%;
        border: 1px solid var(--dw-cart-border);
        background: rgba(212, 175, 55, 0.1);
        transition: background 0.2s ease, border-color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }

        #sidebar-cart a.close-button:hover {
            background: rgba(212, 175, 55, 0.2);
            border-color: var(--dw-cart-gold);
        }

        #sidebar-cart a.close-button span.close-icon {
            width: auto;
            height: auto;
            background: none !important;
            -webkit-mask: none !important;
            mask: none !important;
            text-indent: 0;
            overflow: visible;
            font-size: 18px;
            font-weight: 700;
            line-height: 1;
            color: var(--dw-cart-gold);
        }

    #sidebar-cart h2 {
        color: var(--dw-cart-text);
        /* font-family: 'Playfair Display', Georgia, serif; */
        font-size: 1.125rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        line-height: 1.3;
        margin: 7px 0 16px 0;
        padding-right: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
    }

        #sidebar-cart h2 span.count {
            color: #fff;
            background: #004aad;
            padding: 8px;
            margin-left: 6px;
            position: relative;
            top: -1px;
            width: 18px;
            height: 18px;
            border-radius: 50px;
            font-size: 12px;
            letter-spacing: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

    #sidebar-cart #div_Master_Cart_table {
        /* flex: 1 1 auto; */
        min-height: 100px;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 12px;
        font-size: 14px;
        line-height: 1.6;
        color: var(--dw-cart-muted);
    }

        #sidebar-cart #div_Master_Cart_table.cart-empty,
        #sidebar-cart #div_Master_Cart_table:not(:has(ul)) {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 32px 16px;
            background: var(--dw-cart-card);
            border: 1px dashed var(--dw-cart-border);
            border-radius: 10px;
            color: var(--dw-cart-muted);
        }

    #sidebar-cart ul.products1 {
        margin: 0;
        padding: 0;
        list-style: none;
        height: auto;
        max-height: none;
        overflow: visible;
        display: block;
        position: relative;
        z-index: 0;
    }

        #sidebar-cart ul.products1:after {
            /* background: linear-gradient(180deg, transparent, #354165); */
            /* height: 30px; */
            /* width: 300px; */
            /* z-index: 1; */
            /* content: ""; */
            position: absolute;
            right: 0;
            bottom: 0;
        }

        #sidebar-cart ul.products1 li.product1 {
            margin: 0 0 10px 0;
            padding: 0;
            width: 100%;
            min-height: 30px;
            background: var(--dw-cart-card);
            border: 1px solid var(--dw-cart-border);
            border-radius: 8px;
            color: var(--dw-cart-muted);
            position: relative;
            z-index: 1;
            display: flex;
            flex-flow: row nowrap;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

            #sidebar-cart ul.products1 li.product1:active, #sidebar-cart ul.products1 li.product1:hover {
                border-color: rgba(212, 175, 55, 0.45);
                box-shadow: 0 4px 16px rgba(212, 175, 55, 0.12);
            }

                #sidebar-cart ul.products1 li.product1:active span.product-details1 h3, #sidebar-cart ul.products1 li.product1:hover span.product-details1 h3 {
                    color: var(--dw-cart-gold) !important;
                }

                #sidebar-cart ul.products1 li.product1:active img, #sidebar-cart ul.products1 li.product1:hover img {
                    border-color: #d7d7de !important;
                }

            #sidebar-cart ul.products1 li.product1 a.product-link {
                width: 100%;
                color: var(--dw-cart-text);
                padding: 10px;
                margin: 0;
                display: flex;
                flex-direction: row;
                flex-wrap: nowrap;
                text-decoration: none;
            }

                #sidebar-cart ul.products1 li.product1 a.product-link span.product-image1 {
                    display: inline-block;
                    width: 75px;
                    height: 50px;
                    padding-right: 10px;
                }

                    #sidebar-cart ul.products1 li.product1 a.product-link span.product-image1 img {
                        width: 60px;
                        height: 50px;
                        object-fit: cover;
                        border: 1px solid var(--dw-cart-border);
                        border-radius: 4px;
                        transition: border-color 0.2s ease;
                    }

                #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 {
                    display: inline-block;
                    width: 100%;
                    min-height: 30px;
                    color: #75757a;
                }

                    #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 h3 {
                        margin: 3px 25px 5px 0;
                        font-size: 13px;
                        font-weight: 600;
                        color: var(--dw-cart-text);
                        transition: color 0.2s ease;
                        line-height: 1.35;
                    }

                    #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price {
                        display: flex;
                        flex-direction: row;
                        flex-wrap: nowrap;
                        align-content: center;
                        align-items: center;
                        justify-content: space-between;
                        width: 100%;
                        position: relative;
                        z-index: 5px;
                        margin-top: 8px;
                    }

                        #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty,
                        #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.price {
                            display: flex;
                            flex-direction: row;
                            flex-wrap: nowrap;
                        }

                        #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty {
                            display: flex;
                            flex-direction: row;
                            flex-wrap: nowrap;
                            align-content: center;
                            align-items: center;
                            justify-content: flex-start;
                        }

                            #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty button.minus-button,
                            #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty button.plus-button {
                                width: 25px;
                                height: 24px;
                                border-radius: 3px;
                                border: 1px solid #cdcdd1;
                                background: #f0f0f9;
                                color: #75757a;
                                font-size: 18px;
                                text-align: center;
                                vertical-align: middle;
                                line-height: 20px;
                                transition: all 0.3s linear;
                            }

                                #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty button.minus-button:active, #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty button.minus-button:hover,
                                #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty button.plus-button:active,
                                #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty button.plus-button:hover {
                                    color: #fff;
                                    background: #4dc0e3;
                                    border-color: #4dc0e3;
                                    cursor: pointer;
                                    outline: none;
                                }

                                #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty button.minus-button:focus,
                                #sidebar-cart ul.products li.product1 a.product-link span.product-details1 span.qty-price span.qty button.plus-button:focus {
                                    outline: none;
                                }

                            #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty input.qty-input {
                                width: 24px;
                                height: 24px;
                                text-align: center;
                                border: 1px solid #cdcdd1;
                                border-radius: 3px;
                                margin: 0 2px;
                                transition: all 0.5s linear;
                            }

                                #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty input.qty-input:active, #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty input.qty-input:hover {
                                    border: 1px solid #4dc0e3;
                                }

                                #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty input.qty-input:focus {
                                    outline: none;
                                    border: 1px solid #4dc0e3;
                                }

                                #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty input.qty-input::-webkit-inner-spin-button, #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.qty input.qty-input::-webkit-outer-spin-button {
                                    -webkit-appearance: none;
                                    appearance: none;
                                    margin: 0;
                                }

                        #sidebar-cart ul.products1 li.product1 a.product-link span.product-details1 span.qty-price span.price {
                            color: var(--dw-cart-gold);
                            font-weight: 600;
                            font-size: 13px;
                            display: inline-flex;
                            white-space: nowrap;
                        }

            #sidebar-cart ul.products1 li.product1 a.remove-button {
                height: 16px;
                width: 16px;
                margin: 10px 10px 0 0;
                text-decoration: none;
                position: absolute;
                top: 2px;
                right: 0;
                z-index: 2;
                display: flex;
            }

                #sidebar-cart ul.products1 li.product1 a.remove-button span.remove-icon {
                    width: 15px;
                    height: 16px;
                    background: rgba(117, 117, 122, 0.5);
                    text-indent: -9999px;
                    overflow: hidden;
                    font-size: 0;
                    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 32 36'%3E%3Cpath fill='currentColor' d='M30.9 2.3h-8.6L21.6 1c-.3-.6-.9-1-1.5-1h-8.2c-.6 0-1.2.4-1.5.9l-.7 1.4H1.1C.5 2.3 0 2.8 0 3.4v2.2c0 .6.5 1.1 1.1 1.1h29.7c.6 0 1.1-.5 1.1-1.1V3.4c.1-.6-.4-1.1-1-1.1zM3.8 32.8A3.4 3.4 0 0 0 7.2 36h17.6c1.8 0 3.3-1.4 3.4-3.2L29.7 9H2.3l1.5 23.8z'/%3E%3C/svg%3E");
                    mask: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 32 36'%3E%3Cpath fill='currentColor' d='M30.9 2.3h-8.6L21.6 1c-.3-.6-.9-1-1.5-1h-8.2c-.6 0-1.2.4-1.5.9l-.7 1.4H1.1C.5 2.3 0 2.8 0 3.4v2.2c0 .6.5 1.1 1.1 1.1h29.7c.6 0 1.1-.5 1.1-1.1V3.4c.1-.6-.4-1.1-1-1.1zM3.8 32.8A3.4 3.4 0 0 0 7.2 36h17.6c1.8 0 3.3-1.4 3.4-3.2L29.7 9H2.3l1.5 23.8z'/%3E%3C/svg%3E");
                    transition: all 0.5s linear;
                }

                #sidebar-cart ul.products1 li.product1 a.remove-button:active span.remove-icon, #sidebar-cart ul.products1 li.product1 a.remove-button:hover span.remove-icon {
                    background: #cc0000;
                }

    #sidebar-cart div.totals {
        position: absolute;
        bottom: 120px;
        left: 0;
        right: 0;
        height: 45px;
        /* background: #e1e1e7;
        border-bottom: 1px solid #d7d7de;*/
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

        #sidebar-cart div.totals div.subtotal,
        #sidebar-cart div.totals div.shipping,
        #sidebar-cart div.totals div.tax {
            padding: 14px 16px;
            color: var(--dw-cart-muted);
            border-bottom: 1px solid var(--dw-cart-border);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            font-size: 12px;
            font-weight: 500;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
        }

            #sidebar-cart div.totals div.subtotal:last-child,
            #sidebar-cart div.totals div.shipping:last-child,
            #sidebar-cart div.totals div.tax:last-child {
                border-bottom: none;
            }

            #sidebar-cart div.totals div.subtotal span.amount,
            #sidebar-cart div.totals div.shipping span.amount,
            #sidebar-cart div.totals div.tax span.amount {
                color: var(--dw-cart-gold);
                margin-left: 10px;
                font-weight: 700;
                font-size: 15px;
            }

    #sidebar-cart div.action-buttons {
        padding: 0;
        position: absolute;
        bottom: 40px;
        left: 0;
        right: 0;
        width: 100%;
        height: 80px;
        display: block;
        white-space: nowrap;
        padding: 0 10px;
    }

        #sidebar-cart div.action-buttons a.view-cart-button,
        #sidebar-cart div.action-buttons a.checkout-button {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            box-sizing: border-box;
            padding: 14px 20px;
            margin: 0;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            font-size: 13px;
            font-weight: 700;
            border-radius: 6px;
            text-decoration: none;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        #sidebar-cart div.action-buttons a.view-cart-button {
            background: transparent;
            border: 1px solid var(--dw-cart-border);
            color: var(--dw-cart-gold);
            margin-bottom: 8px;
        }

            #sidebar-cart div.action-buttons a.view-cart-button:hover {
                background: rgba(212, 175, 55, 0.1);
            }

        #sidebar-cart div.action-buttons a.checkout-button {
            border: none;
            background: linear-gradient(135deg, #B8860B, #D4AF37);
            color: #0F1115;
        }

            #sidebar-cart div.action-buttons a.checkout-button:hover {
                transform: translateY(-1px);
                box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
                color: #0F1115;
            }

            #sidebar-cart div.action-buttons a.checkout-button:after {
                display: none;
            }

    #sidebar-cart .form-control.input-number,
    #sidebar-cart input.form-control {
        background: var(--dw-cart-bg) !important;
        border: 1px solid var(--dw-cart-border) !important;
        color: var(--dw-cart-text) !important;
        border-radius: 4px !important;
    }

    #sidebar-cart .quant {
        background: rgba(212, 175, 55, 0.15) !important;
        border: 1px solid var(--dw-cart-border) !important;
        color: var(--dw-cart-gold) !important;
        cursor: pointer;
        line-height: 27px !important;
    }

#sidebar-cart-curtain {
    background: rgba(0, 0, 0, 0.55);
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 9999998;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 767.98px) {
    body.show-sidebar-cart #sidebar-cart {
        right: 0 !important;
        visibility: visible;
        transform: translateX(0);
    }
}

@media (max-width: 480px) {


    #sidebar-cart {
        width: 100vw;
        max-width: 100vw;
    }

        #sidebar-cart main {
            padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
        }

        #sidebar-cart ul.products1 li.product1 a.product-link span.product-image1 {
            width: 64px;
        }

            #sidebar-cart ul.products1 li.product1 a.product-link span.product-image1 img {
                width: 52px;
                height: 52px;
                object-fit: cover;
            }
}

.quant {
    width: 25px;
    height: 27px;
    border-radius: 3px;
    border: 1px solid #cdcdd1;
    background: #f0f0f9;
    color: #75757a;
    font-size: 11px !important;
    text-align: center;
    vertical-align: middle;
    line-height: 28px !important;
    transition: all 0.3s linear;
}
