:root {
  --green-950: #10291d;
  --green-900: #183b2b;
  --green-700: #3f674c;
  --green-500: #6f8f5a;
  --green-100: #e5ecd9;
  --cream: #f6f3e8;
  --sand: #e7dcc6;
  --terracotta: #c97952;
  --terracotta-dark: #a95436;
  --text: #1f2a24;
  --muted: #627067;
  --white: #fff;
  --border: rgba(24, 59, 43, 0.14);
  --shadow: 0 20px 60px rgba(16, 41, 29, 0.12);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-is-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--green-950);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

p {
  margin-top: 0;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.content-container {
  max-width: 820px;
}

.section {
  padding: 100px 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: var(--white);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-2px);
}

.button-primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  color: var(--white);
  background: var(--terracotta);
}

.button-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  color: var(--white);
  background: var(--terracotta-dark);
}

.button-secondary {
  color: var(--green-950);
  border-color: rgba(16, 41, 29, 0.28);
  background: rgba(255, 255, 255, 0.45);
}

.button-dark {
  color: var(--white);
  background: var(--green-900);
}

.button-light {
  color: var(--green-950);
  background: var(--cream);
}

.text-link {
  color: var(--green-900);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--terracotta-dark);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(246, 243, 232, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.custom-logo {
  max-width: 170px;
  max-height: 58px;
  object-fit: contain;
}

.text-logo,
.footer-logo {
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 800;
  text-decoration: none;
}

.text-logo span {
  color: var(--terracotta);
}

.primary-navigation {
  justify-self: center;
}

.primary-menu,
.footer-menu,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}

.primary-menu a {
  position: relative;
  color: var(--green-950);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-menu a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-link,
.cart-link {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 99px;
  color: var(--white);
  background: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle > span:not(.screen-reader-text) {
  width: 100%;
  height: 2px;
  display: block;
  margin: 4px 0;
  background: var(--green-950);
}

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(201, 121, 82, 0.24), transparent 24%),
    linear-gradient(135deg, var(--cream), #e9efd9 54%, #d5e1c7);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 70px;
}

.hero-content {
  max-width: 760px;
  padding: 100px 0;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
}

.hero-copy {
  max-width: 660px;
  color: var(--green-700);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.hero-shape {
  position: absolute;
  border: 1px solid rgba(24, 59, 43, 0.12);
  border-radius: 50%;
}

.hero-shape-one {
  width: 420px;
  height: 420px;
  top: -180px;
  left: -140px;
}

.hero-shape-two {
  width: 680px;
  height: 680px;
  right: -320px;
  bottom: -340px;
}

.hero-illustration {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.plant-pot {
  position: relative;
  width: 300px;
  height: 430px;
}

.pot {
  position: absolute;
  right: 55px;
  bottom: 30px;
  width: 190px;
  height: 160px;
  border-radius: 14px 14px 70px 70px;
  background: linear-gradient(145deg, var(--terracotta), #a95a3d);
  box-shadow: var(--shadow);
}

.stem {
  position: absolute;
  bottom: 180px;
  left: 147px;
  width: 10px;
  height: 220px;
  border-radius: 99px;
  background: var(--green-700);
  transform: rotate(-4deg);
}

.leaf {
  position: absolute;
  width: 145px;
  height: 85px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(145deg, var(--green-500), var(--green-900));
}

.leaf-one {
  top: 80px;
  left: 12px;
  transform: rotate(18deg);
}

.leaf-two {
  top: 150px;
  right: 2px;
  transform: scaleX(-1) rotate(14deg);
}

.leaf-three {
  top: 225px;
  left: 18px;
  transform: rotate(28deg) scale(0.9);
}

/* Sections */
.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.category-section {
  background: var(--white);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.category-card {
  min-height: 330px;
  display: flex;
  align-items: end;
  gap: 30px;
  padding: clamp(30px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-tools {
  background: linear-gradient(145deg, var(--cream), #e2ead3);
}

.category-decor {
  background: linear-gradient(145deg, #f2e4d9, #ead3c2);
}

.category-icon {
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-900);
  font-size: 2.8rem;
}

.category-decor .category-icon {
  background: var(--terracotta);
}

.category-card p {
  color: var(--muted);
}

.featured-products {
  background: #f9faf6;
}

.story-section {
  background: var(--cream);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.story-visual {
  min-height: 460px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.4), transparent 22%),
    linear-gradient(145deg, var(--green-500), var(--green-900));
}

.story-circle {
  width: 210px;
  height: 210px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--cream);
  font-family: Georgia, serif;
  font-size: 7rem;
}

.story-content p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.12rem;
}

.benefits-section {
  padding: 55px 0;
  color: var(--white);
  background: var(--green-900);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.benefits-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
}

.benefits-grid article > span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--green-100);
}

.benefits-grid h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-family: inherit;
  font-size: 1.05rem;
}

.benefits-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
}

.cta-section {
  color: var(--white);
  background: var(--terracotta);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-section .eyebrow {
  color: var(--cream);
}

.cta-section h2 {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--white);
}

/* Generic pages */
.compact-hero {
  padding: 95px 0 70px;
  background: linear-gradient(135deg, var(--cream), var(--green-100));
}

.compact-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.content-container > *:first-child {
  margin-top: 0;
}

.content-container h2,
.content-container h3 {
  margin-top: 1.8em;
}

.content-container a:not(.button) {
  color: var(--green-700);
}

.content-container input,
.content-container select,
.content-container textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}

