/*
 * Restored version history notes.
 * `v1.0.0` — Auth wrap (login/register), user page layout, nav,.
 * `v2.1.0` — Sticky user header – sits right below the site-header (position:sticky, top:0).
 * `v2.2.0` — Fixed Recently Viewed tray: corrected selector (#checkit-recently-viewed), dark header,
 *             horizontal card scroll, 60×60 thumbnails, 2-line clamped title, compact dark theme.
 * `v2.3.0` — Image search modal overlay styles (checkit-img-modal) for Tesseract.js OCR flow.
 */

.checkit-live-search-status {
  font-size: 14px;
  color: #1f2937;
}

.checkit-profile {
  --cp-bg: #f8fafc;
  --cp-card: #ffffff;
  --cp-border: #dbe3ea;
  --cp-text: #0f172a;
  --cp-muted: #475569;
  --cp-danger: #b91c1c;
  --cp-success-bg: #dcfce7;
  --cp-success-text: #166534;
  --cp-error-bg: #fee2e2;
  --cp-error-text: #991b1b;
  background: var(--cp-bg);
  border: 1px solid var(--cp-border);
  border-radius: 14px;
  padding: 18px;
}

.checkit-profile-login {
  border: 1px solid #dbe3ea;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
}

.checkit-profile-notice {
  display: none;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.checkit-profile-notice.is-success {
  display: block;
  background: var(--cp-success-bg);
  color: var(--cp-success-text);
}

.checkit-profile-notice.is-error {
  display: block;
  background: var(--cp-error-bg);
  color: var(--cp-error-text);
}

.checkit-profile-header h2 {
  margin: 0;
  color: var(--cp-text);
}

.checkit-profile-subtitle {
  margin: 4px 0 0;
  color: var(--cp-muted);
}

.checkit-profile-counts {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkit-profile-counts span {
  background: var(--cp-card);
  border: 1px solid var(--cp-border);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--cp-muted);
}

.checkit-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.checkit-profile-card {
  background: var(--cp-card);
  border: 1px solid var(--cp-border);
  border-radius: 10px;
  padding: 12px;
}

.checkit-profile-card h3 {
  margin: 0 0 8px;
  color: var(--cp-text);
}

.checkit-inline-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 10px;
}

.checkit-inline-form.compact {
  margin-top: 8px;
}

.checkit-inline-form label {
  font-size: 12px;
  color: var(--cp-muted);
}

.checkit-inline-form input,
.checkit-inline-form select,
.checkit-inline-form button {
  width: 100%;
}

.checkit-inline-form button {
  border: 1px solid var(--cp-border);
  background: #f1f5f9;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
}

.checkit-profile-list p {
  margin: 0;
  color: var(--cp-muted);
}

.checkit-item {
  border: 1px solid var(--cp-border);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

.checkit-item-main {
  min-width: 0;
}

.checkit-item-sub {
  margin-top: 3px;
  color: var(--cp-muted);
  font-size: 12px;
  word-break: break-word;
}

.checkit-item-actions {
  display: grid;
  gap: 6px;
  min-width: 90px;
}

.checkit-item-actions button,
.checkit-item > button {
  border: 1px solid var(--cp-border);
  background: #fff;
  border-radius: 7px;
  padding: 5px 8px;
  cursor: pointer;
}

.checkit-item-actions .checkit-danger,
.checkit-item .checkit-danger {
  border-color: #fecaca;
  color: var(--cp-danger);
}

.checkit-mini-list {
  margin: 7px 0 0;
  padding-left: 18px;
}

.checkit-mini-list li {
  color: var(--cp-muted);
  margin: 3px 0;
}

.checkit-link {
  background: none;
  border: none;
  color: #0369a1;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 640px) {
  .checkit-item {
    flex-direction: column;
  }

  .checkit-item-actions {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
}

/**
*  =============================================================
*    USER PAGES — Auth + Account feature pages
*            favorites grid, alert cards, list layout, optimize panel.
*    =============================================================
 */

/* ── Auth page (login / register) ── */
.checkit-auth-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: #f5f7ff;
}

.checkit-auth-wrap {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(107,127,232,.12);
  overflow: hidden;
}

.checkit-auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 32px 0;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
}

.checkit-auth-logo svg { flex-shrink: 0; }

.checkit-auth-tabs {
  display: flex;
  border-bottom: 2px solid #e8ecff;
  margin: 20px 0 0;
}

.checkit-auth-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #6b7fe8;
  background: none;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.checkit-auth-tab.is-active,
.checkit-auth-tab:hover {
  background: #f0f3ff;
  color: #4255c7;
}

.checkit-auth-tab.is-active {
  border-bottom: 2px solid #6b7fe8;
  margin-bottom: -2px;
}

.checkit-auth-panel {
  padding: 28px 32px 32px;
}

.checkit-auth-panel.is-hidden { display: none; }

.checkit-auth-panel h2 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
}

.checkit-field {
  margin-bottom: 16px;
}

.checkit-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.checkit-field input[type="text"],
.checkit-field input[type="email"],
.checkit-field input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  background: #fafafa;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}

.checkit-field input:focus {
  outline: none;
  border-color: #6b7fe8;
  box-shadow: 0 0 0 3px rgba(107,127,232,.15);
}

.checkit-btn-primary {
  display: block;
  width: 100%;
  padding: 12px;
  background: #6b7fe8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .1s;
  margin-top: 4px;
}

.checkit-btn-primary:hover { background: #4255c7; }
.checkit-btn-primary:active { transform: scale(.98); }

/* ── Shared user page layout ── */
.checkit-user-page {
  min-height: 60vh;
  padding: 0 0 60px;
}

.checkit-up-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d5e 100%);
  padding: 32px 24px 0;
  color: #fff;
}

.checkit-up-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.checkit-up-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.checkit-up-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.25);
  flex-shrink: 0;
}

.checkit-up-greeting { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 2px; }
.checkit-up-name     { font-size: 20px; font-weight: 700; }

.checkit-up-logout {
  margin-left: auto;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  transition: background .15s;
}
.checkit-up-logout:hover { background: rgba(255,255,255,.1); color: #fff; }

/* nav tabs */
.checkit-up-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.checkit-up-nav::-webkit-scrollbar { display: none; }

.checkit-up-nav-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.checkit-up-nav-tab:hover            { background: rgba(255,255,255,.1); color: #fff; }
.checkit-up-nav-tab.is-active        { background: #fff; color: #1a1a2e; }

.checkit-up-nav-badge {
  background: #6b7fe8;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.checkit-up-nav-tab.is-active .checkit-up-nav-badge {
  background: #6b7fe8;
  color: #fff;
}

.checkit-up-content {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 24px;
}

.checkit-up-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 24px;
}

/* ── Favorites grid ── */
.checkit-fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.checkit-fav-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecff;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}

.checkit-fav-card:hover {
  box-shadow: 0 6px 24px rgba(107,127,232,.14);
  transform: translateY(-2px);
}

.checkit-fav-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background: #f8f9ff;
  overflow: hidden;
}

.checkit-fav-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.checkit-fav-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #e11d48;
  line-height: 1;
  transition: background .15s;
}
.checkit-fav-remove:hover { background: #fff; }

.checkit-fav-body { padding: 14px; }

.checkit-fav-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.checkit-fav-price {
  font-size: 16px;
  font-weight: 700;
  color: #6b7fe8;
}

.checkit-fav-seller {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

/* ── Alert cards ── */
.checkit-alert-list { display: flex; flex-direction: column; gap: 14px; }

.checkit-alert-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkit-alert-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8f9ff;
  flex-shrink: 0;
}

.checkit-alert-body { flex: 1; min-width: 0; }

.checkit-alert-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin-bottom: 6px;
}

