/*New*/
.vm-product-desc ul{
    list-style-type: inherit;
    margin: 1rem;
}
/* product loop */
.market-striped-loop{
    height:10px;
}
.product-info-list{
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}
.vm-product-loop-header{
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    padding: 2px 10px 5px 10px;
    text-transform: uppercase;
    border-radius: 4px 4px 0 0;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}
.vm-product-loop-header p{
    padding:5px;
    border-radius: 5px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}
.woocommerce-loop-product__link{
    margin-bottom:20px;
}
.vm-product-loop-wrapper{
    border-top:solid 1px #c4c3c3; 
    color: #848383;
    font-size:12px;
    padding: 10px; 
    margin-top:10px;
}
.vm-product-loop-wrapper p{
    display: inline-block;
}
.vm-grid-products{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, max-content));
    gap: 0.4rem;
    padding: 1rem;
}
.vm-grid-products .vm-product{
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
}

.vm-grid-products .content-info{
    padding: 0.3rem;
}
.vm-grid-products h2 {
    font-size: 0.9rem;
}
.vm-grid-products .content-info .vendor-logo{
    margin-top: -2rem;
}
ul.products li.product .woocommerce-loop-product__title{
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

ul.products li.product .vm-product-add-to-cart, ul.products li.product .vm-add-to-basket{
    width: 100%;
}

.includes_tax{
	display:block;
}
#vm-add-to-cart .product{
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 10px;
    margin: 20px 0px;
}
.vm-product{
    display: flex;
    flex-direction: column;
    border-radius: 0.6rem;
    border: 1px solid #ddd;
    background-color: #fff;
}
article .vm-product{
    background-color: transparent;
    border:none;
}
.vm-product h2{
    text-align: left !important;
}
.vm-product-content{
    flex:1;
    padding: 0.5rem;
    padding-top:0;
}
.vm-product-footer{
    margin-top:auto;
    padding: 0.5rem;
}
.product-short-description{
    font-size: 1.1rem;
    margin: 0.5rem 0;
}
.product-short-description p{
    margin:0;
}
.vm-product-content .market-show-more-btn {
    font-size: 0.7rem;
    font-weight: 600;
    margin: 10px 0;
      margin-bottom: 10px;
    margin-bottom: 30px !important;
}
.market-show-more {
    display: none;
    margin-top: 10px;
    margin-bottom: 30px;
}
.product-description{
    margin-bottom:1.5rem;
    font-size: 0.8rem;
}
.vm-product-vendor-hub-wrapper h3{
    color: #d8d7d7;
}

.vendor-subpage-products .vm-product-hub-content{
    flex-direction: column;
}
.vm-product-hub-content h4{
    margin-right: 0.5rem;
}

.woocommerce ul.products li.product.active{
    position: fixed;
    z-index: 3000;
    top:0;
    left:0;
    bottom:0;
    right:0;

}

.vm-quantity-wrapper {
    display: flex;
    justify-content: flex-end;
}
.vm-product-quantity input, .quantity input{
    width: 40px;
    height:40px;
}


.vm-product-short-desc{
    font-size:18px;
}
.vm-loop-product-info{
	margin-right:10px;
	margin-left:10px;
	font-size:12px;
}

.vm-product-related-wrapper{
    padding: 2rem;
    border-top: 1px solid #ddd;
    margin: 0 1rem;
}
.vm-product-related-wrapper h2.heading{
    font-size: 2rem;
}
.vm-product-related{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, max-content));
    gap: 0.4rem;
}

/* Container for the add products on product page / event page elements */
.vm-add-products-wrapper{
    border: solid 1px #C792C7;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
}
.vm-add-products-top{
    color: #C792C7;
    font-weight: 500;
    text-transform: uppercase;
}
.vm-add-products-top i{
    margin-top:5px;
}
.vm-add-products-content{
    display:none;
    border-top: solid 1px #C792C7;
    margin-top: 10px;
    padding-top: 30px;
    padding-bottom: 30px;
}
/* Container for the product elements */
.vm-vendor-products{
    overflow: auto;
    height: 100vh;
    padding-bottom: 30px;
}
.vm-vendor-products .product{
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 10px;
    margin: 20px 0px;
}
.vm-vendor-products .vm-product-top{
   
}
.vm-vendor-payment{
    border-radius: 50px;
    border: 1px solid #B6BEB6;
    background-color: #fff;
}
.vm-product-exchange-button{
    text-align: right;
    padding-top: 10px;
    padding-bottom: 10px;
}
.vm-product-exchange-button .vm-btn{
    padding: 5px 20px;
    text-align: center;
    font-weight: 400;
    font-size: 14px;
}

