/*
Theme Name: Bio Forest v10 – Private Travel Map & Correct Animal Images
Theme URI: https://bioforrest.co.uk/
Author: Bio Forest
Description: Complete bespoke dark rainforest WordPress theme for Bio Forest. No paid theme or page builder required.
Version: 10.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: bio-forest
*/

:root {
  --bf-black: #020705;
  --bf-ink: #06100b;
  --bf-panel: #09170f;
  --bf-panel-2: #0d2116;
  --bf-green: #6e9f16;
  --bf-green-bright: #9bc52b;
  --bf-gold: #d7ad3c;
  --bf-gold-soft: #f0d27b;
  --bf-cream: #f5f0e4;
  --bf-muted: #bdc5ba;
  --bf-line: rgba(215, 173, 60, 0.38);
  --bf-shadow: 0 18px 55px rgba(0,0,0,.42);
  --bf-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(61,121,56,.14), transparent 28rem),
    radial-gradient(circle at 88% 52%, rgba(110,159,22,.08), transparent 34rem),
    var(--bf-black);
  color: var(--bf-cream);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bf-gold-soft); }
a:hover { color: #fff; }
button, input, textarea, select { font: inherit; }
input, textarea, select {
  width: 100%;
  color: #fff;
  background: rgba(3,12,7,.82);
  border: 1px solid var(--bf-line);
  border-radius: 3px;
  padding: 13px 14px;
}
textarea { min-height: 170px; resize: vertical; }
label { display: block; color: #f7f4e9; font-weight: 700; margin-bottom: 6px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { width: auto; height: auto; clip: auto; padding: .8rem 1rem; margin: 1rem; background: #fff; color: #000; z-index: 99999; }

.bf-container { width: min(calc(100% - 36px), var(--bf-width)); margin-inline: auto; }
.bf-narrow { width: min(calc(100% - 36px), 880px); margin-inline: auto; }
.site-main { overflow: hidden; }
.bf-section { padding: clamp(58px, 7vw, 105px) 0; }
.bf-section--tight { padding: clamp(34px, 5vw, 66px) 0; }
.bf-section--panel { background: linear-gradient(180deg, rgba(10,28,18,.72), rgba(2,7,5,.15)); border-block: 1px solid rgba(215,173,60,.16); }

.bf-eyebrow { color: var(--bf-green-bright); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 800; margin-bottom: .75rem; }
.bf-heading, .entry-title, .site-title { font-family: Georgia, "Times New Roman", serif; letter-spacing: .025em; }
.bf-heading { color: var(--bf-gold); font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; margin: 0 0 1rem; }
.bf-heading--small { font-size: clamp(1.55rem, 3vw, 2.5rem); }
.bf-lead { color: var(--bf-muted); font-size: clamp(1rem, 1.7vw, 1.18rem); max-width: 760px; margin: 0; }
.bf-section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 32px; }
.bf-section-head > div:first-child { max-width: 790px; }
.bf-note { color: var(--bf-muted); font-size: .88rem; }

.bf-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 21px; border: 1px solid var(--bf-gold); border-radius: 3px; background: transparent; color: var(--bf-gold-soft); text-decoration: none; text-transform: uppercase; letter-spacing: .075em; font-size: .78rem; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.bf-button:hover, .bf-button:focus { background: var(--bf-gold); color: #071008; transform: translateY(-2px); }
.bf-button--green { border-color: var(--bf-green-bright); background: linear-gradient(135deg, #658f14, #85aa1d); color: #fff; }
.bf-button--green:hover { background: var(--bf-green-bright); color: #071008; }
.bf-button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(215,173,60,.24); background: rgba(2,7,5,.95); backdrop-filter: blur(14px); }
.site-header__inner { min-height: 104px; display: grid; grid-template-columns: minmax(250px, 360px) 1fr auto auto; gap: 22px; align-items: center; }
.site-branding { min-width: 0; }
.bf-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.bf-brand__mark { width: 88px; height: 88px; object-fit: contain; flex: 0 0 auto; }
.bf-brand__text { min-width: 0; }
.site-title { color: var(--bf-gold); display: block; font-size: 1.55rem; line-height: 1; letter-spacing: .09em; white-space: nowrap; }
.site-tagline { color: var(--bf-green-bright); display: block; margin-top: .45rem; font-size: .59rem; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.primary-menu, .primary-menu ul { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; justify-content: flex-end; align-items: center; gap: clamp(12px, 1.45vw, 22px); }
.primary-menu a { color: #f6f6f3; text-decoration: none; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 42px 0 38px; position: relative; }
.primary-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 29px; height: 2px; background: var(--bf-green-bright); transition: right .2s ease; }
.primary-menu a:hover::after, .primary-menu .current-menu-item > a::after { right: 0; }
.header-enquiry { white-space: nowrap; }
.menu-toggle { display: none; width: 46px; height: 42px; border: 1px solid var(--bf-line); background: transparent; color: var(--bf-gold); border-radius: 3px; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; }

/* Hero */
.bf-hero { position: relative; isolation: isolate; min-height: min(760px, calc(100vh - 104px)); display: grid; align-items: center; border-bottom: 1px solid var(--bf-line); background: linear-gradient(90deg, rgba(2,7,5,.98) 0%, rgba(2,7,5,.92) 38%, rgba(2,7,5,.28) 69%, rgba(2,7,5,.5) 100%), url("assets/images/hero-invertebrates.jpg") right center / min(63vw, 1050px) 100% no-repeat, #05130d; }
.bf-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 18% 28%, rgba(119,178,36,.16), transparent 24rem), linear-gradient(0deg, rgba(2,7,5,.82), transparent 42%); }
.bf-hero__content { max-width: 680px; padding: clamp(80px, 10vw, 145px) 0; }
.bf-hero h1 { margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.1rem, 8vw, 7.2rem); line-height: .9; letter-spacing: .015em; text-shadow: 0 4px 20px #000; }
.bf-hero__strapline { color: var(--bf-green-bright); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1rem, 2.1vw, 1.65rem); letter-spacing: .11em; text-transform: uppercase; margin: 18px 0 0; }
.bf-hero__rule { width: 210px; height: 2px; background: var(--bf-gold); margin: 24px 0; }
.bf-hero__copy { color: #f0f2ed; max-width: 500px; font-size: clamp(1rem, 2vw, 1.28rem); text-shadow: 0 2px 14px #000; }

/* Cards and grids */
.bf-grid { display: grid; gap: 18px; }
.bf-grid--6 { grid-template-columns: repeat(6, 1fr); }
.bf-grid--5 { grid-template-columns: repeat(5, 1fr); }
.bf-grid--4 { grid-template-columns: repeat(4, 1fr); }
.bf-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bf-grid--2 { grid-template-columns: repeat(2, 1fr); }

.bf-category-image { display: block; border: 1px solid var(--bf-line); background: #06110a; box-shadow: var(--bf-shadow); overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.bf-category-image img { width: 100%; height: auto; }
.bf-category-image:hover { border-color: var(--bf-gold); transform: translateY(-4px); }

.bf-card, .bf-product, .bf-service, .bf-feature { border: 1px solid var(--bf-line); background: linear-gradient(145deg, rgba(14,33,22,.95), rgba(3,11,7,.98)); box-shadow: var(--bf-shadow); }
.bf-card { padding: 28px; }
.bf-card h3, .bf-feature h3 { color: var(--bf-gold-soft); font-family: Georgia, serif; margin-top: 0; }
.bf-card p, .bf-feature p { color: var(--bf-muted); }

.bf-welfare { border-block: 1px solid var(--bf-gold); background: linear-gradient(90deg, rgba(6,22,13,.96), rgba(4,12,8,.92)), radial-gradient(circle at 20% 50%, rgba(110,159,22,.18), transparent 30rem); }
.bf-welfare__inner { display: grid; grid-template-columns: 1.55fr 1fr; gap: 42px; align-items: center; }
.bf-welfare__headline { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.bf-welfare__seal { width: 94px; height: 110px; display: grid; place-items: center; border: 3px solid var(--bf-gold); border-radius: 45% 45% 55% 55%; color: var(--bf-gold); font-size: 2.7rem; }
.bf-welfare__headline h2 { color: var(--bf-gold); font: 700 clamp(1.6rem, 3vw, 2.65rem)/1.05 Georgia, serif; margin: 0 0 .55rem; }
.bf-welfare__headline p { margin: 0; color: #fff; font-size: 1.05rem; }
.bf-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; }
.bf-value__icon { color: var(--bf-gold); font-size: 2rem; display: block; }
.bf-value strong { color: var(--bf-gold-soft); display: block; font-size: .72rem; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; }

.bf-product { overflow: hidden; display: flex; flex-direction: column; }
.bf-product__visual { background: #08110b; border-bottom: 1px solid rgba(215,173,60,.22); padding: 8px; }
.bf-product__visual img { width: 100%; height: auto; display: block; object-fit: contain; transition: transform .35s ease; border-radius: 4px; }
.bf-product:hover .bf-product__visual img { transform: scale(1.018); }
.bf-product__meta { color: var(--bf-muted); font-size: .88rem; margin-bottom: 16px; }
.bf-product__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.bf-product h3 { margin: 0 0 .45rem; color: #fff; font-size: 1rem; }
.bf-product__price { color: var(--bf-gold); font-weight: 800; margin-bottom: 6px; }
.bf-product__meta { color: var(--bf-muted); font-size: .82rem; margin-bottom: 18px; }
.bf-product .bf-button { margin-top: auto; align-self: start; min-height: 40px; padding: 8px 13px; font-size: .68rem; }

.bf-services { background: linear-gradient(180deg, rgba(11,31,20,.68), transparent); }
.bf-service { min-height: 370px; padding: 34px; display: flex; flex-direction: column; justify-content: end; position: relative; overflow: hidden; background-position: center; background-size: cover; }
.bf-service::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,8,5,.99), rgba(2,8,5,.2)); }
.bf-service > * { position: relative; z-index: 1; }
.bf-service h3 { color: var(--bf-gold); font: 700 1.55rem/1.1 Georgia, serif; margin: 0 0 .8rem; }
.bf-service p { color: #e8ece5; margin: 0 0 20px; max-width: 36ch; }
.bf-service .bf-button { align-self: start; }
.bf-service--setups { background-image: url("assets/images/product-4.jpg"); }
.bf-service--education { background-image: url("assets/images/product-6.jpg"); }
.bf-service--care { background-image: url("assets/images/product-2.jpg"); }

.bf-feature { padding: 28px; text-align: center; }
.bf-feature__icon { color: var(--bf-green-bright); font-size: 2.2rem; margin-bottom: 12px; }
.bf-feature h3 { margin-bottom: .55rem; }

/* Internal pages */
.entry-header { position: relative; padding: 96px 0 52px; border-bottom: 1px solid var(--bf-line); background: linear-gradient(90deg, rgba(2,7,5,.98), rgba(6,24,14,.75)), url("assets/images/product-3.jpg") center / cover; }
.entry-header::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(111,169,36,.18), transparent 28rem); pointer-events: none; }
.entry-header > * { position: relative; z-index: 1; }
.entry-title { color: var(--bf-gold); font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: 1; margin: 0; }
.entry-content { padding: 55px 0 90px; color: #e2e7df; }
.entry-content h2, .entry-content h3 { color: var(--bf-gold-soft); font-family: Georgia, serif; }
.entry-content img { border: 1px solid var(--bf-line); }
.bf-post-list article { padding: 28px 0; border-bottom: 1px solid var(--bf-line); }
.bf-post-list h2 { margin-bottom: .4rem; }
.bf-post-list h2 a { text-decoration: none; }

.bf-page-intro { padding: 54px 0 28px; }
.bf-page-intro__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 45px; align-items: center; }
.bf-page-intro__image { border: 1px solid var(--bf-line); box-shadow: var(--bf-shadow); }
.bf-page-intro__image img { width: 100%; min-height: 350px; object-fit: cover; }
.bf-steps { counter-reset: bfsteps; }
.bf-step { position: relative; padding: 28px 28px 28px 82px; border: 1px solid var(--bf-line); background: rgba(7,22,14,.75); }
.bf-step::before { counter-increment: bfsteps; content: counter(bfsteps); position: absolute; left: 24px; top: 26px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--bf-gold); border-radius: 50%; color: var(--bf-gold); font-weight: 800; }
.bf-step h3 { margin: 0 0 .4rem; color: var(--bf-gold-soft); }
.bf-step p { margin: 0; color: var(--bf-muted); }
.bf-list { list-style: none; padding: 0; margin: 0; }
.bf-list li { position: relative; padding-left: 28px; margin: .65rem 0; color: #e7ebe4; }
.bf-list li::before { content: "✓"; position: absolute; left: 0; color: var(--bf-green-bright); font-weight: 800; }
.bf-banner { padding: 36px; border: 1px solid var(--bf-gold); background: linear-gradient(135deg, #0e2818, #050d08); display: flex; gap: 28px; align-items: center; justify-content: space-between; }
.bf-banner h2 { color: var(--bf-gold); font-family: Georgia, serif; margin: 0 0 .4rem; }
.bf-banner p { margin: 0; color: var(--bf-muted); }

/* Contact form */
.bf-contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 42px; align-items: start; }
.bf-contact-form { border: 1px solid var(--bf-line); background: linear-gradient(145deg, rgba(14,33,22,.95), rgba(3,11,7,.98)); padding: 30px; box-shadow: var(--bf-shadow); }
.bf-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.bf-field { margin-bottom: 18px; }
.bf-field--full { grid-column: 1 / -1; }
.bf-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.bf-alert { padding: 15px 17px; margin-bottom: 22px; border: 1px solid; }
.bf-alert--success { border-color: var(--bf-green-bright); background: rgba(87,139,27,.18); color: #eaf6d6; }
.bf-alert--error { border-color: #c96654; background: rgba(150,56,40,.18); color: #ffd8d0; }

/* Footer */
.bf-promises { border-block: 1px solid rgba(215,173,60,.18); background: #0b1b11; }
.bf-promises__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.bf-promise { padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.bf-promise + .bf-promise { border-left: 1px solid rgba(215,173,60,.16); }
.bf-promise__icon { color: var(--bf-green-bright); font-size: 1.6rem; }
.bf-promise strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.bf-promise span { color: var(--bf-muted); font-size: .72rem; }
.site-footer { background: #020604; }
.site-footer__grid { display: grid; grid-template-columns: .9fr 1.2fr 1fr; gap: 55px; padding: 55px 0 38px; }
.site-footer__logo { width: 190px; margin-bottom: 12px; }
.site-footer h3 { color: var(--bf-gold); font: 700 1.2rem Georgia, serif; letter-spacing: .08em; }
.site-footer h4 { color: var(--bf-gold); text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; }
.site-footer p { color: var(--bf-muted); }
.footer-menu { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-menu li { margin: .3rem 0; break-inside: avoid; }
.footer-menu a { color: #e5e8e2; text-decoration: none; font-size: .82rem; }
.footer-menu a:hover { color: var(--bf-gold); }
.site-footer__bottom { border-top: 1px solid rgba(215,173,60,.18); padding: 18px 0 28px; display: flex; justify-content: space-between; gap: 20px; color: #899087; font-size: .75rem; }

@media (max-width: 1180px) {
  .site-header__inner { grid-template-columns: 1fr auto auto; }
  .primary-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #030a06; border-bottom: 1px solid var(--bf-line); padding: 18px; }
  .primary-navigation.is-open { display: block; }
  .primary-menu { display: block; }
  .primary-menu li { border-bottom: 1px solid rgba(215,173,60,.12); }
  .primary-menu a { display: block; padding: 15px 6px; }
  .primary-menu a::after { display: none; }
  .menu-toggle { display: block; }
  .bf-grid--6 { grid-template-columns: repeat(3, 1fr); }
  .bf-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  body.admin-bar .site-header { top: 46px; }
  .header-enquiry { display: none; }
  .site-header__inner { min-height: 82px; }
  .bf-brand__mark { width: 68px; height: 68px; }
  .site-title { font-size: 1.25rem; }
  .site-tagline { white-space: normal; }
  .bf-hero { min-height: 680px; align-items: end; background: linear-gradient(0deg, rgba(2,7,5,1) 0%, rgba(2,7,5,.84) 57%, rgba(2,7,5,.2) 100%), url("assets/images/hero-invertebrates.jpg") 63% top / auto 62% no-repeat, #041009; }
  .bf-hero__content { padding: 305px 0 70px; }
  .bf-hero h1 { font-size: clamp(3rem, 16vw, 5.4rem); }
  .bf-section-head { display: block; }
  .bf-section-head .bf-button { margin-top: 20px; }
  .bf-grid--6, .bf-grid--5, .bf-grid--4, .bf-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .bf-welfare__inner, .bf-page-intro__grid, .bf-contact-layout { grid-template-columns: 1fr; }
  .bf-values { margin-top: 10px; }
  .bf-promises__grid { grid-template-columns: repeat(2, 1fr); }
  .bf-promise:nth-child(3) { border-left: 0; border-top: 1px solid rgba(215,173,60,.16); }
  .bf-promise:nth-child(4) { border-top: 1px solid rgba(215,173,60,.16); }
  .site-footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .bf-banner { display: block; }
  .bf-banner .bf-button { margin-top: 20px; }
}
@media (max-width: 540px) {
  .bf-container, .bf-narrow { width: min(calc(100% - 24px), var(--bf-width)); }
  .bf-brand__mark { width: 58px; height: 58px; }
  .site-title { font-size: 1.05rem; }
  .site-tagline { font-size: .5rem; }
  .bf-grid--6, .bf-grid--5, .bf-grid--4, .bf-grid--3, .bf-grid--2, .bf-form-grid { grid-template-columns: 1fr; }
  .bf-field--full { grid-column: auto; }
  .bf-welfare__headline { grid-template-columns: 1fr; }
  .bf-welfare__seal { width: 74px; height: 85px; }
  .bf-values { grid-template-columns: 1fr; text-align: left; }
  .bf-value { display: grid; grid-template-columns: 38px 1fr; align-items: center; }
  .bf-promises__grid { grid-template-columns: 1fr; }
  .bf-promise + .bf-promise { border-left: 0; border-top: 1px solid rgba(215,173,60,.16); }
  .site-footer__bottom { display: block; }
}

/* the shop system integration */
.woocommerce .woocommerce-breadcrumb {
  color: var(--bf-muted);
  margin: 0 0 24px;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--bf-gold-soft); }
.woocommerce-products-header,
.woocommerce-page .page-title {
  color: var(--bf-gold);
  font-family: Georgia, "Times New Roman", serif;
}
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto;
  margin: 0;
  float: none;
  border: 1px solid var(--bf-line);
  background: linear-gradient(145deg, rgba(14,33,22,.96), rgba(3,11,7,.99));
  box-shadow: var(--bf-shadow);
  padding: 14px;
}
.woocommerce ul.products li.product a img {
  background: #08110b;
  border: 1px solid rgba(213,173,66,.18);
  margin-bottom: 16px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #fff;
  font-size: 1rem;
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--bf-gold);
  font-weight: 800;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: linear-gradient(135deg, #658f14, #85aa1d);
  color: #fff;
  border: 1px solid var(--bf-green-bright);
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .055em;
  font-size: .78rem;
  font-weight: 800;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--bf-green-bright);
  color: #071008;
}
.woocommerce div.product {
  color: #e2e7df;
}
.woocommerce div.product .product_title {
  color: var(--bf-gold);
  font-family: Georgia, "Times New Roman", serif;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: #0a1b11;
  border-color: var(--bf-line);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: #fff; }
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce-cart-form,
.woocommerce-checkout-review-order,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
  border: 1px solid var(--bf-line);
  background: rgba(8,22,14,.94);
  padding: 24px;
}
.woocommerce table.shop_table {
  border-color: var(--bf-line);
  color: #e8ece5;
}
.woocommerce table.shop_table th {
  color: var(--bf-gold-soft);
}
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  border-color: rgba(213,173,66,.18);
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  background: #07120b;
  color: #fff;
  border: 1px solid rgba(213,173,66,.35);
  border-radius: 3px;
}
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  background: #0b2014;
  color: #fff;
  border-top-color: var(--bf-green-bright);
}
.woocommerce-error { border-top-color: #b84444; }
.bf-woocommerce-shell {
  padding: clamp(50px, 7vw, 90px) 0;
}
.bf-checkout-security {
  border: 1px solid var(--bf-line);
  background: rgba(10,28,18,.94);
  color: #e8ece5;
  padding: 16px 18px;
  margin-bottom: 22px;
}
.bf-policy-callout {
  border: 1px solid var(--bf-line);
  background: linear-gradient(145deg, rgba(14,33,22,.96), rgba(3,11,7,.99));
  padding: 24px;
  margin: 24px 0;
}
.bf-policy-callout h2,
.bf-policy-callout h3 {
  color: var(--bf-gold-soft);
  margin-top: 0;
}
.bf-policy-callout ul { padding-left: 1.2rem; }
.bf-shop-gateway {
  border-block: 1px solid var(--bf-line);
  background:
    radial-gradient(circle at 15% 20%, rgba(110,159,22,.14), transparent 28rem),
    linear-gradient(180deg, rgba(9,27,17,.92), rgba(3,10,6,.98));
}
.bf-shop-gateway__inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 42px;
  align-items: center;
}
.bf-shop-gateway__panel {
  border: 1px solid var(--bf-line);
  background: rgba(3,12,7,.88);
  padding: 28px;
}
.bf-shop-gateway__panel strong {
  color: var(--bf-gold-soft);
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 980px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-shop-gateway__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .woocommerce ul.products { grid-template-columns: 1fr; }
}

/* Bio Forest v8 homepage category tiles */
.bf-shop-categories {
  background:
    radial-gradient(circle at 12% 18%, rgba(110,159,22,.12), transparent 24rem),
    linear-gradient(180deg, rgba(9,27,17,.96), rgba(3,10,6,.99));
  border-block: 1px solid var(--bf-line);
}
.bf-shop-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.bf-shop-category-card {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  border: 1px solid var(--bf-line);
  background: #08110b;
  box-shadow: var(--bf-shadow);
  text-decoration: none;
  isolation: isolate;
}
.bf-shop-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(2,7,5,.05), rgba(2,7,5,.95) 82%);
}
.bf-shop-category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.bf-shop-category-card:hover img { transform: scale(1.045); }
.bf-shop-category-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px;
}
.bf-shop-category-card h3 {
  color: var(--bf-gold);
  font: 700 1.55rem/1.05 Georgia, serif;
  margin: 0 0 .45rem;
}
.bf-shop-category-card p {
  color: #eef1eb;
  margin: 0;
  font-size: .92rem;
}
.bf-shop-category-card__link {
  color: var(--bf-green-bright);
  display: inline-block;
  margin-top: 12px;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.bf-main-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.bf-main-page-card {
  border: 1px solid var(--bf-line);
  background: linear-gradient(145deg, rgba(14,33,22,.96), rgba(3,11,7,.99));
  box-shadow: var(--bf-shadow);
  padding: 28px;
}
.bf-main-page-card h3 {
  color: var(--bf-gold);
  font: 700 1.45rem/1.08 Georgia, serif;
  margin-top: 0;
}
.bf-main-page-card p { color: var(--bf-muted); }
.bf-main-page-card .bf-button { margin-top: 10px; }

.bf-content-section {
  margin: 34px 0;
  padding: 28px;
  border: 1px solid var(--bf-line);
  background: rgba(8,22,14,.94);
}
.bf-content-section h2,
.bf-content-section h3 {
  color: var(--bf-gold-soft);
  margin-top: 0;
}
.bf-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.bf-comparison-grid > div {
  border: 1px solid rgba(213,173,66,.22);
  background: rgba(4,13,8,.86);
  padding: 24px;
}
.bf-coming-soon {
  border: 2px solid var(--bf-green-bright);
  background:
    radial-gradient(circle at 12% 20%, rgba(110,159,22,.18), transparent 22rem),
    rgba(7,21,13,.96);
  padding: 34px;
  text-align: center;
}
.bf-coming-soon h2 {
  color: var(--bf-gold);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 14px;
}
.bf-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.bf-guide-card {
  border: 1px solid var(--bf-line);
  background: linear-gradient(145deg, rgba(14,33,22,.96), rgba(3,11,7,.99));
  padding: 24px;
}
.bf-guide-card h3 {
  color: var(--bf-gold-soft);
  margin-top: 0;
}
.bf-guide-card p { color: var(--bf-muted); }

.woocommerce ul.products li.product-category a img {
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
  color: var(--bf-gold);
  font: 700 1.2rem/1.1 Georgia, serif;
}
.woocommerce ul.products li.product-category mark {
  color: var(--bf-muted);
  background: transparent;
}

/* Product category archive introduction and care content */
.woocommerce-products-header__description {
  border: 1px solid var(--bf-line);
  background: rgba(8,22,14,.94);
  padding: 24px;
  margin: 20px 0 34px;
  color: #e7ebe4;
}
.woocommerce-products-header__description h2,
.woocommerce-products-header__description h3 {
  color: var(--bf-gold-soft);
}

@media (max-width: 980px) {
  .bf-shop-category-grid,
  .bf-main-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bf-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .bf-shop-category-grid,
  .bf-main-page-grid,
  .bf-guide-grid,
  .bf-comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BIO FOREST V9 — PREMIUM VISUAL UPDATE
   ============================================================ */

/* Promotional banner: rendered only on Home and Bioactive Setups */
.bf-promo-banner {
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(232,192,72,.52);
  background:
    radial-gradient(circle at 18% 50%, rgba(150,203,54,.26), transparent 24rem),
    linear-gradient(90deg, #274514, #466d1e 48%, #1d3511);
  box-shadow: 0 7px 24px rgba(0,0,0,.28);
}
.bf-promo-banner__inner {
  min-height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.bf-promo-banner__text {
  color: #fff;
  font-weight: 800;
  letter-spacing: .035em;
}
.bf-promo-banner__text strong {
  color: #f4cf58;
  text-transform: uppercase;
}
.bf-promo-banner__link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 15px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(0,0,0,.22);
  color: #fff;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}
.bf-promo-banner__link:hover {
  background: rgba(0,0,0,.42);
  color: #fff;
  transform: translateY(-1px);
}

/* Hero refinement */
.bf-hero {
  min-height: min(790px, calc(100vh - 104px));
  background:
    linear-gradient(90deg, rgba(1,7,4,.99) 0%, rgba(2,10,6,.94) 34%, rgba(2,10,6,.32) 64%, rgba(2,8,5,.18) 100%),
    url("assets/images/hero-invertebrates.jpg") right center / min(68vw, 1180px) 100% no-repeat,
    #031009;
}
.bf-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  z-index: -1;
  background: linear-gradient(transparent, rgba(2,9,5,.94));
}
.bf-hero__content {
  max-width: 710px;
}
.bf-hero h1 {
  font-size: clamp(3.5rem, 8.5vw, 7.8rem);
  text-shadow: 0 6px 28px rgba(0,0,0,.88);
}
.bf-hero__strapline {
  color: #b1e13b;
}
.bf-hero__copy {
  max-width: 590px;
  line-height: 1.65;
}

/* Homepage flows directly from hero into category experience */
.bf-shop-categories {
  padding-top: clamp(64px, 8vw, 110px);
}
.bf-shop-category-card {
  min-height: 320px;
  border-color: rgba(218,177,55,.28);
  border-radius: 4px;
}
.bf-shop-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
  pointer-events: none;
}
.bf-shop-category-card:hover {
  border-color: rgba(231,194,76,.85);
  transform: translateY(-5px);
}
.bf-shop-category-card h3 {
  font-size: 1.72rem;
}
.bf-shop-category-card__content {
  padding: 28px;
}
.bf-main-page-card {
  position: relative;
  overflow: hidden;
  min-height: 255px;
  border-radius: 4px;
  transition: transform .22s ease, border-color .22s ease;
}
.bf-main-page-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -80px;
  top: -80px;
  border: 1px solid rgba(160,213,47,.16);
  border-radius: 50%;
}
.bf-main-page-card:hover {
  transform: translateY(-4px);
  border-color: rgba(218,177,55,.65);
}
.bf-heading {
  text-wrap: balance;
}

/* Cleaner shop category/shop presentation */
.woocommerce ul.products {
  gap: 24px;
}
.woocommerce ul.products li.product,
.woocommerce ul.products li.product-category {
  border-radius: 4px;
  overflow: hidden;
}
.woocommerce-products-header__description {
  border-left: 3px solid var(--bf-green-bright);
}

/* The old welfare/promises components are deliberately disabled in V9 */
.bf-welfare,
.bf-promises {
  display: none !important;
}

@media (max-width: 760px) {
  .bf-promo-banner__inner {
    min-height: 58px;
    gap: 10px;
    padding-block: 8px;
    flex-direction: column;
  }
  .bf-promo-banner__text {
    font-size: .8rem;
  }
  .bf-hero {
    min-height: 720px;
    background:
      linear-gradient(0deg, rgba(2,7,5,1) 0%, rgba(2,7,5,.88) 50%, rgba(2,7,5,.16) 100%),
      url("assets/images/hero-invertebrates.jpg") 64% top / auto 64% no-repeat,
      #041009;
  }
  .bf-hero__content {
    padding-top: 330px;
  }
}


/* V9.9 Travel Area & Bookings */
.bf-travel-map {
  margin: 32px 0;
  border: 1px solid var(--bf-line);
  background: #07120b;
  box-shadow: var(--bf-shadow);
  padding: 14px;
}
.bf-travel-map img {
  display: block;
  width: 100%;
  height: auto;
}
.bf-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.bf-package-card {
  border: 1px solid var(--bf-line);
  background: linear-gradient(145deg, rgba(14,33,22,.96), rgba(3,11,7,.99));
  padding: 26px;
  box-shadow: var(--bf-shadow);
}
.bf-package-card h3 {
  color: var(--bf-gold-soft);
  margin-top: 0;
}
.bf-package-card p {
  color: var(--bf-muted);
}
.bf-area-list {
  columns: 2;
  column-gap: 34px;
}
.bf-area-list h3 {
  break-after: avoid;
}
.bf-area-list p {
  break-inside: avoid;
}
@media (max-width: 900px) {
  .bf-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .bf-package-grid { grid-template-columns: 1fr; }
  .bf-area-list { columns: 1; }
}
