/* client_parts.css
   r63r canonical client CSS structure.
   This file replaces active legacy client guard/reference links.
   Source files are still present in project for rollback, but index.php now loads this canonical module.
*/

/* missing source: client_parts_reference_r63m.css */


/* ===== merged from client_parts_final_r63q.css ===== */
/* r63q — parts final audit polish.
   Base: uploaded ALL_NEW.zip, detected asset version r63o.
   Scope: #parts / .parts-reference-r61 only.
   Purpose: final layer loaded after old parts_manual/parts_entry/client_mobile rules. */

/* Shell */
body #app .parts-reference-r61{
  --parts-orange:#ff5a00;
  --parts-orange2:#ff7a00;
  --parts-dark:#10131a;
  --parts-text:#10131a;
  --parts-muted:#697080;
  --parts-soft:#f5f6f8;
  --parts-line:rgba(15,23,42,.07);
  width:100% !important;
  max-width:430px !important;
  margin:0 auto !important;
  padding:12px 12px calc(var(--bottom-nav-h,72px) + env(safe-area-inset-bottom,0px) + 16px) !important;
  background:#f5f6f8 !important;
  color:#10131a !important;
  overflow-x:hidden !important;
  isolation:isolate !important;
}

body #app .parts-reference-r61 *,
body #app .parts-reference-r61 *::before,
body #app .parts-reference-r61 *::after{
  box-sizing:border-box !important;
}

body #app .parts-reference-r61 .container,
body #app .parts-reference-r61 .parts-reference-r61-container,
body #app .parts-reference-r61 .spa-content,
body #app .parts-reference-r61 .parts-reference-r61-content{
  width:100% !important;
  max-width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  background:transparent !important;
  overflow:visible !important;
}

/* Hero: final override after old page styles */
body #app .parts-reference-r61 #hero-parts,
body #app .parts-reference-r61 .spa-page-hero,
body #app .parts-reference-r61 .spa-page-hero--catalog{
  position:relative !important;
  margin:0 0 12px !important;
  border:0 !important;
  border-radius:22px !important;
  overflow:hidden !important;
  background:
    radial-gradient(circle at 92% 5%, rgba(255,90,0,.35) 0 0, rgba(255,90,0,.35) 54px, transparent 56px),
    linear-gradient(135deg,#10131a 0%,#1f2937 64%,#ff5a00 155%) !important;
  color:#fff !important;
  box-shadow:0 18px 34px rgba(15,23,42,.12) !important;
  transform:none !important;
  z-index:1 !important;
}

body #app .parts-reference-r61 .spa-hero-inner{
  min-height:116px !important;
  padding:18px 16px !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:end !important;
  gap:14px !important;
  position:relative !important;
  z-index:2 !important;
}

body #app .parts-reference-r61 .spa-hero-left,
body #app .parts-reference-r61 .spa-hero-main{
  min-width:0 !important;
}

body #app .parts-reference-r61 .spa-hero-icon{
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  border:0 !important;
  border-radius:18px !important;
  background:#fff !important;
  color:#ff5a00 !important;
  box-shadow:0 12px 24px rgba(0,0,0,.16) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:22px !important;
}

body #app .parts-reference-r61 .spa-hero-title{
  margin:0 !important;
  color:#fff !important;
  font-size:30px !important;
  line-height:1 !important;
  font-weight:950 !important;
  letter-spacing:-.055em !important;
}

body #app .parts-reference-r61 .spa-hero-label,
body #app .parts-reference-r61 .spa-hero-sub{
  color:rgba(255,255,255,.78) !important;
  font-size:12.5px !important;
  line-height:1.35 !important;
  font-weight:750 !important;
}

body #app .parts-reference-r61 .spa-hero-stats{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px !important;
  min-width:140px !important;
  max-width:180px !important;
}

body #app .parts-reference-r61 .spa-hero-stat{
  min-height:46px !important;
  padding:7px !important;
  border-radius:14px !important;
  background:rgba(255,255,255,.12) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  text-align:center !important;
}

body #app .parts-reference-r61 .spa-hero-stat-num{
  color:#fff !important;
  display:block !important;
  font-size:17px !important;
  line-height:1 !important;
  font-weight:950 !important;
}

body #app .parts-reference-r61 .spa-hero-stat-lbl{
  display:block !important;
  margin-top:4px !important;
  color:rgba(255,255,255,.72) !important;
  font-size:9px !important;
  line-height:1 !important;
  font-weight:800 !important;
}

body #app .parts-reference-r61 .spa-hero-stat-sep{
  display:none !important;
}

body #app .parts-reference-r61 .spa-hero-actions{
  grid-column:1 / -1 !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:8px !important;
  margin-top:12px !important;
}

