/*
Theme Name: HomeGlo Child
Theme URI: https://homeglo.com.au
Description: Child theme of Hello Elementor for HomeGlo — brand colours, typography, header/footer and WooCommerce polish. Requires the Hello Elementor parent theme.
Author: HomeGlo
Template: hello-elementor
Version: 1.0.0
Text Domain: homeglo-child
*/

:root {
  --hg-ivory: #FAF7F2;
  --hg-charcoal: #252A26;
  --hg-olive: #65705A;
  --hg-beige: #EAE2D6;
  --hg-line: #D8CEBF;
}

body { background: var(--hg-ivory); color: var(--hg-charcoal); font-family: "Karla", system-ui, sans-serif; }
h1, h2, h3, h4, .hg-display { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }
a { color: var(--hg-charcoal); }
a:hover { color: var(--hg-olive); }
:focus-visible { outline: 2px solid var(--hg-olive); outline-offset: 2px; }

/* ---- header ---- */
.hg-header { background: var(--hg-ivory); border-bottom: 1px solid var(--hg-line); position: sticky; top: 0; z-index: 99; }
.hg-header__inner { max-width: 1200px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; gap: 24px; }
.hg-header__brand { font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; text-decoration: none; }
.hg-header__brand img { max-height: 44px; width: auto; }
.hg-nav { margin-left: auto; }
.hg-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.hg-nav a { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.hg-actions { display: flex; gap: 18px; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hg-actions a { text-decoration: none; }
.hg-burger { display: none; background: none; border: 0; font-size: 20px; cursor: pointer; }
@media (max-width: 1024px) {
  .hg-burger { display: block; margin-left: auto; }
  .hg-nav { display: none; flex-basis: 100%; margin: 0; }
  .hg-nav.is-open { display: block; }
  .hg-nav ul { flex-direction: column; gap: 14px; padding: 16px 0; }
  .hg-header__inner { flex-wrap: wrap; }
}

/* ---- footer ---- */
.hg-footer { background: var(--hg-beige); border-top: 1px solid var(--hg-line); margin-top: 80px; }
.hg-footer__inner { max-width: 1200px; margin: 0 auto; padding: 60px 20px; display: grid; gap: 40px; grid-template-columns: 2fr 1fr 1fr; }
.hg-footer h2, .hg-footer p, .hg-footer a { color: var(--hg-charcoal); }
.hg-footer ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.hg-footer__legal { border-top: 1px solid var(--hg-line); font-size: 12px; padding: 20px; text-align: center; }
@media (max-width: 767px) { .hg-footer__inner { grid-template-columns: 1fr; } }

/* ---- WooCommerce polish (kept minimal) ---- */
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; }
.woocommerce ul.products li.product .price { color: var(--hg-charcoal); font-size: 15px; }
.woocommerce span.onsale { background: var(--hg-olive); border-radius: 0; }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: var(--hg-charcoal); color: var(--hg-ivory); border-radius: 0;
  text-transform: uppercase; letter-spacing: .16em; font-size: 11px; padding: 16px 30px;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--hg-olive); color: var(--hg-ivory); }
.woocommerce .quantity input, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce-page form .form-row input.input-text, select { border: 1px solid var(--hg-line); border-radius: 0; background: #fff; padding: 12px; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--hg-olive); background: #fff; }
.hg-page { max-width: 860px; margin: 0 auto; padding: 60px 20px; }
.hg-page--wide { max-width: 1200px; }
