/*
 Theme Name: Zero Woofs Author Child
 Theme URI: https://zerowoofsgiven.com/
 Description: Child theme for Author theme customised for Zero Woofs Given.
 Author: Shannon
 Template: author
 Version: 1.0.0
 Text Domain: zerowoofs-author-child
*/

/* Put your custom CSS below this line */

/* =====================================================
   ZWG GLOBAL STYLES
   ===================================================== */

/* 1. GLOBAL BACKGROUND & BASE FONT */
body {
  background-color: #aa6427 !important;
  font-family: 'Palatino', 'Book Antiqua', Georgia, serif !important;
}

/* 2. WOOCOMMERCE PRODUCT STYLING */

body.single-product,
body.single-product .site,
body.single-product .content-area,
body.single-product .site-main,
body.single-product .woocommerce {
  background-color: #b5ad9d !important;
}

body.archive .type-product,
body.woocommerce-page .type-product,
body.post-type-archive-product .type-product {
  background-color: #b5ad9d !important;
}

.woocommerce ul.products li.product .button {
  background: #aa6427 !important;
  color: #b5ad9d !important;
  border: none !important;
  border-radius: 0 !important;
  font-weight: bold;
  text-transform: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.single-product .single_add_to_cart_button:hover,
.woocommerce-page .single_add_to_cart_button:hover,
.archive .add_to_cart_button:hover,
.woocommerce-page .add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover {
  background-color: #8a5022 !important;
  color: #ffffff !important;
  border-color: #8a5022 !important;
}

.woocommerce-Price-amount,
.woocommerce-Price-amount bdi,
.price,
.price ins,
.price del,
span.amount,
.woocommerce-variation-price .price,
.woocommerce-variation-price .woocommerce-Price-amount,
.woocommerce-variation-price .woocommerce-Price-amount bdi {
  color: #000000 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #aa6427 !important;
  border-color: #aa6427 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #ffffff !important;
}

/* 3. TYPOGRAPHY / BRAND HEADINGS */

.sidebar h1,
.sidebar h2,
.sidebar h3,
.sidebar h4,
.sidebar h5,
.sidebar h6,
header h1,
header h2,
header h3,
header h4,
header h5,
header h6,
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
.site-title {
  font-family: 'Farmhand', sans-serif !important;
}

.site-description {
  font-family: 'Palatino', serif !important;
}

/* Remove ugly yellow highlight on mark */
.wp-block-heading mark,
mark.has-inline-color.has-black-color {
  background-color: transparent !important;
  color: inherit !important;
}

/* 4. DOG BREED TRUTHS STYLING */

.single-dog_breed_truth nav.further-reading,
.single-dog_breed_truth nav.further-reading .previous,
.single-dog_breed_truth nav.further-reading .next {
  display: none !important;
}

.single-dog_breed_truth .zwg-aka {
  color: #aa6427;
  font-weight: 700;
}

.single-dog_breed_truth h2,
.single-dog_breed_truth h3,
.single-dog_breed_truth h4 {
  color: #aa6427 !important;
  font-weight: 700;
}

.single-dog_breed_truth .entry-content a {
  color: #aa6427;
}

.single-dog_breed_truth .zwg-kids,
.single-dog_breed_truth .zwg-other-pets,
.single-dog_breed_truth .zwg-rating {
  font-style: italic;
  font-weight: normal;
}

.single-dog_breed_truth .zwg-health-watch strong {
  font-style: italic;
}

/* 5. DOG BREED TRUTHS BROWSER BOX */

.zwg-truths {
  max-width: 860px;
  margin: 1rem auto;
  padding: 1rem;
  border: 1px solid #8d5020;
  border-radius: 10px;
  background: #aa6427;
  color: #000000;
}

.zwg-truths h2,
.zwg-truths p,
.zwg-truths label {
  color: #000000;
  margin: 0.25rem 0;
}

.zwg-t-row { margin: 0.5rem 0; }

.zwg-t-input,
.zwg-t-select {
  width: 100%;
  max-width: 640px;
  padding: 0.55rem 0.65rem;
  border: 1px solid #a09789;
  border-radius: 8px;
  background: #b5ad9d;
  color: #000000;
  outline: none;
}

.zwg-t-input::placeholder { color: #2c2b29; }

.zwg-t-select:focus,
.zwg-t-input:focus {
  border-color: #000000;
}

.zwg-t-help {
  font-size: 0.9rem;
  color: #000000;
  opacity: 0.9;
}

.zwg-t-results { margin-top: 0.35rem; }

.zwg-t-result-item {
  display: block;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  background: #b5ad9d;
  color: #000000;
  font-size: 0.95rem;
  margin-bottom: 2px;
  cursor: pointer;
}

.zwg-t-result-item:hover {
  background: #d0c7b5;
}

/* 6. HEALTH GLOSSARY BROWSER BOX */

.zwg-health {
  max-width: 860px;
  margin: 1rem auto;
  padding: 1rem;
  border: 1px solid #8d5020;
  border-radius: 10px;
  background: #aa6427;
  color: #000000;
}

.zwg-health h2,
.zwg-health p,
.zwg-health label {
  color: #000000;
  margin: 0.25rem 0;
}

.zwg-h-row { margin: 0.5rem 0; }

.zwg-h-input,
.zwg-h-select {
  width: 100%;
  max-width: 640px;
  padding: 0.55rem 0.65rem;
  border: 1px solid #a09789;
  border-radius: 8px;
  background: #b5ad9d;
  color: #000000;
  outline: none;
}

.zwg-h-input::placeholder { color: #2c2b29; }

.zwg-h-select:focus,
.zwg-h-input:focus {
  border-color: #000000;
}

.zwg-h-help {
  font-size: 0.9rem;
  color: #000000;
  opacity: 0.9;
}

.zwg-h-results { margin-top: 0.35rem; }

.zwg-h-result-item {
  display: block;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  background: #b5ad9d;
  color: #000000;
  font-size: 0.95rem;
  margin-bottom: 2px;
  cursor: pointer;
}

.zwg-h-result-item:hover {
  background: #d0c7b5;
}

/* 7. HEALTH GLOSSARY SINGLE LAYOUT */

.single-zwg_health .entry-content {
  max-width: 860px;
  margin: 1.5rem auto;
  padding: 2rem;
  background: #b5ad9d;
  border: 1px solid #8d5020;
}

body.single-zwg_health .entry-meta,
body.single-zwg_health .post-meta,
body.single-zwg_health .posted-on,
body.single-zwg_health .byline,
body.single-zwg_health .entry-footer {
  display: none !important;
}
