@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');
@import url('https://fonts.googleapis.com/css?family=Nunito:wght@200;300;400;600;700&display=swap');
@import url('https://unpkg.com/swiper/swiper-bundle.min.css');

:root {
    --green:#2ec657;
    --red: #a00;
    --light-grey:#969696;
    --black:#323232;
    --box-shadow:0 0.5rem 1.5rem rgba(0,0,0,0.1);
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--black);
    background-color: #fff;

}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    font-family: 'Nunito', sans-serif;
    color: var(--black);
    text-decoration: none;
}

i.bi {
    font-size: 20px;
    cursor: pointer;
}

.button:hover {
    opacity: 0.8;
}


/*
 * Header
 */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    opacity: 1;
    background-color: #fff;
}

.top-header-holder {    
    .icon-holder {
        padding: 0.55rem 0;
        .search-holder {
            .bi-list {
                display: none;
            }
            .bi-search {
                cursor: pointer;
            }
        }

        .shopping-cart-holder {
            position: relative;

            .open-sidecart {
                cursor: pointer;
                display: inline-block;
                .bi-cart {
                    margin-left: 8px;
                }
                .product-counter {
                    width: 22px;
                    height: 22px;
                    background-color: red;
                    color: #fff;
                    border-radius: 11px;
                    position: absolute;
                    right: 5px;
                    top: -9px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                } 
            }
        }    
    }

    .top-nav-holder {
        i.bi-x {
            display: none;
        }

        div.navbar-box {
            display: flex;
            align-items: center;
            justify-content: center;

            ul.navbar-menu {
    
                li.menu-item {
                    display: inline-block;
                    position: relative;

                    a {
                        display: block;
                        padding: 4px 30px;
                        font-size: medium;
                        font-weight: bold;
                        text-transform: capitalize;
    
                        i.bi {
                            display: inline-block;
                            font-size: 14px;
                        }
                    }
    
                    ul.sub-menu {
                        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
                        width: 140px;
                        position: absolute;
                        top: 100%;
                        left: 0px;
                        padding: 6px 8px;
                        border-top: 1px solid rgba(180, 180, 180, 0.6);
                        overflow: hidden;
                        background-color: #fff;
                        visibility: hidden;
                        opacity: 0;
                        transform: translateY(10px);
                        transition: 0.3s ease;
                        
                        li.menu-item {
                            display: block;

                            a {
                                display: block;
                                padding: 2px 8px;
                            } 
                        } 
                    }
                }
            }
        }
    }

    .top-nav-holder div.navbar-box ul.navbar-menu li.menu-item-has-children:hover > ul.sub-menu {
        visibility: visible;
        transform: translateY(0px);
        opacity: 1;
    }

    .srch-holder {
        position: fixed;
        top: -90px;
        width: 100%;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 23;
        opacity: 1;
        background-color: white;
        border-bottom: solid 1px rgba(180, 180, 180, 0.6);
        visibility: hidden;
        transition: all 0.2s ease;
    }

    .srch-holder.active {
        visibility: visible !important;
        top: 0;
    }

}

@media screen and (max-width: 768px) {
   .search-holder {
        .bi-search {
            display: inline !important;
        }
        .bi-list {
            display: inline !important;
            margin-right: 8px;
        }
   }
   
   .top-nav-holder {
        position: fixed;
        left: -240px;
        top: 0;
        width: 240px;
        height: 100vh;
        padding: 0;
        overflow-y: auto;
        background-color: white;
        z-index: 999;
        visibility: hidden;
        transition: all 0.3s ease;
        border-right: solid 1px rgba(180, 180, 180, 0.6);

        .bi-x {
            display: block !important;
            font-size: 25px;
            cursor: pointer;
            position: relative;
            left: calc(100% - 30px);
            top: 0px;
        }

        div.navbar-box {
            display: block !important;
            ul.navbar-menu {

                li.menu-item {
                    display: block !important;
                    a {
                        padding: 12px 25px !important;
                    }
                }
            }
        }
    }

    .top-nav-holder div.navbar-box ul.navbar-menu li.menu-item-has-children ul.sub-menu {
        width: 100% !important;
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        top: auto;
        left: 12px !important;
        transform: translateY(0px) !important;
        max-height: 0;
    }

    .top-nav-holder.open {
        visibility: visible !important;
        left: 0;
    }
}

