/*
Theme Name: TastyDaily - Child
Theme URI: https://parkofideas.com/tastydaily/
Text Domain: tastydaily-child
Description: Grocery Store & Food WooCommerce Theme
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.0
Template: tastydaily
Author: parkofideas.com
Author URI: https://parkofideas.com
Tags: right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, theme-options, translation-ready
*/


/* =Theme customization starts here
-------------------------------------------------------------- */
/* Increase font size of product summary */
.c-product__summary th.label {
	font-size:      17px;
}

.c-product__summary select:not(.hide) {
	font-size:           17px;
}

/* Remove max-width of product grid */
.c-product-grid__item--atc-icon .c-product-grid__price-wrap,
.c-product-grid__item--atc-icon .woocommerce-variation-price {
	max-width:  none;
}

/* Product grid brands */
.c-product-grid__brands {
  font-weight: 700;
  font-size: 16px;
}

/* Product grid price */
.c-product-grid__item--medium .c-product-grid__price-wrap .price {
  font-size: 26px;
}

/* Product grid price */
.c-product-grid__item--large .c-product-grid__price-wrap .price {
  font-size: 26px;
}

/* Product atc row 2 */
.c-product__atc-row-2 {
    width: 100%;
}

/* Product atc wrap contact now button */
.c-product__atc-wrap .c-product__contact-now {
	display: block;
    width: 100%;
}

/* Product review phone number field */
#review_form .comment-form-author,
  #review_form .comment-form-email,
  #review_form .comment-form-phone {
    width:calc((100% - 10px) / 3);
  }

/* Product review phone number field margin */
.comment-form-phone {
  margin:10px 0 0 0;
}

/* Post list grid sticky */
.c-post-list--grid-sticky {
    flex-direction: column;
}

/* Post list grid header link */
.c-post-list__header-link {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.c-post-list__except {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 5em;  /* Ensure consistent vertical spacing across grid items even when excerpt is empty,
  so that .c-post-list__meta-category aligns horizontally across all articles */
}

/* Add this to theme customizer custom css or comment out */
.c-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px; /* match image height */
  background-image: url('assets/images/footer_line.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 80% bottom;
}

/* Footer line for mobile */
@media (max-width: 768px) {
  .c-footer::after {
    height: 60px;
    background-size: auto 100%;
  }
}

/* Comment form margin */
.comment-form {
    margin: 20px 10px 0 10px;
}

/* Bold text in entry content */
:is(.entry-content,div[class*="-text-editor"]) :is(b,strong) {
  font-weight: 700;
}

/* Hide filter show button for mobile */
.c-catalog-ordering__filter-show-button {
  display: none;
}

/* Override instagram icon with facebook icon */
.ip-z-insta:before {
	content: "\f117";
}

/* Custom contact form 7 button width */
.wpcf7 .btn-large {
  width: 100%;
}

/* Product tabs header */
.c-product--tabs-expanded .c-product__tabs-header {
  display: block;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 24px;
  line-height: 24px;
  color: #20723e;
  margin-bottom: 20px;
}

/* Popup overlay */
.pum-overlay.pum-active,
.pum-overlay.pum-active .popmake.active {
  display: block !important;
}

/* Main header menu icon size */
#main-header {
  --menu-icons-font-size: 2.45em;
}

/* Remove letter spacing in h3 for mobile */
@media (max-width: 768px) {
  :is(.entry-content, div[class*="-text-editor"]) h3 {
      letter-spacing: normal;
  }
}
