/* ===== CSS RESET & NORMALIZE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #2B5940;
  background-color: #F4F8F5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #2B5940;
  text-decoration: none;
  transition: color 0.2s;
}
strong {
  font-weight: 700;
}
ul {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #254832;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.4rem; margin-bottom: 16px; }
h2 { font-size: 1.75rem; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }

@media (min-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }
}

p, blockquote {
  font-size: 1rem;
  margin-bottom: 1.25em;
}
blockquote {
  border-left: 5px solid #88B18D;
  background: #F4F8F5;
  padding: 15px 24px;
  font-style: italic;
  border-radius: 10px 40px 10px 40px / 14px 36px 14px 30px;
  margin-bottom: 24px;
}

/* ===== BRAND COLORS & VARIABLES with fallback ===== */
:root {
  --color-primary: #2B5940;
  --color-secondary: #88B18D;
  --color-accent: #F4F8F5;
  --color-dark: #254832;
  --color-light-bg: #F5FAF7;
  --color-sand: #E9E3D2;
}

/* === CONTAINER & COMMON LAYOUTS === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #fff;
  border-bottom: 1.5px solid #E7E7E0;
  box-shadow: 0 3px 8px rgba(42,89,64,0.04);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 18px;
}
header a img {
  height: 44px;
  width: auto;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
nav a {
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 18px;
  transition: background .2s, color .2s;
  color: #2B5940;
}
nav a:hover, nav a:focus {
  background: #E9E3D2;
  outline: none;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--color-primary);
  color: #fff;
  border-radius: 30px;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
  border: none;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 2px 10px 0 rgba(42,89,64,0.06);
  outline: none;
  transition: background 0.2s, color 0.2s, transform 0.13s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #397959;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.cta-btn.secondary {
  background: var(--color-secondary);
  color: var(--color-dark);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #6ea17a;
  color: #fff;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E9E3D2;
  color: var(--color-primary);
  border: none;
  font-size: 2.2rem;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  margin-left: 12px;
  cursor: pointer;
  transition: background .18s;
  z-index: 103;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #d6ccb7;
}
.mobile-menu {
  position: fixed;
  z-index: 1102;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(120deg, #F5FAF7 80%, #E9E3D2 120%);
  box-shadow: 0 14px 30px 2px rgba(43,89,64,0.08);
  transform: translateX(-105vw);
  transition: transform .32s cubic-bezier(.65,0,.34,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px;
  background: #FFE;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: 14px;
  width: 44px;
  height: 44px;
  align-self: flex-end;
  transition: background .14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #E9E3D2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 10px 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  display: block;
  width: 100%;
  border-radius: 10px;
  padding: 14px 0 14px 8px;
  background: none;
  transition: background .14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F4F8F5;
}
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {display: none !important;}
}
@media (max-width: 991px) {
  nav {display: none;}
  .cta-btn {
    display: none; /* Hide header CTA for mobile, use mobile nav instead */
  }
}