/*
* Footer
*/
.site-footer {
    margin-top: 15rem;
    .footer-container_heading {
        color: var(--light-grey);
        margin-bottom: 1rem;
    }

    a {
        color: var(--light-grey);
    }
    
    .copyright_body {
        color: var(--light-grey);
        margin-top: 3rem;
    }
}


/*
* search page
*/
form.woocommerce-product-search input.search-field {
    width: 300px;
    height: 35px;
    padding-left: 5px;
    border: 1px solid rgba(180, 180, 180, 0.6);
}

form.woocommerce-product-search button {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    height: 35px;
}

/*
 * front-page
 * home-slide featured-product product-category
 */
section.home {
    padding: 0 1rem 2rem;
}

.home .home-slider .slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    //padding-left: 4rem;
}

.home .home-slider .slide .content {
    flex: 1 1 280px;
}

.home .home-slider .slide .image {
    flex: 1 1 auto;
}

.home .home-slider .slide .image img {
    width: 100%;
}

.home .home-slider .slide .content span {
    font-size: 1rem;
    color: var(--black);
}

.home .home-slider .slide .content h3 {
    font-size: 4rem;
    color: var(--black);
}

.home .home-slider .slide .content p {
    font-size: 1rem;
    color: var(--light-grey);
    padding: .5rem 0;
}

.home .home-slider .slide .btn {
    margin-top: 1rem;
    display: inline-block;
    font-size: 1.1rem;
    color: #fff;
    background: var(--green);
    cursor: pointer;
    padding: 0.6rem 1.2rem;
}

.swiper-pagination-bullet-active {
    background: var(--light-grey);
}

@media (max-width: 768px) {
    section.home {
        padding: 1rem 1rem 0;
    }

    .home .home-slider .slide {
        gap: 0.45rem;
        padding-left: 0;
    }

    .home .home-slider .slide .content span {
        font-size: .9rem;
    }

    .home .home-slider .slide .content h3 {
        font-size: 2rem;
    }

    .home .home-slider .slide .content p {
        font-size: .9rem;
    }

    .home .home-slider .slide .btn {
        margin-top: .35rem;
    }
}


/*
 * featured product
 */
section.product-shelf {
    padding: 2rem 1rem;
}

.product-shelf .heading {
    text-align: center;
    color: var(--black);
    font-size: 2rem;
    padding-bottom: 2rem;
    text-transform: capitalize;
}

.product-shelf ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 3rem;
}

.product-shelf ul.products li.product {
    padding: 0 0 1.5rem;
    background: #fff;
    /*border: 0.1px solid rgba(180, 180, 180, 0.6);
    box-shadow: var(--box-shadow);
    border-radius: .5rem; */
    position: relative;
    overflow: hidden;
    text-align: center;
}

.product-shelf ul.products li.product img {
    /*border-radius: .5rem;*/
    object-fit: cover;
    height: auto;
    width: 100%;
    margin: 0 0 1rem;
}

ul.products li.product h2.woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    font-size: calc(.8rem + .3vw);
    margin-bottom: 1rem;
}

.product-shelf ul.products li.product span.price {
    color: var(--black);
    font-weight: bolder;
    font-size: calc(.75rem + .4vw);
    display: block;
    margin-bottom: 1rem;
}

.product-shelf ul.products li.product .add_to_cart_button {
    color: #fff;
    font-size: calc(.65rem + .3vw);
    background: var(--green);
    border-radius: .35rem;
    padding: .35rem .75rem;
}

@media (max-width: 768px) {
    section.product-shelf {
        padding: 2rem 1rem;
    }

    .product-shelf ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}


/*
* banner-about
*/
section.about {
    padding: 2rem 1rem;
}

.about h1.heading {
    text-align: center;
}

.about .row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about .row .image {
    flex: 1 1 20rem;
}

.about .row .image img {
    width: 100%;
    object-fit: cover;
}

