:root {
  --bg: #f4f0e7;
  --surface: #fffdf9;
  --surface-soft: #f5f5ef;
  --surface-mint: #dceee2;
  --text: #133033;
  --text-strong: #092225;
  --text-muted: rgba(9, 34, 37, 0.72);
  --line: rgba(0, 43, 45, 0.12);
  --brand: #002b2d;
  --brand-2: #bcedcf;
  --brand-2-strong: rgba(188, 237, 207, 0.7);
  --brand-3: #6f8f80;
  --shadow: 0 24px 60px rgba(0, 34, 37, 0.1);
  --shadow-soft: 0 16px 32px rgba(0, 34, 37, 0.08);
  --container: min(1160px, calc(100% - 32px));
  --site-header-offset: 132px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--site-header-offset);
}

main [id],
.jp-section[id] {
  scroll-margin-top: var(--site-header-offset);
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(188, 237, 207, 0.38), transparent 30%),
    linear-gradient(180deg, #f7f4ed 0%, #f4f0e7 40%, #f0ede5 100%);
  color: var(--text);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  font-weight: revert;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.announcement-bar {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.announcement-inner {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.announcement-inner p {
  margin: 0;
}

.announcement-inner a {
  color: #bcedcf;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 249, 0.82);
  border-bottom: 1px solid rgba(0, 43, 45, 0.08);
}

.header-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
}

.brand-link {
  min-width: 0;
}

.brand-link img {
  width: clamp(150px, 45vw, 320px);
  min-width: 0;
  max-width: 100%;
}

.header-nav {
  display: none;
  gap: 10px;
  align-items: center;
}

.header-nav a,
.header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background-color 160ms ease, color 160ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible,
.header-link:hover,
.header-link:focus-visible {
  background: rgba(188, 237, 207, 0.44);
  color: var(--text-strong);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.nav-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: calc(1.45rem + 18px);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 43, 45, 0.14);
  background: rgba(255, 253, 249, 0.92);
  color: var(--text-strong);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
}

.nav-button:hover {
  background: rgba(188, 237, 207, 0.3);
  border-color: rgba(0, 43, 45, 0.18);
}

.nav-button:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 3px;
}

.nav-button-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.hero-section,
.shop-section,
.ritual-section,
.ingredients-section,
.story-section,
.testimonials-section,
.instagram-section,
.faq-section,
.newsletter-section,
.document-section {
  padding: 80px 0;
}

.hero-grid,
.two-column,
.instagram-grid,
.story-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  align-items: center;
}

.section-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(0, 43, 45, 0.6);
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  color: var(--text-strong);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  max-width: 12ch;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.6rem;
  line-height: 1;
}

.hero-subtitle,
.jp-section-copy,
.story-card p,
.ingredient-card p,
.ritual-step p,
.newsletter-shell p,
.document-content p,
.faq-content p,
.product-card p,
.instagram-copy p {
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-copy {
  line-height: 1.7;
}

.hero-subtitle {
  max-width: 60ch;
  font-size: 1.05rem;
  margin: 20px 0 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 18px;
  color: rgba(0, 43, 45, 0.62);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(0, 43, 45, 0.08);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 0.75;
  object-fit: cover;
  object-position: center;
  filter: sepia(0.035) saturate(0.94) contrast(0.97) brightness(1.015);
}

.hero-visual::after,
.ritual-image-frame::after,
.story-image-card::after,
.instagram-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(246, 232, 204, 0.22);
  mix-blend-mode: soft-light;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head .jp-section-copy {
  max-width: 42ch;
  margin: 0;
}

.product-grid {
  display: grid;
  gap: 20px;
}

.ingredient-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, 210px);
  justify-content: center;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(0, 43, 45, 0.08);
  border-radius: 28px;
  /* overflow: hidden; */
  box-shadow: var(--shadow-soft);
}

.product-card-media {
  position: relative;
  padding: 22px;
  min-height: 280px;
  background: white;
}

.product-card-media::after {
  content: "";
  position: absolute;
  inset: auto 18px 14px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.44);
  filter: blur(28px);
}

.product-card-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 280px;
  object-fit: contain;
  border-radius: 22px;
}

.product-badge {
    z-index: 2;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    object-fit: unset;
    width: fit-content;
    display: block;
}

.product-badge-outer {
    padding: 8px 12px;
    border-radius: 10px;
    background-color: hsl(94 45% 93% / 1);
    width: fit-content;
    position: relative;
    top: -11px;
    left: -11px;
    border: 1px solid hsl(156 19% 86% / 1);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}

