/* ============================================================
   Alibaba.com Desktop Design System — Fantasy Interactive 2023
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body { font-family: 'Open Sans', sans-serif; background: #FAFAFA; color: #191A1A; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

/* ---- Tokens ---- */
:root {
  --orange-01: #FF6A00;
  --orange-02: #FF8833;
  --orange-03: #FFC399;
  --grey-01:   #191A1A;
  --grey-02:   #555555;
  --grey-03:   #888888;
  --grey-04:   #CCCCCC;
  --grey-05:   #ECEBEB;
  --grey-06:   #FAFAFA;
  --green-01:  #0E8A16;
  --green-02:  #9FD0A2;
  --red-01:    #FF0000;
  --red-02:    #FF9999;
  --burgundy:  #762C52;
  --steel:     #365E95;
  --forest:    #204756;
  --white:     #FFFFFF;

  --sp-01:  4px;  --sp-02: 8px;   --sp-03: 12px;  --sp-04: 16px;
  --sp-05: 20px;  --sp-06: 24px;  --sp-08: 32px;  --sp-09: 36px;
  --sp-10: 40px;  --sp-11: 44px;  --sp-12: 48px;  --sp-13: 72px;
  --sp-14: 80px;  --sp-15: 96px;

  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:  16px;
  --r-pill: 999px;

  --shadow-01: 0 1px 4px rgba(0,0,0,.06);
  --shadow-02: 0 4px 16px rgba(0,0,0,.10);
  --shadow-03: 0 8px 32px rgba(0,0,0,.14);
  --content-max: 1520px;
  --content-pad: 200px;
  --module-gap: 96px;
}

/* ---- Layout ---- */
.page-width { max-width: 1520px; margin: 0 auto; padding: 0 200px; }
.page-section { padding: var(--sp-15) 0; }
.page-section-sm { padding: var(--sp-12) 0; }

/* ---- Shared desktop system primitives ---- */
.ds-shell {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
}
.ds-card-surface {
  background: var(--white);
  border: 1px solid var(--grey-05);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(0,0,0,.06);
}
.ds-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey-03);
}
.ds-title-xl {
  font-size: 56px;
  line-height: 64px;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.ds-title-lg {
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.ds-title-md {
  font-size: 32px;
  line-height: 44px;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.ds-body-lg {
  font-size: 16px;
  line-height: 28px;
  color: var(--grey-02);
}
.ds-body-md {
  font-size: 14px;
  line-height: 24px;
  color: var(--grey-02);
}
.ds-meta {
  font-size: 12px;
  line-height: 18px;
  color: var(--grey-03);
}
.ds-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid var(--grey-05);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-01);
}
.ds-icon-orb {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #FFF2E8;
  color: var(--orange-01);
  box-shadow: inset 0 0 0 1px rgba(255,106,0,.08);
}
.ds-icon-orb svg,
.ds-icon-stroke svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ds-icon-stroke {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--grey-01);
  box-shadow: inset 0 0 0 1px var(--grey-05);
}
.ds-check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ds-check-mark {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFF2E8;
  color: var(--orange-01);
  font-size: 12px;
  font-weight: 700;
}
.ds-source-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ds-source-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--grey-05);
  border-radius: 20px;
  background: #FAFAFA;
}
.ds-source-card strong {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: var(--grey-01);
}
.ds-source-card span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 18px;
  color: var(--grey-03);
}

@media (max-width: 1600px) {
  :root { --content-pad: 80px; }
}

@media (max-width: 1200px) {
  :root { --content-pad: 24px; }
  .ds-source-grid { grid-template-columns: repeat(2, 1fr); }
  .ali-topnav {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 14px;
  }
  .ali-search-stack {
    order: 3;
    width: 100%;
    max-width: none;
  }
  .ali-nav-utils { margin-left: auto; }
}

@media (max-width: 760px) {
  .ds-title-xl { font-size: 36px; line-height: 42px; }
  .ds-title-lg { font-size: 30px; line-height: 38px; }
  .ds-title-md { font-size: 24px; line-height: 32px; }
  .ds-source-grid { grid-template-columns: 1fr; }
  .ali-topnav,
  .ali-subnav {
    padding-left: 16px;
    padding-right: 16px;
  }
  .ali-logo-img {
    width: 152px;
    height: 18px;
  }
  .ali-search-tabs,
  .ali-subnav-inner {
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ali-search-tabs::-webkit-scrollbar,
  .ali-subnav-inner::-webkit-scrollbar { display: none; }
  .ali-cat-select { max-width: 110px; }
}

/* ---- Utility bar ---- */
.util-bar {
  background: var(--grey-01);
  color: rgba(255,255,255,.6);
  font-size: 11px;
  padding: 5px 40px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 100;
}
.util-link { color: rgba(255,255,255,.55); font-size: 11px; }
.util-link:hover { color: white; }

/* ---- Logo ---- */
.ali-logo-wrap {
  display: flex; align-items: center;
  min-width: 185px;
  text-decoration: none;
  flex-shrink: 0;
}
.ali-mark { width: 46px; height: 30px; flex-shrink: 0; }
.ali-logo-img {
  display: block;
  width: 185px;
  height: 22px;
  object-fit: contain;
  object-position: left center;
}
.ali-wordmark {
  font-size: 21px; line-height: 1; font-weight: 700;
  color: var(--orange-01); white-space: nowrap; letter-spacing: -.3px;
}
.ali-wordmark .dot-com { color: rgba(255,255,255,.45); font-weight: 400; }

/* White logo variant (on orange/dark bg) */
.ali-logo-white .ali-mark,
.ali-logo-white .ali-wordmark,
.ali-logo-white .ali-wordmark .dot-com { color: white !important; }

/* ---- Top nav ---- */
.ali-topnav {
  background: var(--grey-01);
  padding: 10px 40px 12px;
  min-height: 74px;
  display: flex; align-items: center; gap: 28px;
  position: sticky; top: 0; z-index: 90;
}
.ali-nav-inner {
  display: flex; align-items: center; gap: var(--sp-10);
  width: 100%; max-width: 1840px; margin: 0 auto;
}

.ali-search-stack {
  flex: 1;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ali-search-tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 14px;
}

.ali-search-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  color: rgba(255,255,255,.54);
}

