/* iHunt Downunder · 2026 refresh
 * One layer over the copied WordPress styles: easier reading, the price and key facts up front on every hunt,
 * one clear way to enquire. Brand kept: navy, sky, brown, paper, the handwriting headings, the buffalo logo.
 * Loaded on every page after copy-static.css. */
:root {
  --ih-navy: #00143E;
  --ih-sky: #AFD8EB;
  --ih-sky-pale: #EBF5FA;
  --ih-brown: #5A3E25;
  --ih-brown-dark: #45300F;
  --ih-paper: #EFE9E2;
  --ih-text: #4A4F5C;
  --ih-line: #E2DAD1;
}

/* ---------- Reading: darker body text (the old #7E7E7E grey was faint) ---------- */
body, .elementor-widget-text-editor, .woocommerce-product-details__short-description,
.woocommerce-Tabs-panel, .elementor-icon-box-description { color: var(--ih-text); }
.woocommerce-product-details__short-description p,
.woocommerce-Tabs-panel p, .woocommerce-Tabs-panel li { line-height: 1.75; }

/* ---------- Hunt pages ---------- */
.single-product h1.product_title {
  color: var(--ih-navy) !important;
  font-size: clamp(32px, 3.6vw, 46px) !important;
  line-height: 1.15 !important;
  margin-bottom: 14px !important;
}
.single-product .summary .price,
.single-product p.price { color: var(--ih-navy) !important; font-weight: 700; }

/* Key facts box, under each hunt's title */
.ih-facts {
  background: var(--ih-paper);
  border: 1px solid var(--ih-line);
  border-radius: 10px;
  padding: 18px 20px 16px;
  margin: 0 0 22px;
  box-shadow: 0 0 10px rgba(110, 193, 228, .26);
}
.ih-facts ul { list-style: none; margin: 0 0 10px !important; padding: 0 !important; display: grid; gap: 6px; }
.ih-facts li {
  margin: 0 !important; padding: 0 0 6px; border-bottom: 1px solid var(--ih-line);
  display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--ih-text);
}
.ih-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.ih-facts li strong {
  color: var(--ih-navy); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px;
}
.ih-facts li:first-child { font-size: 20px; font-weight: 700; color: var(--ih-navy); align-items: baseline; }
.ih-facts p { margin: 0 0 10px !important; font-size: 14px; }
.ih-facts p em { color: var(--ih-brown); font-style: normal; font-weight: 600; }
.ih-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 6px 0 0 !important; }
.ih-btn, a.ih-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px;
  background: var(--ih-brown); color: #fff !important; text-decoration: none !important; border-radius: 0;
  font: 700 14px/1 "Open Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase;
}
.ih-btn:hover { background: var(--ih-brown-dark); }
.ih-btn:focus-visible, .ih-call a:focus-visible { outline: 3px solid var(--ih-sky); outline-offset: 2px; }
.ih-call { font-size: 15px; color: var(--ih-text); }
.ih-call a { color: var(--ih-navy) !important; font-weight: 700; white-space: nowrap; }
@media (max-width: 767px) {
  .ih-facts { padding: 14px 14px 12px; }
  .ih-facts li { grid-template-columns: 6.5em minmax(0, 1fr); font-size: 14px; }
  .ih-btn { width: 100%; }
}

/* Description tab: section headings in the hunt write-ups */
.woocommerce-Tabs-panel h4 { color: var(--ih-navy); font-size: 22px !important; margin: 22px 0 8px !important; }
.woocommerce-Tabs-panel ul { margin-bottom: 12px; }

/* ---------- Shop and category cards ---------- */
ul.products li.product { transition: transform .15s ease, box-shadow .15s ease; }
ul.products li.product:hover { transform: translateY(-2px); }
ul.products li.product .woocommerce-loop-product__title { color: var(--ih-navy) !important; }
ul.products li.product img { object-fit: cover; }
@media (prefers-reduced-motion: reduce) { ul.products li.product { transition: none; } ul.products li.product:hover { transform: none; } }

/* ---------- Links and focus everywhere ---------- */
a:focus-visible, button:focus-visible { outline: 3px solid var(--ih-sky); outline-offset: 2px; }

/* ---------- Buffalo and banteng: enquiry only (no cart), so every big-game hunter talks to Pete first ---------- */
.postid-1025 form.cart, .postid-1010 form.cart,
ul.products li.post-1025 .add_to_cart_button, ul.products li.post-1010 .add_to_cart_button,
ul.products li.post-1025 .button, ul.products li.post-1010 .button { display: none !important; }
.ih-facts p em a { color: var(--ih-navy); font-weight: 700; }

/* Photo galleries inside the new hunts' write-ups (a paragraph holding only photos) */
.woocommerce-Tabs-panel p:has(> img + img) { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.woocommerce-Tabs-panel p:has(> img + img) > img { width: 100% !important; max-width: 100% !important; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; margin: 0 !important; }

/* Camel hunt is an expression of interest: no cart, enquire instead */
form.cart:has(button[value="camel-hunt-expression-of-interest"]),
a.add_to_cart_button[data-product_id="camel-hunt-expression-of-interest"] { display: none !important; }

/* Goat and Red Deer hunts are coming soon: no cart, request information instead */
form.cart:has(button[value="goat-hunt-coming-soon"]), form.cart:has(button[value="red-deer-hunt-cervus-elaphus"]),
a.add_to_cart_button[data-product_id="goat-hunt-coming-soon"], a.add_to_cart_button[data-product_id="red-deer-hunt-cervus-elaphus"] { display: none !important; }

/* Join the hunt list: email sign-up band at the top of the footer, every page */
.ih-list{background:var(--ih-sky-pale);border-top:3px solid var(--ih-brown);padding:40px 16px}
.ih-list-in{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:32px;align-items:start}
.ih-list h2{color:var(--ih-navy);margin:0 0 8px}
.ih-list p{color:var(--ih-text);margin:0}
.ih-list-form{background:#fff;border:1px solid var(--ih-line);border-radius:12px;padding:20px}
@media(max-width:800px){.ih-list-in{grid-template-columns:minmax(0,1fr);gap:16px}.ih-list{padding:28px 16px}}
.ih-list-form button,.ih-list-form [type=submit]{background:var(--ih-navy)!important;color:#fff!important;border:0!important;font-weight:700}
.ih-list-form button:hover,.ih-list-form [type=submit]:hover{background:var(--ih-brown)!important}
