/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* Hide add to cart button and quantity selector for service products */
.product_cat-cleaning-services .cart .single_add_to_cart_button,
.product_cat-cleaning-services .cart .quantity {
  display: none;
}

/* Hide top section for service products */
.product_cat-cleaning-services .full-width-content.first-section,
.product_cat-cleaning-services .nectar-prod-wrap,
.product_cat-freshwater-aquarium-services .full-width-content.first-section,
.product_cat-freshwater-aquarium-services .nectar-prod-wrap {
  display: none;
}

#amelia-booking-wrap.am-wrap #am-service-booking .am-service-gallery {
  display: none;
}

#amelia-booking-wrap.am-wrap #am-service-booking .am-service {
  margin-top: 0;
}

.woocommerce-orders-table__cell-handouts ul,
.woocommerce-orders-table__cell-related_posts ul {
  margin-left: 10px;
  margin-bottom: 0;
}

/* Remove "Order Again" button from order details page */
p.order-again {
  display: none !important;
}

span.recaptcha {
  margin-bottom: 1.5em;
}

/* Remove author and comment details from blog posts */
#author-bio,
.meta-comment-count,
.meta-author {
  display: none !important;
}

.cart-outer .cart-menu .cart-contents .cart-icon-wrap i.icon-salient-cart,
#mobile-cart-link i.icon-salient-cart {
  display: none !important;
}
.cart-outer .cart-menu .cart-contents .cart-icon-wrap::before,
#mobile-cart-link::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 21px;
  background-image: url("/wp-content/themes/salient-child/assets/header-cart-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  margin-right: 5px;
}
.cart-outer .cart-menu .cart-contents .cart-icon-wrap .cart-wrap {
  right: 9px !important;
}

/* Checkout: the free-delivery line under the total. */
.woocommerce-checkout .checkout-wrapper .col-2 table.order-review tr.free-delivery-notice td {
  padding-top: 16px !important;
}

.woocommerce-checkout table.order-review tr.free-delivery-notice a {
  color: #1e73be !important;
  font-weight: 700;
  text-decoration: underline;
}