.ali-search-tab.active { color: var(--white); }

.ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe0c7 0%, #ff6a00 100%);
  box-shadow: 0 0 0 4px rgba(255,106,0,.12);
}

/* ---- Search bar ---- */
.ali-search-bar {
  width: 100%;
  display: flex;
  align-items: center;
  border: 2px solid var(--orange-01);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.ali-cat-select {
  border: none; outline: none; background: var(--white);
  padding: 0 18px; font-size: 13px; font-weight: 600; color: var(--grey-01);
  height: 44px; border-right: 1px solid var(--grey-05);
  cursor: pointer; flex-shrink: 0;
}
.ali-search-input {
  flex: 1; border: none; outline: none; height: 44px;
  padding: 0 16px; font-size: 14px; color: var(--grey-01);
  background: white;
}
.ali-search-input::placeholder { color: var(--grey-03); }
.ali-search-btn {
  width: 52px; height: 44px; background: var(--orange-01); border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: white; flex-shrink: 0; transition: background .15s;
}
.ali-search-btn:hover { background: #e05e00; }

/* ---- Nav utils ---- */
.ali-nav-utils {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}
.nav-util-link {
  color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 4px;
  font-size: 12px; cursor: pointer; transition: color .15s; padding: 2px;
}
.nav-util-link:hover { color: white; }
.nav-util-link strong { font-weight: 700; }

/* ---- Sub-nav ---- */
.ali-subnav {
  background: white; border-bottom: 1px solid var(--grey-05);
  padding: 0 40px;
}
.ali-subnav-inner {
  display: flex; align-items: center; gap: 28px;
  max-width: 1840px; margin: 0 auto; min-height: 50px;
}
.subnav-item {
  font-size: 13px; color: var(--grey-02); white-space: nowrap;
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.subnav-item:hover { color: var(--grey-01); border-bottom-color: var(--orange-01); }
.subnav-item.active { color: var(--grey-01); border-bottom-color: var(--orange-01); font-weight: 600; }

/* ---- Icon system (stroke SVGs) ---- */
.icon {
  width: 20px; height: 20px; stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; display: inline-block; vertical-align: middle;
}
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }

/* ---- Hero module ---- */
.hero-module {
  position: relative; width: 100%; min-height: 500px;
  background-size: cover; background-position: center top;
  background-color: #1a1a1a;
  display: flex; align-items: center;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(25,26,26,.88) 35%, rgba(25,26,26,.5) 60%, rgba(25,26,26,.15) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1520px; margin: 0 auto; padding: 80px 200px;
  color: white;
}
.hero-title {
  font-size: 44px; font-weight: 600; line-height: 1.2;
  max-width: 500px; margin-bottom: 14px;
}
.hero-sub {
  font-size: 17px; line-height: 1.55; max-width: 380px;
  margin-bottom: 36px; opacity: .88;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--orange-01); color: white; border: none;
  border-radius: var(--r-pill); padding: 12px 28px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s; white-space: nowrap;
}
.btn-primary:hover { background: #e05e00; color: white; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: white; color: var(--grey-01);
  border: 1.5px solid var(--grey-04); border-radius: var(--r-pill);
  padding: 12px 28px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--orange-01); color: var(--orange-01); }

.btn-outline-white {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: white;
  border: 2px solid white; border-radius: var(--r-pill);
  padding: 12px 28px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

/* Button size modifiers (Large 52px / Medium default 44px / Small 36px) */
.btn-primary.btn-lg, .btn-secondary.btn-lg {
  min-height: 52px; padding: 14px 32px; font-size: 15px;
}
.btn-primary.btn-md, .btn-secondary.btn-md {
  min-height: 44px; padding: 10px 24px; font-size: 14px;
}
.btn-primary.btn-sm, .btn-secondary.btn-sm {
  min-height: 36px; padding: 7px 18px; font-size: 13px;
}

.btn-tertiary {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--grey-01); font-size: 14px; font-weight: 600;
  background: none; border: none; cursor: pointer; padding: 0;
}
.btn-tertiary:hover { color: var(--orange-01); }

