/** Shopify CDN: Minification failed

Line 22:12 Expected identifier but found whitespace
Line 22:14 Unexpected "{"
Line 22:24 Expected ":"
Line 23:17 Expected identifier but found whitespace
Line 23:19 Unexpected "{"
Line 23:29 Expected ":"
Line 24:7 Expected identifier but found whitespace
Line 24:9 Unexpected "{"
Line 24:19 Expected ":"
Line 25:9 Expected identifier but found whitespace
... and 11 more hidden warnings

**/
/* ============================================================
   AI Infra Directory · Shopify Theme
   B2B catalog + project quote style, adapted from the
   "Compute Build Navigator" visual language (light, card grid)
   ============================================================ */
:root {
  --primary: {{ settings.color_primary | default: '#1d4ed8' }};
  --primary-dark: {{ settings.color_primary_dark | default: '#1e3a8a' }};
  --bg: {{ settings.color_bg | default: '#f4f6fb' }};
  --card: {{ settings.color_card | default: '#ffffff' }};
  --text: {{ settings.color_text | default: '#0f172a' }};
  --text2: {{ settings.color_text_2 | default: '#64748b' }};
  --border: {{ settings.color_border | default: '#e2e8f0' }};
  --red: #dc2626;
  --green: #16a34a;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04);
  --primary-light: rgba(29, 78, 216, .09);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px; line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 .9em; }
