/* AShopper customer account area (storefront only). Landing = tile grid; inner pages = sidebar layout. */
body:not(:has(.control-shell)) .acct { --acct-panel: rgba(10, 28, 51, 0.92); --acct-panel-2: rgba(8, 24, 44, 0.95); --acct-bd: rgba(131, 199, 255, 0.16);
  --acct-tx: rgba(236, 247, 255, 0.92); --acct-mute: rgba(214, 232, 248, 0.68); --acct-teal: #3cd2c4; --acct-teal-2: #24adc1; --acct-green: #8ef59a;
  --acct-badge: #cdeef0; color: #0b1f3a; padding-top: 1.25rem; padding-bottom: 3rem; }
.acct .ui-icon { flex: none; }
.acct a { text-underline-offset: 3px; }

/* ---------- inner pages ---------- */
.acct-crumbs { display: flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; color: #3d4f66; margin-bottom: 0.9rem; }
.acct-crumbs a { color: #127a8a; text-decoration: none; }
.acct-crumbs a:hover { text-decoration: underline; }
.acct-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.acct-side { position: sticky; top: 1rem; border-radius: 16px; background: var(--acct-panel); border: 1px solid var(--acct-bd); padding: 1rem 0.7rem; color: var(--acct-tx); }
.acct-side__who { display: flex; gap: 0.7rem; align-items: center; padding: 0 0.5rem 0.9rem; border-bottom: 1px solid var(--acct-bd); margin-bottom: 0.6rem; }
.acct-side__who strong { display: block; color: #fff; font-size: 0.95rem; line-height: 1.2; word-break: break-word; }
.acct-side__who a { display: inline-flex; gap: 0.3rem; align-items: center; color: var(--acct-mute); font-size: 0.78rem; text-decoration: none; }
.acct-side__who a:hover { color: var(--acct-teal); }
.acct-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #0b2a3a;
  background: linear-gradient(135deg, var(--acct-teal), var(--acct-green)); }
.acct-side__group { display: flex; flex-direction: column; gap: 2px; margin-top: 0.55rem; }
.acct-side__label { padding: 0.2rem 0.6rem; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(214, 232, 248, 0.5); }
.acct-side__link { display: flex; align-items: center; gap: 0.65rem; padding: 0.5rem 0.65rem; border-radius: 10px; color: var(--acct-tx); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.acct-side__link .ui-icon { color: var(--acct-teal); }
.acct-side__link:hover { background: rgba(60, 210, 196, 0.1); color: #fff; text-decoration: none; }
.acct-side__link.is-active { background: rgba(60, 210, 196, 0.16); color: #fff; box-shadow: inset 3px 0 0 var(--acct-teal); }
.acct-side__link.is-active .ui-icon { color: var(--acct-green); }

.acct-main { min-width: 0; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.acct-head h1 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: #0b1f3a; }
.acct-head p { margin: 0.3rem 0 0; color: #3d4f66; max-width: 62ch; }
.acct-head__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.acct-card { border-radius: 16px; background: var(--acct-panel); border: 1px solid var(--acct-bd); color: var(--acct-tx); padding: 1.15rem 1.25rem; margin-bottom: 1rem; }
.acct-card h2 { margin: 0 0 0.3rem; font-size: 1.12rem; color: #fff; display: flex; align-items: center; gap: 0.5rem; }
.acct-card h2 .ui-icon { color: var(--acct-teal); }
.acct-card h3 { margin: 0; font-size: 1rem; color: #fff; }
.acct-card p { margin: 0.25rem 0; }
.acct-card .acct-muted, .acct-muted { color: var(--acct-mute); font-size: 0.86rem; }
.acct-card a:not(.button):not(.cl-btn) { color: var(--acct-teal); }
.acct-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.acct-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.acct-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }

.acct-pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; border: 1px solid; white-space: nowrap; }
.acct-pill--ok { background: rgba(99, 244, 109, 0.14); color: #b9ffbf; border-color: rgba(99, 244, 109, 0.35); }
.acct-pill--info { background: rgba(60, 210, 196, 0.14); color: #bff3ee; border-color: rgba(60, 210, 196, 0.38); }
.acct-pill--warn { background: rgba(255, 196, 87, 0.15); color: #ffd98a; border-color: rgba(255, 196, 87, 0.4); }
.acct-pill--bad { background: rgba(255, 107, 107, 0.15); color: #ffb3b3; border-color: rgba(255, 107, 107, 0.4); }
.acct-pill--plain { background: rgba(131, 199, 255, 0.12); color: #d8f1ff; border-color: rgba(131, 199, 255, 0.22); }

.acct-empty { text-align: center; padding: 2rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.acct-empty h3 { margin: 0.4rem 0 0; color: #fff; }
.acct-empty p { color: var(--acct-mute); max-width: 46ch; margin: 0 0 0.6rem; }

/* forms */
.acct-form { display: grid; gap: 0.8rem; }
.acct-form .acct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.acct-form .acct-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acct-form label, .acct-field { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.82rem; font-weight: 700; color: rgba(236, 247, 255, 0.85); }
.acct-form label small { font-weight: 500; color: var(--acct-mute); }
.acct-form input[type=text], .acct-form input[type=email], .acct-form input[type=tel], .acct-form input[type=password], .acct-form input[type=search],
.acct-form select, .acct-form textarea, .acct-input {
  width: 100%; border-radius: 10px; border: 1px solid rgba(131, 199, 255, 0.26); background: rgba(255, 255, 255, 0.05); color: #fff; padding: 0.6rem 0.75rem; font: inherit; font-size: 0.92rem; font-weight: 500; }
.acct-form select option, .acct-form select optgroup { color: #0b1f3a; background: #fff; }
.acct-form textarea { min-height: 90px; resize: vertical; }
.acct-form input:focus, .acct-form select:focus, .acct-form textarea:focus, .acct-input:focus { outline: 2px solid rgba(60, 210, 196, 0.7); outline-offset: 1px; border-color: transparent; }
.acct-phone { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 0.5rem; }
.acct-check { flex-direction: row !important; align-items: center; gap: 0.5rem !important; font-weight: 600 !important; }
.acct-check input { width: 18px; height: 18px; accent-color: var(--acct-teal); }
.acct-actions { display: flex; gap: 0.55rem; flex-wrap: wrap; align-items: center; }
.acct-linkbtn { appearance: none; background: none; border: 0; padding: 0; color: var(--acct-teal); font: inherit; font-size: 0.86rem; cursor: pointer; display: inline-flex; gap: 0.3rem; align-items: center; }
.acct-linkbtn:hover { text-decoration: underline; }
.acct-linkbtn--danger { color: #ffb3b3; }
.acct .cl-btn .ui-icon { margin-right: 0.15rem; vertical-align: -3px; }

/* orders */
.acct-tabs { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(11, 31, 58, 0.14); margin-bottom: 0.9rem; }
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tabs a { flex: none; padding: 0.6rem 0.9rem; color: #3d4f66; text-decoration: none; font-weight: 700; font-size: 0.9rem; border-bottom: 3px solid transparent; }
.acct-tabs a em { font-style: normal; font-size: 0.75rem; margin-left: 0.25rem; padding: 0 0.4rem; border-radius: 999px; background: rgba(11, 31, 58, 0.08); }
.acct-tabs a.is-active { color: #0b1f3a; border-bottom-color: var(--acct-teal-2); }
.acct-filter { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.acct-filter input[type=search] { flex: 1 1 240px; }
.acct-filter select { flex: 0 0 auto; width: auto; }
.acct-filter input, .acct-filter select { border-radius: 10px; border: 1px solid rgba(11, 31, 58, 0.2); background: #fff; color: #0b1f3a; padding: 0.55rem 0.75rem; font: inherit; font-size: 0.9rem; }
.acct-order { padding: 0; overflow: hidden; }
.acct-order__top { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding: 0.8rem 1.2rem; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--acct-bd); font-size: 0.8rem; color: var(--acct-mute); }
.acct-order__top b { display: block; color: #fff; font-size: 0.88rem; }
.acct-order__top .acct-order__num { margin-left: auto; text-align: right; }
.acct-order__body { display: flex; gap: 1rem; padding: 1rem 1.2rem; align-items: flex-start; flex-wrap: wrap; }
.acct-order__items { flex: 1 1 320px; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.acct-order__side { flex: 0 0 200px; display: flex; flex-direction: column; gap: 0.45rem; }
.acct-order__side .cl-btn { justify-content: center; }
.acct-item { display: flex; gap: 0.75rem; align-items: center; min-width: 0; }
.acct-thumb { flex: none; width: 58px; height: 58px; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--acct-bd); }
.acct-thumb img { width: 100%; height: 100%; object-fit: contain; }
.acct-thumb .ui-icon { color: var(--acct-teal-2); }
.acct-item__name { color: #fff; font-weight: 700; font-size: 0.92rem; text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; }
.acct-item small { color: var(--acct-mute); }
.acct-pager { display: flex; gap: 0.4rem; justify-content: center; margin-top: 1rem; }
.acct-pager a, .acct-pager span { padding: 0.4rem 0.75rem; border-radius: 8px; border: 1px solid rgba(11, 31, 58, 0.18); color: #0b1f3a; text-decoration: none; background: #fff; font-weight: 700; font-size: 0.85rem; }
.acct-pager span.is-current { background: #0b1f3a; color: #fff; }

/* timeline */
.acct-timeline { list-style: none; margin: 0.4rem 0 0; padding: 0; position: relative; }
.acct-timeline li { position: relative; padding: 0 0 1rem 1.9rem; }
.acct-timeline li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: -2px; width: 2px; background: rgba(131, 199, 255, 0.2); }
.acct-timeline li:last-child::before { display: none; }
.acct-timeline__dot { position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--acct-teal); box-shadow: 0 0 0 4px rgba(60, 210, 196, 0.18); }
.acct-timeline li.is-next .acct-timeline__dot { background: transparent; border: 2px dashed rgba(214, 232, 248, 0.45); box-shadow: none; }
.acct-timeline li.is-bad .acct-timeline__dot { background: #ff8787; box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.18); }
.acct-timeline strong { color: #fff; font-size: 0.92rem; }
.acct-timeline li.is-next strong { color: var(--acct-mute); font-weight: 600; }
.acct-timeline small { display: block; color: var(--acct-mute); }
.acct-sum { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.acct-sum td { padding: 0.3rem 0; }
.acct-sum td:last-child { text-align: right; color: #fff; }
.acct-sum tr.is-total td { border-top: 1px solid var(--acct-bd); padding-top: 0.55rem; font-weight: 800; color: #fff; font-size: 1rem; }

/* addresses & groups */
.acct-addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.9rem; }
.acct-addr { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--acct-panel-2); border: 1px solid var(--acct-bd); color: var(--acct-tx); font-size: 0.9rem; min-height: 200px; }
.acct-addr.is-default { border-color: rgba(60, 210, 196, 0.6); box-shadow: inset 0 3px 0 var(--acct-teal); }
.acct-addr strong { color: #fff; }
.acct-addr__foot { margin-top: auto; padding-top: 0.6rem; display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.acct-addr--add { align-items: center; justify-content: center; text-align: center; border-style: dashed; border-width: 2px; color: var(--acct-mute); text-decoration: none; gap: 0.5rem; }
.acct-addr--add:hover { border-color: var(--acct-teal); color: #fff; text-decoration: none; }
.acct-addr--add .ui-icon { color: var(--acct-teal); }
.acct-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.acct-chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(131, 199, 255, 0.12); border: 1px solid rgba(131, 199, 255, 0.22); color: #d8f1ff; font-size: 0.8rem; }
.acct-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.acct-table th { text-align: left; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--acct-mute); padding: 0.45rem 0.5rem; border-bottom: 1px solid var(--acct-bd); }
.acct-table td { padding: 0.6rem 0.5rem; border-bottom: 1px solid rgba(131, 199, 255, 0.08); vertical-align: top; }
.acct-table td a { color: var(--acct-teal); }
.acct-notice { display: flex; gap: 0.75rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(131, 199, 255, 0.1); }
.acct-notice:last-child { border-bottom: 0; }
.acct-notice .ui-icon { color: var(--acct-teal); margin-top: 2px; }
.acct-notice.is-unread strong::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--acct-green); margin-left: 0.45rem; vertical-align: middle; }
.acct-msg { padding: 0.75rem 0.9rem; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--acct-bd); margin-bottom: 0.6rem; }
.acct-msg--staff { background: rgba(60, 210, 196, 0.08); border-color: rgba(60, 210, 196, 0.3); }
.acct-msg small { color: var(--acct-mute); }
.acct-msg p { white-space: pre-wrap; }
.acct-danger { border-color: rgba(255, 107, 107, 0.35); }
.acct details > summary { cursor: pointer; color: var(--acct-teal); font-weight: 700; list-style: none; display: inline-flex; gap: 0.35rem; align-items: center; }
.acct details > summary::-webkit-details-marker { display: none; }
.acct details[open] > summary { margin-bottom: 0.75rem; }
.acct-prefs th, .acct-prefs td { text-align: center; }
.acct-prefs th:first-child, .acct-prefs td:first-child { text-align: left; }
.acct-prefs input { width: 18px; height: 18px; accent-color: var(--acct-teal); }

/* wishlist share panel (on /wishlist/{id}) */
.ws-share { margin-top: 1rem; }
.ws-share__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.1rem; }
.ws-share textarea, .ws-share input[type=text] { width: 100%; }
.ws-share__groups { display: flex; flex-direction: column; gap: 0.35rem; max-height: 180px; overflow: auto; }
.ws-share__link { display: flex; gap: 0.5rem; }
.ws-share__link input { flex: 1; min-width: 0; }
.ws-status { font-size: 0.8rem; }

/* checkout address picker */
.co-addr { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.6rem; margin-bottom: 0.9rem; }
.co-addr label { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.75rem 0.85rem; border-radius: 12px; border: 1px solid rgba(131, 199, 255, 0.24); background: rgba(255, 255, 255, 0.04); cursor: pointer; font-size: 0.86rem; line-height: 1.35; }
.co-addr label:has(input:checked) { border-color: #3cd2c4; box-shadow: 0 0 0 2px rgba(60, 210, 196, 0.35); }
.co-addr input { margin-top: 3px; accent-color: #3cd2c4; }
.co-addr strong { display: block; }
.co-addr small { opacity: 0.75; }

@media (max-width: 1100px) {
}
@media (max-width: 860px) {
  .acct-layout { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
  .acct-side { position: static; padding: 0.4rem; border-radius: 12px; }
  .acct-side__who, .acct-side__label { display: none; }
  .acct-side__nav { display: flex; overflow-x: auto; scrollbar-width: none; gap: 0.25rem; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
  .acct-side__nav::-webkit-scrollbar { display: none; }
  .acct-side__group { flex-direction: row; margin: 0; gap: 0.25rem; }
  .acct-side__link { flex: none; white-space: nowrap; padding: 0.45rem 0.7rem; font-size: 0.84rem; }
  .acct-side__link.is-active { box-shadow: inset 0 -3px 0 var(--acct-teal); }
  .acct-form .acct-row, .acct-form .acct-row--3 { grid-template-columns: minmax(0, 1fr); }
  .acct-order__side { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; }
  .acct-order__top .acct-order__num { margin-left: 0; text-align: left; }
}
@media (max-width: 600px) {
  .acct-table--stack thead { display: none; }
  .acct-table--stack tr { display: block; padding: 0.5rem 0; border-bottom: 1px solid var(--acct-bd); }
  .acct-table--stack td { display: block; border: 0; padding: 0.1rem 0; }
}

/* login / register: other ways to sign in */
.auth-alt { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.1rem 0 0.4rem; }
.auth-alt__or { display: flex; align-items: center; gap: 0.75rem; color: rgba(236, 247, 255, 0.7); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.auth-alt__or::before, .auth-alt__or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.2); }
.auth-alt form { margin: 0; }
.auth-alt__btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 46px; padding: 0.6rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer; }
.auth-alt__btn:hover { background: rgba(255, 255, 255, 0.16); }
.auth-alt__btn:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-alt__btn .ui-icon { color: #3cd2c4; }
.auth-alt__btn--google { background: #fff; color: #1f1f1f; border-color: #747775; font-family: Roboto, Manrope, Arial, sans-serif; font-weight: 500; }
.auth-alt__btn--google:hover { background: #f2f2f2; }
.auth-alt__status { margin: 0; font-size: 0.85rem; color: #d8efff; }
.auth-alt__status.is-bad, [data-passkey-status].is-bad { color: #ffb3b3; }

/* Wishlist share panel (detail page) */
.ws-share__quick { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.ws-share__quick .button, .ws-share__actions .button { display: inline-flex; align-items: center; gap: 0.4rem; }
.ws-share { border-top: 1px solid rgba(131, 199, 255, 0.18); padding-top: 1rem; }
.ws-share h3 { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 0.6rem; font-size: 1.02rem; }
.ws-share h4 { margin: 1.1rem 0 0.45rem; font-size: 0.92rem; }
.ws-share__form { display: grid; gap: 0.75rem; max-width: 640px; }
.ws-share__form label { display: grid; gap: 0.3rem; }
.ws-share__form label.acct-check { display: flex; align-items: center; gap: 0.45rem; }
.ws-share__form small { opacity: 0.75; }
.ws-share__groups { border: 1px solid rgba(131, 199, 255, 0.2); border-radius: 10px; padding: 0.6rem 0.8rem; }
.ws-share__groups legend { padding: 0 0.3rem; font-size: 0.85rem; opacity: 0.85; }
.ws-share__hint { margin: -0.3rem 0 0; font-size: 0.85rem; }
.ws-share__hint a { display: inline-flex; align-items: center; gap: 0.35rem; }
.ws-share__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.ws-share__notice { display: flex; gap: 0.5rem; align-items: flex-start; padding: 0.6rem 0.8rem; border-radius: 10px; background: rgba(255, 196, 87, 0.1); border: 1px solid rgba(255, 196, 87, 0.35); font-size: 0.88rem; }
.ws-share__history { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; max-width: 640px; }
.ws-share__history li { display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; padding: 0.45rem 0.6rem; border-radius: 8px; background: rgba(255, 255, 255, 0.04); font-size: 0.86rem; }
.cl-panel h2 .ui-icon, .cl-panel h2 svg { vertical-align: -3px; }
.ws-shipto { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; }

/* SVG icons that replaced text glyphs across the storefront */
.ash-search-scope__chev { top: 0; bottom: 0; display: inline-flex; align-items: center; }
.ash-search-scope__chev svg, .ash-header-chev svg { display: block; }
.ash-header-chev { display: inline-flex; vertical-align: middle; }
.wishlist-btn, .cl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; }
.wishlist-btn svg, .cl-btn svg { flex: none; }

/* Footer: dark band with readable text (the page background is light) */
.site-footer { background: #13233d; color: #e8eef5; margin-top: 2.5rem; padding: 2.2rem 0 1.4rem; border-top: 0; }
.site-footer h3, .site-footer h4 { color: #ffffff; }
.site-footer p, .site-footer a, .site-footer .site-footer__links a { color: #c9d6e3; }
.site-footer a:hover { color: #8ff0c4; }
.site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.site-footer__links { display: flex; flex-direction: column; }
.site-footer .site-footer__bottom, .site-footer .site-footer__bottom span { color: #c9d6e3; opacity: 1; font-size: 0.88rem; }
.site-footer .site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.16); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }
[data-passkey-status][hidden], [data-passkey-unsupported][hidden], .acct-main [hidden], .checkout-market [hidden], .cl-panel [hidden], .auth-alt [hidden] { display: none !important; }


/* ---------- /account landing (AShopper style) ---------- */
.acct--home { --ah-glow: 0 0 0 1px rgba(60, 210, 196, 0.35), 0 10px 30px rgba(36, 173, 193, 0.22); }
.ah-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.4rem; align-items: center;
  padding: 1.6rem 1.8rem; border-radius: 22px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, rgba(60, 210, 196, 0.28), transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(142, 245, 154, 0.16), transparent 60%), linear-gradient(135deg, #0b2142, #0d2e52 55%, #0a2240);
  border: 1px solid rgba(60, 210, 196, 0.3); box-shadow: 0 18px 40px rgba(6, 20, 40, 0.28); }
.ah-hero__who { display: flex; align-items: center; gap: 1.1rem; min-width: 0; }
.ah-hero__avatar { flex: none; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.45rem; color: #062a33;
  background: linear-gradient(135deg, #8ef59a, #3cd2c4); box-shadow: 0 0 0 4px rgba(60, 210, 196, 0.25), 0 0 24px rgba(60, 210, 196, 0.55); }
.ah-hero__eyebrow { margin: 0; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8ef0e2; font-weight: 700; }
.ah-hero h1 { margin: 0.1rem 0 0.35rem; font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; letter-spacing: -0.01em; }
.ah-hero__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-size: 0.88rem; color: rgba(222, 238, 250, 0.82); }
.ah-hero__meta span, .ah-hero__meta a { display: inline-flex; align-items: center; gap: 0.35rem; color: inherit; text-decoration: none; }
.ah-hero__meta a:hover { color: #8ff0c4; }
.ah-hero__meta .ui-icon { color: #3cd2c4; }
.ah-stats { display: grid; grid-template-columns: repeat(5, minmax(84px, 1fr)); gap: 0.55rem; }
.ah-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; padding: 0.7rem 0.8rem; border-radius: 14px; text-decoration: none;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(131, 199, 255, 0.18); color: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ah-stat .ui-icon { color: #3cd2c4; }
.ah-stat strong { font-size: 1.35rem; line-height: 1.1; }
.ah-stat span { font-size: 0.74rem; color: rgba(214, 232, 248, 0.72); }
.ah-stat.is-live { border-color: rgba(60, 210, 196, 0.55); box-shadow: 0 0 18px rgba(60, 210, 196, 0.25); }
.ah-stat:hover { transform: translateY(-2px); border-color: #3cd2c4; text-decoration: none; }
.ah-main { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 2fr); gap: 1.2rem; margin-top: 1.2rem; align-items: start; }
.ah-badge { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #e8fbfa, #cdeef0 60%, #a9e3e6); box-shadow: 0 0 0 1px rgba(60, 210, 196, 0.35), 0 0 16px rgba(60, 210, 196, 0.28); }
.ah-badge--lg { width: 64px; height: 64px; border-radius: 18px; }
.ah-orders { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.25rem 1.3rem; border-radius: 20px; text-decoration: none; color: #fff;
  background: linear-gradient(160deg, rgba(14, 44, 78, 0.97), rgba(9, 27, 50, 0.97)); border: 1px solid rgba(60, 210, 196, 0.45); box-shadow: var(--ah-glow);
  transition: transform .15s, box-shadow .15s; }
.ah-orders:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #3cd2c4, 0 14px 36px rgba(36, 173, 193, 0.32); text-decoration: none; }
.ah-orders__head { display: flex; align-items: center; gap: 0.9rem; }
.ah-orders__head strong { display: block; font-size: 1.25rem; }
.ah-orders__head small { display: block; color: rgba(214, 232, 248, 0.72); font-size: 0.85rem; margin-top: 0.15rem; }
.ah-orders__go { margin-left: auto; color: #3cd2c4; }
.ah-orders__list { display: flex; flex-direction: column; gap: 0.45rem; }
.ah-orders__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.6rem; align-items: center; padding: 0.6rem 0.7rem; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.ah-orders__row b { display: block; font-size: 0.9rem; }
.ah-orders__row small { display: block; font-size: 0.76rem; color: rgba(214, 232, 248, 0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-orders__amt { font-weight: 700; font-size: 0.88rem; }
.ah-orders__empty { display: flex; align-items: center; gap: 0.55rem; padding: 0.9rem; border-radius: 12px; border: 1px dashed rgba(131, 199, 255, 0.3); color: rgba(222, 238, 250, 0.85); font-size: 0.9rem; }
.ah-orders__empty .ui-icon { color: #3cd2c4; }
.ah-orders__foot { font-size: 0.8rem; color: rgba(214, 232, 248, 0.7); border-top: 1px solid rgba(131, 199, 255, 0.16); padding-top: 0.7rem; }
.ah-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ah-group { padding: 1rem 1.05rem 1.1rem; border-radius: 18px; background: rgba(10, 28, 51, 0.94); border: 1px solid rgba(131, 199, 255, 0.16); }
.ah-group h2 { margin: 0 0 0.7rem; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8ef0e2; }
.ah-tiles { display: flex; flex-direction: column; gap: 0.5rem; }
.ah-tile { display: flex; align-items: center; gap: 0.8rem; padding: 0.65rem 0.75rem; border-radius: 14px; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, 0.04); border: 1px solid transparent; transition: border-color .15s, box-shadow .15s, background .15s; }
.ah-tile:hover, .ah-tile:focus-visible { border-color: rgba(60, 210, 196, 0.6); background: rgba(60, 210, 196, 0.08); box-shadow: 0 0 18px rgba(60, 210, 196, 0.18); text-decoration: none; }
.ah-tile .ah-badge { width: 48px; height: 48px; border-radius: 14px; }
.ah-tile__text { display: flex; flex-direction: column; gap: 0.12rem; min-width: 0; }
.ah-tile__text strong { font-size: 0.98rem; display: flex; align-items: center; gap: 0.4rem; }
.ah-tile__text em { font-style: normal; font-size: 0.7rem; font-weight: 800; color: #062a33; background: #8ef59a; border-radius: 999px; padding: 0.05rem 0.45rem; }
.ah-tile__text small { font-size: 0.8rem; color: rgba(214, 232, 248, 0.7); line-height: 1.35; }
.ah-quick { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.ah-quick a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.85rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; text-decoration: none;
  color: #0b3d2a; background: #d3f9d8; border: 1px solid rgba(46, 160, 90, 0.35); }
.ah-quick a:hover { background: #bff3c9; text-decoration: none; }
@media (max-width: 1100px) {
  .ah-hero { grid-template-columns: minmax(0, 1fr); }
  .ah-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .ah-groups { grid-template-columns: minmax(0, 1fr); }
  .ah-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ah-hero { padding: 1.2rem; border-radius: 18px; }
  .ah-hero__avatar { width: 54px; height: 54px; font-size: 1.15rem; }
  .ah-orders__row { grid-template-columns: minmax(0, 1fr) auto; }
  .ah-orders__amt { grid-column: 2; }
}

/* === Natural full-colour icons (2026-10-18) ===
   Object icons now carry their own colours (kraft box, gold padlock, red heart, green roof...).
   No opacity or filter on any icon; one outline weight (1.5 on a 24px grid). */
.ui-icon--color, .ui-tile-icon { opacity: 1 !important; filter: none !important; }
.ash-site-header .ash-nav-icon.ui-icon--color { color: inherit; }
.home-cat-tile__icon--art { display: grid; place-items: center; line-height: 0; }
.home-cat-tile__visual:has(.home-cat-tile__icon--art) { background: linear-gradient(160deg, #ffffff 0%, #eef7fb 100%); }
/* Red wishlist button: the heart turns white so it stays visible on the red fill. */
.cl-btn.cl-btn--wish:not(.is-on) .uic-heart { fill: #ffffff; stroke: #ffffff; }
.cl-btn.cl-btn--wish:not(.is-on) .uic-heart-hi { stroke: #ffd0dc; }

/* === Advanced search: header toggle, help popover, builder, result chips and groups (2026-10-18) === */
.ash-search:has(.ash-adv-toggle) { grid-template-columns: auto 1fr auto auto; }
.ash-adv-toggle { display: inline-flex; align-items: center; gap: 0.35rem; border: 0; border-left: 1px solid #e3e9ef; background: #ffffff; color: #35506b; padding: 0 0.8rem; font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ash-adv-toggle:hover, .ash-adv-toggle[aria-expanded="true"] { color: #0b6f86; background: #effbfd; }
.ash-adv-toggle:focus-visible { outline: 2px solid #12d9f3; outline-offset: -3px; }
body:has(.control-shell) .ash-adv-toggle { display: none; }
@media (max-width: 1360px) and (min-width: 1200px) { .ash-adv-toggle__label { display: none; } }
@media (max-width: 560px) { .ash-adv-toggle__label { display: none; } .ash-adv-toggle { padding: 0 0.6rem; } }

.ash-adv { position: fixed; z-index: 120; box-sizing: border-box; overflow: auto; padding: 1rem 1.1rem 1.1rem; border-radius: 18px; color: #e6f1fa;
  background: linear-gradient(160deg, #0b2442 0%, #0a1d36 100%); border: 1px solid rgba(60, 210, 196, 0.35);
  box-shadow: 0 24px 60px rgba(2, 10, 24, 0.55), 0 0 0 1px rgba(18, 217, 243, 0.08); text-align: left; }
.ash-adv[hidden] { display: none !important; }
.ash-adv__head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 0.7rem; }
.ash-adv__head strong { display: block; font-size: 1.05rem; color: #ffffff; }
.ash-adv__head span { display: block; font-size: 0.84rem; color: #a9c1d6; margin-top: 0.15rem; }
.ash-adv__close { border: 1px solid rgba(255,255,255,0.18); background: transparent; color: #dbe9f5; border-radius: 10px; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; flex: none; }
.ash-adv__close:hover { background: rgba(255,255,255,0.08); }
.ash-adv__tabs { display: flex; gap: 0.4rem; margin-bottom: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.ash-adv__tabs button { border: 0; background: transparent; color: #a9c1d6; font: inherit; font-weight: 700; font-size: 0.88rem; padding: 0.5rem 0.75rem; border-bottom: 2px solid transparent; cursor: pointer; }
.ash-adv__tabs button[aria-selected="true"] { color: #ffffff; border-bottom-color: #3cd2c4; }
.ash-adv__tabs button:focus-visible { outline: 2px solid #12d9f3; outline-offset: 2px; border-radius: 6px; }
.ash-adv__pane[hidden] { display: none !important; }
.ash-adv__label { margin: 0.2rem 0 0.45rem; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #7fe3d6; }
.ash-adv__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; }
.ash-adv__chip { border: 1px solid rgba(60, 210, 196, 0.4); background: rgba(60, 210, 196, 0.1); color: #dffaf6; border-radius: 999px; padding: 0.3rem 0.65rem; font: 600 0.8rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; cursor: pointer; }
.ash-adv__chip:hover, .ash-adv__chip:focus-visible { background: #3cd2c4; color: #062033; outline: none; }
.ash-adv__examples { list-style: none; margin: 0 0 0.7rem; padding: 0; display: grid; gap: 0.35rem; }
.ash-adv__examples li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.7rem; padding: 0.45rem 0.6rem; border-radius: 10px; background: rgba(255,255,255,0.04); }
.ash-adv__examples a { text-decoration: none; }
.ash-adv__examples code, .ash-adv__fine code, .ash-adv__preview code { font: 600 0.82rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #9ff3e8; }
.ash-adv__examples a:hover code { color: #ffffff; text-decoration: underline; }
.ash-adv__examples span { font-size: 0.82rem; color: #a9c1d6; }
.ash-adv__fine { margin: 0; font-size: 0.8rem; color: #a9c1d6; }
.ash-adv__rows { display: grid; gap: 0.45rem; margin-bottom: 0.55rem; }
.ash-adv__row { display: grid; grid-template-columns: 108px 1fr 1fr 1.2fr 34px; gap: 0.4rem; align-items: center; }
.ash-adv__row:first-child .ash-adv__join { visibility: hidden; }
.ash-adv__row select, .ash-adv__row input, .ash-adv__opts select, .ash-adv__opts input { width: 100%; min-width: 0; box-sizing: border-box; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); background: #0f2d52; color: #ffffff; padding: 0.45rem 0.55rem; font: inherit; font-size: 0.86rem; }
.ash-adv__row select:focus, .ash-adv__row input:focus, .ash-adv__opts select:focus, .ash-adv__opts input:focus { outline: 2px solid #3cd2c4; outline-offset: 0; }
.ash-adv__rm { border: 1px solid rgba(255,255,255,0.18); background: transparent; color: #ffb3c1; border-radius: 10px; height: 34px; font-size: 1.1rem; cursor: pointer; }
.ash-adv__add { display: inline-flex; align-items: center; gap: 0.3rem; border: 1px dashed rgba(60,210,196,0.6); background: transparent; color: #9ff3e8; border-radius: 10px; padding: 0.4rem 0.7rem; font: inherit; font-size: 0.84rem; font-weight: 700; cursor: pointer; }
.ash-adv__opts { display: grid; grid-template-columns: 1fr 1fr 110px; gap: 0.6rem; margin: 0.8rem 0 0.7rem; }
.ash-adv__opts label { display: grid; gap: 0.25rem; font-size: 0.76rem; font-weight: 700; color: #a9c1d6; }
.ash-adv__preview { display: flex; gap: 0.6rem; align-items: baseline; padding: 0.55rem 0.7rem; border-radius: 10px; background: rgba(0,0,0,0.25); margin-bottom: 0.7rem; overflow-wrap: anywhere; }
.ash-adv__preview span { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #7fe3d6; }
.ash-adv__actions { display: flex; justify-content: flex-end; gap: 0.5rem; }
.ash-adv__btn { border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #ffffff; border-radius: 999px; padding: 0.5rem 1rem; font: inherit; font-weight: 700; font-size: 0.88rem; cursor: pointer; }
.ash-adv__btn--go { border: 0; background: linear-gradient(90deg, #12d9f3 0%, #3cd2c4 100%); color: #062033; }
@media (max-width: 640px) { .ash-adv__row { grid-template-columns: 1fr 1fr; } .ash-adv__row .ash-adv__join { grid-column: 1 / -1; } .ash-adv__row:first-child .ash-adv__join { display: none; } .ash-adv__opts { grid-template-columns: 1fr 1fr; } }

/* results page */
.catalog-main__chips .adv-sort-chip { display: inline-flex; align-items: center; padding: 0.35rem 0.75rem; border-radius: 999px; border: 1px solid #cfe3ee; background: #ffffff; color: #12385c; font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.catalog-main__chips .adv-sort-chip:hover { border-color: #24adc1; }
.catalog-main__chips .adv-sort-chip.is-active { background: #0b2a4a; border-color: #0b2a4a; color: #ffffff; }
.adv-results { display: grid; gap: 0.6rem; margin: 0 0 1rem; }
.adv-msg { padding: 0.75rem 0.95rem; border-radius: 12px; font-size: 0.92rem; line-height: 1.45; }
.adv-msg--error { background: #fff4e5; border: 1px solid #f5c37a; color: #6b3d00; }
.adv-msg--note { background: #eaf7fb; border: 1px solid #b9e3ef; color: #0f3f5a; }
.adv-link { border: 0; background: none; padding: 0; color: #0b6f86; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.adv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; color: #12385c; font-size: 0.9rem; }
.adv-bar__meta { color: #4f6a83; }
.adv-share { margin-left: auto; display: inline-flex; align-items: center; gap: 0.35rem; border: 1px solid #cfe3ee; background: #ffffff; color: #12385c; border-radius: 999px; padding: 0.35rem 0.8rem; font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.adv-share:hover { border-color: #24adc1; }
.adv-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.adv-chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.45rem 0.3rem 0.7rem; border-radius: 999px; background: #0b2a4a; color: #e8f7ff; font: 600 0.8rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-decoration: none; }
.adv-chip svg { opacity: 1; color: #9ff3e8; }
.adv-chip:hover { background: #12385c; }
.adv-chip--clear { background: transparent; color: #0b6f86; border: 1px solid #b9e3ef; font-family: inherit; padding-right: 0.7rem; }
.adv-group { margin: 0 0 1.5rem; }
.adv-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.9rem; padding: 0.6rem 0; margin-bottom: 0.6rem; border-bottom: 2px solid #d5ecf5; }
.adv-group__head h3 { margin: 0; font-size: 1.1rem; color: #0b2a4a; }
.adv-group__stats { font-size: 0.86rem; color: #4f6a83; }
.adv-group__all { margin-left: auto; font-size: 0.86rem; font-weight: 700; color: #0b6f86; }
.adv-group__more { color: #4f6a83; font-size: 0.88rem; }

/* Long advanced queries wrap inside the search sidebar heading. */
.catalog-sidebar h1 { overflow-wrap: anywhere; }