.checkit-alert-prices { display: flex; gap: 20px; }
.checkit-alert-price-item { font-size: 12px; color: #64748b; }
.checkit-alert-price-item strong { display: block; font-size: 15px; font-weight: 700; color: #1a1a2e; }
.checkit-alert-price-item strong.is-hit { color: #22c55e; }

.checkit-alert-badge {
  /* font-size: 11px; */
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.checkit-alert-badge.status-active    { background: #dbeafe; color: #1d4ed8; }
.checkit-alert-badge.status-triggered { background: #dcfce7; color: #15803d; }
.checkit-alert-badge.status-paused    { background: #f1f5f9; color: #64748b; }

.checkit-alert-delete {
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: #94a3b8;
  cursor: pointer;
  transition: border-color .15s, color .15s;
  flex-shrink: 0;
}
.checkit-alert-delete:hover { border-color: #e11d48; color: #e11d48; }

/* ── Shopping list two-panel layout ── */
.checkit-list-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

.checkit-list-sidebar {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecff;
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.checkit-list-sidebar-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #94a3b8;
  padding: 14px 16px 10px;
}

.checkit-list-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background .15s, color .15s;
}
.checkit-list-nav-item:hover      { background: #f5f7ff; color: #6b7fe8; }
.checkit-list-nav-item.is-active  { background: #eef0ff; color: #6b7fe8; border-left-color: #6b7fe8; }

.checkit-list-nav-del {
  margin-left: auto;
  background: none;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  font-size: 15px;
  padding: 0;
  line-height: 1;
  transition: color .15s;
}
.checkit-list-nav-del:hover { color: #e11d48; }

.checkit-new-list-toggle {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  background: none;
  border: none;
  border-top: 1px solid #e8ecff;
  font-size: 13px;
  font-weight: 600;
  color: #6b7fe8;
  cursor: pointer;
}
.checkit-new-list-toggle:hover { background: #f5f7ff; }

.checkit-new-list-form {
  padding: 12px 16px;
  border-top: 1px solid #e8ecff;
}
.checkit-new-list-form.is-hidden { display: none; }

.checkit-new-list-form input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.checkit-new-list-form input:focus {
  outline: none;
  border-color: #6b7fe8;
  box-shadow: 0 0 0 3px rgba(107,127,232,.12);
}

.checkit-new-list-form button {
  width: 100%;
  padding: 8px;
  background: #6b7fe8;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.checkit-new-list-form button:hover { background: #4255c7; }

.checkit-list-main {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecff;
  overflow: hidden;
}

.checkit-list-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e8ecff;
}

.checkit-list-main-title { font-size: 16px; font-weight: 700; color: #1a1a2e; margin: 0; }

.checkit-optimize-btn {
  padding: 8px 18px;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.checkit-optimize-btn:hover { background: #16a34a; }
.checkit-optimize-btn:disabled { background: #94a3b8; cursor: default; }

.checkit-list-table { width: 100%; border-collapse: collapse; }

.checkit-list-table th {
  /* font-size: 11px; */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #94a3b8;
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid #e8ecff;
}

.checkit-list-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: #374151;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.checkit-list-table tr:last-child td { border-bottom: none; }

.checkit-list-qty {
  width: 54px;
  padding: 5px 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}

.checkit-list-remove {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  transition: color .15s;
}
.checkit-list-remove:hover { color: #e11d48; }

/* ── Optimize result panel ── */
.checkit-optimize-result {
  margin: 0;
  border-top: 2px solid #e8ecff;
  padding: 20px;
}

.checkit-optimize-result.is-hidden { display: none; }

.checkit-optimize-summary {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: #f8fffe;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
}

.checkit-optimize-stat { display: flex; flex-direction: column; gap: 2px; }
.checkit-optimize-stat span { font-size: 11px; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.checkit-optimize-stat strong { font-size: 20px; font-weight: 800; color: #15803d; }
.checkit-optimize-stat strong.total { font-size: 24px; }

.checkit-optimize-store {
  background: #f8f9ff;
  border: 1px solid #e0e4ff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}

.checkit-optimize-store-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #eef0ff;
  border-bottom: 1px solid #e0e4ff;
}

.checkit-optimize-store-name { font-size: 14px; font-weight: 700; color: #1a1a2e; }
.checkit-optimize-store-total { font-size: 14px; font-weight: 700; color: #6b7fe8; }

.checkit-optimize-store table { width: 100%; border-collapse: collapse; }
.checkit-optimize-store td { padding: 9px 16px; font-size: 13px; color: #374151; border-bottom: 1px solid #f1f5f9; }
.checkit-optimize-store tr:last-child td { border-bottom: none; }
.checkit-optimize-store .price-col { font-weight: 700; color: #1a1a2e; white-space: nowrap; text-align: right; }
.checkit-optimize-store a { color: #6b7fe8; text-decoration: none; font-size: 12px; }
.checkit-optimize-store a:hover { text-decoration: underline; }

/* ── Compare page shell ── */
.checkit-compare-page { padding: 32px 24px 60px; max-width: 1200px; margin: 0 auto; }

.checkit-compare-skeleton {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.checkit-compare-skel-col {
  background: #f1f5f9;
  border-radius: 12px;
  height: 340px;
  animation: checkit-pulse 1.5s ease-in-out infinite;
}

@keyframes checkit-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .5; }
}

/* ── Empty states ── */
.checkit-empty-state {
  text-align: center;
  padding: 60px 24px;
  color: #94a3b8;
}

.checkit-empty-state .icon { font-size: 48px; margin-bottom: 16px; }
.checkit-empty-state h3 { font-size: 18px; font-weight: 700; color: #64748b; margin-bottom: 8px; }
.checkit-empty-state p  { font-size: 14px; margin-bottom: 24px; }

.checkit-empty-state a,
.checkit-empty-cta {
  display: inline-block;
  padding: 10px 24px;
  background: #6b7fe8;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.checkit-empty-cta:hover, .checkit-empty-state a:hover { background: #4255c7; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .checkit-list-layout {
    grid-template-columns: 1fr;
  }

  .checkit-list-sidebar {
    position: static;
  }

  .checkit-alert-card {
    flex-wrap: wrap;
  }

  .checkit-compare-skeleton {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkit-fav-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .checkit-up-identity {
    flex-wrap: wrap;
  }
}

/* =============================================================
   CheckIT v2 User Pages Design System
   v2.0.0 — Auth pages, User nav, Favorites cards, Shopping list,
            Profile page, Shared utilities.
   ============================================================= */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --ck-navy:       #0f172a;
  --ck-navy-md:    #1e293b;
  --ck-navy-light: #334155;
  --ck-indigo:     #6366f1;
  --ck-indigo-dk:  #4f46e5;
  --ck-indigo-lt:  #e0e7ff;
  --ck-green:      #22c55e;
  --ck-green-dk:   #16a34a;
  --ck-red:        #ef4444;
  --ck-red-dk:     #dc2626;
  --ck-amber:      #f59e0b;
  --ck-white:      #ffffff;
  --ck-bg:         #f8fafc;
  --ck-card:       #ffffff;
  --ck-border:     #e2e8f0;
  --ck-text:       #0f172a;
  --ck-muted:      #64748b;
  --ck-radius-sm:  6px;
  --ck-radius:     12px;
  --ck-radius-lg:  18px;
  --ck-shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --ck-shadow:     0 4px 16px rgba(0,0,0,.08);
  --ck-shadow-lg:  0 12px 40px rgba(0,0,0,.12);
}

/* ── Shared helpers ─────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ════════════════════════════════════════════════════════════
   AUTH PAGES  (login + register)
   ════════════════════════════════════════════════════════════ */

.ck-auth-page {
  display: flex;
  min-height: 100vh;
  font-family: "Public Sans", sans-serif;
  background: linear-gradient(282.85deg, #D92211 -47.61%, #8C2029 51.39%);
}

/* Brand panel — left 45% */
.ck-auth-brand-panel {
  position: relative;
  width: 45%;
  min-width: 320px;
  background: linear-gradient(100.08deg, #D92211 -10.32%, #8C2029 48.87%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  overflow: hidden;
  color: #fff;
}

.ck-auth-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 56px;
  text-decoration: none;
}

.ck-auth-brand-wordmark {
  font-size: 22px;
  font-weight: 800;
  /* letter-spacing: -.5px; */
  color: #fff;
}

.ck-auth-brand-eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  font-family: "kiro", sans-serif;
  /* text-transform: uppercase; */
  color: rgba(255,255,255,.55);
  margin: 0 0 14px;
}

.ck-auth-brand-headline {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 16px;
  font-style: italic;
}

.ck-auth-brand-sub {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
  margin: 0 0 40px;
  font-family: system-ui, sans-serif;
  font-style: normal;
}

.ck-auth-brand-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: system-ui, sans-serif;
  font-style: normal;
}

.ck-auth-brand-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.8);
}

.ck-auth-feat-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Decorative rings */
.ck-auth-brand-deco {
  position: absolute;
  bottom: -80px;
  right: -80px;
  pointer-events: none;
}

.ck-deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
}
.ck-deco-ring--1 { width: 280px; height: 280px; top: 0; left: 0; }
.ck-deco-ring--2 { width: 200px; height: 200px; top: 40px; left: 40px; }
.ck-deco-ring--3 { width: 120px; height: 120px; top: 80px; left: 80px; }

/* Form panel — right 55% */
.ck-auth-form-panel {
  flex: 1;
  background: var(--ck-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.ck-auth-form-inner {
  width: 100%;
  max-width: 420px;
}

.ck-auth-form-heading {
  margin-bottom: 32px;
}

.ck-auth-form-heading h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ck-navy);
  margin: 0 0 6px;
  /* letter-spacing: -.4px; */
}

.ck-auth-form-heading p {
  font-size: 14px;
  color: var(--ck-muted);
  margin: 0;
}

/* Tabs */
.ck-auth-tabs {
  display: flex;
  position: relative;
  background: var(--ck-bg);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 32px;
}

.ck-auth-tab {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ck-muted);
  background: none;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color .2s;
}

.ck-auth-tab--active { color: var(--ck-navy); }

.ck-auth-tab-indicator {
  position: absolute;
  top: 4px; bottom: 4px;
  background: var(--ck-white);
  border-radius: 7px;
  box-shadow: var(--ck-shadow-sm);
  transition: left .22s cubic-bezier(.4,0,.2,1), width .22s cubic-bezier(.4,0,.2,1);
  left: 4px;
  width: calc(50% - 4px);
}

/* Panels */
.ck-auth-panel { display: none; }
.ck-auth-panel--active { display: block; }

/* Alert */
.ck-auth-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--ck-radius-sm);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.ck-auth-alert--error {
  background: #fef2f2;
  color: var(--ck-red-dk);
  border: 1px solid #fecaca;
}

/* Form fields */
.ck-auth-form, .ck-register-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ck-field {
  margin-bottom: 20px;
}

.ck-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ck-text);
  margin-bottom: 7px;
  /* letter-spacing: -.01em; */
}

.ck-field-wrap {
  position: relative;
}

.ck-field-wrap--pw { display: flex; align-items: center; }

.ck-field-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ck-border);
  border-radius: var(--ck-radius-sm);
  font-size: 14px;
  color: var(--ck-text);
  background: var(--ck-bg);
  transition: border-color .18s, box-shadow .18s;
  box-sizing: border-box;
  appearance: none;
}

.ck-field-input--icon { padding-left: 40px; }

.ck-field-input:focus {
  outline: none;
  border-color: var(--ck-indigo);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}

.ck-field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ck-muted);
  pointer-events: none;
}

.ck-pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--ck-muted);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color .15s;
}
.ck-pw-toggle:hover, .ck-pw-toggle.is-showing { color: var(--ck-indigo); }

.ck-field-hint {
  font-size: 12px;
  color: var(--ck-muted);
  margin: 5px 0 0;
}

/* Row: remember + forgot */
.ck-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 8px;
}

.ck-checkbox-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ck-muted);
  cursor: pointer;
}

.ck-checkbox-label input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--ck-indigo);
  border-radius: 4px;
}

.ck-link {
  font-size: 13px;
  color: var(--ck-indigo);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color .15s;
}
.ck-link:hover { color: var(--ck-indigo-dk); text-decoration: underline; }
.ck-link--bold { font-weight: 700; font-size: 13px; }

/* Submit button */
.ck-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--ck-navy);
  color: #fff;
  border: none;
  border-radius: var(--ck-radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  /* letter-spacing: -.01em; */
  transition: background .2s, transform .12s;
  margin-bottom: 20px;
}
.ck-btn-submit:hover { background: var(--ck-indigo-dk); }
.ck-btn-submit:active { transform: scale(.98); }

/* Switch / register notice */
.ck-auth-switch {
  font-size: 13px;
  color: var(--ck-muted);
  text-align: center;
  margin: 8px 0 0;
}

.ck-auth-consent {
  /* font-size: 11px; */
  color: var(--ck-muted);
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.6;
}

.ck-register-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--ck-radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: #0369a1;
  margin-bottom: 20px;
}

.ck-register-fields { display: flex; flex-direction: column; }

/* ════════════════════════════════════════════════════════════
   SHARED USER PAGE LAYOUT  (ck-up-* classes)
   ════════════════════════════════════════════════════════════ */

.ck-user-page {
  background: var(--ck-bg);
  min-height: 80vh;
}

/**
*    JS in app.js seeds --site-header-height once the real header height is measured.
 */
.ck-up-header {
  background: var(--ck-navy);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: sticky;
  top: var(--site-header-height, 72px);
  z-index: 1010;
}

.ck-up-header-inner {
  padding: 20px 0 0;
}

.ck-up-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
}

