body.lg-origami {
  --og-accent: #9e4731;
  --og-on-accent: #fffaf5;
  background: #fbf6f0;
  color: #3e2c24;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

body.lg-origami ::selection {
  background: #f3c2ae;
  color: #3e2c24;
}

body.lg-origami :focus-visible {
  outline: 3px solid #c46b52;
  outline-offset: 3px;
}

body.lg-origami h1,
body.lg-origami h2,
body.lg-origami h3,
body.lg-origami #main-content h1,
body.lg-origami #main-content h2,
body.lg-origami #main-content h3 {
  color: #3e2c24;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

body.lg-origami a {
  color: inherit;
}

body.lg-origami main#main-content {
  margin: 0;
  max-width: none;
  padding: 0;
}

.og-shell {
  margin-inline: auto;
  width: min(1440px, calc(100% - 2rem));
}

.og-header {
  background: #fbf6f0;
  border-bottom: 1px solid #ead8cc;
  position: sticky;
  top: 0;
  z-index: 30;
}

.og-header-inner,
.og-footer-inner {
  align-items: center;
  display: flex;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  margin-inline: auto;
  min-height: 4.6rem;
  width: min(1440px, calc(100% - 2rem));
}

.og-brand {
  align-items: center;
  color: #3e2c24;
  display: inline-flex;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 650;
  gap: 0.55rem;
  letter-spacing: -0.03em;
  min-height: 2.75rem;
  text-decoration: none;
}

.og-brand svg {
  height: 1.8rem;
  width: 1.8rem;
}

.og-brand-label {
  background: #f6e4dc;
  border-radius: 999px;
  color: #79432f;
  font: 600 0.75rem/1.3 "Inter", "Avenir Next", sans-serif;
  letter-spacing: 0;
  padding: 0.25rem 0.6rem;
}

.og-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.45rem;
  justify-content: center;
}

.og-nav a,
.og-button,
.og-filter,
.og-view {
  min-height: 2.75rem;
}

.og-nav a {
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  padding-inline: 0.65rem;
  color: #6a5348;
  display: inline-flex;
  text-decoration: none;
}

.og-nav a.is-current {
  box-shadow: inset 0 -2px 0 #c46b52;
  color: #3e2c24;
}

.og-nav .og-nav-checkout {
  background: var(--og-accent);
  border-radius: 999px;
  color: var(--og-on-accent);
  font-weight: 650;
}

body.lg-origami .og-button,
body.lg-origami .og-jump-buy {
  align-items: center;
  background: var(--og-accent);
  border: 1px solid var(--og-accent);
  border-radius: 999px;
  color: var(--og-on-accent);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 650;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  text-align: center;
  text-decoration: none;
}

body.lg-origami .og-button-outline,
.og-buy-actions:not(.is-bundle-primary) .og-buy-bundle.og-button,
.og-buy-actions.is-bundle-primary .og-buy-selected.og-button {
  background: #fffaf5;
  color: #803925;
}

.og-hero {
  align-items: center;
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  padding: clamp(1.4rem, 3vw, 3rem) 0 2.75rem;
}

.og-hero h1 {
  font-size: clamp(2.8rem, 5.4vw, 4.5rem);
  line-height: 1.02;
  margin: 0 0 0.95rem;
}

.og-lede {
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.45;
  margin: 0 0 1.2rem;
  max-width: 44ch;
}

.og-note p,
.og-page-head p,
.og-secure {
  color: #6e5648;
}

.og-hero-actions,
.og-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.og-hero-trust {
  color: #6e5648;
  font-size: 0.82rem;
  gap: 0.3rem 1rem;
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
}

.og-hero-trust li::before {
  color: var(--og-accent);
  content: "✓";
  font-weight: 700;
  margin-right: 0.3rem;
}

.og-hero-art svg {
  animation: og-settle 720ms cubic-bezier(0.23, 1, 0.32, 1) both;
  display: block;
  filter: drop-shadow(0 18px 28px rgb(92 58 46 / 12%));
  height: auto;
  width: 100%;
}

.og-difficulty {
  padding-bottom: 1.25rem;
}

.og-difficulty h2,
.og-page-head h1,
.og-note h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 1rem;
}

.og-levels,
.og-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.og-feature {
  align-items: center;
  background: #f4dfd5;
  border: 1px solid #e8c0af;
  border-radius: 22px;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr) auto;
  margin-bottom: 1.25rem;
  overflow: hidden;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.og-feature-art {
  background: #fffaf5;
  border-radius: 14px;
  height: 140px;
  overflow: hidden;
}

.og-feature-art .og-photo {
  object-fit: cover;
  object-position: center 37%;
}

.og-feature-copy {
  display: grid;
  gap: 0.2rem;
}

.og-feature-copy strong {
  font: 650 clamp(1.22rem, 2.4vw, 2rem)/1.15 "Source Serif 4", Georgia, serif;
}