/* ---- "Why source" text module ---- */
.why-source {
  background: var(--grey-06); padding: var(--sp-15) 0;
}
.why-source-inner {
  max-width: 1520px; margin: 0 auto; padding: 0 200px;
}
.why-source h2 {
  font-size: 28px; font-weight: 700; color: var(--grey-01);
  margin-bottom: var(--sp-12);
}
.why-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-10); }
.why-col { padding: var(--sp-08); }
.why-col-title { font-size: 16px; font-weight: 700; color: var(--grey-01); margin-bottom: 8px; }
.why-col-desc { font-size: 14px; color: var(--grey-02); line-height: 1.6; margin-bottom: 12px; }

/* ---- Media with text module ---- */
.media-text-module {
  max-width: 1520px; margin: 0 auto; padding: var(--sp-15) 200px;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-15);
  align-items: center;
}
.media-text-content h2 { font-size: 28px; font-weight: 700; color: var(--grey-01); margin-bottom: var(--sp-08); }
.media-text-feature {
  display: flex; align-items: flex-start; gap: 12px;
  padding-bottom: var(--sp-06); margin-bottom: var(--sp-06);
  border-bottom: 1px solid var(--grey-05);
}
.media-text-feature:last-child { border-bottom: none; }
.media-text-feature .feat-text strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.media-text-feature .feat-text span { font-size: 13px; color: var(--grey-02); }
.media-photo {
  border-radius: var(--r-lg); overflow: hidden;
  position: relative; background: var(--grey-05);
}
.media-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Ask Alibaba module ---- */
.ask-alibaba {
  background-size: cover; background-position: center;
  position: relative; padding: var(--sp-15) 0;
}
.ask-overlay {
  position: absolute; inset: 0;
  background: rgba(25,26,26,.82);
}
.ask-inner {
  position: relative; z-index: 1; text-align: center;
  max-width: 760px; margin: 0 auto; padding: 0 40px;
}
.ask-heading {
  font-size: 34px; font-weight: 700; color: white; margin-bottom: 6px;
}
.ask-heading span { color: var(--orange-01); }
.ask-sub { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 28px; }
.ask-form {
  display: flex; align-items: center;
  background: white; border-radius: var(--r-pill);
  padding: 6px 6px 6px 22px; margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.ask-input {
  flex: 1; border: none; outline: none; font-size: 15px;
  color: var(--grey-01); background: transparent;
}
.ask-input::placeholder { color: var(--grey-03); }
.ask-submit {
  padding: 11px 24px; background: var(--orange-01); color: white;
  border: none; border-radius: var(--r-pill); font-size: 14px; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background .15s;
}
.ask-submit:hover { background: #e05e00; }
.ask-prompts { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ask-prompt {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85); border-radius: var(--r-pill);
  padding: 6px 16px; font-size: 12px; cursor: pointer; transition: all .15s;
}
.ask-prompt:hover { background: rgba(255,255,255,.22); }

/* ---- Source-by tabs ---- */
.source-by-tabs {
  display: flex; align-items: center; justify-content: center; gap: 0;
  border-bottom: 1px solid var(--grey-04);
  padding: 0; margin-bottom: 0; position: relative;
}
.source-by-label {
  font-size: 20px; font-weight: 400; color: var(--grey-03);
  margin-right: 32px; white-space: nowrap;
}
.source-by-tab {
  font-size: 20px; font-weight: 700; color: var(--grey-03);
  padding: 18px 28px; cursor: pointer; border-bottom: 3px solid transparent;
  margin-bottom: -1px; transition: color .15s;
  background: none; border-left: none; border-right: none; border-top: none;
}
.source-by-tab.active { color: var(--grey-01); border-bottom-color: var(--orange-01); }
.source-by-tab:hover { color: var(--grey-01); }

/* ---- Filter chips ---- */
.filter-chips {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 16px 0;
}
.filter-chip {
  padding: 8px 16px; border: 1.5px solid var(--grey-04);
  border-radius: var(--r-pill); font-size: 13px; color: var(--grey-01);
  cursor: pointer; background: white; transition: all .15s; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
}
.filter-chip:hover { border-color: var(--grey-01); }
.filter-chip.active { background: var(--grey-01); color: white; border-color: var(--grey-01); }
.filter-chip .icon-sm { stroke-width: 2; }

/* ---- Product card (design-system spec) ---- */
.product-card {
  background: white; border-radius: var(--r-md); overflow: hidden;
  cursor: pointer; transition: box-shadow .2s, transform .15s;
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--grey-05);
}
.product-card:hover { box-shadow: var(--shadow-02); transform: translateY(-2px); }
.product-card-img {
  width: 100%; aspect-ratio: 1/1;
  background: var(--grey-05); overflow: hidden; position: relative;
  flex-shrink: 0;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card-body { padding: 10px 12px 12px; flex: 1; position: relative; }
.product-card-labels {
  display: flex; align-items: center; gap: 6px; margin-bottom: 5px;
}
.label-rts {
  font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: var(--r-sm);
  background: #EDF7EE; color: var(--green-01); border: 1px solid #C8E6CA;
  display: inline-flex; align-items: center; gap: 3px;
}
.label-verified {
  font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: var(--r-sm);
  background: #FFF2E8; color: var(--orange-01); border: 1px solid var(--orange-03);
  display: inline-flex; align-items: center; gap: 3px;
}
.product-card-title {
  font-size: 13px; color: var(--grey-01); line-height: 1.45;
  margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-price {
  font-size: 14px; font-weight: 700; color: var(--orange-01); margin-bottom: 3px;
}
.product-card-original {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; margin-bottom: 4px;
}
.product-card-original s { color: var(--grey-03); font-weight: 400; }
.badge-off {
  background: var(--grey-05); color: var(--grey-02); border-radius: var(--r-sm);
  padding: 1px 6px; font-size: 10px; font-weight: 700;
}
.badge-live {
  background: var(--red-01); color: white; border-radius: var(--r-sm);
  padding: 1px 6px; font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 3px;
}
.product-card-shipping {
  font-size: 11px; color: var(--grey-03); line-height: 1.5;
}
.product-card-hover-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: white; border-top: 1px solid var(--grey-05);
  padding: 8px 12px; display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(100%); transition: opacity .18s, transform .18s;
}
.product-card:hover .product-card-hover-bar { opacity: 1; transform: translateY(0); }
.btn-contact-sm {
  flex: 1; padding: 7px 10px; background: var(--orange-01); color: white;
  border: none; border-radius: var(--r-pill); font-size: 12px; font-weight: 600;
  cursor: pointer;
}
.card-icon-btn {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--grey-04);
  background: white; display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; color: var(--grey-02); transition: all .15s;
}
.card-icon-btn:hover { border-color: var(--orange-01); color: var(--orange-01); }

/* ---- Product grid ---- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-06); }

/* ---- Promo banner (inline in grid) ---- */
.grid-promo-banner {
  grid-column: 1 / -1; background: var(--grey-01);
  border-radius: 16px; padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between;
  color: white;
}
.grid-promo-banner strong { color: var(--orange-01); }

/* ---- Supplier card ---- */
.supplier-result {
  border: 1px solid var(--grey-05); border-radius: var(--r-md);
  padding: 20px; background: white; margin-bottom: var(--sp-06);
  display: grid; grid-template-columns: 200px 1fr; gap: var(--sp-08);
  transition: box-shadow .2s;
}
.supplier-result:hover { box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.supplier-main-img {
  background: var(--grey-05); border-radius: var(--r-md); overflow: hidden;
}
.supplier-main-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

/* ---- Subcategory strip ---- */
.sub-strip {
  display: flex; gap: var(--sp-04); padding: var(--sp-06) 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.sub-strip::-webkit-scrollbar { display: none; }
.sub-chip {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 16px; border: 1.5px solid var(--grey-05); border-radius: var(--r-md);
  white-space: nowrap; cursor: pointer; background: white; min-width: 100px;
  font-size: 12px; color: var(--grey-01); transition: all .15s; flex-shrink: 0;
}
.sub-chip:hover, .sub-chip.active { border-color: var(--orange-01); color: var(--orange-01); }

/* ---- Top categories ---- */
.top-cats { display: flex; gap: var(--sp-06); overflow-x: auto; padding: var(--sp-06) 0; scrollbar-width: none; }
.top-cats::-webkit-scrollbar { display: none; }
.cat-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; flex-shrink: 0; width: 90px; text-align: center;
}
.cat-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--grey-05);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; transition: background .15s; overflow: hidden;
}
.cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.cat-item:hover .cat-icon { background: var(--orange-03); }
.cat-label { font-size: 12px; color: var(--grey-01); line-height: 1.3; }