.product-card-meta {
  display: grid;
  gap: 12px;
}

.product-card-meta p:first-child,
.product-card-meta p:last-child {
  margin: 0;
}

.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand);
}

.ritual-section {
  background: linear-gradient(180deg, rgba(188, 237, 207, 0.18), rgba(188, 237, 207, 0));
}

.ritual-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 7;
  margin-top: 24px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.ritual-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ritual-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ritual-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(0, 43, 45, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.ritual-step-index {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-2-strong);
  font-weight: 800;
}

.ingredients-section {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.4), rgba(220, 238, 226, 0.18));
}

.ingredient-showcase {
  display: block;
}

.ingredient-card,
.story-card,
.instagram-card,
.faq-item,
.newsletter-shell,
.document-shell,
.confirmation-shell,
.admin-panel,
.admin-product-card {
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(0, 43, 45, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.ingredient-card,
.story-card,
.document-shell,
.confirmation-shell,
.admin-panel,
.admin-product-card {
  padding: 26px;
}

.ingredient-card {
  display: flex;
  flex: 1 1 240px;
  flex-direction: column;
  gap: 8px;
  min-width: min(100%, 240px);
  max-width: min(100%, 280px);
}

.ingredient-card-image {
  border-radius: 18px;
  filter: sepia(0.3);
}

.ingredient-card > .ingredient-card-image:last-child {
  margin-top: auto;
}

.confirmation-shell,
.confirmation-summary,
.confirmation-panel,
.confirmation-items {
  display: grid;
  gap: 20px;
}

.confirmation-summary {
  margin-top: 28px;
}

.confirmation-meta {
  display: grid;
  gap: 16px;
  margin: 0;
}

.confirmation-meta dt {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 43, 45, 0.56);
}

.confirmation-meta dd {
  margin: 0;
  color: var(--text-strong);
}

.confirmation-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 43, 45, 0.1);
}

.confirmation-item img {
  width: 76px;
  height: 92px;
  object-fit: contain;
  border-radius: 16px;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.confirmation-total {
  margin-top: 4px;
}

.ingredient-title,
.footer-heading {
  margin: 0 0 7px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.ingredient-copy {
  margin-top: 0;
}

.ingredient-card p:last-child {
  margin-bottom: 0;
}

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

.story-card-dark {
  background:
    linear-gradient(135deg, rgba(0, 43, 45, 0.98), rgba(9, 52, 54, 0.96)),
    url("/image/brand/monogram-pattern.png") center/320px auto;
  color: rgba(255, 255, 255, 0.84);
}

.story-card-dark .section-kicker,
.story-card-dark h2,
.story-card-dark p {
  color: inherit;
}

.story-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.story-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.story-copy {
  display: grid;
  gap: 14px;
}

.story-card > h2 {
  margin: 22px 0 34px;
}

.story-copy p {
  margin: 0;
}

.testimonials-section .jp-testimonial-grid {
  gap: 20px;
  align-items: stretch;
}

.testimonials-section .jp-quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 100%;
  border-radius: 28px;
  border-color: rgba(0, 43, 45, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.96), rgba(220, 238, 226, 0.74)),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.testimonials-section .jp-quote-card-quote {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.testimonials-section .jp-quote-card-quote::before,
.testimonials-section .jp-quote-card-quote::after {
  color: rgba(0, 43, 45, 0.34);
}

.testimonials-section .jp-quote-card-attribution {
  margin-top: auto;
  font-size: 0;
  line-height: 0;
}

.testimonials-section .jp-quote-card-attribution > span[aria-hidden="true"] {
  display: none;
}

.testimonials-section .jp-quote-card-name,
.testimonials-section .jp-quote-card-meta,
.testimonials-section .jp-quote-card-location {
  display: block;
  font-size: 0.94rem;
  line-height: 1.4;
}

.testimonials-section .jp-quote-card-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  display: inline;
  font-weight: 400;
}

.testimonials-section .jp-quote-card-meta,
.testimonials-section .jp-quote-card-location {
  margin-top: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(0, 43, 45, 0.58);
  font-size: 11px;
  display: inline;
  margin-left: 10px;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--brand);
  font-weight: 800;
}

.inline-link-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.instagram-inline-link .inline-link-icon {
  width: 20px;
  height: 20px;
}

