
:root {
  --green-main: #42a302;
  --green-accent: #7ed957;
  --navy: #02233d;
  --white: #ffffff;
  --grey-light: #f5f7f8;
  --grey-mid: #d3dde5;
  --text-dark: #063019;
  --text-body: #23313f;
  --accent-gold: #f7c948;
  --max-width: 1180px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 14px 40px rgba(0,0,0,0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-body);
  background: #f0f4f7;
  line-height: 1.6;
}

/* Layout */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Header */

.site-header {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 54px;
  width: auto;
  border-radius: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.78rem;
  color: #dbe8f4;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav-links a {
  color: #e7f4ff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  height: 2px;
  width: 0;
  background: var(--green-main);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-cta a {
  text-decoration: none;
}

.btn-pill {
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.btn-pill--primary {
  background: linear-gradient(135deg, var(--green-main), var(--green-accent));
  border-color: transparent;
  color: var(--navy);
  font-weight: 700;
}

.btn-pill--ghost {
  background: transparent;
  color: #e7f4ff;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 10px;
  padding: 0.25rem 0.5rem;
  color: #fff;
}

/* Hero */

.hero {
  background: radial-gradient(circle at top left, rgba(66,163,2,0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(2,35,61,0.8), #021320);
  color: var(--white);
  padding: 3.2rem 1.25rem 3.8rem;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.18rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 47, 23, 0.7);
  border: 1px solid rgba(190, 236, 200, 0.6);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.hero-kicker span.badge {
  background: rgba(66,163,2,0.95);
  color: #021320;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-weight: 700;
}

.hero h1 {
  margin: 1.1rem 0 0.6rem;
  font-size: clamp(2.2rem, 2.9vw + 1.4rem, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0.03em;
}

.hero h1 span {
  color: var(--green-accent);
}

.hero-lede {
  max-width: 40rem;
  color: #d8e8f5;
  font-size: 0.98rem;
  margin-bottom: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
  margin-top: 1.8rem;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.9;
}

.hero-meta-item strong {
  font-size: 0.86rem;
  color: #fff;
}

/* Hero card */

.hero-card {
  background: rgba(2,35,61,0.94);
  border-radius: 26px;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(190, 236, 200, 0.4);
  box-shadow: 0 22px 60px rgba(0,0,0,0.47);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-card-title {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-card-sub {
  font-size: 0.8rem;
  color: #d1e7ff;
}

.hero-card-tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(66,163,2,0.16);
  border: 1px solid rgba(126,217,87,0.5);
  color: var(--green-accent);
}

.hero-card-body {
  background: radial-gradient(circle at top, rgba(13, 122, 46, 0.46), transparent 65%),
              rgba(1,18,37,0.95);
  border-radius: 20px;
  padding: 1.2rem 1.1rem 1.1rem;
}

.hero-card-highlight {
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #e4f4ff;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  color: #d3e4ff;
}

.hero-card-footer span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Utility */

.section {
  padding: 3rem 1.25rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--green-main);
  font-weight: 700;
}

.section-title {
  font-size: 1.6rem;
  margin: 0.25rem 0 0.3rem;
  color: var(--text-dark);
}

.section-lede {
  max-width: 34rem;
  font-size: 0.95rem;
}

.section-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Product grids */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(10,49,25,0.16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(4,54,25,0.05);
}

.product-media {
  width: 100%;
  height: 170px;
  background: radial-gradient(circle at top left, rgba(126,217,87,0.3), transparent 55%),
              radial-gradient(circle at bottom right, rgba(2,35,61,0.9), #011320);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-media img {
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
}

.product-body {
  padding: 1rem 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #4a6b8a;
  font-weight: 700;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green-main);
}

.product-unit {
  font-size: 0.8rem;
  color: #6c7b8a;
}

.product-footer {
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.btn {
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  border: none;
  cursor: pointer;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-main), var(--green-accent));
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--green-main);
  color: var(--green-main);
}

.btn-secondary {
  background: var(--navy);
  color: #f1fbff;
}

.badge-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--grey-light);
  color: #415161;
}

/* Stripes */

.stripe-banner {
  background: #021a2c;
  color: #e1f3ff;
  padding: 0.85rem 1.25rem;
  font-size: 0.85rem;
}

.stripe-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

/* About / content pages */

.page-hero {
  background: linear-gradient(135deg, #021b31, #052c21);
  color: var(--white);
  padding: 3rem 1.25rem 2.5rem;
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumbs {
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
  opacity: 0.9;
}

.page-hero h1 {
  margin: 0;
  font-size: 2rem;
}

.page-hero p {
  max-width: 34rem;
  font-size: 0.95rem;
  color: #d4e9ff;
}

.page-content {
  background: linear-gradient(180deg, #f3f6f8 0%, #ffffff 36%, #f3f6f8 100%);
  padding: 2.3rem 1.25rem 3.4rem;
}

.page-content-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
}

.page-copy h2 {
  color: var(--text-dark);
  margin-top: 0;
}

.page-copy h3 {
  color: var(--text-dark);
  margin-top: 1.5rem;
}

.page-copy p {
  margin-top: 0.35rem;
}

.page-aside {
  background: var(--white);
  border-radius: 18px;
  padding: 1.2rem 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(4, 54, 25, 0.09);
}

.aside-title {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.aside-list li + li {
  margin-top: 0.35rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 2.2rem;
}

.card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.3rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(4,54,25,0.09);
}

.card h2 {
  margin-top: 0;
  color: var(--text-dark);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 0.85rem 1rem;
}

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4a5c6c;
  margin-bottom: 0.25rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  border: 1px solid var(--grey-mid);
  font: inherit;
  resize: vertical;
}

textarea {
  min-height: 120px;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--green-main);
  outline-offset: 1px;
  border-color: var(--green-main);
}

/* Wishlist */

.wishlist-list {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
}

.wishlist-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(4,54,25,0.16);
}