/* ---- Trending grid ---- */
.trending-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-04); }
.trending-card {
  border-radius: 16px; overflow: hidden; position: relative;
  aspect-ratio: 1/1; cursor: pointer; background: var(--grey-05);
}
.trending-card img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s;
}
.trending-card:hover img { transform: scale(1.04); }
.trending-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(25,26,26,.7) 0%, rgba(25,26,26,.2) 60%, transparent 100%);
}
.trending-card-body {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
  color: white;
}
.trending-card-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.trending-card-body .price { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9); }

/* Content cards (2-col learn more, brand awareness) */
.content-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-06); }
.content-card {
  border-radius: 16px; overflow: hidden; position: relative;
  cursor: pointer; background: var(--grey-01); display: block;
}
.content-card-bg {
  width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center;
  transition: transform .3s;
}
.content-card:hover .content-card-bg { transform: scale(1.03); }
.content-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(25,26,26,.85) 25%, rgba(25,26,26,.35) 65%, rgba(25,26,26,.1) 100%);
}
.content-card-text {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px;
  color: white;
}
.content-card-tag {
  display: inline-block; background: rgba(255,255,255,.15); border-radius: var(--r-sm);
  padding: 2px 8px; font-size: 11px; color: rgba(255,255,255,.8); margin-bottom: 8px;
}
.content-card-text h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }

/* ---- Testimonial module ---- */
.testimonial-module {
  position: relative; background-size: cover; background-position: center;
  background-color: var(--grey-01);
}
.testimonial-overlay {
  position: absolute; inset: 0; background: rgba(25,26,26,.82);
}
.testimonial-inner {
  position: relative; z-index: 1; text-align: center;
  max-width: 900px; margin: 0 auto; padding: 72px 40px;
  color: white;
}
.quote-marks { font-size: 52px; line-height: 1; color: var(--orange-01); margin-bottom: -12px; }
.testimonial-quote { font-size: 22px; line-height: 1.55; font-weight: 400; margin-bottom: 28px; }
.testimonial-quote em { color: var(--orange-01); font-style: normal; font-weight: 700; }
.testimonial-attr { font-size: 13px; color: rgba(255,255,255,.6); }
.testimonial-attr strong { display: block; color: white; }