body #app .parts-reference-r61 .spa-hero-actions .btn,
body #app .parts-reference-r61 .spa-hero-actions button{
  min-height:40px !important;
  border-radius:13px !important;
  padding:0 10px !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:950 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-shadow:none !important;
}

/* Tools */
body #app .parts-reference-r61 #parts-sticky-tools,
body #app .parts-reference-r61 .parts-sticky-tools,
body #app .parts-reference-r61 .catalog-tools{
  position:relative !important;
  top:auto !important;
  z-index:2 !important;
  margin:0 0 12px !important;
  padding:10px !important;
  border-radius:18px !important;
  background:#fff !important;
  border:1px solid rgba(15,23,42,.06) !important;
  box-shadow:0 10px 22px rgba(15,23,42,.045) !important;
  overflow:hidden !important;
}

body #app .parts-reference-r61 .catalog-tools__actions,
body #app .parts-reference-r61 .mo-filter-tabs,
body #app .parts-reference-r61 .parts-filter-bar{
  display:flex !important;
  gap:8px !important;
  overflow-x:auto !important;
  padding:0 0 8px !important;
  margin:0 !important;
  scrollbar-width:none !important;
}

body #app .parts-reference-r61 .catalog-tools__actions::-webkit-scrollbar,
body #app .parts-reference-r61 .mo-filter-tabs::-webkit-scrollbar,
body #app .parts-reference-r61 .parts-filter-bar::-webkit-scrollbar{
  display:none !important;
}

body #app .parts-reference-r61 .catalog-tool-btn,
body #app .parts-reference-r61 .mo-filter-tab{
  flex:0 0 auto !important;
  height:36px !important;
  min-width:auto !important;
  padding:0 12px !important;
  border-radius:999px !important;
  border:1px solid rgba(15,23,42,.08) !important;
  background:#fff !important;
  color:#68707d !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:950 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
  box-shadow:none !important;
}

body #app .parts-reference-r61 .mo-filter-tab.active,
body #app .parts-reference-r61 .catalog-tool-btn.active{
  background:#10131a !important;
  border-color:#10131a !important;
  color:#fff !important;
}

body #app .parts-reference-r61 .mo-filter-cnt{
  min-width:18px !important;
  height:18px !important;
  border-radius:999px !important;
  background:#f0f2f5 !important;
  color:#68707d !important;
  font-size:10px !important;
  line-height:18px !important;
  text-align:center !important;
  font-weight:950 !important;
}

body #app .parts-reference-r61 .catalog-tools__search,
body #app .parts-reference-r61 .mo-search-action{
  margin-top:8px !important;
}

body #app .parts-reference-r61 .mo-search-toggle{
  width:100% !important;
  min-height:46px !important;
  border:1px solid rgba(15,23,42,.07) !important;
  border-radius:15px !important;
  background:#f8fafc !important;
  color:#7a818d !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
  padding:0 12px !important;
  font-size:13px !important;
  font-weight:850 !important;
}

/* Categories */
body #app .parts-reference-r61 .parts-section-group{
  margin:0 0 12px !important;
}

body #app .parts-reference-r61 .parts-categories-grid{
  width:100% !important;
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:10px !important;
}

body #app .parts-reference-r61 .parts-category-card{
  position:relative !important;
  width:100% !important;
  min-width:0 !important;
  padding:12px !important;
  border-radius:20px !important;
  border:1px solid rgba(15,23,42,.06) !important;
  background:#fff !important;
  color:#10131a !important;
  box-shadow:0 12px 24px rgba(15,23,42,.05) !important;
  overflow:hidden !important;
  transform:none !important;
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  text-align:left !important;
}

body #app .parts-reference-r61 .parts-category-card::before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  top:0 !important;
  bottom:0 !important;
  width:4px !important;
  background:linear-gradient(180deg,#ff7a00,#ff5a00) !important;
}

body #app .parts-reference-r61 .parts-category-card__top{
  display:grid !important;
  grid-template-columns:46px minmax(0,1fr) !important;
  gap:10px !important;
  align-items:center !important;
  margin:0 !important;
}

body #app .parts-reference-r61 .parts-category-card__icon{
  width:46px !important;
  height:46px !important;
  border-radius:16px !important;
  background:#fff2e8 !important;
  color:#ff5a00 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:22px !important;
}

body #app .parts-reference-r61 .parts-category-card__label{
  margin:0 0 4px !important;
  color:#8a919d !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
}

body #app .parts-reference-r61 .parts-category-card__title{
  color:#10131a !important;
  font-size:16px !important;
  line-height:1.12 !important;
  font-weight:950 !important;
  letter-spacing:-.025em !important;
}

