/**
 * Theme Name: woostify Child
 * Template:   woostify
 * ...other header fields
 */




 /*Shop page design Start*/
.custom-shop-layout {
    display: flex;
    width:100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}


.shop-sidebar {
  width: 15%;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.shop-sidebar h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

.shop-products {
  width: 85%;
  margin-left:30px;
}

.shop-title {
  font-size: 30px;
  margin-bottom: 30px;
}

/*.custom-product-grid {*/
/*  display: grid;*/
/*  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
/*  gap: 25px;*/
/*}*/

.custom-product-card {
  background: #fff;
  border: none;
  text-align: center;
  border-radius: 0;
  transition: 0.3s ease;
}

.custom-product-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image img {
    width: 100%;
  max-width: 100%;
  height: auto;
}

.product-title {
  font-size: 12px;
  text-align: left;
  padding:2px;
  font-weight:500;
  margin: 0px
}

/*.product-price {*/
/*  font-size: 14px;*/
/*  color: #000;*/
/*  text-align: left;*/
/*  padding:2px;*/
/*  font-weight: 400;*/
/*  margin-bottom: 10px;*/
/*}*/
/*.product-price:hover {*/
/*  font-size: 14px;*/
/*  color: #8E1C1C;*/
/*  margin-bottom: 10px;*/
/*}*/

/*add to card button design*/
.custom-product-card > .button, .product_type_simple, .add_to_cart_button, .ajax_add_to_cart {
    background-color: transparent;
    color: #000;
    border:1px solid black;
    border-radius: 0px;
    display: block;
    width: 100;
    text-align: center;
    padding: 10px 5px;
}
/*add cart button text color black*/
span.woostify-svg-icon.icon-shopping-cart-2 {
    color: black;
}
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:hover
span.woostify-svg-icon.icon-shopping-cart-2 {
    color: white;
}
.pagination {
  margin-top: 30px;
  text-align: center;
}


/*1 row = product css*/
.custom-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 15px; /* space between items */
}

/*Extra heading remove in shop page*/
.widget-title, .widgettitle
 {
    font-weight: normal;
    margin-bottom: 20px;
    display: none;
}

/*Shop page design End*/



/*catagory description css start*/
.woocommerce-category-description {
    text-align: center;
    padding: 10px;
    font-size: 16px;
}

/*catagory description css End*/








/*Responsive in mobile*/
@media (max-width: 1024px) {
    /*product column refine*/
  .custom-product-grid {
    grid-template-columns: repeat(2, 1fr); /* Tablets */
  }
  
  /*sidebar */
  .shop-sidebar {
  width:100%;
}

.shop-products {
  width: 100%;
  margin-left:30px;
} 


/*new coooding*/
.custom-shop-layout {
    display: flex;
    flex-direction: column-reverse;
    width:100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0px;
}


.shop-sidebar {
  width: 100%;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}
.shop-sidebar {
  width: 100%;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.shop-sidebar h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

.shop-products {
  width: 100%;
  margin:0;
  ma
}   } /* End responsive*/




/*shop page filter popup for mobile Start*/


/* Hide on desktop */
.mobile-sidebar-toggle {
    display: none;
}
.close-sidebar{
    display:none;
}
 
@media (max-width: 768px) {
    .close-sidebar{
    display:block;
}
    
    .mobile-sidebar-toggle {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 999;
        background: #000;
        color: #fff;
        padding: 10px 15px;
        border: none;
        border-radius: 5px;
    }

    .mobile-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 9999;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
        transition: right 0.3s ease;
        padding: 20px;
        overflow: scroll;
    }

    .mobile-sidebar.active {
        right: 0;
    }

    .close-sidebar {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
    }
}

/*shop page filter popup for mobile End*/

