:root {
  --green: #244638;
  --ink: #202b25;
  --muted: #747a71;
  --paper: #faf9f5;
  --line: #dedfd6;
  --cream: #eeeee5;
  --lime: #d8edaa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #a0b966;
  outline-offset: 3px;
}
.announcement {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 10px 5%;
  font-size: 11px;
  letter-spacing: 0.3px;
}
.announcement span {
  float: right;
  color: #d8e6bf;
}
header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: auto;
  padding: 0 5%;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.logo {
  font-size: 32px;
  letter-spacing: -2px;
  font-weight: 900;
  line-height: 1;
}
.logo span {
  font-size: 11px;
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 3px;
}
nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 29px;
}
nav a {
  color: #70776c;
  font-size: 13px;
}
nav a:hover,
nav a.active {
  color: var(--green);
}
.header-actions {
  gap: 23px;
  font-size: 12px;
}
.bag span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  margin-left: 5px;
}
main {
  max-width: 1400px;
  margin: auto;
  padding: 30px 5% 70px;
  min-height: 65vh;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #eaece1;
  border-radius: 7px;
  min-height: 470px;
  overflow: hidden;
}
.hero-copy {
  padding: 60px 55px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #718650;
  border-radius: 50%;
}
h1 {
  font-size: 58px;
  line-height: 1.07;
  letter-spacing: -2.8px;
  font-weight: 500;
  margin: 23px 0;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: normal;
  color: #64784c;
}
h2 {
  font-size: 28px;
  letter-spacing: -0.8px;
  font-weight: 500;
  margin: 0 0 13px;
}
h3 {
  font-size: 17px;
  margin: 10px 0;
}
p {
  color: var(--muted);
}
.hero p {
  max-width: 330px;
  font-size: 14px;
  margin: 22px 0 27px;
}
.btn,
button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 12px 22px;
  font-size: 12px;
  font-weight: 600;
}
.btn:hover,
button.primary:hover {
  background: #365d49;
}
.btn.secondary,
button.secondary {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}
.hero-bottom {
  margin-top: 29px;
  font-size: 10px;
  color: #76816a;
  letter-spacing: 0.3px;
}
.hero-art {
  position: relative;
  background: #e5e1d3;
  overflow: hidden;
}
.product-art {
  background-image: url("/assets/products.png");
  background-size: 300% 200%;
  background-repeat: no-repeat;
  aspect-ratio: 1;
  display: block;
  border-radius: 5px;
}
.art-headphones {
  background-position: 0% 0%;
}
.art-backpack {
  background-position: 50% 0%;
}
.art-lamp {
  background-position: 100% 0%;
}
.art-planner {
  background-position: 0% 100%;
}
.art-speaker {
  background-position: 50% 100%;
}
.art-bottle {
  background-position: 100% 100%;
}
.hero-art .product-art {
  height: 100%;
  width: 100%;
  aspect-ratio: auto;
  background-size: 300% 200%;
  border-radius: 0;
}
.hero-chip {
  position: absolute;
  left: 23px;
  bottom: 24px;
  background: #ffffffdf;
  backdrop-filter: blur(10px);
  padding: 13px 18px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 12px;
}
.hero-chip small {
  display: block;
  color: #71786b;
  font-size: 10px;
}
.hero-tag {
  position: absolute;
  right: 23px;
  top: 23px;
  border: 1px solid #8b927b;
  border-radius: 100px;
  padding: 7px 13px;
  font-size: 9px;
  letter-spacing: 1px;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  margin-bottom: 39px;
}
.benefits > div {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.benefits > div:last-child {
  border: 0;
}
.benefits b {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.benefits small {
  color: var(--muted);
  font-size: 10px;
}
.benefit-icon {
  font-size: 23px;
  color: #668053;
}
.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 20px;
}
.section-top p {
  font-size: 12px;
  margin: 0;
}
.section-top h2 {
  margin: 4px 0;
}
.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0;
  gap: 18px;
  flex-wrap: wrap;
}
.pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 8px 17px;
  font-size: 11px;
}
.pill.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.filter-tools {
  display: flex;
  gap: 8px;
}
.filter-tools input {
  width: 160px;
}
.filter-tools input,
.filter-tools select {
  font-size: 11px;
  padding: 9px 12px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 29px 23px;
}
.product {
  position: relative;
}
.product-photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 5px;
  background: #e8e3d7;
}
.product-photo .product-art {
  transition: transform 0.4s;
}
.product-photo:hover .product-art {
  transform: scale(1.035);
}
.badge {
  position: absolute;
  top: 13px;
  left: 13px;
  background: #f9faf4;
  padding: 4px 9px;
  font-size: 9px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}
