/* Namcovi Naturals — My account (/my-account/, option B picked by the owner Oct 10 2026):
   red welcome band (sign-in card when signed out; last order + Buy again when signed in), then tiles.
   Theme tokens only (main.css). */

.namcovi-account main { overflow-x: clip; font-family: var(--font-text); }
.namcovi-account main [hidden] { display: none; }   /* the forms and panels are grids; "hidden" must still win */
.ac { padding-block: clamp(28px, 4vw, 56px) clamp(72px, 9vw, 120px); }
.ac-title, .ac-ban__title, .ac-h {
  margin: 0; font-family: var(--font-display); font-weight: 760; font-stretch: var(--display-stretch);
  letter-spacing: var(--display-tracking); line-height: 0.95; color: var(--head);
}
.ac-title { font-size: clamp(2.8rem, 2rem + 4vw, 5.4rem); margin-bottom: clamp(20px, 3vw, 36px); }
.ac-h { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem); margin-bottom: 16px; }
.ac-h3 { margin: 26px 0 10px; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ac-ico { width: 1.2rem; height: 1.2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- form pieces ---------- */
.ac-form { display: grid; gap: 14px; }
.ac-field { display: grid; gap: 6px; }
.ac-field > span { font-family: var(--font-body); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; }
.ac-field input { width: 100%; min-width: 0; padding: 0.85em 1.1em; border: var(--rule) solid var(--ink); border-radius: 12px; background: var(--card); font: 1rem var(--font-text); color: var(--ink); }
.ac-field input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.ac-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ac-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.ac-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; }
.ac-check span { display: flex; flex-direction: column; }
.ac-check small { opacity: 0.7; }
.ac-check--small { align-items: center; font-size: 0.95rem; }
.ac-link { justify-self: start; padding: 0; border: 0; background: none; color: var(--red); font: 600 0.95rem var(--font-text); text-decoration: underline; cursor: pointer; }
.ac-fine { margin: 0; font-size: 0.88rem; opacity: 0.75; text-align: center; }
.ac-perks { margin: 0 0 4px; padding: 0; list-style: none; display: grid; gap: 6px; }
.ac-perks li { padding-left: 1.6em; position: relative; }
.ac-perks li::before { content: ""; position: absolute; left: 0.2em; top: 0.25em; width: 0.45em; height: 0.8em; border: solid var(--green); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ac-soon { margin: 0; padding: 0.8em 1em; border: var(--rule) solid var(--ink); border-radius: 12px; box-shadow: inset 6px 0 0 var(--green); font-size: 0.92rem; font-weight: 600; background: var(--card); color: var(--ink); }
.ac-sample { margin: 0 0 16px; font-size: 0.9rem; font-style: italic; opacity: 0.75; }
.ac-preview { margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed rgba(0, 0, 0, 0.3); font-size: 0.86rem; font-style: italic; opacity: 0.75; }
.ac-sample--on-red { margin: 12px 0 0; opacity: 0.85; }
.ac-help { margin: clamp(28px, 4vw, 44px) 0 0; padding-top: 18px; border-top: var(--rule) dashed var(--ink); font-size: 0.98rem; }
.ac-help a { color: var(--red); font-weight: 700; overflow-wrap: anywhere; }
.ac-signout { display: inline-flex; align-items: center; gap: 8px; padding: 0.6em 1.1em; border: var(--rule) solid var(--ink); border-radius: var(--radius-pill); background: var(--card); color: var(--ink); font: 700 0.78rem var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.ac-signout:hover { background: var(--ink); color: var(--card); }

/* boxes */
.ac-box { padding: clamp(22px, 3vw, 40px); border: var(--rule) solid var(--ink); border-radius: var(--radius); background: var(--card); box-shadow: 6px 8px 0 var(--ink); }

/* sign in / create tabs */
.ac-tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 20px; border: var(--rule) solid var(--ink); border-radius: var(--radius-pill); background: var(--card); }
.ac-tabs button { flex: 1; min-width: 0; padding: 0.75em 0.6em; border: 0; border-radius: var(--radius-pill); background: none; color: var(--ink); font: 700 0.78rem var(--font-body); letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.ac-tabs button[aria-selected="true"] { background: var(--ink); color: var(--card); }
.ac-form--bare .ac-h { display: none; }

/* ---------- orders ---------- */
.ac-order { padding: clamp(16px, 2.4vw, 24px); margin-bottom: 16px; border: var(--rule) solid var(--ink); border-radius: var(--radius); background: var(--card); color: var(--ink); }
.ac-order__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ac-order__no { margin: 0; font: 700 1.15rem var(--font-text); }
.ac-order__date { margin: 2px 0 0; font-size: 0.92rem; opacity: 0.75; }
.ac-chip { flex: none; padding: 0.35em 0.9em; border-radius: var(--radius-pill); font: 700 0.72rem var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--card); }
.ac-chip--red { background: var(--red); }
.ac-chip--green { background: var(--green); }
.ac-order__thumbs { display: flex; gap: 12px; margin: 14px 0; }
.ac-thumb { position: relative; display: grid; place-items: center; width: 60px; aspect-ratio: 1; border-radius: 12px; background: #F7ECEC; }
.ac-thumb img { width: 58%; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.18)); }
.ac-thumb--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; filter: none; }
.ac-thumb b { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: var(--card); font: 700 0.75rem var(--font-body); }
.ac-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 12px; padding: 0; list-style: none; counter-reset: s; }
.ac-steps li { position: relative; padding-top: 18px; font: 700 0.68rem var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.45; }
.ac-steps li::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 4px; background: rgba(0, 0, 0, 0.18); }
.ac-steps li:first-child::before { border-radius: 4px 0 0 4px; }
.ac-steps li:last-child::before { border-radius: 0 4px 4px 0; }
.ac-steps li.is-done { opacity: 1; }
.ac-steps li.is-done::before { background: var(--green); }
.ac-order__more summary { cursor: pointer; font-weight: 700; font-size: 0.95rem; padding: 6px 0; }
.ac-order__rows { margin: 4px 0 8px; padding: 0; list-style: none; }
.ac-order__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed rgba(0, 0, 0, 0.25); font-size: 0.95rem; }
.ac-order__rows small { opacity: 0.7; }
.ac-order__track { margin: 6px 0 0; font-size: 0.92rem; }
.ac-order__track span { opacity: 0.7; }
.ac-order__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ac-order__btns .btn { padding: 0.8em 1.6em; }
.ac-order .ac-soon { margin-top: 12px; }

