/* ── Top bar ───────────────────────────────────── */
.glf-topbar {
  background: #1a2e1a;
  color: #e8f0e8;
  font-size: 0.8125rem;
  line-height: 1.4;
  padding: 0.55rem 1.25rem;
  text-align: center;
}
.glf-topbar a {
  color: #c8e6c3;
  font-weight: 600;
  text-decoration: none;
}
.glf-topbar a:hover {
  color: #fff;
}

/* ── Header ────────────────────────────────────── */
.site-header {
  background: #fff !important;
  border-bottom: 1px solid rgba(26, 46, 26, 0.1);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-branding .site-title a {
  font-weight: 700;
  letter-spacing: -0.02em;
}
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ── Hero (front page) ─────────────────────────── */
.home .entry-content > .wp-block-cover.alignfull {
  margin-top: -1.5rem;
  margin-bottom: 2rem;
}
.home .wp-block-cover .wp-block-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
}
.glf-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 2.5rem 0 1.25rem;
  color: #1a2e1a;
}

/* Collections grid */
.glf-collections {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto 2rem;
  max-width: 1140px;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .glf-collections {
    grid-template-columns: repeat(3, 1fr);
  }
}
.glf-collection-card {
  background: #fff;
  border: 1px solid rgba(26, 46, 26, 0.1);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.glf-collection-card:hover {
  box-shadow: 0 8px 24px rgba(26, 46, 26, 0.12);
  transform: translateY(-2px);
}
.glf-collection-card img {
  aspect-ratio: 4/3;
  display: block;
  object-fit: cover;
  width: 100%;
}
.glf-collection-card span {
  color: #1a2e1a;
  display: block;
  font-weight: 600;
  padding: 0.85rem 1rem;
  text-align: center;
}

/* Product grids (home) */
.home ul.products {
  margin: 0 auto 2.5rem;
  max-width: 1140px;
}
.home ul.products li.product img {
  border-radius: 8px;
}

/* ── Shop archive ──────────────────────────────── */
.post-type-archive-product .site-content,
.tax-product_cat .site-content,
.woocommerce-shop .site-content {
  background: #f7f5f0;
}

/* ── Single product (white canvas) ─────────────── */
body.single-product,
.single-product .site,
.single-product .site-content,
.single-product .content-area,
.single-product #primary {
  background: #fff !important;
}
.single-product div.product {
  background: #fff;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding: 1.5rem 1.25rem 3rem;
}
.single-product .woocommerce-product-gallery {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 0.75rem;
}
.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery__wrapper img {
  border-radius: 8px;
}
.single-product .flex-control-thumbs li img {
  border-radius: 6px;
  opacity: 0.85;
}
.single-product .flex-control-thumbs li img.flex-active,
.single-product .flex-control-thumbs li img:hover {
  border: 2px solid #2d5a27;
  opacity: 1;
}

/* Variations */
.single-product table.variations {
  border: none;
  margin-bottom: 1.25rem;
  width: 100%;
}
.single-product table.variations th.label {
  font-weight: 600;
  padding: 0.5rem 0.75rem 0.5rem 0;
  vertical-align: middle;
  width: 30%;
}
.single-product table.variations td.value {
  padding: 0.35rem 0;
}
.single-product table.variations select {
  background: #f7f5f0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.9375rem;
  max-width: 100%;
  min-width: 12rem;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
}
.single-product .reset_variations {
  font-size: 0.8125rem;
  margin-left: 0.5rem;
}
.single-product .woocommerce-variation-price {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.single-product .single_add_to_cart_button {
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
}

/* Description & tabs */
.glf-product-description {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1.5rem 2rem;
}
.single-product .woocommerce-tabs {
  margin-top: 0;
  padding: 0;
}
.single-product .woocommerce-tabs ul.tabs {
  border-bottom: 2px solid #e8e8e8;
  margin: 0 0 1.25rem;
  padding: 0;
}
.single-product .woocommerce-tabs ul.tabs li a {
  font-weight: 600;
  padding: 0.65rem 1.25rem;
}
.single-product .woocommerce-Tabs-panel {
  font-size: 0.975rem;
  line-height: 1.65;
  max-width: 72ch;
}
.single-product .woocommerce-Tabs-panel h3 {
  font-size: 1.1rem;
  margin-top: 1.25rem;
}

/* Related / upsells — larger cards */
.single-product .related.products,
.single-product .upsells.products {
  background: #f7f5f0;
  border-top: 1px solid #e5e5e5;
  margin-top: 2.5rem;
  padding: 2.5rem 1.25rem 3rem;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.single-product .related.products > h2,
.single-product .upsells.products > h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  text-align: center;
}
.single-product .related ul.products li.product img,
.single-product .upsells ul.products li.product img {
  border-radius: 10px;
  min-height: 220px;
  object-fit: cover;
  width: 100%;
}
@media (min-width: 768px) {
  .single-product .related ul.products li.product img,
  .single-product .upsells ul.products li.product img {
    min-height: 260px;
  }
}

/* Footer */
.site-footer {
  margin-top: 0;
}