.badge.digital {
  background: #e3edcd;
}
.product-add {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 0;
  background: #fafaf5;
  color: var(--green);
  font-size: 22px;
}
.product-category {
  margin-top: 14px;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #878b80;
}
.product-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin: 5px 0;
}
.product-title h3 {
  font-size: 13px;
  font-weight: 500;
  margin: 0;
}
.product-title strong {
  font-size: 12px;
  white-space: nowrap;
}
.split-label {
  color: #68814e;
  font-size: 10px;
}
.split-label span {
  background: #e9eddf;
  padding: 3px 5px;
  border-radius: 3px;
}
.editorial {
  background: #e7eadf;
  margin-top: 50px;
  padding: 35px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-radius: 6px;
}
.editorial p {
  margin: 5px 0;
  font-size: 12px;
}
.editorial h2 {
  font-size: 25px;
}
.page-title {
  margin: 20px 0 35px;
}
.page-title h1 {
  font-size: 40px;
  letter-spacing: -1.5px;
  margin: 10px 0;
}
.page-title p {
  max-width: 680px;
}
.two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 26px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 25px;
  margin-bottom: 20px;
}
.panel h2 {
  font-size: 21px;
}
.panel h3 {
  font-weight: 500;
}
.panel p {
  font-size: 12px;
}
.notice {
  border: 1px solid #ded7ba;
  background: #f7f3e3;
  color: #746038;
  padding: 14px 18px;
  border-radius: 5px;
  font-size: 12px;
  margin: 16px 0;
}
.notice.success {
  background: #eaf0e3;
  border-color: #d5e0c7;
  color: #486536;
}
.danger {
  color: #a34236;
}
.muted {
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 12px;
  color: #586150;
  margin-bottom: 15px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #d8dcd2;
  border-radius: 4px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink);
  margin-top: 5px;
}
input[type="checkbox"] {
  display: inline-block;
  width: auto;
  margin-right: 8px;
}
textarea {
  min-height: 100px;
}
.auth-panel {
  max-width: 480px;
  margin: 35px auto;
}
.auth-panel h1 {
  font-size: 35px;
  letter-spacing: -1px;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.stack {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.stack button {
  padding: 8px 15px;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--green);
  text-decoration: underline;
  font-size: 12px;
}
.balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.balance-card {
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  padding: 25px;
}
.balance-card:nth-child(2) {
  background: #e8eddf;
  color: var(--green);
}
.balance-card p {
  color: inherit;
  opacity: 0.7;
  font-size: 11px;
}
.balance-number {
  font-size: 26px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.token-icon {
  display: inline-flex;
  border: 1px solid currentColor;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  margin-right: 7px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  padding: 12px 9px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 14px 9px;
  border-bottom: 1px solid #eceee7;
}
td code {
  font-size: 10px;
}
code {
  overflow-wrap: anywhere;
}
.status {
  font-size: 10px;
  padding: 4px 7px;
  background: #eef0e7;
  border-radius: 4px;
  white-space: nowrap;
}
.empty {
  text-align: center;
  padding: 45px 20px;
  color: var(--muted);
}
.cart-line {
  display: grid;
  grid-template-columns: 85px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line h3 {
  font-size: 13px;
}
.cart-line input {
  width: 70px;
  padding: 6px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  font-size: 12px;
}
.total-row.final {
  font-weight: bold;
  font-size: 17px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 17px;
}
.payment-amount {
  padding: 14px;
  background: #f0f3e9;
  border-radius: 4px;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.payment-amount strong {
  font-size: 16px;
  display: block;
}
.payment-amount small {
  font-size: 10px;
}
.qr {
  width: 150px;
  display: block;
  margin: 15px auto;
}
.copy-line {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-wrap: anywhere;
}
.copy-line code {
  font-size: 11px;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.detail h1 {
  font-size: 39px;
  letter-spacing: -1.2px;
  margin-top: 15px;
}
.detail .product-art {
  border-radius: 7px;
}
.detail-price {
  font-size: 26px;
}
.detail select {
  max-width: 240px;
}
.detail p {
  line-height: 1.8;
}
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 25px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.admin-stats .panel {
  padding: 18px;
}
.admin-stats strong {
  font-size: 25px;
  display: block;
}
.admin-stats small {
  font-size: 11px;
  color: var(--muted);
}
details {
  margin: 14px 0;
}
summary {
  cursor: pointer;
  font-size: 12px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f3f4ee;
  padding: 12px;
  font-size: 11px;
}
.order-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.order-heading p {
  margin: 3px 0;
}
footer {
  border-top: 1px solid var(--line);
  max-width: 1400px;
  margin: auto;
  padding: 42px 5%;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 35px;
}
footer .logo {
  font-size: 28px;
}
footer p {
  font-size: 11px;
}
footer small {
  font-size: 10px;
  color: var(--muted);
}
footer > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 11px;
}
.footer-note {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin: 0;
  font-size: 10px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 34px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  color: var(--ink);
}
dialog::backdrop {
  background: #17251970;
  backdrop-filter: blur(3px);
}
.close {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 25px;
  background: none;
  border: 0;
  color: var(--muted);
}
#toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: var(--green);
  color: white;
  max-width: 440px;
  padding: 15px 22px;
  border-radius: 6px;
  box-shadow: 0 5px 25px #0002;
  z-index: 20;
  display: none;
}
.loading {
  padding: 70px;
  text-align: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.steps .num {
  font-family: Georgia, serif;
  font-size: 40px;
  color: #81926a;
}
.wide-button {
  width: 100%;
  margin-top: 15px;
}
.policy {
  white-space: pre-wrap;
  max-width: 800px;
}
.small {
  font-size: 11px;
}
.spaced {
  margin-top: 25px;
}
.no-margin {
  margin: 0;
}
.form-error {
  color: #a34236;
  font-size: 12px;
}
.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-line input {
  width: auto;
}
@media (min-width: 1250px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero {
    min-height: 475px;
  }
  .hero-copy {
    padding: 65px 60px;
  }
}
@media (max-width: 900px) {
  header {
    gap: 20px;
  }
  nav {
    gap: 15px;
  }
  .header-actions {
    gap: 12px;
  }
  .header-actions > a:first-child span {
    display: none;
  }
  .hero-copy {
    padding: 40px 30px;
  }
  h1 {
    font-size: 44px;
  }
  .hero {
    min-height: 400px;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .announcement {
    font-size: 9px;
  }
  .announcement span {
    display: none;
  }
  header {
    height: 77px;
    flex-wrap: wrap;
    padding: 15px 5%;
    gap: 5px;
  }
  .logo {
    font-size: 28px;
  }
  nav {
    display: none;
  }
  .header-actions {
    font-size: 11px;
    gap: 16px;
  }
  main {
    padding-top: 20px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 32px 27px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .hero-art {
    height: 310px;
  }
  .hero-art .product-art {
    background-size: 300% 200%;
  }
  .hero-bottom {
    margin-top: 20px;
  }
  .benefits {
    padding: 19px 0;
    gap: 10px;
  }
  .benefits > div {
    gap: 6px;
    align-items: start;
  }
  .benefits b {
    font-size: 10px;
  }
  .benefits small {
    font-size: 9px;
    display: block;
    line-height: 1.3;
  }
  .benefit-icon {
    font-size: 18px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 14px;
  }
  .product-title {
    display: block;
  }
  .product-title h3 {
    font-size: 12px;
  }
  .product-title strong {
    font-size: 11px;
  }
  .split-label {
    font-size: 9px;
  }
  .section-top h2 {
    font-size: 24px;
  }
  .filter-tools {
    width: 100%;
    justify-content: space-between;
  }
  .filter-tools input {
    width: 140px;
  }
  .filters {
    gap: 13px;
  }
  .pill {
    padding: 7px 11px;
    font-size: 10px;
  }
  .editorial {
    padding: 25px;
    display: block;
  }
  .editorial .btn {
    margin-top: 16px;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail h1 {
    font-size: 32px;
  }
  .balance-grid {
    gap: 12px;
  }
  .balance-card {
    padding: 17px;
  }
  .balance-number {
    font-size: 21px;
  }
  .panel {
    padding: 19px;
  }
  .page-title h1 {
    font-size: 32px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .cart-line {
    grid-template-columns: 65px 1fr auto;
    gap: 10px;
  }
  .cart-line .text-button {
    font-size: 10px;
  }
  .order-heading {
    display: block;
  }
  .order-heading .status {
    display: inline-block;
    margin-top: 6px;
  }
  footer {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  footer > div:first-child {
    grid-column: 1/-1;
  }
  .hero-chip {
    font-size: 10px;
  }
  .hero-tag {
    font-size: 8px;
  }
}

.product-add {
  top: 12px;
  bottom: auto;
}
.product-art.uploaded {
  width: 100%;
  object-fit: cover;
  background: none;
}