/* ---- Membership banner ---- */
.membership-banner {
  position: relative; background-size: cover; background-position: center;
  background-color: #1a2030;
}
.membership-overlay { position: absolute; inset: 0; background: rgba(18,20,28,.82); }
.membership-inner {
  position: relative; z-index: 1; text-align: center;
  padding: var(--sp-14) 40px;
}
.membership-inner h2 {
  font-size: 30px; font-weight: 700; color: white; margin-bottom: 8px;
}
.membership-inner h2 span { color: var(--orange-01); }
.membership-inner p { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 28px; }

/* ---- Explore more (tabbed product grid) ---- */
.explore-tabs {
  display: flex; align-items: center; gap: 0;
  border-bottom: 1px solid var(--grey-05); margin-bottom: var(--sp-08);
}
.explore-tab {
  padding: 12px 18px; font-size: 14px; font-weight: 600;
  color: var(--grey-03); cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -1px; background: none; border-left: none;
  border-right: none; border-top: none; transition: color .15s;
}
.explore-tab.active { color: var(--grey-01); border-bottom-color: var(--orange-01); }
.explore-tab:hover { color: var(--grey-01); }
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-05); }

/* ---- Highly searched pills ---- */
.searched-pills { display: flex; gap: 8px; flex-wrap: wrap; padding: var(--sp-06) 0; }
.search-pill {
  padding: 6px 14px; background: white; border: 1px solid var(--grey-04);
  border-radius: var(--r-pill); font-size: 13px; color: var(--grey-02);
  cursor: pointer; transition: all .15s;
}
.search-pill:hover { border-color: var(--orange-01); color: var(--orange-01); }

/* ---- Pagination ---- */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; padding: var(--sp-10) 0;
}
.page-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--grey-04); border-radius: var(--r-sm);
  font-size: 13px; color: var(--grey-01); cursor: pointer; background: white;
  transition: all .15s;
}
.page-btn:hover, .page-btn.active {
  background: var(--orange-01); color: white; border-color: var(--orange-01);
}
.page-prev, .page-next {
  padding: 0 14px; width: auto; gap: 4px;
  display: flex; align-items: center; font-size: 13px; font-weight: 600;
}

/* ---- Filter drawer ---- */
.filter-overlay {
  position: fixed; inset: 0; background: rgba(25,26,26,.5);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.filter-overlay.open { opacity: 1; pointer-events: all; }
.filter-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px;
  background: white; z-index: 201; overflow-y: auto;
  transform: translateX(100%); transition: transform .25s ease;
  box-shadow: -4px 0 32px rgba(0,0,0,.12);
}
.filter-drawer.open { transform: translateX(0); }
.filter-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--grey-05); position: sticky; top: 0; background: white; z-index: 1;
}
.filter-drawer-head h2 { font-size: 18px; font-weight: 700; }
.filter-close-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--grey-04);
  background: white; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--grey-02); transition: all .15s;
}
.filter-close-btn:hover { background: var(--grey-05); }
.filter-drawer-body { padding: 24px; }
.filter-section { margin-bottom: 24px; }
.filter-section-title { font-size: 14px; font-weight: 700; color: var(--grey-01); margin-bottom: 12px; }
.filter-pill-group { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-pill {
  padding: 6px 14px; border: 1.5px solid var(--grey-04); border-radius: var(--r-pill);
  font-size: 12px; cursor: pointer; background: white; color: var(--grey-01); transition: all .15s;
}
.filter-pill:hover { border-color: var(--grey-01); }
.filter-pill.active { background: var(--grey-01); color: white; border-color: var(--grey-01); }
.filter-range-chart { position: relative; height: 56px; background: var(--grey-06); border-radius: 4px; margin-bottom: 12px; overflow: hidden; }
.filter-range-bar { display: flex; gap: 8px; }
.filter-range-input {
  flex: 1; padding: 8px 12px; border: 1.5px solid var(--grey-04);
  border-radius: var(--r-sm); font-size: 13px; color: var(--grey-01); outline: none;
}
.filter-range-input:focus { border-color: var(--orange-01); }
.filter-accord-item { border-bottom: 1px solid var(--grey-05); }
.filter-accord-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--grey-01);
  background: none; border: none; width: 100%; text-align: left;
}
.filter-accord-body { display: none; padding-bottom: 16px; }
.filter-accord-body.open { display: block; }
.filter-ctas {
  position: sticky; bottom: 0; background: white; padding: 16px 24px;
  border-top: 1px solid var(--grey-05); display: flex; gap: 12px;
}
.filter-ctas .btn-primary { flex: 2; }
.filter-ctas .btn-secondary { flex: 1; }

/* ---- Progress indicator (onboarding) ---- */
.progress-indicator {
  display: flex; align-items: center; gap: 0; margin-bottom: 32px;
}
.prog-step-wrap { display: flex; align-items: center; flex: 1; }
.prog-step-wrap:last-child { flex: none; }
.prog-node {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--grey-04);
  background: white; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--grey-03); flex-shrink: 0;
  transition: all .2s;
}
.prog-node.active { background: var(--orange-01); border-color: var(--orange-01); color: white; }
.prog-node.done { background: var(--orange-01); border-color: var(--orange-01); color: white; }
.prog-label { font-size: 12px; color: var(--grey-03); margin-left: 8px; margin-right: 4px; white-space: nowrap; }
.prog-label.active { color: var(--grey-01); font-weight: 600; }
.prog-line { flex: 1; height: 2px; background: var(--grey-04); margin: 0 4px; transition: background .2s; }
.prog-line.done { background: var(--orange-01); }

