/*
Theme Name: Ollie Child
Template: ollie
Version: 1.0.0
Description: Child theme for DIY Xplorer — ollie-child
Author: DIY Xplorer
*/

/* ============================================================
   GOOGLE FONTS FALLBACK
   (Only needed if theme.json fontFace loading doesn't fire)
   @import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Open+Sans:wght@400;600;700&display=swap');
   ============================================================ */


/* ============================================================
   LINKS — Body links underlined, heading/nav links not
   ============================================================ */

/* Default: all body links underlined */
a {
  color: #E31E24;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: #B01519;
  text-decoration: none;
}

a:visited {
  color: #E31E24;
}

/* Heading links — no underline */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  text-decoration: none;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Navigation links — no underline */
nav a,
.wp-block-navigation a,
.wp-block-navigation-item a {
  text-decoration: none !important;
}

nav a:hover,
.wp-block-navigation a:hover {
  text-decoration: none !important;
  color: #E31E24;
}

/* Button links — no underline */
.wp-block-button a,
.wp-block-button__link,
a.wp-block-button__link {
  text-decoration: none !important;
}

/* WooCommerce product card links — no underline */
.woocommerce ul.products li.product a,
.woocommerce-loop-product__title {
  text-decoration: none;
}

.woocommerce ul.products li.product a:hover {
  color: #E31E24;
  text-decoration: none;
}


/* ============================================================
   BRAND ACCENT — Section labels / category links in red
   ============================================================ */

.entry-category,
.post-categories a,
.cat-links a {
  color: #E31E24;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ============================================================
   TYPOGRAPHY — Headings
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #111111;
  line-height: 1.2;
}

body,
p,
li,
td,
input,
textarea,
select {
  font-family: 'Open Sans', sans-serif;
  color: #1A1A1A;
  line-height: 1.7;
}


/* ============================================================
   LISTS — Tighten up bullet spacing
   ============================================================ */

ul li,
ol li {
  margin-bottom: 0.4em;
}


/* ============================================================
   WOOCOMMERCE — Basic brand alignment
   ============================================================ */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background-color: #E31E24;
  color: #FFFFFF;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background-color: #B01519;
  color: #FFFFFF;
}

.woocommerce span.onsale {
  background-color: #E31E24;
}


/* ============================================================
   UTILITY — Screen reader text (accessibility)
   ============================================================ */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
