/* mirror_flow:p6_ai_generated */
:root {
  --color-primary: #2e7d32;
  --color-primary-dark: #1b5e20;
  --color-primary-light: #4caf50;
  --color-secondary: #ff8f00;
  --color-secondary-dark: #e65100;
  --color-bg: #f9fafb;
  --color-surface: #ffffff;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-link: #2e7d32;
  --color-link-hover: #1b5e20;
  --font-family-base: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --font-family-heading: 'Noto Serif SC', Georgia, serif;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --container-padding: 1.5rem;
  --header-height: 4rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

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

/* Header & Navigation */
.site-header {
  background-color: var(--color-surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}
.logo img {
  width: 40px;
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-menu a {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  color: var(--color-text);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.2s;
}
.nav-menu a:hover {
  color: var(--color-primary);
  text-decoration: none;
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-text);
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  padding: 4rem 0;
  text-align: center;
}
.hero-title {
  font-family: var(--font-family-heading);
  font-size: 2.5rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
}
.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* Section general */
.section {
  padding: 4rem 0;
}
.section-title {
  font-family: var(--font-family-heading);
  font-size: 2rem;
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-secondary);
  margin: 0.75rem auto 0;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.product-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.product-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex: 1;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}
.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary-dark);
}

/* Features / Categories */
.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  list-style: none;
}
.category-item {
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.category-item:hover {
  background: var(--color-primary-light);
  color: #fff;
}

/* About / Contact */
.about-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.contact-card {
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  min-width: 220px;
}
.contact-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

/* Footer */
.site-footer {
  background-color: #1f2937;
  color: #e5e7eb;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.5rem;
}
.footer-col a {
  color: #9ca3af;
  text-decoration: none;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--color-surface);
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2rem;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 2.5rem 0;
  }
}
