/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.side-menu-desktop{
	
}
.side-menu-mob{
}
@media ( max-width: 749px){
	.side-menu-mob{

	}
	.side-menu-desktop{

	}
}

/* ==============================
   Clean Shop Product Grid
   ============================== */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  list-style: none;
  margin: 40px 0;
  padding: 0;
}

/* Reset Woo defaults */
ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  position: relative;

  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: border-color .2s ease, transform .2s ease;
}

ul.products li.product:hover {
  border-color: #307BBD;
  transform: translateY(-2px);
}

ul.products li.product .button, ul.products li.product .added_to_cart {
    display: block;
    width: 90%;
    margin: 0 5px 10px 16px !important;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    transition: background .2s 
ease;
}

.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price {
    font-size: 15px !important;
    color: green !important;
    font-family: roboto !important;
    font-weight: var(--e-global-typography-primary-font-weight);
}


.woocommerce-loop-product__title {
    font-family: roboto !important;
    color: #0a0a0a !important;
}

/* ==============================
   IMAGE
   ============================== */
ul.products li.product img {
  border-radius: 8px 8px 0 0;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==============================
   CONTENT WRAPPER
   ============================== */
ul.products li.product .woocommerce-LoopProduct-link {
  flex-grow: 1;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* TITLE */
ul.products li.product h2.woocommerce-loop-product__title {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin: 10px 0;
  line-height: 1.4;
  min-height: 40px; /* keeps rows even */
}

/* PRICE */
ul.products li.product .price {
  margin: 8px 0 15px 0;
  font-size: 0.95rem;
  color: #444;
}
ul.products li.product .price ins {
  color: #27ae60;
  font-weight: 600;
}
ul.products li.product .price del {
  color: #aaa;
  margin-right: 6px;
}

/* ==============================
   SALE BADGE
   ============================== */
ul.products li.product .onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ==============================
   BUTTONS (Aligned Bottom)
   ============================== */
ul.products li.product .button,
ul.products li.product .added_to_cart {
  display: block;
  width: 90%;
  margin: 0 auto 10px auto;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  transition: background .2s ease;
}

/* Primary Add-to-Cart */
ul.products li.product .button {
  background: #307BBD;
  color: #fff !important;
}
ul.products li.product .button:hover {
  background: #245f91;
}

/* Secondary View Cart */
ul.products li.product .added_to_cart {
  background: #2ecc71;
  color: #fff !important;
}
ul.products li.product .added_to_cart:hover {
  background: #27ae60;
}

/* ==============================
   AJAX ADD-TO-CART SPINNER
   ============================== */
ul.products li.product .button.loading {
  opacity: 0.7;
  position: relative;
}
ul.products li.product .button.loading::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  100% { transform: translateY(-50%) rotate(360deg); }
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 992px) {
  ul.products {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}
@media (max-width: 600px) {
  ul.products {
    grid-template-columns: 1fr;
  }
}
