/* === Product Card Styling for Home-2 Page (page-id-3788) === */
.page-id-3894 ul.products.columns-2 li.product {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.page-id-3894 ul.products.columns-2 li.product img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin: 0;
}

.page-id-3894 ul.products.columns-2 li.product .woocommerce-loop-product__title,
.page-id-3894 ul.products.columns-2 li.product .price,
.page-id-3894 ul.products.columns-2 li.product .button {
  padding: 8px 12px;
}

.page-id-3894 ul.products.columns-2 li.product .woocommerce-loop-product__title {
  margin-top: 8px;
  font-weight: 600;
}

.page-id-3894 ul.products.columns-2 li.product .button {
  margin-top: -8px;
  border-radius: 25px;
  background-color: #EA5455;
  color: #fff;
  text-align: center;
  border: none;
  display: block;
  width: calc(100% - 24px);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
  padding: 10px 16px;
}

@media only screen and (max-width: 767px) {
  .page-id-3894 ul.products.columns-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-id-3894 ul.products.columns-2 li.product {
    width: 100% !important;
    margin: 0 !important;
  }
}

.page-id-3894 li.meta-categories,
.page-id-3894 span.onsale {
  display: none !important;
}

/* CSS for Menu 2 page */

.page-id-3897 ul.products {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-id-3897 ul.products li.product {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: #fff7e5;
  border-radius: 20px;
  padding: 20px;
  box-shadow: none;
  width: 100%;
  box-sizing: border-box;
  gap: 20px;
}

.page-id-3897 li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  text-decoration: none;
}

.page-id-3897 li.product a.woocommerce-LoopProduct-link > figure {
  flex-shrink: 0;
  margin: 0;
}

.page-id-3897 li.product img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
}

.page-id-3897 li.product a.woocommerce-LoopProduct-link > .woocommerce-loop-product__title {
  flex-grow: 1;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.page-id-3897 li.product .ct-woo-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.page-id-3897 li.product .price {
  font-size: 18px;
  font-weight: 600;
  color: #f44336;
  margin-top: 8px;
  margin-bottom: 12px;
}

.page-id-3897 li.product .price del {
  color: #bbb;
  margin-left: 6px;
  font-weight: 400;
}

.page-id-3897 li.product .ct-woo-card-actions {
  margin-top: auto;
}

.page-id-3897 li.product .add_to_cart_button {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.page-id-3897 li.product .add_to_cart_button:hover {
  background-color: #d32f2f;
}

.page-id-3897 li.product .entry-meta {
  display: none;
}


@media only screen and (max-width: 767px) {
  .page-id-3897 ul.products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* Target only menu-2 page (ID: 3897) */
.page-id-3897 ul.products {
  display: block !important;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

/* Make each product full-width */
.page-id-3897 ul.products li.product {
  width: 100% !important;
  float: none !important;
  clear: both;
  margin: 1rem 0;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Product title right-aligned */
.page-id-3897 ul.products li.product h2.woocommerce-loop-product__title {
  text-align: right;
  flex: 1;
  margin: 0 1rem;
}

/* Add to Cart button styling */
.page-id-3897 ul.products li.product .button {
  background-color: #e63946;
  color: white;
  padding: 1rem;
  border-radius: 12px;
  font-size: 1rem;
  min-width: 100px;
  text-align: center;
}

/* Optional: Price alignment */
.page-id-3897 ul.products li.product .price {
  text-align: right;
  margin-right: 1rem;
}