.ck-up-avatar-link { flex-shrink: 0; }

.ck-up-avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255,255,255,.2) !important;
  display: block !important;
}

.ck-up-user-text { display: flex; flex-direction: column; }
.ck-up-greeting { font-size: 11px; color: rgba(255,255,255,.5); }
.ck-up-name     { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; }

.ck-up-logout {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.ck-up-logout:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Nav tabs */
.ck-up-nav {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ck-up-nav::-webkit-scrollbar { display: none; }

.ck-up-nav-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, background .15s;
  position: relative;
}
.ck-up-nav-tab:hover { color: rgba(255,255,255,.85); background: rgba(255,255,255,.05); }
.ck-up-nav-tab--active {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-bottom-color: var(--ck-indigo);
}

.ck-up-nav-badge {
  background: var(--ck-indigo);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  line-height: 16px;
}

/* User body content area */
.ck-user-body {
  padding: 40px 0 80px;
}

/* ── Page toolbar (sort pills, count) ── */
.ck-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.ck-page-toolbar-count {
  font-size: 14px;
  color: var(--ck-muted);
  margin: 0;
}

.ck-sort-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ck-sort-pill {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ck-muted);
  background: var(--ck-white);
  border: 1.5px solid var(--ck-border);
  border-radius: 20px;
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.ck-sort-pill:hover { color: var(--ck-indigo); border-color: var(--ck-indigo-lt); }
.ck-sort-pill--active {
  color: var(--ck-indigo-dk);
  background: var(--ck-indigo-lt);
  border-color: var(--ck-indigo);
}

/* ── Empty state ── */
.ck-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
  color: var(--ck-muted);
}

.ck-empty-state--sm { padding: 48px 24px; }

.ck-empty-state-icon {
  font-size: 52px;
  margin-bottom: 20px;
  opacity: .4;
}

.ck-empty-state-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ck-text);
  margin: 0 0 10px;
}

.ck-empty-state-text {
  font-size: 14px;
  line-height: 1.7;
  max-width: 400px;
  margin: 0 0 24px;
}

/* ── Primary button ── */
.ck-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--ck-indigo);
  color: #fff;
  border: none;
  border-radius: var(--ck-radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .12s;
}
.ck-btn-primary:hover { background: var(--ck-indigo-dk); color: #fff; }
.ck-btn-primary:active { transform: scale(.98); }
.ck-btn-primary:disabled { background: var(--ck-muted); cursor: default; }

/* ════════════════════════════════════════════════════════════
   FAVORITES PAGE  —  ck-fav-card
   ════════════════════════════════════════════════════════════ */

.ck-fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.ck-fav-card {
  background: var(--ck-card);
  border: 1.5px solid var(--ck-border);
  border-radius: var(--ck-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s, transform .22s, border-color .22s;
  position: relative;
}

.ck-fav-card:hover {
  box-shadow: var(--ck-shadow-lg);
  transform: translateY(-3px);
  border-color: var(--ck-indigo-lt);
}

/* Image wrap */
.ck-fav-card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f8f9ff;
  overflow: hidden;
}

.ck-fav-card-img-link { display: block; width: 100%; height: 100%; }

.ck-fav-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  box-sizing: border-box;
  transition: transform .3s ease;
}

.ck-fav-card:hover .ck-fav-card-img { transform: scale(1.04); }

/* Sale badge */
.ck-fav-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  /* font-size: 11px; */
  font-weight: 800;
  letter-spacing: .02em;
}

.ck-fav-card-badge--sale {
  background: var(--ck-red);
  color: #fff;
}

/* Heart button */
.ck-fav-card-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ck-red);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: background .15s, transform .15s;
  backdrop-filter: blur(4px);
}
.ck-fav-card-heart:hover { background: #fff; transform: scale(1.12); }
.ck-fav-card-heart.is-saved svg { fill: var(--ck-red); }

/* Card body */
.ck-fav-card-body {
  flex: 1;
  padding: 16px 16px 12px;
}

.ck-fav-card-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.4;
}

.ck-fav-card-title-link {
  color: var(--ck-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s;
}
.ck-fav-card-title-link:hover { color: var(--ck-indigo); }

/* Pricing */
.ck-fav-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.ck-fav-card-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--ck-navy);
  /* letter-spacing: -.02em; */
}

.ck-fav-card-price--sale { color: var(--ck-red-dk); }

.ck-fav-card-was {
  font-size: 12px;
  color: var(--ck-muted);
  text-decoration: line-through;
}

/* Seller */
.ck-fav-card-seller {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--ck-muted);
  margin: 0;
}

/* Card footer */
.ck-fav-card-footer {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--ck-border);
  gap: 8px;
  background: #fafbff;
}

.ck-fav-card-cta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: var(--ck-indigo);
  text-decoration: none;
  transition: gap .15s;
}
.ck-fav-card-cta:hover { gap: 8px; color: var(--ck-indigo-dk); }

.ck-fav-card-alert-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: 1.5px solid var(--ck-border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ck-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, color .15s, background .15s;
  flex-shrink: 0;
}
.ck-fav-card-alert-btn:hover {
  border-color: var(--ck-amber);
  color: var(--ck-amber);
  background: #fffbeb;
}

/* v2.1.0: Add to List button in favorites card footer */
.ck-fav-card-list-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: 1.5px solid var(--ck-border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ck-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, color .15s, background .15s;
  flex-shrink: 0;
}
.ck-fav-card-list-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}
.ck-fav-card-list-btn.is-listed {
  border-color: #16a34a;
  color: #16a34a;
  background: #f0fdf4;
}

/* ════════════════════════════════════════════════════════════
   SHOPPING LIST PAGE
   ════════════════════════════════════════════════════════════ */