.wishlist-list button {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
}

/* Product detail */

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.3rem;
}

.product-detail-media {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 1.4rem;
}

.product-detail-media img {
  width: 100%;
  height: auto;
}

.product-detail-meta h1 {
  margin-top: 0;
  color: var(--text-dark);
}

.badge-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.3rem 0 0.7rem;
}

.price-block {
  margin: 0.6rem 0 1rem;
}

.price-main {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-main);
}

.price-sub {
  font-size: 0.85rem;
  color: #5b6a79;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
  gap: 0.7rem;
  font-size: 0.85rem;
}

.detail-meta-item span {
  display: block;
}

.detail-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: #607283;
}

.detail-meta-value {
  font-weight: 600;
  color: var(--text-dark);
}

.detail-description {
  margin-top: 1.1rem;
  font-size: 0.95rem;
}

.detail-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* pagination */

.pagination {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pagination button {
  border-radius: 999px;
  border: 1px solid #42a302;
  background: #fff;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.pagination button.active {
  background: #42a302;
  color: #fff;
  font-weight: 700;
}

/* Footer */

.site-footer {
  background: #06121d;
  color: #c6d3e2;
  padding: 2.4rem 1.25rem 1.4rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(2,minmax(0,0.8fr));
  gap: 1.8rem;
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
}

.footer-brand img {
  height: 52px;
  width: auto;
}

.footer-brand h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  color: #ffffff;
}

.footer-brand p {
  margin: 0;
  font-size: 0.86rem;
  color: #d0dfef;
}

.footer-nav h4 {
  margin-top: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  font-size: 0.86rem;
}

.footer-nav li + li {
  margin-top: 0.35rem;
}

.footer-nav a {
  color: #d0dfef;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--green-accent);
}

.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(17, 70, 32, 0.9);
  color: #e7f4ff;
  font-size: 0.75rem;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 1.6rem;
  padding-top: 0.9rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-bottom a {
  color: #d0dfef;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--green-accent);
}

/* Responsive */

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
    order: -1;
  }
  .page-content-inner,
  .contact-grid,
  .product-detail-layout,
  .footer-top {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width: 780px) {
  nav {
    position: absolute;
    inset: 100% 0 auto;
    background: #011726;
    padding: 0 1.1rem 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.14);
    display: none;
    flex-direction: column;
  }
  nav.open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.5rem;
  }
  .header-cta {
    margin-top: 0.8rem;
    justify-content: flex-start;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 520px) {
  .brand-title {
    font-size: 0.8rem;
  }
  .brand-tagline {
    display: none;
  }
  .hero {
    padding-top: 2.3rem;
  }
}
