/*
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
*/

/* ============================================
   Starcrafts Brand Overrides
   ============================================ */

/* --- Global --- */
body,
html {
  background-color: #ede8e0 !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #1a1a1a !important;
}

#ajax-content-wrap,
.container-wrap,
.content-wrap,
#footer-outer,
.nectar-box-roll .overlaid-content,
.main-content,
div.container-wrap {
  background-color: #ede8e0 !important;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6,
.nectar-box-roll .overlaid-content h1,
.nectar-box-roll .overlaid-content h2,
body .row .col h1,
body .row .col h2,
body .row .col h3,
body .row .col h4,
body .row .col h5,
body .row .col h6 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #1a1a1a !important;
}

p, span, li, td, th, label, input, select, textarea, div {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
}

/* --- Links --- */
a,
a:visited,
body a,
.main-content a {
  color: #8b7355 !important;
}

a:hover,
body a:hover {
  color: #c9a84c !important;
}

/* --- Navigation --- */
header#top nav > ul > li > a,
#header-outer nav > ul > li > a,
.sf-menu a {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #1a1a1a !important;
}

header#top nav > ul > li > a:hover,
.sf-menu a:hover {
  color: #8b7355 !important;
}

#header-outer {
  background-color: #ede8e0 !important;
}

/* --- Buttons --- */
.nectar-button,
.nectar-button[data-color-override],
a.nectar-button,
button,
input[type="submit"],
input[type="button"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce .cart .button,
.woocommerce .checkout-button,
.added_to_cart,
a.added_to_cart {
  background-color: #1a1a1a !important;
  color: #ede8e0 !important;
  border-radius: 0 !important;
  border: none !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nectar-button:hover,
a.nectar-button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
a.added_to_cart:hover {
  background-color: #8b7355 !important;
  color: #ede8e0 !important;
}

/* --- WooCommerce Product Cards --- */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background-color: #f5f1eb !important;
  border: 1px solid #cec8be !important;
  border-radius: 0 !important;
  padding: 15px !important;
  transition: box-shadow 0.3s ease;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.1);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #1a1a1a !important;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount {
  color: #8b7355 !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
}

.woocommerce ul.products li.product .onsale {
  background-color: #c9a84c !important;
  color: #1a1a1a !important;
  border-radius: 0 !important;
}

/* --- WooCommerce Single Product --- */
.woocommerce div.product .product_title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #1a1a1a !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #8b7355 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #1a1a1a !important;
  border-bottom-color: #c9a84c !important;
}

/* --- WooCommerce Cart/Checkout --- */
.woocommerce table.shop_table {
  background-color: #f5f1eb !important;
  border-color: #cec8be !important;
}

.woocommerce table.shop_table th {
  background-color: #ede8e0 !important;
  color: #1a1a1a !important;
}

/* --- Footer --- */
#footer-outer {
  background-color: #1a1a1a !important;
  color: #ede8e0 !important;
}

#footer-outer a {
  color: #c9a84c !important;
}

#footer-outer a:hover {
  color: #ede8e0 !important;
}

/* --- Form Inputs --- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
  background-color: #f5f1eb !important;
  border: 1px solid #cec8be !important;
  border-radius: 0 !important;
  color: #1a1a1a !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #8b7355 !important;
  outline: none !important;
}

/* --- Salient-specific overrides --- */
body .nectar-recent-posts-slider .recent-post-container .inner-wrap {
  background-color: #f5f1eb !important;
}

.nectar-recent-posts-slider .recent-post-container .inner-wrap h2 a {
  color: #1a1a1a !important;
}

.nectar-recent-posts-slider .recent-post-container .inner-wrap h2 a:hover {
  color: #8b7355 !important;
}

/* Star rating gold */
.woocommerce .star-rating span::before,
.woocommerce p.stars a {
  color: #c9a84c !important;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a {
  color: #8b7355 !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
}

/* Remove any default Salient accent colors leaking through */
body [class*="nectar-"],
body .nectar-cta {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
}
