/*
 Theme Name:   FHCE
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
 Text Domain:  fhce
*/

/* Remove product border in archive */
.woocommerce ul.products li.product .woocommerce-placeholder {
	border: none;
}

/* WooCommerce odering */
.woocommerce .woocommerce-ordering select {
    background-color: #FFF;
    border: none;
    padding: 10px;
    font-size: 14px;
	font-family: Figtree, sans-serif;
    border-radius: 8px;
    color: rgba(1,30,50,.5);
}

/* WooCommerce product archive grid */
@media (max-width: 767px) {
  .woocommerce ul.products.elementor-grid { 
    grid-template-columns: 1fr !important;  /* Elementor grid */
  }
  .woocommerce ul.products[class*="columns-"] li.product {
    width: 100% !important;                 /* Woo fallback */
    margin-right: 0 !important;
    clear: both;
  }
}

/* WooCommerce product archive pagination align */
@media (max-width: 767px) {
  .woocommerce nav.woocommerce-pagination ul.page-numbers {
    display: flex;
    justify-content: center; 
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .woocommerce ul.products.elementor-grid { 
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .woocommerce ul.products[class*="columns-"] li.product {
    width: 50% !important;
  }
}


/* Category row gap */
.elementor-7460 .elementor-element.elementor-element-79c329c.elementor-wc-products ul.products {
    grid-row-gap: 0 !important;
}

/* Product name hover */
.woocommerce ul.products li.product .woocommerce-loop-category__title:hover {
	color: rgba(1,30,50,.5);
}

/* Quote list */
.addify_checkout_place_quote {
    border-radius: 8px !important;
    font-weight: 400 !important;
    padding: 16px 24px !important;
}
.addify_checkout_place_quote:hover {
    background-color: #011E32 !important;
}
.dashicons-cart:before {
	color: #07A8A0;
}
.quote-li .afrq-menu-item .totalitems {
	color: #07a8a0;
	font-size: 16px;
	font-weight: 300;
	font-family: Figtree, sans-serif;
}
.woocommerce-message {
	border: 1px solid #CDE0ED !important;
	border-radius: 8px;
	background-color: rgba(205,224,237,.25) !important;
	color: #011E32;
	font-weight: 300 !important;
}
.woocommerce-message::before {
	color: #6AAD0D !important;
}
.woocommerce-message .button {
	color: #011E32 !important;
	background-color: #CDE0ED !important;
	font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
    border-radius: 12px !important;
    padding: 12px 24px 12px 24px !important;
}
.woocommerce-message .button:hover {
	color: #FFF !important;
	background-color: #011E32 !important;
}
.addify-quote-form.template_one .addify-quote-form__contents {
	border: 0 !important;
	border-radius: 0;
    background-color: #fff;
}
.woocommerce table.shop_table th {
	color: #011E32 !important;
	background-color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    padding: 9px 12px;
    line-height: 1.5em;
    border-bottom: 1px solid #CDE0ED;
    border-left: 0;
    border-top: 0;
    border-right: 0;
}
.woocommerce a.remove {
	color: #A43609 !important;
}
.woocommerce a.remove:hover {
	background: #A43609;
}
div.af_quote_fields {
	border-top: 0 !important;
	display: flex;
    justify-content: center;
}
div.af_quote_fields label {
	color: #011E32;
	font-family: Figtree, Roboto, sans-serif;
    display: block;
    margin: 0 0 8px 16px !important;
    font-size: 18px !important;
    line-height: 24px !important;
    font-weight: 400;
}
.addify-quote-form__contents td {
	font-size: 16px !important;
	color: rgba(1, 30, 50, .5) !important;
}
.addify-quote-form__contents td a {
	color: #011E32 !important;
}
.addify-quote-form__contents td a:hover {
	color: rgba(1, 30, 50, .5) !important;
}
body .product-quantity input.qty {
	border-bottom: 1px solid #CDE0ED !important;
	border-radius: 8px !important;
	border-left: 0 !important;
	border-right: 0 !important;
	border-top: 0 !important;
    font-size: 16px !important;
	background-color: #FAFBFD !important;
	width: 10ch !important;
	text-align: right;
}
.quantity input[type="number"] {
	color: #011E32 !important;
}
.adf_full_width {
	margin: 0 0 42px 0 !important;
}
body .addify-quote-form.template_one .af-quote-field-table {
	max-width: 600px !important;
}
div.af_quote_fields input[type="text"], div.af_quote_fields input[type="email"] {
	font-size: 16px !important;
	border-left: 0 !important;
	border-right: 0 !important;
	border-top: 0 !important;
	border-bottom: 1px solid #CDE0ED !important;
	height: 56px !important;
}
div.af_quote_fields textarea {
	height: 128px !important;
	font-size: 16px !important;
	border-left: 0 !important;
	border-right: 0 !important;
	border-top: 0 !important;
	border-bottom: 1px solid #CDE0ED !important;
} 
div.af_quote_fields textarea::placeholder {
	color: #011E32;
	opacity: .25;
}
.adf-term-conditon {
    gap: 24px !important;
    font-size: 14px !important;
    line-height: 20px !important;
	color: rgba(1,30,50,.5) !important;
}
.adf-term-conditon a {
	color: #011E32 !important;
}
.adf-term-conditon a:hover {
	color: rgba(1,30,50,.5) !important;
}
.woocommerce .return-to-shop a.button {
	color: #FFFFFF !important;
	background-color: #07a8a0 !important;
	font-size: 18px !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    border-radius: 12px !important;
    padding: 18px 24px 18px 24px !important;
}
.woocommerce .return-to-shop a.button:hover {
	color: #FFF !important;
	background-color: #011E32 !important;
}
.cart-empty {
	color: #011E32;
	opacity: .5;
	font-size: 24px;
	font-weight: 300;
	font-family: Figtree, Roboto, sans-serif; 
	margin-bottom: 64px;
}
.cart-empty, .return-to-shop {
	text-align: center;
}
.woocommerce-notices-wrapper {
    max-width: 1140px;
    margin: 24px auto;
}

/* Product catalog more button */
a.product-details-button {
	background-color: #FFFFFF00 !important;
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #011E3280 !important;
    padding: 0px 0px 0px 0px;
    transition: all 0.2s ease-in-out;
    text-align: center;
}
a.product-details-button:hover {
    color: #011E32 !important;
    text-decoration: none;
}

/* Product page */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger  {
	display: none;
}
.woocommerce .quantity .qty {
    width: 10ch;
    text-align: right;
}
.woocommerce div.product form.cart div.quantity input[type="number"] {
	color: #011E32 !important;
	background-color: #FFF !important;
	border-radius: 8px !important;
	border-color: #FFF !important;
	font-size: 16px !important;
}

/* WooCommerce breadcrumb */
.woocommerce-breadcrumb > a:hover {
	color: #011e32 !important;
}

/* Disable datasheet download button */
.datasheet-btn:not(:has(a)) {
  pointer-events: none !important;
  opacity: 0.5 !important;
}
.datasheet-btn:not(:has(a)), 
.datasheet-btn:not(:has(a)) * {
  cursor: not-allowed !important;
}

/* Remove counters */
#total-items-count,
.totalitems {
    display: none !important;
}
.woocommerce mark.count  {
    display: none !important;
}

/* Change cart icon
#quote-li-icon .dashicons:before,
.quote-li .dashicons:before,
.afrq-menu-item .dashicons:before {
  font-family: 'dashicons' !important;
  content: "\f123";
  font-size: 22px;
} */