/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2c5f2d;
  --primary-dark: #1e4620;
  --secondary-color: #4a7c59;
  --accent-color: #6b9b75;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --error-color: #d32f2f;
  --success-color: #388e3c;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
  display: block;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-primary);
  color: white;
  padding: 20px;
  z-index: 10000;
  box-shadow: var(--shadow-lg);
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  margin: 0;
  font-size: 14px;
}

.cookie-content a {
  color: var(--accent-color);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

/* Header */
.header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo a {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-list a {
  color: var(--text-primary);
  font-weight: 500;
}

.nav-list a:hover {
  color: var(--primary-color);
}

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

.cart-btn {
  position: relative;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  font-size: 12px;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 24px;
  opacity: 0.95;
}

.hero-disclaimer {
  font-size: 14px;
  max-width: 800px;
  margin: 0 auto 32px;
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features */
.features {
  padding: 60px 0;
  background-color: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 24px;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Products Section */
.products-section {
  padding: 60px 0;
}

.products-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 48px;
  color: var(--primary-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 600;
}

.product-title {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

.product-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.product-actions {
  display: flex;
  gap: 8px;
}

.btn-icon {
  padding: 8px 12px;
  font-size: 16px;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* Trust Section */
.trust-section {
  padding: 60px 0;
  background-color: var(--bg-white);
}

.trust-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 48px;
  color: var(--primary-color);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.trust-item {
  padding: 24px;
  text-align: center;
}

.trust-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.trust-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--text-primary);
  color: white;
  padding: 60px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  opacity: 0.9;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 14px;
  opacity: 0.8;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-disclaimer {
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 16px;
}

.footer-disclaimer strong {
  color: var(--accent-color);
}

.footer-contact {
  margin-top: 16px;
}

.footer-contact p {
  font-size: 13px;
  margin-bottom: 6px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.8;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--text-secondary);
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 20px;
  min-height: 100px;
}

.modal-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.empty-cart {
  text-align: center;
  color: var(--text-secondary);
  padding: 40px 20px;
}

/* Legal Pages */
.legal-page {
  background-color: var(--bg-white);
  padding: 60px 0;
  min-height: 70vh;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.legal-content .last-updated {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 24px;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.legal-content h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--text-primary);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.highlight-box {
  background-color: #fff3cd;
  border-left: 4px solid #ff9800;
  padding: 16px;
  margin: 24px 0;
  border-radius: 4px;
}

.highlight-box strong {
  color: #f57c00;
}

.info-box {
  background-color: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 16px;
  margin: 24px 0;
  border-radius: 4px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
  }

  .nav.show {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

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

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

  .cookie-content {
    flex-direction: column;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 16px;
  }
}
