:root{
  --black:#050505;
  --white:#fff;
  --line:#e5e5e5;
  --bg:#fbfbfb;
  --muted:#666;
}

*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:#111}
a{text-decoration:none;color:inherit}

.top-strip{background:#050505;color:#fff;font-size:12px}
.top-strip-inner{max-width:1320px;margin:auto;padding:8px 20px;display:flex;gap:28px;justify-content:center;flex-wrap:wrap}

.header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.header-inner{max-width:1320px;margin:auto;display:flex;align-items:center;gap:22px;padding:14px 20px}
.logo{height:58px;display:block}

.search{flex:1;display:flex;min-width:280px;border:1px solid #ccc;border-radius:999px;overflow:hidden;background:#fff}
.search input{width:100%;padding:13px 16px;border:0;outline:0}
.search button{border:0;background:#000;color:#fff;padding:0 22px;font-weight:800;cursor:pointer}

.nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:14px;font-weight:700}
.nav a{padding:8px 0}
.register-link{background:#000;color:#fff;border-radius:999px;padding:9px 16px!important}
.cart-link{border:1px solid #000;border-radius:999px;padding:9px 16px!important}

.nav-dropdown{position:relative}
.nav-drop-menu{
  position:absolute;
  top:34px;
  left:-12px;
  width:230px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:10px;
  box-shadow:0 18px 40px rgba(0,0,0,.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:.18s ease;
}
.nav-dropdown:hover .nav-drop-menu{opacity:1;visibility:visible;transform:translateY(0)}
.nav-drop-menu a{display:block;padding:10px 12px;border-radius:10px;color:#111}
.nav-drop-menu a:hover{background:#000;color:#fff}

.products-page{max-width:1320px;margin:auto;padding:34px 20px}
.category-title{background:#fff;border:1px solid var(--line);border-radius:26px;padding:32px;margin-bottom:22px}
.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:900;margin:0 0 10px}
.category-title h1{font-size:42px;margin:0 0 8px;letter-spacing:-1px}
.category-title p:last-child{color:var(--muted);margin:0}

.products-layout{display:grid;grid-template-columns:280px 1fr;gap:22px;align-items:start}

.filters{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;position:sticky;top:102px}
.filters h3{margin:0 0 18px;font-size:22px}
.filter-box{border-top:1px solid #eee;padding-top:16px;margin-top:16px}
.filter-box h4{margin:0 0 10px;font-size:15px}
.filter-box label{display:block;margin:9px 0;color:#333;font-size:14px}
.filter-box input{margin-right:8px}

.filter-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:18px}
.apply-btn,.clear-btn{
  width:100%;
  border-radius:999px;
  padding:12px;
  font-weight:800;
  cursor:pointer;
}
.apply-btn{background:#000;color:#fff;border:1px solid #000}
.clear-btn{background:#fff;color:#000;border:1px solid #000}

.products-content{min-width:0}
.products-toolbar{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:14px;
}
.products-toolbar b{display:block}
.products-toolbar span{display:block;color:#666;font-size:13px;margin-top:3px}
.products-toolbar select{padding:10px 12px;border:1px solid #ccc;border-radius:999px;background:#fff}

.product-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.product-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  transition:.22s ease;
  min-height:220px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.product-card:hover{
  border-color:#000;
  transform:translateY(-4px);
  box-shadow:0 16px 34px rgba(0,0,0,.10);
}

.product-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}

.part-no{
  font-size:18px;
  font-weight:900;
  line-height:1.25;
  word-break:break-word;
}

.badge{
  display:inline-block;
  border-radius:999px;
  padding:6px 10px;
  font-weight:900;
  font-size:11px;
  white-space:nowrap;
}

.in-stock{background:#e9f8ee;color:#087a25}
.out-of-stock{background:#f1f1f1;color:#777}

.product-desc{
  color:#444;
  line-height:1.45;
  font-size:14px;
  margin:14px 0;
}

.product-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  border-top:1px solid #eee;
  padding-top:14px;
}

.meta-item small{
  display:block;
  color:#777;
  font-size:11px;
  margin-bottom:4px;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.meta-item b{
  display:block;
  font-size:13px;
  line-height:1.35;
}

.card-actions{
  margin-top:16px;
  display:flex;
  gap:8px;
}

.card-actions a{
  flex:1;
  text-align:center;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:10px;
  font-weight:800;
  font-size:13px;
}

.card-actions a.secondary{
  background:#fff;
  color:#000;
  border:1px solid #000;
}

.no-results{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:30px;
  text-align:center;
  color:#666;
}

.pagination{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:18px}
.pagination button{
  border:1px solid #ccc;
  background:#fff;
  padding:9px 13px;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
}
.pagination button.active{background:#000;color:#fff;border-color:#000}

@media(max-width:1100px){
  .product-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:980px){
  .header-inner{display:block}
  .search{margin:14px 0}
  .products-layout{grid-template-columns:1fr}
  .filters{position:static}
}

@media(max-width:620px){
  .category-title h1{font-size:30px}
  .products-toolbar{display:block}
  .products-toolbar select{margin-top:12px;width:100%}
  .product-grid{grid-template-columns:1fr}
}


/* Product grid black/white invert hover */
.product-card{
  color:#000;
}

.product-card .part-no,
.product-card .product-desc,
.product-card .meta-item small,
.product-card .meta-item b{
  transition:color .22s ease;
}

.product-card:hover{
  background:#000;
  color:#fff;
  border-color:#000;
  box-shadow:0 18px 38px rgba(0,0,0,.20);
}

.product-card:hover .part-no,
.product-card:hover .product-desc,
.product-card:hover .meta-item small,
.product-card:hover .meta-item b{
  color:#fff;
}

.product-card:hover .product-meta{
  border-top-color:#333;
}

.product-card:hover .card-actions a{
  background:#fff;
  color:#000;
  border-color:#fff;
}

/* Stock colors */
.badge.in-stock{
  background:#0a8f35;
  color:#fff;
}

.badge.out-of-stock{
  background:#d90429;
  color:#fff;
}

/* Single action button after RFQ removal */
.card-actions a{
  flex:0 0 100%;
}


/* Product detail page */
.detail-layout{
  display:block;
}

.product-detail-card{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:22px;
  align-items:start;
}

.detail-main,
.cart-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  padding:28px;
}

.detail-topline{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:16px;
}

.detail-category{
  border:1px solid #ddd;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:900;
}

.detail-main h1{
  font-size:44px;
  line-height:1.05;
  margin:0 0 12px;
  letter-spacing:-1px;
}

.detail-desc{
  font-size:17px;
  color:#444;
  line-height:1.55;
  margin:0 0 22px;
}

.detail-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:20px 0 26px;
}

.detail-grid div,
.price-slabs div{
  border:1px solid #eee;
  border-radius:16px;
  padding:14px;
  background:#fafafa;
}

.detail-grid small,
.price-slabs small{
  display:block;
  color:#777;
  text-transform:uppercase;
  letter-spacing:.5px;
  font-size:11px;
  margin-bottom:6px;
}

.detail-grid b,
.price-slabs b{
  display:block;
  font-size:14px;
  line-height:1.35;
}

.price-slabs{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
  margin-bottom:24px;
}

.detail-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.cart-box{
  position:sticky;
  top:102px;
}

.cart-box h2{
  margin:0 0 8px;
}

.cart-box p{
  color:#666;
  line-height:1.45;
}

.cart-box label{
  display:block;
  font-weight:900;
  margin:18px 0 8px;
}

.cart-box input{
  width:100%;
  border:1px solid #ccc;
  border-radius:14px;
  padding:14px;
  font-size:16px;
  outline:0;
}

.cart-box button{
  width:100%;
  margin-top:14px;
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:14px;
  font-weight:900;
  cursor:pointer;
}

.cart-message{
  margin-top:14px;
  color:#0a8f35;
  font-weight:900;
}

@media(max-width:980px){
  .product-detail-card{
    grid-template-columns:1fr;
  }

  .cart-box{
    position:static;
  }

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

  .price-slabs{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:620px){
  .detail-main h1{
    font-size:32px;
  }

  .detail-grid,
  .price-slabs{
    grid-template-columns:1fr;
  }
}


/* Better product detail page */
.detail-hero{
  display:grid;
  grid-template-columns:1fr 220px;
  gap:24px;
  align-items:center;
  background:linear-gradient(135deg,#fff,#f6f6f6);
  border:1px solid #eee;
  border-radius:24px;
  padding:22px;
  margin-bottom:22px;
}

.part-visual{
  min-height:180px;
  border-radius:22px;
  background:#000;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px;
  font-size:20px;
  font-weight:900;
  letter-spacing:-.5px;
}

.price-ranges{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-bottom:24px;
}

.price-ranges div{
  border:1px solid #eee;
  border-radius:16px;
  padding:16px;
  background:#fafafa;
}

.price-ranges small{
  display:block;
  color:#777;
  text-transform:uppercase;
  letter-spacing:.5px;
  font-size:11px;
  margin-bottom:6px;
}

.price-ranges b{
  display:block;
  font-size:17px;
  line-height:1.35;
}

.cart-box{
  box-shadow:0 18px 45px rgba(0,0,0,.08);
}

.cart-box button:hover{
  transform:translateY(-2px);
}

/* Shared footer */
.footer-pro{
  background:#050505;
  color:#fff;
  margin-top:60px;
  padding:0;
}
.footer-top{
  max-width:1320px;
  margin:auto;
  padding:48px 20px 30px;
  display:grid;
  grid-template-columns:1.4fr repeat(4,1fr);
  gap:32px;
}
.footer-brand img{
  width:210px;
  max-width:100%;
  background:#fff;
  border-radius:14px;
  padding:8px;
  margin-bottom:14px;
}
.footer-pro h4{
  margin:0 0 15px;
  font-size:16px;
  letter-spacing:.4px;
}
.footer-pro a{
  display:block;
  color:#d8d8d8;
  margin:9px 0;
  font-size:14px;
}
.footer-pro a:hover{color:#fff;text-decoration:underline}
.footer-pro p{
  color:#d8d8d8;
  line-height:1.55;
  margin:7px 0;
  font-size:14px;
}
.footer-muted{max-width:330px}
.footer-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:14px;
}
.footer-badges span{
  border:1px solid #333;
  background:#111;
  color:#fff;
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  font-weight:700;
}
.footer-newsletter{
  max-width:1320px;
  margin:auto;
  padding:22px 20px;
  border-top:1px solid #222;
  border-bottom:1px solid #222;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.footer-newsletter h3{margin:0 0 6px}
.footer-newsletter form{
  display:flex;
  gap:10px;
  min-width:420px;
}
.footer-newsletter input{
  flex:1;
  padding:13px 15px;
  border-radius:999px;
  border:1px solid #333;
  background:#111;
  color:#fff;
  outline:0;
}
.footer-bottom{
  max-width:1320px;
  margin:auto;
  padding:18px 20px;
  display:flex;
  justify-content:space-between;
  gap:15px;
  flex-wrap:wrap;
  color:#aaa;
  font-size:13px;
}

@media(max-width:980px){
  .detail-hero{
    grid-template-columns:1fr;
  }
  .part-visual{
    min-height:120px;
  }
  .price-ranges{
    grid-template-columns:repeat(2,1fr);
  }
  .footer-top{grid-template-columns:repeat(2,1fr)}
  .footer-newsletter{display:block}
  .footer-newsletter form{min-width:0;margin-top:15px}
}

@media(max-width:620px){
  .price-ranges{
    grid-template-columns:1fr;
  }
  .footer-top{grid-template-columns:1fr}
  .footer-newsletter form{display:block}
  .footer-newsletter input{width:100%;margin-bottom:10px}
}


/* Improved product detail action buttons */
.detail-actions{
  display:grid;
  grid-template-columns:repeat(2, minmax(220px, 1fr));
  gap:14px;
  margin-top:22px;
}

.detail-action{
  display:flex;
  align-items:center;
  gap:14px;
  border-radius:18px;
  padding:16px;
  border:1px solid #000;
  transition:.22s ease;
}

.detail-action.primary{
  background:#000;
  color:#fff;
}

.detail-action.secondary{
  background:#fff;
  color:#000;
}

.detail-action:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(0,0,0,.15);
}

.action-icon{
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:900;
  flex:0 0 42px;
}

.detail-action.primary .action-icon{
  background:#fff;
  color:#000;
}

.detail-action.secondary .action-icon{
  background:#000;
  color:#fff;
}

.detail-action b{
  display:block;
  font-size:15px;
  margin-bottom:3px;
}

.detail-action small{
  display:block;
  opacity:.72;
  font-size:12px;
}

@media(max-width:620px){
  .detail-actions{
    grid-template-columns:1fr;
  }
}


/* Better Request Quote button */
.quote-form{
  display:flex;
  gap:12px;
  min-width:480px;
  align-items:center;
}

.quote-form input{
  flex:1;
  padding:15px 18px;
  border-radius:999px;
  border:1px solid #333;
  background:#111;
  color:#fff;
  outline:0;
  min-height:52px;
}

.quote-form input::placeholder{
  color:#9d9d9d;
}

.quote-btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:0 22px !important;
  border-radius:999px;
  background:#fff;
  color:#000 !important;
  font-weight:900;
  border:1px solid #fff;
  white-space:nowrap;
  transition:.22s ease;
  margin:0 !important;
}

.quote-btn b{
  width:28px;
  height:28px;
  border-radius:50%;
  background:#000;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  line-height:1;
}

.quote-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(255,255,255,.14);
  text-decoration:none !important;
}

@media(max-width:980px){
  .quote-form{
    min-width:0;
    margin-top:15px;
  }
}

@media(max-width:620px){
  .quote-form{
    display:block;
  }

  .quote-form input{
    width:100%;
    margin-bottom:10px;
  }

  .quote-btn{
    width:100%;
  }
}


/* Header matching reference attachment */
.header{
  background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:20;
}

.header-inner{
  max-width:1320px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:22px;
  padding:16px 34px;
}

.logo{
  height:52px;
  display:block;
}

.search{
  flex:1;
  display:flex;
  min-width:320px;
  border:1px solid #ccc;
  border-radius:999px;
  overflow:hidden;
  background:#fff;
}

.search input{
  width:100%;
  padding:13px 16px;
  border:0;
  outline:0;
}

.search button{
  border:0;
  background:#000;
  color:#fff;
  padding:0 24px;
  font-weight:800;
  cursor:pointer;
}

.nav{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
  font-size:14px;
  font-weight:800;
}

.nav a{
  padding:8px 0;
}

.register-link{
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:9px 17px!important;
}

.cart-link{
  border:1px solid #000;
  border-radius:999px;
  padding:9px 17px!important;
}

.nav-drop-menu{
  z-index:50;
}

.detail-action.primary .action-icon{
  font-size:20px;
}

.detail-action.primary:hover{
  background:#111;
}


/* Better left filters */
.filters{
  background:#fff;
  border:1px solid #e7e7e7;
  border-radius:26px;
  padding:22px;
  box-shadow:0 18px 45px rgba(0,0,0,.06);
}

.filters h3{
  font-size:24px;
  margin:0 0 18px;
  letter-spacing:-.4px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.filters h3:after{
  content:"";
  width:38px;
  height:4px;
  background:#000;
  border-radius:999px;
}

.filter-box{
  border-top:1px solid #eee;
  padding-top:18px;
  margin-top:18px;
}

.filter-box h4{
  margin:0 0 13px;
  font-size:14px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.7px;
  color:#111;
}

.filter-box label{
  display:flex;
  align-items:center;
  gap:10px;
  margin:9px 0;
  padding:9px 10px;
  border-radius:12px;
  color:#333;
  font-size:14px;
  cursor:pointer;
  transition:.18s ease;
}

.filter-box label:hover{
  background:#f5f5f5;
}

.filter-box input[type="checkbox"]{
  appearance:none;
  -webkit-appearance:none;
  width:17px;
  height:17px;
  border:1.5px solid #aaa;
  border-radius:5px;
  margin:0;
  display:inline-grid;
  place-content:center;
  cursor:pointer;
  flex:0 0 17px;
}

.filter-box input[type="checkbox"]:checked{
  background:#000;
  border-color:#000;
}

.filter-box input[type="checkbox"]:checked:after{
  content:"";
  width:5px;
  height:9px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
  margin-top:-2px;
}

.filter-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid #eee;
}

.apply-btn,
.clear-btn{
  width:100%;
  border-radius:999px;
  padding:13px 16px;
  font-weight:900;
  cursor:pointer;
  transition:.2s ease;
}

.apply-btn{
  background:#000;
  color:#fff;
  border:1px solid #000;
}

.clear-btn{
  background:#fff;
  color:#000;
  border:1px solid #000;
}

.apply-btn:hover,
.clear-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.12);
}

.clear-btn:hover{
  background:#f5f5f5;
}

/* Limit long filter lists and keep left panel clean */
#packageFilters,
#familyFilters,
#subFamilyFilters{
  max-height:220px;
  overflow:auto;
  padding-right:4px;
}

#packageFilters::-webkit-scrollbar,
#familyFilters::-webkit-scrollbar,
#subFamilyFilters::-webkit-scrollbar{
  width:6px;
}

#packageFilters::-webkit-scrollbar-thumb,
#familyFilters::-webkit-scrollbar-thumb,
#subFamilyFilters::-webkit-scrollbar-thumb{
  background:#ccc;
  border-radius:999px;
}


/* Collapsible filter UI */
.filters-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}

.filters-head h3{
  margin:0;
}

.filter-toggle-all{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.filter-toggle-all button{
  border:1px solid #000;
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:7px 10px;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
  transition:.2s ease;
}

.filter-toggle-all button:hover{
  background:#000;
  color:#fff;
}

.filter-collapsible{
  width:100%;
  background:#000;
  color:#fff;
  border:0;
  border-radius:14px;
  padding:13px 14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.7px;
  font-size:13px;
}

.filter-collapsible b{
  width:22px;
  height:22px;
  border-radius:50%;
  background:#fff;
  color:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  font-size:18px;
}

.filter-content{
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
  padding:0 2px;
}

.filter-content.open{
  margin-top:10px;
}

.filter-box{
  border-top:1px solid #eee;
  padding-top:16px;
  margin-top:16px;
}

#packageFilters.filter-content,
#familyFilters.filter-content,
#subFamilyFilters.filter-content{
  overflow:auto;
}

#packageFilters.filter-content.open,
#familyFilters.filter-content.open,
#subFamilyFilters.filter-content.open{
  max-height:220px;
}

/* Keep checkbox rows clean inside collapsible content */
.filter-content label{
  display:flex;
  align-items:center;
  gap:10px;
  margin:8px 0;
  padding:9px 10px;
  border-radius:12px;
  cursor:pointer;
}


/* Cleaner filter header */
.filters h3{
  font-size:24px;
  margin:0;
  letter-spacing:-.4px;
}

.filters h3:after{
  display:none !important;
  content:none !important;
}

.filters-head{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  margin-bottom:18px;
}

.filter-toggle-all{
  display:flex;
  gap:10px;
  width:100%;
}

.filter-toggle-all button{
  flex:1;
  border:1px solid #000;
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:10px 12px;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  transition:.2s ease;
  white-space:nowrap;
}

.filter-toggle-all button:hover{
  background:#000;
  color:#fff;
}

/* Start collapsed */
.filter-content{
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
  padding:0 2px;
}

.filter-content.open{
  margin-top:10px;
}

.filter-collapsible{
  width:100%;
  background:#000;
  color:#fff;
  border:0;
  border-radius:16px;
  padding:15px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.7px;
  font-size:13px;
}

.filter-collapsible b{
  width:26px;
  height:26px;
  border-radius:50%;
  background:#fff;
  color:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  font-size:20px;
}


/* Smart Suggestions below Add to Cart */
.smart-suggestions{
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid #eee;
}

.smart-suggestions h3{
  margin:0 0 6px;
  font-size:20px;
  letter-spacing:-.3px;
}

.smart-suggestions p{
  margin:0 0 14px;
  color:#666;
  font-size:13px;
  line-height:1.45;
}

.suggestion-list{
  display:grid;
  gap:9px;
}

.suggestion-list a{
  display:block;
  border:1px solid #e8e8e8;
  border-radius:14px;
  padding:12px;
  background:#fafafa;
  transition:.2s ease;
}

.suggestion-list a:hover{
  background:#000;
  color:#fff;
  border-color:#000;
  transform:translateY(-2px);
  text-decoration:none;
}

.suggestion-list b{
  display:block;
  font-size:13px;
  margin-bottom:4px;
}

.suggestion-list span{
  display:block;
  color:#666;
  font-size:12px;
  line-height:1.35;
}

.suggestion-list a:hover span{
  color:#ddd;
}


/* Contact links */
.contact-links{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  align-items:center;
  justify-content:center;
  padding:18px 24px;
  border-top:1px solid #222;
  font-size:13px;
}

.contact-links a,
.contact-links span{
  color:#ccc;
}

.contact-links a:hover{
  color:#fff;
}


/* Social contact icons */
.top-contact-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  vertical-align:middle;
  color:#000;
  transition:.2s ease;
}

.top-contact-icon svg{
  width:18px;
  height:18px;
}

.top-contact-icon:hover{
  transform:translateY(-2px) scale(1.08);
}

.contact-links{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  padding:18px 24px;
  border-top:1px solid #222;
}

.contact-links a{
  width:38px;
  height:38px;
  border:1px solid #444;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ccc;
  transition:.2s ease;
}

.contact-links a svg{
  width:18px;
  height:18px;
}

.contact-links a:hover{
  background:#fff;
  color:#000;
  transform:translateY(-2px);
}

.contact-links span{
  color:#bbb;
  font-size:13px;
  font-weight:700;
}


/* Remove old footer badge styling area spacing */
.footer-badges{
  display:none !important;
}

/* Fixed floating contact icons like TraceMyGPS */
.floating-social{
  position:fixed;
  right:22px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:18px;
  z-index:9999;
}

.floating-social a{
  width:56px;
  height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
  transition:.22s ease;
}

.floating-social a:hover{
  transform:translateX(-4px) scale(1.06);
}

.floating-social svg{
  width:24px;
  height:24px;
}

.float-email{
  background:#e11d2e;
}

.float-linkedin{
  background:#0a66c2;
}

.float-whatsapp{
  background:#25d366;
}

@media(max-width:760px){
  .floating-social{
    right:14px;
    gap:12px;
  }

  .floating-social a{
    width:46px;
    height:46px;
  }

  .floating-social svg{
    width:20px;
    height:20px;
  }
}


/* Top black info bar fix */
.topbar,
.top-strip,
.top-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 28px;
}

.topbar-left{
  font-weight:700;
  color:#fff;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:22px;
  margin-left:auto;
}

.topbar-right a{
  color:#fff;
  font-weight:600;
  font-size:13px;
}

.topbar-right a:hover{
  opacity:.85;
}


/* Expected top black bar with icons */
.top-strip{
  background:#050505 !important;
  color:#fff !important;
  width:100%;
}

.top-strip-inner{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:18px 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
  letter-spacing:0 !important;
}

.topbar-left{
  display:flex;
  align-items:center;
  font-size:13px;
  font-weight:900;
  color:#fff;
}

.topbar-right{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:28px;
}

.topbar-right a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff !important;
  font-size:13px;
  font-weight:900;
  text-decoration:none;
}

.topbar-right svg{
  width:16px;
  height:16px;
  color:#fff;
}

.topbar-right a:hover{
  opacity:.85;
}

@media(max-width:620px){
  .top-strip-inner{
    display:block !important;
    padding:12px 14px !important;
  }

  .topbar-right{
    margin-top:8px;
    gap:14px;
    flex-wrap:wrap;
  }
}


/* ===== Shared aligned AnkitSMD header/topbar/social/footer ===== */
.top-strip{
  background:#050505 !important;
  color:#fff !important;
  width:100%;
  font-size:12px;
}

.top-strip-inner{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:18px 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
  letter-spacing:0 !important;
}

.topbar-left{
  display:flex;
  align-items:center;
  font-size:13px;
  font-weight:900;
  color:#fff;
}

.topbar-right{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:28px;
}

.topbar-right a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff !important;
  font-size:13px;
  font-weight:900;
  text-decoration:none;
}

.topbar-right svg{
  width:16px;
  height:16px;
  color:#fff;
}

.header{
  background:#fff !important;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:20;
}

.header-inner{
  max-width:1320px !important;
  margin:auto;
  display:flex;
  align-items:center;
  gap:22px;
  padding:16px 34px !important;
}

.logo{
  height:52px !important;
  display:block;
}

.search{
  flex:1;
  display:flex;
  min-width:320px;
  border:1px solid #ccc;
  border-radius:999px;
  overflow:hidden;
  background:#fff;
}

.search input{
  width:100%;
  padding:13px 16px;
  border:0;
  outline:0;
}

.search button{
  border:0;
  background:#000;
  color:#fff;
  padding:0 24px;
  font-weight:800;
  cursor:pointer;
}

.nav{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
  font-size:14px;
  font-weight:800;
}

.register-link{
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:9px 17px!important;
}

.cart-link{
  border:1px solid #000;
  border-radius:999px;
  padding:9px 17px!important;
}

.nav-dropdown{position:relative}
.nav-drop-menu{
  position:absolute;
  top:34px;
  left:-18px;
  width:230px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:10px;
  box-shadow:0 18px 40px rgba(0,0,0,.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:.18s ease;
  z-index:50;
}
.nav-dropdown:hover .nav-drop-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.nav-drop-menu a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  color:#111;
}
.nav-drop-menu a:hover{
  background:#000;
  color:#fff;
  text-decoration:none;
}

.footer-badges{display:none!important}

/* Fixed floating contact icons */
.floating-social{
  position:fixed;
  right:22px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:18px;
  z-index:9999;
}
.floating-social a{
  width:56px;
  height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
  transition:.22s ease;
}
.floating-social a:hover{
  transform:translateX(-4px) scale(1.06);
}
.floating-social svg{
  width:24px;
  height:24px;
}
.float-email{background:#e11d2e}
.float-linkedin{background:#0a66c2}
.float-whatsapp{background:#25d366}

@media(max-width:980px){
  .header-inner{display:block!important}
  .search{margin:14px 0}
  .nav-drop-menu{
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;
    display:none;
    margin-top:6px;
    width:100%;
    box-shadow:none;
  }
  .nav-dropdown:hover .nav-drop-menu{display:block}
}

@media(max-width:620px){
  .top-strip-inner{
    display:block!important;
    padding:12px 14px!important;
  }
  .topbar-right{
    margin-top:8px;
    gap:14px;
    flex-wrap:wrap;
  }
  .floating-social{
    right:14px;
    gap:12px;
  }
  .floating-social a{
    width:46px;
    height:46px;
  }
  .floating-social svg{
    width:20px;
    height:20px;
  }
}


/* Milestone 1 policy pages */
.policy-page{
  padding-top:50px;
  padding-bottom:50px;
}

.policy-card{
  max-width:900px;
  margin:auto;
}

.policy-card h1{
  font-size:44px;
  margin:0 0 18px;
}

.policy-card p{
  color:#444;
  line-height:1.7;
  font-size:16px;
}

.policy-card a{
  font-weight:900;
  text-decoration:underline;
}

.footer-bottom a{
  color:inherit;
}

.footer-bottom a:hover{
  color:#fff;
  text-decoration:underline;
}


/* Improved policy pages */
.policy-page{
  padding:60px 24px;
  background:#fff;
  position:relative;
  overflow:visible !important;
}

.policy-card{
  max-width:1000px;
  margin:auto;
  background:#fff;
  border:1px solid #eee;
  border-radius:28px;
  padding:42px;
  position:relative;
  z-index:2;
  overflow:visible !important;
}

.policy-card:before{
  content:"";
  position:absolute;
  right:-60px;
  top:-60px;
  width:260px;
  height:260px;
  border:18px solid #f1f1f1;
  border-radius:50%;
  z-index:-1;
}

.policy-card h1{
  font-size:56px;
  line-height:1.05;
  margin:0 0 26px;
  letter-spacing:-2px;
}

.policy-card p{
  font-size:18px;
  line-height:1.85;
  color:#333;
  margin-bottom:18px;
}

.policy-card a{
  color:#000;
  font-weight:900;
}

/* Better footer */
.footer-pro{
  background:#000;
  color:#fff;
  padding:54px 28px 0;
  margin-top:60px;
}

.footer-grid{
  max-width:1320px;
  margin:auto;
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:42px;
}

.footer-grid h4{
  margin:0 0 16px;
  font-size:24px;
}

.footer-grid a,
.footer-grid p{
  display:block;
  color:#ddd;
  margin:0 0 12px;
  line-height:1.6;
}

.footer-grid a:hover{
  color:#fff;
  text-decoration:underline;
}

.footer-logo{
  width:210px;
  background:#fff;
  border-radius:18px;
  padding:10px;
  margin-bottom:22px;
}

.footer-desc{
  max-width:320px;
}

.footer-bottom{
  margin-top:42px;
  border-top:1px solid #222;
  padding:18px 0;
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  color:#bbb;
}

.footer-bottom a{
  color:#fff;
}

@media(max-width:900px){
  .footer-grid{
    grid-template-columns:1fr;
  }

  .policy-card{
    padding:30px 22px;
  }

  .policy-card h1{
    font-size:42px;
  }

  .policy-card:before{
    width:180px;
    height:180px;
    right:-20px;
    top:-20px;
  }
}


/* Footer bottom alignment fix */
.footer-bottom{
  margin-top:42px;
  border-top:1px solid #222;
  padding:18px 0;
  display:grid !important;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:20px;
  color:#bbb;
}

.footer-bottom span:nth-child(1){
  text-align:left;
}

.footer-bottom span:nth-child(2){
  text-align:center;
}

.footer-bottom span:nth-child(3){
  text-align:right;
}

.footer-bottom span:nth-child(3) a{
  display:inline !important;
}

.footer-bottom a{
  color:#fff;
  white-space:nowrap;
}

@media(max-width:768px){
  .footer-bottom{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-bottom span:nth-child(1),
  .footer-bottom span:nth-child(2),
  .footer-bottom span:nth-child(3){
    text-align:center;
  }
}

/* Full Terms & Conditions page */
.terms-page{
  padding-top:54px;
  padding-bottom:54px;
}

.terms-card{
  max-width:1050px;
}

.terms-card h1{
  margin-bottom:10px;
}

.terms-effective{
  color:#111!important;
  margin-bottom:10px!important;
}

.terms-intro{
  font-size:18px!important;
  color:#444!important;
  border-bottom:1px solid #eee;
  padding-bottom:22px;
  margin-bottom:28px!important;
}

.terms-section{
  border-bottom:1px solid #eee;
  padding:22px 0;
}

.terms-section:last-child{
  border-bottom:0;
}

.terms-section h2{
  font-size:24px;
  margin:0 0 12px;
  letter-spacing:-.4px;
}

.terms-section p{
  font-size:16px;
  line-height:1.75;
  margin:0 0 12px;
  color:#333;
}

@media(max-width:620px){
  .terms-section h2{
    font-size:20px;
  }

  .terms-section p{
    font-size:15px;
  }
}

/* Full Privacy Policy page */
.privacy-page-note{
  color:#444;
}

.terms-page .terms-card h1{
  margin-bottom:10px;
}

.terms-section h2{
  color:#111;
}

/* Shipping Policy page */
.terms-section p br{
  line-height:2;
}

/* Return Policy page */
.terms-section p br{
  line-height:2;
}

/* Track Order page */
.track-page{
  padding-top:54px;
  padding-bottom:54px;
}

.track-hero{
  background:#fff;
  border:1px solid #eee;
  border-radius:30px;
  padding:46px;
  box-shadow:0 22px 55px rgba(0,0,0,.06);
}

.track-hero h1{
  font-size:56px;
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-2px;
}

.track-hero p{
  font-size:18px;
  color:#555;
  max-width:760px;
  line-height:1.65;
}

.track-form{
  display:flex;
  gap:12px;
  margin-top:24px;
  max-width:720px;
}

.track-form input{
  flex:1;
  border:1px solid #ccc;
  border-radius:999px;
  padding:15px 18px;
  font-size:15px;
  outline:0;
}

.track-form button{
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:0 28px;
  font-weight:900;
  cursor:pointer;
}

.track-result{
  margin-top:28px;
}

.track-summary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-bottom:18px;
}

.track-summary div{
  background:#fff;
  border:1px solid #eee;
  border-radius:22px;
  padding:20px;
}

.track-summary small{
  display:block;
  color:#777;
  text-transform:uppercase;
  letter-spacing:.6px;
  font-size:11px;
  margin-bottom:7px;
}

.track-summary b{
  display:block;
  font-size:16px;
  line-height:1.4;
}

.track-table-wrap{
  background:#fff;
  border:1px solid #eee;
  border-radius:24px;
  overflow:auto;
}

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

.track-table th{
  background:#000;
  color:#fff;
  text-align:left;
  padding:14px;
}

.track-table td{
  padding:15px;
  border-bottom:1px solid #eee;
  vertical-align:top;
}

.track-table td:first-child{
  width:260px;
  font-weight:800;
}

.track-help{
  margin-top:34px;
  background:#000;
  color:#fff;
  border-radius:30px;
  padding:34px;
}

.track-help h2{
  margin:0 0 18px;
  font-size:32px;
}

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

.milestone-grid div{
  background:#111;
  border:1px solid #222;
  border-radius:18px;
  padding:18px;
}

.milestone-grid b{
  display:block;
  margin-bottom:7px;
}

.milestone-grid span{
  color:#ccc;
  line-height:1.45;
  font-size:14px;
}

@media(max-width:800px){
  .track-form{
    display:block;
  }
  .track-form button{
    width:100%;
    padding:14px;
    margin-top:10px;
  }
  .track-summary,
  .milestone-grid{
    grid-template-columns:1fr;
  }
  .track-hero h1{
    font-size:38px;
  }
}


/* Unified menu/footer enforcement v25 */
.top-strip{
  background:#050505 !important;
  color:#fff !important;
  width:100%;
  font-size:12px;
}

.top-strip-inner{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:18px 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
  letter-spacing:0 !important;
}

.topbar-left{
  display:flex;
  align-items:center;
  font-size:13px;
  font-weight:900;
  color:#fff;
}

.topbar-right{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:28px;
}

.topbar-right a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff !important;
  font-size:13px;
  font-weight:900;
  text-decoration:none;
}

.topbar-right svg{
  width:16px;
  height:16px;
  color:#fff;
}

.header{
  background:#fff !important;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:20;
}

.header-inner{
  max-width:1320px !important;
  margin:auto;
  display:flex;
  align-items:center;
  gap:22px;
  padding:16px 34px !important;
}

.logo{
  height:52px !important;
  display:block;
}

.search{
  flex:1;
  display:flex;
  min-width:320px;
  border:1px solid #ccc;
  border-radius:999px;
  overflow:hidden;
  background:#fff;
}

.search input{
  width:100%;
  padding:13px 16px;
  border:0;
  outline:0;
}

.search button{
  border:0;
  background:#000;
  color:#fff;
  padding:0 24px;
  font-weight:800;
  cursor:pointer;
}

.nav{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
  font-size:14px;
  font-weight:800;
}

.nav-dropdown{
  position:relative;
}

.nav-drop-menu{
  position:absolute;
  top:34px;
  left:-18px;
  width:235px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:10px;
  box-shadow:0 18px 40px rgba(0,0,0,.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:.18s ease;
  z-index:999;
}

.nav-dropdown:hover .nav-drop-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.nav-drop-menu a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  color:#111;
}

.nav-drop-menu a:hover{
  background:#000;
  color:#fff;
  text-decoration:none;
}

.register-link{
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:9px 17px!important;
}

.cart-link{
  border:1px solid #000;
  border-radius:999px;
  padding:9px 17px!important;
}

.footer-pro{
  background:#000;
  color:#fff;
  padding:54px 28px 0;
  margin-top:60px;
}

.footer-grid{
  max-width:1320px;
  margin:auto;
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:42px;
}

.footer-grid h4{
  margin:0 0 16px;
  font-size:24px;
}

.footer-grid a,
.footer-grid p{
  display:block;
  color:#ddd;
  margin:0 0 12px;
  line-height:1.6;
}

.footer-grid a:hover{
  color:#fff;
  text-decoration:underline;
}

.footer-logo{
  width:210px;
  background:#fff;
  border-radius:18px;
  padding:10px;
  margin-bottom:22px;
}

.footer-desc{
  max-width:320px;
}

.footer-bottom{
  margin-top:42px;
  border-top:1px solid #222;
  padding:18px 0;
  display:grid !important;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:20px;
  color:#bbb;
}

.footer-bottom span:nth-child(1){text-align:left}
.footer-bottom span:nth-child(2){text-align:center}
.footer-bottom span:nth-child(3){text-align:right}
.footer-bottom span:nth-child(3) a{display:inline!important}

.footer-bottom a{
  color:#fff;
  white-space:nowrap;
}

@media(max-width:980px){
  .header-inner{
    display:block!important;
  }

  .search{
    margin:14px 0;
  }

  .nav-drop-menu{
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;
    display:none;
    margin-top:6px;
    width:100%;
    box-shadow:none;
  }

  .nav-dropdown:hover .nav-drop-menu{
    display:block;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:768px){
  .footer-bottom{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-bottom span:nth-child(1),
  .footer-bottom span:nth-child(2),
  .footer-bottom span:nth-child(3){
    text-align:center;
  }
}

@media(max-width:620px){
  .top-strip-inner{
    display:block!important;
    padding:12px 14px!important;
  }

  .topbar-right{
    margin-top:8px;
    gap:14px;
    flex-wrap:wrap;
  }
}

/* Register page */
.register-page{
  padding-top:54px;
  padding-bottom:54px;
}

.register-hero{
  background:#fff;
  border:1px solid #eee;
  border-radius:30px;
  padding:44px;
  box-shadow:0 22px 55px rgba(0,0,0,.06);
  margin-bottom:24px;
}

.register-hero h1{
  font-size:52px;
  margin:0 0 12px;
  letter-spacing:-2px;
}

.register-hero p{
  color:#555;
  font-size:18px;
  line-height:1.6;
  max-width:760px;
}

.register-form{
  display:grid;
  gap:22px;
}

.register-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:26px;
  padding:30px;
}

.register-card h2{
  margin:0 0 20px;
  font-size:28px;
  letter-spacing:-.5px;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

.form-group.full{
  grid-column:1 / -1;
}

.form-group label{
  display:block;
  font-weight:900;
  font-size:13px;
  margin-bottom:8px;
}

.form-group input{
  width:100%;
  border:1px solid #ccc;
  border-radius:14px;
  padding:14px 15px;
  font-size:15px;
  outline:0;
  background:#fff;
}

.form-group input:focus{
  border-color:#000;
  box-shadow:0 0 0 3px rgba(0,0,0,.06);
}

.section-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}

.section-title-row h2{
  margin:0;
}

.same-address,
.check-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#333;
  line-height:1.5;
}

.same-address{
  font-weight:800;
  white-space:nowrap;
}

.check-row{
  margin:12px 0;
}

.check-row a{
  font-weight:900;
  text-decoration:underline;
}

.register-actions{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin-top:24px;
}

.register-actions button{
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:15px 28px;
  font-weight:900;
  cursor:pointer;
}

.register-actions a{
  font-weight:900;
  text-decoration:underline;
}

.register-message{
  margin-top:16px;
  color:#0a8f35;
  font-weight:900;
}

@media(max-width:760px){
  .form-grid{
    grid-template-columns:1fr;
  }

  .register-hero h1{
    font-size:36px;
  }

  .section-title-row{
    display:block;
  }

  .same-address{
    margin-top:12px;
    white-space:normal;
  }
}

/* Login page */
.login-page{
  padding-top:54px;
  padding-bottom:54px;
}

.login-layout{
  display:grid;
  grid-template-columns:1.1fr 460px;
  gap:28px;
  align-items:start;
}

.login-info{
  background:#000;
  color:#fff;
  border-radius:32px;
  padding:54px;
  min-height:560px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.login-info .eyebrow{
  color:#fff;
}

.login-info h1{
  font-size:52px;
  line-height:1.05;
  letter-spacing:-2px;
  margin:0 0 16px;
}

.login-info p{
  color:#d8d8d8;
  font-size:18px;
  line-height:1.65;
  max-width:720px;
}

.login-benefits{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:34px;
}

.login-benefits div{
  background:#111;
  border:1px solid #222;
  border-radius:20px;
  padding:18px;
}

.login-benefits b{
  display:block;
  margin-bottom:8px;
}

.login-benefits span{
  display:block;
  color:#cfcfcf;
  font-size:13px;
  line-height:1.45;
}

.login-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:32px;
  padding:34px;
  box-shadow:0 22px 55px rgba(0,0,0,.08);
}

.login-card h2{
  margin:0 0 24px;
  font-size:34px;
  letter-spacing:-.8px;
}

.login-options{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin:16px 0 22px;
  font-size:14px;
}

.login-options label{
  display:flex;
  align-items:center;
  gap:8px;
  color:#333;
}

.login-options a{
  font-weight:900;
  text-decoration:underline;
}

.login-btn{
  width:100%;
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:15px;
  font-weight:900;
  cursor:pointer;
  font-size:15px;
}

.login-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:28px 0 18px;
  color:#777;
  font-size:13px;
}

.login-divider:before,
.login-divider:after{
  content:"";
  height:1px;
  background:#eee;
  flex:1;
}

.create-account-btn{
  display:block;
  text-align:center;
  border:1px solid #000;
  color:#000;
  border-radius:999px;
  padding:14px;
  font-weight:900;
}

.create-account-btn:hover{
  background:#000;
  color:#fff;
  text-decoration:none;
}

@media(max-width:980px){
  .login-layout{
    grid-template-columns:1fr;
  }

  .login-info{
    min-height:auto;
    padding:34px;
  }

  .login-benefits{
    grid-template-columns:1fr;
  }

  .login-info h1{
    font-size:38px;
  }
}

/* Customer Dashboard */
.dashboard-page{
  padding-top:54px;
  padding-bottom:54px;
}

.dashboard-head{
  background:#000;
  color:#fff;
  border-radius:32px;
  padding:42px;
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-bottom:24px;
}

.dashboard-head .eyebrow{
  color:#fff;
}

.dashboard-head h1{
  font-size:48px;
  line-height:1.05;
  margin:0 0 12px;
  letter-spacing:-1.5px;
}

.dashboard-head p{
  color:#ddd;
  font-size:17px;
  line-height:1.6;
  max-width:720px;
}

.dashboard-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.dashboard-actions a{
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
}

.dashboard-actions .logout-btn{
  background:#111;
  color:#fff;
  border:1px solid #333;
}

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

.dashboard-stats div{
  background:#fff;
  border:1px solid #eee;
  border-radius:24px;
  padding:22px;
}

.dashboard-stats small{
  display:block;
  color:#777;
  text-transform:uppercase;
  letter-spacing:.7px;
  font-size:11px;
  margin-bottom:8px;
}

.dashboard-stats b{
  font-size:34px;
}

.dashboard-grid{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:22px;
  align-items:start;
}

.dashboard-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:28px;
  padding:26px;
  box-shadow:0 18px 45px rgba(0,0,0,.05);
}

.card-title-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  margin-bottom:18px;
}