/* ---- Footer ---- */
.ali-footer { background: var(--grey-01); color: white; padding: var(--sp-14) 0 var(--sp-08); }
.footer-inner { max-width: 1520px; margin: 0 auto; padding: 0 200px var(--sp-12); display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-10); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-heading { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  max-width: 1520px; margin: 0 auto; padding: var(--sp-06) 200px 0;
  border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ---- Breadcrumb ---- */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 14px 0; font-size: 13px; color: var(--grey-03); }
.breadcrumb a { color: var(--grey-03); }
.breadcrumb a:hover { color: var(--orange-01); text-decoration: underline; }
.breadcrumb span.sep { color: var(--grey-04); }

/* ---- Section header ---- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--sp-08); }
.section-head h2 { font-size: 22px; font-weight: 700; color: var(--grey-01); }

/* ---- Horizontal scroll ---- */
.horiz-scroll { display: flex; gap: var(--sp-05); overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.horiz-scroll::-webkit-scrollbar { display: none; }

/* ============================================================
   CS-02 Design System Components (from case study reference)
   ============================================================ */

/* ---- CSS variable aliases (cs-02 naming) ---- */
:root {
  --ali-orange:    #FF6A00;
  --ali-orange-2:  #FF8833;
  --ali-orange-bg: rgba(255,106,0,.08);
  --ali-g01: #191A1A;
  --ali-g02: #555555;
  --ali-g03: #888888;
  --ali-g04: #CCCCCC;
  --ali-g05: #ECEBEB;
  --ali-g06: #FAFAFA;
  --ali-green: #0E8A16;
  --ali-blue:  #0066CC;
  --ali-r-sm: 4px;
  --ali-r-md: 8px;
  --ali-r-lg: 16px;
}

/* ---- Badge system ---- */
.badge {
  font-size: 10px; padding: 2px 7px; border-radius: var(--r-sm);
  font-weight: 600; font-family: 'Open Sans', sans-serif;
  display: inline-flex; align-items: center; gap: 3px;
}
.badge-ta  { background: #FFF3E0; color: #E65100; border: 1px solid #FFCC80; }
.badge-vs  { background: #FFF2E8; color: var(--orange-01); border: 1px solid var(--orange-03); }
.badge-green { background: #EDF7EE; color: var(--ali-green); border: 1px solid #C8E6CA; }
.badge-rts { background: #EDF7EE; color: var(--ali-green); border: 1px solid #C8E6CA; }
.badge-nrts { background: var(--grey-06); color: var(--grey-02); border: 1px solid var(--grey-04); }

/* Mini badges (for product cards) */
.mini-badge { font-size: 9px; padding: 1px 5px; border-radius: 2px; font-family: 'Open Sans', sans-serif; font-weight: 600; }

/* ---- Buttons (cs-02 naming) ---- */
.btn-ali-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ali-orange); color: #fff; border: none;
  border-radius: 999px; padding: 8px 20px;
  font-family: 'Open Sans', sans-serif; font-size: 13px; font-weight: 700;
  cursor: pointer; text-align: center; transition: background .15s;
}
.btn-ali-primary:hover { background: #e05e00; }

.btn-ali-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ali-orange);
  border: 1.5px solid var(--ali-orange); border-radius: 999px;
  padding: 7px 20px; font-family: 'Open Sans', sans-serif;
  font-size: 13px; font-weight: 600; cursor: pointer; text-align: center;
  transition: all .15s;
}
.btn-ali-secondary:hover { background: var(--ali-orange-bg); }

/* ---- PDP price tier table (cs-02 style) ---- */
.pdp-price-tiers {
  background: var(--ali-orange-bg);
  border: 1px solid rgba(255,106,0,.2);
  border-radius: var(--ali-r-sm);
  overflow: hidden; margin-bottom: 12px;
}
.pdp-tier-header {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255,106,0,.12);
  padding: 6px 12px;
  font-size: 10px; font-weight: 600; color: var(--ali-g02);
}
.pdp-tier-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding: 7px 12px; font-size: 11px;
  border-top: 1px solid rgba(255,106,0,.1); align-items: center;
}
.pdp-tier-row:nth-child(even) { background: rgba(255,106,0,.04); }
.pdp-tier-row .tier-qty { color: var(--ali-g02); font-size: 12px; }
.pdp-tier-row .tier-price { font-size: 16px; font-weight: 700; color: var(--ali-orange); }
.pdp-tier-row .tier-save { font-size: 10px; color: var(--ali-green); font-weight: 600; }

/* PDP quantity calculator */
.pdp-qty-calc {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: 13px; color: var(--ali-g02);
}
.pdp-qty-calc input {
  width: 64px; border: 1px solid var(--ali-g04); border-radius: var(--ali-r-sm);
  padding: 5px 8px; text-align: center; font-size: 13px; outline: none;
}
.pdp-qty-calc input:focus { border-color: var(--ali-orange); }
.pdp-qty-total { font-weight: 700; color: var(--ali-g01); font-size: 15px; }
.pdp-qty-save  { font-size: 11px; color: var(--ali-green); font-weight: 600; }