.post-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.post-card-content {
  padding: 28px;
}

.post-card-content h2 {
  font-size: 1.55rem;
}

.post-card-content h2 a {
  text-decoration: none;
}

.post-meta {
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 800;
}

.single-featured-image {
  margin-bottom: 40px;
  border-radius: var(--radius-md);
}

.not-found {
  min-height: 65vh;
  display: grid;
  align-items: center;
  text-align: center;
}

/* WooCommerce */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  width: auto;
  margin: 0;
  padding: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1;
  margin: 0 0 22px;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button {
  margin-right: 22px;
  margin-left: 22px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--green-950);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--terracotta-dark);
  font-weight: 800;
}

.woocommerce span.onsale {
  min-width: 54px;
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 6px;
  background: var(--terracotta);
  line-height: 1;
}

.woocommerce .quantity .qty {
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--green-500);
  background: var(--cream);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--green-700);
}

.woocommerce table.shop_table {
  overflow: hidden;
  border-color: var(--border);
  border-radius: var(--radius-sm);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* Footer */
.site-footer {
  padding: 78px 0 24px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--green-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1.2fr;
  gap: 50px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--cream);
}

.site-footer h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.footer-menu li,
.footer-links li {
  margin-bottom: 8px;
}

.footer-menu a,
.footer-links a {
  text-decoration: none;
}

.footer-menu a:hover,
.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive */
@media (max-width: 1020px) {
  .header-inner {
    gap: 24px;
  }

  .primary-menu {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.6fr;
    gap: 20px;
  }

  .plant-pot {
    transform: scale(0.82);
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .primary-navigation {
    position: fixed;
    z-index: 999;
    top: 82px;
    right: 0;
    left: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--cream);
    opacity: 0;
    transition: max-height 220ms ease, opacity 220ms ease;
  }

  .primary-navigation.is-open {
    max-height: calc(100vh - 82px);
    border-top: 1px solid var(--border);
    opacity: 1;
  }

  .primary-menu {
    width: min(var(--container), calc(100% - 40px));
    display: block;
    margin: 0 auto;
    padding: 22px 0 32px;
  }

  .primary-menu li {
    border-bottom: 1px solid var(--border);
  }

  .primary-menu a {
    display: block;
    padding: 14px 2px;
  }

  .header-actions {
    justify-self: end;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 90px 0 30px;
  }

  .hero-illustration {
    min-height: 390px;
  }

  .plant-pot {
    transform: scale(0.78);
    transform-origin: center bottom;
  }

  .category-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner,
  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 68px 0;
  }

  .header-inner {
    min-height: 72px;
    grid-template-columns: auto auto 1fr;
    gap: 10px;
  }

  .primary-navigation {
    top: 72px;
  }

  .text-logo {
    font-size: 1.4rem;
  }

  .account-link {
    display: none;
  }

  .hero-content {
    padding-top: 72px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-illustration {
    min-height: 320px;
  }

  .plant-pot {
    transform: scale(0.65);
  }

  .category-card {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    border-radius: var(--radius-md);
  }

  .category-icon {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
    font-size: 2rem;
  }

  .story-visual {
    min-height: 340px;
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