.card-title-row h2,
.account-card-dash h2{
  margin:0 0 8px;
  font-size:30px;
}

.card-title-row p{
  margin:0;
  color:#666;
}

.card-title-row a{
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:10px 15px;
  font-weight:900;
  white-space:nowrap;
}

.orders-table-wrap{
  overflow:auto;
}

.orders-table{
  width:100%;
  border-collapse:collapse;
  min-width:760px;
}

.orders-table th{
  background:#000;
  color:#fff;
  padding:13px;
  text-align:left;
  font-size:13px;
}

.orders-table td{
  padding:14px 13px;
  border-bottom:1px solid #eee;
  color:#333;
  vertical-align:top;
}

.orders-table td a{
  font-weight:900;
  text-decoration:underline;
}

.status-badge{
  display:inline-block;
  border-radius:999px;
  padding:6px 10px;
  font-size:11px;
  font-weight:900;
}

.status-badge.processing{
  background:#fff4d6;
  color:#9a6500;
}

.status-badge.dispatched{
  background:#e8f1ff;
  color:#064ca2;
}

.status-badge.delivered{
  background:#e9f8ee;
  color:#087a25;
}

.status-badge.quote{
  background:#f1f1f1;
  color:#555;
}

.account-info{
  display:grid;
  gap:12px;
  margin-top:18px;
}