.instagram-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.instagram-card img {
  display: block;
  aspect-ratio: 16 / 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.faq-list {
  display: grid;
  gap: 20px;
}

.faq-column {
  display: grid;
  gap: 20px;
  align-content: start;
}

.faq-item {
  overflow: hidden;
  height: fit-content;
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
}

.faq-toggle-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item:not(.jp-is-collapsed) .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 24px 24px;
}

.faq-content a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.newsletter-shell {
  display: grid;
  gap: 24px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.92), rgba(220, 238, 226, 0.72));
}

.jp-newsletter-form,
.admin-login-form,
.settings-form,
.product-form,
.upload-form {
  display: grid;
  gap: 14px;
}

.upload-preview-shell {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(0, 43, 45, 0.08);
  background: rgba(255, 255, 255, 0.62);
}

.upload-preview-shell.is-empty {
  justify-items: stretch;
}

.upload-preview-thumb {
  width: 120px;
  height: 140px;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(0, 43, 45, 0.1);
  background: rgba(188, 237, 207, 0.24);
  box-shadow: var(--shadow-soft);
}

.upload-preview-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.jp-newsletter-form {
  grid-template-columns: 1fr;
}

.jp-newsletter-form .jp-btn {
  width: fit-content;
}

.newsletter-status {
  margin: 0;
  font-size: 0.95rem;
}

.site-footer {
  padding: 44px 0 52px;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.86);
}

.jp-footer-grid {
  display: grid;
  gap: 24px;
}

.footer-logo {
  width: min(280px, 100%);
}

.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.document-body .site-header {
  position: static;
}

.document-main {
  min-height: calc(100vh - 300px);
}

.document-content {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.ndua-modal .jp-modal-box {
  padding: 28px;
}

.product-modal-shell,
.cart-modal-shell {
  display: grid;
  /* gap: 22px; */
}

.product-modal-media {
    border-radius: 24px;
    overflow: hidden;
    padding: 16px 16px 28px;
}

.product-modal-media img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 18px;
}

.product-modal-copy,
.cart-items,
.cart-empty {
  display: grid;
  gap: 14px;
}

.jp-modal-close {
  align-self: start;
  justify-self: end;
  border: 0;
  background: rgba(0, 43, 45, 0.08);
  color: var(--brand);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
}

.quick-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-highlights span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(188, 237, 207, 0.44);
  font-size: 0.9rem;
}

.cart-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 43, 45, 0.1);
}

.cart-item img {
  width: 76px;
  height: 92px;
  object-fit: contain;
  border-radius: 16px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 43, 45, 0.08);
  cursor: pointer;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  margin-bottom: 10px;
}

.cart-checkout-panel {
  display: grid;
  gap: 10px;
}