/* Style for the name section */
.vm-product-name h2{
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
}
.vm-product-top .attachment-woocommerce_thumbnail, .vm-product-top img{
    width:100%;
}
.row-1{
    cursor: pointer;
}

.vm-quantity-button, .vm-product-vendor-logistics-button {
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    border: 1px solid #ccc;
    height:40px;
    background-color: #fff;
    color: #000;
}
.vm-quantity-button .vms-spinner{
    margin:0;
    margin-top: -5px;
}
.vm-quantity-button.disabled{
    cursor: not-allowed;
    opacity: 0.4;
}
.vm-quantity-wrapper.added .vm-quantity-button.minus{
    display: block;
    border-radius: 50% 0% 0% 50%;
}
.vm-quantity-wrapper .vm-quantity-button.minus, .vm-quantity-wrapper .vm-quantity-input{
    display: none;
}
.vm-quantity-wrapper.added .vm-quantity-button.minus, .vm-quantity-wrapper.added .vm-quantity-input{
    display: block;
    background-color: #fff;
    color: #000;
}
.vm-product-vendor-logistics-button{
    border-radius: 50%;
}
.vm-quantity-wrapper.added .vm-quantity-button.plus{
    border-radius: 0px 50% 50% 0px;
}
.vm-quantity-input {
    height:40px;
    width:50px !important;
    text-align: center;
    font-size: 18px;
    border: 1px solid #ccc;  
    display: none;
    border-radius:0;
}
.vm-product-cart-logistic-wrapper{
    display:none;
}
/* Style for the information icon section */
.vm-product-i {
    margin-right:10px;
    cursor: pointer; 
    font-size:36px;
    background-color: #333; /* Dark background */
    padding: 2px; /* Padding for spacing */
    color: #fff;
    border-radius: 50%;
}
.vm-vendor-products .vm-product-additional{
    display: none;
}
.vm-product-additional-company{
    font-size:12px;
    margin:0;
    margin-top:30px;
}
.vm-product-payment-desc{
    display: none;
    font-size: 12px;
    margin:5px;
}
/*cehckout */
.vm-checkout-quantity{
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    font-size: 18px;
    border: 1px solid #ccc;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}
/* product cat checkbox list */
.vm-category-checkbox-list, .vm-child-category-list {
    list-style: none;
}
.vm-child-category-list{
    display:none;
    margin-left: 20px;
}
.vm-child-category-list.active{
    display: block;
}
.vm-child-category-list.active li{
    border-top: solid 1px #ccc;
}
.vm-product-edit{
    float: right;
    margin-right:10px;
}

/*submit post add products */
#vm-product-search-results {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.vm-product-result {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease-in-out;
}

.vm-product-result:hover {
    background: #f5f5f5;
}
.vm-featured-products .woocommerce ul.products {
    grid-template-columns: repeat(4, 1fr);
    margin:0 !important;
}
.vm-featured-product-list{
    margin-bottom: 1rem;
}
.vm-featured-products-heading{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom:10px;
}
.vm-featured-products-heading h3{
    margin:0;
}
.vm-featured-products-heading .vm-ad{
    font-size: 12px;
}
.content-layout .content-container.vm-product .content-image{
    width: 50%;
}

.vm-product-wrapper{
    flex:1;
    display: flex;
    flex-direction: column;
    padding: 0.2rem;
}

article .vm-product-wrapper{
    flex-direction: row;
    padding: 0.3rem;
}
.vm-feed article .vm-product-wrapper{
    flex-direction: column;
}
article .vm-product-wrapper .content-image{
    margin-right: 0.8rem;
}
.vm-product-wrapper .content-image img{
    border-radius: 0.6rem 0.6rem 0 0;
    width: 100%;
    height: auto;
}
article .vm-product-wrapper .content-image img{
    border-radius: 0.6rem;
}
.content-layout .content-container.vm-product  .content-info .market-feed-post-footer{
    margin-top:1rem;
}
@media (max-width: 768px) {
    article .vm-product-wrapper{
        flex-direction: column;
        padding: 0.3rem;
    }
    .vm-product-related-wrapper {
        padding:0;
        padding-top: 2rem;
        margin: 0;
    }
    .vm-product-related-wrapper h2.heading{
        text-align: center;
    }
    .vm-grid-products{
        grid-template-columns: 1fr;
        padding: 0;
    }
    
}