@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap");

:root {
  --green: #10533e;
  --ink: #163d31;
  --lime: #d5ee86;
  --paper: #f4f7f5;
  --line: #dce5df;
  --muted: #66776e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 "DM Sans", "Noto Sans Devanagari", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #e5a926;
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

header {
  height: 88px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  gap: 20px;
}

.announcement {
  display: flex;
  align-items: center;
  background: var(--green);
  color: #fff;
  padding: 8px 16px;
  gap: 12px;
  font-size: 14px;
}

.announcement-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.announcement-track {
  display: flex;
  width: max-content;
  animation: announcement-scroll 32s linear infinite;
}

.announcement-group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  flex-shrink: 0;
  white-space: nowrap;
}

.announcement strong {
  font-weight: 700;
}

.announcement-group > span {
  color: var(--lime);
}

.announcement-pause {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #ffffff60;
  border-radius: 5px;
  font-size: 14px;
}

.announcement:hover .announcement-track,
.announcement:focus-within .announcement-track,
.announcement.paused .announcement-track {
  animation-play-state: paused;
}

@keyframes announcement-scroll {
  to {
    transform: translateX(-50%);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  width: 150px;
  height: 44px;
}

.brand-stat {
  border-left: 1px solid #bacbc1;
  padding-left: 22px;
  line-height: 1.3;
  white-space: nowrap;
}

.brand-stat strong {
  display: block;
  font-size: 21px;
  font-weight: 700;
}

.brand-stat small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .announcement-track {
    animation: none;
    width: auto;
  }
  .announcement-group {
    white-space: normal;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0;
  }
  .announcement-group strong {
    width: 100%;
    text-align: center;
  }
  .announcement-group > span,
  .announcement-group[aria-hidden],
  .announcement-pause {
    display: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.lang {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 13px;
}

.topnotice {
  background: #eaf1df;
  color: #486038;
  padding: 7px 4vw;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

.stepbar {
  max-width: 1320px;
  margin: 26px auto 0;
  display: flex;
  padding: 0 24px;
  gap: 0;
}

.step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #849089;
  font-size: 14px;
  border-bottom: 2px solid var(--line);
  padding: 0 0 17px;
}

.step span {
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.step.active {
  color: var(--green);
  border-color: var(--green);
  font-weight: 700;
}

.step.active span {
  background: var(--green);
  color: #fff;
}

.wrap {
  max-width: 1320px;
  margin: 30px auto 70px;
  padding: 0 24px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: #69846e;
}

.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

h1 {
  font-size: 34px;
  line-height: 1.4;
  letter-spacing: -1px;
  margin: 4px 0 7px;
}

h2 {
  font-size: 22px;
  margin: 0 0 18px;
  line-height: 1.5;
}

h3 {
  font-size: 17px;
  margin: 0;
}

p {
  margin: 8px 0;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #d1decb;
  background: #f3f8e9;
  padding: 8px 13px;
  border-radius: 100px;
  font-size: 13px;
  white-space: nowrap;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.layout > main,
.layout > .project-sidebar {
  min-width: 0;
  max-width: 100%;
}

.panel {
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 20px;
}

.sectiontitle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.sectiontitle h2 {
  margin: 0;
}

.number {
  font-size: 13px;
  background: #edf3ee;
  color: var(--green);
  width: 29px;
  height: 29px;
  border-radius: 7px;
  display: grid;
  place-items: center;
}

.productgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.product {
  position: relative;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 16px;
  min-height: 126px;
  background: #fff;
  transition: 0.2s;
}

.product:hover {
  border-color: #7c9e85;
  transform: translateY(-2px);
}

.product.selected {
  border: 2px solid var(--green);
  background: #f0f6ee;
  padding: 15px;
}

.product .icon {
  width: 36px;
  height: 28px;
  display: block;
  color: #789184;
  margin-bottom: 12px;
}

.product strong {
  display: block;
  font-size: 15px;
}

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

.tick {
  position: absolute;
  right: 12px;
  top: 11px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  height: 19px;
  width: 19px;
  text-align: center;
  font-size: 12px;
}

.row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.fieldgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

select,
input {
  width: 100%;
  border: 1px solid #cad8cf;
  border-radius: 8px;
  padding: 12px;
  background: white;
  color: var(--ink);
  min-height: 49px;
}

.field small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}

.choices {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.choice {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
}

.choice.on {
  background: #eef5e9;
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
  font-weight: 600;
}

.area {
  padding: 13px 18px;
  background: #f2f6f2;
  border-radius: 8px;
  margin-top: 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.area strong {
  font-size: 23px;
}

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

.summary {
  position: sticky;
  top: 20px;
  background: var(--green);
  color: #fff;
  border-radius: 15px;
  overflow: hidden;
}

.summary .inner {
  padding: 25px;
}

.summary h2 {
  font-size: 19px;
}

.summary p {
  color: #c5d6cb;
  font-size: 14px;
}

.diagram {
  background: #194e3d;
  padding: 18px;
  text-align: center;
  border-radius: 9px;
  margin-bottom: 20px;
}

.diagram svg {
  width: 100%;
  height: 125px;
}

.summary dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  font-size: 14px;
}

.summary dt {
  color: #bad1c3;
}

.summary dd {
  margin: 0;
  text-align: right;
  max-width: 170px;
}

.summary .total {
  border-top: 1px solid #47725e;
  padding-top: 17px;
  margin-top: 20px;
}

.primary {
  display: block;
  width: 100%;
  padding: 15px 17px;
  border-radius: 8px;
  background: var(--lime);
  color: #173b2a;
  font-weight: 700;
  text-align: center;
}

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

.secondary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 17px;
  font-weight: 600;
  display: inline-block;
}

.summary .footer {
  padding: 16px 25px;
  background: #0c4433;
  font-size: 13px;
  color: #c6d8ce;
  display: flex;
  gap: 10px;
}

.helpbox {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 17px;
}

.helpbox p {
  font-size: 14px;
}

.helpbox a {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-top: 12px;
}

.brands {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.brandrow {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  margin: 16px 0;
}

.brandrow span {
  font-size: 19px;
  font-weight: 700;
  color: #526d5e;
}

.brandlabel {
  font-size: 12px;
  font-weight: 600;
  color: #7a887f;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer {
  background: #eaf0eb;
  padding: 28px 4vw;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #65786a;
}

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

.note {
  background: #fff8df;
  border: 1px solid #eadb9d;
  border-radius: 9px;
  padding: 13px 16px;
  color: #74622f;
  font-size: 14px;
  margin: 16px 0;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 0;
  font-size: 15px;
}

.check input {
  width: 20px;
  min-height: 20px;
  margin-top: 3px;
}

.option {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 17px;
  margin: 12px 0;
}

.option.selected {
  border-color: var(--green);
  background: #f1f7ed;
}

.option p {
  font-size: 14px;
}

.spread {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

th {
  text-align: left;
  color: #6c7e71;
  font-size: 12px;
  background: #f2f6f3;
}

th,
td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
}

td small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.tablewrap {
  overflow: auto;
}

.tag {
  background: #edf4e8;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 12px;
  color: #49673c;
}

.team {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  margin-bottom: 12px;
}

.avatar {
  height: 46px;
  width: 46px;
  background: #e4eedc;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.timeline {
  list-style: none;
  padding: 0;
}

.timeline li {
  padding: 0 0 30px 38px;
  position: relative;
  border-left: 2px solid #dae5dc;
  margin-left: 12px;
}

.timeline li:before {
  content: "";
  position: absolute;
  left: -9px;
  top: 5px;
  width: 16px;
  height: 16px;
  border: 3px solid white;
  background: #d6dfd8;
  border-radius: 50%;
}

.timeline li.done:before {
  background: var(--green);
}

.timeline p {
  font-size: 14px;
}

.empty {
  padding: 40px 20px;
  text-align: center;
}

.empty h2 {
  margin: 10px 0;
}

.qty {
  width: 80px;
  min-height: 38px;
  padding: 5px 10px;
}

.accountgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.accounttile {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
  background: white;
}

dialog {
  border: 0;
  border-radius: 16px;
  width: 460px;
  max-width: calc(100% - 28px);
  padding: 30px;
  color: var(--ink);
  box-shadow: 0 30px 80px #0003;
}

dialog::backdrop {
  background: #0d2b24aa;
  backdrop-filter: blur(3px);
}

dialog .field {
  margin: 14px 0;
}

.close {
  float: right;
  font-size: 24px;
}

#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #163d31;
  color: white;
  padding: 12px 22px;
  border-radius: 9px;
  max-width: 90%;
  z-index: 10;
  display: none;
}

.preview {
  font-size: 12px;
  color: #745e21;
}

.footerbuttons {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}

.footerbuttons .primary {
  width: auto;
  min-width: 200px;
}

.smalllink {
  text-decoration: underline;
  font-size: 14px;
}

.supportfloat {
  display: none;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

progress {
  width: 100%;
  accent-color: var(--green);
}

@media (max-width: 1000px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 18px;
  }

  .nav {
    gap: 14px;
  }

  .nav .desktop {
    display: none;
  }

  .panel {
    padding: 20px;
  }

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

  .step {
    font-size: 12px;
  }
}

@media (max-width: 740px) {
  header {
    height: 73px;
    padding: 0 18px;
  }

  header {
    height: auto;
    min-height: 73px;
    flex-wrap: wrap;
    padding: 12px 18px;
    gap: 12px;
  }

  .brand {
    gap: 12px;
  }
  .logo img {
    width: 112px;
    height: auto;
  }
  .brand-stat {
    padding-left: 12px;
  }
  .brand-stat strong {
    font-size: 17px;
  }
  .brand-stat small {
    font-size: 10px;
  }
  .announcement {
    font-size: 13px;
  }

  .nav {
    gap: 8px;
  }

  .nav .accountlabel {
    display: none;
  }

  .topnotice {
    padding: 7px 18px;
  }

  .topnotice span:last-child {
    display: none;
  }

  .stepbar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    padding: 0 12px;
    margin-top: 20px;
  }

  .step {
    min-width: 0;
    flex-direction: column;
    gap: 6px;
    padding: 0 3px 10px;
    text-align: center;
    font-size: 10px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .wrap {
    padding: 0 16px;
    margin-top: 22px;
  }

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

  .summary {
    position: static;
  }

  .heading h1 {
    font-size: 28px;
  }

  .heading .pill {
    display: none;
  }

  .panel {
    padding: 19px;
  }

  .productgrid {
    gap: 10px;
  }

  .product strong {
    font-size: 14px;
  }

  .fieldgrid {
    gap: 12px;
  }

  .choices {
    gap: 8px;
  }

  .choice {
    padding: 11px 13px;
    font-size: 14px;
  }

  .area {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }

  .area strong {
    font-size: 21px;
  }

  .brands {
    margin-top: 25px;
  }

  .brandrow {
    gap: 17px;
  }

  .brandrow span {
    font-size: 17px;
  }

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

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

  .footerbuttons .primary {
    min-width: 0;
  }

  .topnotice {
    font-size: 11px;
  }

  footer {
    padding: 24px 18px;
    flex-direction: column;
    gap: 8px;
  }

  .supportfloat {
    display: block;
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: var(--green);
    color: white;
    padding: 11px 17px;
    border-radius: 30px;
    box-shadow: 0 5px 20px #0002;
    z-index: 2;
  }

  h2 {
    font-size: 20px;
  }

  .spread {
    align-items: start;
  }

  .lang {
    padding: 6px 9px;
    font-size: 13px;
  }
}

@media (max-width: 740px) {
  .layout[style] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .panel.spread {
    flex-direction: column;
  }

  .summary {
    margin-top: 0;
  }
}

.product-photo {
  display: block;
  width: 100%;
  height: 104px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.product .tick {
  z-index: 1;
}

.item-photo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e8eee9;
  border-radius: 7px;
  flex-shrink: 0;
}

.material-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

@media (min-width: 1001px) {
  header {
    height: 68px;
  }

  .stepbar {
    margin-top: 16px;
  }

  .step {
    padding-bottom: 11px;
  }

  .wrap {
    max-width: 1390px;
    margin-top: 18px;
  }

  .heading {
    margin-bottom: 15px;
  }

  h1 {
    font-size: 29px;
    margin: 0 0 3px;
  }

  .heading p {
    margin: 3px 0;
  }

  .panel {
    padding: 19px;
    margin-bottom: 14px;
  }

  .sectiontitle {
    margin-bottom: 13px;
  }

  h2 {
    font-size: 20px;
  }

  .layout {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 310px;
  }

  .product {
    padding: 10px;
    min-height: 0;
  }

  .product.selected {
    padding: 9px;
  }

  .productgrid {
    gap: 10px;
  }

  .product strong {
    font-size: 15px;
  }

  .product small {
    font-size: 12px;
  }

  .summary .inner {
    padding: 20px;
  }

  .summary dl {
    gap: 8px;
  }

  .summary .diagram {
    display: none;
  }

  .summary .total {
    margin-top: 12px;
    padding-top: 12px;
  }

  .helpbox {
    padding: 16px;
    margin-top: 12px;
  }

  .choice {
    padding: 9px 15px;
  }

  select,
  input {
    padding: 9px 12px;
    min-height: 44px;
  }

  .area {
    margin-top: 12px;
    padding: 9px 14px;
  }

  th,
  td {
    padding: 9px 10px;
  }

  .topnotice {
    padding-top: 4px;
    padding-bottom: 4px;
  }
}

@media (max-width: 740px) {
  .product {
    padding: 10px;
  }

  .product.selected {
    padding: 9px;
  }

  .product-photo {
    height: 95px;
  }

  .item-photo {
    width: 60px;
    height: 60px;
  }
}
.account-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f0f6ee;
  color: var(--green);
}
.account-button svg {
  width: 29px;
  height: 29px;
}
.account-button:hover {
  background: #e3eedb;
  border-color: var(--green);
}
.area {
  justify-content: flex-start;
  gap: 18px;
}
.area-photo {
  width: 132px;
  height: 88px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
}
.area-details {
  min-width: 0;
}
.area-details > span {
  display: block;
  font-size: 14px;
}
.thickness-choices {
  align-items: stretch;
}
.thickness-choice {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: 130px;
}
.thickness-note {
  font-size: 13px;
  line-height: 1.7;
  margin: 14px 0 0;
}
.photo-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.photo-choice {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  overflow: hidden;
}
.photo-choice:hover {
  border-color: var(--green);
}
.photo-choice.on {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
  background: #f0f6ee;
}
.photo-choice img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}
.photo-choice img.soil-photo {
  object-fit: cover;
}
.photo-choice-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 3px 3px;
  font-size: 14px;
  font-weight: 600;
}
.selection-mark {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.on .selection-mark {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.irrigation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.irrigation-option {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.irrigation-option.selected {
  border-color: var(--green);
  background: #f7faf3;
}
.irrigation-option > img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: white;
  border-radius: 6px;
  margin-bottom: 12px;
}
.irrigation-option h3 {
  margin-bottom: 10px;
}
.irrigation-option .choices {
  gap: 7px;
}
.irrigation-option .choice {
  padding: 8px 11px;
  font-size: 13px;
}
@media (max-width: 740px) {
  .area {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .area-photo {
    width: 90px;
    height: 80px;
  }
  .area-details small {
    display: block;
  }
  .photo-choices {
    gap: 8px;
  }
  .photo-choice {
    padding: 6px;
  }
  .photo-choice img {
    height: 90px;
  }
  .photo-choice-label {
    font-size: 12px;
    align-items: flex-start;
  }
}
@media (max-width: 420px) {
  .irrigation-grid {
    grid-template-columns: 1fr;
  }
  .photo-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.wholesale-hero {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  padding: 16px 22px;
  border-radius: 12px;
  background: linear-gradient(105deg, #0c4938, #17634c);
  color: white;
}
.wholesale-hero span {
  color: var(--lime);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wholesale-hero strong {
  font-size: 23px;
}
.wholesale-hero small {
  margin-left: auto;
  color: #d4e4da;
}
.project-sidebar {
  position: sticky;
  top: 18px;
  align-self: start;
}
.project-sidebar .summary {
  position: static;
}
.wholesale-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: #153a2b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.market-watch {
  margin-top: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.market-card {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.market-card svg {
  display: block;
  width: 100%;
  height: 118px;
  margin-top: 6px;
  overflow: visible;
}
.market-card a {
  font-size: 11px;
  text-decoration: underline;
  color: var(--green);
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: -8px;
  color: var(--muted);
  font-size: 10px;
}
.market-watch > p {
  font-size: 11px;
  line-height: 1.45;
  margin: 14px 0 0;
}

.team {
  display: grid;
  grid-template-columns: 112px 1fr;
  padding: 0;
  overflow: hidden;
}
.team-photo {
  min-height: 178px;
  background-image: url("./assets/team-leaders.png");
  background-size: 500% 100%;
  background-position: calc(var(--photo) * 25%) center;
  background-repeat: no-repeat;
}
.team-body {
  padding: 18px;
  min-width: 0;
}
.team-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.team-facts span {
  padding: 5px 8px;
  border-radius: 5px;
  background: #edf4ee;
  color: #456153;
  font-size: 12px;
}
.team-book {
  width: auto;
  padding: 10px 14px;
}
.team-busy {
  opacity: 0.72;
  background: #f3f4f3;
}
.busy-badge {
  padding: 7px 10px;
  border-radius: 5px;
  background: #e7e9e7;
  color: #59635d;
  font-size: 12px;
  font-weight: 700;
}
.team-payment-note {
  border-color: #b8d8c1;
  background: #edf7ed;
  color: #355b3f;
}

.billing-summary td:last-child {
  text-align: right;
  font-weight: 700;
}
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.payment-option {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.payment-option .primary,
.payment-option .secondary {
  margin-top: auto;
}
.payment-step {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 700;
}
.bank-only {
  padding: 12px;
  border: 1px solid #bfd1c6;
  border-radius: 8px;
  background: #f2f7f3;
  font-weight: 700;
}
.receipt-upload {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.upload-box {
  display: grid;
  place-items: center;
  min-width: 190px;
  min-height: 90px;
  padding: 14px;
  border: 2px dashed #a8c0b1;
  border-radius: 10px;
  background: #f6faf7;
  text-align: center;
  cursor: pointer;
}
.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.upload-box span {
  font-weight: 700;
  color: var(--green);
}

.site-footer {
  display: block;
  padding: 0;
  background: #0b382c;
  color: #dce9e1;
}
.site-footer p {
  color: #bcd0c4;
  font-size: 13px;
  line-height: 1.6;
}
.footer-promise {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 4vw;
  background: var(--lime);
  color: #153b2c;
}
.footer-promise strong {
  font-size: 23px;
  text-transform: capitalize;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.5fr 1fr 1fr;
  gap: 34px;
  padding: 42px 4vw;
}
.footer-grid > div > strong {
  display: block;
  margin-bottom: 14px;
  color: white;
}
.footer-grid > div > a {
  display: block;
  margin: 7px 0;
  color: #c7dbcf;
}
.footer-grid img {
  filter: brightness(0) invert(1);
}
.footer-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 20px 4vw;
  border-top: 1px solid #ffffff20;
  border-bottom: 1px solid #ffffff20;
}
.footer-brands span {
  width: 100%;
  color: #91ad9d;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-brands b {
  color: white;
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4vw;
  color: #9eb7a8;
  font-size: 12px;
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 740px) {
  .project-sidebar {
    position: static;
  }
  .wholesale-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .wholesale-hero small {
    margin: 3px 0 0;
  }
  .payment-grid {
    grid-template-columns: 1fr;
  }
  .receipt-upload {
    align-items: stretch;
    flex-direction: column;
  }
  .team {
    grid-template-columns: 92px 1fr;
  }
  .team-photo {
    min-height: 220px;
  }
  .team-body .spread {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-promise,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

/* Mobile banners use the requested 3840 × 1000 composition. */
.mobile-promotions {
  display: none;
}
@media (max-width: 740px) {
  .mobile-promotions {
    display: block;
    margin: 14px 16px 0;
  }
  .promotion-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 10px;
    background: #0a3428;
    overscroll-behavior-x: contain;
  }
  .promotion-track::-webkit-scrollbar {
    display: none;
  }
  .promotion-track:focus-visible {
    outline: 3px solid #e5a926;
    outline-offset: 3px;
  }
  .promotion-slide {
    flex: 0 0 100%;
    min-width: 0;
    aspect-ratio: 3840 / 1000;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    isolation: isolate;
    color: white;
    background: #0a3428;
  }
  .promotion-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      #092e25 0%,
      #0b382cee 48%,
      #0b382c80 71%,
      #0b382c00 100%
    );
    z-index: -1;
  }
  .promotion-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 53%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
  }
  .promotion-copy {
    position: absolute;
    inset: 10% auto 10% 4.5%;
    width: 72%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
  .promotion-eyebrow {
    font-size: clamp(6px, 1.65vw, 12px);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lime);
    font-weight: 700;
  }
  .promotion-copy h2 {
    font-size: clamp(12px, 3.6vw, 25px);
    line-height: 1.16;
    letter-spacing: -0.025em;
    margin: 0;
    max-width: 95%;
  }
  .promotion-copy p {
    font-size: clamp(8px, 2.15vw, 15px);
    line-height: 1.25;
    margin: 0;
    color: #e4f1cc;
    font-weight: 600;
  }
  .promotion-number {
    position: absolute;
    bottom: 7%;
    right: 3%;
    color: #ffffffb0;
    font-size: clamp(12px, 4vw, 26px);
    line-height: 1;
    font-weight: 700;
  }
  .promotion-spotlight::after {
    background: linear-gradient(
      90deg,
      #101e35 0%,
      #101e35ed 50%,
      #101e3520 100%
    );
  }
  .promotion-spotlight .promotion-eyebrow {
    color: #eed3a0;
  }
  .promotion-quality::after {
    background: linear-gradient(
      90deg,
      #183d31 0%,
      #183d31f5 53%,
      #183d3110 100%
    );
  }
  .promotion-quality .promotion-image {
    object-fit: contain;
    background: #f0f1e9;
  }
  .promotion-complete .promotion-copy h2 {
    font-size: clamp(11px, 3.15vw, 22px);
  }
  .promotion-design::after {
    background: linear-gradient(
      90deg,
      #122f3b 0%,
      #122f3bee 50%,
      #122f3b20 100%
    );
  }
  .promotion-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 3px;
  }
  .promotion-count {
    font-size: 11px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
  }
  .promotion-dots {
    display: flex;
    align-items: center;
  }
  .promotion-dots button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 32px;
    padding: 0;
  }
  .promotion-dots button::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 10px;
    background: #becdc3;
  }
  .promotion-dots button[aria-current="true"]::after {
    width: 20px;
    background: var(--green);
  }
  .promotion-toggle {
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 13px;
  }
  .mobile-promotions + .stepbar {
    margin-top: 8px;
  }
}

/* Configuration banner and preferred structure. */
.wholesale-hero {
  max-width: 1272px;
  margin: 20px auto;
}
.preferred-ribbon {
  position: absolute;
  top: 8px;
  left: 0;
  z-index: 1;
  padding: 5px 9px;
  border-radius: 0 5px 5px 0;
  background: #e9be55;
  color: #183e2b;
  font-size: 11px;
  font-weight: 700;
}
@media (min-width: 741px) and (max-width: 1320px) {
  .wholesale-hero {
    margin-left: 24px;
    margin-right: 24px;
  }
}
@media (max-width: 740px) {
  .wholesale-hero {
    display: none;
  }
}

@media (max-width: 740px) {
  .irrigation-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared presentation for farm option cards. */
.photo-choices,
.irrigation-grid {
  gap: 12px;
  align-items: stretch;
}
.farm-option {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: #fff;
  text-align: left;
}
.farm-option.on,
.farm-option.selected {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
  background: #f0f6ee;
}
.farm-option > .farm-option-image {
  display: block;
  width: 100%;
  height: 120px;
  margin: 0 0 12px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}
.farm-option .photo-choice-label {
  padding: 0;
  margin: 0;
  align-items: flex-start;
}
.farm-option .farm-option-title {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.farm-option .farm-option-description {
  display: block;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.farm-option .choices {
  margin-top: auto;
  padding-top: 14px;
}
.option-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
@media (max-width: 740px) {
  .photo-choices,
  .irrigation-grid {
    gap: 8px;
  }
  .farm-option {
    padding: 10px;
  }
  .farm-option > .farm-option-image {
    height: 100px;
  }
}

.stepbar .step {
  cursor: default;
}
.footerbuttons > .primary:only-child {
  margin-left: auto;
}
.navigation-panel .footerbuttons {
  margin-top: 0;
}

/* Personal support and weekly market charts. */
.helpbox {
  background: linear-gradient(135deg, #f2f7ed, #fff);
  padding: 20px;
}
.help-intro {
  display: flex;
  align-items: center;
  gap: 12px;
}
.help-intro .eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
}
.help-intro h3 {
  font-size: 17px;
  margin-top: 4px;
}
.help-portrait {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 10px #173b2420;
  background-image: url("./assets/team-leaders.png");
  background-size: 500% auto;
  background-position: 25% 28%;
}
.helpbox p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 14px;
}
.helpbox a {
  color: var(--green);
  text-decoration: none;
}
.help-hours {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.help-video {
  width: 100%;
  margin-top: 17px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
}
.market-watch {
  background: #10251c;
  border-color: #294035;
  color: #e7f1eb;
  padding: 17px;
}
.market-watch .eyebrow {
  color: #b3c9ba;
  font-size: 10px;
  letter-spacing: 1px;
}
.market-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.market-heading > strong {
  font-size: 13px;
}
.market-demo {
  color: #e5be73;
  border: 1px solid #665939;
  padding: 3px 5px;
  border-radius: 4px;
  font-size: 9px;
}
.market-card {
  border-color: #294035;
  margin-top: 17px;
  padding-top: 17px;
}
.market-symbol,
.market-quote,
.market-range,
.market-card svg text {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.market-symbol {
  font-size: 9px;
  color: #91aa9d;
  white-space: nowrap;
}
.market-card .market-affects {
  color: #a3bcad;
  font-size: 11px;
  margin: 5px 0 12px;
}
.market-quote {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.market-quote > strong {
  font-size: 26px;
  letter-spacing: -1px;
}
.market-quote small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}
.market-quote > span {
  font-size: 12px;
}
.market-up {
  color: #63dba7;
}
.market-down {
  color: #ff9890;
}
.market-card svg {
  width: 100%;
  height: auto;
  margin-top: 8px;
}
.market-legend {
  display: flex;
  gap: 16px;
  color: #a3bcad;
  font-size: 10px;
}
.market-legend span::before {
  content: "";
  display: inline-block;
  width: 13px;
  border-top: 2px solid var(--series-color);
  margin-right: 5px;
  vertical-align: middle;
}
.market-legend .average::before {
  border-top: 2px dashed #e5be73;
}
.market-range {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid #294035;
  color: #91aa9d;
  font-size: 9px;
}
.market-range b {
  color: #d4e5da;
  font-weight: 500;
}
.market-watch > p {
  color: #91aa9d;
  font-size: 10px;
}

.materials-table {
  min-width: 720px;
}
.materials-table th:not(:first-child),
.materials-table td:not(:first-child) {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.materials-table td {
  vertical-align: top;
}
.materials-table .material-cell {
  min-width: 310px;
  align-items: flex-start;
}
.material-spec {
  margin-top: 4px;
}
.material-description {
  margin: 7px 0 10px;
  font-size: 12px;
  line-height: 1.6;
}
.material-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.material-tags .tag {
  display: inline-flex;
  font-size: 10px;
  line-height: 1.5;
}
.material-reason {
  flex-basis: auto;
}
.material-hsn {
  background: #eef1f4;
  color: #53616b;
}
.isi-logo {
  width: 32px;
  height: 28px;
  object-fit: contain;
}

@media (max-width: 740px) {
  .project-sidebar {
    width: 100%;
  }
  .project-sidebar .summary .inner {
    padding: 20px;
  }
  .project-sidebar .summary dl {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .project-sidebar .summary dt,
  .project-sidebar .summary dd {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .project-sidebar .help-intro > div:last-child {
    min-width: 0;
  }
  .project-sidebar .market-heading {
    flex-wrap: wrap;
  }
}

/* Stack each material into a readable mobile card. */
@media (max-width: 740px) {
  .materials-table {
    min-width: 0;
    width: 100%;
  }
  .materials-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .materials-table tbody {
    display: block;
  }
  .materials-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-top: 14px;
    padding: 12px;
    gap: 12px;
  }
  .materials-table td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    overflow-wrap: anywhere;
  }
  .materials-table td:first-child {
    grid-column: 1 / -1;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .materials-table td:not(:first-child) {
    white-space: normal;
    font-size: 13px;
  }
  .materials-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
  }
  .materials-table .material-cell {
    min-width: 0;
    gap: 10px;
  }
  .materials-table .material-cell > div {
    min-width: 0;
  }
  .materials-table .item-photo {
    width: 48px;
    height: 48px;
  }
  .materials-table .material-tags .tag {
    max-width: 100%;
    white-space: normal;
  }
}

/* Dense materials list, with descriptions available on demand. */
.material-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  font-size: 12px;
}
.material-list-toolbar label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.material-list-toolbar input {
  width: 16px;
  height: 16px;
  margin: 0;
}
.material-preview-caption {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.5;
}
.materials-table th,
.materials-table td {
  padding: 9px 7px;
}
.materials-table .material-cell {
  gap: 9px;
}
.materials-table .item-photo {
  width: 40px;
  height: 40px;
}
.material-name {
  font-size: 12px;
  line-height: 1.4;
}
.material-number {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}
.materials-table .material-spec {
  margin-top: 2px;
  font-size: 11px;
}
.material-details {
  margin: 3px 0;
}
.material-details > summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 11px;
  padding: 2px 0;
}
.material-details .material-description {
  margin: 4px 0;
  font-size: 11px;
}
.material-tags {
  gap: 4px;
}
.material-tags .tag {
  padding: 2px 5px;
  font-size: 9px;
}
@media (max-width: 740px) {
  .materials-panel {
    padding: 12px;
  }
  .materials-table tbody tr {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    margin: 0;
    padding: 10px 0;
    gap: 6px;
  }
  .materials-table td {
    padding: 0;
  }
  .materials-table td:first-child {
    padding-bottom: 0;
    border: 0;
  }
  .materials-table td:not(:first-child) {
    font-size: 11px;
    line-height: 1.4;
  }
  .materials-table td[data-label]::before {
    font-size: 9px;
    margin-bottom: 2px;
  }
  .materials-table .material-cell {
    gap: 8px;
  }
  .materials-table .item-photo {
    width: 32px;
    height: 32px;
  }
  .materials-table .material-cell > div {
    flex: 1;
  }
  .materials-table td small {
    font-size: 10px;
  }
}

.material-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 9px;
}
.material-title-line .material-tags {
  display: inline-flex;
}
.materials-table .material-group-heading th {
  padding: 12px 8px 8px;
  background: #edf4ee;
  color: var(--green);
  font-size: 13px;
  text-align: left;
}
.material-group-heading th > span {
  margin-left: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
@media (max-width: 740px) {
  .materials-table tbody tr.material-group-heading {
    display: block;
    padding: 0;
    margin-top: 12px;
    border: 0;
  }
  .materials-table .material-group-heading th {
    display: block;
    width: 100%;
    padding: 9px 7px;
    white-space: normal;
    border: 0;
    border-radius: 5px;
  }
}

/* Three compact columns: item, quantity with unit, and rate with tax. */
.materials-table {
  min-width: 0;
  table-layout: auto;
}
.materials-table .material-cell {
  min-width: 0;
}
.materials-table th:first-child,
.materials-table td:first-child {
  padding-right: 6px;
}
.materials-table th:not(:first-child),
.materials-table td:not(:first-child) {
  width: 1%;
  padding-left: 6px;
  padding-right: 6px;
}
@media (max-width: 740px) {
  .materials-table tbody tr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .materials-table td:not(:first-child) {
    width: auto;
    padding: 0;
  }
  .materials-table .material-group-heading th {
    width: 100%;
  }
}

.material-quantity,
.material-rate {
  display: block;
}
.material-quantity {
  font-weight: 600;
}
.materials-table .material-unit {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}
.material-line-total {
  display: block;
  margin-top: 3px;
  color: #237544;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Mobile rows use the same three columns as their shared heading. */
@media (max-width: 740px) {
  .materials-table thead {
    display: block;
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
  }
  .materials-table thead tr,
  .materials-table tbody tr:not(.material-group-heading) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.4fr) minmax(0, 0.65fr);
    gap: 6px;
    align-items: start;
  }
  .materials-table thead th {
    display: block;
    width: auto;
    min-width: 0;
    padding: 8px 0;
    border: 0;
    white-space: normal;
    font-size: 9px;
    overflow-wrap: anywhere;
  }
  .materials-table thead tr {
    background: #f2f6f3;
  }
  .materials-table td:first-child {
    grid-column: auto;
    padding: 0;
  }
  .materials-table td[data-label]::before {
    content: none;
    display: none;
  }
  .materials-table th:not(:first-child),
  .materials-table td:not(:first-child) {
    text-align: right;
  }
  .materials-table .material-cell {
    gap: 5px;
  }
  .materials-table .item-photo {
    width: 24px;
    height: 24px;
  }
  .materials-table .material-name {
    font-size: 11px;
  }
  .materials-table .material-spec {
    font-size: 10px;
  }
  .materials-table .material-line-total {
    font-size: 12px;
  }
}

.summary .material-cost-breakdown {
  margin: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.summary .material-cost-breakdown dd {
  max-width: none;
  font-variant-numeric: tabular-nums;
}
.summary .material-grand-total {
  padding-top: 12px;
  border-top: 1px solid #47725e;
  color: var(--lime);
  font-weight: 700;
}
.summary .summary-preview-note {
  margin: 12px 0 0;
  font-size: 10px;
  line-height: 1.5;
}

.summary .material-group-costs {
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #47725e;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.summary .material-group-costs dt {
  color: #fff;
}
.summary .material-group-costs dt small {
  display: block;
  margin-top: 3px;
  color: #bad1c3;
  font-size: 11px;
}
.summary .material-group-costs dd {
  max-width: none;
  font-variant-numeric: tabular-nums;
}

.transport-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-top: 18px;
}
.transport-calculator .field {
  margin: 0;
}
.transport-calculator button {
  width: auto;
  margin: 0;
}
.transport-calculator button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.transport-estimate {
  margin-top: 16px;
  padding: 16px;
  background: #f0f6ee;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.transport-estimate > span,
.transport-estimate small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.transport-estimate > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.transport-estimate .transport-cost {
  margin-left: auto;
  color: var(--green);
  font-size: 22px;
}
.transport-error {
  color: #a32d2d;
}
@media (max-width: 740px) {
  .transport-calculator {
    grid-template-columns: minmax(0, 1fr);
  }
  .transport-calculator button {
    width: 100%;
  }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
}
.service-card.selected {
  border-color: var(--green);
  background: #f0f6ee;
  box-shadow: inset 0 0 0 1px var(--green);
}
.service-card:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.service-card > input {
  position: absolute;
  top: 19px;
  right: 19px;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--green);
}
.service-card > img {
  width: 100%;
  height: 112px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 12px;
}
.service-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
}
.service-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.service-price s {
  color: var(--muted);
  font-size: 13px;
}
.service-price strong {
  color: var(--green);
  font-size: 21px;
}
.service-card > small {
  color: var(--muted);
  margin-top: 4px;
  font-size: 11px;
}
@media (max-width: 740px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card > img {
    height: 120px;
  }
}

.team-title,
.team-pricing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.team-title h3 {
  margin: 0;
}
.team-title .tag {
  white-space: nowrap;
}
.team-pricing > span {
  font-size: 12px;
  color: var(--muted);
}
.team-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0;
}
.team-pagination > span {
  color: var(--muted);
  font-size: 12px;
  margin-right: 8px;
}
.team-pagination button {
  min-width: 40px;
  min-height: 40px;
}
.team-navigation {
  flex-wrap: wrap;
}
.team-navigation > button {
  flex: 1 1 140px;
  width: auto;
}
@media (max-width: 740px) {
  .team {
    grid-template-columns: 68px minmax(0, 1fr);
    margin-bottom: 10px;
  }
  .team-photo {
    min-height: 140px;
  }
  .team-body {
    padding: 10px;
  }
  .team-title {
    gap: 5px;
  }
  .team-title h3 {
    font-size: 13px;
  }
  .team-title .tag,
  .team-location {
    font-size: 10px;
  }
  .team-facts {
    gap: 5px;
    margin: 7px 0;
  }
  .team-facts span {
    padding: 3px 5px;
    font-size: 10px;
  }
  .team-body .spread {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
  }
  .team-pricing {
    gap: 5px;
  }
  .team-pricing strong {
    font-size: 13px;
  }
  .team-pricing > span {
    font-size: 10px;
  }
  .team-book {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 11px;
  }
  .team-navigation {
    gap: 8px;
  }
}

.billing-panel .payment-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.billing-panel .payment-option {
  min-width: 0;
}
.billing-panel .payment-option h2,
.billing-panel .payment-option p {
  margin: 0;
}
.billing-panel .payment-option + .payment-option {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.billing-panel .navigation-panel {
  margin-top: 24px;
}
@media (max-width: 740px) {
  .billing-panel .payment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .billing-panel .payment-option + .payment-option {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* Compact text-only invoice. */
.invoice-receipt {
  color: #243329;
  font-size: 11px;
}
.invoice-receipt .invoice-company {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  padding: 0 0 12px;
  margin: 0;
  height: auto;
  min-height: 0;
  width: 100%;
  max-width: none;
  background: none;
  border: 0;
  border-bottom: 1px solid #bfcac2;
  box-shadow: none;
  position: static;
}
.invoice-company > img {
  width: 110px;
  height: auto;
  flex-shrink: 0;
}
.invoice-company > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.invoice-company strong {
  font-size: 15px;
}
.invoice-company p {
  margin: 3px 0 0;
  font-size: 10px;
  color: inherit;
  line-height: 1.5;
}
.invoice-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0 8px;
}
.invoice-title h2 {
  font-size: 18px;
  margin: 0;
}
.invoice-title > span {
  font-size: 11px;
}
.invoice-preview {
  font-size: 10px;
  margin: 0 0 8px;
}
.invoice-table {
  width: 100%;
  table-layout: fixed;
  border: 1px solid #cbd3cd;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.invoice-col-number {
  width: 7%;
}
.invoice-col-item {
  width: 30%;
}
.invoice-col-hsn {
  width: 12%;
}
.invoice-col-qty {
  width: 8%;
}
.invoice-col-unit {
  width: 10%;
}
.invoice-col-rate {
  width: 16%;
}
.invoice-col-tax {
  width: 17%;
}
.invoice-table th,
.invoice-table td {
  padding: 5px 4px;
  border: 1px solid #dbe1dc;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.invoice-table th {
  color: #243329;
  font-size: 10px;
  background: #f1f3f0;
}
.invoice-table td:nth-child(4),
.invoice-table td:nth-child(6),
.invoice-table td:nth-child(7),
.invoice-table th:nth-child(4),
.invoice-table th:nth-child(6),
.invoice-table th:nth-child(7) {
  text-align: right;
}
.invoice-totals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  max-width: 320px;
  margin: 12px 0 12px auto;
  font-size: 12px;
}
.invoice-totals dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.invoice-grand-total {
  border-top: 1px solid #bfcac2;
  padding-top: 7px;
  font-weight: 700;
}
.invoice-words,
.invoice-email {
  font-size: 11px;
  color: inherit;
  overflow-wrap: anywhere;
}
.invoice-words {
  border-top: 1px solid #bfcac2;
  padding-top: 10px;
}
@media (max-width: 740px) {
  .invoice-receipt .invoice-company {
    gap: 8px;
  }
  .invoice-company > img {
    width: 65px;
  }
  .invoice-company strong {
    font-size: 12px;
  }
  .invoice-company p {
    font-size: 9px;
  }
  .invoice-table {
    font-size: 9px;
  }
  .invoice-table th,
  .invoice-table td {
    padding: 4px 2px;
  }
  .invoice-table th {
    font-size: 8px;
  }
}

.payment-process > h2 {
  margin-bottom: 16px;
}
.payment-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.payment-plan.selected {
  border-color: var(--green);
  background: #f1f7ed;
  box-shadow: inset 0 0 0 1px var(--green);
}
.payment-plan:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.payment-plan input {
  position: absolute;
  top: 20px;
  right: 16px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
}
.payment-plan-title {
  padding-right: 22px;
  font-size: 18px;
  font-weight: 700;
}
.payment-plan-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.payment-plan-foot {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
}
.payment-plan-foot.discount {
  color: var(--green);
  font-weight: 700;
}
.payment-bank {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #f8faf7;
  border-radius: 10px;
}
.payment-bank-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.payment-bank-heading > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.payment-bank dl {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr);
  gap: 12px;
  margin: 18px 0 0;
  font-size: 13px;
}
.payment-bank dt {
  color: var(--muted);
}
.payment-bank dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 600;
}
.payment-bank .bank-number {
  font-family: ui-monospace, monospace;
  letter-spacing: 0.04em;
}
@media (max-width: 740px) {
  .payment-plan,
  .payment-bank {
    padding: 16px;
  }
  .payment-plan-title {
    font-size: 16px;
  }
  .payment-bank dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
  .payment-bank dd {
    margin-bottom: 8px;
  }
}

.payment-amounts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.payment-amount {
  display: block;
  color: var(--green);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.payment-original {
  color: var(--muted);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  text-decoration-thickness: 2px;
}

#configure-login-title {
  margin-top: 16px;
  font-size: 23px;
}
#configure-auth-form .field {
  margin-top: 14px;
}
#configure-auth-form input {
  width: 100%;
}
#configure-otp {
  letter-spacing: 0.5em;
  font-size: 24px;
  text-align: center;
}
.auth-error {
  color: #a32d2d;
  font-size: 13px;
  min-height: 1.4em;
}
.auth-phone {
  font-weight: 600;
}
#configure-auth-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.transport-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.invoice-id {
  font-size: 10px;
  color: inherit;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}