.ck-list-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Sidebar ── */
.ck-list-sidebar {
  background: var(--ck-card);
  border: 1.5px solid var(--ck-border);
  border-radius: var(--ck-radius);
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.ck-list-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ck-border);
}

.ck-list-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ck-text);
  margin: 0;
  /* letter-spacing: -.01em; */
}

.ck-list-new-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--ck-indigo-lt);
  color: var(--ck-indigo-dk);
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.ck-list-new-trigger:hover { background: #c7d2fe; }

/* New list form */
.ck-list-new-form-wrap {
  padding: 14px 18px;
  border-bottom: 1px solid var(--ck-border);
  background: #fafbff;
}

.ck-list-new-form { display: flex; flex-direction: column; gap: 10px; }

.ck-list-new-input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--ck-border);
  border-radius: 7px;
  font-size: 13px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .15s;
}
.ck-list-new-input:focus {
  outline: none;
  border-color: var(--ck-indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}

.ck-list-new-actions { display: flex; gap: 8px; }

.ck-list-new-submit {
  flex: 1;
  padding: 8px;
  background: var(--ck-navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.ck-list-new-submit:hover { background: var(--ck-indigo-dk); }

.ck-list-new-cancel {
  padding: 8px 12px;
  background: none;
  border: 1.5px solid var(--ck-border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ck-muted);
  cursor: pointer;
  transition: border-color .15s;
}
.ck-list-new-cancel:hover { border-color: var(--ck-muted); }

/* List nav */
.ck-list-nav { display: flex; flex-direction: column; }

.ck-list-sidebar-empty {
  padding: 20px 18px;
  font-size: 13px;
  color: var(--ck-muted);
  text-align: center;
  margin: 0;
}

.ck-list-nav-item {
  display: flex;
  align-items: center;
  gap: 0;
  border-left: 3px solid transparent;
  transition: background .12s, border-color .12s;
}
.ck-list-nav-item:hover { background: var(--ck-bg); }
.ck-list-nav-item--active { border-left-color: var(--ck-indigo); background: var(--ck-indigo-lt); }
.ck-list-nav-item--active .ck-list-nav-link { color: var(--ck-indigo-dk); font-weight: 700; }

.ck-list-nav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  padding: 11px 16px 11px 13px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ck-text);
  min-width: 0;
}

.ck-list-nav-icon { color: var(--ck-muted); flex-shrink: 0; }

.ck-list-nav-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ck-list-nav-del {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 11px 14px;
  color: var(--ck-border);
  cursor: pointer;
  transition: color .15s;
}
.ck-list-nav-del:hover { color: var(--ck-red); }

/* ── Main panel ── */
.ck-list-main {
  background: var(--ck-card);
  border: 1.5px solid var(--ck-border);
  border-radius: var(--ck-radius);
  overflow: hidden;
}

.ck-list-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--ck-border);
}

.ck-list-main-meta { display: flex; align-items: baseline; gap: 10px; }

.ck-list-main-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ck-text);
  margin: 0;
  /* letter-spacing: -.02em; */
}

.ck-list-main-count {
  font-size: 12px;
  color: var(--ck-muted);
  font-weight: 500;
}

/* Optimize button */
.ck-optimize-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--ck-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .12s;
}
.ck-optimize-trigger:hover { background: var(--ck-green-dk); }
.ck-optimize-trigger:active { transform: scale(.98); }
.ck-optimize-trigger.is-loading { opacity: .7; cursor: default; }

/* ── Items table ── */
.ck-list-table-wrap {
  overflow-x: auto;
}

.ck-list-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ck-list-table thead th {
  padding: 10px 16px;
  text-align: left;
  /* font-size: 11px; */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ck-muted);
  border-bottom: 1.5px solid var(--ck-border);
  white-space: nowrap;
  background: var(--ck-bg);
}

.ck-list-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: var(--ck-text);
}

.ck-list-table .ck-list-row:last-child td { border-bottom: none; }
.ck-list-table .ck-list-row:hover > td { background: #fafbff; }

/* Product cell */
.ck-list-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ck-list-product-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--ck-bg);
  flex-shrink: 0;
  border: 1px solid var(--ck-border);
}

.ck-list-product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ck-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ck-list-product-name:hover { color: var(--ck-indigo); }

/* Price cells */
.ck-list-price {
  font-weight: 700;
  color: var(--ck-navy);
  white-space: nowrap;
}
.ck-list-price--sale { color: var(--ck-red-dk); }
.ck-list-price-was   { display: block; font-size: 11px; color: var(--ck-muted); text-decoration: line-through; white-space: nowrap; }
.ck-list-price-na    { color: var(--ck-muted); }
.ck-list-seller      { font-size: 12px; color: var(--ck-muted); }

/* Qty stepper */
.ck-list-qty-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1.5px solid var(--ck-border);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}

.ck-qty-btn {
  width: 28px;
  height: 32px;
  background: var(--ck-bg);
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--ck-muted);
  transition: background .12s, color .12s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ck-qty-btn:hover { background: var(--ck-indigo-lt); color: var(--ck-indigo-dk); }

.ck-list-qty-input {
  width: 38px;
  height: 32px;
  border: none;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ck-text);
  background: #fff;
  -moz-appearance: textfield;
}
.ck-list-qty-input::-webkit-outer-spin-button,
.ck-list-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ck-list-qty-input:focus { outline: none; }

/* Line total */
.ck-list-line-total { font-weight: 700; color: var(--ck-navy); white-space: nowrap; }

/* Remove button */
.ck-list-remove {
  width: 30px;
  height: 30px;
  background: none;
  border: 1.5px solid var(--ck-border);
  border-radius: 7px;
  cursor: pointer;
  color: var(--ck-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, color .15s, background .15s;
}
.ck-list-remove:hover { border-color: var(--ck-red); color: var(--ck-red); background: #fef2f2; }

/* Table footer */
.ck-list-tfoot { background: var(--ck-bg); }
.ck-list-tfoot td { padding: 12px 16px; border-top: 1.5px solid var(--ck-border); }
.ck-list-tfoot-label { font-size: 13px; color: var(--ck-muted); font-weight: 600; }
.ck-list-tfoot-total { font-size: 16px; font-weight: 800; color: var(--ck-navy); text-align: right; white-space: nowrap; }

/* ── Optimize result panel ── */
.ck-opt-panel {
  border-top: 2px solid var(--ck-indigo-lt);
  background: #fafbff;
  padding: 24px;
}

.ck-opt-panel-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.ck-opt-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ck-navy);
  margin: 0;
}

.ck-opt-panel-sub {
  font-size: 13px;
  color: var(--ck-muted);
  margin: 0;
}

/* Stat cards */
.ck-opt-summary-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ck-opt-stat {
  flex: 1;
  min-width: 100px;
  background: #fff;
  border: 1.5px solid var(--ck-border);
  border-radius: var(--ck-radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ck-opt-stat span {
  /* font-size: 11px; */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ck-muted);
}

.ck-opt-stat strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--ck-indigo-dk);
  /* letter-spacing: -.02em; */
}

/* Store cards */
.ck-opt-stores { display: flex; flex-direction: column; gap: 16px; }

.ck-opt-store {
  background: #fff;
  border: 1.5px solid var(--ck-border);
  border-radius: var(--ck-radius);
  overflow: hidden;
}

.ck-opt-store-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--ck-navy);
  color: #fff;
}

.ck-opt-store-index {
  width: 28px;
  height: 28px;
  background: var(--ck-indigo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.ck-opt-store-info { flex: 1; min-width: 0; }
.ck-opt-store-name { font-size: 15px; font-weight: 700; display: block; }
.ck-opt-store-sub  { font-size: 12px; color: rgba(255,255,255,.55); }

.ck-opt-store-total {
  font-size: 16px;
  font-weight: 800;
  color: var(--ck-green);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Optimizer table */
.ck-opt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ck-opt-table thead th {
  padding: 8px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ck-muted);
  border-bottom: 1px solid var(--ck-border);
  background: var(--ck-bg);
}

.ck-opt-table td { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.ck-opt-table tr:last-child td { border-bottom: none; }

.ck-opt-td-product {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}

.ck-opt-td-product img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--ck-bg);
  flex-shrink: 0;
  border: 1px solid var(--ck-border);
}

.ck-opt-td-num { text-align: right; font-weight: 600; white-space: nowrap; }
.ck-opt-td-total { font-weight: 800; color: var(--ck-navy); }

.ck-opt-buy-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--ck-indigo-lt);
  color: var(--ck-indigo-dk);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.ck-opt-buy-btn:hover { background: #c7d2fe; }

/* Column widths */
.ck-list-table .col-product { width: 40%; }
.ck-list-table .col-price   { width: 14%; white-space: nowrap; }
.ck-list-table .col-seller  { width: 14%; }
.ck-list-table .col-qty     { width: 14%; }
.ck-list-table .col-total   { width: 12%; text-align: right; }
.ck-list-table .col-action  { width: 6%;  text-align: center; }

/* ════════════════════════════════════════════════════════════
   PROFILE PAGE
   ════════════════════════════════════════════════════════════ */

.ck-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ck-profile-card {
  background: var(--ck-card);
  border: 1.5px solid var(--ck-border);
  border-radius: var(--ck-radius);
  padding: 24px;
}

/* Identity card spans full width */
.ck-profile-identity {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ck-profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.ck-profile-avatar {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  border: 3px solid var(--ck-indigo-lt) !important;
  display: block !important;
}

.ck-profile-avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px dashed var(--ck-indigo-lt);
  pointer-events: none;
  animation: ck-spin 20s linear infinite;
}

@keyframes ck-spin { to { transform: rotate(360deg); } }

.ck-profile-identity-body { flex: 1; min-width: 0; }

.ck-profile-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--ck-text);
  margin: 0 0 4px;
  /* letter-spacing: -.03em; */
}

