/*
Theme Name: Salient Child Theme
Description: ObjectUnknown 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.2
*/

/* ==========================================================================
   FONTS (self-hosted, no Google connection needed)
   Fraunces = headlines   |   Figtree = everything else
   ========================================================================== */
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-latin-wght-italic.woff2') format('woff2');
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('fonts/figtree-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 900; font-style: normal; font-display: swap;
}

/* ==========================================================================
   DESIGN SETTINGS - change these values to restyle the whole site
   ========================================================================== */
:root {
  --ou-bg:       #f9f8f6;  /* warm off-white page background (Etsy-like) */
  --ou-ink:      #222222;  /* main text                                   */
  --ou-muted:    #6b6a67;  /* secondary text                              */
  --ou-line:     #e4e1dc;  /* thin dividers                               */
  --ou-accent:   #d9482b;  /* PLACEHOLDER: orange-red from your logo      */
  --ou-head:     'Fraunces', Georgia, 'Times New Roman', serif;
  --ou-body:     'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   BASE
   ========================================================================== */
body,
body #ajax-content-wrap,
body .container-wrap { background-color: var(--ou-bg); }

body,
body p,
body li,
body input, body textarea, body select, body button,
body .woocommerce ul.products li.product .price,
body .nectar-button { font-family: var(--ou-body); color: var(--ou-ink); }
body p { font-weight: 300; line-height: 1.7; }

body h1, body h2, body h3, body h4, body h5, body h6,
body .nectar-flickity .flickity-heading-text,
body .nectar-slider-wrap .content h2 {
  font-family: var(--ou-head);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ou-ink);
}

/* ==========================================================================
   HEADER - light, text name, thin line underneath
   ========================================================================== */
body #header-outer,
body #header-outer[data-has-menu="true"],
body #header-space { background-color: var(--ou-bg) !important; box-shadow: none; }
body #header-outer { border-bottom: 1px solid var(--ou-line); }

/* Text name (shown automatically while no logo image is set in Salient) */
body #header-outer #logo {
  font-family: var(--ou-head);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--ou-ink);
}

/* Menu: small, uppercase, spaced out */
body #header-outer nav > ul > li > a,
body #header-outer .sf-menu > li > a {
  font-family: var(--ou-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ou-ink);
}
body #header-outer nav > ul > li > a:hover { color: var(--ou-accent); }

/* Header icons (search, account, cart) */
body #header-outer .nectar-woo-cart a,
body #header-outer .cart-menu-wrap a,
body #header-outer #search-btn a,
body #header-outer .icon-salient-cart { color: var(--ou-ink); }

/* ==========================================================================
   HERO SLIDESHOW (Nectar Slider)
   ========================================================================== */
body .nectar-slider-wrap .content h2 {
  font-size: clamp(38px, 6.5vw, 92px);
  line-height: 1.02;
  color: #fff;
}
body .nectar-slider-wrap .content p {
  font-family: var(--ou-body);
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(255,255,255,.92);
}

/* ==========================================================================
   SECTION HEADINGS ON THE HOMEPAGE
   ========================================================================== */
.ou-section-head h2 {
  font-size: clamp(30px, 4vw, 52px);
  margin: 0 0 6px;
}
.ou-eyebrow {
  font-family: var(--ou-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  color: var(--ou-muted);
  margin-bottom: 10px;
}
.ou-link-all a {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ou-ink); border-bottom: 1px solid var(--ou-ink); padding-bottom: 2px;
}
.ou-link-all a:hover { color: var(--ou-accent); border-color: var(--ou-accent); }

/* ==========================================================================
   PRODUCT GRID - airy, centered text, like the Ames Bros layout
   ========================================================================== */
body .woocommerce ul.products li.product { text-align: center; }
body .woocommerce ul.products li.product h2,
body .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--ou-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  margin: 6px 0 4px;
}
body .woocommerce ul.products li.product .price {
  font-weight: 600;
  font-size: 15px;
  color: var(--ou-ink);
}

/* "Object No. 047" catalog label (set per product in the product editor) */
.object-no {
  display: block;
  font-family: var(--ou-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ou-muted);
  margin: 12px 0 2px;
}
.single-product .object-no { margin: 0 0 8px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
body .nectar-button.regular.accent-color,
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce #respond input#submit { background-color: var(--ou-ink) !important; color: #fff !important; }
body .woocommerce a.button:hover,
body .woocommerce button.button:hover { background-color: var(--ou-accent) !important; }

/* ==========================================================================
   MISC HOMEPAGE BLOCKS
   ========================================================================== */
.ou-values h3 { font-size: 20px; margin-bottom: 6px; }
.ou-values p  { color: var(--ou-muted); font-size: 15px; margin-bottom: 0; }
.ou-story h2  { font-size: clamp(30px, 4vw, 48px); }
.ou-signup input[type="email"] { background: #fff; border: 1px solid var(--ou-line); }
