
  /* Pages now declare a standard document type. These two rules keep the spacing exactly
     as it was before that change (space under forms; no stray pixel under the menu button). */
  :where(form) { margin-block-end: 1em; }
  .menu > summary, textarea { vertical-align: top; }
  :root {
    --bg: #ffffff; --bg-alt: #f5f5f6; --card: #ffffff; --text: #111111; --muted: #6b7280;
    --border: #e4e4e7; --primary: #111111; --primary-dark: #000000;
    --green: #111111; --red: #111111; --blue: #111111; --brown: #141414; --tint: #f0f0f1;
    --accent: #1e4d87; --accent-soft: #eaf0f7;
  }
  /* Dark theme — opt-in via the toggle (sets data-theme="dark" on <html>). Default
     stays light, so existing visitors see no change unless they choose dark. */
  :root[data-theme="dark"] {
    --bg: #14161b; --bg-alt: #14161b; --card: #1d2027; --text: #e9eaee; --muted: #9aa1ad;
    --border: #2b2f38; --primary: #eceef2; --primary-dark: #ffffff; --tint: #22252d;
    --accent: #6aa2f0; --accent-soft: #1b2531; --brown: #101216;
    --green: #e9eaee; --red: #e9eaee; --blue: #e9eaee; --brown: #101216;
  }
  :root[data-theme="dark"] .searchfield { background: #22252d; }
  :root[data-theme="dark"] .searchfield input { color: var(--text); }
  :root[data-theme="dark"] .pcard, :root[data-theme="dark"] .gcard, :root[data-theme="dark"] .feature,
  :root[data-theme="dark"] .dealtile, :root[data-theme="dark"] .sugg { background: var(--card); }
  :root[data-theme="dark"] input[type=text], :root[data-theme="dark"] input[type=email],
  :root[data-theme="dark"] input[type=password], :root[data-theme="dark"] textarea,
  :root[data-theme="dark"] select { background: #1d2027; color: var(--text); border-color: #2b2f38; }
  :root[data-theme="dark"] button, :root[data-theme="dark"] .btn-shop,
  :root[data-theme="dark"] .btn-track, :root[data-theme="dark"] .btn-buy {
       background: var(--primary); color: #14161b; }
  :root[data-theme="dark"] button:hover, :root[data-theme="dark"] .btn-shop:hover { background: #ffffff; }
  :root[data-theme="dark"] .tag { color: #14161b; }
  :root[data-theme="dark"] .gksun { display: inline; } :root[data-theme="dark"] .gkmoon { display: none; }
  .gksun { display: none; } .gkmoon { display: inline; }
  .themetoggle { background: none !important; border: none; color: #fff !important; cursor: pointer;
       padding: 4px 6px; display: inline-flex; align-items: center; opacity: .85; }
  .themetoggle:hover { opacity: 1; }
  .themetoggle svg { width: 21px; height: 21px; }
  * { box-sizing: border-box; }
  body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
         background: var(--bg-alt); color: var(--text); margin: 0; line-height: 1.5;
         letter-spacing: -0.006em; overflow-x: clip; -webkit-font-smoothing: antialiased;
         -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
  .container { max-width: 1120px; margin: 0 auto; padding: 18px 18px 64px; }
  .nav { position: sticky; top: 0; z-index: 20; background: var(--brown); color: #fff;
         padding: 9px 16px; display: flex; align-items: center; gap: 14px; }
  .nav .brand { color: #fff; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 22px;
                font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
  .navsearch { flex: 1; display: flex; max-width: 520px; margin: 0 auto; }
  .searchfield { display: flex; align-items: center; gap: 8px; flex: 1; height: 40px;
       background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 0 12px; }
  .searchfield:focus-within { border-color: var(--text); box-shadow: 0 0 0 2px rgba(17,17,17,0.10); }
  .searchgo { border: none; background: none; padding: 0; margin: 0; display: flex; align-items: center;
       cursor: pointer; flex-shrink: 0; }
  .searchfield .searchicon { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }
  .searchgo:hover .searchicon { color: var(--text); }
  .searchfield input[type=text] { flex: 1; min-width: 0; width: 100%; max-width: none; height: auto;
       border: none; border-radius: 0; background: transparent; box-shadow: none; outline: none;
       font-size: 15px; padding: 0; }
  .searchfield input[type=text]:focus { border: none; box-shadow: none; }
  ::placeholder { color: #b0b4bb; font-weight: 400; opacity: 1; }
  input, textarea, select, button { font-family: inherit; }
  .searchclear { border: none; background: none; color: var(--muted); cursor: pointer;
       display: flex; align-items: center; padding: 2px; }
  .searchclear:hover { color: var(--text); }
  .searchclear svg { width: 15px; height: 15px; }
  .searchclear[hidden] { display: none; }
  .gcard, .pcard, .lrow, .lcard { position: relative; }
  #intro { position: fixed; inset: 0; z-index: 999; display: none; align-items: center;
       justify-content: center; padding: 20px; text-align: center;
       transition: opacity .6s ease; background: #0f0f0f; }
  #intro.show { display: flex; }
  #intro.hide { opacity: 0; pointer-events: none; }
  #introtext { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-weight: 700; color: #fff;
       font-size: clamp(22px, 5vw, 46px); letter-spacing: 0.02em; }
  .navwrap { position: relative; flex: 1; display: flex; }
  .navwrap input { flex: 1; }
  .sugg { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff;
       border: 1px solid var(--border); border-radius: 10px; overflow: hidden; z-index: 40;
       box-shadow: 0 16px 38px rgba(0,0,0,0.14); color: var(--text);
       opacity: 0; transform: translateY(-6px); pointer-events: none;
       transition: opacity .18s ease, transform .18s ease; }
  .sugg.open { opacity: 1; transform: none; pointer-events: auto; }
  .sugg-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px;
       cursor: pointer; font-size: 14px; }
  .sugg-item:hover { background: var(--tint); }
  .sugg-item svg { width: 15px; height: 15px; color: var(--muted); flex-shrink: 0; }
  .sugg-right { margin-left: auto; font-size: 11.5px; color: var(--muted); }
  .sugg-right.price { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--green); font-weight: 700; }
  .sugg-foot { display: flex; justify-content: space-between; padding: 8px 14px;
       border-top: 1px solid var(--border); font-size: 11px; color: var(--muted); }
  .nav .menu > summary { color: #fff; }
  .navicon { display: flex; align-items: center; color: #fff; text-decoration: none; }
  .navicon svg { width: 22px; height: 22px; }
  .navacct { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4);
       display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0;
       text-decoration: none; transition: background .18s ease, border-color .18s ease; }
  .navacct:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
  .navacct svg { width: 21px; height: 21px; }
  .navauth { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap;
       padding: 8px 14px; border-radius: 9px; transition: background .18s ease, color .18s ease; }
  .navauth:hover { background: rgba(255,255,255,0.12); }
  .navauth.cta { background: #fff; color: #111; }
  .navauth.cta:hover { background: #e9e9ec; }
  .iconlink { color: var(--muted); display: inline-flex; }
  .iconlink:hover { color: var(--text); }
  @media (max-width: 620px) {
    .nav { flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
    .nav .brand { font-size: 18px; flex-shrink: 0; margin-right: auto; }  /* push everything else right */
    .navsearch { order: 3; flex-basis: 100%; max-width: none; margin: 4px 0 0; }
    .navauth.cta { display: none; }        /* declutter: Create account lives on the sign-in page */
    .navauth { padding: 7px 11px; font-size: 13px; }
    .navicon { padding: 4px; }             /* heart + hamburger sit flush at the right edge */
    .container { padding: 14px 14px 56px; }
  }
  h1 { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 28px; font-weight: 700;
       margin: 6px 0 4px; letter-spacing: -0.022em; }
  h2 { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 20px; font-weight: 600;
       margin: 24px 0 8px; letter-spacing: -0.018em; }
  .eyebrow { font-family: inherit; text-transform: uppercase; letter-spacing: 0.15em;
       font-size: 12px; font-weight: 600; color: var(--primary); margin-bottom: 14px; }
  .hero { background: #fffdf9; border-radius: 22px; padding: 44px 42px; margin-top: 10px;
          box-shadow: 0 12px 34px rgba(17,24,39,0.06); position: relative; overflow: hidden; }
  .hero::after { content: ''; position: absolute; right: -90px; top: 50%;
          transform: translateY(-50%); width: 300px; height: 300px; background: var(--tint);
          border-radius: 46% 54% 60% 40% / 45% 52% 48% 55%; z-index: 0; }
  .hero > * { position: relative; z-index: 1; }
  .hero h1 { font-size: clamp(44px, 7vw, 68px); line-height: 1.02; margin: 0 0 18px;
          letter-spacing: -0.02em; }
  .hero h1 em { font-style: italic; color: var(--primary); }
  .hero p { font-family: inherit; font-size: 18px; color: var(--muted);
       max-width: 540px; margin: 0 0 26px; line-height: 1.6; }
  input[type=text] { padding: 12px 14px; width: 100%; max-width: 460px; font-size: 15px;
         border: 1px solid var(--border); border-radius: 10px; background: var(--card); }
  input[type=text]:focus { outline: none; border-color: var(--primary);
         box-shadow: 0 0 0 3px rgba(30,77,135,0.16); }
  input[type=email], input[type=password] { padding: 12px 14px; width: 100%; max-width: 420px;
         font-size: 15px; border: 1px solid var(--border); border-radius: 10px; background: var(--card);
         display: block; margin: 10px auto; }
  input[type=email]:focus, input[type=password]:focus { outline: none; border-color: var(--primary);
         box-shadow: 0 0 0 3px rgba(30,77,135,0.15); }
  .onb a { color: var(--blue); font-weight: 600; text-decoration: none; }
  textarea { padding: 12px; width: 100%; font-size: 14px; font-family: inherit;
         border: 1px solid var(--border); border-radius: 10px; }
  button { margin-top: 10px; padding: 11px 18px; font-size: 15px; font-weight: 600;
         cursor: pointer; background: var(--primary); color: #fff; border: none; border-radius: 10px; }
  button:hover { background: var(--primary-dark); }
  .searchbar { display: flex; align-items: center; gap: 6px; background: var(--card);
     border: 1px solid var(--border); border-radius: 999px; padding: 6px 6px 6px 10px;
     max-width: 540px; box-shadow: 0 4px 16px rgba(17,24,39,0.05);
     transition: box-shadow .2s ease, border-color .2s ease; }
  .searchbar:focus-within { border-color: var(--primary); box-shadow: 0 6px 22px rgba(30,77,135,0.15); }
  .searchbar input { flex: 1; width: auto; min-width: 0; max-width: none; border: none; background: transparent;
     padding: 11px 12px; font-size: 16px; outline: none; box-shadow: none; }
  .searchbar input:focus { box-shadow: none; }
  .searchbar button { margin: 0; border-radius: 999px; padding: 12px 26px; flex-shrink: 0; }
  @media (max-width: 420px) { .searchbar button { padding: 12px 18px; } }
  a.card, .card { display: block; text-decoration: none; color: inherit; background: var(--card);
         border: 1px solid var(--border); border-radius: 12px; padding: 15px 18px; margin: 11px 0; }
  a.card { transition: box-shadow .15s ease, border-color .15s ease; }
  a.card:hover { border-color: var(--primary); box-shadow: 0 4px 18px rgba(17,24,39,0.09); }
  .price { color: var(--text); font-weight: 700; font-size: 17px; }
  .price, .gprice, .fprice, .lval, .gwas, .stat .num {
       font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; letter-spacing: -0.02em; }
  .box { background: var(--card); border: 1px solid var(--border);
         border-radius: 14px; padding: 15px 18px; margin: 12px 0; }
  .box b { display: block; font-family: inherit; text-transform: uppercase;
         letter-spacing: 0.1em; font-size: 11px; color: var(--primary); font-weight: 700; margin-bottom: 5px; }
  .tag { font-size: 12px; color: #fff; background: var(--primary); border-radius: 999px;
         padding: 3px 10px; font-weight: 600; }
  .tag.up { background: #a5673c; }
  .muted { color: var(--muted); font-size: 14px; }
  .chat { border-radius: 12px; padding: 12px 16px; margin: 10px 0; max-width: 88%; }
  .chat.you { background: var(--tint); margin-left: auto; }
  .chat.bot { background: var(--card); border: 1px solid var(--border); }
  .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
          gap: 12px; margin-top: 6px; }
  .tile { background: var(--card); border: 1px solid var(--border); border-radius: 12px;
          padding: 12px; text-decoration: none; color: inherit;
          transition: box-shadow .15s ease, border-color .15s ease; }
  .tile:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(17,24,39,0.08); }
  .thumb { height: 88px; border-radius: 8px; margin-bottom: 10px; display: flex;
           align-items: center; justify-content: center; font-size: 26px;
           background: linear-gradient(135deg, #efe9dd, #e7efe1); }
  .tile-name { font-weight: 600; font-size: 13.5px; line-height: 1.35; margin-bottom: 6px; }
  .tile { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .tile:hover { transform: translateY(-2px); }
  a.card:hover { transform: translateY(-2px); }
  .chips { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
           margin: 8px 0 20px; padding: 10px; }
  .chip { display: flex; flex-direction: column; align-items: center; gap: 9px; width: 84px;
          text-decoration: none; color: var(--text); cursor: pointer; }
  .chip-ic { width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--border);
          background: var(--card); color: var(--text); display: flex; align-items: center;
          justify-content: center; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
          transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease,
                      background .22s ease, border-color .22s ease, color .22s ease; }
  .chip-ic svg { width: 26px; height: 26px; }
  .chip:hover .chip-ic { transform: translateY(-3px); background: #111111; color: #ffffff;
                border-color: #111111; box-shadow: 0 8px 20px rgba(17,24,39,0.16); }
  .chip-lb { font-size: 12.5px; font-weight: 600; }
  /* Broad-category sub-sections */
  .catsec { margin: 8px 0 26px; }
  .catsec-h { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 12px; }
  .catsec-h h2 { margin: 0; font-size: 20px; letter-spacing: -0.01em; }
  .catsec-more { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none;
       white-space: nowrap; }
  .catsec-more:hover { color: var(--text); }
  /* All-categories directory */
  .catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 6px 0 24px; }
  .catcard { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--border);
       border-radius: 14px; background: var(--card); text-decoration: none; color: var(--text);
       transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .catcard:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(17,24,39,0.10); border-color: #111; }
  .catcard-ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; border: 1px solid var(--border);
       display: flex; align-items: center; justify-content: center; background: var(--tint); }
  .catcard-ic svg { width: 22px; height: 22px; }
  .catcard-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .catcard-tx b { font-size: 15px; }
  .catcard-sub { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  @media (max-width: 720px) { .catgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
       .catcard { padding: 12px; gap: 10px; } .catcard-sub { display: none; } }
  @media (max-width: 420px) { .catgrid { grid-template-columns: 1fr; } }
  .searchtag { display: inline-flex; align-items: center; padding: 8px 14px;
       border: 1px solid var(--border); border-radius: 999px; background: var(--card);
       color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none;
       transition: border-color .15s ease, color .15s ease; }
  .searchtag:hover { border-color: var(--text); }
  /* "Sold by" store filter on search results */
  .storefilter { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
  .storefilter:empty { display: none; }
  .sf-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase;
       letter-spacing: .06em; margin-right: 2px; }
  .sf-chip { border: 1px solid var(--border); background: var(--card); color: var(--muted);
       font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 999px; cursor: pointer;
       transition: background .15s ease, color .15s ease, border-color .15s ease; }
  .sf-chip.on { background: #111; color: #fff; border-color: #111; }
  .sf-chip:hover { border-color: #111; }
  .scroller { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity;
              padding: 4px 2px 16px; }
  .scroller::-webkit-scrollbar { height: 8px; }
  .scroller::-webkit-scrollbar-thumb { background: #d4d4d8; border-radius: 999px; }
  .pcard { min-width: 210px; max-width: 210px; scroll-snap-align: start; background: #fff;
           border: 1px solid var(--border); border-radius: 16px; padding: 0; overflow: hidden;
           text-decoration: none; color: inherit; box-shadow: 0 1px 3px rgba(0,0,0,0.05);
           transition: transform .25s ease, box-shadow .25s ease; }
  .pcard:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
  .pcard:hover .pthumb { transform: scale(1.02); }
  .pthumb { height: 150px; margin: 0 0 10px; transition: transform .25s ease; }
  .pcard .pcat, .pcard .pname, .pcard .price, .pcard .psub { padding: 0 14px; }
  .pcard .price { display: block; padding-bottom: 12px; }
  .pcat { font-family: inherit; font-size: 11px; text-transform: uppercase;
          letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
  .pname { font-weight: 600; font-size: 14px; line-height: 1.3; margin-bottom: 6px; min-height: 36px; }
  .psub { font-size: 12px; color: var(--muted); margin-top: 4px; }
  .poff { color: var(--accent); font-weight: 700; }
  .hero-line { font-size: 22px; font-weight: 700; margin: 16px 0 8px; }
  .tw { color: var(--primary); }
  .twc { color: var(--primary); animation: blink 1s step-end infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .shaderhero { position: relative; left: 50%; transform: translateX(-50%);
       width: min(1500px, calc(100vw - 80px)); margin: 16px 0 28px;
       overflow: hidden; min-height: 300px; display: flex; align-items: center;
       background:
         radial-gradient(130% 120% at 85% 12%, rgba(255,255,255,0.12), transparent 55%),
         radial-gradient(120% 130% at 8% 92%, rgba(255,255,255,0.06), transparent 50%),
         linear-gradient(135deg, #262626 0%, #141414 52%, #000 100%); }
  .shaderhero::after { content: ''; position: absolute; inset: 0; opacity: .55; pointer-events: none;
       background-image: radial-gradient(rgba(255,255,255,0.11) 1px, transparent 1.4px);
       background-size: 22px 22px;
       -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 85%);
       mask-image: linear-gradient(100deg, transparent 30%, #000 85%); }
  .shaderhero::before { content: ''; position: absolute; inset: -65%; pointer-events: none; z-index: 0;
       will-change: transform; opacity: .9;
       background:
         radial-gradient(closest-side at 30% 36%, rgba(255,255,255,0.13), transparent 58%),
         radial-gradient(closest-side at 70% 64%, rgba(190,205,240,0.07), transparent 55%),
         radial-gradient(closest-side at 58% 20%, rgba(255,255,255,0.06), transparent 52%);
       animation: heroAurora 22s linear infinite; }
  @keyframes heroAurora { from { transform: rotate(0deg) scale(1.15); }
       to { transform: rotate(360deg) scale(1.15); } }
  @media (prefers-reduced-motion: reduce) { .shaderhero::before { animation: none; opacity: .6; } }
  .shaderhero canvas { display: none; }
  .shaderhero-text { position: relative; z-index: 2; width: 100%; max-width: 1120px;
       margin: 0 auto; padding: 0 46px; color: #fff;
       font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
  .shaderhero-big { display: block; font-size: 44px; font-weight: 800; margin-top: 12px;
       letter-spacing: -0.03em; line-height: 1.04; text-transform: none; opacity: 1; max-width: 640px; }
  .shaderhero .tw, .shaderhero .twc { color: #fff; }
  @media (max-width: 620px) { .shaderhero { min-height: 220px; border-radius: 16px; }
       .shaderhero-text { padding: 0 24px; } .shaderhero-big { font-size: 29px; } }
  .aibtn { position: fixed; bottom: 24px; right: 24px; z-index: 60; width: 60px; height: 60px;
       border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); cursor: pointer; color: #fff;
       background: linear-gradient(135deg, #2b2b2b, #000000);
       box-shadow: 0 8px 24px rgba(0,0,0,0.35);
       display: flex; align-items: center; justify-content: center; overflow: hidden;
       transition: transform .25s ease, box-shadow .25s ease; }
  .aibtn:hover { transform: scale(1.08);
       box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
  .aibtn svg { width: 100%; height: 100%; display: block; }
  .aip { position: fixed; bottom: 96px; right: 24px; z-index: 60; width: 360px;
       max-width: calc(100vw - 32px); border-radius: 20px; overflow: hidden; display: none;
       flex-direction: column; border: 1px solid rgba(130,130,150,0.4);
       background: linear-gradient(135deg, rgba(30,30,36,0.97), rgba(17,17,21,0.98));
       box-shadow: 0 24px 55px rgba(0,0,0,0.5); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  .aip.open { display: flex; animation: aipop .28s cubic-bezier(0.175,0.885,0.32,1.275); }
  @keyframes aipop { from { opacity: 0; transform: scale(0.85) translateY(20px); } to { opacity: 1; transform: none; } }
  .aip-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; color: #e5e7eb;
       font-size: 13px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .aip-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
  .aip-head button { margin-left: auto; background: none; border: none; color: #9ca3af;
       font-size: 20px; cursor: pointer; line-height: 1; }
  .aip-msgs { padding: 14px; height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
  .aip-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
  .aip-msg.u { align-self: flex-end; background: #e9e9ec; color: #111; }
  .aip-res { display: flex; flex-direction: column; gap: 6px; margin: 2px 0 4px; }
  .aip-item { display: flex; align-items: center; justify-content: space-between; gap: 10px;
       padding: 9px 11px; border-radius: 10px; background: rgba(255,255,255,0.06);
       border: 1px solid rgba(255,255,255,0.12); text-decoration: none; color: #fff;
       transition: background .18s ease, transform .18s ease; }
  .aip-item:hover { background: rgba(255,255,255,0.13); transform: translateX(2px); }
  .aip-nm { font-size: 12.5px; line-height: 1.3; }
  .aip-pr { font-weight: 700; font-size: 13px; white-space: nowrap; }
  .dealbanner { background: #111111; color: #fff; border-radius: 12px; padding: 12px 16px;
       font-size: 14px; font-weight: 600; margin: 6px 0 14px; }
  .guestnote { border: 1px solid var(--border); background: var(--bg-alt); border-radius: 12px;
       padding: 11px 16px; font-size: 14px; color: var(--muted); margin: 4px 0 20px; text-align: center; }
  .guestnote a { color: var(--text); font-weight: 700; }
  .gcompare { font-size: 12px; color: var(--muted); margin-top: 3px; }
  /* Personal home strip for signed-in users: agent status + their dashboard. */
  .agentcard { border: 1px solid var(--border); background: var(--card); padding: 17px 20px;
       margin: 4px 0 22px; }
  .agentcard-h { font-size: 16px; font-weight: 700; }
  .agentcard-p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 8px 0 0; }
  .agentcard-p b { color: var(--text); font-weight: 600; }
  .pdash-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
  .pdash { display: flex; flex-direction: column; align-items: center; min-width: 92px;
       padding: 12px 16px; border: 1px solid var(--border); text-decoration: none;
       color: var(--text); transition: border-color .15s ease, transform .15s ease; }
  .pdash:hover { border-color: var(--text); transform: translateY(-2px); }
  .pdash-n { font-size: 25px; font-weight: 800; line-height: 1; }
  .pdash-l { font-size: 11.5px; color: var(--muted); text-transform: uppercase;
       letter-spacing: .04em; margin-top: 5px; text-align: center; }
  .budget { margin: 8px 0 22px; padding: 15px 20px 20px; background: var(--card);
       border: 1px solid var(--border); border-radius: 14px; }
  .budgethead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
  .flabel { font-weight: 700; font-size: 13px; }
  .budgetval { font-weight: 700; font-size: 14px; color: var(--accent); font-variant-numeric: tabular-nums; }
  .sortrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
  .sortsel { border: 1px solid var(--border); background: var(--card); color: var(--text);
       font-size: 13px; font-weight: 600; padding: 7px 10px; border-radius: 0; cursor: pointer; }
  .sortsel:focus { outline: none; border-color: var(--accent); }
  .slider { position: relative; height: 22px; }
  .slidertrack { position: absolute; top: 9px; left: 0; right: 0; height: 4px;
       background: var(--border); border-radius: 4px; }
  .sliderfill { position: absolute; top: 9px; height: 4px; left: 0; width: 100%;
       background: var(--accent); border-radius: 4px; }
  .slider input[type=range] { position: absolute; top: 0; left: 0; width: 100%; height: 22px; margin: 0;
       background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
  .slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none;
       pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff;
       border: 2px solid var(--accent); box-shadow: 0 1px 4px rgba(0,0,0,.22); cursor: grab;
       transition: transform .1s ease; }
  .slider input[type=range]::-webkit-slider-thumb:active { transform: scale(1.18); cursor: grabbing; }
  .slider input[type=range]::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px;
       border-radius: 50%; background: #fff; border: 2px solid var(--accent);
       box-shadow: 0 1px 4px rgba(0,0,0,.22); cursor: grab; }
  .slider input[type=range]::-moz-range-track { background: none; border: none; }
  .related { margin: 30px 0 8px; }
  .rchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .rchip { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px;
       background: var(--card); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none;
       transition: border-color .15s ease, background .15s ease; }
  .rchip:hover { border-color: var(--text); background: var(--bg-alt); }
  .searchloading { display: flex; align-items: center; gap: 12px; padding: 44px 4px; color: var(--muted); font-size: 15px; }
  .sspin { width: 20px; height: 20px; border: 2.5px solid var(--border); border-top-color: var(--accent);
       border-radius: 50%; animation: sspin .8s linear infinite; flex-shrink: 0; }
  @keyframes sspin { to { transform: rotate(360deg); } }
  /* Shimmer skeleton cards shown while product grids load (no blank gap). */
  .skel { pointer-events: none; }
  .skq { position: relative; overflow: hidden; background: var(--tint); }
  .skq::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%);
       background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
       animation: gkshim 1.25s infinite; }
  @keyframes gkshim { 100% { transform: translateX(100%); } }
  .skel .gimg { min-height: 160px; }
  .skel .skln { height: 12px; margin: 12px 12px 0; }
  .skel .skln.s { width: 55%; }
  .skel .skpr { height: 16px; width: 40%; margin: 12px; }
  .cbadges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
  .cbadge { font-size: 10.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px;
       background: var(--bg-alt); color: var(--muted); border: 1px solid var(--border); }
  .cbadge.ship { color: var(--text); border-color: var(--text); }
  .pbadge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .01em;
       color: #0f7a37; background: rgba(15,122,55,.10); padding: 3px 9px; margin-top: 7px; }
  .pbadge.low { color: #fff; background: #0f7a37; }
  /* Investor metrics dashboard */
  .kpigrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 12px; margin: 10px 0 22px; }
  .kpi { border: 1px solid var(--border); background: var(--card); padding: 15px 17px; }
  .kpi .n { font-size: 29px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
  .kpi .l { font-size: 11.5px; color: var(--muted); margin-top: 3px; text-transform: uppercase; letter-spacing: .05em; }
  .kpi .sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
  .mcard { border: 1px solid var(--border); background: var(--card); padding: 15px 17px; margin-bottom: 16px; }
  .mcard h3 { font-size: 15px; margin: 0 0 10px; }
  .mrow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  @media (max-width: 720px) { .mrow2 { grid-template-columns: 1fr; } }
  .mlist .r { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
  .mlist .r:last-child { border-bottom: none; }
  .mlist .r b { font-weight: 700; white-space: nowrap; }
  .mlist .r span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mlegend { display: flex; gap: 18px; font-size: 12px; color: var(--muted); margin-top: 8px; }
  .mdot { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
  .offers { border: 1px solid var(--border); border-radius: 12px; padding: 10px 13px; margin: 13px 0 4px; }
  .offers-h { font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 4px;
       text-transform: uppercase; letter-spacing: .04em; }
  .orow { display: flex; justify-content: space-between; align-items: center; padding: 6px 0;
       border-top: 1px solid var(--border); font-size: 14px; }
  .orow:first-of-type { border-top: none; }
  .ostore { color: var(--text); }
  .oprice { font-weight: 700; display: flex; align-items: center; gap: 8px; }
  .obest { background: #111; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px;
       border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
  .opric { background: var(--tint); color: var(--muted); font-size: 10px; font-weight: 700;
       padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
  .orow-link { text-decoration: none; color: var(--text); gap: 10px; cursor: pointer;
       transition: background .15s ease; margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 8px; }
  .orow-link:hover { background: var(--tint); }
  .orow-link .ostore { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ogo { color: var(--muted); font-weight: 700; font-size: 12.5px; white-space: nowrap; flex-shrink: 0; }
  .orow-link:hover .ogo { color: var(--text); }
  /* Watchlist ("Buy It Now") cards */
  .wcard { position: relative; border: 1px solid var(--border); background: var(--card); margin: 0 0 14px; }
  .wmain { display: flex; align-items: center; gap: 20px; padding: 20px; text-decoration: none; color: var(--text); }
  .wmain:hover { background: var(--tint); }
  .wthumb { width: 96px; height: 96px; flex-shrink: 0; border: 1px solid var(--border); }
  .wbody { flex: 1; min-width: 0; }
  .wname { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; overflow: hidden;
       text-overflow: ellipsis; white-space: nowrap; }
  .wsub { color: var(--muted); font-size: 13px; margin-top: 5px; }
  .wright { text-align: right; flex-shrink: 0; padding-right: 8px; }
  .wverdict { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
  .wprice { font-size: 24px; font-weight: 800; margin-top: 3px; }
  .wremove { position: absolute; top: 12px; right: 14px; z-index: 2; font-size: 12px; font-weight: 600;
       color: var(--muted); text-decoration: none; background: var(--card); padding: 2px 6px; }
  .wremove:hover { color: #b00020; }
  @media (max-width: 520px) { .wthumb { width: 66px; height: 66px; } .wmain { padding: 14px; gap: 12px; }
       .wname { font-size: 15px; } .wprice { font-size: 18px; } .wright { padding-right: 0; } }
  /* Account page */
  .agrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 8px 0 26px; }
  .acard { display: block; padding: 20px; border: 1px solid var(--border); background: var(--card);
       text-decoration: none; color: var(--text);
       transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
  .acard:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(17,24,39,.08); border-color: #111; }
  .acard-t { font-weight: 700; font-size: 17px; }
  .acard-d { color: var(--muted); font-size: 13px; margin-top: 5px; }
  .asettings { display: flex; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 22px; }
  .abtn { display: inline-block; padding: 11px 20px; border: 1px solid var(--border); background: var(--card);
       color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; }
  .abtn:hover { border-color: #111; }
  .abtn.danger { color: #b00020; border-color: rgba(176,0,32,.35); }
  .abtn.danger:hover { background: #b00020; color: #fff; border-color: #b00020; }
  @media (max-width: 520px) { .agrid { grid-template-columns: 1fr; } }
  /* Scan a receipt */
  .rcpt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 6px 0 24px; align-items: start; }
  .rcpt-form { display: flex; flex-direction: column; gap: 12px; }
  .rcpt-form textarea { width: 100%; border: 1px solid var(--border); background: var(--card); color: var(--text);
       padding: 14px; font-size: 14px; font-family: inherit; resize: vertical; line-height: 1.55; }
  .rcpt-form button { align-self: flex-start; }
  .rcpt-results { border: 1px solid var(--border); background: var(--card); }
  .rcpt-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
       color: var(--muted); padding: 13px 18px; border-bottom: 1px solid var(--border); }
  .rcpt-item { display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
       padding: 14px 18px; border-bottom: 1px solid var(--border); }
  .rcpt-item:last-child { border-bottom: none; }
  .rcpt-name { font-weight: 600; flex: 1; min-width: 120px; }
  .rcpt-paid { color: var(--muted); font-size: 13px; white-space: nowrap; }
  .rcpt-cmp { white-space: nowrap; font-weight: 700; font-size: 13px; color: var(--blue);
       text-decoration: none; border: 1px solid var(--border); padding: 7px 12px; }
  .rcpt-cmp:hover { border-color: #111; }
  .rcpt-empty { padding: 22px 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }
  @media (max-width: 640px) { .rcpt-grid { grid-template-columns: 1fr; } .rcpt-cmp { margin-left: auto; } }
  .backlink { display: inline-block; margin: 4px 0 12px; color: var(--muted);
       text-decoration: none; font-weight: 600; }
  .backlink:hover { color: var(--text); }
  .idetail { display: flex; gap: 28px; margin: 6px 0 30px; align-items: flex-start; }
  .iimg { width: 360px; height: 360px; border-radius: 18px; flex-shrink: 0;
       background-size: cover; background-position: center; border: 1px solid var(--border); }
  .iinfo { flex: 1; min-width: 0; }
  .isource { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
  .ititle { font-size: 26px; margin: 6px 0 8px; line-height: 1.22; }
  .iprice { font-size: 30px; font-weight: 800; margin: 10px 0 14px; }
  .ibuy { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
  .btn-buy { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 12px;
       background: var(--card); color: var(--text); border: 1px solid var(--text); font-weight: 700;
       text-decoration: none; transition: background .18s ease, color .18s ease; }
  .btn-buy:hover { background: #111; color: #fff; }
  .btn-track { display: inline-flex; align-items: center; gap: 6px; padding: 12px 20px;
       border-radius: 12px; background: var(--accent-soft); color: var(--accent);
       border: 1px solid var(--accent); font-weight: 700; text-decoration: none;
       transition: background .18s ease; }
  .btn-track:hover { background: #dae6f6; }
  .btn-fav { display: inline-flex; align-items: center; gap: 6px; padding: 12px 20px; border-radius: 0;
       background: #1668e3; color: #fff; border: 1px solid #1668e3; font-weight: 700; text-decoration: none;
       transition: background .18s ease; }
  .btn-fav:hover { background: #0f56c2; }
  .idelivery { display: flex; align-items: center; gap: 9px; margin: 14px 0 2px; font-size: 14px;
       color: var(--text); }
  .idelivery svg { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }
  .idelivery b { font-weight: 700; }
  .gktoast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
       background: #111; color: #fff; padding: 12px 18px; font-size: 14px; font-weight: 600;
       opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
       z-index: 9999; box-shadow: 0 8px 30px rgba(0,0,0,.28); display: flex; align-items: center;
       gap: 8px; max-width: calc(100vw - 32px); }
  .gktoast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
  .guidebox { position: relative; border: 1px solid var(--border); background: var(--tint);
       padding: 15px 40px 15px 18px; margin: 6px 0 18px; }
  .guidebox b { font-size: 15px; }
  .guidebox p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
  .introbox { padding: 18px 40px 20px 18px; }
  .intro-h { font-size: 16px; }
  .intro-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 14px; }
  .intro-step { display: flex; gap: 11px; align-items: flex-start; }
  .intro-num { flex: 0 0 auto; width: 26px; height: 26px; display: flex; align-items: center;
       justify-content: center; background: var(--primary); color: var(--bg);
       font-weight: 700; font-size: 14px; }
  .intro-step b { font-size: 14px; }
  .intro-step p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
  @media (max-width: 720px) { .intro-steps { grid-template-columns: 1fr; gap: 14px; } }
  .guide-x { position: absolute; top: 8px; right: 10px; border: none; background: none; color: var(--muted);
       font-size: 22px; line-height: 1; cursor: pointer; padding: 2px 6px; }
  .guide-x:hover { color: var(--text); }
  .guide-help { width: 30px; height: 30px; border-radius: 50% !important; border: 1px solid var(--border);
       background: var(--card); color: var(--muted); font-weight: 700; font-size: 15px; cursor: pointer;
       flex-shrink: 0; align-items: center; justify-content: center; }
  .guide-help:hover { border-color: #111; color: var(--text); }
  .trackhint { font-size: 12.5px; margin: 10px 0 0; }
  @media (max-width: 720px) { .idetail { flex-direction: column; gap: 16px; }
       .iimg { width: 100%; height: 260px; } .ititle { font-size: 22px; } .ibuy { flex-direction: column; }
       .ibuy a { text-align: center; justify-content: center; } }
  .aip-msg.b { align-self: flex-start; background: rgba(255,255,255,0.08); color: #e5e7eb; }
  .aip-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
  .aip-chip { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
       color: #d1d5db; border-radius: 999px; padding: 6px 11px; font-size: 12px; cursor: pointer;
       transition: background .15s ease, color .15s ease; }
  .aip-chip:hover { background: rgba(255,255,255,0.16); color: #fff; }
  .aip-in { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid rgba(255,255,255,0.08); }
  .aip-in input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
       border-radius: 12px; padding: 10px 12px; color: #f3f4f6; font-size: 13.5px; outline: none; }
  .aip-in button { background: #ffffff; border: none; border-radius: 12px;
       width: 42px; color: #111; cursor: pointer; display: flex; align-items: center; justify-content: center; }
  .aip-in button svg { width: 18px; height: 18px; }
  .hrail-wrap { overflow-x: auto; overflow-y: hidden; margin-top: 4px;
       -webkit-mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
       mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent); }
  .hrail-wrap::-webkit-scrollbar { height: 8px; }
  .hrail-wrap::-webkit-scrollbar-thumb { background: #d4d4d8; border-radius: 999px; }
  .hrail-track { display: flex; gap: 16px; width: max-content; padding: 8px 0 16px; }
  /* Static product grid for home rows (replaces the old auto-scrolling marquee). */
  .railgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
       gap: 14px; margin: 8px 0 10px; }
  /* Click arrows to scroll a product rail left/right. */
  .railnav { position: relative; }
  .railarrow { position: absolute; top: 44%; transform: translateY(-50%); z-index: 8;
       width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
       background: var(--brown); color: #fff; cursor: pointer; display: none;
       align-items: center; justify-content: center; box-shadow: 0 5px 18px rgba(0,0,0,.35);
       opacity: 1; transition: transform .15s ease, background .15s ease; }
  .railarrow.on { display: flex; }
  .railarrow.left { left: 4px; } .railarrow.right { right: 4px; }
  .railarrow:hover { transform: translateY(-50%) scale(1.08); background: #000; }
  .railarrow svg { width: 22px; height: 22px; }
  @media (max-width: 620px) { .railarrow { width: 38px; height: 38px; } }
  .menu { position: relative; }
  .menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center;
       padding: 6px; border-radius: 10px; }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu > summary:hover { background: var(--tint); }
  .menu-panel { position: absolute; right: 0; top: calc(100% + 12px); background: var(--card);
       border: 1px solid var(--border); border-radius: 14px; padding: 8px; min-width: 210px;
       box-shadow: 0 14px 34px rgba(17,24,39,0.14); display: flex; flex-direction: column;
       gap: 2px; z-index: 30; }
  .menu-panel a { padding: 10px 14px; border-radius: 9px; color: var(--text); font-size: 14px;
       font-weight: 500; text-decoration: none; }
  .menu-panel a:hover { background: var(--tint); color: var(--primary); }
  .secnum { font-family: inherit; color: var(--primary); font-size: 15px;
       font-weight: 600; letter-spacing: 0.06em; margin-right: 10px; }
  .rule { border-top: 1px solid var(--border); margin: 36px 0 26px; }
  .proof { padding: 4px 0 8px; }
  .proof p { font-family: inherit; font-size: 19px; margin: 12px 0;
       color: var(--text); }
  .proof p:nth-child(2) { margin-left: 48px; }
  .proof p:nth-child(3) { margin-left: 96px; }
  @media (max-width: 700px) { .proof p:nth-child(2), .proof p:nth-child(3) { margin-left: 0; } }
  .footer { margin-top: 60px; padding-top: 18px; border-top: 1px solid var(--border);
       display: flex; justify-content: space-between; align-items: center; gap: 12px;
       color: var(--muted); font-size: 13px; flex-wrap: wrap; }
  .footlinks { display: flex; gap: 18px; flex-wrap: wrap; }
  .footlinks a { color: var(--muted); text-decoration: none; }
  .footlinks a:hover { color: var(--text); }
  .legal { max-width: 640px; line-height: 1.65; color: var(--text); }
  .legal p { margin: 0 0 14px; }
  .legal a { color: var(--accent); }
  .footer a { color: var(--muted); text-decoration: none; }
  .footer a:hover { color: var(--primary); }
  .onb { max-width: 640px; margin: 40px auto; text-align: center; }
  .onb-eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; font-weight: 700;
       color: var(--primary); margin-bottom: 10px; }
  .onb h1 { font-size: 34px; }
  .onb input[type=text] { max-width: 420px; text-align: center; margin: 20px auto 0; display: block; }
  .optgrid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 26px; }
  .optchip { border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; font-size: 14px;
       cursor: pointer; user-select: none; transition: all .15s ease; }
  .optchip:hover { border-color: var(--primary); }
  .optchip input { position: absolute; opacity: 0; width: 0; height: 0; }
  .optchip:has(input:checked), .optchip.on { background: var(--primary); color: #fff; border-color: var(--primary); }
  .result { display: flex; gap: 18px; align-items: center; background: var(--card);
       border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px 14px 14px;
       margin: 12px 0; text-decoration: none; color: inherit;
       transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .result:hover { transform: translateY(-2px); border-color: var(--primary);
       box-shadow: 0 8px 24px rgba(17,24,39,0.10); }
  .rthumb { width: 84px; height: 84px; border-radius: 12px; flex-shrink: 0; }
  .rbody { flex: 1; min-width: 0; }
  .rname { font-weight: 600; font-size: 15.5px; }
  .rdesc { color: var(--muted); font-size: 13.5px; margin: 3px 0 8px;
       overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rmeta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
       font-size: 12px; color: var(--muted); }
  .rtag { font-size: 11px; font-weight: 600; color: var(--primary); background: var(--tint);
       border-radius: 999px; padding: 3px 10px; }
  .rtag.up { color: #a5673c; background: #f3e7dc; }
  .rprice { text-align: right; flex-shrink: 0; }
  .rprice .big { font-size: 19px; font-weight: 700; color: var(--green); }
  .rprice .sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
  .match { display: inline-block; margin-top: 7px; font-size: 11px; font-weight: 600;
       color: var(--primary); border: 1px solid var(--border); border-radius: 999px;
       padding: 2px 9px; background: var(--card); }
  @media (max-width: 620px) { .rthumb { width: 62px; height: 62px; }
       .rdesc { white-space: normal; } .rprice .sub { display: none; } }
  .pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 18px; margin-top: 16px; }
  .gcard { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
       display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,0.05);
       transition: transform .25s ease, box-shadow .25s ease; }
  .gcard:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,0.12); }
  .gclick { text-decoration: none; color: inherit; display: block; }
  .gimg { position: relative; height: 230px; transition: transform .25s ease; }
  .gcard:hover .gimg { transform: scale(1.02); }
  .gsale { position: absolute; top: 10px; left: 10px; background: #111; color: #fff;
       font-size: 11px; font-weight: 700; border-radius: 6px; padding: 4px 9px; z-index: 2;
       letter-spacing: .03em; }
  .gsale.hot { background: var(--accent); box-shadow: 0 3px 10px rgba(30,77,135,0.28); }
  .gdeal { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 13px; }
  .gdeal s { color: var(--muted); }
  .gsave { font-weight: 700; color: var(--muted); }
  .gsave.hot { color: var(--accent); }
  .deals-head { display: flex; align-items: baseline; justify-content: space-between; margin: 24px 0 2px; }
  .deals-head h2 { margin: 0; }
  .dealrow { display: flex; gap: 14px; overflow-x: auto; padding: 8px 2px 14px;
       scroll-snap-type: x proximity; }
  .dealtile { position: relative; min-width: 216px; max-width: 216px; background: #fff;
       border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
       box-shadow: 0 1px 3px rgba(0,0,0,0.05); text-decoration: none; color: inherit;
       scroll-snap-align: start; transition: transform .2s ease, box-shadow .2s ease; }
  .dealtile:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
  .drank { position: absolute; top: 10px; left: 10px; background: #111; color: #fff;
       font-weight: 800; font-size: 12px; border-radius: 6px; padding: 2px 8px; z-index: 2; }
  .dimg { height: 160px; }
  .dbody { padding: 12px 14px 14px; }
  .dname { font-size: 13.5px; font-weight: 600; line-height: 1.3; height: 35px; overflow: hidden;
       margin-bottom: 8px; }
  .dsave { color: var(--accent); font-weight: 800; font-size: 18px; }
  .dprice { font-size: 13px; font-weight: 700; margin-top: 2px; }
  .dprice s { color: var(--muted); font-weight: 500; margin-left: 4px; }
  .gsource { position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 600;
       color: var(--muted); background: rgba(255,255,255,0.92); border: 1px solid var(--border);
       border-radius: 999px; padding: 3px 10px; }
  .gstars { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
       gap: 8px; opacity: 0; transition: opacity .2s ease; background: rgba(44,38,32,0.06); }
  .gcard:hover .gstars, .feature:hover .gstars { opacity: 1; }
  .grate { font-weight: 700; color: var(--text); font-size: 15px; }
  .gbody { padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 4px; }
  .gname { font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--text); }
  .gratingline { font-size: 13px; }
  .gprice { font-weight: 700; font-size: 22px; color: var(--text); }
  .gwas { text-decoration: line-through; color: var(--muted); font-size: 13px; font-weight: 500; margin-left: 8px; }
  .gtrue { font-size: 12px; color: var(--muted); }
  .gmeta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
  .gact { display: flex; align-items: center; gap: 12px; padding: 10px 16px 16px; }
  .btn-shop { flex: 1; text-align: center; background: #111827; color: #fff; border-radius: 8px;
       padding: 10px 12px; font-size: 14px; font-weight: 600; text-decoration: none;
       transition: background .2s ease; white-space: nowrap; }
  .btn-shop:hover { background: #000; }
  .gicons { display: flex; gap: 10px; align-items: center; }
  .gicons svg { width: 18px; height: 18px; color: var(--muted); cursor: pointer;
       transition: color .2s ease; }
  .gicons svg:hover { color: var(--text); }
  .storelink { display: block; padding: 0 16px 14px; font-size: 13px; font-weight: 600;
       color: var(--blue); text-decoration: none; }
  .storelink:hover { text-decoration: underline; }
  .feature { display: flex; background: #fff; border: 1px solid var(--border); border-radius: 12px;
       overflow: hidden; color: inherit; margin: 16px 0 24px;
       transition: transform .25s ease, box-shadow .25s ease; }
  .feature:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
  .fimg { position: relative; width: 320px; min-height: 280px; flex-shrink: 0; height: 100%; }
  .fbody { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; }
  .ftag { font-family: inherit; text-transform: uppercase; letter-spacing: 0.14em;
       font-size: 11px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
  .fname { font-family: inherit; font-size: 28px; font-weight: 600; line-height: 1.1; margin-bottom: 6px; }
  .fdesc { color: var(--muted); font-size: 14px; }
  @media (max-width: 620px) { .feature { flex-direction: column; } .fimg { width: 100%; height: 190px; } }
  .chip svg { width: 24px; height: 24px; transition: transform .28s ease; }
  .chip:hover svg { transform: scale(1.1); }
  .railbar { position: fixed; top: 66px; bottom: 0; width: 150px; overflow: hidden; padding: 0 14px; z-index: 5;
       -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
       mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); }
  .railbar.left { left: 0; } .railbar.right { right: 0; }
  .railtrack { display: flex; flex-direction: column; gap: 14px; padding: 14px 0; }
  .railtrack.up { animation: marq-up 42s linear infinite; }
  .railtrack.down { animation: marq-down 42s linear infinite; }
  @keyframes marq-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
  @keyframes marq-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
  .sitem { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 8px;
       transition: border-color .2s ease; }
  .sitem:hover { border-color: var(--primary); }
  .sthumb { height: 82px; border-radius: 10px; margin-bottom: 8px; }
  .sname { font-size: 11.5px; font-weight: 600; line-height: 1.25; }
  .sprice { font-size: 12px; font-weight: 700; color: var(--green); margin-top: 2px; }
  .sbreak { height: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
  .sbreak::after { content: ''; width: 44%; border-top: 1px solid var(--border); }
  @media (max-width: 1260px) { .railbar { display: none; } }
  @media (prefers-reduced-motion: reduce) { .railtrack.up, .railtrack.down { animation: none; } }
  .pagehead { margin: 4px 0 2px; }
  .lead { color: var(--muted); font-size: 15px; margin: 2px 0 18px; max-width: 560px; line-height: 1.55; }
  .stat { background: var(--card); border: 1px solid var(--border); border-radius: 18px;
       padding: 26px 28px; margin: 8px 0 22px; box-shadow: 0 10px 30px rgba(17,24,39,0.05); }
  .stat .num { font-family: inherit; font-size: 42px; font-weight: 600;
       line-height: 1; color: var(--primary); }
  .stat .lbl { color: var(--muted); font-size: 14px; margin-top: 10px; }
  .lcard { background: var(--card); border: 1px solid var(--border);
       border-radius: 12px; padding: 15px 18px; margin: 12px 0;
       transition: transform .15s ease, box-shadow .15s ease; }
  .lcard:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.08); }
  .twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  @media (max-width: 720px) { .twocol { grid-template-columns: 1fr; } }
  .lrow { display: flex; align-items: center; gap: 18px; background: var(--card);
       border: 1px solid var(--border); border-radius: 12px;
       padding: 16px 20px; margin: 12px 0; transition: transform .15s ease, box-shadow .15s ease; }
  .lrow:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.08); }
  .lrow.big { padding: 24px 28px; border-radius: 18px; }
  .lrow.big .lthumb { width: 74px; height: 74px; }
  .lrow.big .ltitle { font-size: 17px; }
  .lrow.big .lval { font-size: 21px; }
  @media (max-width: 760px) { .lrow { width: 100% !important; margin-left: 0 !important;
       margin-right: 0 !important; } }
  .lthumb { width: 54px; height: 54px; border-radius: 12px; flex-shrink: 0; }
  .lmain { flex: 1; min-width: 0; }
  .ltitle { font-weight: 600; font-size: 15px; }
  .lsub { color: var(--muted); font-size: 13px; margin-top: 3px; }
  .lright { text-align: right; flex-shrink: 0; }
  .lstatus { font-weight: 700; font-size: 13px; }
  .lval { font-size: 18px; font-weight: 700; color: var(--text); margin-top: 2px; }
  .lrow, .lcard { background: var(--card); }
  .addform { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 16px; }
  .addform input[type=text] { max-width: 240px; margin: 0; }
  .addform button { margin: 0; }
  /* On phones, stack the add-form fields full-width so they're clean and easy to tap. */
  @media (max-width: 560px) {
    .addform { flex-direction: column; align-items: stretch; }
    .addform input, .addform input[type=text], .addform select, .addform button {
      width: 100%; max-width: none; }
  }
  .rm { color: var(--blue); }
  /* Sharp, square corners on box containers; circles/dots stay round */
  .hero, .box, .tile, .thumb, .gcard, .pcard, .feature, .fimg, .gimg,
  .dealtile, .dimg, .pthumb, .lthumb, .rthumb, .iimg, .lrow, .lcard, .rrow, .offers,
  .guestnote, .dealbanner, .budget, .filterbar, .related, .sugg, .menu-panel, .menu-panel a,
  .aip, .aip-msg, .aip-in input, .aip-in button, .searchfield, .searchbar, .navauth,
  .drank, .gsale, .cbadge, .catcard, .catcard-ic, .catsec, input[type=text], input[type=email],
  input[type=password], textarea, button, .btn-shop, .btn-buy, .btn-track { border-radius: 0 !important; }
  .aibtn { border-radius: 50% !important; }     /* keep the floating assistant button round */
  .shaderhero { border-radius: 12px !important; }  /* hero left rounded unless you want it squared too */

  /* Skip-to-content link: hidden until keyboard-focused (accessibility). */
  .skiplink { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--brown);
       color: #fff; padding: 10px 16px; text-decoration: none; transition: top .15s ease; }
  .skiplink:focus { top: 12px; }
  /* Clear keyboard focus ring on interactive elements. */
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
  textarea:focus-visible, [tabindex]:focus-visible {
       outline: 2px solid var(--accent); outline-offset: 2px; }
  /* Back-to-top (bottom-left, clear of the assistant button on the right). */
  .totop { position: fixed; left: 22px; bottom: 24px; width: 44px; height: 44px; z-index: 40;
       display: flex; align-items: center; justify-content: center; background: var(--brown);
       color: #fff; border: none; cursor: pointer; opacity: 0; pointer-events: none;
       transform: translateY(8px); transition: opacity .2s ease, transform .2s ease;
       box-shadow: 0 6px 20px rgba(0,0,0,.22); }
  .totop.show { opacity: .92; pointer-events: auto; transform: translateY(0); }
  .totop:hover { opacity: 1; }
  .totop svg { width: 20px; height: 20px; flex-shrink: 0; }
  .totop { padding: 0; margin: 0; }   /* generic button padding squashed the arrow to a sliver */
  /* Respect users who ask for reduced motion: cut animations/transitions. */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
       transition-duration: .001ms !important; scroll-behavior: auto !important; }
  }


  /* Refined, restrained retail palette (light-first; dark stays opt-in). */
  :root{
    --bg:#ffffff; --bg-alt:#eceef1; --card:#ffffff; --text:#0f1418;
    --muted:#59626e; --border:#d6dae0; --tint:#f1f3f5;
    --accent:#0a5aa8; --accent-soft:#e9f0f8; --rad:0px;   /* square corners everywhere; 6px = the softer look */
  }
  :root[data-theme="dark"]{
    --bg:#12151a; --bg-alt:#0e1116; --card:#171b21; --text:#e8eaed;
    --muted:#9aa2ad; --border:#2a2f38; --tint:#1d222a;
    --accent:#4d97e6; --accent-soft:#16202c;
  }
  body{ background:var(--bg-alt); }
  .container{ max-width:1280px; }

  /* Top bar: keep the professional dark nav, tighten spacing. */
  .nav{ background:#131a24; padding:10px 20px; gap:18px; }
  .nav .brand{ font-size:21px; letter-spacing:-.02em; }
  .navsearch{ max-width:660px; }
  .searchfield{ border-radius:var(--rad); height:42px; border-color:transparent; }

  /* Familiar retail "department" bar under the nav (uses existing category routes). */
  .deptbar{ background:#1c2530; display:flex; align-items:center; gap:1px;
       padding:0 14px; overflow-x:auto; scrollbar-width:none;
       border-bottom:1px solid rgba(255,255,255,.06); }
  .deptbar::-webkit-scrollbar{ display:none; }
  .deptbar a{ color:#dfe3e9; text-decoration:none; font-size:13.5px; font-weight:500;
       white-space:nowrap; padding:10px 13px; border-bottom:2px solid transparent; }
  .deptbar a:hover{ color:#fff; border-bottom-color:var(--accent); }
  .deptbar a.all{ font-weight:700; }
  @media (max-width:620px){ .deptbar{ padding:0 8px; } .deptbar a{ padding:9px 10px; font-size:13px; } }

  /* Product grid: denser, calmer, professional — flat cards, hairline borders. */
  .pgrid{ grid-template-columns:repeat(auto-fill,minmax(208px,1fr)); gap:14px; margin-top:14px; }
  .gcard{ border-radius:var(--rad); box-shadow:none; border:1px solid var(--border);
       transition:border-color .15s ease, box-shadow .15s ease; }
  .gcard:hover{ transform:none; box-shadow:0 2px 12px rgba(15,20,24,.10); border-color:#c2c8d0; }
  .gcard:hover .gimg{ transform:none; }
  .gimg{ height:200px; background-color:var(--card); }
  .gbody{ padding:12px 13px 6px; gap:3px; }
  .gname{ font-size:14px; font-weight:500; line-height:1.35;
       display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .gprice{ font-size:19px; font-weight:700; letter-spacing:-.01em; }
  .gwas{ font-size:12.5px; }
  .gsource{ border-radius:3px; font-size:10.5px; padding:2px 7px;
       background:var(--card); color:var(--muted); border:1px solid var(--border); }
  .gsale{ border-radius:3px; font-size:10px; padding:3px 7px; background:#1f2530;
       box-shadow:none; letter-spacing:.02em; }
  .gsale.hot{ background:var(--accent); box-shadow:none; }
  .match{ display:none; }                 /* hide the AI "% match" chip for a cleaner retail feel */
  .gact{ padding:8px 13px 14px; }
  .btn-shop{ border-radius:var(--rad); background:var(--accent); font-weight:600; padding:9px 12px; }
  .btn-shop:hover{ background:#084a8c; }

  /* Mini cards (home rows) + deal tiles + feature card share the flatter language. */
  .pcard{ border-radius:var(--rad); box-shadow:none; border:1px solid var(--border); }
  .pcard:hover{ box-shadow:0 2px 12px rgba(15,20,24,.10); }
  .dealtile{ border-radius:var(--rad); box-shadow:none; }
  .dealtile:hover{ transform:none; box-shadow:0 2px 12px rgba(15,20,24,.10); }
  .drank{ border-radius:3px; }
  .dimg{ height:150px; background-color:var(--card); }
  .feature{ border-radius:var(--rad); box-shadow:none; border:1px solid var(--border); }

  /* Tame the futuristic hero into a restrained banner. */
  .hero{ border-radius:var(--rad); box-shadow:none; border:1px solid var(--border);
       background:var(--card); padding:28px 30px; }
  .hero::after{ display:none; }
  .shaderhero{ border-radius:var(--rad); }

  /* Clean storefront hero (replaces the dark animated banner). */
  .rhero{ background:linear-gradient(120deg, var(--accent-soft), var(--card) 62%);
       border:1px solid var(--border); border-radius:var(--rad);
       padding:44px 40px; margin:16px 0 26px; }
  .rhero-in{ max-width:660px; }
  .rhero-h{ font-size:30px; font-weight:800; letter-spacing:-.022em; line-height:1.1; margin:0 0 10px; }
  .rhero-sub{ font-size:15px; color:var(--muted); line-height:1.6; margin:0 0 22px; }
  .rhero-cta{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
  .rhero-btn{ background:var(--accent); color:#fff; font-weight:600; font-size:14px;
       padding:11px 20px; border-radius:var(--rad); text-decoration:none; }
  .rhero-btn:hover{ background:#084a8c; }
  .rhero-link{ color:var(--accent); font-weight:600; font-size:14px; text-decoration:none; }
  .rhero-link:hover{ text-decoration:underline; }
  @media (max-width:620px){ .rhero{ padding:30px 22px; } .rhero-h{ font-size:24px; } }

  /* Consistent radii on the rest of the shared components. */
  button,.btn-track,.btn-buy,.btn-fav,.chip,.searchtag,.sortsel{ border-radius:var(--rad); }
  input[type=text],input[type=email],input[type=password],textarea,select{ border-radius:var(--rad); }
  .guidebox,.introbox,.box,.offers,.stat,.sugg,.catcard{ border-radius:var(--rad); }
  .menu > summary,.rchip,.rtag,.optchip,.gsource,.card,a.card,select,code{ border-radius:var(--rad); }

  /* Tighter section rhythm. */
  h1{ font-size:24px; } h2{ font-size:18px; margin:22px 0 8px; }
  /* the results title is the page's main heading but keeps the section-heading size */
  h1.srtitle{ font-size:18px; font-weight:600; margin:22px 0 8px; letter-spacing:-0.018em; }

  /* ---- Per-page polish: flat, consistent across every page ---- */
  /* No floaty lifting anywhere — cards/rows sit flat like a real storefront. */
  .acard, .lrow, .wcard{ box-shadow:none; }
  .acard:hover{ transform:none; box-shadow:0 2px 10px rgba(15,20,24,.09); border-color:#c2c8d0; }
  .lrow:hover, .wmain:hover{ transform:none; box-shadow:none; background:var(--tint); }
  .acard-t{ font-size:16px; }

  /* Product detail page: clean retail layout. */
  .iimg{ border:1px solid var(--border); background-color:var(--card); box-shadow:none; }
  .idetail{ gap:34px; }
  .ititle{ font-size:24px; letter-spacing:-.015em; }
  .iprice{ font-size:28px; }
  .btn-fav:hover{ background:#084a8c; }

  /* Account: settings buttons + page headers. */
  .abtn:hover{ border-color:var(--accent); color:var(--accent); }
  .abtn.danger:hover{ color:#fff; }
  .pagehead h1{ margin:2px 0 4px; }
  .lead{ font-size:14.5px; }

  /* Auth + onboarding: a clean centered card instead of bare centered text. */
  .onb{ max-width:460px; background:var(--card); border:1px solid var(--border);
       padding:40px 36px; margin:48px auto; }
  .onb h1{ font-size:26px; }
  .onb-eyebrow{ margin-bottom:8px; }
  .onb input[type=email], .onb input[type=password]{ width:100%; }
  .onb form button{ min-width:170px; }

  /* Category tiles: flat, consistent with the rest. */
  .catcard:hover{ transform:none; box-shadow:0 2px 10px rgba(15,20,24,.09); border-color:#c2c8d0; }
  .catsec{ box-shadow:none; }


  /* Launcher: clean accent circle (keeps the agent icon), calmer hover. */
  .aibtn{ background:var(--accent) !important; border:none;
       box-shadow:0 6px 18px rgba(10,90,168,.35); }
  .aibtn:hover{ transform:scale(1.05); box-shadow:0 8px 22px rgba(10,90,168,.45); }
  /* Panel: light card, no glassmorphism / blur. */
  .aip{ background:var(--card); border:1px solid var(--border);
       box-shadow:0 18px 50px rgba(15,20,24,.22);
       -webkit-backdrop-filter:none; backdrop-filter:none; }
  .aip-head{ color:var(--text); border-bottom:1px solid var(--border); }
  .aip-head button{ color:var(--muted); }
  .aip-head button:hover{ color:var(--text); }
  .aip-dot{ background:#1a9e4b; }
  .aip-msgs{ background:var(--card); }
  .aip-msg.u{ background:var(--accent); color:#fff; }
  .aip-msg.b{ background:var(--tint); color:var(--text); }
  .aip-chip{ background:var(--tint); border:1px solid var(--border); color:var(--text); }
  .aip-chip:hover{ background:var(--accent-soft); border-color:var(--accent); color:var(--accent); }
  .aip-in{ border-top:1px solid var(--border); }
  .aip-in input{ background:var(--bg-alt); border:1px solid var(--border); color:var(--text); }
  .aip-in input::placeholder{ color:var(--muted); }
  .aip-in button{ background:var(--accent); color:#fff; }
  .aip-in button:hover{ background:#084a8c; }


  /* Breadcrumbs */
  .crumbs{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-size:13px;
       color:var(--muted); margin:2px 0 14px; }
  .crumbs a{ color:var(--accent); text-decoration:none; }
  .crumbs a:hover{ text-decoration:underline; }
  .crumbs .cur{ color:var(--text); max-width:440px; overflow:hidden; text-overflow:ellipsis;
       white-space:nowrap; }

  /* Labeled nav icons (Saved / Account) so they explain themselves */
  .navlbl{ display:inline-flex; align-items:center; gap:7px; color:#fff; text-decoration:none;
       font-size:13px; font-weight:600; padding:7px 9px; white-space:nowrap; }
  .navlbl:hover{ background:rgba(255,255,255,.09); color:#fff; }
  .navlbl svg{ width:21px; height:21px; flex-shrink:0; }
  @media (max-width:760px){ .navlbl span{ display:none; } .navlbl{ padding:6px; } }

  /* Search results: filters in a left sidebar, results on the right */
  .srhead{ display:flex; justify-content:space-between; align-items:flex-end; gap:14px;
       flex-wrap:wrap; border-bottom:1px solid var(--border); padding-bottom:10px; margin:6px 0 16px; }
  .srhead h2, .srhead h1.srtitle{ margin:0; }
  .srhead p{ margin:3px 0 0; }
  .srhead .sortrow{ margin:0; }
  .srlayout{ display:grid; grid-template-columns:250px minmax(0,1fr); gap:24px; align-items:start; }
  .srside{ background:var(--card); border:1px solid var(--border); padding:16px 16px 4px; }
  .srside h3{ font-size:12px; text-transform:uppercase; letter-spacing:.07em; color:var(--muted);
       margin:0 0 12px; }
  .srside .budget{ margin:0 0 18px; padding:0; background:none; border:none; box-shadow:none; }
  .srside .storefilter{ margin:0 0 16px; }
  .srside .sf-label{ flex-basis:100%; }
  .srmain .pgrid{ margin-top:0; }
  .srcount{ font-size:13px; font-weight:600; color:var(--text); margin:6px 0 0; min-height:1em; }
  .srtools{ display:flex; align-items:center; gap:10px; }
  .srfilterbtn{ display:none; margin:0; padding:8px 14px; font-size:13px; font-weight:600;
       background:var(--card); color:var(--text); border:1px solid var(--border); }
  .srfilterbtn:hover{ background:var(--tint); }
  .srsave{ display:inline-flex; align-items:center; gap:6px; padding:8px 12px; font-size:13px;
       font-weight:600; color:var(--accent); background:var(--card); border:1px solid var(--accent);
       text-decoration:none; white-space:nowrap; }
  .srsave:hover{ background:var(--accent-soft); }
  .srsave svg{ width:15px; height:15px; flex-shrink:0; }
  .srtools{ flex-wrap:wrap; }
  .srreset{ display:inline-block; font-size:13px; color:var(--accent); text-decoration:none; margin:0 0 14px; }
  .srreset:hover{ text-decoration:underline; }
  @media (max-width:860px){ .srlayout{ grid-template-columns:1fr; }
       .srfilterbtn{ display:inline-block; } .srside{ display:none; } .srside.open{ display:block; } }

  /* Product page: image | details | buy box */
  .idetail.pd3{ display:grid; grid-template-columns:minmax(0,360px) minmax(0,1fr) 290px;
       gap:28px; align-items:start; }
  .pd3 .iimg{ width:100%; height:360px; }
  .buybox{ border:1px solid var(--border); background:var(--card); padding:18px; }
  .buybox .iprice{ margin:0 0 6px; }
  .buybox .box{ margin:10px 0 0; padding:12px 14px; font-size:13.5px; }
  .buybox .idelivery{ margin:12px 0 0; font-size:13px; }
  .buybox .ibuy{ flex-direction:column; gap:8px; margin-top:16px; }
  .buybox .ibuy a, .buybox .ibuy button{ width:100%; justify-content:center; text-align:center; margin:0; }
  /* One primary action (Buy); everything else is secondary so the choice is obvious. */
  .buybox .btn-fav{ background:var(--card); color:var(--accent); border:1px solid var(--accent); }
  .buybox .btn-fav:hover{ background:var(--accent-soft); color:var(--accent); }
  .buybox .btn-track{ background:var(--card); }
  .buybox .btn-track:hover{ background:var(--accent-soft); }
  .buybox .trackhint{ font-size:12px; }
  @media (max-width:1060px){ .idetail.pd3{ grid-template-columns:minmax(0,320px) minmax(0,1fr); }
       .buybox{ grid-column:1 / -1; } }
  @media (max-width:720px){
    /* Phones: price + Buy come right under the title, before the long detail boxes.
       (.iinfo's children are promoted into the grid so they can be reordered.) */
    .idetail.pd3{ grid-template-columns:1fr; gap:12px; }
    .pd3 .iinfo{ display:contents; }
    .pd3 .iinfo > *{ order:6; }
    .pd3 .iimg{ order:1; height:250px; }
    .pd3 .isource{ order:2; margin-bottom:-6px; }
    .pd3 .ititle{ order:3; margin:0; }
    .pd3 .gratingline{ order:4; }
    .pd3 .buybox{ order:5; }
  }
  /* Phones: the trail is enough without repeating the page title on a second line. */
  @media (max-width:620px){ .crumbs .cur, .crumbs span:nth-last-child(2){ display:none; } }

  /* Retail price: smaller raised $ and cents */
  .pcur, .pcts{ font-size:.56em; vertical-align:super; font-weight:600; }
  .pcur{ margin-right:1px; }
  .gcard:hover .gname{ color:var(--accent); }

  /* Multi-column footer band */
  .rfoot{ background:#131a24; color:#c3c9d2; margin-top:56px; }
  .rfoot-in{ max-width:1280px; margin:0 auto; padding:36px 20px 24px; display:grid;
       grid-template-columns:1.3fr repeat(4,1fr); gap:26px; }
  .rfoot-brand{ color:#fff; font-size:20px; font-weight:800; letter-spacing:-.02em; }
  .rfoot-tag{ font-size:13px; line-height:1.55; margin-top:8px; max-width:240px; }
  .rfoot h4{ color:#fff; font-size:14px; font-weight:700; margin:0 0 10px; }
  .rfoot a{ display:block; color:#c3c9d2; text-decoration:none; font-size:13.5px; padding:4px 0; }
  .rfoot a:hover{ color:#fff; text-decoration:underline; }
  .rfoot-bottom{ border-top:1px solid rgba(255,255,255,.08); text-align:center; font-size:12.5px;
       color:#8e96a3; padding:16px 20px 22px; }
  @media (max-width:860px){ .rfoot-in{ grid-template-columns:1fr 1fr; } .rfoot-brandcol{ grid-column:1 / -1; } }
  /* Compare: card toggle, bottom tray, side-by-side table */
  .cmpbtn{ background:none !important; border:none; padding:0; margin:0; cursor:pointer;
       display:inline-flex; }
  .cmpbtn:hover svg{ color:var(--text); }
  .cmpbtn.on svg{ color:var(--accent); stroke-width:2.4; }
  /* Labeled version on the product page, matching the other secondary buttons */
  .buybox .cmpbtn.cmpwide{ background:var(--card) !important; border:1px solid var(--accent);
       padding:12px 20px; color:var(--accent); gap:6px; }
  .buybox .cmpbtn.cmpwide:hover, .buybox .cmpbtn.cmpwide.on{ background:var(--accent-soft) !important; }
  .cmpbtn.cmpwide svg{ width:17px; height:17px; color:var(--accent); flex-shrink:0; }
  .cmptray{ position:fixed; left:50%; transform:translateX(-50%); bottom:22px; z-index:55;
       display:flex; align-items:center; gap:14px; background:#131a24; color:#fff;
       padding:9px 12px 9px 18px; box-shadow:0 10px 30px rgba(0,0,0,.3); font-size:13.5px;
       max-width:calc(100vw - 180px); }
  .cmptray-t{ font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .cmptray-go{ background:var(--accent); color:#fff; text-decoration:none; font-weight:700;
       padding:8px 14px; white-space:nowrap; }
  .cmptray-go.off{ background:#3a4250; color:#aeb5c0; cursor:default; }
  .cmptray-x{ background:none !important; border:none; color:#c3c9d2 !important; margin:0;
       padding:6px 4px; font-size:13px; cursor:pointer; }
  .cmptray-x:hover{ color:#fff !important; }
  @media (max-width:620px){ .cmptray{ bottom:92px; max-width:calc(100vw - 24px); gap:10px; } }
  .cmpwrap{ overflow-x:auto; background:var(--card); border:1px solid var(--border); }
  table.cmp{ border-collapse:collapse; width:100%; min-width:560px; table-layout:fixed; }
  .cmp th, .cmp td{ border-bottom:1px solid var(--border); padding:13px 14px; text-align:left;
       vertical-align:top; font-size:14px; }
  .cmp td + td{ border-left:1px solid var(--border); }
  .cmp th.rowh{ width:128px; background:var(--tint); color:var(--muted); font-size:11.5px;
       font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
  .cmp tr:last-child th, .cmp tr:last-child td{ border-bottom:none; }
  .cmp-img{ height:140px; }
  .cmp-name{ display:block; margin-top:10px; font-weight:600; line-height:1.35; color:var(--text);
       text-decoration:none; }
  .cmp-name:hover{ color:var(--accent); }
  .cmp-rm{ background:none !important; border:none; color:var(--muted) !important; padding:0;
       margin:8px 0 0; font-size:12px; font-weight:500; text-decoration:underline; cursor:pointer; }
  .cmp-rm:hover{ color:#b00020 !important; }
  .cmp-price{ font-size:20px; font-weight:700; }
  .cmp-best{ display:inline-block; margin-left:7px; padding:2px 6px; font-size:11px; font-weight:700;
       color:#fff; background:#197a3d; vertical-align:middle; white-space:nowrap; }
  .cmp .btn-shop{ display:inline-block; }
  .cmp-swipe{ display:none; font-size:12.5px; color:var(--muted); margin:0 0 8px; }
  /* Phones: a smaller chat launcher so it covers less of the page. */
  @media (max-width:620px){ .aibtn{ width:50px; height:50px; right:14px; bottom:16px; } }
  /* Phones: two products fit side by side; labels stay pinned while swiping to more. */
  @media (max-width:620px){
    table.cmp{ min-width:calc(86px + var(--n, 2) * 128px); }
    .cmp th, .cmp td{ padding:10px 9px; font-size:13px; }
    .cmp th.rowh{ width:86px; font-size:10.5px; letter-spacing:.03em; position:sticky; left:0; z-index:1; }
    .cmp-img{ height:92px; }
    .cmp-price{ font-size:17px; }
    .cmp-best{ display:block; width:max-content; margin:5px 0 0; }
    .cmp .btn-shop{ padding:8px; font-size:12.5px; white-space:normal; }
    .cmp-swipe{ display:block; }
  }

  /* Price alert box on the product page */
  .alertbox{ border-top:1px solid var(--border); margin-top:16px; padding-top:14px; }
  .alert-h{ display:flex; align-items:center; gap:7px; font-size:13.5px; font-weight:700; margin-bottom:9px; }
  .alert-h svg{ width:16px; height:16px; flex-shrink:0; }
  .alert-row{ display:flex; align-items:center; gap:6px; }
  .alert-cur{ font-weight:700; color:var(--muted); }
  .alert-row input[type=text]{ flex:1; min-width:0; width:auto; max-width:none; margin:0;
       padding:9px 10px; font-size:14px; }
  .alert-row button{ margin:0; padding:9px 12px; font-size:13px; white-space:nowrap; background:var(--accent); }
  .alert-row button:hover{ background:#084a8c; }
  .alert-chips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; }
  .alert-chip, :root[data-theme="dark"] .alert-chip{ margin:0; padding:5px 9px; font-size:12px;
       font-weight:600; background:var(--card); color:var(--text); border:1px solid var(--border);
       cursor:pointer; }
  .alert-chip:hover, :root[data-theme="dark"] .alert-chip:hover{ border-color:var(--accent);
       color:var(--accent); background:var(--accent-soft); }
  .alert-note{ font-size:12px; color:var(--muted); margin:9px 0 0; }

  /* Watchlist: change the alert price in place */
  .wfoot{ display:flex; align-items:center; gap:10px; padding:10px 20px 12px;
       border-top:1px solid var(--border); font-size:13px; color:var(--muted); }
  .wfoot-l{ display:flex; align-items:center; gap:6px; }
  .wfoot input[type=text]{ width:96px; max-width:none; margin:0; padding:7px 9px; font-size:13px; }
  .wfoot button{ margin:0; padding:7px 14px; font-size:13px; }

  /* Empty states that point somewhere useful instead of dead-ending. */
  .emptybox{ background:var(--card); border:1px solid var(--border); padding:26px 28px; margin:6px 0 22px; }
  .emptymsg{ font-size:16px; font-weight:600; margin:0 0 16px; }
  .emptybox .rhero-btn{ display:inline-block; }
  .emptyh{ font-size:12px; text-transform:uppercase; letter-spacing:.07em; color:var(--muted);
       margin:24px 0 10px; }
  .emptytags{ display:flex; flex-wrap:wrap; gap:8px; }
  /* Back-to-top stays visible over the dark footer band. */
  .totop{ background:var(--accent); color:#fff; border:1px solid rgba(255,255,255,.25); }

body, body *{ font-family:'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important; }body{ font-size-adjust:0.52; }h1, h2, h3, .rhero-h, .ititle, .shaderhero-big, .nav .brand, .rfoot-brand, .onb h1{ letter-spacing:-0.005em !important; }