.about .row .content {
    flex: 1 1 30rem;
}

.about .row .content h3 {
    font-size: 1.7rem;
    padding: .5rem 0;
}

.about .row .content p {
    color: var(--light-grey);
}

.about .row .content .icons-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: .5rem 0;
    margin-top: .5rem;
}

.about .row .content .icons-container .icon {
    background: #eee;
    border-radius: .5rem;
    border: 1px solid rgba(180, 180, 180, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1;
    flex: 1 1 10rem;
    padding: .6rem .4rem;
}

.about .row .content .icons-container .icon i {
    font-size: 1rem;
    color: var(--green);
    margin-right: .3rem;
}

.about .row .content .icons-container .icon span {
    font-size: .9rem;
    color: var(--black);
}

@media (max-width: 991px) {
    section.about {
        padding: 2rem 1rem;
    }

    .about .row {
        gap: 0;
    }
}


/*
* shop page
*/
section.shop-wrapper {
    padding: 2rem 1rem;
}

.shop-wrapper .woocommerce-ordering {
    display: flex;
    justify-content: flex-end;
}

.shop-wrapper .woocommerce-ordering select {
    border: 1px solid rgba(180, 180, 180, 0.6);
    border-radius: .3rem;
}

.shop-wrapper ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 3rem;
    margin-top: 1rem;
}

.shop-wrapper ul.products li.product {
    padding: 0 0 1.5rem;
    background: #fff;
    width: 100%;
    /*border: 0.1px solid rgba(180, 180, 180, 0.6);
    box-shadow: var(--box-shadow);*/
    position: relative;
    overflow: hidden;
    text-align: center;
}

a.added_to_cart {
    display: none !important;
}

.shop-wrapper ul.products li.product img {
    object-fit: cover;
    height: auto;
    width: 100%;
    margin: 0 0 1rem;
}

.shop-wrapper ul.products li.product span.price {
    color: var(--black);
    font-weight: bolder;
    font-size: calc(.75rem + .4vw);
    display: block;
    margin-bottom: 1rem;
}

.shop-wrapper ul.products li.product .add_to_cart_button {
    color: #fff;
    width: 45%;
    font-size: calc(.65rem + .3vw);
    background: var(--green);
    border-radius: .35rem;
    padding: .35rem .75rem;
}

.woocommerce-pagination {
    margin-top: 5rem;
}

.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    li {
        border: none !important;
        margin: 0 .15em;
    }
}

.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
    background: rgb(240, 240, 240) !important;
    background-size: .875em 2px, 0 !important;
    border-radius: .5em;
}

.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
    width: 2rem; height: 2rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    section.shop-wrapper {
        padding: 0 1rem 2rem;
    }

    .shop-wrapper ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/**
 * single product page flexslider css
 */
.images-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 3rem;
    height: 560px;
    margin-bottom: 6rem;

    div.entry-images {
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
    }

    div.summary {
        width: 100%;
        overflow-y: scroll;
        z-index: 25;
        margin-bottom: 2.5rem;
    }

    div.summary::-webkit-scrollbar {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .images-summary {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-row-gap: 1.5rem;
        height: auto;
        margin-top: 0;
    }

    .entry-images {
        display: flex;
        align-items: center;
        justify-content: center !important;
    }

    .entry-summary {
        width: 100% !important;
        overflow-y: auto;

        .woocommerce-breadcrumb {
            display: none !important;
        }
    }
}