body #app .parts-reference-r61 .parts-category-card__desc{
  margin:0 !important;
  color:#68707d !important;
  font-size:12.2px !important;
  line-height:1.35 !important;
  font-weight:750 !important;
}

body #app .parts-reference-r61 .parts-category-card__stats{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:6px !important;
  margin:0 !important;
}

body #app .parts-reference-r61 .parts-category-card__stats span{
  min-height:24px !important;
  padding:0 8px !important;
  border-radius:999px !important;
  background:#f3f5f7 !important;
  color:#4f5867 !important;
  font-size:10.5px !important;
  line-height:24px !important;
  font-weight:850 !important;
}

/* Category summary */
body #app .parts-reference-r61 .parts-summary-card,
body #app .parts-reference-r61 .svc-active-category--page{
  margin:0 0 12px !important;
  padding:12px !important;
  border-radius:22px !important;
  border:1px solid rgba(15,23,42,.06) !important;
  background:#fff !important;
  box-shadow:0 12px 24px rgba(15,23,42,.05) !important;
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:10px !important;
  color:#10131a !important;
}

/* Product grid */
body #app .parts-reference-r61 .parts-grid-v2,
body #app .parts-reference-r61 .parts-grid-v2--catalog{
  width:100% !important;
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:10px !important;
}

/* Product card */
body #app .parts-reference-r61 .part-card-v2,
body #app .parts-reference-r61 .part-card-v2--shoplike{
  width:100% !important;
  min-width:0 !important;
  padding:10px !important;
  border-radius:20px !important;
  border:1px solid rgba(15,23,42,.06) !important;
  background:#fff !important;
  color:#10131a !important;
  box-shadow:0 12px 24px rgba(15,23,42,.05) !important;
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  overflow:hidden !important;
  transform:none !important;
}

body #app .parts-reference-r61 .part-card-v2-media-wrap{
  position:relative !important;
  width:100% !important;
  aspect-ratio:16 / 10 !important;
  min-height:0 !important;
  margin:0 !important;
  border-radius:16px !important;
  background:#eef1f5 !important;
  overflow:hidden !important;
}

body #app .parts-reference-r61 .part-card-v2-media{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
}

body #app .parts-reference-r61 .part-card-v2-cat{
  position:absolute !important;
  left:8px !important;
  top:8px !important;
  min-height:24px !important;
  padding:0 8px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.94) !important;
  color:#10131a !important;
  font-size:10px !important;
  line-height:24px !important;
  font-weight:950 !important;
  backdrop-filter:blur(8px) !important;
}

body #app .parts-reference-r61 .part-card-v2-head{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  gap:8px !important;
  align-items:start !important;
}

body #app .parts-reference-r61 .part-card-v2-info{
  min-width:0 !important;
}

body #app .parts-reference-r61 .part-card-v2-name{
  color:#10131a !important;
  font-size:15px !important;
  line-height:1.15 !important;
  font-weight:950 !important;
  letter-spacing:-.025em !important;
  overflow:hidden !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
}

body #app .parts-reference-r61 .part-card-v2-sku,
body #app .parts-reference-r61 .part-card-v2-desc{
  color:#68707d !important;
  font-size:11.5px !important;
  line-height:1.32 !important;
  font-weight:750 !important;
}

body #app .parts-reference-r61 .part-stock-badge{
  min-height:24px !important;
  padding:0 8px !important;
  border-radius:999px !important;
  font-size:10px !important;
  line-height:24px !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}

body #app .parts-reference-r61 .part-stock-badge.in{
  background:#e8f8ef !important;
  color:#148331 !important;
}

body #app .parts-reference-r61 .part-stock-badge.order{
  background:#fff3df !important;
  color:#e46800 !important;
}

body #app .parts-reference-r61 .part-card-v2-meta{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:10px !important;
  margin:0 !important;
  padding:0 !important;
}

body #app .parts-reference-r61 .part-card-v2-price{
  color:#10131a !important;
  font-size:18px !important;
  line-height:1 !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}

body #app .parts-reference-r61 .part-card-v2-rating,
body #app .parts-reference-r61 .part-card-v2-shop{
  color:#8a919d !important;
  font-size:10.5px !important;
  line-height:1.2 !important;
  font-weight:850 !important;
  text-align:right !important;
}