.account-info div{
  border:1px solid #eee;
  border-radius:16px;
  padding:14px;
  background:#fafafa;
}

.account-info small{
  display:block;
  color:#777;
  text-transform:uppercase;
  letter-spacing:.6px;
  font-size:11px;
  margin-bottom:5px;
}

.account-info b{
  display:block;
  font-size:14px;
  line-height:1.4;
}

.account-links{
  display:grid;
  gap:10px;
  margin-top:18px;
}

.account-links a{
  border:1px solid #000;
  border-radius:999px;
  padding:12px;
  text-align:center;
  font-weight:900;
}

.account-links a:hover{
  background:#000;
  color:#fff;
  text-decoration:none;
}

.account-links .danger{
  background:#000;
  color:#fff;
}

@media(max-width:1000px){
  .dashboard-head{
    display:block;
  }

  .dashboard-actions{
    justify-content:flex-start;
    margin-top:20px;
  }

  .dashboard-grid{
    grid-template-columns:1fr;
  }

  .dashboard-stats{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:620px){
  .dashboard-head h1{
    font-size:34px;
  }

  .dashboard-stats{
    grid-template-columns:1fr;
  }
}
/* Dashboard attachment alignment */
body:has(.dashboard-clean-page) .top-strip,
body:has(.order-view-page) .top-strip{
  display:none !important;
}

.dashboard-clean-page{
  padding-top:0;
}

.dashboard-nav{
  gap:22px;
}

.customer-name-inline{
  font-weight:900;
  color:#111;
  white-space:nowrap;
}

.dashboard-clean-page .dashboard-stats{
  margin-top:0;
}

.order-view-link{
  font-weight:900;
  color:#111;
  text-decoration:underline;
}

.order-view-page{
  padding-top:34px;
  padding-bottom:54px;
}

.order-view-head{
  background:#000;
  color:#fff;
  border-radius:30px;
  padding:38px;
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:center;
  margin-bottom:22px;
}

.order-view-head .eyebrow{
  color:#fff;
}

.order-view-head h1{
  font-size:48px;
  margin:0 0 8px;
}

.order-view-head p{
  color:#ddd;
  margin:0;
}

.order-view-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.order-view-actions a{
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
}

.order-view-actions a.dark{
  background:#111;
  color:#fff;
  border:1px solid #333;
}

.order-detail-grid{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:22px;
  align-items:start;
}

.order-timeline-card{
  margin-top:22px;
}

@media(max-width:980px){
  .order-view-head{
    display:block;
  }
  .order-view-actions{
    margin-top:18px;
  }
  .order-detail-grid{
    grid-template-columns:1fr;
  }
}


/* Order view invoice button */
.order-view-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.order-view-actions a{
  min-width:150px;
  text-align:center;
}

@media(max-width:760px){
  .order-view-actions a{
    width:100%;
  }
}


/* Customer pages top black contact bar fix */
body.customer-page .top-strip,
.top-strip{
  display:block !important;
}

.top-strip{
  background:#050505 !important;
  color:#fff !important;
  width:100%;
  font-size:12px;
}

.top-strip-inner{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:18px 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
  letter-spacing:0 !important;
}

.topbar-left{
  display:flex;
  align-items:center;
  font-size:13px;
  font-weight:900;
  color:#fff;
}

.topbar-right{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:28px;
}

.topbar-right a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff !important;
  font-size:13px;
  font-weight:900;
  text-decoration:none;
}

