:root {
  --paper: #f5f0ea;
  --ink: #172626;
  --green: #283d3b;
  --blue: #011627;
  --malva: #795663;
  --sage: #8a9688;
  --rose: #d9bcaf;
  --line: #dcd6ce;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.6 Arial,
    Helvetica,
    sans-serif;
}
h1,
h2,
h3,
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.12;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}
h3 {
  font-size: 1.6rem;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  min-height: 46px;
  border: 1px solid var(--malva);
  background: var(--malva);
  color: white;
  padding: 11px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 3px;
}
button:hover,
.button:hover {
  filter: brightness(0.92);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.textbtn {
  background: transparent;
  border: 0;
  color: var(--malva);
  padding: 8px;
}
.shell {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.notice {
  background: var(--blue);
  color: var(--rose);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
}
.header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
}
.brand {
  font-size: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 42px;
  height: 42px;
}
.brand small {
  display: block;
  font: 10px/1.5 Arial;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 5px;
}
.nav {
  display: flex;
  gap: 25px;
  align-items: center;
  font-size: 14px;
}
.nav a {
  padding: 10px 0;
}
.nav .bag {
  border: 1px solid var(--line);
  padding: 9px 13px;
}
.hero {
  background: var(--green);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
}
.hero h1 {
  max-width: 620px;
  margin: 20px 0;
}
.hero p {
  max-width: 470px;
  color: #dedbd3;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 12px;
  font-weight: bold;
  color: var(--malva);
}
.hero .kicker {
  color: var(--rose);
}
.hero .button {
  background: var(--rose);
  color: var(--blue);
  border-color: var(--rose);
}
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
  border: 1px solid #d9bcaf55;
  border-radius: 220px 220px 8px 8px;
  background: radial-gradient(ellipse at 50% 70%, #d9bcaf22, transparent 70%);
}
.hero-art img {
  width: 75%;
  max-height: 350px;
  filter: drop-shadow(0 25px 20px #01162766);
}
.hero-art span {
  position: absolute;
  top: 20px;
  font: 35px Georgia;
  color: var(--rose);
}
.ribbon {
  background: var(--rose);
  text-align: center;
  color: var(--blue);
  padding: 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section {
  padding: 64px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}
.section-heading h2 {
  margin: 12px 0 0;
}
.muted {
  color: #53615e;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 30px;
}
.filters input {
  flex: 1;
  min-width: 170px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.card {
  border: 1px solid var(--line);
  background: #fff8;
  min-width: 0;
}
.product-art {
  display: grid;
  place-items: center;
  background: #e8e3dc;
  aspect-ratio: 1.1;
  overflow: hidden;
}
.product-art img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.3s;
}
.card:hover .product-art img {
  transform: scale(1.035);
}
.card-copy {
  padding: 24px;
}
.card h3 {
  margin: 10px 0;
}
.price {
  font-weight: bold;
  font-size: 18px;
}
.card .button {
  width: 100%;
  margin-top: 18px;
}
.badge {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: inline-block;
  padding: 3px 8px;
  background: var(--rose);
  color: var(--blue);
}
.story {
  background: var(--blue);
  color: var(--paper);
}
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story .kicker {
  color: var(--rose);
}
.story p {
  color: #d5d4cd;
}
.story .button {
  border-color: var(--rose);
  background: transparent;
  color: var(--rose);
}
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}
.footer small {
  display: block;
  color: #53615e;
  margin-top: 12px;
}
.footer a {
  text-decoration: underline;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: start;
}
.detail .product-art {
  aspect-ratio: 1;
  position: sticky;
  top: 20px;
}
.detail h1 {
  font-size: 3rem;
}
.detail select {
  width: 100%;
}
.detail p {
  white-space: pre-line;
}
.panel {
  background: #fff9;
  border: 1px solid var(--line);
  padding: 28px;
  margin: 20px 0;
}
.narrow {
  max-width: 530px;
  margin: 45px auto;
}
.form {
  display: grid;
  gap: 18px;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.form input,
.form textarea,
.form select,
.filters input,
.filters select,
input,
select,
textarea {
  border: 1px solid #b6bdb5;
  background: white;
  color: var(--ink);
  padding: 12px;
  min-height: 46px;
  border-radius: 3px;
  max-width: 100%;
  width: 100%;
}
.form textarea {
  min-height: 120px;
}
.check {
  display: flex !important;
  align-items: start;
  gap: 12px;
}
.check input {
  width: 20px;
  min-height: 20px;
}
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}
.cart-row {
  display: grid;
  grid-template-columns: 65px 1fr 90px 80px;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row img {
  width: 65px;
}
.cart-row input {
  width: 70px;
}
.totals div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
}
.totals .total {
  font-size: 23px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}
.full {
  width: 100%;
}
.alert {
  background: #ebe1d6;
  border-left: 3px solid var(--malva);
  padding: 14px;
  font-size: 14px;
}
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.tabs a {
  padding: 10px 15px;
  border: 1px solid var(--line);
}
.tabs .active {
  background: var(--green);
  color: white;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: #e9e5de;
}
.inline {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.inline input,
.inline select {
  width: auto;
}
.empty {
  text-align: center;
  padding: 70px 20px;
}
.error {
  color: #862c2c;
}
.admin-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.variants {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.metrics b {
  display: block;
  font-size: 30px;
}
.status {
  padding: 4px 9px;
  background: #dde5da;
  font-size: 12px;
  display: inline-block;
}
.order-card {
  border: 1px solid var(--line);
  padding: 25px;
  margin: 18px 0;
}
.order-card h3 {
  margin: 0 0 16px;
}
.order-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 22px;
  background: var(--blue);
  color: white;
  z-index: 100;
  max-width: 90vw;
  display: none;
  box-shadow: 0 5px 30px #01162744;
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 0;
  background: white;
  padding: 16px;
  z-index: 200;
}
:focus-visible {
  outline: 3px solid #b67e4c;
  outline-offset: 4px;
}
main {
  min-height: 55vh;
}
.loader {
  padding: 100px 0;
  text-align: center;
}
summary {
  cursor: pointer;
  padding: 12px;
  font-weight: bold;
}
@media (max-width: 800px) {
  .shell {
    width: calc(100% - 32px);
  }
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 0;
    gap: 12px;
  }
  .nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav .portal-link {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 45px 0;
    gap: 35px;
  }
  .hero-art {
    min-height: 270px;
    max-width: 400px;
    width: 100%;
    margin: auto;
  }
  .hero-art img {
    max-height: 245px;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .card-copy {
    padding: 16px;
  }
  .card h3 {
    font-size: 1.4rem;
  }
  .story-inner,
  .detail,
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .detail .product-art {
    position: static;
  }
  .section {
    padding: 42px 0;
  }
  .cols {
    grid-template-columns: 1fr;
  }
  .cart-row {
    grid-template-columns: 45px 1fr 65px;
    gap: 12px;
  }
  .cart-row .remove {
    grid-column: 2;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 20px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .footer-inner {
    flex-direction: column;
  }
  .admin-title {
    flex-wrap: wrap;
  }
}
@media (max-width: 420px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .nav {
    font-size: 13px;
  }
  .brand {
    font-size: 30px;
  }
}