/* PDP supplier card (cs-02 sidebar style) */
.pdp-supplier-card { margin-bottom: 16px; }
.pdp-supplier-name { font-size: 13px; font-weight: 700; color: var(--orange-01); margin-bottom: 4px; }
.pdp-supplier-meta { font-size: 11px; color: var(--ali-g02); margin-bottom: 10px; }
.pdp-supplier-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pdp-stat { background: #fff; border: 1px solid var(--ali-g05); border-radius: var(--ali-r-sm); padding: 7px 8px; text-align: center; }
.pdp-stat-val { font-size: 15px; font-weight: 700; color: var(--ali-g01); }
.pdp-stat-label { font-size: 9px; color: var(--ali-g03); margin-top: 1px; }

/* ---- Search sidebar (cs-02 layout) ---- */
.search-layout-cs {
  display: grid; grid-template-columns: 220px 1fr;
  background: #fff; font-family: 'Open Sans', sans-serif;
}
.search-sidebar {
  background: var(--ali-g06); border-right: 1px solid var(--ali-g05);
  padding: 20px 16px;
}
.sidebar-filter-group { margin-bottom: 18px; }
.sidebar-filter-title {
  font-size: 12px; font-weight: 700; color: var(--ali-g01);
  margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--ali-g05);
}
.sidebar-filter-option {
  display: flex; align-items: center; gap: 7px; margin-bottom: 6px;
  font-size: 12px; color: var(--ali-g02); cursor: pointer;
}
.sidebar-check {
  width: 13px; height: 13px; border: 1.5px solid var(--ali-g04);
  border-radius: 2px; background: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.sidebar-check.checked {
  background: var(--ali-orange); border-color: var(--ali-orange);
}
.sidebar-check.checked::after {
  content: ''; width: 6px; height: 4px;
  border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.sidebar-range { display: flex; gap: 6px; align-items: center; margin-top: 6px; }
.sidebar-range input {
  width: 64px; border: 1px solid var(--ali-g04); border-radius: var(--ali-r-sm);
  padding: 4px 6px; font-size: 11px; outline: none;
}
.sidebar-range input:focus { border-color: var(--ali-orange); }
.sidebar-range-sep { font-size: 11px; color: var(--ali-g03); }

/* Sort bar (cs-02 style) */
.search-sort-row {
  display: flex; gap: 8px; align-items: center; margin-bottom: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--ali-g05);
}
.sort-row-label { font-size: 12px; color: var(--ali-g02); }
.sort-row-btn {
  font-size: 12px; padding: 4px 12px; border: 1px solid var(--ali-g04);
  border-radius: 3px; background: #fff; cursor: pointer;
  font-family: 'Open Sans', sans-serif; color: var(--ali-g02);
  transition: all .15s;
}
.sort-row-btn:hover { border-color: var(--ali-orange); color: var(--ali-orange); }
.sort-row-btn.active {
  border-color: var(--ali-orange); color: var(--ali-orange);
  background: var(--ali-orange-bg);
}
.sort-row-count { margin-left: auto; font-size: 12px; color: var(--ali-g03); }

/* Active search tags (cs-02 style) */
.active-search-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.active-tag {
  font-size: 11px; padding: 3px 10px; border-radius: 2px;
  background: var(--ali-orange-bg); color: var(--ali-orange);
  border: 1px solid rgba(255,106,0,.2); cursor: pointer;
  transition: background .15s;
}
.active-tag:hover { background: rgba(255,106,0,.16); }

/* ---- Onboarding (cs-02 progress style) ---- */
.onboard-progress-cs { display: flex; gap: 0; margin-bottom: 24px; }
.progress-step-cs { flex: 1; text-align: center; position: relative; }
.progress-step-cs::before {
  content: ''; position: absolute; top: 11px; left: 50%; right: -50%;
  height: 2px; background: var(--ali-g05);
}
.progress-step-cs:last-child::before { display: none; }
.progress-dot-cs {
  width: 22px; height: 22px; border-radius: 50%; background: var(--ali-g05);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--ali-g03); margin: 0 auto 4px; position: relative; z-index: 1;
}
.progress-dot-cs.done  { background: var(--ali-orange); color: #fff; }
.progress-dot-cs.active { background: var(--ali-g01); color: #fff; }
.progress-label-cs { font-size: 9px; color: var(--ali-g03); }

/* Social auth buttons (cs-02 style) */
.social-auth-btn {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--ali-g05); border-radius: var(--ali-r-sm);
  padding: 10px 14px; margin-bottom: 8px; font-size: 13px;
  font-family: 'Open Sans', sans-serif; color: var(--ali-g01);
  cursor: pointer; background: #fff; transition: border-color .15s;
}
.social-auth-btn:hover { border-color: var(--ali-orange); }
.social-auth-icon {
  width: 20px; height: 20px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.social-auth-icon.google { background: #fff; border: 1px solid #ddd; color: #EA4335; }
.social-auth-icon.apple  { background: #000; color: #fff; }
.social-auth-icon.meta   { background: #1877F2; color: #fff; }
.or-line {
  display: flex; align-items: center; gap: 10px; font-size: 11px;
  color: var(--ali-g03); margin: 12px 0;
}
.or-line::before, .or-line::after {
  content: ''; flex: 1; height: 1px; background: var(--ali-g05);
}

/* ============================================================
   Search filter drawer — additional classes
   ============================================================ */

/* Filter section accordion (search drawer) */
.filter-section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; cursor: pointer; font-size: 14px;
  font-weight: 700; color: var(--grey-01);
  background: none; border: none; width: 100%; text-align: left;
  border-bottom: 1px solid var(--grey-05);
}
.filter-section-body { padding-bottom: 16px; }
.accordion-caret { font-size: 12px; color: var(--grey-03); transition: transform .2s; }

/* Filter labels (inside drawer sections) */
.filter-label {
  font-size: 12px; font-weight: 600; color: var(--grey-02);
  margin-bottom: 8px; margin-top: 12px;
}

/* Filter supplier badges (TA, Verified chips inside drawer) */
.filter-supplier-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; cursor: pointer; transition: all .15s;
  border: 1.5px solid var(--grey-04); background: white; color: var(--grey-01);
}
.filter-supplier-badge:hover { border-color: var(--orange-01); }
.filter-supplier-badge.ta { border-color: #FFCC80; background: #FFF3E0; color: #E65100; }
.filter-supplier-badge.verified { border-color: var(--orange-03); background: #FFF2E8; color: var(--orange-01); }

/* Price histogram */
.filter-price-hist {
  height: 56px; background: var(--grey-06); border-radius: 4px;
  margin-bottom: 10px; display: flex; align-items: flex-end;
  gap: 2px; padding: 6px 6px 0; overflow: hidden;
}
.hist-bar { flex: 1; background: var(--grey-04); border-radius: 2px 2px 0 0; transition: background .15s; }
.hist-bar:hover { background: var(--orange-01); }

/* Price range inputs */
.filter-range-inputs { display: flex; align-items: flex-end; gap: 8px; }

/* Checkbox filter list */
.filter-checkbox-list { display: flex; flex-direction: column; gap: 6px; }
.filter-checkbox-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--grey-02); cursor: pointer;
}
.filter-checkbox-item input[type="checkbox"] { accent-color: var(--orange-01); width: 14px; height: 14px; }
.filter-checkbox-count { margin-left: auto; font-size: 11px; color: var(--grey-03); }

/* Form inputs (search drawer) */
.form-select {
  border: 1.5px solid var(--grey-04); border-radius: var(--r-sm);
  padding: 7px 28px 7px 10px; font-size: 13px; color: var(--grey-01);
  background: white; cursor: pointer; width: 100%; outline: none;
  appearance: none;
}
.form-select:focus { border-color: var(--orange-01); }
.form-input {
  width: 100%; border: 1.5px solid var(--grey-04); border-radius: var(--r-sm);
  padding: 8px 12px; font-size: 13px; color: var(--grey-01); outline: none;
}
.form-input:focus { border-color: var(--orange-01); }

/* Inline promo banner in search grid */
.inline-promo {
  grid-column: 1 / -1; background: var(--grey-01);
  border-radius: 16px; padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between; color: white;
}
.inline-promo-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.inline-promo-title span { color: var(--orange-01); }
.inline-promo-sub { font-size: 13px; color: rgba(255,255,255,.65); }
.inline-promo-btn {
  background: var(--orange-01); color: white; border: none;
  border-radius: var(--r-pill); padding: 10px 22px; font-size: 13px;
  font-weight: 700; cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background .15s;
}
.inline-promo-btn:hover { background: #e05e00; }

/* ============================================================
   Supplier result card (search/suppliers tab)
   ============================================================ */
.supplier-result {
  border: 1px solid var(--grey-05); border-radius: var(--r-md);
  background: white; overflow: hidden;
  display: grid; grid-template-columns: 300px 1fr; transition: box-shadow .2s;
}
.supplier-result:hover { box-shadow: var(--shadow-02); }
.supplier-result-media { border-right: 1px solid var(--grey-05); }
.supplier-result-main-img { height: 200px; background: var(--grey-05); }
.supplier-result-thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--grey-05); }
.supplier-result-thumb { position: relative; aspect-ratio: 1/1; background: var(--grey-05); overflow: hidden; }
.supplier-result-info { padding: 20px; }
.supplier-verified-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--grey-02); margin-bottom: 6px;
}
.v-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-01); flex-shrink: 0; }
.supplier-name { font-size: 15px; font-weight: 700; color: var(--orange-01); margin-bottom: 12px; }
.supplier-stats-row { display: flex; gap: 16px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--grey-05); }
.supplier-stat { text-align: center; }
.supplier-stat-val { font-size: 16px; font-weight: 700; color: var(--grey-01); }
.supplier-stat-label { font-size: 10px; color: var(--grey-03); margin-top: 2px; }
.supplier-capabilities { margin-bottom: 16px; }
.supplier-capabilities-title { font-size: 12px; font-weight: 700; color: var(--grey-02); margin-bottom: 8px; }
.supplier-capabilities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; font-size: 12px; color: var(--grey-02); }
.supplier-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Page ellipsis in pagination */
.page-ellipsis {
  width: 36px; height: 36px; display: flex; align-items: center;
  justify-content: center; font-size: 13px; color: var(--grey-03);
}
