/*
Theme Name:     Divi Child 
Description:    Child Theme of Divi
Author:         elegantenthusiast.com
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/
/* Force full-width layout for WooCommerce single product pages */
/* Remove sidebar column */
#sidebar {
    display: none!important;
}

/* Force main content to full width */
#left-area{
    width: 100% !important;
    float: none !important;
}
/* Remove the vertical border where the sidebar used to be */
#main-content .container:before {
    display: none !important;
}
.woocommerce .woocommerce-breadcrumb {
    display: none !important;
}
.woocommerce div.product .product_meta .posted_in {
    display: none !important;
}
/* Style only the visible product image on WooCommerce single product pages */
.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image.flex-active-slide img {
    border: 1px solid #fff;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
ul.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  list-style: none;
}

ul.products li.product {
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 0; /* let the image and content align nicely */
  margin: 10px;
  max-width: 320px;
  width: 100%;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #fff;
  overflow: hidden;
}

ul.products li.product img {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  width: 100%;
  height: auto;
  display: block;
}

ul.products li.product:hover {
  transform: scale(1.03);
  border-color: #999;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

ul.products li.product .woocommerce-loop-product__title {
  text-align: center;
  display: block;
  padding: 0 5px;
  margin-top: 10px;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.4;
  word-break: break-word;
}

ul.products li.product .price {
  text-align: center;
  display: block;
  padding: 0px 0px 25px 0px; /* top padding reduced to bring it closer to title */
  margin-top: 0;
}
.woocommerce-pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.woocommerce-pagination ul.page-numbers {
  display: flex;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.woocommerce-pagination ul.page-numbers li {
  display: inline-block;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.woocommerce-pagination .page-numbers a:hover {
  background-color: #f0f0f0;
}

.woocommerce-pagination .page-numbers.current {
  background-color: #1f4170;
  color: #fff;
  border-color: #1f4170;
}
h2.woocommerce-loop-product__title {
    font-size: 12px;
}
.woocommerce div.product .woocommerce-tabs {
    margin-bottom: 150px;
}
.category-heading {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.75em;
}