.og-feature-copy > span {
  color: #79432f;
  font-weight: 650;
}

.og-feature-compact {
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 1.1rem 0 0;
}

.og-feature-compact strong {
  font-size: 1.15rem;
}

.og-trust {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 1.6rem;
}

.og-trust .og-note {
  padding: 1.25rem;
}

.og-trust h2 {
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
}

.og-level,
.og-card,
.og-preview,
.og-buy,
.og-trust .og-note {
  background: #fff;
  border: 1px solid #f0e2d6;
  border-radius: 26px;
  box-shadow: 0 14px 32px rgb(92 58 46 / 7%);
}

.og-level,
.og-card {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.og-level:hover,
.og-card:hover {
  border-color: #e4b59e;
  box-shadow: 0 18px 36px rgb(92 58 46 / 12%);
  transform: translateY(-2px);
}

.og-level {
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
}

.og-level-name {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.45rem;
  padding: 0.65rem 0;
  text-align: center;
}

.og-still {
  background: #fbf6f0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(150px, 20vw, 250px);
  overflow: hidden;
}

.og-still .og-photo {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.og-level-pack {
  color: #5c463a;
  font-size: 0.95rem;
  padding: 0.35rem 0.9rem 0.15rem;
  text-align: center;
}

.og-level-price {
  color: #3e2c24;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  padding: 0 0.9rem 1.05rem;
  text-align: center;
}

.og-still svg,
.og-card-art svg,
.og-cover svg,
.og-row-art svg,
.og-photos svg,
.og-templates svg,
.og-block svg {
  display: block;
  height: 100%;
  width: 100%;
}

.og-note {
  padding: 0.4rem 0 2.2rem;
}

.og-note p {
  margin: 0;
  max-width: 62ch;
}

.og-packs {
  padding-bottom: 1.5rem;
}

.og-page-head {
  padding-top: 1.6rem;
}

.og-page-head p {
  margin: -0.4rem 0 1rem;
}

.og-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.og-filter,
.og-view {
  align-items: center;
  background: #fff;
  border: 1px solid #ead8cc;
  border-radius: 999px;
  color: #5c463a;
  display: inline-flex;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  text-decoration: none;
}

.og-filter.is-current {
  background: #f3b89a;
  border-color: transparent;
  color: #4a2c24;
}

.og-card {
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  text-decoration: none;
}

.og-card.is-bundle {
  border-color: #e7a08c;
  box-shadow: 0 16px 34px rgb(140 78 58 / 12%);
}

.og-card-art {
  background: #f7eee7;
  height: clamp(155px, 18vw, 245px);
  display: block;
  overflow: hidden;
  position: relative;
}

.og-card-art .og-photo {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.og-cover,
.og-photos figure span {
  background: #fbf6f0;
  display: block;
  height: 190px;
  overflow: hidden;
  position: relative;
}

.og-badge {
  background: #f3b89a;
  border-radius: 999px;
  color: #4a2c24;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  z-index: 1;
}

.og-card-foot {
  display: grid;
  flex: 1;
  gap: 0.25rem;
  grid-template-rows: auto auto 1fr;
  padding: 0.75rem 0.9rem 0.95rem;
}

.og-card-name,
.og-row-name {
  display: block;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.og-card-meta {
  color: #6e5648;
  font-size: 0.84rem;
}

.og-card-actions {
  align-items: center;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.65rem;
  justify-content: space-between;
}

.og-card-price,
.og-row-price,
.og-total strong {
  font-variant-numeric: tabular-nums;
}

.og-card-price {
  color: #3e2c24;
  font-weight: 750;
}

.og-card-price s {
  color: #6e5648;
  font-size: 0.83rem;
  font-weight: 450;
}

.og-view {
  background: #f6ded4;
  border-color: transparent;
  color: #653729;
  font-weight: 650;
}

.og-shop-page {
  padding: 1.25rem 0 1.5rem;
}

.og-shop {
  align-items: start;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
}

.og-preview,
.og-buy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.15rem 1.15rem 1rem;
}

.og-preview-head,
.og-buy-head,
.og-buy-foot {
  flex: 0 0 auto;
}

.og-preview-head {
  align-items: start;
  scroll-margin-top: 5.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.og-preview-head p {
  color: #6e5648;
  margin: 0;
}

.og-preview-head [data-og-preview-meta] {
  grid-column: 1 / -1;
}

.og-preview-head h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin: 0.15rem 0 0.8rem;
  min-width: 0;
}

.og-preview-head [data-og-preview-price] {
  color: #3e2c24;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  margin: 0.35rem 0 0.8rem 0.85rem;
  white-space: nowrap;
}

.og-preview-scroll:focus-visible {
  outline: 3px solid #c46b52;
  outline-offset: 3px;
}

.og-details {
  line-height: 1.5;
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.og-cover {
  border: 1px solid #f0e2d6;
  border-radius: 18px;
  height: clamp(240px, 32vw, 340px);
  padding: 0.75rem;
}

.og-cover .og-photo {
  object-fit: contain;
}

body.lg-origami .og-jump-buy {
  display: none;
  grid-column: 1 / -1;
  margin-bottom: 0.85rem;
  width: fit-content;
}

.og-block h2 {
  font-size: 1.35rem;
  margin: 1.1rem 0 0.25rem;
}

.og-block p {
  margin: 0 0 0.7rem;
}

.og-block svg {
  background: #fffdfb;
  border: 1px solid #f0e2d6;
  border-radius: 16px;
  height: auto;
}

.og-templates,
.og-photos {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.og-photos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.og-template-art {
  aspect-ratio: 3 / 4;
  background: #fbf6f0;
  border: 1px solid #f0e2d6;
  border-radius: 12px;
  display: block;
  height: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.og-template-art .og-photo {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.og-photos figure,
.og-templates figure {
  margin: 0;
  min-width: 0;
}

.og-templates figcaption,
.og-template-note,
.og-photos figcaption,
.og-secure {
  font-size: 0.86rem;
}

.og-photos figcaption {
  color: #6e5648;
  margin-top: 0.3rem;
}

.og-buy-head h2 {
  font-size: 1.55rem;
  margin: 0 0 0.5rem;
}

.og-row {
  align-items: stretch;
  border-bottom: 1px solid #f3e6dc;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
}

.og-row-check {
  cursor: pointer;
  display: grid;
  min-height: 2.75rem;
  place-items: center;
}

.og-row input {
  accent-color: var(--og-accent);
  cursor: pointer;
  height: 1.15rem;
  margin: 0;
  width: 1.15rem;
}

.og-row-preview {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: inherit;
  display: grid;
  font: inherit;
  gap: 0.5rem;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  min-height: 2.75rem;
  padding: 0.35rem;
  text-align: left;
}

button.og-row-preview,
.og-bundle-preview {
  cursor: pointer;
}

button.og-row-preview:hover,
.og-row-preview[aria-pressed="true"] {
  background: #f9eee7;
}

.og-row-art {
  background: #fbf6f0;
  border-radius: 0.45rem;
  height: 2.6rem;
  overflow: hidden;
  width: 2.6rem;
}

.og-row-price {
  color: #643d30;
  font-size: 0.9rem;
  font-weight: 650;
}

.og-viewing {
  background: #f3ddd2;
  border-radius: 999px;
  color: #733827;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 650;
  padding: 0.12rem 0.45rem;
}

.og-viewing[hidden],
.og-savings[hidden],
.og-review-bar[hidden] {
  display: none;
}

.og-bundle-preview {
  align-items: center;
  align-self: start;
  background: transparent;
  border: 0;
  color: #803925;
  display: flex;
  font: inherit;
  font-size: 0.89rem;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding-inline: 0.5rem;
  text-decoration: underline;
}

.og-buy-foot {
  border-top: 1px solid #f0e2d6;
}

.og-total {
  align-items: baseline;
  display: flex;
  font-weight: 650;
  gap: 0.6rem;
  justify-content: space-between;
  margin: 0.65rem 0;
}

.og-total strong {
  color: #803925;
  font-size: 1.3rem;
}

.og-buy-actions {
  display: grid;
  gap: 0.45rem;
}

.og-buy-selected:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.og-savings {
  background: #f6e4dc;
  border: 1px solid #e8c0af;
  border-radius: 0.85rem;
  color: #693627;
  font-size: 0.9rem;
  margin: 0 0 0.55rem;
  padding: 0.5rem 0.75rem;
}

.og-secure {
  margin: 0.55rem 0 0;
  text-align: center;
}

.og-review-bar {
  display: none;
}

.og-footer {
  padding: 0 0 1.5rem;
}

.og-footer-inner {
  border-top: 1px solid #f0e2d6;
  color: #6e5648;
  flex-wrap: wrap;
  font-size: 0.92rem;
  min-height: 0;
  padding-top: 1rem;
}

.og-footer-inner > * {
  min-width: 0;
}

.og-footer-brand,
.og-footer-contact {
  margin: 0;
  overflow-wrap: anywhere;
}

.og-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}

.og-footer a {
  color: #6a5348;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding-inline: 0.45rem;
  display: inline-flex;
  align-items: center;
}

.og-notice {
  background: #fff4ee;
  border: 1px solid #f0c2b2;
  border-radius: 16px;
  color: #6a3e34;
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
}

.og-photo {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@keyframes og-settle {
  from {
    transform: translateY(12px);
  }
  to {
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .og-shop .og-buy {
    max-height: calc(100dvh - 6.25rem);
    overflow: auto;
    position: sticky;
    scroll-padding-block: 0.75rem;
    top: 5.5rem;
  }
}

@media (width < 1024px) {
  .og-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width < 900px) {
  body.lg-origami main#main-content:has(.og-review-bar) {
    transform: none;
  }

  body.lg-origami:has(.og-review-bar) .og-footer {
    padding-bottom: 5.75rem;
  }

  .og-shop {
    grid-template-columns: minmax(0, 1fr);
  }

  .og-shop .og-buy,
  .og-preview-head {
    scroll-margin-top: 6.5rem;
  }

  body.lg-origami [data-og-shop]:not([data-og-bound]) .og-jump-buy {
    display: inline-flex;
  }

  .og-review-bar:not([hidden]) {
    align-items: center;
    background: #fffaf5;
    border-top: 1px solid #ead8cc;
    box-shadow: 0 -5px 22px rgb(92 58 46 / 12%);
    bottom: 0;
    display: flex;
    gap: 0.5rem;
    inset-inline: 0;
    justify-content: space-between;
    padding: 0.55rem max(1rem, env(safe-area-inset-right))
      max(0.55rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    position: fixed;
    z-index: 25;
  }

  .og-review-bar p {
    font-size: 0.85rem;
    line-height: 1.2;
    margin: 0;
  }

  .og-review-bar strong {
    display: block;
    font-size: 1.15rem;
  }

  body.lg-origami .og-review-bar .og-button {
    flex-shrink: 0;
    font-size: 0.88rem;
    padding-inline: 0.7rem;
  }
}

@media (width < 820px) {
  .og-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .og-hero-art {
    width: min(100%, 530px);
  }
}

@media (width < 720px) {
  .og-header-inner {
    flex-wrap: wrap;
    gap: 0;
    padding-block: 0.2rem;
  }

  .og-nav {
    gap: 0.2rem;
    justify-content: flex-start;
    width: 100%;
  }

  .og-nav a {
    font-size: 0.82rem;
    padding-inline: 0.38rem;
  }

  .og-nav .og-nav-checkout {
    margin-left: auto;
  }

  .og-levels,
  .og-trust {
    grid-template-columns: minmax(0, 1fr);
  }

  .og-feature:not(.og-feature-compact) {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .og-feature-art {
    grid-column: 1 / -1;
  }

  .og-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width < 560px) {
  .og-grid {
    gap: 0.55rem;
  }

  .og-card,
  .og-preview,
  .og-buy {
    border-radius: 16px;
  }

  .og-card-art {
    height: clamp(110px, 36vw, 180px);
  }

  .og-card-foot {
    padding: 0.45rem 0.55rem 0.6rem;
  }

  .og-card-meta,
  .og-card-actions .og-view {
    font-size: 0.78rem;
  }

  .og-card-actions .og-view {
    min-height: 2rem;
    padding-inline: 0.45rem;
  }

  .og-badge {
    font-size: 0.7rem;
    inset: 0.35rem 0.35rem auto;
    text-align: center;
  }

  .og-feature {
    gap: 0.65rem;
    padding: 0.65rem;
  }

  .og-feature .og-view {
    font-size: 0.85rem;
    padding-inline: 0.6rem;
  }

  .og-preview,
  .og-buy {
    padding: 0.8rem;
  }

  .og-preview-head {
    display: block;
  }

  .og-preview-head [data-og-preview-price] {
    margin-left: 0;
  }

  body.lg-origami .og-hero-actions .og-button {
    font-size: 0.82rem;
    padding-inline: 0.55rem;
  }

  .og-row-preview {
    gap: 0.35rem;
    grid-template-columns: 2.15rem minmax(0, 1fr) auto;
    padding-inline: 0.2rem;
  }

  .og-row-art {
    height: 2.15rem;
    width: 2.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .og-hero-art svg {
    animation: none;
  }
}

/* WordPress block buttons share the craft storefront palette. */
body.lg-origami a.wp-element-button,
body.lg-origami a.wp-block-button__link,
body.lg-origami .wp-element-button,
body.lg-origami a.wp-element-button:visited,
body.lg-origami a.wp-block-button__link:visited,
body.lg-origami a.wp-element-button:hover,
body.lg-origami a.wp-block-button__link:hover,
body.lg-origami .wp-element-button:hover,
body.lg-origami a.wp-element-button:focus,
body.lg-origami a.wp-block-button__link:focus,
body.lg-origami .wp-element-button:focus,
body.lg-origami a.wp-element-button:focus-visible,
body.lg-origami a.wp-block-button__link:focus-visible,
body.lg-origami .wp-element-button:focus-visible,
body.lg-origami .wp-element-button:disabled,
body.lg-origami .wp-element-button[disabled] {
  background-color: #9e4731;
  color: #fffaf5;
}
