/*
Theme Name:     kadence-child
Theme URI:      n/a
Template:       kadence
Author:         steve
Author URI:     n/a
Description:    Kadence Child Theme
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Custom Single Product Layout */
.single-product .custom-single-product-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px; /* 30 pixel margin on left and right */
}

/* Ensure all items in wrapper have 20px bottom margin */
.single-product .custom-single-product-wrapper > * {
  margin-bottom: 40px;
  display: block; /* ensure block level for margins to work predictably */
}

.single-product .custom-single-product-wrapper .product-title-custom {
  font-size: 2.5rem; /* Adjust to preference, but keep H1 styling */
  line-height: 1.2;
  /* text-align: center; */
}

/* 250x250 image constraint */
.single-product .custom-single-product-wrapper .product-images-row-custom {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: nowrap;
}

.single-product .custom-single-product-wrapper .product-image-custom {
  flex: 0 0 auto;
}

.single-product .custom-single-product-wrapper .product-image-custom img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  display: block;
  margin: 0; /* Left align */
}

.single-product .custom-single-product-wrapper .product-gallery-thumbs-custom {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
}

.single-product .custom-single-product-wrapper .product-gallery-thumb-custom {
  flex: 0 0 auto;
}

.single-product .custom-single-product-wrapper .product-gallery-thumb-custom img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Removed padding from the bottom of description to eliminate gap */
.single-product .custom-single-product-wrapper .product-description-custom {
  margin-bottom: 15;
  font-size: 1.2em;
  line-height: 1.6;
}

.single-product .custom-single-product-wrapper .product-description-custom p:last-child {
  margin-bottom: 0;
}

/* Reset margin on the last item just in case */
.single-product .custom-single-product-wrapper > *:last-child {
  margin-bottom: 0;
}

/* Hide Kadence Footer Theme Credit */
.site-info .footer-html a[href*="kadencewp.com"], 
.footer-html a[href*="kadencewp.com"] {
    display: none !important;
}

/* Single Line Contact Form Wrapper Spacing */
.single-product .custom-single-product-wrapper .product-contact-form-custom {
  margin-bottom: 20px;
}
.single-product .custom-single-product-wrapper .product-short-description-custom {
  font-size: 1.2em;
  line-height: 1.6;
}

.single-product .custom-single-product-wrapper .product-acf-list-custom {
  font-size: 1.2em;
  line-height: 1.6;
}
.single-product .custom-single-product-wrapper table.product-acf-list-custom th,
.single-product .custom-single-product-wrapper table.product-acf-list-custom td {
  text-align: left;
  vertical-align: top;
}
.single-product .custom-single-product-wrapper table.product-acf-list-custom th {
  padding-right: 2ch;
}
.single-product .custom-single-product-wrapper .product-product-acf-list-custom {
  font-size: .4em;
  line-height: 1.1;
}

/* Product loop meta table (archive/shop grid) */
.woocommerce ul.products li.product .product-loop-meta-table {
  width: 100%;
  border-collapse: collapse;
}
.woocommerce ul.products li.product .product-loop-meta-table th,
.woocommerce ul.products li.product .product-loop-meta-table td {
  text-align: left;
  vertical-align: top;
  padding: 0;
}
.woocommerce ul.products li.product .product-loop-meta-table th {
  padding-right: 2ch;
  white-space: nowrap;
}

.woocommerce ul.products li.product .urlfudge-list-title {
  display: none;
}

.woocommerce ul.products.products-list-view li.product .urlfudge-grid-title {
  display: none;
}

.woocommerce ul.products.products-list-view li.product .urlfudge-list-title {
  display: block;
}

.woocommerce ul.products.products-list-view li.product .urlfudge-grid-meta {
  display: none;
}





.post-type-archive-product .request-quote-link,
.tax-product_cat .request-quote-link,
.tax-product_tag .request-quote-link {
  color: #f9aa00 !important;
}

.post-type-archive-product .request-quote-link:hover,
.tax-product_cat .request-quote-link:hover,
.tax-product_tag .request-quote-link:hover {
  color: #f95300 !important;
}