.topbar-right svg{
  width:16px;
  height:16px;
  color:#fff;
}

/* undo old dashboard/order page rule which hid top-strip */
body:has(.dashboard-clean-page) .top-strip,
body:has(.order-view-page) .top-strip{
  display:block !important;
}

/* Orders pagination */
.orders-pagination{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding-top:18px;
  margin-top:4px;
  border-top:1px solid #eee;
}

.orders-page-info{
  color:#666;
  font-size:13px;
  font-weight:800;
}

.orders-page-buttons{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.orders-page-buttons button{
  border:1px solid #ddd;
  background:#fff;
  color:#000;
  border-radius:10px;
  padding:9px 12px;
  font-weight:900;
  cursor:pointer;
}

.orders-page-buttons button.active{
  background:#000;
  color:#fff;
  border-color:#000;
}

.orders-page-buttons button:disabled{
  opacity:.45;
  cursor:not-allowed;
}

@media(max-width:620px){
  .orders-pagination{
    display:block;
  }

  .orders-page-buttons{
    margin-top:12px;
  }
}

/* Cart Page */
.cart-page{
  padding-top:54px;
  padding-bottom:54px;
}

.cart-hero{
  background:#000;
  color:#fff;
  border-radius:32px;
  padding:42px;
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-bottom:24px;
}

.cart-hero .eyebrow{
  color:#fff;
}

.cart-hero h1{
  font-size:52px;
  line-height:1.05;
  margin:0 0 12px;
  letter-spacing:-2px;
}

.cart-hero p{
  color:#ddd;
  font-size:17px;
  line-height:1.6;
}

.cart-hero a{
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:13px 20px;
  font-weight:900;
  white-space:nowrap;
}

.cart-layout{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:22px;
  align-items:start;
}

.cart-card,
.cart-summary{
  background:#fff;
  border:1px solid #eee;
  border-radius:28px;
  padding:26px;
  box-shadow:0 18px 45px rgba(0,0,0,.05);
}

.cart-title-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:18px;
}

.cart-title-row h2,
.cart-summary h2{
  margin:0;
  font-size:30px;
  letter-spacing:-.5px;
}

.cart-title-row button{
  border:1px solid #000;
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:10px 16px;
  font-weight:900;
  cursor:pointer;
}

.cart-table-wrap{
  overflow:auto;
}

.cart-table{
  width:100%;
  border-collapse:collapse;
  min-width:860px;
}

.cart-table th{
  background:#000;
  color:#fff;
  text-align:left;
  padding:14px;
  font-size:13px;
}

.cart-table td{
  padding:14px;
  border-bottom:1px solid #eee;
  vertical-align:middle;
}

.cart-stock{
  display:inline-block;
  background:#e9f8ee;
  color:#087a25;
  border-radius:999px;
  padding:6px 10px;
  font-size:11px;
  font-weight:900;
}

.qty-control{
  display:inline-flex;
  align-items:center;
  border:1px solid #ddd;
  border-radius:999px;
  overflow:hidden;
}

.qty-control button{
  width:34px;
  height:34px;
  border:0;
  background:#f5f5f5;
  font-weight:900;
  cursor:pointer;
}

.qty-control input{
  width:52px;
  height:34px;
  border:0;
  text-align:center;
  outline:0;
}

.remove-item{
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
  cursor:pointer;
}

.summary-row,
.summary-total{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:15px 0;
  border-bottom:1px solid #eee;
}

.summary-row span,
.summary-total span{
  color:#555;
}

.summary-total{
  font-size:20px;
  font-weight:900;
}

.coupon-box{
  margin-top:20px;
}

.coupon-box label,
.cart-note-label{
  display:block;
  font-weight:900;
  margin-bottom:8px;
}

.coupon-box div{
  display:flex;
  border:1px solid #ddd;
  border-radius:999px;
  overflow:hidden;
}

.coupon-box input{
  flex:1;
  border:0;
  padding:13px;
  outline:0;
}

.coupon-box button{
  border:0;
  background:#000;
  color:#fff;
  padding:0 16px;
  font-weight:900;
}

.cart-summary textarea{
  width:100%;
  min-height:100px;
  border:1px solid #ddd;
  border-radius:16px;
  padding:13px;
  outline:0;
  resize:vertical;
}

.checkout-btn,
.rfq-btn{
  display:block;
  text-align:center;
  border-radius:999px;
  padding:14px;
  font-weight:900;
  margin-top:14px;
}

.checkout-btn{
  background:#000;
  color:#fff;
}

.rfq-btn{
  border:1px solid #000;
  color:#000;
}

.empty-cart{
  text-align:center;
  padding:48px 20px;
}

.empty-cart h3{
  font-size:28px;
  margin:0 0 8px;
}

.empty-cart p{
  color:#666;
}

.empty-cart a{
  display:inline-block;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:12px 20px;
  font-weight:900;
  margin-top:10px;
}

@media(max-width:1000px){
  .cart-layout{
    grid-template-columns:1fr;
  }

  .cart-hero{
    display:block;
  }

  .cart-hero a{
    display:inline-block;
    margin-top:16px;
  }
}

@media(max-width:620px){
  .cart-hero h1{
    font-size:36px;
  }
}

/* Cart v35: no horizontal scroll, compact responsive cart */
.cart-table-wrap{
  overflow:visible !important;
}

.cart-table{
  min-width:0 !important;
  width:100% !important;
  table-layout:fixed;
}

.cart-table th,
.cart-table td{
  padding:12px 10px;
  word-break:break-word;
}

.cart-table th:nth-child(1),
.cart-table td:nth-child(1){
  width:16%;
}

.cart-table th:nth-child(2),
.cart-table td:nth-child(2){
  width:25%;
}

.cart-table th:nth-child(3),
.cart-table td:nth-child(3){
  width:12%;
}

.cart-table th:nth-child(4),
.cart-table td:nth-child(4){
  width:13%;
}

.cart-table th:nth-child(5),
.cart-table td:nth-child(5){
  width:16%;
}

.cart-table th:nth-child(6),
.cart-table td:nth-child(6){
  width:12%;
}

.cart-table th:nth-child(7),
.cart-table td:nth-child(7){
  width:10%;
}

.qty-control{
  max-width:118px;
}

.qty-control input{
  width:42px;
}

.remove-item{
  padding:7px 9px;
  font-size:12px;
}

