/* 
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{

	}
}



 .page-content a {
    text-decoration: none !important;
}

.wc-block-components-button:not(.is-link) .wc-block-components-button__text {
    text-decoration: none !important;
    color: white !important;
    text-wrap: balance;
    text-wrap: pretty;
    display: block;
}

/* ==============================
   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;
}

a.wc-block-components-product-name {
    color: black !important;
    font-weight: 600;
}


button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
    border: 0px;
    background: black !important;
}

/* 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;
  }
}





/* === WooCommerce Order Page Styling (Scoped) === */
.woocommerce-order {
  font-family: "Inter", "Poppins", sans-serif;
  color: #222;
  background: #f9fafb;
  padding: 40px 20px;
  border-radius: 12px;
  max-width: 1100px;
  margin: 40px auto;
}

/* Success notice */
.woocommerce-order .woocommerce-notice--success {
  background: #e8f7ed;
  color: #1b5e20;
  border: 1px solid #b6e2c5;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}

/* === Order Overview Section === */
.woocommerce-order .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 35px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.woocommerce-order .woocommerce-order-overview li {
  list-style: none;
  font-size: 15px;
  color: #444;
  margin: 8px 0;
  flex: 1 1 220px;
}

.woocommerce-order .woocommerce-order-overview li strong {
  color: #111;
  font-weight: 600;
}

/* === Order Details Table === */
.woocommerce-order .woocommerce-order-details {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  padding: 30px;
  margin-bottom: 35px;
}

.woocommerce-order .woocommerce-order-details__title {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin-bottom: 20px;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 8px;
}

.woocommerce-order .woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-order .woocommerce-table--order-details th,
.woocommerce-order .woocommerce-table--order-details td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #f1f1f1;
  font-size: 15px;
}

.woocommerce-order .woocommerce-table--order-details th {
  color: #111;
  font-weight: 600;
}

.woocommerce-order .woocommerce-table--order-details td a {
  color: #2a6db0;
  text-decoration: none;
}

.woocommerce-order .woocommerce-table--order-details td a:hover {
  text-decoration: underline;
}

/* Table Footer */
.woocommerce-order .woocommerce-table--order-details tfoot tr th {
  text-align: right;
  font-weight: 600;
  color: #111;
}

.woocommerce-order .woocommerce-table--order-details tfoot tr td {
  text-align: left;
  color: #333;
  font-weight: 500;
}

/* === Billing Address Section === */
.woocommerce-order .woocommerce-customer-details {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.woocommerce-order .woocommerce-column__title {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin-bottom: 20px;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 8px;
}

/* Address Card Styling */
.woocommerce-order address {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 35px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.woocommerce-order address br {
  display: none;
}

.woocommerce-order address p {
  margin: 5px 0;
  font-size: 15px;
  color: #444;
}

.woocommerce-order address .woocommerce-customer-details--phone::before {
  content: "📞 ";
}

.woocommerce-order address .woocommerce-customer-details--email::before {
  content: "✉️ ";
}

.woocommerce-order address .woocommerce-customer-details--email {
  color: #2a6db0;
  font-weight: 500;
}

/* Event Details (Right Side) */
.woocommerce-order address dl.wc-block-components-additional-fields-list {
  display: grid;
  grid-template-columns: 150px 1fr;
  row-gap: 10px;
  column-gap: 10px;
  margin: 0;
  font-size: 15px;
}

.woocommerce-order address dl dt {
  font-weight: 600;
  color: #111;
}

.woocommerce-order address dl dd {
  margin: 0;
  color: #444;
}

/* === Responsive === */
@media (max-width: 768px) {
  .woocommerce-order {
    padding: 25px 15px;
  }

  .woocommerce-order .woocommerce-order-overview {
    flex-direction: column;
    gap: 8px;
  }

  .woocommerce-order address {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .woocommerce-order address dl.wc-block-components-additional-fields-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .woocommerce-order address dl.wc-block-components-additional-fields-list {
    grid-template-columns: 1fr;
  }
}


.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
    color: white !important;
}