.ck-profile-email {
  font-size: 14px;
  color: var(--ck-muted);
  margin: 0 0 4px;
}

.ck-profile-since {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

.ck-profile-signout {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ck-muted);
  text-decoration: none;
  padding: 8px 14px;
  border: 1.5px solid var(--ck-border);
  border-radius: 8px;
  transition: border-color .15s, color .15s;
  flex-shrink: 0;
  margin-left: auto;
}
.ck-profile-signout:hover { border-color: var(--ck-muted); color: var(--ck-text); }

/* Stats row spans full width */
.ck-profile-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ck-stat-card {
  background: var(--ck-card);
  border: 1.5px solid var(--ck-border);
  border-radius: var(--ck-radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
	gap: 14px;
	text-decoration: none;
	transition: box-shadow .2s, border-color .2s, transform .18s;
	flex-direction: column;
	justify-content: center;
}
.ck-stat-card:hover {
  box-shadow: var(--ck-shadow);
  border-color: var(--ck-indigo-lt);
  transform: translateY(-2px);
}

.ck-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.ck-stat-icon--heart   { background: #fff0f3; }
.ck-stat-icon--bell    { background: #fffbeb; }
.ck-stat-icon--list    { background: #f0fdf4; }
.ck-stat-icon--compare { background: var(--ck-indigo-lt); }

.ck-stat-body { flex: 1; min-width: 0; }

.ck-stat-num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--ck-navy);
  /* letter-spacing: -.03em; */
  line-height: 1.1;
}

.ck-stat-label {
  font-size: 12px;
  color: var(--ck-muted);
  font-weight: 500;
}

.ck-stat-arrow { color: var(--ck-muted); flex-shrink: 0; }

/* Recents */
.ck-profile-recents { grid-column: 1 / -1; }

.ck-profile-section-head {
  display: flex;
  align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	align-content: center;
	flex-wrap: wrap;
}

.ck-profile-section-head h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ck-text);
  margin: 0;
}

.ck-profile-see-all {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ck-indigo);
  text-decoration: none;
  transition: gap .15s;
}
.ck-profile-see-all:hover { gap: 7px; }

.ck-profile-recent-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ck-profile-recent-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  border: 1.5px solid var(--ck-border);
  border-radius: var(--ck-radius-sm);
  text-decoration: none;
  color: var(--ck-text);
  transition: box-shadow .18s, border-color .18s;
  gap: 8px;
}
.ck-profile-recent-card:hover { box-shadow: var(--ck-shadow-sm); border-color: var(--ck-indigo-lt); }

.ck-profile-recent-img-wrap {
  width: 80px;
  height: 80px;
  background: var(--ck-bg);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.ck-profile-recent-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}

.ck-profile-recent-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ck-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ck-profile-recent-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--ck-navy);
  margin: 0;
}

/* Edit form */
.ck-profile-edit { }

.ck-profile-form { display: flex; flex-direction: column; gap: 0; }

.ck-profile-form-footer { margin-top: 4px; }

.ck-profile-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--ck-radius-sm);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
}

.ck-profile-notice--success { background: #f0fdf4; color: var(--ck-green-dk); border: 1px solid #bbf7d0; }
.ck-profile-notice--error   { background: #fef2f2; color: var(--ck-red-dk);   border: 1px solid #fecaca; }

.ck-profile-pw-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ck-border);
}

.ck-profile-pw-section h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ck-text);
  margin: 0 0 8px;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .ck-profile-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .ck-auth-page { flex-direction: column; }

  .ck-auth-brand-panel {
    width: 100%;
    min-width: 0;
    padding: 40px 32px;
    min-height: auto;
  }

  .ck-auth-brand-headline { font-size: 22px; }

  .ck-auth-brand-features { display: none; }

  .ck-auth-brand-deco { display: none; }

  .ck-auth-form-panel { padding: 40px 24px; }

  .ck-list-layout { grid-template-columns: 1fr; }

  .ck-list-sidebar { position: static; }
}

@media (max-width: 768px) {
  .ck-profile-grid { grid-template-columns: 1fr; }

  .ck-profile-identity { flex-direction: column; text-align: center; }

  .ck-profile-signout { margin-left: 0; align-self: center; }

  .ck-profile-stats { grid-template-columns: 1fr 1fr; }

  .ck-profile-recent-row { grid-template-columns: repeat(3, 1fr); }

  .ck-fav-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }

  .ck-list-table .col-seller { display: none; }
}

@media (max-width: 520px) {
  .ck-auth-brand-panel { padding: 32px 20px; }
  .ck-auth-form-panel { padding: 32px 20px; }
  .ck-auth-form-inner { max-width: 100%; }

  .ck-profile-stats { grid-template-columns: 1fr; }

  .ck-profile-recent-row { grid-template-columns: 1fr 1fr; }

  .ck-fav-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .ck-up-nav-tab { padding: 9px 12px; font-size: 12px; }
}

/* ════════════════════════════════════════════════════════════
   ACCOUNT EXPERIENCE 3.0
   Standalone customer shell + redesigned account surfaces
   ════════════════════════════════════════════════════════════ */

.checkit-account-shell {
  background:
    radial-gradient(circle at top left, rgba(255, 202, 119, .18), transparent 34%),
    radial-gradient(circle at top right, rgba(46, 109, 84, .12), transparent 28%),
    linear-gradient(180deg, #f8f4ec 0%, #f7f8f4 54%, #f3f5ef 100%);
  color: #163228;
}

.ck-account-shell-frame {
  min-height: 100vh;
}

.ck-account-shell-topbar {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid rgba(22, 50, 40, .08);
  background: rgba(248, 244, 236, .86);
  backdrop-filter: blur(16px);
}

.ck-account-shell-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.ck-account-shell-brand {
  display: inline-flex;
  align-items: center;
  color: #163228;
  text-decoration: none;
}

.ck-account-shell-brand .custom-logo {
  max-height: 36px;
  width: auto;
}

.ck-account-shell-wordmark {
  font-size: 18px;
  font-weight: 800;
  /* letter-spacing: -.03em; */
}

.ck-account-shell-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ck-account-shell-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: #50685e;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.ck-account-shell-link:hover {
  background: rgba(22, 50, 40, .08);
  color: #163228;
}

.ck-account-shell-link--strong {
  background: #163228;
  color: #fff;
}

.ck-account-shell-link--strong:hover {
  background: #0f241d;
  color: #fff;
  transform: translateY(-1px);
}

.ck-user-page {
  min-height: calc(100vh - 68px);
  background: transparent;
}

.ck-user-body {
  padding: 32px 0 88px;
}

.ck-up-header {
  top: 0;
  background: transparent;
  border: 0;
  position: relative;
}

.ck-up-header-inner {
  padding: 18px 0 0;
}

.ck-up-identity {
  padding: 0 0 14px;
}

.ck-up-avatar {
  border-color: rgba(22, 50, 40, .12) !important;
}

.ck-up-greeting {
  color: rgba(22, 50, 40, .48);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 10px;
}

.ck-up-name {
  color: #163228;
  font-size: 16px;
}

.ck-up-logout {
  border-color: rgba(22, 50, 40, .12);
  color: #50685e;
  background: rgba(255, 255, 255, .74);
}

.ck-up-logout:hover {
  color: #163228;
  background: #fff;
}