/*
* entry-images  single product page
*/
.woocommerce-product-gallery {
    display: flex;
    flex-direction: row-reverse;
    column-gap: 24px;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

div.woocommerce-product-gallery > div.flex-viewport {
    flex-basis: 520px;
    height: 100%;
    margin: 0;
}

.woocommerce-product-gallery__image img {
    object-fit: cover;
    width: 100%;
    height: auto;
    transition: all 0.3s ease; /* Smooth zoom effect */
}

div.woocommerce-product-gallery > ol.flex-control-thumbs {
    flex-basis: 60px;
    z-index: 0;
    height: 520px;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow: hidden;
}

.flex-control-nav.flex-control-thumbs li {
    min-width: 100%;
    margin-bottom: 16px;
    transition: margin-top 0.4s linear;
    img {
        width: 60px;
        height: 100%;
    }
}

/* Style the active image */
.flex-active {
    border: 2px solid #121212; /* Active image border color */
}

@media screen and (max-width:768px) {
    .woocommerce-product-gallery {
        max-width: 460px;
        height: 100%;
        width: auto !important;
        display: flex;
        flex-direction: column;
        row-gap: 15px;
        position: relative;
    }

    div.woocommerce-product-gallery > div.flex-viewport {
        flex-basis: 460px;
        height: 100%;
        margin: 0;
    }

    /* Thumbnails Styling */
    div.woocommerce-product-gallery > ol.flex-control-thumbs {
        flex-basis: 60px;
        display: flex;
        flex-direction: row;
        width: 460px;
        overflow: hidden; 
    }

    .flex-control-nav.flex-control-thumbs li {
        min-width: 54px !important;
        margin-right: 14px !important;
        img {
            opacity: 1 !important;
            width: 54px !important;
            height: auto !important;
        }
    }
}

/* Adjusting Container */
ul.flex-direction-nav {
    position: absolute;
    width: 510px;
    height: 90%;
    right: 5px;
    z-index: 9;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width:768px) {
    ul.flex-direction-nav {
        width: 450px;
        height: 73%;
    }
}

a.flex-next,
a.flex-prev {
    visibility: hidden;  
    font-size: 0; /* Hide any potential text */
}

a.flex-next::after,
a.flex-prev::before {
    visibility: visible;
    font-family:'Bootstrap-icons';
    font-weight: 900;
    font-size: 20px;
    color: #d4d4d4; /* Arrow color */
    transition: color 0.3s ease; /* Transition effect for color change */
}

a.flex-next::after {
    content: '\F27B'; /* Font Awesome class for right arrow */
    
}

a.flex-prev::before {
    content: '\F27A'; /* Font Awesome class for left arrow */
    
}

/* Optional: Change color on hover */
a.flex-next:hover::after,
a.flex-prev:hover::before {
    color: #1E90FF; /* Color on hover */
}


/**
* single product quantity input css
*/
.btn-add,
.btn-sub {
    width: 1.5rem; height: 1.5rem;
    border: none;
    background: linear-gradient(currentColor, currentColor) no-repeat center/.875em 2px, 
                linear-gradient(currentColor, currentColor) no-repeat center/2px .875em,
                rgb(240, 240, 240);
    color: #a3a3a3;
    border-radius: 5px;
}
.btn-sub {
    background-size: .875em 2px, 0;
}

button.btn-add::first-letter {
    color: transparent;
}
button.btn-sub::first-letter {
    color: transparent;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none; 
    margin: 0;
}

input.qty {
    border: none;
    width: 1.35rem !important;
    text-align: center;
}

/*
* plus sub button in mini cart
*/
button.decrement,
button.increment {
    width: 1.5rem; height: 1.5rem;
    border: none;
    background: linear-gradient(currentColor, currentColor) no-repeat center/.875em 2px, 
                linear-gradient(currentColor, currentColor) no-repeat center/2px .875em,
                rgb(240, 240, 240);
    color: #a3a3a3;
    border-radius: 5px;
}
button.decrement {
    background-size: .875em 2px, 0;
}

button.decrement::first-letter {
    color: transparent;
}
button.increment::first-letter {
    color: transparent;
}

input.quantity {
    border: none;
    width: 1.35rem !important;
    text-align: center;
}

/*
* single product page - convert variable product select dropdown to clickable label
*/
.swatch {
    width: 25px;
    height: 25px;
    line-height: 25px;
	display: inline-block;
	margin-right: 1rem;
	cursor:pointer;
	border: 1px solid #d1d1d1;
	vertical-align: middle;
    border-radius: 5px;
    text-align: center;
}

span.selected{
	outline: 2px solid #121212;
}

/* single product page - entry summary */
 /**
  * single product page - add 'checkout' button single-product template
  */
.woocommerce .woocommerce-breadcrumb {
    color: var(--light-grey);
    margin: 0 0 0.2rem;
    a {
        color: var(--light-grey);
    }
}

.woocommerce div.product p.price, .woocommerce div.product span.price
{
    color: #958e09;
    font-size: 1.5em;
}

.woocommerce .ppcp-messages {
    display: none !important;
}

.woocommerce div.product .product_title {
    font-weight: 700;
    font-size: calc(0.8rem + 1vw);
    margin-bottom: .75rem;
}

/* single product page woocommerce-tabs style */
.woocommerce div.product .woocommerce-tabs ul.tabs
{
    list-style: none;
    padding: 0 0 0 .5em;
    margin: 1.7em 0 1.5em;
    overflow: hidden;
    position: relative;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li
{
    border: 1px solid #cfc8d8;
    background-color: #e9e6ed;
    color: #515151;
    display: inline-block;
    position: relative;
    z-index: 0;
    border-radius: 4px 4px 0 0;
    margin: 0 -5px;
    padding: 0 1em;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active
{
    background: #fff;
    color: #515151;
    z-index: 2;
    border-bottom-color: #fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: inline-block;
    padding: .5em 0;
    font-weight: 700;
    color: #515151;
    text-decoration: none;
}

/* single product page do not show the quantity of items in stock */
div.product .stock {
    display: none;
}

/* single product page related product title */
.related > h2 {
    margin-bottom: 0.75em;
}

/* single product page - entry summary - form.cart  */
.woocommerce div.product form.cart table.variations {
    width: 100%;
    border-collapse: separate;
    margin-bottom: 1rem;
}

.woocommerce div.product form.cart table.variations th {
    font-weight: 700;
    padding: 0;
    line-height: 2em;
    width: 10%;
    text-align: left;
    vertical-align: middle;
}

.woocommerce div.product form.cart table.variations td {
    width: 80%;
    line-height: 2em;
    text-align: left;
    vertical-align: middle;
}

.woocommerce form.cart button.single_add_to_cart_button {
    margin: 1rem 0 0;
    padding: 6px 20px;
    color: #fff;
    font-size: medium;
    clear: both;
    width: 60%;
    background-color: var(--green);
    border: none;
    border-radius: .2em;
}

.woocommerce form.cart button.buy-now-button {
    margin: 1rem 0 0;
    padding: 6px 20px;
    color: #fff;
    font-size: medium;
    clear: both;
    width: 60%;
    background-color: #000;
    border: none;
    border-radius: .2em;
}

@media screen and (max-width: 768px) {

    .woocommerce div.product form.cart {
        position: fixed;
        bottom: 0;
        left: 0;
        margin: 0;
        padding: 1.25rem;
        width: 100%;
        background-color: #fff;
        z-index: 98;
        border-top: 1px solid rgba(180, 180, 180, 0.6);

       
            div.quantity {
                display: inline-block !important;
                margin-right: .5rem;
            }
            .single_add_to_cart_button,
            .buy-now-button {
                display: inline-block;
                width: 35%;
                margin: 0 5px 0 0!important;
            }
        
    }
}

/**
* checkout page
*/
section.box-container {
    padding: 3rem 1rem 2rem;
}

.woocommerce-checkout .col2-set {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.woocommerce-checkout .col2-set .col-1 {
    flex: 1 1 22rem;
}

.woocommerce-checkout .col2-set .col-2 {
    flex: 1 1 auto;
}
.woocommerce form .form-row {
    padding: 3px;
    margin: 0 0 6px
}

.woocommerce form .form-row label {
    line-height: 2;
    display: block;
}

.woocommerce form .form-row-first {
    float: left;
}

.woocommerce form .form-row-last {
    float: right;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: 49%;
    overflow: visible;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
    font-weight: 400;
    letter-spacing: normal;
    width: 100%;
    padding: .5em;
    display: block;
    background-color: #fff;
    border: 1px solid rgba(180, 180, 180, 0.6);
    border-radius: .3em;
    color: #444;
    margin: 0;
    line-height: normal;
    height: auto;
}

.select2-container .select2-selection--single {
    height: auto;
    border: 1px solid rgba(180, 180, 180, 0.6)
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: .5em;
    line-height: normal;
    box-sizing: border-box;
    color: #444;
    font-weight: 400;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.woocommerce form .form-row-wide,
.woocommerce-page form .form-row-wide {
    clear: both;
}

.woocommerce form .form-row label.hidden {
    visibility: hidden
}

.woocommerce form .form-row [placeholder]:focus::-webkit-input-placeholder {
    -webkit-transition: opacity .5s .5s ease;
    transition: opacity .5s .5s ease;
    opacity: 0
}

.woocommerce form .form-row label.inline {
    display: inline
}

.woocommerce form .form-row textarea {
    height: 4em;
    line-height: 1.5;
    box-shadow: none
}

.woocommerce form .form-row .required {
    color: var(--red);
    font-weight: 700;
    border: 0!important;
    text-decoration: none;
    visibility: hidden
}

.woocommerce form .form-row .optional {
    visibility: visible
}

.woocommerce form .form-row.woocommerce-invalid label {
    color: var(--red)
}

.woocommerce form .form-row.woocommerce-invalid input.input-text,.woocommerce form .form-row.woocommerce-invalid select {
    border-color: var(--red)
}

.woocommerce form .form-row.woocommerce-invalid .select2-container:not(.select2-container--open) .select2-selection {
    border-color: var(--red)
}

.woocommerce form .form-row.woocommerce-validated input.input-text,.woocommerce form .form-row.woocommerce-validated select {
    border-color: var(--green)
}

.woocommerce table.shop_table {
    border: 1px solid rgba(0,0,0,0.1);
    margin 0 -1px 24px 0;
    width: 100%;
    border-collapse: separate;
    border-radius: 5px;
}

.woocommerce table.shop_table th {
    font-weight: 700;
    padding: 9px 12px;
    line-height: 1.5em;
}

.woocommerce table.shop_table th:nth-child(1), td:nth-child(1) {
    width: 85%;
    text-align: left;
}

.woocommerce table.shop_table th:nth-child(2), td:nth-child(2) {
    width: 15%;
    text-align: right;
}

.woocommerce table.shop_table td {
    border-top: 1px solid rgba(0,0,0,0.1);
    vertical-align: middle;
    font-weight: 700;
    padding: 9px 12px;
    line-height: 1.5em;
    width: 100%;
}

.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
    font-weight: 700;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.woocommerce table.shop_table .cart_item .product-name {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
}

.woocommerce table.shop_table .cart_item .item-remove-thumnail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
}

.woocommerce table.shop_table td div.cart-item-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    margin-bottom: .5rem;
}

.woocommerce table.shop_table .cart_item .attachment-woocommerce_thumbnail {
    width: 45px;
    height: auto;
}

input.minus,
input.plus {
    width: 1.5rem; height: 1.5rem;
    border: none;
    background: linear-gradient(currentColor, currentColor) no-repeat center/.875em 2px, 
                linear-gradient(currentColor, currentColor) no-repeat center/2px .875em,
                rgb(240, 240, 240);
    color: #a3a3a3;
    border-radius: 5px;
}
input.minus {
    background-size: .875em 2px, 0;
}

form.woocommerce-checkout button[type="submit"] {
    width: 100%;
    border: none;
    outline: none;
    padding: 9px 12px;
    border-radius: .3em;
    color: #fff;
    background-color: #000;
}

.woocommerce-error, .woocommerce-info,
.woocommerce-message {
    padding: 2em 2em 3.5em;
    margin: 0 0 2em;
    position: relative;
    background-color: #f6f5f8;
    list-style: none;
    width: auto;
    word-wrap: break-word;
}

#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
    padding: 1em 0;
    text-align: left;
    margin: 0;
    list-style: none;
}

#add_payment_method #payment ul.payment_methods li,
.woocommerce-cart #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.payment_methods li {
    line-height: 2;
    text-align: left;
    margin: 0;
    font-weight: 400;
}

/*.woocommerce-checkout-payment {
    display: none;
} */

@media (max-width: 768px) {
    section.box-container {
        padding: 2rem 1rem;
    }
} 

/* side-cart */
.ztopj-cart {
    position: fixed;
    top: 0;
    left: 100%;
    height: 100vh;
    width: 360px;
    background-color: #fff;
    transition: 0.5s ease;
    z-index: 999;
    border-left: 1px solid rgba(180, 180, 180, 0.6);
}

.active .ztopj-cart {
    left: calc(100% - 360px);
}

.ztopj-cart .heading {
    text-align: center;
    font-size: 1.5rem;
    color: var(--black);
    padding: 1rem 0;
}

.ztopj-cart .checkout {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
}

.ztopj-cart .checkout .cart-stotal {
    text-align: center;
    font-weight: 600;
    padding-bottom: 5px;
}

.ztopj-cart .checkout button {
    width: 80%;
    height: 35px;
    margin: 0 auto 10px;
    cursor: pointer;
    border: none !important;
}

.ztopj-cart .checkout .checkout-button {
    background-color: #000 !important;
	color: #fff;
    border-radius: 5px;
}

.ztopj-cart .shopping_cart_content {
    padding: 0 2rem;
    height: auto;
    overflow-y: scroll;
    ul {
        padding: 0;
    }
}

.ztopj-cart .shopping_cart_content::-webkit-scrollbar {
    display: none;
}

.ztopj-cart .shopping_cart_content li {
    list-style: none;
    margin-bottom: 10px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(180, 180, 180, 0.6);
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
}

.ztopj-cart .shopping_cart_content li img {
    width: 50px;
    height: 50px;
    margin-right: 3px;
}

.ztopj-cart .shopping_cart_content li .cart-item-name-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ztopj-cart .shopping_cart_content li .cart-item-quantity {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

a.remove {
    display: inline-block;
    font-size: 1.5em;
    height: 1em;
    width: 1em;
    text-align: center;
    line-height: 1;
    border-radius: 100%;
    color: var(--red);
    text-decoration: none;
    font-weight: 700;
    border: 0
}

a.remove:hover {
    color: #fff!important;
    background: var(--red)
}

.ztopj-cart .woocommerce-mini-cart__empty-message {
    text-align: center;
}


/**
* Contact page
*/
#contactForm {
    max-width: 550px;
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 3px;
}

#contactForm label {
    display: block;
    margin: 15px 0 5px;
}