.checkout-btn{
  margin-top:18px;
}

/* Hide removed RFQ/coupon UI if old browser cache keeps elements */
.coupon-box,
.rfq-btn{
  display:none !important;
}

@media(max-width:900px){
  .cart-table,
  .cart-table thead,
  .cart-table tbody,
  .cart-table th,
  .cart-table td,
  .cart-table tr{
    display:block;
    width:100% !important;
  }

  .cart-table thead{
    display:none;
  }

  .cart-table tr{
    border:1px solid #eee;
    border-radius:18px;
    padding:14px;
    margin-bottom:14px;
    background:#fff;
  }

  .cart-table td{
    border-bottom:0;
    padding:8px 0;
    display:flex;
    justify-content:space-between;
    gap:14px;
    align-items:center;
  }

  .cart-table td:before{
    font-weight:900;
    color:#555;
    flex:0 0 110px;
  }

  .cart-table td:nth-child(1):before{content:"Part No";}
  .cart-table td:nth-child(2):before{content:"Description";}
  .cart-table td:nth-child(3):before{content:"Stock";}
  .cart-table td:nth-child(4):before{content:"Unit Price";}
  .cart-table td:nth-child(5):before{content:"Qty";}
  .cart-table td:nth-child(6):before{content:"Total";}
  .cart-table td:nth-child(7):before{content:"Action";}
}

/* Cart delete icon button */
.icon-remove-btn{
  width:48px;
  height:48px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 !important;
}

.icon-remove-btn svg{
  width:20px;
  height:20px;
  color:#fff;
}

@media(max-width:900px){
  .icon-remove-btn{
    width:42px;
    height:42px;
  }

  .icon-remove-btn svg{
    width:18px;
    height:18px;
  }
}

/* BOM upload page */
.bom-upload-page{
  padding-top:54px;
  padding-bottom:54px;
}

.bom-upload-hero{
  background:#000;
  color:#fff;
  border-radius:32px;
  padding:46px;
  margin-bottom:24px;
}

.bom-upload-hero .eyebrow{
  color:#fff;
}

.bom-upload-hero h1{
  font-size:56px;
  margin:0 0 12px;
  letter-spacing:-2px;
}

.bom-upload-hero p{
  color:#ddd;
  font-size:18px;
  line-height:1.6;
  max-width:760px;
}

.bom-upload-layout{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:22px;
  align-items:start;
}

.bom-upload-card,
.bom-guidelines{
  background:#fff;
  border:1px solid #eee;
  border-radius:28px;
  padding:30px;
  box-shadow:0 18px 45px rgba(0,0,0,.05);
}

.bom-upload-card h2,
.bom-guidelines h2{
  margin:0 0 20px;
  font-size:30px;
}

.upload-box{
  border:2px dashed #ccc;
  border-radius:20px;
  padding:24px;
  background:#fafafa;
}

.upload-box input{
  width:100%;
  margin-bottom:10px;
}

.upload-box span{
  display:block;
  color:#666;
  font-size:13px;
}

.form-group textarea{
  width:100%;
  min-height:130px;
  border:1px solid #ccc;
  border-radius:14px;
  padding:14px 15px;
  outline:0;
  resize:vertical;
  font-size:15px;
}

.bom-submit-btn{
  margin-top:22px;
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:15px 30px;
  font-weight:900;
  cursor:pointer;
}

.bom-message{
  margin-top:16px;
  color:#0a8f35;
  font-weight:900;
}

.bom-column-list{
  display:grid;
  gap:10px;
  margin-bottom:24px;
}

.bom-column-list span{
  border:1px solid #eee;
  background:#fafafa;
  border-radius:14px;
  padding:12px;
  font-weight:800;
}

.bom-guidelines h3{
  margin:18px 0 10px;
}

.bom-guidelines ul{
  padding-left:20px;
  color:#444;
  line-height:1.8;
}

@media(max-width:980px){
  .bom-upload-layout{
    grid-template-columns:1fr;
  }

  .bom-upload-hero h1{
    font-size:38px;
  }
}

/* Password reset/update pages */
.password-page{
  padding-top:54px;
  padding-bottom:54px;
}

.password-layout{
  display:grid;
  grid-template-columns:1.05fr 460px;
  gap:28px;
  align-items:start;
}

.password-info{
  background:#000;
  color:#fff;
  border-radius:32px;
  padding:54px;
  min-height:520px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.password-info .eyebrow{
  color:#fff;
}

.password-info h1{
  font-size:54px;
  line-height:1.05;
  margin:0 0 16px;
  letter-spacing:-2px;
}

.password-info p{
  color:#ddd;
  font-size:18px;
  line-height:1.65;
  max-width:720px;
}

.password-steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:34px;
}

.password-steps div{
  background:#111;
  border:1px solid #222;
  border-radius:20px;
  padding:18px;
}

.password-steps b{
  display:block;
  margin-bottom:8px;
  font-size:22px;
}

.password-steps span{
  display:block;
  color:#cfcfcf;
  font-size:13px;
  line-height:1.45;
}

.password-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:32px;
  padding:34px;
  box-shadow:0 22px 55px rgba(0,0,0,.08);
}

.password-card h2{
  margin:0 0 24px;
  font-size:34px;
  letter-spacing:-.8px;
}

.password-btn{
  width:100%;
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:15px;
  font-weight:900;
  cursor:pointer;
  font-size:15px;
}

.password-secondary{
  width:100%;
  border:1px solid #000;
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:15px;
  font-weight:900;
  cursor:pointer;
  font-size:15px;
}

.password-actions-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.password-links{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

.password-links a{
  font-weight:900;
  text-decoration:underline;
}

.otp-note{
  background:#f8f8f8;
  border:1px solid #eee;
  border-radius:16px;
  padding:14px;
  color:#444;
  margin-bottom:18px;
  line-height:1.5;
}

@media(max-width:980px){
  .password-layout{
    grid-template-columns:1fr;
  }

  .password-info{
    min-height:auto;
    padding:34px;
  }

  .password-steps{
    grid-template-columns:1fr;
  }

  .password-info h1{
    font-size:38px;
  }
}

@media(max-width:620px){
  .password-actions-row{
    grid-template-columns:1fr;
  }
}

/* Checkout page */
.checkout-page{
  padding-top:54px;
  padding-bottom:54px;
}

.checkout-hero{
  background:#000;
  color:#fff;
  border-radius:32px;
  padding:42px;
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-bottom:24px;
}

.checkout-hero .eyebrow{
  color:#fff;
}

.checkout-hero h1{
  font-size:52px;
  line-height:1.05;
  margin:0 0 12px;
  letter-spacing:-2px;
}

.checkout-hero p{
  color:#ddd;
  font-size:17px;
  line-height:1.6;
}

.checkout-hero a{
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:13px 20px;
  font-weight:900;
  white-space:nowrap;
}

.checkout-layout{
  display:grid;
  grid-template-columns:1fr 380px;
  gap:22px;
  align-items:start;
}

.checkout-main{
  display:grid;
  gap:22px;
}

.checkout-card,
.checkout-summary{
  background:#fff;
  border:1px solid #eee;
  border-radius:28px;
  padding:30px;
  box-shadow:0 18px 45px rgba(0,0,0,.05);
}

.checkout-card h2,
.checkout-summary h2{
  margin:0 0 20px;
  font-size:30px;
  letter-spacing:-.5px;
}

.checkout-help{
  color:#666;
  margin-top:-10px;
  margin-bottom:18px;
}

.form-group select{
  width:100%;
  border:1px solid #ccc;
  border-radius:14px;
  padding:14px 15px;
  font-size:15px;
  outline:0;
  background:#fff;
}

.shipping-options{
  display:grid;
  gap:12px;
}

.shipping-option{
  border:1px solid #e6e6e6;
  border-radius:20px;
  padding:16px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:14px;
  align-items:center;
  cursor:pointer;
  transition:.2s ease;
}

.shipping-option:hover{
  border-color:#000;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}

.shipping-option input{
  width:18px;
  height:18px;
}

.shipping-option b{
  display:block;
  margin-bottom:5px;
}

.shipping-option span{
  color:#666;
  font-size:13px;
  line-height:1.4;
}

.shipping-option strong{
  white-space:nowrap;
}

.checkout-card textarea{
  width:100%;
  min-height:120px;
  border:1px solid #ccc;
  border-radius:16px;
  padding:14px 15px;
  outline:0;
  resize:vertical;
}

.checkout-summary{
  position:sticky;
  top:110px;
}

.checkout-items{
  border-bottom:1px solid #eee;
  margin-bottom:10px;
  padding-bottom:10px;
}

.checkout-items div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
  color:#444;
}

.place-order-btn{
  width:100%;
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:15px;
  font-weight:900;
  cursor:pointer;
  font-size:15px;
  margin-top:18px;
}

.continue-shopping-btn{
  display:block;
  text-align:center;
  border:1px solid #000;
  color:#000;
  border-radius:999px;
  padding:14px;
  font-weight:900;
  margin-top:12px;
}

.checkout-message{
  margin-top:16px;
  color:#0a8f35;
  font-weight:900;
  line-height:1.5;
}

@media(max-width:1000px){
  .checkout-layout{
    grid-template-columns:1fr;
  }

  .checkout-summary{
    position:static;
  }

  .checkout-hero{
    display:block;
  }

  .checkout-hero a{
    display:inline-block;
    margin-top:16px;
  }
}

@media(max-width:620px){
  .checkout-hero h1{
    font-size:36px;
  }

  .shipping-option{
    grid-template-columns:auto 1fr;
  }

  .shipping-option strong{
    grid-column:2;
  }
}

/* Warehouse pages */
.warehouse-login-page,
.warehouse-dashboard-page{
  padding-top:54px;
  padding-bottom:54px;
}

.warehouse-login-layout{
  display:grid;
  grid-template-columns:1.05fr 460px;
  gap:28px;
  align-items:start;
}

.warehouse-login-info{
  background:#000;
  color:#fff;
  border-radius:32px;
  padding:54px;
  min-height:520px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.warehouse-login-info .eyebrow{
  color:#fff;
}

.warehouse-login-info h1,
.warehouse-head h1{
  font-size:54px;
  line-height:1.05;
  margin:0 0 16px;
  letter-spacing:-2px;
}

.warehouse-login-info p,
.warehouse-head p{
  color:#ddd;
  font-size:18px;
  line-height:1.65;
}

.warehouse-benefits{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:34px;
}

.warehouse-benefits div{
  background:#111;
  border:1px solid #222;
  border-radius:20px;
  padding:18px;
}

.warehouse-benefits b{
  display:block;
  margin-bottom:8px;
}

.warehouse-benefits span{
  display:block;
  color:#cfcfcf;
  font-size:13px;
}

.warehouse-login-card,
.warehouse-table-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:32px;
  padding:34px;
  box-shadow:0 22px 55px rgba(0,0,0,.08);
}

.warehouse-login-card h2{
  margin:0 0 24px;
  font-size:34px;
}

.warehouse-login-card button,
.warehouse-table-card .card-title-row button{
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:14px 22px;
  font-weight:900;
  cursor:pointer;
}

.warehouse-head{
  background:#000;
  color:#fff;
  border-radius:32px;
  padding:42px;
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-bottom:24px;
}

.warehouse-head .eyebrow{
  color:#fff;
}

.warehouse-head a{
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:13px 20px;
  font-weight:900;
}

.warehouse-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-bottom:22px;
}

.warehouse-stats div{
  background:#fff;
  border:1px solid #eee;
  border-radius:24px;
  padding:22px;
}

.warehouse-stats small{
  display:block;
  color:#777;
  text-transform:uppercase;
  font-size:11px;
  font-weight:900;
  margin-bottom:8px;
}

.warehouse-stats b{
  font-size:34px;
}

.warehouse-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:22px;
}

.warehouse-tab{
  border:1px solid #000;
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:11px 15px;
  font-weight:900;
  cursor:pointer;
}

.warehouse-tab span{
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:4px 8px;
  margin-left:6px;
  font-size:12px;
}

.warehouse-tab.active{
  background:#000;
  color:#fff;
}

.warehouse-tab.active span{
  background:#fff;
  color:#000;
}

.warehouse-table-wrap{
  overflow:auto;
}

.warehouse-table{
  width:100%;
  border-collapse:collapse;
  min-width:900px;
}

.warehouse-table th{
  background:#000;
  color:#fff;
  padding:13px;
  text-align:left;
}

.warehouse-table td{
  padding:14px 13px;
  border-bottom:1px solid #eee;
  vertical-align:top;
}

.warehouse-table td a{
  font-weight:900;
  text-decoration:underline;
}

.wh-status{
  display:inline-block;
  border-radius:999px;
  padding:6px 10px;
  font-size:11px;
  font-weight:900;
}

.wh-status.pick{
  background:#fff4d6;
  color:#9a6500;
}

.wh-status.pack{
  background:#e8f1ff;
  color:#064ca2;
}

.wh-status.ready{
  background:#e9f8ee;
  color:#087a25;
}

@media(max-width:980px){
  .warehouse-login-layout{
    grid-template-columns:1fr;
  }

  .warehouse-benefits,
  .warehouse-stats{
    grid-template-columns:1fr;
  }

  .warehouse-head{
    display:block;
  }

  .warehouse-head a{
    display:inline-block;
    margin-top:16px;
  }
}

/* Warehouse order view */
.warehouse-order-page{
  padding-top:54px;
  padding-bottom:54px;
}

.warehouse-order-hero{
  background:#000;
  color:#fff;
  border-radius:32px;
  padding:42px;
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-bottom:24px;
}

.warehouse-order-hero .eyebrow{
  color:#fff;
}