.ck-up-nav {
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(22, 50, 40, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 20px 50px rgba(26, 44, 36, .08);
}

.ck-up-nav-tab {
  border: 0;
  border-radius: 999px;
  color: #50685e;
  padding: 11px 16px;
}

.ck-up-nav-tab:hover {
  color: #163228;
  background: rgba(22, 50, 40, .06);
}

.ck-up-nav-tab--active {
  color: #fff;
  background: linear-gradient(135deg, #163228, #2d5d4a);
  border: 0;
}

.ck-up-nav-badge {
  background: rgba(255, 255, 255, .18);
}

.ck-up-nav-tab--active .ck-up-nav-badge {
  background: rgba(255, 255, 255, .18);
}

.ck-page-eyebrow,
.ck-profile-section-kicker,
.ck-stat-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .12em;
  /* text-transform: uppercase; */
  font-family: "kiro", sans-serif;
  color: #8f6a36;
}

.ck-panel-empty {
  padding: 28px;
  border: 1px dashed rgba(22, 50, 40, .16);
  border-radius: 24px;
  background: rgba(255, 255, 255, .48);
}

.ck-panel-empty p {
  margin: 0;
  color: #567064;
  line-height: 1.7;
}

.ck-empty-state {
  border: 1px solid rgba(22, 50, 40, .08);
  border-radius: 32px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 22px 60px rgba(22, 50, 40, .08);
}

.ck-btn-primary {
  background: #163228;
  border-radius: 999px;
  padding: 12px 22px;
  box-shadow: 0 14px 30px rgba(22, 50, 40, .18);
}

.ck-btn-primary:hover {
  background: #0f241d;
}

.ck-page-toolbar {
  align-items: flex-start;
  gap: 16px;
}

.ck-page-toolbar-count {
  color: #567064;
}

.ck-sort-pill {
  border-radius: 999px;
  border-color: rgba(22, 50, 40, .12);
  background: rgba(255, 255, 255, .74);
  color: #50685e;
}

.ck-sort-pill:hover {
  color: #163228;
  border-color: rgba(22, 50, 40, .22);
}

.ck-sort-pill--active {
  color: #fff;
  background: #163228;
  border-color: #163228;
}

.ck-favorites-intro,
.ck-alerts-intro,
.ck-list-intro,
.ck-profile-hero {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  padding: 30px;
  border: 1px solid rgba(22, 50, 40, .08);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(247, 248, 244, .78)),
    radial-gradient(circle at top right, rgba(248, 186, 72, .12), transparent 30%);
  box-shadow: 0 24px 68px rgba(22, 50, 40, .08);
  margin-bottom: 24px;
}

.ck-favorites-intro h1,
.ck-alerts-intro h1,
.ck-list-intro h1,
.ck-profile-hero h1,
.ck-profile-section-head h2,
.ck-alerts-column-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.03;
  /* letter-spacing: -.04em; */
  color: #163228;
}

.ck-profile-section-head h2,
.ck-alerts-column-head h2 {
  font-size: 24px;
}

.ck-favorites-intro p,
.ck-alerts-intro p,
.ck-list-intro p,
.ck-profile-hero-text {
  margin: 0;
  max-width: 680px;
  color: #567064;
  line-height: 1.75;
  font-size: 15px;
}

.ck-favorites-intro-metrics,
.ck-alerts-intro-metrics,
.ck-list-intro-metrics,
.ck-profile-hero-meta {
  display: grid;
  gap: 12px;
  align-content: start;
}

.ck-favorites-metric,
.ck-alerts-metric,
.ck-list-intro-metric,
.ck-profile-hero-chip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(22, 50, 40, .05);
  border: 1px solid rgba(22, 50, 40, .08);
}

.ck-favorites-metric span,
.ck-alerts-metric span,
.ck-list-intro-metric span,
.ck-profile-hero-chip {
  color: #567064;
  font-size: 12px;
  font-weight: 700;
}

.ck-favorites-metric strong,
.ck-alerts-metric strong,
.ck-list-intro-metric strong {
  color: #163228;
  font-size: 28px;
  line-height: 1;
  /* letter-spacing: -.04em; */
}

.ck-favorites-utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(22, 50, 40, .1);
  color: #163228;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.ck-profile-dashboard {
  display: grid;
  gap: 24px;
}

.ck-profile-hero {
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .9fr);
}

.ck-profile-hero-main {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ck-profile-avatar {
  width: 96px !important;
  height: 96px !important;
  border: 3px solid rgba(22, 50, 40, .1) !important;
}

.ck-profile-avatar-ring {
  border-color: rgba(248, 186, 72, .42);
}

.ck-profile-eyebrow {
  font-family: "kiro", sans-serif;
  display: inline-flex;
  margin-bottom: 4px;
  /* font-size: 11px; */
  font-weight: 400;
  /* letter-spacing: .14em; */
  /* text-transform: uppercase; */
  color: #8f6a36;
}

.ck-profile-name {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: .98;
  /* letter-spacing: -.05em; */
  color: #163228;
}

.ck-profile-email {
  /* margin: 10px 0 10px; */
  font-size: 15px;
  color: #50685e;
}

.ck-profile-hero-meta {
  justify-items: stretch;
}

.ck-profile-signout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #163228;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.ck-profile-signout:hover {
  color: #fff;
  background: #0f241d;
}

.ck-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.ck-stat-card {
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(22, 50, 40, .08);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 48px rgba(22, 50, 40, .06);
}

.ck-stat-num {
  margin-top: 10px;
  color: #163228;
  font-size: 36px;
}

.ck-stat-label {
  margin-top: 10px;
  display: block;
  color: #567064;
  line-height: 1.5;
}

.ck-profile-panel {
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(22, 50, 40, .08);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 20px 52px rgba(22, 50, 40, .07);
}

.ck-profile-panel--wide {
  grid-column: span 2;
}

.ck-profile-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.ck-profile-see-all {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(22, 50, 40, .06);
  color: #163228;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ck-profile-action-grid,
.ck-profile-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ck-profile-action-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(22, 50, 40, .05), rgba(248, 186, 72, .08));
  border: 1px solid rgba(22, 50, 40, .08);
  text-decoration: none;
  color: #163228;
}

.ck-profile-action-card strong {
  font-size: 1rem;
  /* letter-spacing: -.02em; */
}

.ck-profile-action-card span {
  color: #567064;
  line-height: 1.6;
}

.ck-profile-activity-list,
.ck-alerts-list {
  display: grid;
  gap: 14px;
}

.ck-profile-activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(22, 50, 40, .04);
  border: 1px solid rgba(22, 50, 40, .08);
  text-decoration: none;
}

.ck-profile-activity-copy {
  display: grid;
  gap: 6px;
}

.ck-profile-activity-copy strong {
  color: #163228;
  font-size: 16px;
}

.ck-profile-activity-copy span {
  color: #567064;
  line-height: 1.55;
}

.ck-profile-activity-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(22, 50, 40, .08);
  color: #163228;
  font-size: 12px;
  font-weight: 800;
}

.ck-profile-activity-state.is-live {
  background: rgba(46, 109, 84, .14);
  color: #1b513d;
}

.ck-profile-list-summaries {
  display: grid;
  gap: 14px;
}

.ck-profile-list-card {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(22, 50, 40, .08);
  background: rgba(248, 244, 236, .72);
  color: #163228;
  text-decoration: none;
}

.ck-profile-list-card span {
  color: #567064;
}

.ck-profile-list-total {
  font-size: 20px;
  font-weight: 800;
  /* letter-spacing: -.03em; */
  color: #163228 !important;
}

.ck-profile-recent-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ck-profile-recent-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(22, 50, 40, .04);
  border: 1px solid rgba(22, 50, 40, .08);
}

.ck-profile-recent-img-wrap {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background: #fff;
}

.ck-profile-recent-title {
  min-height: 2.9em;
  color: #163228;
  font-size: 13px;
}

.ck-profile-recent-price {
  color: #163228;
  font-size: 18px;
}

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

.ck-profile-pw-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(22, 50, 40, .08);
}

.ck-profile-pw-section h3 {
  margin: 0 0 6px;
  font-size: 18px;
  /* letter-spacing: -.02em; */
}

.ck-profile-pw-section p {
  margin: 0 0 10px;
  color: #567064;
}

.ck-profile-notice {
  border-radius: 18px;
}

.ck-fav-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.ck-fav-card {
  border-radius: 28px;
  border-color: rgba(22, 50, 40, .08);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 44px rgba(22, 50, 40, .06);
}

.ck-fav-card:hover {
  transform: translateY(-5px);
  border-color: rgba(22, 50, 40, .16);
}

.ck-fav-card-img-wrap {
  background: linear-gradient(180deg, rgba(248, 244, 236, .95), rgba(244, 248, 241, .92));
}

.ck-fav-card-heart {
  width: 38px;
  height: 38px;
}

.ck-fav-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ck-fav-card-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(22, 50, 40, .06);
  color: #50685e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.ck-fav-card-title {
  font-size: 16px;
}

.ck-fav-card-price {
  color: #163228;
}

.ck-fav-card-caption {
  margin: 12px 0 0;
  color: #567064;
  font-size: 13px;
  line-height: 1.6;
}

.ck-fav-card-footer {
  flex-wrap: wrap;
  background: rgba(248, 244, 236, .54);
  border-top-color: rgba(22, 50, 40, .08);
}

.ck-fav-card-cta {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #163228;
  color: #fff;
  justify-content: center;
}

.ck-fav-card-cta:hover {
  color: #fff;
  gap: 5px;
}

.ck-fav-card-list-btn,
.ck-fav-card-alert-btn {
  width: auto;
  min-width: 0;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #163228;
  background: rgba(255, 255, 255, .8);
  border-color: rgba(22, 50, 40, .1);
}

.ck-fav-card-list-btn:hover,
.ck-fav-card-alert-btn:hover {
  background: #fff;
  color: #163228;
  border-color: rgba(22, 50, 40, .22);
}

.ck-alerts-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ck-alerts-column {
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(22, 50, 40, .08);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 20px 52px rgba(22, 50, 40, .07);
}

