:root {
  --ink: #1e2b28;
  --muted: #65706d;
  --line: #dce4df;
  --paper: #fbfcf8;
  --leaf: #2f6b22;
  --leaf-dark: #0f3f25;
  --olive: #7d9217;
  --gold: #c6ad35;
  --sky: #e7f0f4;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(20, 45, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(90deg, rgba(15, 63, 37, 0.92), rgba(91, 118, 21, 0.82));
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  background: linear-gradient(90deg, rgba(15, 63, 37, 0.98), rgba(73, 98, 17, 0.96));
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
  max-width: 62vw;
}

.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(8, 34, 22, 0.24);
}

.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 15px;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 118px clamp(22px, 7vw, 96px) 80px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 47, 38, 0.86), rgba(18, 47, 38, 0.42)),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #1b211f;
}

.button.secondary {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

.button.danger {
  border-color: #b9382f;
  background: #b9382f;
  color: var(--white);
}

.small-button {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 13px;
}

.section {
  padding: 84px clamp(22px, 7vw, 96px);
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(32px, 8vw, 90px);
  background: var(--white);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

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

.company-facts div,
.product-card,
.contact-panel,
.contact-details,
.admin-card,
.login-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.company-facts div {
  padding: 18px;
  box-shadow: none;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.products-section {
  background: var(--sky);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
}

.product-card-clickable {
  cursor: pointer;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.product-card-clickable:hover,
.product-card-clickable:focus {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(20, 45, 35, 0.22);
  outline: none;
}

.product-card-clickable:focus {
  border-color: var(--gold);
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--line);
}

.product-card-body {
  padding: 24px;
}

.product-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.product-card ul {
  margin: 0;
  padding-left: 20px;
}

.product-card li + li {
  margin-top: 8px;
}

.card-action {
  display: inline-flex;
  margin-top: 18px;
  color: var(--leaf);
  font-weight: 800;
}

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 30, 21, 0.72);
}

.product-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(300px, 1.1fr);
  width: min(920px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.product-modal-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  background: var(--line);
}

.product-modal-content {
  padding: clamp(24px, 4vw, 42px);
}

.product-modal-content h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.modal-product-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding-left: 22px;
}

.modal-product-list li {
  font-weight: 700;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(15, 63, 37, 0.92);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  color: var(--white);
  background: var(--leaf-dark);
}

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

.promise-list span {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(260px, 0.8fr);
  gap: 22px;
  background: var(--white);
}

.contact-panel,
.contact-details,
.admin-card,
.login-box {
  padding: clamp(22px, 4vw, 36px);
}

.contact-form,
.login-box form,
.admin-card {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.hours {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hours h4 {
  margin: 0 0 8px;
}

.hours p {
  margin: 4px 0;
}

.site-footer {
  color: rgba(255, 255, 255, 0.86);
  background: #132b25;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 1fr));
  gap: 34px;
  padding: 58px clamp(22px, 7vw, 96px) 40px;
}

.footer-logo {
  color: var(--white);
  max-width: 100%;
}

.footer-brand p {
  max-width: 470px;
  margin: 18px 0 0;
}

.footer-reg {
  color: var(--gold);
  font-weight: 800;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 17px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a,
.site-footer address a,
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover,
.site-footer address a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

.footer-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer address {
  font-style: normal;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(22px, 7vw, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
  margin: 0;
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(198, 173, 53, 0.18), transparent 28rem),
    linear-gradient(135deg, #eef4f1 0%, #f8fbf8 48%, #e7f0f4 100%);
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 46px;
}

.login-box {
  max-width: 500px;
  margin: 10vh auto;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.login-brand h1 {
  font-size: clamp(28px, 4vw, 40px);
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(220, 228, 223, 0.9);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 63, 37, 0.96), rgba(47, 107, 34, 0.9)),
    url("https://images.unsplash.com/photo-1523741543316-beb7fc7023d8?auto=format&fit=crop&w=1400&q=80") center/cover;
  box-shadow: var(--shadow);
}

.admin-top .section-kicker {
  color: var(--gold);
}

.admin-top h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.admin-subtitle {
  max-width: 640px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.admin-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.notice {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid rgba(47, 107, 34, 0.18);
  border-radius: 8px;
  color: var(--leaf-dark);
  background: rgba(47, 107, 34, 0.09);
  font-weight: 800;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.admin-stats article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(20, 45, 35, 0.08);
}

.admin-stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-stats strong {
  display: block;
  margin-top: 6px;
  color: var(--leaf-dark);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

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

.admin-card.wide,
.submissions {
  grid-column: 1 / -1;
}

.admin-card {
  overflow: hidden;
}

.admin-section-head,
.category-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-section-head h2,
.category-row-top h3 {
  margin: 0;
}

.category-editor {
  display: grid;
  gap: 18px;
}

.category-row {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf8;
}

.admin-image-preview {
  width: min(260px, 100%);
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: var(--line);
}

.small {
  color: var(--muted);
  font-size: 13px;
}

.alert {
  color: #9d281e;
  font-weight: 800;
}

.count-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(47, 107, 34, 0.18);
  border-radius: 999px;
  color: var(--leaf-dark);
  background: rgba(47, 107, 34, 0.08);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--leaf-dark);
  background: #f3f8f4;
  font-size: 13px;
  text-transform: uppercase;
}

tbody tr:hover {
  background: rgba(231, 240, 244, 0.56);
}

td form {
  margin: 0;
}

@media (max-width: 920px) {
  .product-grid,
  .split,
  .promise,
  .contact-section,
  .admin-grid,
  .admin-stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .product-modal-panel {
    grid-template-columns: 1fr;
  }

  .product-modal-image {
    min-height: 260px;
    max-height: 320px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--leaf-dark), #536c14);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 88vh;
    padding: 104px 20px 56px;
  }

  h1 {
    font-size: 38px;
  }

  .section {
    padding: 58px 20px;
  }

  .product-grid,
  .company-facts,
  .promise-list {
    grid-template-columns: 1fr;
  }

  .product-modal {
    padding: 14px;
  }

  .admin-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-top nav {
    width: 100%;
  }

  .admin-top nav .button {
    flex: 1;
  }

  .admin-section-head,
  .category-row-top {
    flex-direction: column;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

#dev{

  color: #278013;

}
