/* ====================
   GENERAL SITE STYLING
======================= */
body.woocommerce {
  font-family: 'Segoe UI', 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* ====================
   PRODUCT GRID STYLING
======================= */
.woocommerce ul.products li.product {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 30px;
  text-align: center;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.woocommerce ul.products li.product img {
  border-radius: 10px;
  object-fit: cover;
  height: auto;
  transition: transform 0.3s ease;
}

.woocommerce ul.products li.product img:hover {
  transform: scale(1.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  margin: 12px 0 8px;
}

/* ====================
   PRICE & BUTTON STYLING
======================= */
.woocommerce ul.products li.product .price {
  color: #1e88e5;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 8px;
}

.woocommerce ul.products li.product .button {
  display: inline-block;
  background-color: #1e88e5;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin: 10px auto 0;
}

.woocommerce ul.products li.product .button:hover {
  background-color: #1565c0;
}

/* Center button */
.woocommerce ul.products li.product {
  text-align: center;
}

/* ====================
   SALE BADGE STYLING
======================= */
.woocommerce span.onsale {
  background: #e53935;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  position: absolute;
  top: 10px;
  left: 10px;
}

/* ====================
   SINGLE PRODUCT IMAGE HOVER
======================= */
.woocommerce div.product div.images img {
  transition: transform 0.3s ease;
}

.woocommerce div.product div.images:hover img {
  transform: scale(1.05);
}

/* ====================
   VARIATION DROPDOWNS
======================= */
.woocommerce div.product form.cart select {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  max-width: 400px;
  margin-top: 8px;
}

/* ====================
   QUANTITY FIELDS
======================= */
.woocommerce .quantity input.qty {
  width: 60px;
  height: 40px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* ====================
   CART TABLE STYLING
======================= */
.woocommerce-cart table.shop_table {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  border-collapse: collapse;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  overflow: 

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.woocommerce-cart table.shop_table thead {
  background-color: #f5f5f5;
  font-weight: bold;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100% !important;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ====================
   SHIPPING METHODS
======================= */
.woocommerce-shipping-methods {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.woocommerce-shipping-methods li {
  background-color: #f7f9fc;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 10px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.woocommerce-shipping-methods li:hover {
  background-color: #e3f2fd;
  border-color: #90caf9;
}

.woocommerce-shipping-methods input[type="radio"] {
  margin-right: 10px;
  accent-color: #1e88e5;
  transform: scale(1.2);
}

/* ====================
   ADDED TO CART LINKS
======================= */
.woocommerce-message a.button.wc-forward.added_to_cart {
  background-color: #1e88e5;
  color: #fff;
  padding: 8px 14px;
  margin-left: 10px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.woocommerce-message a.button.wc-forward.added_to_cart:hover {
  background-color: #1565c0;
}

/* ====================
   NOTICES
======================= */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 6px;
  padding: 15px 20px;
  margin: 20px 0;
  font-size: 0.95rem;
}

.woocommerce-message {
  background-color: #e8f5e9;
  border-left: 4px solid #4caf50;
}

.woocommerce-info {
  background-color: #e3f2fd;
  border-left: 4px solid #2196f3;
}

.woocommerce-error {
  background-color: #ffebee;
  border-left: 4px solid #e53935;
}

/* ====================
   GLOBAL BUTTON STYLING
======================= */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background-color: #1e88e5;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: #1565c0;
}

/* ====================
   RESPONSIVE TWEAKS
======================= */
@media screen and (max-width: 768px) {
  .woocommerce ul.products li.product {
    width: 100% !important;
    margin-right: 0 !important;
  }

  .woocommerce-cart table.shop_table,
  .woocommerce-checkout .col-1,
  .woocommerce-checkout .col-2 {
    width: 100% !important;
    float: none !important;
  }

  .woocommerce .woocommerce-checkout #order_review,
  .woocommerce .woocommerce-checkout #customer_details {
    margin: 0 0 20px 0;
  }

  .woocommerce-shipping-methods li {
    flex-direction: column;
    align-items: flex-start;
  }

  .woocommerce-shipping-methods input[type="radio"] {
    margin-bottom: 6px;
  }
}
/* Center products within the 4-column WooCommerce layout */
.portfolio-wrap-bg .woocommerce.columns-4 ul.products.columns-4 {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 30px !important;
  padding-left: 0 !important;
  margin-left: 0 !important; /* remove any default ul padding/margin */
  list-style: none !important; /* remove bullets */
}

/* Consistent product card width and alignment */
.portfolio-wrap-bg .woocommerce.columns-4 ul.products.columns-4 li.product {
  flex: 0 1 22% !important;
  max-width: 22% !important;
  box-sizing: border-box !important;
  margin: 0 !important; /* reset default li margin if any */
}

/* Responsive adjustments */

/* Medium screens */
@media screen and (max-width: 1024px) {
  .portfolio-wrap-bg .woocommerce.columns-4 ul.products.columns-4 li.product {
    flex: 0 1 45%;
    max-width: 45%;
  }
}

/* Small screens */
@media screen and (max-width: 600px) {
  .portfolio-wrap-bg .woocommerce.columns-4 ul.products.columns-4 li.product {
    flex: 0 1 100%;
    max-width: 100%;
  }
}



/* Responsive fallback for smaller screens */
@media screen and (max-width: 1024px) {
  .woocommerce.columns-4 ul.products.columns-4 li.product {
    flex: 0 1 45%;
    max-width: 45%;
  }
}

@media screen and (max-width: 600px) {
  .woocommerce.columns-4 ul.products.columns-4 li.product {
    flex: 0 1 100%;
    max-width: 100%;
  }
}
.woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img {width:150px}
.site-info .social-links {margin-bottom:10px}

/* Floating cart styling */
#floating-cart {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 9999;
  background: #1e88e5;
  padding: 12px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.floating-cart-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.floating-cart-link:hover {
  background-color: #1565c0;
  text-decoration: none;
}
.woocommerce-message, .woocommerce-info {
    padding-left: 50px;
}