#contactForm input[type="text"],
textarea {
    width: 100%;
    padding: 2px;
    outline: none;
    resize: none;
    border: none;
    border-bottom: 1px solid rgba(180, 180, 180, 0.6);
}

#contactForm input[type="text"]:focus, textarea:focus {
    border-bottom: 1px solid rgb(103, 103, 103);
}

#contactForm .submit-center {
    text-align: center;
}

#contactForm input[type="submit"] {
    margin-top: 20px;
    padding: 5px;
    width: 90%;
    max-width: 200px;
    background-color: #000;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

#contactForm input[type="submit"]:hover {
    opacity: 0.8;
}

#contactForm .error {
    color: red;
}

#contactForm .error-border {
    border-bottom: 1px solid red !important;
}

/*
* Tracking order
*/
#trackOrder {
    max-width: 550px;
    width: 90%;
    margin: 0 auto;
    padding: 150px 20px;
}

#trackOrder input[type="text"] {
    width: 100%;
    padding: 2px;
    outline: none;
    resize: none;
    border: none;
    border-bottom: 1px solid rgba(180, 180, 180, 0.6);
}

#trackOrder input[type="text"]:focus {
    border-bottom: 1px solid rgb(103, 103, 103);
}

#trackOrder .submit-center {
    text-align: center;
}

#trackOrder input[type="submit"] {
    margin: 20px 0;
    padding: 5px;
    width: 90%;
    max-width: 200px;
    background-color: #000;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

#trackOrder input[type="submit"]:hover {
    opacity: 0.8;
}

/*
* Blog
*/
.main-box {
    width: 1200px;
    margin: 0 auto;
}

.list {
    background-color: #f5f5f5;
    margin: 20px 0;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 1px 1px 3px #ddd;
}

.list .date-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
}