body #app .parts-reference-r61 .part-card-v2-chip,
body #app .parts-reference-r61 .part-maker-chip,
body #app .parts-reference-r61 .part-fitment-chip,
body #app .parts-reference-r61 .part-cross-chip,
body #app .parts-reference-r61 .part-supplier-chip,
body #app .parts-reference-r61 .part-fitment-vin-chip{
  display:inline-flex !important;
  align-items:center !important;
  min-height:24px !important;
  max-width:100% !important;
  padding:0 8px !important;
  border-radius:999px !important;
  background:#f3f5f7 !important;
  color:#4f5867 !important;
  font-size:10.5px !important;
  line-height:24px !important;
  font-weight:850 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

body #app .parts-reference-r61 .part-card-v2-fitments,
body #app .parts-reference-r61 .part-card-v2-makers,
body #app .parts-reference-r61 .part-card-v2-crosses,
body #app .parts-reference-r61 .part-card-v2-suppliers{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:5px !important;
  margin:0 !important;
  min-height:0 !important;
}

/* Buttons */
body #app .parts-reference-r61 .part-card-v2-foot{
  display:grid !important;
  grid-template-columns:40px minmax(0,1fr) minmax(0,1fr) 40px !important;
  gap:7px !important;
  margin-top:auto !important;
  width:100% !important;
}

body #app .parts-reference-r61 .part-card-v2-foot .btn,
body #app .parts-reference-r61 .part-card-v2-foot button{
  min-width:0 !important;
  width:100% !important;
  min-height:40px !important;
  height:40px !important;
  padding:0 8px !important;
  border-radius:12px !important;
  border:1px solid rgba(15,23,42,.08) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:950 !important;
  text-decoration:none !important;
  box-shadow:none !important;
  overflow:hidden !important;
}

body #app .parts-reference-r61 .part-card-v2-foot .btn-primary{
  background:#ff5a00 !important;
  border-color:#ff5a00 !important;
  color:#fff !important;
}

body #app .parts-reference-r61 .part-card-v2-foot .btn-outline{
  background:#fff !important;
  color:#10131a !important;
}

/* Empty */
body #app .parts-reference-r61 .parts-empty-v2,
body #app .parts-reference-r61 .empty-state,
body #app .parts-reference-r61 .card:has(.parts-empty-v2-ico){
  border-radius:20px !important;
  background:#fff !important;
  border:1px solid rgba(15,23,42,.06) !important;
  box-shadow:0 12px 24px rgba(15,23,42,.045) !important;
  padding:24px 16px !important;
  text-align:center !important;
  color:#68707d !important;
}

/* Mobile narrow */
@media(max-width:360px){
  body #app .parts-reference-r61{
    padding-left:10px !important;
    padding-right:10px !important;
  }

  body #app .parts-reference-r61 .spa-hero-title{
    font-size:27px !important;
  }

  body #app .parts-reference-r61 .spa-hero-stats{
    display:none !important;
  }

  body #app .parts-reference-r61 .part-card-v2-foot{
    grid-template-columns:38px 1fr 1fr 38px !important;
    gap:5px !important;
  }

  body #app .parts-reference-r61 .part-card-v2-foot .btn,
  body #app .parts-reference-r61 .part-card-v2-foot button{
    min-height:38px !important;
    height:38px !important;
    font-size:11px !important;
  }
}

/* Tablet */
@media(min-width:768px){
  body #app .parts-reference-r61{
    max-width:760px !important;
    padding:14px 14px calc(var(--bottom-nav-h,78px) + 16px) !important;
  }

  body #app .parts-reference-r61 .spa-hero-inner{
    min-height:126px !important;
    padding:22px !important;
  }

  body #app .parts-reference-r61 .spa-hero-title{
    font-size:36px !important;
  }

  body #app .parts-reference-r61 .spa-hero-stats{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    max-width:none !important;
    min-width:420px !important;
  }

  body #app .parts-reference-r61 .parts-categories-grid,
  body #app .parts-reference-r61 .parts-grid-v2,
  body #app .parts-reference-r61 .parts-grid-v2--catalog{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }

  body #app .parts-reference-r61 .parts-summary-card,
  body #app .parts-reference-r61 .svc-active-category--page{
    grid-template-columns:minmax(0,1fr) repeat(3,96px) !important;
    align-items:center !important;
  }
}

/* Desktop */
@media(min-width:1024px){
  body #app .parts-reference-r61{
    max-width:1120px !important;
    padding:18px 18px 28px !important;
  }

  body #app .parts-reference-r61 .parts-categories-grid,
  body #app .parts-reference-r61 .parts-grid-v2,
  body #app .parts-reference-r61 .parts-grid-v2--catalog{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:12px !important;
  }

  body #app .parts-reference-r61 .part-card-v2-media-wrap{
    aspect-ratio:16 / 9 !important;
  }
}

@media(min-width:1320px){
  body #app .parts-reference-r61{
    max-width:1180px !important;
  }
}
