:root {
        --x-green: #114b3a;
        --x-green-2: #0d3d2f;
        --x-off: #faf7f0;
        --x-creme: #f4efe3;
        --x-gold: #c8a85a;
        --x-ink: #0f0f0f;
        --x-ink-2: #4a4a44;
        --x-line: rgba(17, 75, 58, 0.18);
        --x-line-on: rgba(244, 239, 227, 0.22);
        --x-title: "IM Fell French Canon", Georgia, serif;
        --x-body: "EB Garamond", "Cardo", Georgia, serif;
        --x-head-h: 68px;
      }
      html { scroll-padding-top: var(--x-head-h); }
      body.x-body { background: var(--x-off); color: var(--x-ink); font-family: var(--x-body); font-size: 18px; line-height: 1.55; }
      body.x-lock { overflow: hidden; }
      .x-site { max-width: none; padding: 0; gap: 0; display: block; }
      .x-site :focus-visible { outline: 2px solid var(--x-gold); outline-offset: 3px; border-radius: 2px; }
      .x-wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
      .x-eyebrow { font-family: var(--x-body); font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 14px; color: var(--x-green); }
      .x-title { font-family: var(--x-title); font-weight: 400; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; color: var(--x-green); letter-spacing: 0.005em; }
      .x-title::after { content: ""; display: block; width: 48px; height: 1px; background: var(--x-gold); margin-top: 18px; }
      .x-center { text-align: center; }
      .x-center .x-title::after { margin-inline: auto; }
      .x-lead { font-size: 19px; color: var(--x-ink-2); max-width: 36em; margin-top: 18px; }
      .x-center .x-lead { margin-inline: auto; }
      .x-band { padding-block: clamp(64px, 10vw, 112px); }
      .x-band--off { background: var(--x-off); }
      .x-band--creme { background: var(--x-creme); }
      .x-band--green { background: var(--x-green); color: var(--x-creme); }
      .x-band--green .x-title, .x-band--green .x-eyebrow { color: var(--x-creme); }
      .x-band--green .x-lead { color: rgba(244, 239, 227, 0.86); }

      .x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; font-family: var(--x-body); font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--x-green); background: var(--x-green); color: var(--x-creme); border-radius: 2px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
      .x-btn:hover { background: var(--x-green-2); }
      .x-btn--line { background: transparent; color: var(--x-green); }
      .x-btn--line:hover { background: var(--x-green); color: var(--x-creme); }
      .x-btn--light { background: var(--x-creme); color: var(--x-green); border-color: var(--x-creme); }
      .x-btn--light:hover { background: transparent; color: var(--x-creme); }
      .x-btn--ghost-light { background: transparent; color: var(--x-creme); border-color: rgba(244, 239, 227, 0.6); }
      .x-btn--ghost-light:hover { background: var(--x-creme); color: var(--x-green); }
      .x-btn--block { width: 100%; }
      .x-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
      .x-link { color: inherit; text-decoration: none; background: linear-gradient(var(--x-gold), var(--x-gold)) no-repeat 0 100% / 0 1px; transition: background-size 0.25s; padding-bottom: 2px; }
      .x-link:hover { background-size: 100% 1px; }
      .x-textbtn { background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; font-size: 16px; color: var(--x-green); cursor: pointer; text-decoration: underline; text-decoration-color: var(--x-gold); text-underline-offset: 4px; }

      .x-head { position: sticky; top: 0; z-index: 40; background: var(--x-green); color: var(--x-creme); border-bottom: 1px solid var(--x-line-on); }
      .x-head__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--x-head-h); }
      .x-logo { display: flex; align-items: center; min-height: 44px; }
      .x-logo img { height: 52px; width: auto; }
      .x-menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
      .x-menu a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--x-creme); }
      .x-head__tools { display: flex; align-items: center; gap: 4px; }
      .x-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; color: var(--x-creme); cursor: pointer; padding: 0; }
      .x-iconbtn svg { width: 24px; height: 24px; }
      .x-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--x-gold); color: var(--x-green-2); font-family: var(--x-body); font-size: 12px; font-weight: 600; line-height: 18px; text-align: center; }
      .x-count[data-n="0"] { display: none; }
      .x-burger { display: none; }
      @media (max-width: 960px) {
        .x-burger { display: inline-flex; }
        .x-nav { position: absolute; left: 0; right: 0; top: var(--x-head-h); background: var(--x-green); border-bottom: 1px solid var(--x-line-on); display: none; }
        .x-nav.is-open { display: block; }
        .x-menu { flex-direction: column; gap: 0; padding: 8px 20px 20px; }
        .x-menu li + li { border-top: 1px solid var(--x-line-on); }
        .x-menu a { width: 100%; min-height: 52px; }
      }

      .x-hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; background: var(--x-green-2); overflow: hidden; color: var(--x-creme); }
      .x-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
      .x-hero__copy { position: relative; padding-block: 72px; max-width: 1160px; width: 100%; margin: 0 auto; padding-inline: 20px; }
      .x-hero__copy > div { max-width: 30rem; }
      .x-hero h1 { font-family: var(--x-title); font-weight: 400; font-size: clamp(42px, 7vw, 76px); line-height: 1.04; color: var(--x-creme); }
      .x-hero .x-eyebrow { color: var(--x-gold); }
      .x-hero__sub { font-size: 21px; font-style: italic; margin: 20px 0 32px; color: rgba(244, 239, 227, 0.9); }
      .x-hero__rule { width: 48px; height: 1px; background: var(--x-gold); margin-top: 22px; }
      @media (max-width: 720px) {
        .x-hero { align-items: flex-end; min-height: 88svh; }
        .x-hero__img { object-position: 72% center; }
        .x-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 61, 47, 0.92) 0%, rgba(13, 61, 47, 0.55) 45%, rgba(13, 61, 47, 0) 75%); z-index: 1; }
        .x-hero__copy { z-index: 2; padding-block: 40px 48px; }
      }

      .x-sobre { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
      .x-sobre__logo { width: 120px; opacity: 0.95; }
      .x-sobre p + p { margin-top: 18px; }
      .x-sobre__text { font-size: 20px; max-width: 38em; margin-top: 28px; color: rgba(244, 239, 227, 0.9); }
      @media (max-width: 720px) { .x-sobre { grid-template-columns: 1fr; } .x-sobre__logo { width: 84px; } }

      .x-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; margin-top: 56px; }
      @media (max-width: 760px) { .x-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 14px; } }
      .x-prod { display: flex; flex-direction: column; }
      .x-prod__img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 2px; background: var(--x-creme); }
      .x-band--creme .x-prod__img { background: var(--x-off); }
      .x-prod h3 { font-family: var(--x-title); font-weight: 400; font-size: clamp(20px, 2.4vw, 25px); line-height: 1.2; color: var(--x-green); margin-top: 18px; }
      .x-prod__line { font-size: 16px; color: var(--x-ink-2); margin-top: 4px; }
      .x-prod__price { font-size: 18px; font-weight: 500; margin: 10px 0 14px; color: var(--x-ink); }
      .x-prod__price--soon { font-style: italic; font-weight: 400; color: var(--x-ink-2); }
      .x-prod .x-btn { margin-top: auto; width: 100%; font-size: 13px; letter-spacing: 0.1em; padding-inline: 10px; }
      .x-finish { display: flex; gap: 0; margin-bottom: 14px; border: 1px solid var(--x-line); border-radius: 2px; width: fit-content; max-width: 100%; }
      .x-finish label { position: relative; }
      .x-finish input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
      .x-finish span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--x-ink-2); }
      .x-finish input:checked + span { background: var(--x-green); color: var(--x-creme); }
      .x-finish input:focus-visible + span { outline: 2px solid var(--x-gold); outline-offset: 2px; }

      .x-intu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
      .x-intu img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
      .x-intu__price { margin-top: 28px; font-size: 20px; color: var(--x-creme); padding-top: 18px; border-top: 1px solid var(--x-line-on); }
      .x-intu__price b { font-weight: 500; }
      @media (max-width: 820px) { .x-intu { grid-template-columns: 1fr; } }
      .x-steps { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
      .x-steps li { border-top: 1px solid var(--x-line); padding-top: 22px; font-size: 19px; }
      .x-steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font-family: var(--x-title); font-size: 40px; line-height: 1; color: var(--x-gold); margin-bottom: 14px; }
      .x-band--green .x-steps li { border-color: var(--x-line-on); }
      @media (max-width: 720px) { .x-steps { grid-template-columns: 1fr; gap: 24px; } }

      .x-card { background: var(--x-creme); color: var(--x-ink); border-radius: 4px; padding: clamp(24px, 5vw, 56px); margin-top: 72px; }
      .x-card .x-title { font-size: clamp(28px, 4vw, 36px); }
      .x-band--green .x-card .x-title, .x-band--green .x-card .x-eyebrow { color: var(--x-green); }
      .x-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin-top: 32px; }
      .x-form .x-full { grid-column: 1 / -1; }
      @media (max-width: 720px) { .x-form { grid-template-columns: 1fr; } }
      .x-field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
      .x-field > label, .x-field > legend { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--x-green); padding: 0; margin-bottom: 6px; }
      .x-input { width: 100%; min-height: 46px; padding: 10px 2px; font: inherit; font-size: 18px; color: var(--x-ink); background: transparent; border: 0; border-bottom: 1px solid var(--x-line); border-radius: 0; transition: border-color 0.2s; }
      .x-input:focus { outline: none; border-bottom-color: var(--x-gold); }
      textarea.x-input { resize: vertical; min-height: 46px; }
      .x-out { margin-top: 28px; border: 1px solid var(--x-line); border-radius: 2px; padding: 20px; background: var(--x-off); }
      .x-out[hidden] { display: none; }
      .x-out textarea { width: 100%; min-height: 220px; font: inherit; font-size: 16px; line-height: 1.5; border: 0; background: transparent; color: var(--x-ink); resize: vertical; }
      .x-out__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
      .x-note { font-size: 15px; color: var(--x-ink-2); font-style: italic; }

      .x-mat { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
      .x-mat li { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--x-line); font-size: 19px; }
      .x-mat li::before { content: "✦"; color: var(--x-gold); font-size: 13px; }
      @media (max-width: 640px) { .x-mat { grid-template-columns: 1fr; } }
      .x-mat-note { margin-top: 32px; font-style: italic; font-size: 20px; color: var(--x-green); }

      .x-foot { background: var(--x-green); color: var(--x-creme); padding-block: 64px 32px; }
      .x-foot__grid { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; }
      .x-foot__logo { width: 110px; }
      .x-foot__tag { font-family: var(--x-title); font-size: 26px; margin-bottom: 20px; }
      .x-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 32px; }
      .x-foot li { min-height: 44px; display: flex; align-items: center; font-size: 16px; }
      .x-foot li small { color: rgba(244, 239, 227, 0.65); margin-left: 6px; font-style: italic; }
      .x-foot__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--x-line-on); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(244, 239, 227, 0.75); }
      .x-foot__base span:last-child::after { content: none; }
      .x-gold { color: #d8bc78; }
      .x-foot li a { display: inline-flex; align-items: center; min-height: 44px; }
      @media (max-width: 640px) { .x-foot__grid { grid-template-columns: 1fr; } }

      .x-scrim { position: fixed; inset: 0; background: rgba(15, 15, 15, 0.45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
      .x-scrim.is-open { opacity: 1; pointer-events: auto; }
      .x-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--x-off); z-index: 70; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); display: flex; flex-direction: column; visibility: hidden; }
      .x-drawer.is-open { transform: none; visibility: visible; }
      @media (prefers-reduced-motion: reduce) { .x-drawer, .x-scrim { transition: none; } }
      .x-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--x-line); }
      .x-drawer__head h2 { font-family: var(--x-title); font-weight: 400; font-size: 26px; color: var(--x-green); }
      .x-drawer .x-iconbtn { color: var(--x-green); }
      .x-drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }
      .x-drawer__foot { border-top: 1px solid var(--x-line); padding: 18px 24px 24px; }
      .x-empty { text-align: center; padding: 64px 0; }
      .x-empty p { font-family: var(--x-title); font-size: 24px; color: var(--x-green); margin-bottom: 20px; }
      .x-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--x-line); }
      .x-item img { width: 76px; height: 76px; object-fit: cover; border-radius: 2px; }
      .x-item h4 { margin: 0; font-family: var(--x-title); font-weight: 400; font-size: 18px; color: var(--x-green); line-height: 1.2; }
      .x-item__meta { font-size: 15px; color: var(--x-ink-2); }
      .x-qty { display: inline-flex; align-items: center; border: 1px solid var(--x-line); margin-top: 8px; }
      .x-qty button { width: 44px; height: 40px; background: none; border: 0; font-size: 20px; color: var(--x-green); cursor: pointer; }
      .x-qty span { min-width: 28px; text-align: center; font-size: 16px; }
      .x-item__right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
      .x-item__right .x-textbtn { font-size: 14px; padding: 0; }
      .x-ship { margin-top: 24px; }
      .x-ship__row { display: flex; gap: 10px; align-items: flex-end; }
      .x-ship__row .x-field { flex: 1; }
      .x-ship__row .x-btn { padding-inline: 14px; font-size: 13px; }
      .x-opts { margin-top: 14px; display: grid; gap: 8px; }
      .x-opts[hidden], .x-site [hidden], .x-drawer [hidden] { display: none; }
      .x-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--x-line); border-radius: 2px; cursor: pointer; min-height: 44px; }
      .x-opt:has(input:checked) { border-color: var(--x-green); background: var(--x-creme); }
      .x-opt input { accent-color: var(--x-green); width: 18px; height: 18px; margin-top: 4px; }
      .x-opt b { font-weight: 500; display: block; font-size: 16px; }
      .x-opt small { color: var(--x-ink-2); font-size: 14px; }
      .x-demo { font-size: 13px; color: var(--x-ink-2); margin-top: 10px; letter-spacing: 0.02em; }
      .x-demo::before { content: "✦ "; color: var(--x-gold); }
      .x-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; margin-bottom: 4px; }
      .x-sum b { font-weight: 500; font-size: 22px; }
      .x-sum-note { font-size: 14px; color: var(--x-ink-2); margin-bottom: 14px; }
      .x-co .x-field { margin-top: 18px; }
      .x-co h3 { font-family: var(--x-title); font-weight: 400; font-size: 22px; color: var(--x-green); margin-top: 16px; }
      .x-or { text-align: center; margin-top: 14px; }

      .x-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--x-green); color: var(--x-creme); padding: 12px 22px; border-radius: 2px; font-size: 16px; letter-spacing: 0.04em; z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; border-bottom: 1px solid var(--x-gold); }
      .x-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
      .x-modal { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 15, 15, 0.5); }
      .x-modal.is-open { display: flex; }
      .x-modal__box { background: var(--x-off); max-width: 440px; width: 100%; padding: 36px 28px 28px; border-radius: 4px; text-align: center; border-top: 2px solid var(--x-gold); }
      .x-modal__box h3 { font-family: var(--x-title); font-weight: 400; font-size: 26px; color: var(--x-green); }
      .x-modal__box p { margin: 14px 0 24px; font-size: 18px; color: var(--x-ink-2); }

      .x-topbar { margin: 0; background: var(--x-green-2); color: var(--x-creme); text-align: center; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; padding: 9px 16px; line-height: 1.4; border-bottom: 1px solid var(--x-line-on); }
      .x-prod__made { font-size: 14px; font-style: italic; color: var(--x-ink-2); margin: -4px 0 14px; }
      .x-prod__made::before { content: "✦ "; color: var(--x-gold); font-style: normal; }
      .x-ph { display: flex; align-items: center; justify-content: center; background: var(--x-green) !important; }
      .x-ph img { width: 42%; height: auto; }
      .x-thumb-ph { background: var(--x-green); padding: 10px; object-fit: contain !important; }
      .x-more { margin-top: 48px; }
      .x-gal__title { margin-top: 56px; color: var(--x-gold) !important; }
      .x-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
      .x-gal img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
      @media (max-width: 760px) { .x-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
      .x-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
      @media (max-width: 760px) { .x-types { grid-template-columns: 1fr; } }
      .x-made-note { font-size: 14px; font-style: italic; color: var(--x-ink-2); margin-top: 14px; }
      .x-co .x-note { margin-top: 16px; }
      @media (min-width: 761px) { .x-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
      @media (max-width: 760px) { .x-finish span { padding: 0 9px; font-size: 12px; letter-spacing: 0.04em; } }

      .x-legal { max-width: 760px; margin: 0 auto; padding-block: 64px 96px; }
      .x-legal h1 { font-family: var(--x-title); font-weight: 400; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; color: var(--x-green); }
      .x-legal h1::after { content: ""; display: block; width: 48px; height: 1px; background: var(--x-gold); margin-top: 18px; }
      .x-legal h2 { font-family: var(--x-title); font-weight: 400; font-size: 24px; color: var(--x-green); margin: 40px 0 8px; }
      .x-legal p, .x-legal li { font-size: 17px; line-height: 1.65; color: var(--x-ink, #0f0f0f); }
      .x-legal ul { padding-left: 20px; }
      .x-legal .x-legal__date { font-size: 14px; opacity: .7; margin-top: 20px; }
      .x-legal__back { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 24px; color: var(--x-green); }