.ck-alerts-column-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.ck-alerts-column-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 16px;
  background: rgba(22, 50, 40, .06);
  color: #163228;
  font-size: 18px;
  font-weight: 800;
}

.ck-alert-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(22, 50, 40, .08);
  background: rgba(248, 244, 236, .56);
}

.ck-alert-card.is-live {
  background: rgba(46, 109, 84, .08);
}

.ck-alert-card.is-triggered {
  background: rgba(248, 186, 72, .12);
}

.ck-alert-card-main {
  display: flex;
  gap: 16px;
}

.ck-alert-card-media {
  width: 94px;
  height: 94px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.ck-alert-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.ck-alert-card-copy {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.ck-alert-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ck-alert-card-title {
  color: #163228;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.ck-alert-card-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(22, 50, 40, .08);
  color: #163228;
  /* font-size: 11px; */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ck-alert-card-state.is-live {
  background: rgba(46, 109, 84, .16);
  color: #1b513d;
}

.ck-alert-card-state.is-triggered {
  background: rgba(143, 106, 54, .18);
  color: #7b5827;
}

.ck-alert-card-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ck-alert-card-prices div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(22, 50, 40, .08);
}

.ck-alert-card-prices span {
  display: block;
  margin-bottom: 6px;
  color: #567064;
  font-size: 12px;
  font-weight: 700;
}

.ck-alert-card-prices strong {
  color: #163228;
  font-size: 20px;
  line-height: 1.1;
  /* letter-spacing: -.03em; */
}

.ck-alert-card-message {
  margin: 0;
  color: #567064;
  line-height: 1.65;
  font-size: 14px;
}

.ck-alert-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.ck-alert-target-edit {
  display: grid;
  gap: 8px;
  min-width: 220px;
  color: #50685e;
  font-size: 12px;
  font-weight: 700;
}

.ck-alert-target-edit input {
  height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(22, 50, 40, .12);
  background: rgba(255, 255, 255, .88);
  color: #163228;
  font-size: 14px;
  font-weight: 700;
}

.ck-alert-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ck-alert-action {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(22, 50, 40, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  color: #163228;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.ck-alert-action--primary {
  background: #163228;
  color: #fff;
}

.ck-list-intro {
  margin-bottom: 20px;
}

.ck-list-layout {
  gap: 20px;
}

.ck-list-sidebar,
.ck-list-main {
  border-radius: 30px;
  border-color: rgba(22, 50, 40, .08);
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 20px 52px rgba(22, 50, 40, .07);
}

.ck-list-sidebar {
  top: 16px;
}

.ck-list-sidebar-header,
.ck-list-main-header {
  border-bottom-color: rgba(22, 50, 40, .08);
}

.ck-list-new-trigger {
  border-radius: 999px;
  background: rgba(22, 50, 40, .08);
  color: #163228;
}

.ck-list-nav-item--active {
  background: rgba(22, 50, 40, .06);
  border-left-color: #163228;
}

.ck-list-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 24px 20px;
}

.ck-list-summary-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(22, 50, 40, .08);
  background: rgba(248, 244, 236, .62);
}

.ck-list-summary-card span,
.ck-list-summary-card small {
  color: #567064;
}

.ck-list-summary-card strong {
  color: #163228;
  font-size: 24px;
  line-height: 1.05;
  /* letter-spacing: -.03em; */
}

.ck-list-table thead th {
  background: rgba(22, 50, 40, .04);
  border-bottom-color: rgba(22, 50, 40, .08);
}

.ck-list-table .ck-list-row:hover > td {
  background: rgba(22, 50, 40, .035);
}

.ck-opt-panel {
  background: rgba(248, 244, 236, .62);
  border-top-color: rgba(22, 50, 40, .1);
}

.ck-opt-store-head {
  background: linear-gradient(135deg, #163228, #2d5d4a);
}

@media (max-width: 1100px) {
  .ck-profile-stats,
  .ck-list-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ck-profile-panel--wide {
    grid-column: auto;
  }
}

@media (max-width: 980px) {
  .ck-favorites-intro,
  .ck-alerts-intro,
  .ck-list-intro,
  .ck-profile-hero,
  .ck-alerts-board,
  .ck-profile-action-grid,
  .ck-profile-content-grid {
    grid-template-columns: 1fr;
  }

  .ck-profile-hero-main {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .ck-account-shell-topbar-inner {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .ck-up-identity {
    flex-wrap: wrap;
  }

  .ck-profile-stats,
  .ck-list-summary-strip,
  .ck-alert-card-prices,
  .ck-profile-recent-row {
    grid-template-columns: 1fr;
  }

  .ck-fav-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .ck-alert-card-main {
    flex-direction: column;
  }

  .ck-alert-card-media {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 520px) {
  .ck-user-body {
    padding-top: 24px;
  }

  .ck-favorites-intro,
  .ck-alerts-intro,
  .ck-list-intro,
  .ck-profile-hero,
  .ck-profile-panel,
  .ck-alerts-column {
    padding: 22px;
    border-radius: 24px;
  }

  .ck-fav-grid {
    grid-template-columns: 1fr;
  }

  .ck-up-nav {
    padding: 6px;
  }
}

/* Theme alignment pass: keep the improved layouts, but stay visually inside
   the existing CheckIT design system instead of introducing a separate app skin. */
.checkit-account-shell {
  background: var(--ck-bg);
  color: var(--ck-text);
}

.ck-account-shell-topbar {
  background: var(--ck-white);
  border-bottom: 1px solid var(--ck-border);
  backdrop-filter: none;
}

.ck-account-shell-brand,
.ck-account-shell-link {
  color: var(--ck-text);
}

.ck-account-shell-link:hover {
  background: var(--ck-bg);
  color: var(--ck-indigo);
}

.ck-account-shell-link--strong {
  background: var(--ck-indigo);
  color: #fff;
}

.ck-account-shell-link--strong:hover {
  background: var(--ck-indigo-dk);
}

.ck-user-page {
  background: var(--ck-bg);
}

.ck-up-header {
  background: var(--ck-navy);
}

.ck-up-greeting {
  color: rgba(255,255,255,.55);
}

.ck-up-name {
  color: #fff;
}

.ck-up-logout {
  color: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.12);
  background: transparent;
}

.ck-up-logout:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.ck-up-nav {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ck-up-nav-tab {
  border-radius: 8px 8px 0 0;
  color: rgba(255,255,255,.55);
  border-bottom: 2px solid transparent;
}

.ck-up-nav-tab:hover {
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.05);
}

.ck-up-nav-tab--active {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-bottom-color: var(--ck-indigo);
}

.ck-up-nav-badge {
  background: var(--ck-indigo);
}

.ck-page-eyebrow,
.ck-profile-section-kicker,
.ck-stat-kicker {
  color: var(--ck-indigo);
}

.ck-empty-state,
.ck-profile-panel,
.ck-alerts-column,
.ck-list-sidebar,
.ck-list-main,
.ck-fav-card,
.ck-favorites-intro,
.ck-alerts-intro,
.ck-list-intro,
.ck-profile-hero {
  background: var(--ck-card);
  border: 1.5px solid var(--ck-border);
  border-radius: var(--ck-radius);
  box-shadow: var(--ck-shadow-sm);
}

.ck-favorites-intro h1,
.ck-alerts-intro h1,
.ck-list-intro h1,
.ck-profile-hero h1,
.ck-profile-section-head h2,
.ck-alerts-column-head h2,
.ck-profile-name,
.ck-stat-num,
.ck-profile-list-total,
.ck-alert-card-prices strong,
.ck-list-summary-card strong,
.ck-favorites-metric strong,
.ck-alerts-metric strong,
.ck-list-intro-metric strong {
  color: var(--ck-navy);
}

.ck-favorites-intro p,
.ck-alerts-intro p,
.ck-list-intro p,
.ck-profile-hero-text,
.ck-panel-empty p,
.ck-page-toolbar-count,
.ck-profile-activity-copy span,
.ck-profile-list-card span,
.ck-fav-card-caption,
.ck-alert-card-message,
.ck-list-summary-card span,
.ck-list-summary-card small,
.ck-favorites-metric span,
.ck-alerts-metric span,
.ck-list-intro-metric span {
  color: var(--ck-muted);
}

.ck-btn-primary,
.ck-profile-signout,
.ck-alert-action--primary,
.ck-fav-card-cta {
  background: var(--ck-indigo);
  color: #fff;
  box-shadow: none;
}

.ck-btn-primary:hover,
.ck-profile-signout:hover,
.ck-alert-action--primary:hover,
.ck-fav-card-cta:hover {
  background: var(--ck-indigo-dk);
  color: #fff;
}

.ck-favorites-metric,
.ck-alerts-metric,
.ck-list-intro-metric,
.ck-profile-hero-chip,
.ck-profile-activity-item,
.ck-profile-list-card,
.ck-profile-action-card,
.ck-alert-card,
.ck-list-summary-card {
  background: var(--ck-bg);
  border-color: var(--ck-border);
  border-radius: var(--ck-radius-sm);
}

.ck-profile-action-card {
  background: var(--ck-card);
}

.ck-profile-see-all,
.ck-favorites-utility-link,
.ck-fav-card-list-btn,
.ck-fav-card-alert-btn,
.ck-alert-action,
.ck-account-shell-link {
  background: var(--ck-white);
  border: 1.5px solid var(--ck-border);
  color: var(--ck-text);
  border-radius: 999px;
}

.ck-profile-see-all:hover,
.ck-favorites-utility-link:hover,
.ck-fav-card-list-btn:hover,
.ck-fav-card-alert-btn:hover,
.ck-alert-action:hover {
  border-color: var(--ck-indigo);
  color: var(--ck-indigo);
  background: var(--ck-indigo-lt);
}

.ck-fav-card-img-wrap,
.ck-alert-card-media,
.ck-profile-recent-img-wrap,
.ck-alert-card-prices div {
  background: var(--ck-white);
}

.ck-alert-card.is-live {
  background: #f0fdf4;
}

.ck-alert-card.is-triggered {
  background: #fffbeb;
}

.ck-alert-card-state.is-live {
  background: #dcfce7;
  color: #166534;
}

.ck-alert-card-state.is-triggered {
  background: #fef3c7;
  color: #92400e;
}

.ck-list-summary-card,
.ck-opt-panel {
  background: var(--ck-bg);
}

.ck-list-nav-item--active {
  background: var(--ck-indigo-lt);
  border-left-color: var(--ck-indigo);
}

.ck-opt-store-head {
  background: var(--ck-navy);
}

/* Final normalization pass: preserve the new layout, but return typography and
   controls to the existing site language. */
/* .checkit-account-shell,
.checkit-account-shell * {
  font-family: inherit;
} */

.ck-favorites-intro h1,
.ck-alerts-intro h1,
.ck-list-intro h1,
.ck-profile-hero h1,
.ck-profile-name {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  /* letter-spacing: -.04em; */
}

.ck-profile-section-head h2,
.ck-alerts-column-head h2 {
  font-size: 24px;
  font-weight: 800;
  /* letter-spacing: -.03em; */
}

.ck-favorites-intro p,
.ck-alerts-intro p,
.ck-list-intro p,
.ck-profile-hero-text,
.ck-alert-card-message,
.ck-fav-card-caption,
.ck-panel-empty p {
  font-size: 14px;
}

.ck-account-shell-link,
.ck-profile-see-all,
.ck-favorites-utility-link,
.ck-fav-card-list-btn,
.ck-fav-card-alert-btn,
.ck-alert-action {
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--ck-radius-sm);
  font-size: 13px;
  font-weight: 700;
}

.ck-btn-primary,
.ck-profile-signout,
.ck-alert-action--primary,
.ck-fav-card-cta {
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--ck-radius-sm);
  font-size: 14px;
  font-weight: 700;
}

.ck-alert-target-edit {
  font-size: 13px;
  font-weight: 600;
  color: var(--ck-text);
}

.ck-alert-target-edit input,
.ck-list-intro-metric,
.ck-favorites-metric,
.ck-alerts-metric,
.ck-profile-hero-chip {
  border-radius: var(--ck-radius-sm);
}

.ck-alert-target-edit input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ck-border);
  font-size: 14px;
  color: var(--ck-text);
  background: var(--ck-bg);
  transition: border-color .18s, box-shadow .18s;
  box-sizing: border-box;
  appearance: none;
}

