/*
Theme Name: AeroGrow B2B
Theme URI: https://example.com/
Author: AeroGrow Systems
Description: B2B WordPress theme for indoor grow ventilation suppliers, built for WooCommerce product catalogs and quote inquiries.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: aerogrow
*/

:root {
  --ink: #101716;
  --muted: #66736f;
  --paper: #f4f7f1;
  --panel: #ffffff;
  --line: #dbe3d7;
  --dark: #07110f;
  --green: #2bb673;
  --green-dark: #147848;
  --lime: #c9f56a;
  --shadow: 0 22px 70px rgba(16, 23, 22, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(244, 247, 241, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 850;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--dark);
  background: var(--lime);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  gap: clamp(16px, 3vw, 30px);
  font-weight: 780;
}

.button,
.wp-block-button__link,
.single_add_to_cart_button,
.quote-button,
button,
input[type="submit"] {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  color: var(--dark);
  background: var(--lime);
  font-weight: 900;
  cursor: pointer;
}

.button.secondary,
.quote-button {
  color: #fff;
  background: var(--green-dark);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(18px, 6vw, 82px) 56px;
  color: #fff;
  background: var(--dark);
}

.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 17, 15, 0.92) 0%, rgba(7, 17, 15, 0.68) 45%, rgba(7, 17, 15, 0.12) 82%),
    linear-gradient(0deg, rgba(7, 17, 15, 0.5), rgba(7, 17, 15, 0.04) 54%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.94;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.trust-strip,
.product-grid,
.solution-grid,
.feature-band,
.quote-section,
.footer-inner {
  display: grid;
  gap: 18px;
}

.trust-strip {
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-strip div {
  min-height: 112px;
  padding: 26px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.trust-strip span,
.section p,
.product-card p,
.solution-grid p,
.quote-section p,
.site-footer p,
.product_meta,
.woocommerce-product-details__short-description {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 6vw, 82px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}

.product-grid,
.solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.solution-grid article,
.quote-card,
.woocommerce ul.products li.product,
.product {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(16, 23, 22, 0.06);
}

.product-card,
.solution-grid article {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #14241f;
}

.product-card-body,
.solution-grid article,
.quote-card {
  padding: 24px;
}

.product-specs,
.ag-product-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.product-specs span,
.ag-product-specs span {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  background: #edf2e9;
  font-size: 0.84rem;
  font-weight: 800;
}

.feature-band,
.quote-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  align-items: center;
  background: #fff;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.quote-section {
  color: #fff;
  background: linear-gradient(135deg, rgba(7, 17, 15, 0.96), rgba(16, 33, 29, 0.96));
}

.quote-section p {
  color: rgba(255, 255, 255, 0.75);
}

.quote-form,
.ag-inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
}

.full,
.ag-inquiry-form .full {
  grid-column: 1 / -1;
}

.site-footer {
  padding: 38px clamp(18px, 6vw, 82px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.woocommerce div.product {
  padding: clamp(24px, 5vw, 56px);
  margin: clamp(24px, 5vw, 56px);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.woocommerce .cart,
.woocommerce-result-count,
.woocommerce-ordering {
  display: none !important;
}

.ag-product-specs {
  margin: 22px 0;
}

.ag-alert {
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--dark);
  background: var(--lime);
  font-weight: 850;
}

@media (max-width: 920px) {
  .site-header,
  .trust-strip,
  .product-grid,
  .solution-grid,
  .feature-band,
  .quote-section,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 90vh;
    padding-top: 86px;
  }

  .hero-actions,
  .quote-form,
  .ag-inquiry-form,
  .product-specs,
  .ag-product-specs {
    grid-template-columns: 1fr;
    display: grid;
  }

  .button,
  .quote-button {
    width: 100%;
  }
}