.warehouse-order-hero h1{
  font-size:54px;
  margin:0 0 10px;
  letter-spacing:-2px;
}

.warehouse-order-hero p{
  color:#ddd;
  line-height:1.6;
  max-width:760px;
}

.warehouse-order-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.warehouse-order-actions a,
.warehouse-order-actions button{
  border-radius:999px;
  padding:14px 22px;
  font-weight:900;
}

.warehouse-order-actions a{
  background:#fff;
  color:#000;
}

.warehouse-order-actions button{
  border:1px solid #fff;
  background:#000;
  color:#fff;
  cursor:pointer;
}

.warehouse-order-layout{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:22px;
  align-items:start;
}

.warehouse-order-main{
  display:grid;
  gap:22px;
}

.warehouse-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:28px;
  padding:28px;
  box-shadow:0 18px 45px rgba(0,0,0,.05);
}

.warehouse-card-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:20px;
}

.warehouse-card-head h2{
  margin:0;
  font-size:30px;
}

.warehouse-card-head p{
  margin:6px 0 0;
  color:#666;
}

.warehouse-card-head select{
  min-width:220px;
}

.warehouse-status-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

.warehouse-status-grid div{
  display:grid;
  gap:8px;
}

.warehouse-status-grid small{
  color:#666;
  font-weight:900;
  text-transform:uppercase;
  font-size:11px;
}

.warehouse-status-grid input,
.warehouse-status-grid b{
  border:1px solid #ddd;
  border-radius:14px;
  padding:14px;
  background:#fafafa;
}

.warehouse-edit-table{
  width:100%;
  border-collapse:collapse;
  min-width:1100px;
}

.warehouse-edit-table th{
  background:#000;
  color:#fff;
  padding:13px;
  text-align:left;
}

.warehouse-edit-table td{
  border-bottom:1px solid #eee;
  padding:12px;
}

.warehouse-edit-table input,
.warehouse-edit-table select{
  width:100%;
  border:1px solid #ddd;
  border-radius:12px;
  padding:10px;
}

.add-component-btn{
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  cursor:pointer;
}

.remove-row-btn{
  width:40px;
  height:40px;
  border-radius:50%;
  border:0;
  background:#000;
  color:#fff;
  cursor:pointer;
  font-weight:900;
}

.warehouse-comment-box textarea{
  width:100%;
  min-height:140px;
  border:1px solid #ddd;
  border-radius:18px;
  padding:16px;
  resize:vertical;
  outline:0;
}

.warehouse-comment-actions{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin-top:16px;
}

.customer-visible-check{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
}

.warehouse-comment-actions button{
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  cursor:pointer;
}

.warehouse-comments-list{
  display:grid;
  gap:14px;
  margin-top:24px;
}

.warehouse-comment-item{
  border:1px solid #d6eedf;
  background:#f7fff9;
  border-radius:18px;
  padding:18px;
}

.warehouse-comment-item.internal{
  border-color:#eee;
  background:#fafafa;
}

.comment-top{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}

.comment-top span{
  color:#777;
  font-size:13px;
}

.warehouse-comment-item p{
  margin:0 0 8px;
  line-height:1.6;
}

.warehouse-comment-item small{
  font-weight:900;
  color:#087a25;
}

.warehouse-comment-item.internal small{
  color:#666;
}

.warehouse-side-list{
  display:grid;
  gap:16px;
}

.warehouse-side-list div{
  border:1px solid #eee;
  border-radius:16px;
  padding:14px;
}

.warehouse-side-list small{
  display:block;
  color:#666;
  text-transform:uppercase;
  font-size:11px;
  font-weight:900;
  margin-bottom:6px;
}

.warehouse-address{
  border:1px solid #eee;
  border-radius:18px;
  padding:16px;
  line-height:1.8;
}

.warehouse-quick-actions{
  display:grid;
  gap:12px;
}

.warehouse-quick-actions button{
  border:1px solid #000;
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:13px 16px;
  font-weight:900;
  cursor:pointer;
}

