/*
Theme Name: Oak & Vale Storefront Child
Description: Oak & Vale presentation layer for the official WooCommerce Storefront theme.
Author: Oak & Vale
Template: storefront
Version: 1.0.4
Text Domain: oak-vale
*/

:root {
  --ov-ink: #173c32;
  --ov-ink-light: #285447;
  --ov-ivory: #f5f3ec;
  --ov-line: #d9ddd0;
  --ov-muted: #54675d;
  --ov-gold: #b67a31;
}

body {
  color: #263a32;
  font-family: Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.woocommerce-loop-product__title {
  color: var(--ov-ink);
}

a { color: var(--ov-ink); }
a:hover { color: var(--ov-ink-light); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ov-gold);
  outline-offset: 3px;
}

.site-header {
  border-bottom: 0;
  background: #0d0e0d;
  color: #fff;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.site-header .site-branding .site-title a,
.site-header a,
.site-header-cart .cart-contents { color: #fff; }
.site-header a:hover { color: #e2c187; }

.site-header .custom-logo {
  max-height: 54px;
  width: auto;
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a { padding-top: .85rem; padding-bottom: .85rem; }

.ov-announcement {
  background: #fff;
  color: var(--ov-ink);
  font-size: .82rem;
  letter-spacing: .02em;
  padding: .65rem 1rem;
  text-align: center;
}

.ov-home {
  background: var(--ov-ivory);
  color: var(--ov-ink);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.ov-hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  margin: auto;
  max-width: 1600px;
  min-height: 510px;
}

.ov-hero__copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(28px, 5.5vw, 88px);
}

.ov-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.ov-title {
  color: var(--ov-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.7vw, 72px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.07;
  margin: 0 0 24px;
}

.ov-intro {
  color: #485b52;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 30px;
  max-width: 390px;
}

.ov-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 22px; }
.ov-button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.added_to_cart,
.widget a.button.site-header-cart .widget_shopping_cart a.button {
  background: var(--ov-ink);
  border: 1px solid var(--ov-ink);
  border-radius: 3px;
  color: #fff;
}
.ov-button { display: inline-flex; font-size: 13px; font-weight: 700; gap: 24px; min-height: 48px; padding: 16px 24px; text-decoration: none; }
.ov-button:hover,
.button:hover,
button:hover,
input[type="submit"]:hover { background: var(--ov-ink-light); color: #fff; }
.ov-link { font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }

.ov-hero__image { min-height: 410px; overflow: hidden; position: relative; }
.ov-hero__image img { display: block; height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.ov-caption { background: var(--ov-ivory); border: 1px solid var(--ov-line); bottom: 22px; color: var(--ov-ink); font-size: 11px; left: 24px; letter-spacing: .07em; padding: 9px 14px; position: absolute; }

.ov-facts {
  border-bottom: 1px solid var(--ov-line);
  border-top: 1px solid var(--ov-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: auto;
  max-width: 1600px;
}
.ov-fact { align-items: flex-start; color: var(--ov-ink); display: flex; gap: 17px; padding: 25px clamp(20px, 3vw, 48px); text-decoration: none; }
.ov-fact + .ov-fact { border-left: 1px solid var(--ov-line); }
.ov-fact svg { fill: none; flex-shrink: 0; height: 24px; margin-top: 1px; stroke: currentColor; stroke-width: 1.4; width: 24px; }
.ov-fact strong { display: block; font-size: 13px; line-height: 1.5; margin: 0 0 4px; }
.ov-fact small { color: var(--ov-muted); display: block; font-size: 12px; line-height: 1.55; }

.ov-products { margin: 0 auto; max-width: 1240px; padding: 58px 28px 70px; }
.ov-products > h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 48px); font-weight: 400; }
.site-main ul.products.columns-3 li.product { margin-right: 3.5%; width: 31%; }
.site-main ul.products.columns-3 li.product.last { margin-right: 0; }

.ov-product-help { background: var(--ov-ivory); border: 1px solid var(--ov-line); border-radius: 3px; color: var(--ov-ink); margin-top: 1.5rem; padding: 20px; width: 100%; }
.ov-product-help h2 { font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.ov-product-help p { color: #41584c; font-size: 12px; line-height: 1.75; margin: 0 0 10px; }

.site-footer { background: var(--ov-ink); color: #d2ddd3; padding-bottom: 1.8rem; padding-top: 3.5rem; }
.site-footer a { color: #f5f3ec !important; }
.site-footer a:hover, .site-footer a:focus { color: #f0c98a !important; }
.site-footer h2, .site-footer h3, .site-footer .widget-title { color: #fff; }
.ov-footer-grid { display: grid; gap: 36px; grid-template-columns: 1.2fr .9fr 1.1fr; }
.ov-footer-grid h2 { font-family: Arial, Helvetica, sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.ov-footer-grid p, .ov-footer-grid address, .ov-footer-grid a { font-size: 12px; font-style: normal; line-height: 1.8; }
.ov-footer-grid ul { list-style: none; margin: 0; padding: 0; }
.ov-footer-note { border-top: 1px solid #426154; color: #c5d3c8; display: flex; flex-wrap: wrap; font-size: 11px; gap: 18px; justify-content: space-between; margin-top: 30px; padding-top: 20px; }

@media (max-width: 768px) {
  body.home.blog .site-header { margin-bottom: 0; }
  .site-footer { padding-bottom: calc(7rem + env(safe-area-inset-bottom)); }
  .ov-hero { grid-template-columns: 1fr; min-height: 0; }
  .ov-hero__copy { padding: 42px 24px 38px; }
  .ov-title { font-size: 48px; }
  .ov-hero__image { min-height: 290px; }
  .ov-facts { grid-template-columns: 1fr; }
  .ov-fact { padding: 18px 24px; }
  .ov-fact + .ov-fact { border-left: 0; border-top: 1px solid var(--ov-line); }
  .ov-footer-grid { grid-template-columns: 1fr; }
  .site-main ul.products.columns-3 li.product { margin-right: 0; width: 48%; }
}

@media (max-width: 480px) {
  .site-main ul.products.columns-3 {
    display: grid;
    gap: 18px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-main ul.products.columns-3::before,
  .site-main ul.products.columns-3::after {
    display: none;
  }
  .site-main ul.products.columns-3 li.product,
  .site-main ul.products.columns-3 li.product.last {
    float: none;
    margin: 0;
    width: auto;
  }
  .site-main ul.products.columns-3 li.product .woocommerce-loop-product__title {
    font-size: 14px;
    line-height: 1.35;
  }
}
