/*
Theme Name: Herbora LifeCare
Theme URI: https://example.com/herbora-lifecare
Author: OpenAI
Author URI: https://openai.com
Description: A clean WooCommerce-ready theme for Herbora LifeCare.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: herbora-lifecare
*/

:root {
  --green: #44b627;
  --green-dark: #0b8b32;
  --teal: #18a6c8;
  --text: #1c2430;
  --muted: #677287;
  --bg: #f5f8f7;
  --white: #ffffff;
  --border: #dde7e3;
  --shadow: 0 18px 40px rgba(6, 39, 34, 0.08);
  --radius: 18px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--teal); }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.btn,
button,
input[type="submit"],
.wc-block-components-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.add_to_cart_button,
.single_add_to_cart_button {
  display: inline-block;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--green-dark), var(--green)) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: var(--shadow);
  font-weight: 700;
}
.button.alt,
.checkout-button,
#place_order { background: linear-gradient(135deg, var(--teal), var(--green)) !important; }
.site-header {
  position: sticky; top: 0; z-index: 99;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(221, 231, 227, 0.8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.branding { display: flex; align-items: center; gap: 14px; }
.branding img { width: 58px; height: 58px; object-fit: contain; }
.brand-name { font-size: 1.35rem; font-weight: 800; margin: 0; }
.brand-tag { margin: 0; color: var(--muted); font-size: 0.95rem; }
.site-nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 18px; align-items: center; }
.site-nav a { font-weight: 700; color: var(--text); }
.hero {
  padding: 80px 0 60px;
  background: radial-gradient(circle at top left, rgba(68, 182, 39, 0.16), transparent 30%),
              radial-gradient(circle at top right, rgba(24, 166, 200, 0.14), transparent 24%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 42px; align-items: center; }
.badge { display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(68, 182, 39, 0.12); color: var(--green-dark); font-weight: 700; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.1; margin: 16px 0 18px; }
.hero p { color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; }
.hero-card {
  background: linear-gradient(180deg, #ffffff, #eef8f2);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-card img { width: 100%; max-width: 380px; margin: 0 auto; }
.section { padding: 70px 0; }
.section-title { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-title h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 12px; }
.section-title p { color: var(--muted); margin: 0; }
.feature-grid,
.supplement-grid,
.why-grid,
.footer-grid { display: grid; gap: 22px; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.supplement-grid { grid-template-columns: repeat(2, 1fr); }
.why-grid { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }
.supplement-card h3 { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.supplement-card .pill { font-size: .8rem; background: rgba(24,166,200,.12); color: var(--teal); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.supplement-card ul { margin: 12px 0 0; padding-left: 18px; }
.notice-box {
  margin-top: 24px;
  background: rgba(255,255,255,.85);
  border-left: 4px solid var(--green);
  padding: 14px 16px;
  border-radius: 10px;
  color: var(--muted);
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px !important;
}
.woocommerce ul.products li.product .price { color: var(--green-dark) !important; font-weight: 700; }
.woocommerce div.product,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce { background: transparent; }
.page-wrap { padding: 40px 0 70px; }
.footer {
  padding: 26px 0;
  background: #0e1e17;
  color: rgba(255,255,255,.82);
}
.footer a { color: #fff; }
.footer-grid { grid-template-columns: 2fr 1fr 1fr; align-items: start; }
.small { font-size: .92rem; color: var(--muted); }
@media (max-width: 1000px) {
  .hero-grid, .feature-grid, .supplement-grid, .why-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .hero-grid, .feature-grid, .supplement-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .site-nav ul { flex-wrap: wrap; gap: 12px; }
  .hero { padding-top: 40px; }
}