.checkout-method-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkout-helper,
.paypal-status {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.admin-body {
  background:
    radial-gradient(circle at top, rgba(188, 237, 207, 0.36), transparent 30%),
    linear-gradient(180deg, #f7f4ed 0%, #f4f0e7 100%);
}

.admin-shell {
  padding: 32px 0 80px;
}

.admin-grid,
.product-admin-grid {
  display: grid;
  gap: 20px;
}

.admin-panel + .admin-panel {
  margin-top: 20px;
}

.admin-panel h2,
.admin-product-card h3 {
  margin-bottom: 14px;
}

.admin-sections {
  padding: 24px;
}

.admin-section-pane {
  display: grid;
  gap: 16px;
}

.collection-editor {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(0, 43, 45, 0.08);
  background: rgba(255, 255, 255, 0.54);
}

.collection-editor-top,
.collection-item-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.collection-editor-top h3,
.collection-item-title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.1;
}

.collection-list {
  display: grid;
  gap: 14px;
}

.collection-item {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(0, 43, 45, 0.1);
  background: rgba(255, 253, 249, 0.92);
}

.collection-item-fields {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two-up {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.field-label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.product-form-actions,
.admin-login-actions,
.admin-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.helper {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.status-line {
  margin: 0;
  min-height: 1.2em;
  color: var(--brand);
  font-weight: 700;
}

.subscriber-list,
.orders-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.orders-list {
  padding-left: 0;
  list-style: none;
  gap: 18px;
}

.order-pagination {
  margin-top: 22px;
  justify-content: flex-start;
}

.order-pagination .jp-pagination-controls {
  max-width: 100%;
}

.paypal-filter-panel {
  display: grid;
  gap: 10px;
  margin: 0;
}

.paypal-filter-disclosure {
  margin: 18px 0 22px;
  border: 1px solid rgba(0, 43, 45, 0.08);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.paypal-filter-toggle {
  padding-block: 18px;
}

.paypal-filter-toggle-copy {
  display: grid;
  gap: 4px;
}

.paypal-filter-toggle-title {
  color: var(--text-strong);
  font-size: 0.95rem;
  font-weight: 800;
}

.paypal-filter-toggle-summary {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.paypal-filter-disclosure.jp-is-collapsed .paypal-filter-toggle-summary {
  opacity: 1;
}

.paypal-filter-disclosure:not(.jp-is-collapsed) .paypal-filter-toggle-summary {
  opacity: 0.9;
}

.paypal-filter-group {
  display: grid;
  gap: 8px;
}

.paypal-filter-label {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.paypal-filter-bar {
  gap: 10px;
}

.paypal-filter-chip {
  width: fit-content;
  max-width: min(100%, 19rem);
  border: 1px solid transparent;
  padding: 5px 11px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: normal;
  text-wrap: balance;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.paypal-filter-chip:hover {
  transform: translateY(-1px);
}

.paypal-filter-chip:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--brand) 48%, white);
  outline-offset: 2px;
}

.paypal-filter-chip-all {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-strong);
  border-color: rgba(0, 43, 45, 0.08);
}

.paypal-filter-chip-all.jp-chip-active {
  background: color-mix(in oklab, var(--brand) 18%, white);
  color: var(--text-strong);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--brand) 22%, transparent);
}

.paypal-filter-chip.status-success {
  background: color-mix(in oklab, #2f8a57 14%, white);
  color: #245e3c;
  border-color: color-mix(in oklab, #2f8a57 22%, transparent);
}

.paypal-filter-chip.status-success.jp-chip-active {
  background: color-mix(in oklab, #2f8a57 78%, white);
  color: #f6fff8;
  box-shadow: 0 0 0 1px color-mix(in oklab, #2f8a57 36%, transparent);
}

.paypal-filter-chip.status-warning {
  background: color-mix(in oklab, #d68a1f 16%, white);
  color: #7a4a00;
  border-color: color-mix(in oklab, #d68a1f 22%, transparent);
}

.paypal-filter-chip.status-warning.jp-chip-active {
  background: color-mix(in oklab, #d68a1f 70%, white);
  color: #392100;
  box-shadow: 0 0 0 1px color-mix(in oklab, #d68a1f 34%, transparent);
}

.paypal-filter-chip.status-danger {
  background: color-mix(in oklab, #ba4f4a 16%, white);
  color: #7f2b28;
  border-color: color-mix(in oklab, #ba4f4a 22%, transparent);
}

.paypal-filter-chip.status-danger.jp-chip-active {
  background: color-mix(in oklab, #ba4f4a 76%, white);
  color: #fff6f5;
  box-shadow: 0 0 0 1px color-mix(in oklab, #ba4f4a 34%, transparent);
}

.paypal-filter-chip.status-neutral {
  background: color-mix(in oklab, #8a8f94 12%, white);
  color: #3f4a4f;
  border-color: color-mix(in oklab, #8a8f94 20%, transparent);
}

.paypal-filter-chip.status-neutral.jp-chip-active {
  background: color-mix(in oklab, #8a8f94 56%, white);
  color: #122124;
  box-shadow: 0 0 0 1px color-mix(in oklab, #8a8f94 28%, transparent);
}

.paypal-filter-summary {
  margin: 0;
}

.order-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(188, 237, 207, 0.35), transparent 32%),
    radial-gradient(circle at bottom right, rgba(230, 215, 192, 0.34), transparent 30%),
    linear-gradient(145deg, rgba(255, 253, 249, 0.96), rgba(249, 245, 237, 0.94));
  box-shadow: 0 24px 56px rgba(0, 34, 37, 0.08);
}

.order-card::before,
.order-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.order-card::before {
  top: -92px;
  left: -38px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(188, 237, 207, 0.34), rgba(188, 237, 207, 0));
}

.order-card::after {
  right: -76px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(230, 215, 192, 0.36), rgba(230, 215, 192, 0));
}

.order-card h3,
.order-card p,
.order-card dt,
.order-card dd {
  margin: 0;
}

.order-card-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.order-card-top,
.order-card-main,
.order-card-side,
.order-card-fields {
  display: grid;
  gap: 10px;
}

.order-card-top {
  gap: 18px;
}

.order-card-main {
  gap: 7px;
}

.order-card-statuses {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 16px;
  row-gap: 8px;
}

.order-card-status-pair {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 7px;
  row-gap: 5px;
}

.order-card-status-label {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.order-card .order-card-status {
  width: fit-content;
  max-width: min(100%, 19rem);
  cursor: default;
  pointer-events: none;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--text-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: none;
  white-space: normal;
  text-wrap: balance;
}

.order-card .order-card-status.status-success {
  background: color-mix(in oklab, #2f8a57 78%, white);
  color: #f6fff8;
}

.order-card .order-card-status.status-warning {
  background: color-mix(in oklab, #d68a1f 70%, white);
  color: #392100;
}

.order-card .order-card-status.status-danger {
  background: color-mix(in oklab, #ba4f4a 76%, white);
  color: #fff6f5;
}

.order-card .order-card-status.status-neutral {
  background: color-mix(in oklab, #8a8f94 56%, white);
  color: #122124;
}

.order-card h3 {
  max-width: 14ch;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  align-self: end;
}

.order-card-email,
.order-card-date,
.order-card-total-label,
.order-card-fields dt,
.order-card-item-meta {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.order-card-email {
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.order-card-side {
  align-content: space-between;
  gap: 18px;
}

.order-card-date,
.order-card-total {
  text-align: left;
}

.order-card-date {
  justify-self: start;
}

.order-card-total {
  width: min(100%, 240px);
  border-radius: 24px;
  border: 1px solid rgba(188, 237, 207, 0.56);
  background: linear-gradient(180deg, rgba(220, 238, 226, 0.85), rgba(220, 238, 226, 0.52));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.order-card-total .jp-card-body {
  padding: 18px 18px 16px;
}

.order-card-total-value {
  color: var(--text-strong);
  font-size: 1.72rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.order-card-items {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-card-item {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: none;
}

.order-card-item-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
}

.order-card-item-thumb {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: contain;
}

.order-card-item-thumb-fallback {
  background: linear-gradient(135deg, rgba(188, 237, 207, 0.92), rgba(230, 215, 192, 0.72));
}

.order-card-item-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.order-card-item-name,
.order-card-item-value {
  color: var(--text-strong);
  font-weight: 700;
}

.order-card-item-name {
  font-size: 1rem;
}

.order-card-item-meta {
  font-size: 0.9rem;
}

.order-card-item-value {
  justify-self: end;
  font-size: 0.95rem;
  text-align: right;
}

.order-card-fields {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(0, 43, 45, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.48);
}

.order-card-fields {
  gap: 12px;
}

.order-card-fields dt {
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.order-card-fields dd {
  color: var(--text-strong);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.93rem;
  overflow-wrap: anywhere;
}

@media (min-width: 740px) {
  .header-top {
    display: flex;
    justify-content: space-between;
  }

  .header-nav {
    display: flex;
  }

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

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

  .jp-newsletter-form {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .jp-newsletter-form .newsletter-status {
    grid-column: 1 / -1;
  }

  .two-column,
  .instagram-grid,
  .story-grid,
  .confirmation-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ritual-section .two-column > :first-child {
    align-self: start;
  }

  .ritual-section .ritual-steps {
    align-self: end;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 1.82fr);
  }

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

  .form-grid.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-card-top {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    align-items: stretch;
  }

  .order-card-side {
    justify-items: end;
  }

  .order-card-date,
  .order-card-total {
    text-align: right;
  }

  .order-card-date {
    justify-self: end;
  }

  .order-card-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-item-fields {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 739px) {
  .hero-section,
  .shop-section,
  .ritual-section,
  .ingredients-section,
  .story-section,
  .testimonials-section,
  .instagram-section,
  .faq-section,
  .newsletter-section,
  .document-section {
    padding: 56px 0;
  }

  .announcement-inner,
  .header-top,
  .section-head {
    flex-direction: column;
  }

  .section-head {
    align-items: stretch;
  }

  .section-head .jp-section-copy {
    max-width: none;
  }

  .hero-visual img {
    aspect-ratio: 1 / 1;
  }

  .ritual-image-frame {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-top: 24px;
  }

  .story-card-dark {
    order: 1;
  }

  .story-image-card-story {
    order: 2;
  }

  .story-card-light {
    order: 3;
  }

  .story-image-card-meaning {
    order: 4;
  }
}