.invoice-id strong {
  font-family: ui-monospace, monospace;
}
.invoice-buyer {
  padding: 10px 0;
  margin-bottom: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.gst-invoice-options {
  margin-bottom: 24px;
}
.gst-invoice-options .fieldgrid {
  margin-top: 14px;
}

.booking-payment {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f1f7ed;
}
.booking-payment .payment-amount {
  font-size: 44px;
  margin-bottom: 10px;
}
.booking-payment > button {
  margin-top: 18px;
}
#booking-payment-status:empty {
  display: none;
}
#booking-payment-status {
  font-size: 12px;
}
.my-transactions {
  margin-top: 24px;
}
.transaction-card {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.transaction-card .spread {
  flex-wrap: wrap;
  gap: 10px;
}
.transaction-card .invoice-id {
  margin-top: 10px;
}
.transaction-card details > summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 600;
}
.transaction-amounts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  font-size: 13px;
}
.transaction-amounts dd {
  margin: 0;
  text-align: right;
}

.account-menu,
.account-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  overscroll-behavior-x: contain;
}
.account-menu .choice,
.account-filters .choice {
  flex-shrink: 0;
  white-space: nowrap;
}
.account-local-note {
  font-size: 11px;
  margin-bottom: 16px;
}
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.order-actions button {
  font-size: 12px;
  padding: 9px 12px;
}
.order-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.order-team-notice {
  padding: 10px;
  border-radius: 6px;
  background: #f1f5ef;
  font-size: 13px;
}
.order-tracking {
  padding-left: 24px;
}
.order-tracking li {
  padding: 10px;
  color: #849089;
  border-left: 2px solid var(--line);
}
.order-tracking li.reached {
  color: var(--green);
  border-color: var(--green);
  font-weight: 600;
}
.account-empty {
  padding: 24px 0;
}
@media (max-width: 740px) {
  .order-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .order-actions button {
    padding: 8px;
  }
}

