:root {
  --ink: #147024;
  --paper: #fff;
  --muted: #5f7063;
  --line: #d7e1d9;
  --acid: #147024;
  --white: #fff;
}
.hero {
  background: linear-gradient(180deg, #147024 0%, #147024 58%, #147024 100%);
}
.hero:before {
  background: radial-gradient(circle at 64% 40%, rgba(255, 255, 255, 0.14), transparent 36%);
}
.site-header .brand {
  color: #fff !important;
}
.site-header .brand-mark {
  background: #fff !important;
  color: #147024 !important;
}
.site-header .brand-number {
  color: #fff !important;
}
.hero .eyebrow,
.hero h1,
.hero h1 em,
.hero .text-link,
.image-label {
  color: #fff;
}
.hero-text {
  color: rgba(255, 255, 255, 0.78);
}
.hero-sticker {
  background: #fff;
  color: #147024;
}
.hero .button-dark {
  background: #fff;
  color: #147024;
}
.hero .label-index {
  color: #fff;
}
.marquee {
  background: #147024;
  color: #fff;
}
.custom {
  background: #fff;
}
.manifesto {
  background: #147024;
  color: #fff;
}
.manifesto .eyebrow,
.manifesto-note,
.manifesto-bottom > p {
  color: rgba(255, 255, 255, 0.74);
}
.manifesto .eyebrow-line,
.manifesto h2 em {
  background: #fff;
  color: #fff;
}
.circle-link:hover {
  background: #fff;
  color: #147024;
  border-color: #fff;
}
.footer {
  background: #fff;
}
.button-dark {
  background: #147024;
  color: #fff;
}
.button-outline {
  border-color: #147024;
  color: #147024;
}
.search-panel {
  background: #fff;
  color: #147024;
}
.search-panel .eyebrow,
.search-hint {
  color: #5f7063;
}
.search-panel .search-close:hover {
  background: #147024;
  color: #fff;
}
.burger-menu {
  background: #fff;
  color: #000;
}
.burger-menu-head,
.burger-links a,
.burger-links a span,
.burger-menu-bottom p,
.burger-menu-bottom a {
  color: #000;
}
.burger-menu-head > span {
  font-family: Manrope, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.burger-links a i,
.burger-links a:hover i {
  color: #147024;
}
.burger-links a,
.burger-links a:first-child {
  border-color: rgba(0, 0, 0, 0.18);
}
.burger-links a[aria-disabled='true'] {
  opacity: 0.45;
  cursor: default;
}
.burger-menu-bottom a {
  border-color: #000;
}
.burger-close {
  color: #000;
  border-color: rgba(0, 0, 0, 0.25);
}
.burger-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000;
}
.category-trigger:hover,
.category-trigger[aria-expanded='true'] {
  background: rgba(20, 112, 36, 0.3);
}
.bag-trigger {
  display: grid;
  place-items: center;
}
.bag-trigger svg {
  display: block;
}
.side-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(560px, 100vw);
  height: 100dvh;
  padding: 34px clamp(26px, 5vw, 58px) 30px;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border-radius: 30px 0 0 30px;
  background: #fff;
  color: #000;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.58s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}
.side-drawer.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.burger-menu.side-drawer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: max-content max-content max-content;
  align-content: start;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  gap: clamp(8px, 2.5dvh, 24px);
  padding-top: max(env(safe-area-inset-top), clamp(12px, 3dvh, 30px));
  padding-bottom: max(env(safe-area-inset-bottom), clamp(12px, 3dvh, 30px));
}
.burger-menu.side-drawer::-webkit-scrollbar,
.burger-menu .burger-links::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.burger-menu.side-drawer > * {
  min-width: 0;
}
.burger-menu .burger-links {
  display: flex;
  flex-direction: column;
  align-self: start;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: visible;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.burger-menu .burger-links a {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 56px;
  grid-template-columns: 28px minmax(0, 1fr) 24px;
  gap: 12px;
  padding: 10px 0;
}
.burger-menu .burger-links a:last-child {
  border-bottom: 0;
}
.burger-menu .burger-links a strong {
  min-width: 0;
  font-size: clamp(16px, min(3.6dvh, 5.2vw), 30px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.burger-menu .burger-links a i {
  line-height: 1;
}
.burger-menu .burger-menu-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(20, 70, 36, 0.18);
}
.burger-menu .menu-contact-intro {
  margin: 0;
  color: #5f7063;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.burger-menu .menu-contact-phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-wrap: anywhere;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #12341c;
  font-size: clamp(18px, 5vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.menu-contact-phone span {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #147024;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s ease;
}
.menu-contact-phone:hover span {
  background: #105b1d;
}
.menu-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.burger-menu .menu-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  color: #214d2b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s ease;
}
.burger-menu .menu-social-links a:hover {
  text-decoration-color: currentColor;
}
.burger-menu-bottom a:focus-visible {
  outline: 2px solid #12341c;
  outline-offset: 3px;
}
@media (max-height: 450px) {
  .burger-menu .burger-menu-bottom {
    gap: 4px;
    padding-top: 8px;
  }
  .burger-menu .menu-contact-phone {
    min-height: 36px;
    font-size: 20px;
  }
  .menu-contact-phone span {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }
  .burger-menu .menu-social-links a {
    min-height: 28px;
  }
  .burger-menu .burger-links a i {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-contact-phone span,
  .burger-menu .menu-social-links a {
    transition: none;
  }
}
.side-drawer .drawer-head,
.side-drawer .burger-menu-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
}
.drawer-head h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.drawer-close,
.burger-close {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  color: #000;
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  transition: 0.2s;
}
.drawer-close:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: rotate(90deg);
}
.cart-items {
  min-height: 0;
  overflow-y: auto;
}
.cart-footer {
  flex: 0 0 auto;
  margin-top: auto;
}
@media (max-width: 600px) {
  .side-drawer {
    width: 100vw;
    padding: 24px 22px;
    border-radius: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .side-drawer {
    transition: none;
  }
}

.cart-drawer,
.burger-menu {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(20, 112, 36, 0.12), transparent 60%), #f4f8f4;
  color: #12341c;
  border-left: 1px solid rgba(20, 112, 36, 0.16);
  box-shadow: -20px 0 80px rgba(0, 35, 10, 0.15);
}
.cart-drawer .drawer-head {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(20, 112, 36, 0.16);
}
.cart-drawer .drawer-count {
  display: inline-block;
  vertical-align: middle;
  padding: 5px 8px;
  border: 1px solid #cbdcce;
  border-radius: 20px;
  color: #147024;
  font:
    11px 'DM Mono',
    monospace;
}
.cart-drawer .drawer-close {
  border-color: #c4d8c9;
  color: #147024;
  background: rgba(255, 255, 255, 0.6);
}
.cart-empty[hidden] {
  display: none;
}
.cart-empty {
  width: 100%;
  margin: auto 0;
  padding: 18px 0 30px;
}
.cart-empty h3 {
  margin: 0 0 24px;
  color: #12341c;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.055em;
}
.cart-catalog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid #147024;
  border-radius: 30px;
  color: #fff;
  background: #147024;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s ease;
}
.cart-empty .cart-catalog-link span {
  color: inherit;
  font-size: 20px;
}
.cart-catalog-link:hover {
  background: #105b1d;
}
.cart-catalog-link:focus-visible {
  outline: 2px solid #147024;
  outline-offset: 4px;
}
.cart-drawer .cart-items {
  flex: 0 0 auto;
  margin-top: 0;
}
.cart-drawer.has-items .cart-items {
  flex: 1 1 auto;
  padding: 22px 0;
}
.cart-drawer .cart-item {
  display: grid;
  grid-template-columns: clamp(64px, 20vw, 112px) minmax(0, 1fr);
  align-items: start;
  min-width: 0;
  overflow: hidden;
  gap: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #d6e4d9;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
}
.cart-item-preview {
  aspect-ratio: 1;
  min-width: 0;
  overflow: hidden;
  padding: 6px;
  border-radius: 12px;
  background: #f1f4f1;
}
.cart-drawer .cart-item-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}
.cart-drawer .cart-item-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.cart-item-title {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}
.cart-drawer .cart-item-info p {
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.cart-item-price {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cart-drawer .cart-item-remove {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid #d6e4d9;
  border-radius: 50%;
  line-height: 1;
}
.cart-quantity {
  display: inline-flex;
  overflow: hidden;
  flex-shrink: 0;
  align-items: center;
  border: 1px solid #cbdcce;
  border-radius: 24px;
  background: #fff;
}
.cart-quantity button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #147024;
  font-size: 20px;
}
.cart-quantity output {
  min-width: 28px;
  text-align: center;
  font:
    12px 'DM Mono',
    monospace;
}
.cart-quantity output,
.cart-line-total,
.cart-total,
.drawer-count,
.bag-count {
  font-variant-numeric: tabular-nums;
}
.cart-drawer .cart-item-price .cart-line-total {
  max-width: 100%;
  margin-left: auto;
  text-align: right;
  font-size: 16px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.cart-item button:hover {
  color: #105b1d;
  background: #edf3ee;
}
.cart-item button:focus-visible {
  outline: 2px solid #147024;
  outline-offset: -2px;
  border-radius: 20px;
}
.cart-item[aria-busy='true'] {
  pointer-events: none;
}
.cart-drawer .cart-footer {
  border-color: #cbdcce;
  padding-top: 20px;
}
.cart-drawer .cart-footer > div {
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
}
.cart-drawer .cart-total {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.cart-drawer .checkout-button {
  border-radius: 30px;
  padding: 16px 20px;
}
.cart-drawer .checkout-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
@media (max-width: 360px) {
  .cart-drawer .cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }
  .cart-item-title {
    flex-wrap: wrap;
  }
  .cart-drawer .cart-item-remove {
    margin-left: auto;
  }
}
@media (max-width: 600px) {
  .cart-drawer .drawer-head h2 {
    font-size: 26px;
  }
  .cart-empty {
    padding-bottom: 22px;
  }
}