/* ===== HERO SECTIONS ===== */
.hero {
  background: linear-gradient(120deg,#E9E3D2 20%,#F4F8F5 100%);
  min-height: 280px;
  border-radius: 0 0 72px 24px / 0 0 32px 18px;
  padding-bottom: 30px;
  margin-bottom: 40px;
}
.hero .container {
  justify-content: center;
  align-items: flex-start;
  min-height: 220px;
}
.hero h1 {
  color: var(--color-primary);
}

/* ===== SECTIONS, CARDS, FLEX UTILS ===== */
section {
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px 60px 18px 36px/ 15px 36px 15px 28px;
  box-shadow: 0 2px 16px 0 rgba(42,89,64,0.07);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F5FAF7;
  border-radius: 18px 40px 16px 32px/ 10px 32px 10px 26px;
  box-shadow: 0 2px 12px 0 rgba(66, 101, 64, 0.07);
  padding: 20px;
  transition: box-shadow .16s, transform .15s;
  min-width: 220px;
  flex: 1 1 220px;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 30px 0 rgba(42,89,64,0.15);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 1px 10px 0 rgba(42,89,64,.08);
  border-radius: 26px 30px 18px 22px/12px 26px 14px 22px;
  margin-bottom: 20px;
  min-width: 200px;
  border-left: 5px solid #88B18D;
  flex-direction: column;
}
.testimonial-card p {
  color: #2B5940;
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-card span {
  color: #397959;
  font-size: 1rem;
  font-weight: 600;
  align-self: flex-end;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 16px;
  background: #F4F8F5;
  border-radius: 18px 32px 12px 22px/ 9px 25px 12px 18px;
  box-shadow: 0 2px 8px 0 rgba(42,89,64,.08);
  margin-bottom: 16px;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.category-grid > div {
  background: #F5FAF7;
  border-radius: 18px 32px 12px 22px/ 9px 25px 12px 18px;
  box-shadow: 0 1px 8px 0 rgba(42,89,64,0.08);
  padding: 20px;
  flex: 1 1 240px;
  font-size: 1.05rem;
  color: #335544;
  min-width: 220px;
  margin-bottom: 16px;
  transition: box-shadow .14s, transform .12s;
}
.category-grid > div:hover {
  box-shadow: 0 6px 32px 0 rgba(42,89,64,0.13);
  transform: translateY(-4px) scale(1.03);
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
  margin-top: 12px;
}
.text-section {
  margin-bottom: 20px;
  font-size: 1rem;
}
.map {
  background: #F5FAF7;
  padding: 14px 20px;
  border-radius: 20px 28px 14px 22px/ 13px 20px 12px 16px;
  font-size: 1rem;
  margin-bottom: 20px;
}
.contact-details p {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.order-summary-link {
  margin-top: 18px;
  font-size: 1.12rem;
}

/* ===== FILTER, FORMS, SELECTS ===== */
.product-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  background: #F4F8F5;
  padding: 12px 20px;
  border-radius: 14px 28px 10px 24px/ 8px 20px 10px 18px;
  margin-bottom: 24px;
}
.product-filter label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #335544;
  font-size: 1rem;
}
.product-filter select {
  background: #fff;
  padding: 7px 18px;
  border: 1.2px solid #88B18D;
  border-radius: 20px;
  font-size: 1rem;
  color: #335544;
  margin-right: 10px;
  outline: none;
  transition: border 0.17s;
}
.product-filter select:focus {
  border-color: #2B5940;
}

/* ===== LINKS AND INTERACTION ===== */
a {
  transition: color .19s, border .14s, background .14s;
}
a:hover, a:focus {
  color: #397959;
  text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
  background: #E9E3D2;
  padding: 40px 0 24px 0;
  border-radius: 36px 0 0 0 / 18px 0 0 0;
  margin-top: 50px;
  box-shadow: 0 -2px 30px rgba(42,89,64,0.06);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-menu a {
  color: #254832;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
  border-radius: 12px;
  transition: background .14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #F4F8F5;
  color: #2B5940;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info span, .contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #2B5940;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.social-links a img {
  width: 30px;
  height: 30px;
  transition: transform .14s;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(42,89,64,0.08);
}
.social-links a:hover img, .social-links a:focus img {
  transform: scale(1.11) rotate(-6deg);
  background: #F4F8F5;
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 1500;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(42,89,64,0.10);
  padding: 18px 18px 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 22px 22px 0 0 / 18px 18px 0 0;
  transition: transform .34s cubic-bezier(.78,0,.14,1);
}
.cookie-banner.hidden {
  transform: translateY(130%);
  pointer-events: none;
}
.cookie-banner p {
  color: #254832;
  font-size: 1rem;
  flex: 1;
}
.cookie-banner button {
  margin-left: 12px;
}
.cookie-btn {
  background: var(--color-secondary);
  border: none;
  color: var(--color-dark);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 22px 38px 14px 32px/9px 28px 10px 22px;
  margin-right: 8px;
  cursor: pointer;
  transition: background .18s, color .14s, transform .1s;
  outline: none;
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #397959;
}
.cookie-btn.reject {
  background: #E9E3D2;
  color: var(--color-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #d6ccb7;
}
.cookie-btn.settings {
  background: none;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F4F8F5;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.cookie-modal {
  position: fixed;
  z-index: 1505;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 60%) scale(0.93);
  max-width: 98vw;
  width: 420px;
  background: #fff;
  box-shadow: 0 8px 40px rgba(43,89,64,0.22);
  border-radius: 28px 48px 22px 34px/ 20px 36px 15px 24px;
  padding: 34px 28px 24px 28px;
  opacity: 0;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.73,0,.22,1), opacity .26s;
}
.cookie-modal.open {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px 0;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
}
.cookie-modal .cookie-toggle {
  width: 36px;
  height: 20px;
  background: #E9E3D2;
  border-radius: 16px;
  position: relative;
  border: none;
  cursor: pointer;
  appearance: none;
  outline: none;
  transition: background .17s;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-modal .cookie-toggle::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.11);
  transition: left .14s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 18px;
  background: #fff;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-desc {
  font-size: .97rem;
  color: #254832;
  margin-bottom: 7px;
}

/* ===== RESPONSIVE LAYOUTS ===== */
@media (max-width: 1200px) {
  .container { max-width: 97vw; }
}
@media (max-width: 991px) {
  .container { max-width: 99vw; padding: 0 10px; }
  .footer-menu { gap: 14px; }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 4vw;
  }
  .hero {
    border-radius: 0 0 38px 14px / 0 0 20px 6px;
    padding-bottom: 20px;
  }
  .card-container, .content-grid, .category-grid {
    flex-direction: column;
    gap: 24px;
  }
  .section {
    padding: 30px 6px;
    margin-bottom: 36px;
  }
  .testimonial-card, .card {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 540px) {
  .mobile-menu {
    padding: 0;
  }
  .cookie-modal {
    padding: 20px 6px 16px 8px;
    min-width: 0;
    width: 97vw;
  }
}

/* ===== VISUAL ORGANIC DETAILS ===== */
section, .card, .testimonial-card, .feature-item, .category-grid > div, .cookie-modal, .cookie-banner {
  box-shadow: 0 1.5px 12px 0 rgba(66,101,64,0.035);
  border-radius: 18px 46px 16px 26px/ 11px 26px 9px 18px;
}

.section:nth-child(even), .feature-item:nth-child(even) {
  background: var(--color-light-bg);
}

/* Subtle organic background overlays (if decorative abs elements needed) */
/* If needed, use .organic-bg or .leaf-shape for background decor */

/* ===== TYPOGRAPHY ENHANCEMENTS ===== */
.text-section, .content-wrapper {
  letter-spacing: -0.01em;
}
.content-wrapper h2, .content-wrapper h3 {
  margin-top: 20px;
  margin-bottom: 8px;
}
.content-wrapper ul, .text-section ul {
  padding-left: 0;
  margin-bottom: 12px;
}
.content-wrapper ul li,
.text-section ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #3D5747;
  font-size: 1.04rem;
}
.content-wrapper ul li img {
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 1px;
}

/* ===== BUTTON ANIMATION === */
.cta-btn, .cookie-btn {
  transition: box-shadow .18s, background .22s, color .19s, transform .12s;
}
.cta-btn:active, .cookie-btn:active {
  box-shadow: 0 0 0 2px #88B18D;
  transform: scale(.98);
}

/* ===== FOCUS STATES FOR ACCESSIBILITY ===== */
button:focus, .cta-btn:focus, a:focus {
  outline: 2px solid #88B18D;
  outline-offset: 2px;
  z-index: 10;
}

/* ===== MISC. UTILITIES ===== */
.d-none { display: none !important; }

/* ===== SPECIAL CLASSES ===== */
.order-summary-link a {
  color: #88B18D;
  font-weight: 600;
  font-size: 1.04rem;
}
.order-summary-link a:hover, .order-summary-link a:focus {
  color: #2B5940;
}

/* ===== PRINT STYLES ===== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; }
  .section, .card, .testimonial-card { box-shadow: none; }
}
