.nav-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.09);
  cursor: pointer;
}

.nav-cart-button span,
.cart-launcher strong {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  border-radius: 999px;
  place-items: center;
  color: #102418;
  font-size: 0.72rem;
  background: var(--lime);
}

.cart-launcher {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 27;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 16px 0 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: var(--green-800);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3, 29, 20, 0.58);
  backdrop-filter: blur(4px);
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  width: min(500px, 100vw);
  height: 100vh;
  padding: 22px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: -30px 0 90px rgba(0, 0, 0, 0.26);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.cart-panel.is-open {
  transform: translateX(0);
}

body.cart-open {
  overflow: hidden;
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-panel-header span {
  display: block;
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-panel-header h2 {
  margin: 2px 0 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
}

.cart-close {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  font-size: 1.6rem;
  background: #fff;
  cursor: pointer;
}

.cart-items {
  display: grid;
  gap: 12px;
  min-height: 120px;
  max-height: 32vh;
  margin: 18px -4px 18px 0;
  padding-right: 6px;
  overflow: auto;
}

.cart-empty,
.cart-line {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.cart-empty {
  padding: 22px;
}

.cart-empty p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr 70px auto 34px;
  gap: 10px;
  align-items: center;
  padding: 14px;
}

.cart-line strong,
.cart-line span,
.cart-line small {
  display: block;
}

.cart-line > div strong {
  font-size: 0.92rem;
}

.cart-line span,
.cart-line small {
  color: var(--muted);
  font-size: 0.74rem;
}

.cart-line label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.cart-line input {
  width: 64px;
  min-height: 36px;
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}

.cart-line button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--green-800);
  cursor: pointer;
}

.cart-summary {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  color: #fff;
  background: var(--green-900);
}

.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cart-summary span {
  font-size: 0.82rem;
  font-weight: 800;
}

.cart-summary strong {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1.6rem;
}

.cart-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  line-height: 1.55;
}

.order-form {
  padding-top: 18px;
  overflow: auto;
}

.order-form h3 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid label,
.privacy-check {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.full-field,
.privacy-check {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid textarea,
.cart-buy-controls select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}

.form-grid input,
.cart-buy-controls select {
  min-height: 42px;
  padding: 0 12px;
}

.form-grid textarea {
  padding: 10px 12px;
  resize: vertical;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 14px 0;
  line-height: 1.45;
}

.privacy-check input {
  margin-top: 3px;
}

.privacy-check a {
  color: var(--green-800);
  text-decoration: underline;
}

.cart-submit,
.cart-copy {
  width: 100%;
  margin-top: 8px;
}

.cart-copy {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-800);
  font-weight: 900;
  background: #fff;
  cursor: pointer;
}

.cart-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 800;
}

.cart-price-list {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.cart-price-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.74rem;
  background: rgba(17, 115, 68, 0.04);
}

.cart-price-list strong {
  color: var(--green-800);
}

.cart-buy-box {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.cart-buy-box label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-buy-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.cart-buy-controls button,
.cart-mini-add {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: #102418;
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--lime);
  cursor: pointer;
}

.cart-buy-controls button {
  padding: 0 15px;
}

.cart-mini-add {
  min-height: 34px;
  padding: 0 12px;
}

.cart-modal-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.privacy-section {
  padding: 90px 0;
  background: #fffdf8;
}

.privacy-card {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(17, 115, 68, 0.16);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.privacy-card h2 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.privacy-card > p:not(.eyebrow),
.privacy-note {
  max-width: 900px;
  color: var(--muted);
  line-height: 1.8;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.privacy-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 115, 68, 0.04);
}

.privacy-grid h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1rem;
}

.privacy-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .nav-cart-button { display: none; }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .cart-panel { padding: 16px; }
  .form-grid, .privacy-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 1fr 60px; }
  .cart-line > strong, .cart-line button { justify-self: start; }
  .cart-buy-controls { grid-template-columns: 1fr; }
  .cart-launcher { right: 16px; bottom: 86px; }
}
