/* NAFA account area — small additions in the site's own colours (see /build/assets/public-*.css) */
[data-account] [hidden] { display: none !important; }
.acct-ok { color: var(--color-success, #2f6b4f); }
.acct-err { color: var(--color-danger, #a3453f); }
.acct-code { letter-spacing: .5em; font-size: 1.4rem; text-align: center; }
.acct-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--color-line, #ded9d1); padding-bottom: 1.5rem; }
.acct-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0; padding: .3rem; border: 1px solid rgba(17,17,15,.1); border-radius: 999px; background: rgba(243,240,234,.6); width: fit-content; max-width: 100%; overflow-x: auto; }
.acct-tabs button { border-radius: 999px; padding: .6rem 1.1rem; font-size: .875rem; font-weight: 600; color: rgba(17,17,15,.6); white-space: nowrap; }
.acct-tabs button[aria-selected="true"] { background: var(--color-ink, #11110f); color: #fff; }
.acct-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.75rem; padding: .55rem 1.2rem; border-radius: 999px; background: var(--color-ink, #11110f);
  color: #fff; font-size: .875rem; font-weight: 600; border: 1px solid var(--color-ink, #11110f); cursor: pointer; transition: background .2s, color .2s; }
.acct-btn:hover { background: var(--color-brand-orange, #e67e22); border-color: var(--color-brand-orange, #e67e22); }
.acct-btn--line { background: transparent; color: var(--color-ink, #11110f); }
.acct-btn--line:hover { color: #fff; }
.acct-btn--quiet { background: transparent; color: var(--color-ink-soft, #68645e); border-color: var(--color-line, #ded9d1); }
.acct-btn--quiet:hover { color: #fff; }
.acct-btn[disabled] { opacity: .55; cursor: wait; }
.acct-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.acct-spacer { flex: 1; }
.acct-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.acct-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.acct-card { display: grid; gap: .3rem; text-align: start; padding: 1.25rem; border-radius: 1.25rem; border: 1px solid rgba(17,17,15,.1); background: rgba(243,240,234,.6); font-size: .875rem; font-weight: 600; transition: transform .2s, border-color .2s; }
.acct-card:hover { transform: translateY(-2px); border-color: rgba(230,126,34,.4); }
.acct-card__n { font-family: "Cormorant Garamond", serif; font-size: 2.6rem; line-height: 1; color: var(--color-ink, #11110f); }
.acct-pill { display: inline-block; border-radius: 999px; padding: .15rem .65rem; font-size: .75rem; font-weight: 600; border: 1px solid var(--color-line, #ded9d1); background: #fff; }
.acct-pill--green { color: #2f6b4f; background: #eaf4ee; border-color: #c4e0cf; }
.acct-pill--amber { color: #8a6426; background: #fbf1df; border-color: #ecd6ae; }
.acct-pill--red { color: #a3453f; background: #f8e9e7; border-color: #e8c3bf; }
.acct-pill--blue { color: #2c5b86; background: #e8f0f8; border-color: #c3d6ea; }
.acct-box { padding: 1rem 1.2rem; border-radius: 1rem; background: rgba(243,240,234,.7); font-size: .875rem; margin-bottom: 1rem; }
.acct-note { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 1rem; border: 1px solid currentColor; font-size: .875rem; }
.acct-empty { padding: 2.5rem 1rem; text-align: center; border: 1px dashed var(--color-line, #ded9d1); border-radius: 1.25rem; color: var(--color-ink-soft, #68645e); }
.acct-list { display: grid; gap: .75rem; }
.acct-item { display: grid; grid-template-columns: 5rem 1fr auto; gap: 1rem; align-items: center; padding: .75rem; border: 1px solid rgba(17,17,15,.1); border-radius: 1.25rem; }
.acct-item img, .acct-item__ph { width: 5rem; height: 5rem; object-fit: cover; border-radius: .8rem; background: var(--color-paper-deep, #f3f0ea); display: block; }
.acct-item h3 { font-family: "Cormorant Garamond", serif; font-size: 1.4rem; line-height: 1.15; }
.acct-item p { margin-top: .3rem; font-size: .875rem; color: var(--color-ink-soft, #68645e); }
.acct-item__act { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; }
@media (max-width: 640px) { .acct-item { grid-template-columns: 4rem 1fr; } .acct-item img, .acct-item__ph { width: 4rem; height: 4rem; } .acct-item__act { grid-column: 1 / -1; justify-content: flex-start; } }
.acct-h2 { grid-column: 1 / -1; font-family: "Cormorant Garamond", serif; font-size: 2rem; line-height: 1.1; margin: 1.5rem 0 .5rem; }
.acct-form { display: grid; gap: 1rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.acct-sub { padding: 1rem; border-radius: 1.25rem; background: rgba(243,240,234,.5); }
.acct-sub:empty { display: none; }
.acct-field { display: grid; gap: .4rem; }
.acct-form > .acct-field { align-self: start; } /* a field with a tick under it (phone) must not stretch the other boxes in its row */
.acct-field--full, .acct-full { grid-column: 1 / -1; }
.acct-check { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; line-height: 1.5; }
.acct-check input { margin-top: .25rem; accent-color: var(--color-brand-orange, #e67e22); width: 1rem; height: 1rem; }
.acct-small { font-size: .8rem; color: var(--color-ink-soft, #68645e); }
.acct-photos { display: flex; flex-wrap: wrap; gap: .6rem; margin: .5rem 0 .8rem; }
.acct-photos figure { position: relative; }
.acct-photos img { width: 6rem; height: 6rem; object-fit: cover; border-radius: .8rem; }
.acct-photos button { position: absolute; top: .25rem; inset-inline-end: .25rem; width: 1.6rem; height: 1.6rem; border-radius: 999px; background: rgba(17,17,15,.75); color: #fff; line-height: 1; }
.acct-upload { cursor: pointer; }
/* product page: offer / reserve box */
.shop-buy { display: grid; gap: .75rem; }
.shop-buy form { display: grid; gap: .6rem; }
.shop-buy .acct-note:empty { display: none; }
/* "no password needed" note on the sign-in and seller pages */
.acct-nopass { display: flex; gap: .75rem; margin-top: 1rem; padding: .8rem 1rem; border-radius: 1rem; background: #f6efe6; border: 1px solid rgba(214,104,48,.18); font-size: .875rem; line-height: 1.5rem; color: rgba(24,21,17,.78); }
.acct-nopass i { margin-top: .3rem; color: #b5531f; }

/* v36: the product form — sections, photo rows by side (camera or upload), units */
.acct-product { gap: 1.25rem; }
.acct-sec { border: 1px solid rgba(24,21,17,.1); border-radius: 1.25rem; padding: 1.25rem; background: #fff; }
.acct-sec__head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-bottom: .75rem; }
.acct-sec__head .acct-h3 { margin: 0; flex: 1 1 auto; }
.acct-h3 { font-family: inherit; font-size: 1.05rem; font-weight: 700; margin: 0 0 .5rem; color: #181511; }
.acct-form--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 720px) { .acct-form--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acct-units { display: inline-flex; border: 1px solid rgba(24,21,17,.15); border-radius: 999px; padding: 3px; background: #f6efe6; }
.acct-units label { cursor: pointer; }
.acct-units input { position: absolute; opacity: 0; pointer-events: none; }
.acct-units span { display: block; padding: .3rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600; color: rgba(24,21,17,.65); }
.acct-units input:checked + span { background: #181511; color: #fff; }
.acct-units input:focus-visible + span { outline: 2px solid #d66830; outline-offset: 2px; }
.acct-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .75rem; margin-top: .75rem; }
.acct-slot { display: flex; gap: .85rem; align-items: center; padding: .7rem; border: 1.5px dashed rgba(24,21,17,.2); border-radius: 1rem; background: #fbf8f4; transition: border-color .2s, background .2s; }
.acct-slot.is-set { border-style: solid; border-color: rgba(214,104,48,.45); background: #fff; }
.acct-slot.is-busy { opacity: .55; pointer-events: none; }
.acct-slot.is-busy .acct-slot__pic::after { content: ''; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border: 3px solid #d66830; border-top-color: transparent; border-radius: 50%; animation: acct-spin .8s linear infinite; }
@keyframes acct-spin { to { transform: rotate(360deg); } }
.acct-slot__pic { position: relative; flex: 0 0 84px; height: 84px; border-radius: .75rem; overflow: hidden; display: grid; place-items: center; background: #efe6da; color: rgba(24,21,17,.35); font-size: 1.6rem; }
.acct-slot__pic img { width: 100%; height: 100%; object-fit: cover; }
.acct-slot__body { min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.acct-slot__body strong { font-size: .92rem; color: #181511; }
.acct-slot__body small { font-size: .78rem; color: rgba(24,21,17,.55); line-height: 1.3; }
.acct-req { color: #b5531f; }
.acct-slot__btns { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.acct-mini { display: inline-flex; align-items: center; gap: .35rem; min-height: 34px; padding: 0 .7rem; border-radius: 999px; border: 1px solid rgba(24,21,17,.18); background: #fff;
  font-size: .78rem; font-weight: 600; color: #181511; cursor: pointer; }
.acct-mini:hover { border-color: #d66830; color: #b5531f; }
.acct-mini--cam { background: #181511; border-color: #181511; color: #fff; }
.acct-mini--cam:hover { background: #d66830; border-color: #d66830; color: #fff; }
.acct-mini--quiet { border-color: transparent; background: transparent; color: rgba(24,21,17,.55); text-decoration: underline; }
.acct-mini:focus-within, .acct-mini:focus-visible { outline: 2px solid #d66830; outline-offset: 2px; }
.acct-extras { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1rem; }
.acct-extras .is-busy { opacity: .6; pointer-events: none; }
@media (max-width: 420px) { .acct-slot__pic { flex-basis: 68px; height: 68px; } }
.acct-hello { margin: .6rem 0 0; max-width: 34rem; font-size: 1rem; line-height: 1.6; color: rgba(24,21,17,.7); }

/* the seller's path: six steps and what to do now */
.acct-path { margin: 0 0 1.5rem; padding: 1.4rem 1.4rem 1.2rem; border-radius: 1.4rem; background: #181511; color: #fff; }
.acct-path__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: baseline; }
.acct-path__eyebrow { margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #f0a575; }
.acct-path__count { margin: 0; font-size: .75rem; color: rgba(255,255,255,.6); }
.acct-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; margin: 1.1rem 0 0; padding: 0; list-style: none; counter-reset: s; }
.acct-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; }
.acct-steps li:not(:last-child)::after { content: ''; position: absolute; top: 15px; inset-inline-start: calc(50% + 18px); inset-inline-end: calc(-50% + 18px); height: 2px; background: rgba(255,255,255,.18); }
.acct-steps li.is-done:not(:last-child)::after { background: #d66830; }
.acct-steps__dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; border: 2px solid rgba(255,255,255,.28); font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.7); }
.acct-steps li.is-done .acct-steps__dot { background: #d66830; border-color: #d66830; color: #fff; }
.acct-steps li.is-now .acct-steps__dot { background: #fff; border-color: #fff; color: #181511; box-shadow: 0 0 0 5px rgba(214,104,48,.45); }
.acct-steps__label { font-size: .74rem; line-height: 1.25; color: rgba(255,255,255,.62); }
.acct-steps li.is-now .acct-steps__label { color: #fff; font-weight: 700; }
.acct-path__now { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.14); }
.acct-path__now p { flex: 1 1 18rem; margin: 0; font-size: .95rem; line-height: 1.55; color: rgba(255,255,255,.88); }
.acct-path .acct-btn { background: #d66830; border-color: #d66830; color: #fff; }
.acct-path .acct-btn:hover { background: #fff; border-color: #fff; color: #181511; }
@media (max-width: 640px) {
  .acct-steps { grid-template-columns: 1fr; gap: .55rem; }
  .acct-steps li { flex-direction: row; text-align: start; }
  .acct-steps li:not(:last-child)::after { top: 34px; bottom: -10px; height: auto; width: 2px; inset-inline-start: 15px; inset-inline-end: auto; }
  .acct-steps__label { font-size: .85rem; }
}
/* the first-upload screen */
.acct-start { padding: 2.2rem 1.5rem; border: 1.5px dashed rgba(24,21,17,.2); border-radius: 1.4rem; background: #fbf8f4; text-align: center; }
.acct-start__icon { font-size: 2.2rem; color: #d66830; }
.acct-start h3 { margin: .8rem 0 0; font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif); font-size: 1.9rem; font-weight: 500; color: #181511; }
.acct-start ul { display: inline-flex; flex-direction: column; gap: .35rem; margin: 1rem auto 1.4rem; padding: 0; list-style: none; text-align: start; font-size: .9rem; color: rgba(24,21,17,.7); }
.acct-start li::before { content: '✓'; margin-inline-end: .55rem; color: #b5531f; font-weight: 700; }
/* a required field left empty is marked when sending */
[data-account] .acct-field.is-missing .field-control { border-color: #c2410c; box-shadow: 0 0 0 3px rgba(194, 65, 12, .15); }
[data-account] .acct-field.is-missing .field-label { color: #c2410c; }

/* "What would you like to publish?" — one big button per kind */
.acct-choose { display: grid; gap: 1rem; }
.acct-choose .acct-h2 { margin-bottom: 0; }
.acct-choose__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin: .5rem 0 1rem; }
.acct-choose__card { display: grid; justify-items: start; gap: .5rem; padding: 1.75rem 1.5rem; border-radius: 1.4rem; border: 1.5px solid rgba(24,21,17,.14); background: #fbf8f4; text-align: start; cursor: pointer; transition: transform .15s, border-color .15s, background .15s; }
.acct-choose__card:hover, .acct-choose__card:focus-visible { transform: translateY(-2px); border-color: #d66830; background: #fff6ef; outline: none; }
.acct-choose__card:focus-visible { box-shadow: 0 0 0 4px rgba(214,104,48,.25); }
.acct-choose__card i { font-size: 2rem; color: #d66830; }
.acct-choose__name { font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif); font-size: 1.9rem; line-height: 1.1; font-weight: 500; color: #181511; }
.acct-choose__hint { font-size: .9rem; line-height: 1.5; color: rgba(24,21,17,.65); }
@media (prefers-reduced-motion: reduce) { .acct-choose__card { transition: none; } }

/* the short "three quick details" form for a new seller */
.acct-form--short { max-width: 34rem; grid-template-columns: 1fr; }
/* reminder to complete the profile, shown once a piece has been sent */
.acct-nudge { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin: 0 0 1.25rem; padding: 1.1rem 1.3rem; border-radius: 1.25rem; border: 1.5px solid rgba(214,104,48,.35); background: #fff6ef; }
.acct-nudge > i { font-size: 1.6rem; color: #d66830; }
.acct-nudge > div { flex: 1 1 16rem; }
.acct-nudge strong { display: block; font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif); font-size: 1.45rem; font-weight: 500; line-height: 1.2; color: #181511; }
.acct-nudge p { margin-top: .25rem; font-size: .9rem; line-height: 1.55; color: rgba(24,21,17,.7); }
[data-account] .acct-field.is-hint .field-control { border-color: #d66830; box-shadow: 0 0 0 3px rgba(214,104,48,.18); }
[data-account] .acct-check.is-missing { color: #c2410c; }
