:root {
  font-family:
    "DM Sans",
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: #192724;
  background: #fafaf7;
  --ink: #192724;
  --muted: #53625d;
  --blue: #2647bf;
  --line: #d4dad2;
  --paper: #fafaf7;
  --accent: var(--blue);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
summary,
select {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
a {
  color: inherit;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.03;
  letter-spacing: -0.055em;
}
p {
  line-height: 1.55;
  color: var(--muted);
}
small {
  color: var(--muted);
  font-size: 0.86rem;
}
button,
a,
input,
textarea,
select,
summary {
  outline-offset: 4px;
}
:focus-visible {
  outline: 3px solid #316ce2;
}
.wrap {
  width: min(1200px, 90%);
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -80px;
  z-index: 12;
  padding: 12px;
  background: white;
}
.skip:focus {
  top: 1rem;
}
header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header,
footer > .wrap,
.split,
.section-heading,
.panel-title,
.dialoghead,
.actions,
nav,
.brand,
.shop-brand {
  display: flex;
  align-items: center;
}
.header,
footer > .wrap,
.split,
.section-heading,
.panel-title,
.dialoghead {
  justify-content: space-between;
  gap: 1rem;
}
.header {
  min-height: 76px;
}
.brand,
.shop-brand {
  gap: 8px;
  text-decoration: none;
  font-weight: 770;
  font-size: 1.65rem;
  letter-spacing: -0.065em;
}
.brand i {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: #2647bf;
  border-radius: 50%;
  width: 1em;
  height: 1em;
  transform: rotate(22deg);
}
.brand i b {
  width: 3px;
  height: 45%;
  background: white;
  border-radius: 2px;
}
.brand i b:nth-child(2) {
  height: 66%;
}
nav,
.actions {
  gap: 20px;
  flex-wrap: wrap;
}
nav a,
.button,
.outline,
.paper-button,
.textlink {
  font-weight: 650;
  text-decoration: none;
  font-size: 0.94rem;
}
.button,
.outline,
.paper-button {
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 17px;
}
.button {
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
}
.button:hover {
  background: #1c379c;
}
.outline,
.paper-button {
  border: 1px solid #b8c3ba;
  background: white;
}
.paper-button {
  color: var(--ink);
  border: 0;
}
.textlink {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero {
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: center;
  min-height: clamp(525px, 44vw, 650px);
  padding-block: 55px;
}
.pitch h1 {
  font-size: clamp(64px, 6.6vw, 101px);
  font-weight: 740;
  letter-spacing: -0.084em;
}
.pitch p {
  font-size: clamp(18px, 1.7vw, 23px);
  max-width: 30ch;
  margin: 24px 0 27px;
}
.actions {
  gap: 16px;
}
.postcards {
  position: relative;
  aspect-ratio: 1.52;
  isolation: isolate;
}
.postcard {
  position: absolute;
  display: block;
  padding: 8px;
  background: white;
  box-shadow:
    0 10px 22px #28302624,
    0 0 0 1px #29312a28;
  text-decoration: none;
}
.trip {
  width: 65%;
  left: 2%;
  top: 2%;
  transform: rotate(-8deg);
}
.food {
  width: 48%;
  right: 1%;
  bottom: 1%;
  transform: rotate(8deg);
}
.print {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.28;
  background: #254738;
}
.print img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.print:after,
.auth-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, #101d17a6);
}
.print span {
  position: absolute;
  z-index: 1;
  color: white;
  font-weight: 650;
  letter-spacing: -0.07em;
  font-size: clamp(28px, 3.7vw, 56px);
  bottom: 9%;
  left: 6%;
  line-height: 0.85;
}
.food .print {
  aspect-ratio: 1.02;
}
.food .print span {
  font-weight: 800;
}
.caption {
  padding: 11px 3px 4px;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.caption span {
  text-decoration: underline;
}
.catalog-band {
  border-block: 1px solid var(--line);
  background: #e9efe9;
  padding: 54px 0 64px;
}
.section-heading {
  align-items: end;
  gap: 30px;
  margin-bottom: 24px;
}
.section-heading h2,
.block-heading h2 {
  font-size: clamp(30px, 3.6vw, 50px);
}
.section-heading p {
  max-width: 36ch;
}
.example-grid,
.formgrid,
.auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.example {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--paper);
  text-decoration: none;
  padding: 11px;
  border-radius: 8px;
}
.example img {
  width: 32%;
  aspect-ratio: 1.4;
  object-fit: cover;
  border-radius: 4px;
}
.example h3 {
  font-size: clamp(22px, 2.3vw, 35px);
  margin: 5px 0 12px;
}
.example span {
  text-decoration: underline;
  font-size: 0.87rem;
}
.example:hover,
.postcard:hover {
  box-shadow: 0 6px 25px #16382130;
}
footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
footer span {
  font-size: 0.9rem;
  color: var(--muted);
}
.auth {
  max-width: 960px;
  align-items: center;
  padding-block: 52px;
  gap: 8%;
}
.auth-art {
  position: relative;
  align-self: stretch;
  min-height: 370px;
  border-radius: 13px;
  overflow: hidden;
}
.auth-art img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-art strong,
.auth-art span {
  position: absolute;
  left: 7%;
  bottom: 13%;
  z-index: 1;
  color: white;
}
.auth-art strong {
  font-size: 48px;
  letter-spacing: -0.07em;
}
.auth-art span {
  bottom: 7%;
}
.auth h1,
.panel-title h1,
.receipt h1 {
  font-size: clamp(38px, 4.5vw, 67px);
}
.auth section > p {
  margin: 12px 0;
}
.auth form,
.editor,
#product-form,
#checkout-form {
  display: grid;
  gap: 14px;
}
label {
  display: grid;
  gap: 6px;
  font-weight: 620;
  font-size: 0.94rem;
}
input:not([type="checkbox"]),
select,
textarea {
  background: white;
  color: var(--ink);
  border: 1px solid #a9b7ab;
  border-radius: 6px;
  padding: 10px 12px;
  width: 100%;
  min-width: 0;
  min-height: 43px;
}
input[type="color"] {
  padding: 4px;
}
textarea {
  resize: vertical;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check input {
  height: 18px;
  width: 18px;
}
.error {
  color: #a22e24;
}
.error:empty {
  display: none;
}
.panel {
  padding-block: 38px;
  min-height: 72vh;
}
.panel-title {
  padding-block: 12px 28px;
}
.panel-title small {
  display: block;
  margin-bottom: 8px;
}
.tabs {
  border-bottom: 1px solid var(--line);
  gap: 4px;
}
.tabs button {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 12px 16px;
}
.tabs button[aria-current] {
  border-color: var(--blue);
  font-weight: bold;
}
.work {
  max-width: 840px;
  margin: 30px 0;
}
.block-heading {
  margin-bottom: 22px;
}
.block-heading p,
.payment-info p {
  margin: 8px 0;
}
.editor .block-heading {
  margin-bottom: 0;
}
.editor h3 {
  font-size: 1.35rem;
  margin-top: 10px;
}
.editor .button,
#product-form .button {
  justify-self: start;
}
.empty,
.payment-info {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}
.row,
.bagrow {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.row > div,
.bagrow > div:first-of-type {
  flex: 1;
}
.row small,
.bagrow small {
  display: block;
  margin-top: 4px;
}
.thumb {
  width: 56px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
}
.initial,
.tilephoto > span {
  display: grid;
  place-items: center;
  background: #e4eadc;
  color: #385039;
  font-weight: 700;
}
.sale {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.sale summary span {
  float: right;
}
.sale p {
  margin-top: 7px;
}
.shop-brand {
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}
.shop-brand i,
.shop-brand img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
}
.shop-brand i {
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  font-style: normal;
  text-shadow: 0 1px 3px #0009;
}
.store nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.shop-hero {
  position: relative;
  background: var(--accent);
  color: white;
  isolation: isolate;
  overflow: hidden;
}
.shop-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0007;
  z-index: -1;
}
.shop-hero .wrap {
  min-height: 340px;
  padding-block: 48px;
  display: flex;
  align-items: center;
}
.shop-hero .wrap > div {
  max-width: min(620px, 100%);
}
.shop-hero.has-cover .wrap > div {
  width: 48%;
}
.shop-hero h1 {
  font-size: clamp(42px, 5.7vw, 84px);
  margin-block: 12px;
}
.shop-hero p,
.shop-hero small {
  color: white;
}
.shop-hero p {
  white-space: pre-line;
  margin-bottom: 20px;
}
.cover {
  position: absolute;
  right: 0;
  top: 0;
  width: 46%;
  height: 100%;
  object-fit: cover;
}
.shelf {
  padding-block: 42px 65px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 18px;
}
.tile {
  max-width: 430px;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: white;
}
.tilephoto {
  height: 175px;
  background: #e4eadc;
}
.tilephoto img,
.tilephoto span {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tilephoto span {
  font-size: 64px;
}
.tilebody {
  padding: 18px;
}
.tile h3 {
  font-size: 1.5rem;
  margin: 6px 0;
}
.tilebody .split {
  margin-top: 16px;
}
.itinerary {
  margin-top: 7px;
}
.bagrow .stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stepper button {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  min-width: 31px;
  min-height: 34px;
}
.sum {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-size: 1.15rem;
}
.receipt {
  padding-block: 70px;
  min-height: 65vh;
}
.receipt p {
  margin: 15px 0;
}
.receipt small {
  display: block;
  margin-bottom: 10px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  width: min(620px, 94vw);
  max-height: 90dvh;
  padding: 0;
  color: var(--ink);
}
dialog::backdrop {
  background: #0c1b17a8;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialoghead {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: white;
  position: sticky;
  top: 0;
  z-index: 1;
}
.dialoghead h2 {
  font-size: 1.6rem;
}
.dialoghead button {
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  background: #e9efe9;
}
#dialog-body {
  padding: 18px 20px;
}
#checkout-form {
  margin-top: 15px;
}
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #192724;
  color: white;
  border-radius: 6px;
  z-index: 5;
}
#toast:not(:empty) {
  padding: 12px 18px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 750px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 38px;
  }
  .pitch h1 {
    font-size: clamp(62px, 13vw, 86px);
  }
  .postcards {
    width: min(100%, 570px);
    margin: auto;
  }
  .print span {
    font-size: clamp(27px, 7vw, 43px);
  }
  .pitch p {
    margin: 16px 0 21px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .example-grid {
    grid-template-columns: 1fr;
  }
  .auth {
    grid-template-columns: 1fr;
    max-width: 460px;
    padding-block: 30px;
  }
  .auth-art {
    display: none;
  }
  .header {
    min-height: 62px;
  }
  .header nav {
    gap: 10px;
  }
  .examples-link {
    display: none;
  }
  .panel-title,
  .block-heading.split {
    align-items: start;
    flex-direction: column;
  }
  .tabs {
    gap: 0;
  }
  .tabs button {
    padding: 10px;
  }
  .caption {
    font-size: 0.72rem;
    padding-top: 7px;
  }
  .shop-hero.has-cover .wrap > div {
    width: 100%;
  }
  .cover {
    position: relative;
    width: 100%;
    height: 190px;
  }
  .shop-hero .wrap {
    min-height: 240px;
    padding-block: 30px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .row {
    gap: 7px;
    flex-wrap: wrap;
  }
  .actions {
    gap: 10px;
  }
  .header .brand {
    font-size: 1.4rem;
  }
  .store .header {
    flex-wrap: wrap;
    padding-block: 10px;
  }
  .catalog-band {
    padding-block: 35px;
  }
  .auth-art strong {
    font-size: 32px;
  }
  .trip {
    left: 4%;
  }
  .sale summary span {
    float: none;
    display: block;
  }
}
.picture-field {
  display: grid;
  gap: 7px;
  align-content: start;
  min-width: 0;
}
.picture-field summary {
  font-size: 0.84rem;
  color: var(--muted);
  text-decoration: underline;
}
.picture-field input[type="file"] {
  font-size: 0.85rem;
}
.picture-field details label {
  margin-top: 9px;
}