.order-team-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f7f0;
}
.order-team-card .team-photo {
  min-height: 120px;
  border-radius: 6px;
}
.order-team-card p {
  font-size: 12px;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
@media (max-width: 740px) {
  .order-team-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }
  .order-team-card > div > strong {
    font-size: 13px;
  }
}

.project-terms {
  margin: 0;
  padding-left: 18px;
}
.project-terms li {
  padding: 10px 0;
  border-bottom: 1px solid #47725e;
}
.project-terms li:first-child {
  padding-top: 0;
}
.project-terms li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.project-terms strong {
  font-size: 14px;
}
.project-terms p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.7;
}
.account-orders-panel {
  background: #f6f8f5;
}
.account-orders-panel .transaction-card {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #d4dfd4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px #16392508;
}
.account-orders-panel .transaction-card > .spread {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 740px) {
  .account-orders-panel {
    padding: 12px;
  }
  .account-orders-panel .transaction-card {
    padding: 14px;
    margin-top: 14px;
  }
}

.account-orders-panel .dispatch-ready-card {
  border-color: #80a77c;
}
.dispatch-ribbon {
  display: inline-block;
  background: #246b42;
  color: #fff;
  padding: 6px 12px;
  border-radius: 0 5px 5px 0;
  margin: -4px 0 16px -20px;
  font-size: 12px;
  font-weight: 700;
}
.dispatch-payment {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f8f2;
}
.dispatch-payment > summary {
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
}
.dispatch-proof {
  margin-top: 18px;
}
.dispatch-proof label,
.dispatch-proof small {
  display: block;
  margin: 8px 0;
}
.dispatch-proof input {
  max-width: 100%;
  font-size: 12px;
}
.dispatch-proof p,
.dispatch-proof small {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.dispatch-proof-preview {
  display: block;
  width: 100%;
  max-width: 320px;
  max-height: 260px;
  object-fit: contain;
  margin-top: 12px;
  border: 1px solid var(--line);
}
@media (max-width: 740px) {
  .dispatch-ribbon {
    margin-left: -14px;
  }
}

.order-actions .delete-quotation {
  color: #a03232;
  border-color: #e5bbbb;
}
.quotation-expiry-note {
  font-size: 12px;
  padding: 10px 12px;
  background: #fff7e6;
  border-radius: 6px;
  color: #76551f;
}

.account-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.account-page-heading .heading {
  margin-bottom: 0;
  min-width: 0;
}
.account-logout {
  flex-shrink: 0;
  width: auto;
}
.account-type {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin: 0 0 20px;
}
.account-type legend {
  padding: 0 5px;
  font-weight: 600;
}
.account-type label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.account-type input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
}
@media (max-width: 740px) {
  .account-page-heading {
    gap: 8px;
  }
  .account-logout {
    padding: 9px 12px;
    font-size: 12px;
  }
}