.ck-alert-target-edit input:focus {
  outline: none;
  border-color: var(--ck-indigo);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}

.ck-profile-panel,
.ck-alerts-column,
.ck-favorites-intro,
.ck-alerts-intro,
.ck-list-intro,
.ck-profile-hero,
.ck-fav-card,
.ck-list-sidebar,
.ck-list-main,
.ck-empty-state {
  box-shadow: var(--ck-shadow);
}

/* ============================================================
   Recently Viewed Tray
   v1.0.0: Fixed-bottom persistent tray populated by recommendations.js
   v2.0.0: Corrected selector to #checkit-recently-viewed (matches rendered HTML); switched to
           dark header theme; items are vertical cards in a horizontal scroll row; 60×60
           thumbnails; 2-line clamped title; compact non-intrusive footprint.
   ============================================================ */

/* Root tray element — rendered as <div id="checkit-recently-viewed"> */
#checkit-recently-viewed,
.checkit-rv-tray {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a1a1a;
  border-top: 2px solid #333;
  box-shadow: 0 -4px 16px rgba(0,0,0,.40);
  font-family: inherit;
  font-size: 13px;
  /* Height is auto; collapses to header only when items are hidden */
}

/* Header bar */
#checkit-recently-viewed .checkit-rv__header,
.checkit-rv-tray .checkit-rv__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #1a1a1a;
  border-bottom: 1px solid #333;
  user-select: none;
}

/* "Recently Viewed" label */
#checkit-recently-viewed .checkit-rv__title,
.checkit-rv-tray .checkit-rv__title {
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #aaa;
}

/* Collapse / expand toggle button */
#checkit-recently-viewed .checkit-rv__toggle,
.checkit-rv-tray .checkit-rv__toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #aaa;
  padding: 0 4px;
  transition: color .15s;
}

#checkit-recently-viewed .checkit-rv__toggle:hover,
.checkit-rv-tray .checkit-rv__toggle:hover {
  color: #fff;
}

/* Horizontal scroll container for item cards */
#checkit-recently-viewed .checkit-rv__items,
.checkit-rv-tray .checkit-rv__items {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #444 #1a1a1a;
  background: #1a1a1a;
}

#checkit-recently-viewed .checkit-rv__items::-webkit-scrollbar,
.checkit-rv-tray .checkit-rv__items::-webkit-scrollbar {
  height: 4px;
}

#checkit-recently-viewed .checkit-rv__items::-webkit-scrollbar-track,
.checkit-rv-tray .checkit-rv__items::-webkit-scrollbar-track {
  background: #1a1a1a;
}

#checkit-recently-viewed .checkit-rv__items::-webkit-scrollbar-thumb,
.checkit-rv-tray .checkit-rv__items::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 2px;
}

/* Individual product card — vertical stack, fixed narrow width */
#checkit-recently-viewed .checkit-rv__item,
.checkit-rv-tray .checkit-rv__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #ddd;
  flex-shrink: 0;
  width: 80px;
  max-width: 90px;
  padding: 6px 4px;
  border-radius: 6px;
  transition: background .15s;
}

#checkit-recently-viewed .checkit-rv__item:hover,
.checkit-rv-tray .checkit-rv__item:hover {
  background: #2a2a2a;
  opacity: 1;
}

/* Thumbnail image — square, cropped */
#checkit-recently-viewed .checkit-rv__thumb,
.checkit-rv-tray .checkit-rv__thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
  display: block;
  background: #2a2a2a;
}

/* Product title — 2-line clamp */
#checkit-recently-viewed .checkit-rv__name,
.checkit-rv-tray .checkit-rv__name {
  font-size: 11px;
  line-height: 1.3;
  color: #ccc;
  width: 100%;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  white-space: normal;
}

/* Price */
#checkit-recently-viewed .checkit-rv__price,
.checkit-rv-tray .checkit-rv__price {
  /* font-size: 11px; */
  font-weight: 700;
  color: #f87171;
  flex-shrink: 0;
  text-align: center;
}


.ck-profile-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(500px, 1.85fr);
  align-items: center;
}

/* Image Search Modal (v2.3.0) */
.checkit-img-modal { position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center; }
.checkit-img-modal__backdrop { position:absolute;inset:0;background:rgba(0,0,0,.6);backdrop-filter:blur(3px); }
.checkit-img-modal__box { position:relative;background:#fff;border-radius:12px;padding:24px;width:min(480px,90vw);max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.3); }
.checkit-img-modal__close { position:absolute;top:12px;right:12px;background:none;border:none;font-size:18px;cursor:pointer;color:#666;line-height:1; }
.checkit-img-modal__preview img { width:100%;max-height:220px;object-fit:contain;border-radius:8px;background:#f5f5f5; }
.checkit-img-modal__status { display:flex;align-items:center;gap:10px;margin-top:16px;color:#555;font-size:14px; }
.checkit-img-modal__spinner { width:18px;height:18px;border:2px solid #ddd;border-top-color:#e63946;border-radius:50%;animation:checkit-spin .7s linear infinite;flex-shrink:0; }
@keyframes checkit-spin { to { transform:rotate(360deg); } }
.checkit-img-modal__result { margin-top:16px; }
.checkit-img-modal__result label { display:block;font-size:12px;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px; }
.checkit-img-modal__query-input { width:100%;padding:10px 14px;border:2px solid #e0e0e0;border-radius:8px;font-size:15px;box-sizing:border-box; }
.checkit-img-modal__query-input:focus { outline:none;border-color:#e63946; }
.checkit-img-modal__search-btn { margin-top:10px;width:100%;padding:12px;background:#e63946;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer; }
.checkit-img-modal__search-btn:hover { background:#c0303b; }


.hidden{
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  visibility: hidden !important;
}

section + section{
  margin-top: unset !important;
}