/* addresses */
.ac-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.ac-card { display: grid; gap: 10px; align-content: start; justify-items: start; padding: 20px; border: var(--rule) solid var(--ink); border-radius: var(--radius); }
.ac-card p { margin: 0; }
.ac-card .ac-soon { justify-self: stretch; }
.ac-card__k { font-family: var(--font-body); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ac-delete { margin-top: 30px; padding: 18px 20px; border: var(--rule) dashed var(--ink); border-radius: var(--radius); }
.ac-delete .ac-h3 { margin-top: 0; }
.ac-delete p { margin: 0 0 10px; font-size: 0.95rem; }
.ac-delete .ac-soon { margin-top: 10px; }
.ac-form > .btn { justify-self: start; }

/* ---------- red band + tiles ---------- */
.ac-ban { padding: clamp(32px, 5vw, 72px) 0 clamp(36px, 5vw, 76px); }
.ac-ban__title { color: var(--card); font-size: clamp(3rem, 2rem + 5.5vw, 7rem); }
.ac-ban__intro { margin: 1em 0 0; max-width: 34em; font-size: clamp(1.02rem, 0.9rem + 0.4vw, 1.25rem); }
.ac--b .ac-box--float { max-width: 520px; margin-top: calc(-1 * clamp(20px, 3vw, 40px)); position: relative; }
.ac--b { padding-top: 0; }
.ac-last { display: grid; gap: 8px; justify-items: start; margin-top: clamp(18px, 3vw, 30px); padding: 18px 20px; border: var(--rule) solid var(--card); border-radius: var(--radius); max-width: 640px; }
.ac-last__k { margin: 0; font: 700 0.74rem var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }
.ac-last__v { margin: 0; font-size: 1.08rem; font-weight: 600; }
.ac-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: clamp(28px, 4vw, 48px); }
.ac-tile { display: grid; gap: 14px; justify-items: start; padding: 22px; border: var(--rule) solid var(--ink); border-radius: var(--radius); background: var(--card); color: var(--ink); font: 1.05rem var(--font-text); text-align: left; cursor: pointer; box-shadow: var(--stamp); }
.ac-tile .ac-ico { width: 1.8rem; height: 1.8rem; color: var(--red); }
.ac-tile[aria-pressed="true"] { background: var(--red); color: var(--card); }
.ac-tile[aria-pressed="true"] .ac-ico { color: var(--card); }
.ac--b .ac-panel { max-width: 820px; padding-top: 30px; }
.ac-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 18px; border-top: var(--rule) dashed var(--ink); }
.ac-foot .ac-help { margin: 0; padding: 0; border: 0; }
@media (max-width: 900px) { .ac-tiles { grid-template-columns: 1fr 1fr; } }

@media (max-width: 560px) {
  .ac-row { grid-template-columns: 1fr; gap: 14px; }
  .ac-tiles { gap: 10px; }
  .ac-tile { padding: 16px; font-size: 0.98rem; }
  .ac-order__thumbs { gap: 10px; }
  .ac-steps li { font-size: 0.58rem; letter-spacing: 0; }
  .ac-order__btns .btn, .ac-order__btns .pill { flex: 1; justify-content: center; }
}