.ai-skip {
  position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff;
  padding: 8px 14px; border-radius: 0 0 8px 0; z-index: 200; text-decoration: none;
}
.ai-skip:focus { left: 0; }
.ai-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.ai-btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff;
  border: 1px solid var(--primary); border-radius: 9px; padding: 10px 20px;
  font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; font-family: inherit; line-height: 1.3;
}
.ai-btn:hover { filter: brightness(1.08); color: #fff; }
.ai-btn.ghost { background: var(--card); color: var(--primary); }
.ai-btn.ghost:hover { background: var(--primary-light); }
.ai-btn.block { width: 100%; justify-content: center; }
.ai-btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Header ---------- */
.ai-header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 90; }
.ai-header .ai-wrap { display: flex; align-items: center; gap: 18px; min-height: 58px; }
.ai-logo { font-size: 20px; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: .3px; white-space: nowrap; }
.ai-logo b { color: var(--primary); }
.ai-logo small { display: block; font-size: 10px; font-weight: 500; color: var(--text2); letter-spacing: .4px; }
.ai-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.ai-nav::-webkit-scrollbar { display: none; }
.ai-nav a { color: var(--text2); text-decoration: none; font-size: 13.5px; padding: 7px 11px; border-radius: 8px; white-space: nowrap; }
.ai-nav a:hover { color: var(--primary); background: var(--bg); }
.ai-nav a.active { color: var(--primary); font-weight: 700; }
.ai-h-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.ai-h-link { color: var(--text); text-decoration: none; font-size: 13px; padding: 8px 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ai-h-link:hover { background: var(--bg); color: var(--primary); }
.ai-h-link .cnt { background: var(--red); color: #fff; border-radius: 999px; font-size: 10.5px; min-width: 17px; height: 17px; padding: 0 4px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.ai-search-box { display: flex; align-items: center; flex: 0 1 400px; min-width: 180px; border: 2px solid var(--primary); border-radius: 10px; overflow: hidden; background: var(--card); }
.ai-search-box input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 8px 12px; font: inherit; background: transparent; color: var(--text); }
.ai-search-box button { border: 0; background: var(--primary); color: #fff; padding: 8px 16px; cursor: pointer; font-weight: 700; font-size: 13.5px; font-family: inherit; }
.ai-burger { display: none; border: 1px solid var(--border); background: var(--card); border-radius: 9px; padding: 8px 11px; cursor: pointer; color: var(--text); font-size: 17px; line-height: 1; }
@media (max-width: 900px) {
  .ai-nav, .ai-search-box { display: none; }
  .ai-burger { display: inline-block; }
  .ai-header .ai-wrap { flex-wrap: wrap; }
  .ai-mnav { display: none; width: 100%; padding: 4px 0 12px; flex-direction: column; gap: 2px; }
  .ai-mnav.open { display: flex; }
  .ai-mnav a { padding: 10px 8px; border-top: 1px dashed var(--border); color: var(--text2); text-decoration: none; font-size: 14px; }
  .ai-mnav a:hover { color: var(--primary); }
}
@media (min-width: 901px) { .ai-mnav { display: none !important; } }

/* ---------- Footer ---------- */
.ai-footer { background: var(--card); border-top: 1px solid var(--border); margin-top: 26px; padding: 30px 0 22px; font-size: 13px; color: var(--text2); }
.ai-footer .ai-wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
@media (max-width: 760px) { .ai-footer .ai-wrap { grid-template-columns: 1fr; gap: 16px; } }
.ai-footer h4 { font-size: 13px; color: var(--text); margin: 0 0 8px; }
.ai-footer a { color: var(--text2); text-decoration: none; display: block; padding: 3px 0; }
.ai-footer a:hover { color: var(--primary); }
.ai-foot-note { max-width: 1240px; margin: 18px auto 0; padding: 14px 20px 0; border-top: 1px dashed var(--border); font-size: 12px; color: var(--text2); }

/* ---------- Shared page bits ---------- */
.ai-crumb { font-size: 12.5px; color: var(--text2); padding: 16px 0 6px; }
.ai-crumb a { color: var(--text2); text-decoration: none; }
.ai-crumb a:hover { color: var(--primary); }
.ai-page-h { margin: 10px 0 16px; }
.ai-page-h h1 { font-size: 24px; font-weight: 800; }
.ai-page-h p { color: var(--text2); margin: 6px 0 0; }

/* ---------- Hero ---------- */
.ai-hero {
  margin: 18px 0 16px; border-radius: 16px; padding: 30px 32px; color: #fff;
  background: linear-gradient(118deg, #172554 0%, #1e3a8a 45%, #1d4ed8 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,.12);
}
.ai-hero h1 { font-size: 26px; font-weight: 800; margin: 0 0 8px; letter-spacing: .2px; }
.ai-hero p { margin: 0; opacity: .88; font-size: 14px; max-width: 640px; }
.ai-hero .ai-btn { background: #fff; color: var(--primary-dark); border-color: #fff; }
.ai-hero .ai-btn:hover { filter: brightness(.97); }
.ai-hero .ai-btn.ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.ai-hero .ai-btn.ghost:hover { background: rgba(255,255,255,.2); }
.ai-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Hero: large banner upgrade ---- */
.ai-hero { position: relative; overflow: hidden; }
.ai-hero-lg {
  padding: 58px 56px 52px; min-height: 320px;
  background:
    radial-gradient(900px 380px at 84% -12%, rgba(56,189,248,.30), transparent 62%),
    radial-gradient(720px 440px at -10% 115%, rgba(129,140,248,.24), transparent 60%),
    linear-gradient(118deg, #0d1f4e 0%, #15306e 42%, #1d4ed8 100%);
}
.ai-hero-lg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 110% 130% at 15% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 110% 130% at 15% 0%, #000 0%, transparent 72%);
}
.ai-hero-inner { position: relative; z-index: 1; flex: 1 1 520px; min-width: 0; }
.ai-hero-lg h1 { font-size: 40px; line-height: 1.14; max-width: 780px; }
.ai-hero-lg p { font-size: 15.5px; line-height: 1.65; max-width: 700px; opacity: .92; }
.ai-hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(165,243,252,.3);
  color: #a5f3fc; font-size: 11.5px; font-weight: 800; letter-spacing: 1.7px;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
}
.ai-hero-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 3px rgba(34,211,238,.22); }
.ai-btn-xl { padding: 15px 30px; font-size: 16px; border-radius: 12px; }
.ai-hero .ai-btn-accent {
  background: linear-gradient(135deg, #22d3ee 0%, #2563eb 58%, #4f46e5 100%);
  color: #fff; border: none;
  box-shadow: 0 12px 30px rgba(34,211,238,.32), inset 0 1px 0 rgba(255,255,255,.28);
}
.ai-hero .ai-btn-accent:hover { filter: brightness(1.1); box-shadow: 0 14px 38px rgba(34,211,238,.5); }
.ai-hero-deco { position: relative; z-index: 1; width: 320px; flex: none; min-height: 230px; }
.deco-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(165,243,252,.20); pointer-events: none; }
.deco-ring-1 { width: 280px; height: 280px; right: -34px; top: -80px; }
.deco-ring-2 { width: 180px; height: 180px; right: 14px; top: -30px; border-color: rgba(165,243,252,.38); }
.deco-chips { position: absolute; right: 34px; top: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.deco-chips i {
  font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; color: #dbeafe;
  background: rgba(30,64,175,.55); border: 1px solid rgba(165,243,252,.22);
  padding: 7px 13px; border-radius: 8px; box-shadow: 0 4px 14px rgba(2,6,23,.28);
}
.deco-brands {
  position: absolute; left: 0; right: 14px; bottom: 4px; text-align: right;
  font-size: 11px; letter-spacing: .5px; color: rgba(219,234,254,.5); white-space: nowrap;
}
@media (max-width: 1080px) { .ai-hero-deco { display: none; } }
@media (max-width: 760px) {
  .ai-hero-lg { padding: 34px 22px; min-height: 0; }
  .ai-hero-lg h1 { font-size: 25px; }
  .ai-hero-lg p { font-size: 13.5px; }
  .ai-btn-xl { padding: 13px 18px; font-size: 15px; justify-content: center; }
  .ai-hero-actions { flex-direction: column; align-items: stretch; }
  .ai-hero-actions .ai-btn { justify-content: center; }
}

/* ---- Forum entry banner (under hero) ---- */
.ai-forum {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(118deg, #ffffff 0%, #eef4ff 130%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; margin: 0 0 16px;
}
.ai-forum::after {
  content: ""; position: absolute; right: -52px; top: -78px; pointer-events: none;
  width: 210px; height: 210px; border-radius: 50%;
  border: 30px solid rgba(37, 99, 235, .06);
}
.ai-forum-ic {
  flex: none; width: 60px; height: 60px; border-radius: 17px;
  background: #eff6ff; border: 1px solid #dbeafe;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
.ai-forum-main { position: relative; z-index: 1; flex: 1 1 430px; min-width: 0; }
.ai-forum-chip {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 1.6px;
  color: var(--primary); background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.18);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 8px;
}
.ai-forum-main h3 { margin: 0 0 6px; font-size: 18.5px; font-weight: 800; }
.ai-forum-main p { margin: 0; color: var(--text2); font-size: 13.5px; line-height: 1.6; max-width: 680px; }
.ai-forum-actions {
  position: relative; z-index: 1; margin-left: auto;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.ai-forum-note { font-size: 11.5px; color: var(--text2); }
@media (max-width: 860px) {
  .ai-forum-actions { margin-left: 0; width: 100%; align-items: stretch; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .ai-forum-note { align-self: center; }
}
@media (max-width: 760px) {
  .ai-forum { padding: 18px 18px; }
  .ai-forum-actions { flex-direction: column; align-items: stretch; }
  .ai-forum-note { align-self: flex-start; }
}

/* ---- Forum CTA button: large & prominent ---- */
.ai-forum .ai-btn {
  border: none; color: #fff; font-size: 16.5px; font-weight: 800; letter-spacing: .2px;
  padding: 15px 32px; border-radius: 12px;
  background: linear-gradient(135deg, #22d3ee 0%, #2563eb 62%, #4f46e5 100%);
  box-shadow: 0 10px 26px rgba(34, 211, 238, .34), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.ai-forum .ai-btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 13px 32px rgba(34, 211, 238, .5); }
.ai-forum .ai-btn .ai-forum-arrow { display: inline-block; font-size: 18px; transition: transform .15s ease; }
.ai-forum .ai-btn:hover .ai-forum-arrow { transform: translateX(4px); }
.ai-forum-note { font-size: 12px; }
@media (max-width: 760px) {
  .ai-forum .ai-btn { width: 100%; justify-content: center; padding: 15px 18px; font-size: 16px; }
}

/* ---------- Sections / cards ---------- */
.ai-sec { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.ai-sec-h { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--border); }
.ai-sec-h .ic { width: 28px; height: 28px; border-radius: 8px; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; flex: none; letter-spacing: .4px; }
.ai-sec-h .t { font-size: 16px; font-weight: 700; }
.ai-sec-h .more { margin-left: auto; font-size: 13px; color: var(--text2); text-decoration: none; white-space: nowrap; }
.ai-sec-h .more:hover { color: var(--primary); }
.ai-sec-b { padding: 16px 18px; }

/* Category (directory) cards */
.ai-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .ai-cat-grid { grid-template-columns: 1fr; } }
.ai-cat {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; text-decoration: none;
  color: var(--text); display: flex; flex-direction: column; gap: 8px; transition: box-shadow .15s, border-color .15s;
}
.ai-cat:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(37, 99, 235, .12); }
.ai-cat .c-ico { width: 44px; height: 44px; border-radius: 11px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 21px; }
.ai-cat h3 { margin: 2px 0 0; font-size: 16.5px; }
.ai-cat p { margin: 0; color: var(--text2); font-size: 13px; flex: 1; }
.ai-cat .c-meta { font-size: 12px; color: var(--primary); font-weight: 700; }
.ai-cat .c-meta.soon { color: var(--text2); font-weight: 500; }

/* Product grid & card */
.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 12px; }
.ai-grid.cols3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.p-card { border: 1px solid var(--border); border-radius: 11px; background: var(--card); overflow: hidden; transition: box-shadow .15s, border-color .15s; position: relative; }
.p-card:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(37, 99, 235, .14); }
.p-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.p-thumb { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: #fff; position: relative; overflow: hidden; }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-thumb .p-abbr { font-size: 34px; font-weight: 800; letter-spacing: 2px; }
.p-badge { position: absolute; top: 10px; right: 10px; background: #fee2e2; color: var(--red); font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.p-body { padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.p-vendor { font-size: 11px; color: var(--primary); font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.p-name { font-size: 13.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-cap { font-size: 12px; color: var(--text2); }
.p-cta { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--primary); border-top: 1px dashed var(--border); padding-top: 8px; }
.p-card:hover .p-cta { color: var(--primary-dark); }

/* ---------- Collection page ---------- */
.ai-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--border); border-radius: 11px; padding: 10px 14px; margin: 0 0 14px; }
.ai-toolbar .cnt { font-size: 13px; color: var(--text2); }
.ai-toolbar select { padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-family: inherit; background: var(--card); color: var(--text); }
.ai-pager { display: flex; justify-content: center; gap: 6px; padding: 18px 0 4px; }
.ai-pager a, .ai-pager span { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; color: var(--text); text-decoration: none; font-size: 13px; background: var(--card); }
.ai-pager a:hover { border-color: var(--primary); color: var(--primary); }
.ai-pager span.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }

/* ---------- Product page ---------- */
.ai-product { display: grid; grid-template-columns: 380px 1fr; gap: 26px; align-items: start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
@media (max-width: 920px) { .ai-product { grid-template-columns: 1fr; } }
.ai-prod-media { border-radius: 13px; overflow: hidden; background: var(--bg); }
.ai-prod-media .ph { height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.ai-prod-media .ph .ab { font-size: 60px; font-weight: 800; letter-spacing: 3px; }
.ai-prod-media .ph .un { font-size: 15px; opacity: .85; }
.ai-prod-media img { width: 100%; height: 300px; object-fit: cover; }
.ai-prod-info h1 { font-size: 22px; font-weight: 800; margin: 4px 0 8px; line-height: 1.35; }
.ai-prod-vendor { font-size: 13px; color: var(--text2); }
.ai-prod-vendor b { color: var(--primary); }
.ai-chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 4px; }
.ai-chip { font-size: 11.5px; background: var(--bg); border: 1px solid var(--border); color: var(--text2); border-radius: 999px; padding: 3px 10px; }
.ai-chip.blue { background: var(--primary-light); color: var(--primary); border-color: transparent; font-weight: 600; }
.ai-prod-price { font-size: 17px; font-weight: 800; margin: 14px 0 2px; color: var(--red); }
.ai-prod-price .q { font-size: 13px; font-weight: 600; color: var(--text2); }
.ai-buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.ai-qty { display: inline-flex; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; align-items: center; }
.ai-qty button { border: 0; background: var(--bg); width: 34px; height: 40px; cursor: pointer; font-size: 16px; color: var(--text); }
.ai-qty input { width: 46px; border: 0; text-align: center; font: inherit; height: 40px; background: var(--card); color: var(--text); }
.ai-prod-desc { border-top: 1px dashed var(--border); margin-top: 18px; padding-top: 14px; font-size: 14px; color: var(--text); }
.ai-prod-desc h3, .ai-prod-desc h4 { font-size: 14px; margin: 12px 0 4px; }
.ai-prod-desc ul { margin: 4px 0; padding-left: 20px; }
.ai-prod-desc li { margin: 3px 0; }
.ai-quote-cta { background: var(--primary-light); border: 1px solid rgba(29,78,216,.25); border-radius: 11px; padding: 14px 16px; margin-top: 16px; font-size: 13.5px; }
.ai-quote-cta .q-t { font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.ai-prod-meta { font-size: 12px; color: var(--text2); border-top: 1px dashed var(--border); margin-top: 16px; padding-top: 10px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Quote / contact form ---------- */
.ai-form { display: grid; gap: 13px; max-width: 620px; margin-top: 14px; }
.ai-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .ai-form .row { grid-template-columns: 1fr; } }
.ai-form label { font-size: 12.5px; font-weight: 700; display: block; margin: 0 0 5px; color: var(--text); }
.ai-form input, .ai-form select, .ai-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; font: inherit; font-size: 14px; background: var(--card); color: var(--text); }
.ai-form textarea { min-height: 110px; resize: vertical; }
.ai-form input:focus, .ai-form textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: transparent; }
.ai-form-note { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 10px; padding: 10px 14px; font-size: 13px; }
.ai-form-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 10px; padding: 10px 14px; font-size: 13px; }