@media(max-width:1100px){
  .warehouse-order-layout{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){
  .warehouse-order-hero{
    display:block;
  }

  .warehouse-order-actions{
    margin-top:18px;
  }

  .warehouse-status-grid{
    grid-template-columns:1fr;
  }

  .warehouse-card-head{
    display:block;
  }

  .warehouse-card-head select{
    margin-top:14px;
    width:100%;
  }

  .warehouse-comment-actions{
    display:block;
  }

  .warehouse-comment-actions button{
    margin-top:14px;
    width:100%;
  }
}

/* V42 responsive no-horizontal-scroll fixes */
html, body{
  overflow-x:hidden !important;
}

.container{
  width:min(100%, 1280px);
  overflow-x:hidden;
}

.warehouse-table-wrap{
  overflow-x:hidden !important;
}

.warehouse-edit-table{
  width:100% !important;
  min-width:0 !important;
  table-layout:fixed;
}

.warehouse-edit-table th,
.warehouse-edit-table td{
  word-wrap:break-word;
  overflow-wrap:break-word;
}

.warehouse-edit-table th:nth-child(1),
.warehouse-edit-table td:nth-child(1){
  width:16%;
}

.warehouse-edit-table th:nth-child(2),
.warehouse-edit-table td:nth-child(2){
  width:20%;
}

.warehouse-edit-table th:nth-child(3),
.warehouse-edit-table td:nth-child(3),
.warehouse-edit-table th:nth-child(4),
.warehouse-edit-table td:nth-child(4){
  width:10%;
}

.warehouse-edit-table th:nth-child(5),
.warehouse-edit-table td:nth-child(5){
  width:18%;
}

.warehouse-edit-table th:nth-child(6),
.warehouse-edit-table td:nth-child(6){
  width:16%;
}

.warehouse-edit-table th:nth-child(7),
.warehouse-edit-table td:nth-child(7){
  width:10%;
}

.warehouse-edit-table input,
.warehouse-edit-table select{
  width:100%;
  min-width:0;
  font-size:13px;
  padding:9px;
}

@media(max-width:1100px){

  .warehouse-edit-table,
  .warehouse-edit-table thead,
  .warehouse-edit-table tbody,
  .warehouse-edit-table th,
  .warehouse-edit-table td,
  .warehouse-edit-table tr{
    display:block;
    width:100% !important;
  }

  .warehouse-edit-table thead{
    display:none;
  }

  .warehouse-edit-table tr{
    border:1px solid #eee;
    border-radius:18px;
    margin-bottom:16px;
    padding:14px;
    background:#fff;
  }

  .warehouse-edit-table td{
    border-bottom:0;
    padding:8px 0;
  }

  .warehouse-edit-table td::before{
    display:block;
    font-weight:900;
    color:#555;
    margin-bottom:6px;
  }

  .warehouse-edit-table td:nth-child(1)::before{content:"Part No";}
  .warehouse-edit-table td:nth-child(2)::before{content:"Description";}
  .warehouse-edit-table td:nth-child(3)::before{content:"Requested Qty";}
  .warehouse-edit-table td:nth-child(4)::before{content:"Available Qty";}
  .warehouse-edit-table td:nth-child(5)::before{content:"Alternate Part";}
  .warehouse-edit-table td:nth-child(6)::before{content:"Status";}
  .warehouse-edit-table td:nth-child(7)::before{content:"Remove";}

  .warehouse-order-page,
  .warehouse-dashboard-page,
  .checkout-page,
  .cart-page{
    overflow-x:hidden;
  }
}

/* Warehouse stock update tools */
.stock-update-card{margin-top:22px}
.stock-search-row{display:grid;grid-template-columns:1fr auto;gap:12px;margin-bottom:18px}
.stock-search-row input{border:1px solid #ddd;border-radius:999px;padding:13px 16px;outline:0}
.stock-search-row button{border:0;background:#000;color:#fff;border-radius:999px;padding:12px 18px;font-weight:900;cursor:pointer}
.stock-update-table{width:100%;border-collapse:collapse;table-layout:fixed}
.stock-update-table th{background:#000;color:#fff;padding:12px;text-align:left;font-size:13px}
.stock-update-table td{border-bottom:1px solid #eee;padding:10px}
.stock-update-table input,.stock-update-table select{width:100%;border:1px solid #ddd;border-radius:12px;padding:9px;min-width:0}
.new-stock{background:#f2fff5!important;font-weight:900}
.stock-update-message{margin-top:14px;color:#087a25;font-weight:900}
@media(max-width:1050px){
.stock-update-table,.stock-update-table thead,.stock-update-table tbody,.stock-update-table th,.stock-update-table td,.stock-update-table tr{display:block;width:100%}
.stock-update-table thead{display:none}
.stock-update-table tr{border:1px solid #eee;border-radius:18px;margin-bottom:14px;padding:12px}
.stock-update-table td{border-bottom:0;padding:8px 0}
.stock-update-table td:before{display:block;font-weight:900;margin-bottom:6px;color:#555}
.stock-update-table td:nth-child(1):before{content:"Part No"}
.stock-update-table td:nth-child(2):before{content:"Description"}
.stock-update-table td:nth-child(3):before{content:"Current Stock"}
.stock-update-table td:nth-child(4):before{content:"Action"}
.stock-update-table td:nth-child(5):before{content:"Qty"}
.stock-update-table td:nth-child(6):before{content:"New Stock"}
.stock-update-table td:nth-child(7):before{content:"Location"}
.stock-update-table td:nth-child(8):before{content:"Remarks"}
.stock-search-row{grid-template-columns:1fr}
}

/* V45 simplified stock update and add-part modal */
.stock-action-buttons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.stock-action-buttons button,
.row-save-btn{
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  cursor:pointer;
}

.stock-search-row{
  display:block;
  margin-bottom:18px;
}

.stock-search-row input{
  width:100%;
  border:1px solid #ddd;
  border-radius:999px;
  padding:13px 16px;
  outline:0;
}

.no-scroll-wrap{
  overflow-x:hidden !important;
}

.simple-stock-table{
  width:100% !important;
  min-width:0 !important;
  table-layout:fixed;
  border-collapse:collapse;
}

.simple-stock-table th{
  background:#000;
  color:#fff;
  padding:13px;
  text-align:left;
}

.simple-stock-table td{
  border-bottom:1px solid #eee;
  padding:12px;
}

.simple-stock-table th:nth-child(1),
.simple-stock-table td:nth-child(1){
  width:24%;
}

.simple-stock-table th:nth-child(2),
.simple-stock-table td:nth-child(2){
  width:46%;
}

.simple-stock-table th:nth-child(3),
.simple-stock-table td:nth-child(3){
  width:18%;
}

.simple-stock-table th:nth-child(4),
.simple-stock-table td:nth-child(4){
  width:12%;
}

.simple-stock-table input{
  width:100%;
  min-width:0;
  border:1px solid #ddd;
  border-radius:12px;
  padding:10px;
}

.stock-update-message{
  margin-top:14px;
  color:#087a25;
  font-weight:900;
}

.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
  padding:22px;
}

.modal-overlay.show{
  display:flex;
}

.add-part-modal{
  width:min(980px, 100%);
  max-height:90vh;
  overflow:auto;
  background:#fff;
  border-radius:30px;
  padding:30px;
  box-shadow:0 28px 80px rgba(0,0,0,.35);
}

.modal-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:20px;
}

.modal-head h2{
  margin:0 0 8px;
  font-size:32px;
}

.modal-head p{
  color:#666;
  margin:0;
}

.modal-head > button{
  width:42px;
  height:42px;
  border-radius:50%;
  border:0;
  background:#000;
  color:#fff;
  font-size:26px;
  cursor:pointer;
}

.add-part-form .form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.add-part-form .form-group.full{
  grid-column:1 / -1;
}

.modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:24px;
}

.modal-actions button{
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:14px 24px;
  font-weight:900;
  cursor:pointer;
}

.cancel-modal-btn{
  background:#fff !important;
  color:#000 !important;
  border:1px solid #000 !important;
}

@media(max-width:760px){
  .add-part-form .form-grid{
    grid-template-columns:1fr;
  }

  .stock-action-buttons{
    justify-content:flex-start;
    margin-top:14px;
  }

  .simple-stock-table,
  .simple-stock-table thead,
  .simple-stock-table tbody,
  .simple-stock-table th,
  .simple-stock-table td,
  .simple-stock-table tr{
    display:block;
    width:100% !important;
  }

  .simple-stock-table thead{
    display:none;
  }

  .simple-stock-table tr{
    border:1px solid #eee;
    border-radius:18px;
    padding:12px;
    margin-bottom:14px;
  }

  .simple-stock-table td{
    border-bottom:0;
    padding:8px 0;
  }

  .simple-stock-table td:before{
    display:block;
    font-weight:900;
    color:#555;
    margin-bottom:6px;
  }

  .simple-stock-table td:nth-child(1):before{content:"Part Number";}
  .simple-stock-table td:nth-child(2):before{content:"Description";}
  .simple-stock-table td:nth-child(3):before{content:"Current Quantity";}
  .simple-stock-table td:nth-child(4):before{content:"Save";}
}

/* V46 stock modal/search refinements */
.stock-action-buttons{
  justify-content:flex-end;
}

.stock-search-with-button{
  display:grid !important;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
}

.stock-search-with-button input{
  width:100%;
}

.stock-search-with-button button{
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:13px 22px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}

/* Hide visible scrollbars in modal but keep scrolling */
.add-part-modal{
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.add-part-modal::-webkit-scrollbar{
  width:0 !important;
  height:0 !important;
  display:none !important;
}

.modal-overlay{
  overflow:hidden;
}

/* Clean modal sizing so scrollbar is not visually exposed */
.add-part-modal{
  max-height:88vh;
  padding-right:30px;
}

@media(max-width:760px){
  .stock-search-with-button{
    grid-template-columns:1fr;
  }

  .stock-search-with-button button{
    width:100%;
  }
}

/* V47 fixed modal header/footer */
.add-part-modal{
  display:flex;
  flex-direction:column;
  overflow:hidden !important;
  padding:0 !important;
}

.modal-head{
  position:sticky;
  top:0;
  z-index:20;
  background:#fff;
  padding:30px 30px 18px;
  border-bottom:1px solid #eee;
  margin-bottom:0 !important;
}

.add-part-form{
  overflow-y:auto;
  overflow-x:hidden;
  padding:24px 30px 18px;
  flex:1;
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.add-part-form::-webkit-scrollbar{
  width:0 !important;
  height:0 !important;
  display:none !important;
}

.modal-actions{
  position:sticky;
  bottom:0;
  z-index:20;
  background:#fff;
  padding:18px 30px 26px;
  border-top:1px solid #eee;
  margin-top:0 !important;
}

.modal-actions button{
  min-width:150px;
}

@media(max-width:760px){
  .modal-head{
    padding:22px 20px 16px;
  }

  .add-part-form{
    padding:20px;
  }

  .modal-actions{
    padding:16px 20px 22px;
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .modal-actions button{
    width:100%;
    min-width:0;
  }
}

/* V48 Low Stock warehouse option */
.low-stock-tab{
  border-color:#b45309 !important;
}

.low-stock-tab span{
  background:#b45309 !important;
}

.low-stock-card{
  margin-top:22px;
}

.low-stock-table{
  width:100%;
  min-width:0 !important;
  table-layout:fixed;
  border-collapse:collapse;
}

.low-stock-table th{
  background:#000;
  color:#fff;
  padding:13px;
  text-align:left;
  font-size:13px;
}

.low-stock-table td{
  padding:13px;
  border-bottom:1px solid #eee;
  word-break:break-word;
}

.low-stock-table th:nth-child(1),
.low-stock-table td:nth-child(1){
  width:18%;
}

.low-stock-table th:nth-child(2),
.low-stock-table td:nth-child(2){
  width:30%;
}

.low-stock-table th:nth-child(3),
.low-stock-table td:nth-child(3),
.low-stock-table th:nth-child(4),
.low-stock-table td:nth-child(4),
.low-stock-table th:nth-child(5),
.low-stock-table td:nth-child(5){
  width:11%;
}

.low-stock-table th:nth-child(6),
.low-stock-table td:nth-child(6){
  width:14%;
}

.low-stock-table th:nth-child(7),
.low-stock-table td:nth-child(7){
  width:12%;
}

.low-stock-table input{
  width:100%;
  border:1px solid #ddd;
  border-radius:10px;
  padding:9px;
}

.low-stock-percent,
.low-stock-badge{
  display:inline-block;
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  font-weight:900;
}

.low-stock-percent.danger,
.low-stock-badge.danger{
  background:#ffe8e8;
  color:#b00020;
}

.low-stock-percent.warning,
.low-stock-badge.warning{
  background:#fff4d6;
  color:#9a6500;
}

.low-stock-note{
  margin-top:14px;
  color:#666;
  font-size:13px;
  font-weight:800;
}

@media(max-width:900px){
  .low-stock-table,
  .low-stock-table thead,
  .low-stock-table tbody,
  .low-stock-table th,
  .low-stock-table td,
  .low-stock-table tr{
    display:block;
    width:100% !important;
  }

  .low-stock-table thead{
    display:none;
  }

  .low-stock-table tr{
    border:1px solid #eee;
    border-radius:18px;
    padding:12px;
    margin-bottom:14px;
  }

  .low-stock-table td{
    border-bottom:0;
    padding:8px 0;
  }

  .low-stock-table td:before{
    display:block;
    font-weight:900;
    color:#555;
    margin-bottom:6px;
  }

  .low-stock-table td:nth-child(1):before{content:"Part Number";}
  .low-stock-table td:nth-child(2):before{content:"Description";}
  .low-stock-table td:nth-child(3):before{content:"Original Fill";}
  .low-stock-table td:nth-child(4):before{content:"Current Qty";}
  .low-stock-table td:nth-child(5):before{content:"Stock %";}
  .low-stock-table td:nth-child(6):before{content:"Status";}
  .low-stock-table td:nth-child(7):before{content:"Reorder Qty";}
}

/* V49 refill action */
.low-stock-table th:nth-child(8),
.low-stock-table td:nth-child(8){
  width:10%;
}

.refill-btn{
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:10px 16px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}

@media(max-width:900px){
  .low-stock-table td:nth-child(8):before{content:"Action";}
}

/* V50 Warehouse BOM uploads */
.bom-upload-tab span{
  background:#111 !important;
}

.bom-uploads-card{
  margin-top:22px;
}

.bom-uploads-table,
.bom-view-table{
  width:100%;
  table-layout:fixed;
  border-collapse:collapse;
  min-width:0 !important;
}

.bom-uploads-table th,
.bom-view-table th{
  background:#000;
  color:#fff;
  padding:13px;
  text-align:left;
  font-size:13px;
}

.bom-uploads-table td,
.bom-view-table td{
  border-bottom:1px solid #eee;
  padding:13px;
  word-break:break-word;
}

.bom-uploads-table th:nth-child(1),
.bom-uploads-table td:nth-child(1){width:13%}
.bom-uploads-table th:nth-child(2),
.bom-uploads-table td:nth-child(2){width:14%}
.bom-uploads-table th:nth-child(3),
.bom-uploads-table td:nth-child(3){width:14%}
.bom-uploads-table th:nth-child(4),
.bom-uploads-table td:nth-child(4){width:22%}
.bom-uploads-table th:nth-child(5),
.bom-uploads-table td:nth-child(5){width:8%}
.bom-uploads-table th:nth-child(6),
.bom-uploads-table td:nth-child(6){width:13%}
.bom-uploads-table th:nth-child(7),
.bom-uploads-table td:nth-child(7){width:10%}
.bom-uploads-table th:nth-child(8),
.bom-uploads-table td:nth-child(8){width:8%}

.bom-status{
  display:inline-block;
  border-radius:999px;
  padding:7px 10px;
  font-size:11px;
  font-weight:900;
}

.bom-status.new{background:#e8f1ff;color:#064ca2}
.bom-status.review{background:#fff4d6;color:#9a6500}
.bom-status.quoted{background:#e9f8ee;color:#087a25}
.bom-status.hold{background:#ffe8e8;color:#b00020}

.bom-view-link{
  font-weight:900;
  text-decoration:underline;
}

.bom-view-table input{
  width:100%;
  border:1px solid #ddd;
  border-radius:10px;
  padding:9px;
}

.bom-reply-text{
  width:100%;
  min-height:180px;
  border:1px solid #ddd;
  border-radius:16px;
  padding:14px;
  resize:vertical;
  outline:0;
}

.reply-customer-btn{
  width:100%;
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:13px 18px;
  font-weight:900;
  cursor:pointer;
  margin-top:14px;
}

@media(max-width:950px){
  .bom-uploads-table,
  .bom-uploads-table thead,
  .bom-uploads-table tbody,
  .bom-uploads-table th,
  .bom-uploads-table td,
  .bom-uploads-table tr,
  .bom-view-table,
  .bom-view-table thead,
  .bom-view-table tbody,
  .bom-view-table th,
  .bom-view-table td,
  .bom-view-table tr{
    display:block;
    width:100% !important;
  }

  .bom-uploads-table thead,
  .bom-view-table thead{
    display:none;
  }

  .bom-uploads-table tr,
  .bom-view-table tr{
    border:1px solid #eee;
    border-radius:18px;
    padding:12px;
    margin-bottom:14px;
  }

  .bom-uploads-table td,
  .bom-view-table td{
    border-bottom:0;
    padding:8px 0;
  }

  .bom-uploads-table td:before,
  .bom-view-table td:before{
    display:block;
    font-weight:900;
    color:#555;
    margin-bottom:6px;
  }

  .bom-uploads-table td:nth-child(1):before{content:"BOM ID"}
  .bom-uploads-table td:nth-child(2):before{content:"Customer"}
  .bom-uploads-table td:nth-child(3):before{content:"Company"}
  .bom-uploads-table td:nth-child(4):before{content:"Uploaded File"}
  .bom-uploads-table td:nth-child(5):before{content:"Items"}
  .bom-uploads-table td:nth-child(6):before{content:"Uploaded On"}
  .bom-uploads-table td:nth-child(7):before{content:"Status"}
  .bom-uploads-table td:nth-child(8):before{content:"Action"}

  .bom-view-table td:nth-child(1):before{content:"Part No"}
  .bom-view-table td:nth-child(2):before{content:"Description"}
  .bom-view-table td:nth-child(3):before{content:"Requested Qty"}
  .bom-view-table td:nth-child(4):before{content:"Available Qty"}
  .bom-view-table td:nth-child(5):before{content:"Suggested Alternate"}
  .bom-view-table td:nth-child(6):before{content:"Remarks"}
}

/* V51 Admin login/dashboard */
.admin-login-page,
.admin-dashboard-page{
  padding-top:54px;
  padding-bottom:54px;
}

.admin-login-layout{
  display:grid;
  grid-template-columns:1.05fr 460px;
  gap:28px;
  align-items:start;
}

.admin-login-info{
  background:#000;
  color:#fff;
  border-radius:32px;
  padding:54px;
  min-height:520px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.admin-login-info .eyebrow,
.admin-head .eyebrow{
  color:#fff;
}

.admin-login-info h1,
.admin-head h1{
  font-size:54px;
  line-height:1.05;
  margin:0 0 16px;
  letter-spacing:-2px;
}

.admin-login-info p,
.admin-head p{
  color:#ddd;
  font-size:18px;
  line-height:1.65;
}

.admin-benefits{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:34px;
}

.admin-benefits div{
  background:#111;
  border:1px solid #222;
  border-radius:20px;
  padding:18px;
}

.admin-benefits b{
  display:block;
  margin-bottom:8px;
}

.admin-benefits span{
  display:block;
  color:#cfcfcf;
  font-size:13px;
}

.admin-login-card,
.admin-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:32px;
  padding:30px;
  box-shadow:0 22px 55px rgba(0,0,0,.08);
}

.admin-login-card h2,
.admin-card h2{
  margin:0 0 20px;
  font-size:30px;
  letter-spacing:-.5px;
}

.admin-login-card button,
.admin-card-head button{
  border:0;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:14px 22px;
  font-weight:900;
  cursor:pointer;
}

.admin-head{
  background:#000;
  color:#fff;
  border-radius:32px;
  padding:42px;
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-bottom:24px;
}

.admin-head a{
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:13px 20px;
  font-weight:900;
}

.admin-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-bottom:22px;
}

.admin-stats div,
.revenue-boxes div{
  background:#fff;
  border:1px solid #eee;
  border-radius:24px;
  padding:22px;
}

.admin-stats small,
.revenue-boxes small{
  display:block;
  color:#777;
  text-transform:uppercase;
  font-size:11px;
  font-weight:900;
  margin-bottom:8px;
}

.admin-stats b,
.revenue-boxes b{
  display:block;
  font-size:30px;
  margin-bottom:6px;
}

.admin-stats span,
.revenue-boxes span{
  color:#666;
  font-size:13px;
}

.admin-grid{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:22px;
  margin-bottom:22px;
  align-items:start;
}

.admin-grid.two{
  grid-template-columns:1fr 1fr;
}

.admin-card-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:18px;
}

.admin-card-head p{
  color:#666;
  margin:0;
}

.admin-table-wrap{
  overflow-x:hidden;
}

.admin-table{
  width:100%;
  table-layout:fixed;
  border-collapse:collapse;
}

.admin-table th{
  background:#000;
  color:#fff;
  text-align:left;
  padding:13px;
  font-size:13px;
}

.admin-table td{
  border-bottom:1px solid #eee;
  padding:13px;
  word-break:break-word;
}

.admin-table td a{
  font-weight:900;
  text-decoration:underline;
}

.admin-status{
  display:inline-block;
  border-radius:999px;
  padding:7px 10px;
  font-size:11px;
  font-weight:900;
}

.admin-status.received{background:#f1f1f1;color:#555}
.admin-status.processing{background:#fff4d6;color:#9a6500}
.admin-status.packed{background:#e8f1ff;color:#064ca2}
.admin-status.dispatched{background:#edf5ff;color:#075985}
.admin-status.completed{background:#e9f8ee;color:#087a25}
.admin-status.cancelled{background:#ffe8e8;color:#b00020}

.revenue-boxes{
  display:grid;
  gap:14px;
}

.admin-pill{
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  white-space:nowrap;
}

@media(max-width:1050px){
  .admin-login-layout,
  .admin-grid,
  .admin-grid.two{
    grid-template-columns:1fr;
  }

  .admin-stats,
  .admin-benefits{
    grid-template-columns:1fr 1fr;
  }

  .admin-head{
    display:block;
  }

  .admin-head a{
    display:inline-block;
    margin-top:16px;
  }
}

@media(max-width:760px){
  .admin-stats,
  .admin-benefits{
    grid-template-columns:1fr;
  }

  .admin-login-info h1,
  .admin-head h1{
    font-size:38px;
  }

  .admin-table,
  .admin-table thead,
  .admin-table tbody,
  .admin-table th,
  .admin-table td,
  .admin-table tr{
    display:block;
    width:100%;
  }

  .admin-table thead{
    display:none;
  }

  .admin-table tr{
    border:1px solid #eee;
    border-radius:18px;
    padding:12px;
    margin-bottom:14px;
  }

  .admin-table td{
    border-bottom:0;
    padding:8px 0;
  }
}

/* V52 Business analytics */
.business-growth-list{
  display:grid;
  gap:14px;
}

.growth-item{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  border:1px solid #eee;
  border-radius:20px;
  padding:18px;
}

.growth-item b{
  display:block;
  margin-bottom:5px;
  font-size:18px;
}

.growth-item span{
  color:#666;
  font-size:13px;
}

.growth-item strong{
  font-size:28px;
}

.growth-item.positive strong{
  color:#087a25;
}

.growth-item.negative strong{
  color:#b00020;
}

.customer-analytics-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.customer-analytics-grid > div{
  border:1px solid #eee;
  border-radius:20px;
  padding:20px;
}

.customer-analytics-grid small{
  display:block;
  color:#777;
  text-transform:uppercase;
  font-size:11px;
  font-weight:900;
  margin-bottom:8px;
}

.customer-analytics-grid b{
  display:block;
  font-size:28px;
  margin-bottom:5px;
}

.customer-analytics-grid span{
  color:#666;
  font-size:13px;
}

.insight-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.insight-card{
  border:1px solid #eee;
  border-radius:22px;
  padding:22px;
  background:#fff;
}

.insight-card h3{
  margin:0 0 12px;
  font-size:20px;
}

.insight-card p{
  margin:0;
  color:#666;
  line-height:1.6;
}

.insight-card.positive{
  background:#edfdf2;
  border-color:#b7e5c5;
}

.insight-card.warning{
  background:#fff8e8;
  border-color:#f0d899;
}

@media(max-width:1000px){
  .insight-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:760px){
  .customer-analytics-grid,
  .insight-grid{
    grid-template-columns:1fr;
  }

  .growth-item{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* V53 advanced business insights */
.single-column{
  grid-template-columns:1fr !important;
}

.recommendation-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.recommendation-card{
  display:flex;
  gap:18px;
  align-items:flex-start;
  border:1px solid #eee;
  border-radius:22px;
  padding:22px;
  background:#fff;
}

.recommendation-icon{
  width:54px;
  height:54px;
  border-radius:18px;
  background:#000;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  font-weight:900;
  flex-shrink:0;
}

.recommendation-card h3{
  margin:0 0 10px;
  font-size:20px;
}

.recommendation-card p{
  margin:0;
  color:#666;
  line-height:1.65;
}

@media(max-width:900px){
  .recommendation-grid{
    grid-template-columns:1fr;
  }

  .recommendation-card{
    flex-direction:column;
  }
}

/* V55 compact admin dashboard with tabs/charts */
.compact-admin-page{
  padding-top:32px;
}

.compact-head{
  padding:28px 34px;
  margin-bottom:16px;
}

.compact-head h1{
  font-size:42px;
}

.compact-head p{
  font-size:15px;
}

.compact-stats{
  grid-template-columns:repeat(6,1fr);
  gap:10px;
  margin-bottom:14px;
}

.compact-stats div{
  padding:15px;
  border-radius:18px;
}

.compact-stats b{
  font-size:22px;
}

.admin-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:16px;
  position:sticky;
  top:85px;
  z-index:12;
  background:#f7f7f7;
  padding:8px 0;
}

.admin-tab{
  border:1px solid #000;
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:10px 16px;
  font-weight:900;
  cursor:pointer;
}

.admin-tab.active{
  background:#000;
  color:#fff;
}

.admin-tab-panel{
  display:none;
}

.admin-tab-panel.active{
  display:block;
}

.compact-chart-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr;
  gap:14px;
}

.compact-card{
  padding:20px;
  border-radius:22px;
}

.compact-card h2{
  font-size:22px;
  margin-bottom:14px;
}

.bar-chart{
  height:230px;
  display:flex;
  align-items:end;
  gap:12px;
  padding-top:20px;
}

.bar-chart div{
  flex:1;
  background:#000;
  border-radius:14px 14px 0 0;
  min-height:40px;
  position:relative;
  display:flex;
  justify-content:center;
}

.bar-chart span{
  position:absolute;
  bottom:-24px;
  font-size:12px;
  font-weight:900;
}

.bar-chart b{
  position:absolute;
  top:-20px;
  font-size:11px;
  white-space:nowrap;
}

.donut-wrap{
  display:flex;
  align-items:center;
  gap:18px;
}

.donut-chart{
  width:135px;
  height:135px;
  border-radius:50%;
  background:conic-gradient(#087a25 0 58%, #9a6500 58% 66%, #064ca2 66% 76%, #b00020 76% 84%, #eee 84% 100%);
  position:relative;
  flex-shrink:0;
}

.donut-chart:after{
  content:"";
  position:absolute;
  inset:28px;
  background:#fff;
  border-radius:50%;
}

.donut-legend{
  display:grid;
  gap:8px;
  font-size:12px;
  font-weight:800;
}

.donut-legend i{
  width:10px;
  height:10px;
  border-radius:50%;
  display:inline-block;
  margin-right:6px;
}

.c1{background:#087a25}.c2{background:#9a6500}.c3{background:#064ca2}.c4{background:#b00020}

.growth-mini-list{
  display:grid;
  gap:10px;
}

.growth-mini-list div{
  display:flex;
  justify-content:space-between;
  border-bottom:1px solid #eee;
  padding-bottom:8px;
}

.positive-text{color:#087a25}
.negative-text{color:#b00020}

.horizontal-bars{
  display:grid;
  gap:12px;
}

.horizontal-bars div{
  display:grid;
  grid-template-columns:80px 1fr 44px;
  align-items:center;
  gap:8px;
  font-size:12px;
}

.horizontal-bars span{
  height:10px;
  background:#eee;
  border-radius:999px;
  overflow:hidden;
}

.horizontal-bars i{
  display:block;
  height:100%;
  background:#000;
  border-radius:999px;
}

.compact-two{
  gap:14px;
}

.compact-table th,
.compact-table td{
  padding:9px;
  font-size:13px;
}

.compact-revenue{
  grid-template-columns:1fr 1fr;
}

.compact-revenue div{
  padding:14px;
}

.compact-metrics{
  grid-template-columns:repeat(4,1fr);
}

.compact-recommendations{
  grid-template-columns:repeat(4,1fr);
}

.compact-recommendations .recommendation-card{
  padding:16px;
  gap:12px;
}

.compact-recommendations .recommendation-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  font-size:18px;
}

.compact-recommendations h3{
  font-size:16px;
}

.compact-recommendations p{
  font-size:13px;
  line-height:1.45;
}

@media(max-width:1200px){
  .compact-stats{
    grid-template-columns:repeat(3,1fr);
  }

  .compact-chart-grid,
  .compact-recommendations{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:760px){
  .compact-stats,
  .compact-chart-grid,
  .compact-recommendations,
  .compact-metrics,
  .compact-revenue{
    grid-template-columns:1fr;
  }

  .admin-tabs{
    position:static;
  }

  .donut-wrap{
    flex-direction:column;
    align-items:flex-start;
  }
}


/* Cart badge final override for Products page */
.cart-link-with-badge,
.cart-link{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  line-height:1 !important;
}

.cart-badge{
  min-width:20px !important;
  height:20px !important;
  padding:0 6px !important;
  border-radius:999px !important;
  background:#000 !important;
  color:#fff !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:11px !important;
  font-weight:900 !important;
  line-height:20px !important;
}

.cart-link-with-badge:hover,
.cart-link:hover{
  background:#000 !important;
  color:#fff !important;
  text-decoration:none !important;
}

.cart-link-with-badge:hover .cart-badge,
.cart-link:hover .cart-badge{
  background:#fff !important;
  color:#000 !important;
}


/* V60 categories listing page + cart badge */
.cart-link-with-badge{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  position:relative;
  min-height:42px;
}

.cart-badge{
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:#e11d2e;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:900;
  line-height:1;
}

.categories-page{
  max-width:1320px;
}

.all-categories-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}

.all-category-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:28px 26px;
  min-height:165px;
  display:grid;
  grid-template-columns:30px 1fr;
  gap:18px;
  align-items:flex-start;
  color:#000;
  transition:.22s ease;
}

.all-category-card:hover{
  background:#000;
  border-color:#000;
  color:#fff;
  transform:translateY(-4px);
  box-shadow:0 18px 38px rgba(0,0,0,.18);
}

.all-category-icon{
  width:24px;
  height:24px;
  margin-top:4px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.all-category-icon img{
  width:22px !important;
  height:22px !important;
  display:block;
  object-fit:contain;
  transition:.22s ease;
}

.all-category-card:hover .all-category-icon img{
  filter:brightness(0) invert(1);
}

.all-category-content h3{
  margin:0 0 10px;
  color:inherit;
  font-size:24px;
  line-height:1.12;
  letter-spacing:-.5px;
  font-weight:900;
}

.all-category-content p{
  margin:0;
  color:#333;
  font-size:16px;
  line-height:1.55;
}

.all-category-card:hover .all-category-content p{
  color:#ddd;
}

@media(max-width:1050px){
  .all-categories-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media(max-width:620px){
  .all-categories-grid{
    grid-template-columns:1fr;
  }

  .all-category-card{
    padding:24px;
    min-height:145px;
    grid-template-columns:28px 1fr;
    gap:16px;
  }

  .all-category-content h3{
    font-size:21px;
  }

  .all-category-content p{
    font-size:14px;
  }
}

/* V70 final categories page layout fix */
.categories-only-page{
  padding-top:28px !important;
}

.categories-only-page .category-title{
  display:none !important;
}

.categories-only-page .all-categories-grid,
.all-categories-grid{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:18px !important;
  margin:0 !important;
  padding:0 !important;
  align-items:stretch !important;
}

.categories-only-page .all-category-card,
.all-category-card{
  background:#fff !important;
  border:1px solid var(--line) !important;
  border-radius:22px !important;
  padding:28px 26px !important;
  min-height:166px !important;
  display:grid !important;
  grid-template-columns:30px minmax(0, 1fr) !important;
  gap:18px !important;
  align-items:start !important;
  color:#000 !important;
  overflow:hidden !important;
  transition:.22s ease !important;
}

.categories-only-page .all-category-card:hover,
.all-category-card:hover{
  background:#000 !important;
  border-color:#000 !important;
  color:#fff !important;
  transform:translateY(-4px) !important;
  box-shadow:0 18px 38px rgba(0,0,0,.18) !important;
}

.categories-only-page .all-category-icon,
.all-category-icon{
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  max-width:24px !important;
  margin-top:5px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}

.categories-only-page .all-category-icon img,
.all-category-icon img{
  width:22px !important;
  height:22px !important;
  min-width:22px !important;
  max-width:22px !important;
  min-height:22px !important;
  max-height:22px !important;
  object-fit:contain !important;
  display:block !important;
}

.categories-only-page .all-category-card:hover .all-category-icon img,
.all-category-card:hover .all-category-icon img{
  filter:brightness(0) invert(1) !important;
}

.categories-only-page .all-category-content h3,
.all-category-content h3{
  margin:0 0 10px !important;
  color:inherit !important;
  font-size:24px !important;
  line-height:1.12 !important;
  letter-spacing:-.5px !important;
  font-weight:900 !important;
}

.categories-only-page .all-category-content p,
.all-category-content p{
  margin:0 !important;
  color:#333 !important;
  font-size:16px !important;
  line-height:1.55 !important;
}

.categories-only-page .all-category-card:hover .all-category-content p,
.all-category-card:hover .all-category-content p{
  color:#ddd !important;
}

/* fallback if an older categories view still uses category-card classes */
.categories-only-page .category-grid{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:18px !important;
  margin:0 !important;
}

.categories-only-page .category-card{
  display:grid !important;
  grid-template-columns:30px minmax(0, 1fr) !important;
  gap:18px !important;
  align-items:start !important;
  padding:28px 26px !important;
  min-height:166px !important;
  border-radius:22px !important;
}

.categories-only-page .category-icon{
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  max-width:24px !important;
  margin-top:5px !important;
  overflow:hidden !important;
}

.categories-only-page .category-icon img{
  width:22px !important;
  height:22px !important;
  min-width:22px !important;
  max-width:22px !important;
  min-height:22px !important;
  max-height:22px !important;
  object-fit:contain !important;
  display:block !important;
}

@media(max-width:1050px){
  .categories-only-page .all-categories-grid,
  .all-categories-grid,
  .categories-only-page .category-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

@media(max-width:620px){
  .categories-only-page .all-categories-grid,
  .all-categories-grid,
  .categories-only-page .category-grid{
    grid-template-columns:1fr !important;
  }

  .categories-only-page .all-category-card,
  .all-category-card,
  .categories-only-page .category-card{
    padding:24px !important;
    min-height:145px !important;
    grid-template-columns:28px minmax(0, 1fr) !important;
    gap:16px !important;
  }

  .categories-only-page .all-category-content h3,
  .all-category-content h3{
    font-size:21px !important;
  }

  .categories-only-page .all-category-content p,
  .all-category-content p{
    font-size:14px !important;
  }
}


/* V80 selected category icon in title */
.category-title-row{
  display:flex;
  align-items:center;
  gap:16px;
}

.category-title-icon{
  width:54px;
  height:54px;
  min-width:54px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}

.category-title-icon img{
  width:38px;
  height:38px;
  display:block;
  object-fit:contain;
}

.category-title-copy{
  min-width:0;
}

.category-title-copy h1{
  margin:0 0 8px;
}

.category-title-copy p{
  margin:0;
  color:var(--muted);
}

@media(max-width:620px){
  .category-title-row{
    align-items:flex-start;
  }

  .category-title-icon{
    width:46px;
    height:46px;
    min-width:46px;
  }

  .category-title-icon img{
    width:30px;
    height:30px;
  }
}