.account-terms .project-terms li {
  border-color: var(--line);
}
.account-terms .project-terms p {
  color: var(--muted);
  font-size: 13px;
}

.catalogue-preview {
  font-size: 12px;
  margin: 0 0 18px;
}
.individual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.individual-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.individual-card > .item-photo {
  width: 100%;
  height: 110px;
  object-fit: contain;
}
.individual-card h3 {
  font-size: 14px;
}
.individual-card p {
  font-size: 11px;
  margin: 0;
  min-height: 34px;
}
.individual-card > small {
  font-size: 10px;
  color: var(--muted);
}
.individual-tiers {
  margin-top: auto;
}
.individual-tiers > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3px;
  padding: 5px;
  font-size: 11px;
  border-radius: 4px;
}
.individual-tiers .active {
  background: #eef5e9;
  color: var(--green);
}
.individual-controls {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 3px;
}
.individual-controls button {
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.individual-controls input {
  min-width: 0;
  width: 100%;
  padding: 6px 2px;
  text-align: center;
  font-size: 12px;
}
.individual-card > .primary {
  padding: 9px;
  font-size: 12px;
}
.individual-cart {
  list-style: none;
  padding: 0;
  margin: 0;
}
.individual-cart li {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #47725e;
}
.individual-cart li > div {
  min-width: 0;
}
.individual-cart strong {
  font-size: 13px;
}
.individual-cart small {
  display: block;
  font-size: 11px;
  color: #bad1c3;
  margin-top: 4px;
}
.individual-cart button {
  color: white;
  padding: 4px 8px;
}
.individual-layout .summary a {
  color: #d5e7c3;
  font-size: 13px;
}
.individual-layout .summary button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 1000px) {
  .individual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 740px) {
  .individual-card {
    padding: 10px;
  }
  .individual-card > .item-photo {
    height: 90px;
  }
}
@media (max-width: 360px) {
  .individual-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.heading h1,
.heading h1 + p {
  margin-top: 0;
  margin-bottom: 0;
}
.service-card {
  cursor: default;
}
.service-toggle {
  margin-top: 12px;
  width: 100%;
}
.service-card.selected .service-toggle {
  color: var(--green);
  border-color: var(--green);
}
form[onsubmit="saveAccountSettings(event)"] > button {
  margin-top: 22px;
}
.order-total {
  text-align: right;
}
.order-total small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
.order-date,
.order-sample-label {
  font-size: 11px;
  color: var(--muted);
}
.announcement:hover .announcement-track {
  animation-play-state: paused;
}

.order-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.order-card-header h3 {
  min-width: 0;
  flex: 1;
}
.order-card-header .order-total {
  flex-shrink: 0;
}
.transaction-card > .invoice-id {
  margin: 12px 0 6px;
  line-height: 1.7;
}
.order-card-footer {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 12px;
}
.order-card-footer .order-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 0;
}
.order-card-footer .order-actions button {
  width: auto;
  flex: 0 1 auto;
}
.transaction-card .dispatch-payment {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.account-orders-panel .dispatch-ready-card {
  background: #e8f4e7;
  border-color: #80a77c;
}
.dispatch-ready-card .order-card-header,
.dispatch-ready-card .order-card-footer {
  border-color: #bfd4bb;
}
.dispatch-ready-card .dispatch-payment,
.dispatch-ready-card .payment-bank {
  background: #f1f8ed;
}
.dispatch-deadline {
  margin-top: 12px;
  font-size: 13px;
  color: #275836;
}
.dispatch-warning {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 6px 0 0;
  color: #825519;
  font-size: 11px;
  line-height: 1.6;
}
.dispatch-warning > span {
  flex-shrink: 0;
}
@media (max-width: 740px) {
  .order-card-header {
    gap: 8px;
  }
  .order-card-header h3 {
    font-size: 13px;
  }
  .order-card-header .order-total {
    font-size: 13px;
  }
  .order-card-header .order-total small {
    font-size: 9px;
  }
}

.footer-promise h2 {
  font-size: 24px;
  margin: 0 0 6px;
}
.footer-promise p {
  margin: 0;
  color: #315a41;
}
.about-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 36px;
  background: #eef4e8;
  border-radius: 16px;
  margin-bottom: 32px;
}
.about-hero h1 {
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.2;
  margin: 0 0 16px;
}
.about-hero em {
  color: var(--green);
}
.about-hero img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
}
.about-section {
  margin-bottom: 28px;
}
.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.about-card-grid .panel {
  margin: 0;
}
.about-card-grid p,
.about-section p {
  line-height: 1.8;
}
.faq-list details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.faq-list details:last-child {
  border: 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}