/* ---------- Page / collection-list ---------- */
.ai-page { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; font-size: 14.5px; }
.ai-page h1 { font-size: 22px; font-weight: 800; }
.ai-coll-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.ai-coll-tile { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 11px; padding: 13px 15px; text-decoration: none; color: var(--text); }
.ai-coll-tile:hover { border-color: var(--primary); }
.ai-coll-tile .cd { width: 44px; height: 44px; border-radius: 10px; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex: none; }
.ai-coll-tile .n { font-weight: 700; font-size: 14px; }
.ai-coll-tile .c { font-size: 12px; color: var(--text2); }

/* ---------- Cart ---------- */
.ai-cart-row { display: grid; grid-template-columns: 76px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ai-cart-row img, .ai-cart-row .ph-sm { width: 76px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--text2); }
.ai-cart-sum { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.ai-empty { text-align: center; padding: 60px 20px; color: var(--text2); }
.ai-empty .big { font-size: 40px; margin-bottom: 10px; }

/* ---------- 404 ---------- */
.ai-404 { text-align: center; padding: 70px 20px; }
.ai-404 .code { font-size: 72px; font-weight: 800; color: var(--primary); line-height: 1; }
.ai-404 h1 { font-size: 20px; margin: 8px 0; }
.ai-404 p { color: var(--text2); }

/* ---------- Account forms ---------- */
.ai-auth { max-width: 430px; margin: 30px auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.ai-auth h1 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.ai-auth .sub { color: var(--text2); font-size: 13px; margin-bottom: 16px; }
.ai-auth input { width: 100%; border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; font: inherit; font-size: 14px; margin-bottom: 12px; background: var(--card); color: var(--text); }
.ai-auth label { font-size: 12.5px; font-weight: 700; display: block; margin-bottom: 5px; }
.ai-auth .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ai-auth .alt { text-align: center; font-size: 13px; color: var(--text2); margin-top: 14px; }
.ai-auth .errs { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 9px; padding: 8px 12px; font-size: 13px; margin-bottom: 12px; }
.ai-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; }
.ai-box h2 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.ai-muted { color: var(--text2); font-size: 13px; }
