
:root{
  --black:#050505;
  --white:#ffffff;
  --gray:#666;
  --soft:#f6f6f6;
  --line:#e7e7e7;
  --bg:#fbfbfb;
}
*{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:1240px;margin:auto;padding:8px 20px;display:flex;gap:24px;justify-content:center;flex-wrap:wrap;letter-spacing:.5px}
.header{background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}
.header-inner{max-width:1240px;margin:auto;display:flex;align-items:center;gap:22px;padding:14px 20px}
.logo{height:58px;display:block}
.brand{display:flex;align-items:center}
.search{flex:1;display:flex;min-width:260px;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 20px;font-weight:bold;cursor:pointer}
.nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:14px;font-weight:600}
.nav a{padding:8px 0}
.cart-link{border:1px solid #000;border-radius:999px;padding:8px 14px!important}
.hero-new{max-width:1240px;margin:24px auto 0;padding:48px 20px 26px;display:grid;grid-template-columns:1.15fr .85fr;gap:28px;align-items:center}
.hero-content{background:#fff;border:1px solid var(--line);border-radius:28px;padding:58px;box-shadow:0 22px 60px rgba(0,0,0,.08);position:relative;overflow:hidden}
.hero-content:after{position:absolute;right:-90px;top:-90px;width:260px;height:260px;border:38px solid #f0f0f0;border-radius:50%}
.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:800;color:#111;margin:0 0 12px}
.hero h1{font-size:54px;line-height:1.02;margin:0 0 18px;letter-spacing:-2px;max-width:780px}
.hero-sub{font-size:18px;line-height:1.6;color:#555;max-width:720px;margin-bottom:22px}
.btn{display:inline-block;background:#000;color:#fff;padding:13px 22px;border-radius:999px;margin:6px 6px 6px 0;font-weight:800;border:1px solid #000;transition:.2s}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.15)}
.btn.light{background:#fff;color:#000}
.btn.ghost{background:#f3f3f3;color:#000;border-color:#f3f3f3}
.btn.small{font-size:13px;padding:10px 16px}
.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:28px}
.trust-row div{border-top:1px solid #ddd;padding-top:14px}
.trust-row b{display:block;font-size:22px}
.trust-row span{color:#666;font-size:13px}
.hero-panel{background:#070707;color:#fff;border-radius:28px;padding:24px;box-shadow:0 22px 60px rgba(0,0,0,.2)}
.panel-header{display:flex;align-items:center;gap:8px;border-bottom:1px solid #333;padding-bottom:16px}
.dot{width:10px;height:10px;border-radius:50%;background:#fff;display:inline-block;opacity:.8}
.part-list{margin-top:18px}
.part-list div{display:flex;justify-content:space-between;gap:20px;border:1px solid #222;border-radius:16px;padding:17px;margin-bottom:12px;background:#101010}
.part-list span{color:#ddd}
.part-list b{white-space:nowrap}
.container{max-width:1240px;margin:auto;padding:34px 20px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:22px 0}
.section-head h2{font-size:34px;margin:0;letter-spacing:-1px}
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.split-section{margin:46px 0;background:#000;color:#fff;border-radius:28px;padding:34px;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}
.split-section h2{font-size:34px;line-height:1.1;margin:0 0 14px}
.split-section p{color:#ddd;line-height:1.6}
.bom-box{background:#fff;color:#000;border-radius:22px;padding:20px}
.bom-box table{width:100%;border-collapse:collapse;margin-bottom:16px}
.bom-box th,.bom-box td{border-bottom:1px solid #eee;padding:12px;text-align:left}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.product-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;transition:.2s}
.product-card:hover{box-shadow:0 16px 34px rgba(0,0,0,.08);transform:translateY(-4px)}
.product-img{height:145px;border-radius:18px;background:linear-gradient(135deg,#000,#444);color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:900;letter-spacing:2px;margin-bottom:16px}
.product-card h3{margin:0 0 8px}
.product-card p{color:#666;min-height:42px}
.product-meta{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee;padding-top:14px;margin-top:12px}
.stock{color:#0a7a25;font-weight:bold}
.why-section{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:18px;margin-top:48px}
.why-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px}
.why-card.dark{background:#000;color:#fff}
.why-card h2,.why-card h3{margin-top:0}
.why-card p{color:#666;line-height:1.5}
.why-card.dark p{color:#ddd}
.footer{background:#050505;color:#fff;margin-top:50px;padding:42px 20px}
.footer-grid{max-width:1240px;margin:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px}
.footer a{display:block;color:#ddd;margin:8px 0}
.footer p{color:#ddd}
@media(max-width:980px){
  .header-inner{display:block}
  .search{margin:14px 0}
  .hero-new,.split-section{grid-template-columns:1fr}
  .hero-content{padding:34px}
  .hero h1{font-size:38px}
  .category-grid,.product-grid,.why-section{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:620px){
  .category-grid,.product-grid,.why-section,.trust-row{grid-template-columns:1fr}
  .hero h1{font-size:32px}
  .logo{height:48px}
  .nav{gap:10px}
}

/* Rolling live prices and offers */
.deals-panel{overflow:hidden}
.ticker-window{
  height:252px;
  overflow:hidden;
  margin-top:18px;
  position:relative;
}
.ticker-window:before,
.ticker-window:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:28px;
  z-index:2;
  pointer-events:none;
}
.ticker-window:before{top:0;background:linear-gradient(#070707,rgba(7,7,7,0))}
.ticker-window:after{bottom:0;background:linear-gradient(rgba(7,7,7,0),#070707)}
.deal-ticker{
  display:flex;
  flex-direction:column;
  gap:12px;
  animation:rollDeals 18s linear infinite;
}
.deals-panel:hover .deal-ticker{animation-play-state:paused}
.deal-row{
  min-height:54px;
  display:grid;
  grid-template-columns:1fr auto auto;
  align-items:center;
  gap:12px;
  border:1px solid #242424;
  border-radius:16px;
  padding:12px 14px;
  background:#101010;
}
.deal-row span{display:block;color:#fff;font-weight:700}
.deal-row small{display:block;color:#aaa;font-size:11px;margin-top:3px}
.deal-row b{color:#fff;white-space:nowrap}
.deal-row em{
  font-style:normal;
  background:#fff;
  color:#000;
  border-radius:999px;
  padding:5px 8px;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.offer-strip{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.offer-strip span{
  border:1px solid #333;
  background:#0f0f0f;
  color:#ddd;
  border-radius:999px;
  padding:8px 10px;
  font-size:12px;
}
@keyframes rollDeals{
  0%{transform:translateY(0)}
  100%{transform:translateY(-396px)}
}
@media(max-width:620px){
  .deal-row{grid-template-columns:1fr auto}
  .deal-row em{grid-column:1 / -1;width:max-content}
}

/* Better common footer */
.footer-pro{
  background:#050505;
  color:#fff;
  margin-top:60px;
  padding:0;
}
.footer-top{
  max-width:1240px;
  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:1240px;
  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:1240px;
  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){
  .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){
  .footer-top{grid-template-columns:1fr}
  .footer-newsletter form{display:block}
  .footer-newsletter input{width:100%;margin-bottom:10px}
}

/* Header menu upgrades */
.nav-dropdown{position:relative}
.nav-drop-trigger{display:inline-block}
.nav-drop-menu{
  position:absolute;
  top:34px;
  left:-18px;
  width:220px;
  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:#f3f3f3;text-decoration:none}
.register-link{background:#000;color:#fff;border-radius:999px;padding:8px 14px!important}

/* Better index quick actions */
.quick-access{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:20px;
  position:relative;
  z-index:1;
}
.quick-access a{
  border:1px solid #e6e6e6;
  background:#fafafa;
  border-radius:18px;
  padding:14px;
  transition:.2s;
}
.quick-access a:hover{border-color:#000;transform:translateY(-2px)}
.quick-access b{display:block;margin-bottom:5px;font-size:15px}
.quick-access span{display:block;color:#666;font-size:12px;line-height:1.4}
.account-bom-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin:8px 0 36px;
}
.account-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  transition:.2s;
  min-height:170px;
}
.account-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(0,0,0,.08);border-color:#000}
.account-card span{
  display:inline-block;
  background:#f1f1f1;
  border-radius:999px;
  padding:7px 11px;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.8px;
}
.account-card h3{font-size:24px;margin:18px 0 8px;letter-spacing:-.4px}
.account-card p{color:#666;line-height:1.5;margin:0}
.account-card.featured{background:#000;color:#fff;border-color:#000}
.account-card.featured span{background:#fff;color:#000}
.account-card.featured p{color:#ddd}
.bom-actions{display:flex;gap:8px;flex-wrap:wrap}
.bom-box .btn.light{background:#fff;color:#000}

@media(max-width:980px){
  .quick-access,.account-bom-strip{grid-template-columns:1fr}
  .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}
}


/* ===== 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;
  }
}

.floating-social{
  position:fixed;
  right:22px;
  bottom:22px;
  top:auto;
  transform:none;
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:9999;
}

.floating-social a{
  width:52px;
  height:52px;
  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:translateY(-4px) scale(1.06);
}

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

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


/* 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;
  }
}

/* Logged in account menu */
.account-menu{
  display:flex;
  align-items:center;
  gap:12px;
}

.account-user{
  font-size:13px;
  font-weight:900;
  color:#111;
  white-space:nowrap;
}

.account-pill{
  background:#000;
  color:#fff !important;
  border-radius:999px;
  padding:9px 17px!important;
  display:inline-block;
}

.account-drop{
  right:0;
  left:auto;
}

@media(max-width:980px){
  .account-menu{
    flex-wrap:wrap;
  }
}

/* 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{
  
}

.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;
  }
}
/* Product card link fix */
.product-card .card-actions{
  margin-top:16px;
  display:block;
}

.product-card .card-actions a{
  display:block;
  width:100%;
  background:#000;
  color:#fff;
  border-radius:999px;
  padding:11px 14px;
  text-align:center;
  font-weight:900;
  font-size:13px;
  line-height:1.2;
  word-break:normal;
  overflow-wrap:normal;
}

/* Floating icons bottom-right final override */
.floating-social{
  position:fixed !important;
  right:22px !important;
  bottom:22px !important;
  top:auto !important;
  transform:none !important;
  z-index:9999 !important;
}
/* =========================
   CATEGORY ICONS - FINAL FIX
   Keeps icon small, left aligned, and inverts on hover.
   ========================= */

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

a.category-card,
.category-card{
    display:flex !important;
    align-items:flex-start !important;
    gap:16px !important;
    padding:26px 28px !important;
    min-height:138px !important;
    background:#fff !important;
    border:1px solid var(--line) !important;
    border-radius:22px !important;
    color:#000 !important;
    transition:background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease !important;
}

a.category-card .category-icon,
.category-card .category-icon{
    flex:0 0 36px !important;
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    max-width:36px !important;
    margin-top:4px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    overflow:hidden !important;
}

a.category-card .category-icon img,
.category-card .category-icon img{
    width:32px !important;
    height:32px !important;
    max-width:32px !important;
    max-height:32px !important;
    min-width:32px !important;
    min-height:32px !important;
    display:block !important;
    object-fit:contain !important;
    filter:brightness(0) !important;
    transition:filter .25s ease !important;
}

a.category-card .category-content,
.category-card .category-content{
    flex:1 !important;
    min-width:0 !important;
}

a.category-card h3,
.category-card h3{
    margin:0 0 10px !important;
    font-size:22px !important;
    font-weight:900 !important;
    line-height:1.25 !important;
    color:#000 !important;
    transition:color .25s ease !important;
}

a.category-card p,
.category-card p{
    margin:0 !important;
    color:#555 !important;
    font-size:16px !important;
    line-height:1.55 !important;
    transition:color .25s ease !important;
}

a.category-card:hover,
.category-card:hover,
a.category-card:focus,
.category-card:focus{
    background:#000 !important;
    border-color:#000 !important;
    color:#fff !important;
    transform:translateY(-4px) !important;
    box-shadow:0 16px 34px rgba(0,0,0,.18) !important;
}

a.category-card:hover h3,
.category-card:hover h3,
a.category-card:focus h3,
.category-card:focus h3{
    color:#fff !important;
}

a.category-card:hover p,
.category-card:hover p,
a.category-card:focus p,
.category-card:focus p{
    color:#d9d9d9 !important;
}

a.category-card:hover .category-icon img,
.category-card:hover .category-icon img,
a.category-card:focus .category-icon img,
.category-card:focus .category-icon img{
    filter:brightness(0) invert(1) !important;
}

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

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

    a.category-card,
    .category-card{
        padding:22px !important;
        gap:14px !important;
        min-height:126px !important;
    }

    a.category-card .category-icon,
    .category-card .category-icon{
        width:32px !important;
        height:32px !important;
        min-width:32px !important;
        max-width:32px !important;
        flex-basis:32px !important;
    }

    a.category-card .category-icon img,
    .category-card .category-icon img{
        width:28px !important;
        height:28px !important;
        max-width:28px !important;
        max-height:28px !important;
        min-width:28px !important;
        min-height:28px !important;
    }

    a.category-card h3,
    .category-card h3{
        font-size:20px !important;
    }

    a.category-card p,
    .category-card p{
        font-size:15px !important;
    }
}



/* Cart badge final override */
.cart-link-with-badge{
  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:#e11d2e !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{
  background:#000 !important;
  color:#fff !important;
}

.cart-link-with-badge:hover .cart-badge{
  background:#fff !important;
  color:#000 !important;
}