.career-contact {
  display: inline-block;
  margin-top: 16px;
}
@media (max-width: 740px) {
  .about-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
    gap: 20px;
  }
  .about-hero img {
    height: 190px;
  }
  .about-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav .about-nav {
    font-size: 11px;
    white-space: nowrap;
  }
  .footer-promise h2 {
    font-size: 21px;
  }
}

.configure-products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dimension-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 20px;
}
.dimension-footprint .diagram {
  margin: 0;
  color: #d5e7d9;
}
.dimension-layout > .fieldgrid {
  min-width: 0;
}
.farm-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.farm-option-row {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px;
}
.farm-option-row h3 {
  font-size: 14px;
  margin-bottom: 12px;
}
.farm-option-row h3 > span {
  color: var(--muted);
}
.farm-option-row .choices {
  gap: 6px;
  flex-wrap: wrap;
}
.farm-option-row .choice {
  padding: 8px 10px;
  font-size: 12px;
}
@media (max-width: 740px) {
  .configure-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dimension-layout {
    display: block;
  }
  .dimension-footprint {
    display: none;
  }
  .farm-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

.farm-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.farm-option-row {
  display: flex;
  flex-direction: column;
  padding: 10px;
  min-width: 0;
}
.farm-option-photo {
  display: block;
  width: 100%;
  height: 105px;
  object-fit: contain;
  border-radius: 6px;
  background: #f7f9f5;
  margin-bottom: 12px;
}
.farm-option-row h3 {
  font-size: 13px;
}
.farm-option-row .choices {
  margin-top: auto;
}
.farm-option-row .choice {
  font-size: 11px;
  padding: 7px;
}
.footer-promise > div {
  flex: 1;
  min-width: 0;
}
.footer-reviews {
  flex: 1;
  min-width: 0;
  max-width: 540px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: center;
}
.footer-reviews > button {
  font-size: 28px;
  min-height: 44px;
  color: #153b2c;
  border: 1px solid #153b2c35;
  border-radius: 50%;
}
.footer-reviews blockquote {
  margin: 8px 0 10px;
  font-size: 13px;
  line-height: 1.6;
}
.footer-reviews strong {
  display: block;
  font-size: 13px;
  text-transform: none;
}
.review-location,
.review-sample {
  display: block;
  font-size: 11px;
  color: #41603d;
}
@media (max-width: 1000px) {
  .farm-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 740px) {
  .footer-reviews {
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 380px) {
  .farm-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

.clientale {
  padding: 28px 4vw;
  background: #f5f8f2;
  color: var(--green);
  text-align: center;
}
.clientale h2 {
  margin: 0 0 5px;
}
.clientale > p {
  font-size: 11px;
  margin: 0 0 18px;
}
.client-logo-window {
  overflow: hidden;
  width: 100%;
}
.client-logo-track {
  display: flex;
  width: 500%;
  animation: client-scroll 65s linear infinite;
}
.client-logo-group {
  display: flex;
  flex: 0 0 50%;
  min-width: 0;
}
.client-logo {
  flex: 0 0 4%;
  min-width: 0;
  padding: 0 6px;
}
.client-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.client-logo-window:hover .client-logo-track {
  animation-play-state: paused;
}
@keyframes client-scroll {
  to {
    transform: translateX(-50%);
  }
}
.purchase-notification {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 80;
  width: min(320px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  background: #fff;
  color: #243329;
  box-shadow: 0 8px 32px #102c2526;
}
.purchase-notification > button {
  position: absolute;
  top: 5px;
  right: 7px;
  padding: 5px 8px;
}
.purchase-notification small {
  display: block;
  padding-right: 18px;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 8px;
}
.purchase-notification strong {
  font-size: 14px;
}
.purchase-notification p {
  font-size: 12px;
  margin: 4px 0;
}
.purchase-notification > span {
  font-size: 10px;
  color: var(--muted);
}
@media (max-width: 740px) {
  .client-logo-track {
    width: 1250%;
  }
  .purchase-notification {
    right: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .client-logo-track {
    animation: none;
  }
  .client-logo-window {
    overflow-x: auto;
  }
}

.summary .per-area-label {
  grid-column: 1 / -1;
  padding-top: 16px;
  font-weight: 700;
}
.summary .per-area-cost {
  grid-column: 1 / -1;
  margin: 0 0 16px;
  text-align: left;
}
.summary .per-area-cost > strong {
  display: block;
  color: var(--lime);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.summary .per-area-cost > strong span {
  font-size: 16px;
}
.summary .per-area-cost > small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.85;
}
.summary .per-area-cost > p {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}
