/* ============================================
   MICROSOLDERTECH — Design System
   Signature element: the "trace" — a copper/violet
   PCB trace line with via-dots, echoing the literal
   work of tracing and repairing board circuitry.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  /* Color */
  --bg:        #FBFAFD;
  --surface:   #FFFFFF;
  --surface-2: #F4F0FB;
  --line:      #E4DEF0;
  --purple-deep:   #5B21B6;
  --purple:        #7C3AED;
  --purple-bright: #6D28D9;
  --copper:    #B76E3E;
  --copper-bright: #A2571F;
  --text:      #1D1730;
  --text-dim:  #5C5470;
  --text-faint:#918A9F;

  /* Type */
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  /* Layout */
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 3px;
}

*{ box-sizing: border-box; margin:0; padding:0; }

html{ scroll-behavior: smooth; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -5%, rgba(124,58,237,0.07), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 20%, rgba(183,110,62,0.05), transparent 55%);
  background-repeat: no-repeat;
}

a{ color: inherit; text-decoration: none; }
ul{ list-style: none; }
img{ max-width: 100%; display:block; }

.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

::selection{ background: var(--purple); color: #fff; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:focus-visible{
  outline: 2px solid var(--purple-bright);
  outline-offset: 3px;
}

/* ---------- Eyebrow / mono labels ---------- */
.eyebrow{
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-bright);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--copper-bright);
  box-shadow: 0 0 8px var(--copper-bright);
  flex-shrink: 0;
}

/* ---------- Nav ---------- */
.site-nav{
  position: sticky; top:0; z-index: 100;
  background: rgba(251,250,253,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}
.logo{
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display:flex; align-items:center; gap: 10px;
}
.logo .pad{
  width: 9px; height: 9px;
  border-radius: 1px;
  background: var(--copper-bright);
  box-shadow: 0 0 6px rgba(162,87,31,0.35);
  transform: rotate(45deg);
  flex-shrink:0;
}
.logo .accent{ color: var(--purple-bright); }
.logo img{ height: 34px; width: auto; display:block; }
.footer-grid .logo img{ height: 30px; }

.nav-links{
  display:flex; align-items:center; gap: 36px;
  margin-left: 40px;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.nav-links a{
  color: var(--text-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active{ color: var(--text); }
.nav-links a.active::after{
  content:'';
  position:absolute; left:0; right:0; bottom:-2px;
  height: 1px; background: var(--copper-bright);
}
.nav-cta{
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 10px 18px;
  border: 1px solid var(--purple);
  border-radius: var(--radius);
  color: var(--text) !important;
  background: rgba(124,58,237,0.07);
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover{ background: var(--purple); border-color: var(--purple); }

.nav-toggle{ display:none; }

/* ---------- Language switcher ---------- */
.lang-switch{
  display:flex; align-items:center; border: 1px solid var(--line);
  border-radius: 20px; overflow:hidden; margin-left: 28px; margin-right: 8px;
}
.lang-btn{
  font-family: var(--mono); font-size: 0.72rem; font-weight:500;
  padding: 6px 12px; background: none; border:none; cursor:pointer;
  color: var(--text-faint);
}
.lang-btn.active{ background: var(--purple); color:#fff; }
@media (max-width: 900px){
  .lang-switch{ margin-left: 0; margin-right: 0; margin-bottom: 20px; }
}

@media (max-width: 900px){
  .nav-links{
    position: fixed; inset: 76px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px var(--pad);
    gap: 24px;
    margin-left: 0;
    font-size: 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-toggle{
    display:flex; flex-direction:column; gap:5px;
    background:none; border:none; cursor:pointer; padding: 8px;
    z-index: 101;
  }
  .nav-toggle span{ width:22px; height:2px; background: var(--text); display:block; }
}

/* ---------- Trace line (signature element) ---------- */
.trace-rule{
  position: relative;
  height: 1px;
  background: var(--line);
  margin: 0;
  overflow: visible;
}
.trace-rule::before{
  content:'';
  position:absolute; top:-2px; left:0;
  width: 5px; height:5px;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 10px var(--purple-bright);
}

.section{ padding: 96px 0; position: relative; }
.section-tight{ padding: 64px 0; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--mono);
  font-size: 0.85rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  cursor:pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color:#fff;
  box-shadow: 0 4px 18px rgba(124,58,237,0.22);
}
.btn-primary:hover{ box-shadow: 0 6px 22px rgba(124,58,237,0.32); }
.btn-ghost{
  border-color: var(--line);
  color: var(--text);
  background: rgba(124,58,237,0.02);
}
.btn-ghost:hover{ border-color: var(--copper-bright); }
.btn-arrow::after{ content:'→'; transition: transform 0.15s ease; }
.btn-arrow:hover::after{ transform: translateX(3px); }

/* ---------- Headings ---------- */
h1,h2,h3,h4{ font-family: var(--display); font-weight:600; line-height:1.15; letter-spacing:-0.01em; }
h1{ font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight:700; }
h2{ font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3{ font-size: 1.3rem; }
.lede{ font-size: 1.15rem; color: var(--text-dim); max-width: 56ch; }
p{ color: var(--text-dim); }

/* ---------- Hero ---------- */
.hero{
  padding: 100px 0 80px;
  position: relative;
}
.hero-grid{
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items:center;
}
@media (max-width: 900px){ .hero-grid{ grid-template-columns: 1fr; } }

.hero h1{ margin: 20px 0 22px; }
.hero h1 .hl{ color: var(--purple-bright); }
.hero-actions{ display:flex; gap:16px; margin-top: 34px; flex-wrap:wrap; }

.hero-diagram{ width:100%; height:auto; }

/* ---------- Cards ---------- */
.card-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}
@media (max-width: 860px){ .card-grid{ grid-template-columns: 1fr; } }

.card{
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s ease;
  position: relative;
}
.card:hover{ background: var(--surface-2); }
.card .idx{
  font-family: var(--mono); font-size: 0.75rem; color: var(--text-faint);
}
.card h3{ margin: 14px 0 10px; }
.card p{ font-size: 0.94rem; }
.card a.card-link{
  display:inline-block; margin-top: 18px;
  font-family: var(--mono); font-size: 0.78rem; color: var(--copper-bright);
}

/* ---------- Section header ---------- */
.section-head{ max-width: 640px; margin-bottom: 12px; }
.section-head h2{ margin: 14px 0 16px; }

/* ---------- Stat / why strip ---------- */
.why-list{
  display:grid; grid-template-columns: repeat(2,1fr); gap: 28px 48px;
  margin-top: 44px;
}
@media (max-width: 700px){ .why-list{ grid-template-columns: 1fr; } }
.why-item{ display:flex; gap:16px; }
.why-item .dot{
  width:8px; height:8px; margin-top:8px; flex-shrink:0;
  background: var(--purple-bright); border-radius:50%;
  box-shadow: 0 0 8px var(--purple-bright);
}
.why-item h4{ font-family: var(--body); font-weight:600; font-size:1rem; margin-bottom:4px; color: var(--text); }
.why-item p{ font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(124,58,237,0.05), transparent);
  padding: 72px 0;
  text-align:center;
}
.cta-band h2{ margin-bottom: 18px; }
.cta-band p{ margin: 0 auto 32px; }

/* ---------- Footer ---------- */
footer{ padding: 64px 0 40px; border-top: 1px solid var(--line); }
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 760px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
.footer-grid h5{
  font-family: var(--mono); font-size: 0.75rem; letter-spacing:0.08em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px;
}
.footer-grid ul li{ margin-bottom: 10px; }
.footer-grid ul li a{ color: var(--text-dim); font-size: 0.92rem; }
.footer-grid ul li a:hover{ color: var(--copper-bright); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  font-family: var(--mono); font-size: 0.75rem; color: var(--text-faint);
  flex-wrap: wrap; gap:12px;
}

/* ---------- Page header (interior pages) ---------- */
.page-header{ padding: 64px 0 48px; }
.page-header .eyebrow{ margin-bottom: 18px; }

/* ---------- Services page ---------- */
.device-section{ padding: 72px 0; border-top: 1px solid var(--line); }
.device-head{ display:flex; align-items:baseline; gap:18px; margin-bottom: 36px; flex-wrap: wrap; }
.device-head .tag{
  font-family: var(--mono); font-size: 0.72rem; color: var(--copper-bright);
  border: 1px solid var(--line); padding: 4px 10px; border-radius: 20px;
}
.repair-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px){ .repair-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .repair-grid{ grid-template-columns: 1fr; } }
.repair-item{
  border: 1px solid var(--line); padding: 22px 22px 24px; border-radius: var(--radius);
  background: var(--surface);
}
.repair-item h4{ font-family: var(--body); font-weight:600; font-size: 0.98rem; margin-bottom: 8px; color: var(--text); }
.repair-item p{ font-size: 0.87rem; margin:0; }
.repair-item .num{ font-family: var(--mono); font-size:0.7rem; color: var(--text-faint); display:block; margin-bottom:10px; }
.repair-item .repair-icon{ font-size: 1.6rem; display:block; margin-bottom: 12px; line-height:1; }

/* ---------- Gallery ---------- */
.gallery-filters{ display:flex; gap:10px; flex-wrap:wrap; margin: 36px 0 40px; }
.filter-btn{
  font-family: var(--mono); font-size: 0.78rem;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 20px;
  color: var(--text-dim); cursor:pointer; background: transparent;
  transition: all 0.15s ease;
}
.filter-btn:hover{ border-color: var(--copper-bright); color: var(--text); }
.filter-btn.active{ background: var(--purple); border-color: var(--purple); color:#fff; }

.gallery-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 900px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .gallery-grid{ grid-template-columns: 1fr; } }

.gallery-card{
  border: 1px solid var(--line); border-radius: var(--radius); overflow:hidden;
  background: var(--surface);
}
.ba-frame{
  aspect-ratio: 4/3; position: relative; overflow:hidden;
  background: var(--surface-2);
  display:flex;
}
.ba-half{
  width:50%; height:100%; display:flex; align-items:center; justify-content:center;
  position:relative; flex-direction:column; gap:8px;
}
.ba-half:first-child{ border-right: 1px dashed var(--line); }
.ba-half .tag{
  position:absolute; top:10px; left:10px;
  font-family: var(--mono); font-size:0.62rem; letter-spacing:0.08em; text-transform:uppercase;
  padding: 3px 8px; border-radius: 12px;
}
.ba-half.before .tag{ background: rgba(183,110,62,0.14); color: var(--copper-bright); }
.ba-half.after .tag{ background: rgba(124,58,237,0.14); color: var(--purple-bright); }
.board-icon{ width: 34px; height:34px; opacity:0.5; }
.gallery-caption{ padding: 16px 18px; }
.gallery-caption .cap-title{ font-weight:600; font-size:0.92rem; color: var(--text); margin-bottom:4px; }
.gallery-caption .cap-meta{ font-family: var(--mono); font-size:0.72rem; color: var(--text-faint); }
.gallery-note{
  margin-top: 40px; padding: 20px 24px; border: 1px dashed var(--line); border-radius: var(--radius);
  font-size: 0.88rem; color: var(--text-dim);
}

/* ---------- About page ---------- */
.about-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:start; }
@media (max-width: 860px){ .about-grid{ grid-template-columns: 1fr; } }
.timeline{ margin-top: 8px; }
.tl-item{ display:flex; gap:20px; padding: 20px 0; border-top: 1px solid var(--line); }
.tl-item:first-child{ border-top:none; }
.tl-year{ font-family: var(--mono); font-size:0.8rem; color: var(--copper-bright); flex-shrink:0; width: 70px; }
.tl-body h4{ font-family: var(--body); font-size:0.96rem; font-weight:600; color:var(--text); margin-bottom:4px; }
.tl-body p{ font-size: 0.88rem; }

.values-list{ display:flex; flex-direction:column; gap: 26px; }
.value-item{ border-left: 2px solid var(--line); padding-left: 20px; }
.value-item h4{ font-family: var(--body); color: var(--text); font-size: 1rem; margin-bottom: 6px; }
.value-item p{ font-size: 0.9rem; }

/* ---------- Contact page ---------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:start; }
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }

.info-block{ margin-bottom: 32px; }
.info-block h5{
  font-family: var(--mono); font-size: 0.72rem; letter-spacing:0.08em; text-transform:uppercase;
  color: var(--text-faint); margin-bottom: 10px;
}
.info-block p, .info-block a{ font-size: 0.95rem; color: var(--text); }
.info-block a:hover{ color: var(--copper-bright); }

form{ display:flex; flex-direction:column; gap: 18px; }
.field label{
  display:block; font-family: var(--mono); font-size: 0.75rem; color: var(--text-dim);
  margin-bottom: 8px; letter-spacing: 0.02em;
}
.field input, .field select, .field textarea{
  width:100%; background: var(--surface); border: 1px solid var(--line);
  color: var(--text); padding: 13px 14px; border-radius: var(--radius);
  font-family: var(--body); font-size: 0.94rem;
}
.field textarea{ resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--purple);
}
.form-note{ font-size: 0.8rem; color: var(--text-faint); }

/* ---------- Mail-in steps ---------- */
.steps{ display:flex; flex-direction:column; gap:0; margin-top: 20px; }
.step-item{ display:flex; gap:18px; padding: 18px 0; border-top:1px solid var(--line); }
.step-item:first-child{ border-top:none; }
.step-num{
  font-family: var(--mono); font-size:0.85rem; color: var(--purple-bright);
  width: 28px; flex-shrink:0;
}
.step-item h4{ font-family: var(--body); font-size:0.95rem; color:var(--text); margin-bottom:4px; }
.step-item p{ font-size: 0.87rem; margin:0; }

/* ---------- Device menu (tile grid) ---------- */
.device-menu{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:16px;
  padding-bottom: 8px;
}
@media (max-width: 900px){ .device-menu{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px){ .device-menu{ grid-template-columns: repeat(2, 1fr); } }

.device-btn{
  display:flex; flex-direction:column; align-items:flex-start; gap:14px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  text-decoration:none;
  position: relative;
  box-shadow: 0 1px 3px rgba(29,23,48,0.05), 0 1px 2px rgba(29,23,48,0.04);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.device-btn:hover{
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(124,58,237,0.14);
}
.device-btn .icon-badge{
  width:44px; height:44px; border-radius:10px;
  background: rgba(124,58,237,0.08);
  display:flex; align-items:center; justify-content:center;
  font-size:1.35rem;
  transition: background 0.18s ease;
}
.device-btn:hover .icon-badge{ background: rgba(124,58,237,0.16); }
.device-btn .label-group{ display:flex; flex-direction:column; gap:4px; }
.device-btn span.label{
  font-family: var(--body); font-weight:600; font-size:0.98rem;
}
.device-btn span.sublabel{
  font-family: var(--body); font-weight:400; font-size:0.78rem; color: var(--text-faint);
}
.device-btn .arrow{
  position:absolute; top:24px; right:22px;
  font-family: var(--mono); font-size:0.85rem; color: var(--text-faint);
  transition: transform 0.18s ease, color 0.18s ease;
}
.device-btn:hover .arrow{ transform: translateX(3px); color: var(--purple-bright); }

.request-btn{
  display:inline-block; margin-top: 16px;
  font-family: var(--mono); font-size: 0.74rem;
  color: var(--purple-bright);
  border: 1px solid var(--line);
  padding: 8px 14px; border-radius: var(--radius);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.request-btn:hover{ border-color: var(--purple); background: rgba(124,58,237,0.05); }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float{
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 200;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.whatsapp-float:hover{ transform: scale(1.07); box-shadow: 0 8px 26px rgba(37,211,102,0.5); }
.whatsapp-float svg{ width: 28px; height: 28px; }
@media (max-width: 600px){
  .whatsapp-float{ bottom: 18px; right: 18px; width: 52px; height: 52px; }
  .whatsapp-float svg{ width: 25px; height: 25px; }
}

.reveal{ opacity:0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in{ opacity:1; transform: translateY(0); }

/* ---------- Cart icon (nav) ---------- */
.cart-link{
  position: relative;
  display:flex; align-items:center;
  color: var(--text-dim);
  font-size: 1.2rem;
}
.cart-link:hover{ color: var(--text); }
.cart-badge{
  position:absolute; top:-8px; right:-10px;
  background: var(--purple); color:#fff;
  font-family: var(--mono); font-size:0.65rem; font-weight:600;
  width:18px; height:18px; border-radius:50%;
  display:none; align-items:center; justify-content:center;
}

/* ---------- Product catalog ---------- */
.products-filters{ display:flex; gap:10px; flex-wrap:wrap; margin: 36px 0 40px; }
.products-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 900px){ .products-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .products-grid{ grid-template-columns: 1fr; } }
.product-card{
  border: 1px solid var(--line); border-radius: var(--radius); overflow:hidden;
  background: var(--surface); display:flex; flex-direction:column;
}
.product-img{
  aspect-ratio: 1/1; background: var(--surface-2);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.product-img img{ width:100%; height:100%; object-fit:cover; }
.product-noimg{ font-size:2rem; opacity:0.4; }
.product-body{ padding: 18px 20px 20px; display:flex; flex-direction:column; flex:1; }
.product-cat{ font-family: var(--mono); font-size:0.68rem; color: var(--copper-bright); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:8px; }
.product-body h4{ font-family: var(--body); font-weight:600; font-size:0.98rem; color:var(--text); margin-bottom:6px; }
.product-body p{ font-size:0.85rem; margin:0; flex:1; }
.product-footer{ display:flex; align-items:center; justify-content:space-between; margin-top:16px; gap:10px; }
.product-price{ font-family: var(--mono); font-weight:600; font-size:1rem; color:var(--text); }
.product-add-btn{ font-size:0.76rem; padding:10px 16px; }

/* ---------- Cart page ---------- */
.cart-item{
  display:flex; align-items:center; gap:16px; padding:18px 0;
  border-top: 1px solid var(--line);
}
.cart-item:first-child{ border-top:none; }
.cart-item .ci-name{ flex:1; font-family: var(--body); font-weight:600; font-size:0.95rem; color:var(--text); }
.cart-item .ci-price{ font-family: var(--mono); font-size:0.85rem; color:var(--text-dim); width:80px; text-align:right; }
.cart-item .ci-qty{ display:flex; align-items:center; gap:8px; }
.cart-item .ci-qty button{
  width:26px; height:26px; border-radius:50%; border:1px solid var(--line);
  background:none; color:var(--text); cursor:pointer; font-size:0.9rem;
}
.cart-item .ci-qty span{ font-family: var(--mono); font-size:0.85rem; width:20px; text-align:center; }
.cart-item .ci-remove{ font-family: var(--mono); font-size:0.7rem; color:var(--text-faint); cursor:pointer; background:none; border:none; }
.cart-item .ci-remove:hover{ color:#B4232D; }
.cart-total{ display:flex; justify-content:space-between; padding-top:20px; margin-top:10px; border-top:2px solid var(--line); font-family: var(--body); font-weight:600; font-size:1.1rem; }
.cart-empty{ padding: 40px 0; text-align:center; color:var(--text-faint); }
/* =========================================================
   MICROSOLDERTECH — PREMIUM REDESIGN
   Home visual refresh
   ========================================================= */

:root{
  --bg: #07090d;
  --surface: #0d1117;
  --surface-2: #121821;
  --surface-3: #171e29;

  --line: rgba(255,255,255,0.09);

  --purple-deep: #5b21b6;
  --purple: #7c3aed;
  --purple-bright: #8b5cf6;

  --copper: #d38a4a;
  --copper-bright: #f0a35a;

  --text: #f5f7fb;
  --text-dim: #a9b0bd;
  --text-faint: #717988;

  --maxw: 1240px;
  --radius: 14px;
}

body{
  background:
    radial-gradient(circle at 12% 8%, rgba(124,58,237,.16), transparent 32%),
    radial-gradient(circle at 90% 18%, rgba(240,163,90,.08), transparent 30%),
    #07090d;
  color: var(--text);
}

/* NAV */

.premium-nav{
  background: rgba(7,9,13,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.site-nav .wrap{
  height: 82px;
}

.logo{
  font-size: 1.08rem;
  letter-spacing: .035em;
}

.logo .pad{
  width: 10px;
  height: 10px;
  background: var(--copper-bright);
  box-shadow: 0 0 18px rgba(240,163,90,.65);
}

.logo .accent{
  color: var(--purple-bright);
}

.nav-links{
  gap: 25px;
  font-size: .74rem;
}

.nav-links a{
  color: #aeb5c2;
}

.nav-links a:hover,
.nav-links a.active{
  color: #fff;
}

.nav-links a.active::after{
  background: var(--purple-bright);
}

.nav-cta{
  border: 1px solid rgba(139,92,246,.55);
  background: rgba(124,58,237,.13);
  color: #fff !important;
  border-radius: 9px;
  padding: 11px 16px !important;
}

.nav-cta:hover{
  background: var(--purple);
  border-color: var(--purple-bright);
}

/* HERO */

.hero-premium{
  min-height: 690px;
  display: flex;
  align-items: center;
  padding: 115px 0 100px;
  overflow: hidden;
}

.hero-premium::before{
  content:"";
  position:absolute;
  width:600px;
  height:600px;
  border-radius:50%;
  top:-250px;
  left:-250px;
  border:1px solid rgba(139,92,246,.12);
  box-shadow:
    0 0 0 80px rgba(139,92,246,.025),
    0 0 0 160px rgba(139,92,246,.018);
  pointer-events:none;
}

.hero-premium .hero-grid{
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
}

.hero-copy{
  position: relative;
  z-index: 2;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--mono);
  font-size:.72rem;
  letter-spacing:.12em;
  color:#c5cad3;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.035);
  padding:8px 13px;
  border-radius:999px;
}

.hero-badge::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--copper-bright);
  box-shadow:0 0 10px var(--copper-bright);
}

.hero-premium h1{
  margin:26px 0 22px;
  max-width: 800px;
  font-size: clamp(3rem,6vw,5.5rem);
  line-height:.98;
  letter-spacing:-.05em;
}

.hero-highlight{
  display:block;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #bca8ff 48%,
    #f0a35a 100%
  );
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hero-subtitle{
  max-width:610px;
  font-size:1.08rem;
  line-height:1.8;
  color:#aeb5c2;
}

.hero-actions{
  margin-top:34px;
}

.btn{
  min-height: 50px;
  border-radius:10px;
  padding:14px 23px;
  font-size:.78rem;
  font-weight:500;
}

.btn-primary{
  background:linear-gradient(135deg,#8b5cf6,#6d28d9);
  box-shadow:
    0 10px 35px rgba(124,58,237,.26),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.btn-primary:hover{
  box-shadow:
    0 15px 45px rgba(124,58,237,.36),
    inset 0 1px 0 rgba(255,255,255,.2);
}

.btn-ghost{
  background:rgba(255,255,255,.035);
  border-color:rgba(255,255,255,.13);
  color:#fff;
}

.btn-ghost:hover{
  background:rgba(255,255,255,.07);
  border-color:rgba(240,163,90,.6);
}

.btn-outline{
  border:1px solid rgba(255,255,255,.12);
  background:transparent;
  color:#fff;
}

.btn-outline:hover{
  border-color:var(--purple-bright);
  background:rgba(124,58,237,.08);
}

/* HERO TRUST */

.hero-trust{
  margin-top:54px;
  padding-top:25px;
  border-top:1px solid rgba(255,255,255,.09);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  max-width:650px;
}

.trust-item{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.trust-item strong{
  color:#fff;
  font-family:var(--display);
  font-size:.92rem;
}

.trust-item span{
  font-size:.76rem;
  color:var(--text-faint);
}

/* HERO CARD */

.hero-visual{
  position:relative;
  display:flex;
  justify-content:center;
}

.hero-glow{
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  background:
    radial-gradient(circle,
      rgba(124,58,237,.26),
      rgba(124,58,237,.05) 45%,
      transparent 70%);
  filter:blur(15px);
}

.hero-card{
  position:relative;
  width:min(100%,470px);
  padding:18px;
  border:1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.07),
      rgba(255,255,255,.025)
    );
  backdrop-filter:blur(16px);
  border-radius:24px;
  box-shadow:
    0 35px 80px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.hero-card::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:24px;
  padding:1px;
  background:
    linear-gradient(
      135deg,
      rgba(139,92,246,.4),
      transparent 35%,
      rgba(240,163,90,.22)
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}

.hero-card-top{
  height:42px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 5px;
  font-family:var(--mono);
  font-size:.67rem;
  letter-spacing:.12em;
  color:#929aa8;
}

.status-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#55d98a;
  box-shadow:0 0 10px rgba(85,217,138,.8);
}

.hero-image-wrap{
  overflow:hidden;
  border-radius:16px;
  background:#0a0d12;
  border:1px solid rgba(255,255,255,.07);
}

.hero-image{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  opacity:.9;
  transition:transform .5s ease;
}

.hero-card:hover .hero-image{
  transform:scale(1.025);
}

.hero-card-bottom{
  padding:19px 5px 5px;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.hero-card-bottom span{
  color:var(--text-faint);
  font-size:.75rem;
}

.hero-card-bottom strong{
  color:#fff;
  font-family:var(--display);
  font-size:1rem;
}

/* BRAND STRIP */

.brand-strip{
  border-top:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.018);
}

.brand-strip-inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:18px 30px;
}

.brand-strip span{
  font-family:var(--mono);
  font-size:.7rem;
  color:#6f7785;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* SECTIONS */

.section{
  padding:110px 0;
}

.section-head{
  max-width:720px;
}

.section-head h2{
  margin:16px 0 18px;
  font-size:clamp(2rem,4vw,3.3rem);
  letter-spacing:-.035em;
}

.section-intro{
  max-width:600px;
  font-size:1rem;
  line-height:1.8;
}

.eyebrow{
  color:var(--copper-bright);
}

.services-preview{
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.015),
      transparent
    );
}

/* SERVICE CARDS */

.premium-device-grid{
  margin-top:50px;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.premium-card{
  min-height:190px;
  padding:26px;
  border-radius:16px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.018)
    );
  border:1px solid rgba(255,255,255,.085);
  box-shadow:none;
}

.premium-card:hover{
  border-color:rgba(139,92,246,.65);
  background:
    linear-gradient(
      145deg,
      rgba(124,58,237,.12),
      rgba(255,255,255,.025)
    );
  transform:translateY(-5px);
  box-shadow:0 20px 45px rgba(0,0,0,.28);
}

.device-btn .icon-badge{
  width:48px;
  height:48px;
  border-radius:13px;
  background:rgba(139,92,246,.12);
}

.device-btn .label{
  color:#fff;
  font-size:1rem;
}

.device-btn span.sublabel{
  color:#7f8795;
  line-height:1.5;
}

.device-btn .arrow{
  color:#626b79;
}

.center-action{
  text-align:center;
  margin-top:42px;
}

/* WHY */

.expertise-section{
  background:
    radial-gradient(circle at 75% 25%,rgba(124,58,237,.10),transparent 35%),
    #0a0d12;
  border-top:1px solid rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.05);
}

.expertise-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:100px;
  align-items:start;
}

.premium-why{
  grid-template-columns:1fr;
  gap:0;
  margin-top:0;
}

.premium-why .why-item{
  padding:26px 0;
  border-bottom:1px solid rgba(255,255,255,.075);
}

.premium-why .why-item:first-child{
  padding-top:0;
}

.premium-why .why-item h4{
  color:#fff;
  font-size:1rem;
}

.premium-why .why-item p{
  color:#8a929f;
  max-width:520px;
}

.premium-why .dot{
  background:var(--copper-bright);
  box-shadow:0 0 12px rgba(240,163,90,.55);
}

/* PROCESS */

.process-section{
  padding:110px 0;
}

.centered{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.centered .eyebrow{
  justify-content:center;
}

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

.process-card{
  min-height:260px;
  padding:30px;
  position:relative;
  border-radius:16px;
  background:#0d1117;
  border:1px solid rgba(255,255,255,.08);
}

.process-number{
  font-family:var(--mono);
  color:var(--purple-bright);
  font-size:.72rem;
  letter-spacing:.1em;
}

.process-card h3{
  margin:65px 0 12px;
  color:#fff;
  font-size:1.25rem;
}

.process-card p{
  color:#858d9b;
  font-size:.92rem;
}

/* CTA */

.premium-cta{
  padding:100px 0;
  background:
    radial-gradient(circle at 50% 0%,rgba(124,58,237,.20),transparent 55%),
    #0a0d12;
}

.cta-badge{
  display:inline-block;
  margin-bottom:22px;
  font-family:var(--mono);
  font-size:.7rem;
  letter-spacing:.12em;
  color:var(--copper-bright);
}

.premium-cta h2{
  font-size:clamp(2rem,4vw,3.2rem);
}

.cta-actions{
  justify-content:center;
}

/* FOOTER */

.premium-footer{
  background:#05070a;
  border-top:1px solid rgba(255,255,255,.07);
}

.footer-grid h5{
  color:#6f7785;
}

.footer-grid ul li a{
  color:#8d95a2;
}

.footer-grid ul li a:hover{
  color:#fff;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.07);
  padding-top:25px;
  color:#5f6773;
}

/* WHATSAPP */

.whatsapp-float{
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 12px 35px rgba(37,211,102,.24);
}

/* MOBILE */

@media (max-width: 900px){

  .nav-links{
    position:fixed;
    inset:82px 0 0 0;
    height:calc(100vh - 82px);
    background:rgba(7,9,13,.98);
    backdrop-filter:blur(18px);
    padding:40px var(--pad);
    gap:26px;
    font-size:1rem;
  }

  .nav-toggle{
    display:flex;
  }

  .nav-toggle span{
    background:#fff;
  }

}

@media (max-width: 960px){

  .hero-premium{
    padding-top:80px;
  }

  .hero-premium .hero-grid{
    grid-template-columns:1fr;
    gap:60px;
  }

  .hero-premium h1{
    max-width:750px;
  }

  .hero-visual{
    justify-content:flex-start;
  }

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

  .expertise-grid{
    grid-template-columns:1fr;
    gap:55px;
  }

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

  .process-card{
    min-height:auto;
  }

  .process-card h3{
    margin-top:35px;
  }

}

@media (max-width: 640px){

  .hero-premium{
    min-height:auto;
    padding:65px 0 75px;
  }

  .hero-premium h1{
    font-size:clamp(2.6rem,14vw,4rem);
  }

  .hero-subtitle{
    font-size:1rem;
  }

  .hero-actions{
    flex-direction:column;
  }

  .hero-actions .btn{
    width:100%;
    justify-content:center;
  }

  .hero-trust{
    grid-template-columns:1fr;
    gap:15px;
  }

  .premium-device-grid{
    grid-template-columns:1fr;
  }

  .brand-strip-inner{
    justify-content:center;
    padding-top:22px;
    padding-bottom:22px;
  }

  .section,
  .process-section{
    padding:80px 0;
  }

  .premium-card{
    min-height:170px;
  }

}/* =========================================================
   MICROSOLDERTECH — HERO REFINEMENT V2
   ========================================================= */

/* Better desktop proportions */

.hero-premium {
  min-height: 720px;
  padding: 105px 0 95px;
}

.hero-premium .hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  gap: 55px;
  align-items: center;
}

/* Cleaner headline */

.hero-premium h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 5.1vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 28px 0 24px;
}

.hero-highlight {
  line-height: 1.02;
}

/* Description */

.hero-subtitle {
  max-width: 650px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #aeb5c2;
}

/* Buttons */

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions .btn {
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 10px;
}

/* Image side */

.hero-visual {
  justify-content: flex-end;
}

.hero-card {
  width: min(100%, 520px);
  padding: 18px;
  border-radius: 22px;
}

.hero-image-wrap {
  border-radius: 14px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center;
}

/* Slightly stronger image */

.hero-card:hover .hero-image {
  transform: scale(1.018);
}

/* Card labels */

.hero-card-top {
  height: 45px;
  padding-left: 5px;
}

.hero-card-bottom {
  padding: 20px 6px 6px;
}

.hero-card-bottom span {
  font-size: 0.74rem;
}

.hero-card-bottom strong {
  font-size: 1.03rem;
}

/* Trust information */

.hero-trust {
  max-width: 690px;
  margin-top: 46px;
  padding-top: 23px;
}

.trust-item strong {
  font-size: 0.9rem;
}

.trust-item span {
  font-size: 0.73rem;
}

/* Navigation refinement */

.premium-nav {
  background: rgba(5, 7, 11, 0.9);
}

.site-nav .wrap {
  height: 76px;
}

.nav-links {
  gap: 22px;
}

.nav-links a {
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.nav-cta {
  margin-left: 5px;
}

/* Remove emoji-style appearance from cart */

.cart-link {
  width: 40px;
  height: 40px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-radius: 9px;
  filter: grayscale(1);
  opacity: 0.8;
}

.cart-link:hover {
  background: rgba(255,255,255,0.05);
  opacity: 1;
}

/* More controlled background glow */

.hero-premium {
  background:
    radial-gradient(
      circle at 8% 35%,
      rgba(91, 33, 182, 0.22),
      transparent 34%
    ),
    radial-gradient(
      circle at 92% 72%,
      rgba(211, 138, 74, 0.07),
      transparent 28%
    );
}

/* Give image a subtle premium glow */

.hero-card {
  box-shadow:
    0 35px 80px rgba(0,0,0,0.48),
    0 0 70px rgba(124,58,237,0.07),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .hero-premium .hero-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 40px;
  }

  .hero-premium h1 {
    font-size: clamp(3rem, 5vw, 4.4rem);
  }

}

/* =========================================================
   MOBILE / SMALL TABLETS
   ========================================================= */

@media (max-width: 960px) {

  .hero-premium {
    padding: 70px 0 80px;
  }

  .hero-premium .hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-premium h1 {
    max-width: 720px;
    font-size: clamp(3rem, 8vw, 4.7rem);
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .hero-card {
    width: min(100%, 600px);
  }

}

/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 640px) {

  .hero-premium {
    padding: 55px 0 65px;
  }

  .hero-premium h1 {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
    line-height: 0.98;
    margin-top: 24px;
  }

  .hero-subtitle {
    font-size: 0.97rem;
    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-card {
    padding: 13px;
    border-radius: 18px;
  }

  .hero-card-top {
    height: 40px;
  }

  .hero-card-bottom {
    padding: 17px 5px 6px;
  }

  .hero-image {
    aspect-ratio: 4 / 3;
  }

}/* =========================================================
   MICROSOLDERTECH — HERO FINAL POLISH V3
   ========================================================= */

/* 1. Headline slightly smaller and cleaner */
.hero-premium h1 {
  max-width: 700px;
  font-size: clamp(3.2rem, 4.65vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.052em;
}

/* 2. Better vertical alignment for image card */
.hero-visual {
  transform: translateY(-18px);
}

/* 3. Replace emoji cart visually with clean CSS icon */
.cart-link {
  position: relative;
  font-size: 0 !important;
  filter: none !important;
  opacity: 1 !important;
}

.cart-link::before {
  content: "";
  width: 18px;
  height: 13px;
  display: block;
  border: 1.5px solid #8f97a5;
  border-top: none;
  border-radius: 2px 2px 4px 4px;
  transform: skew(-8deg);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.cart-link::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8f97a5;
  left: 11px;
  bottom: 7px;
  box-shadow: 10px 0 0 #8f97a5;
  transition: background 0.2s ease;
}

.cart-link:hover::before {
  border-color: #a78bfa;
  transform: skew(-8deg) translateY(-1px);
}

.cart-link:hover::after {
  background: #a78bfa;
  box-shadow: 10px 0 0 #a78bfa;
}

/* Keep cart quantity badge visible */
.cart-link .cart-badge {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #7c3aed;
  color: white;
  font-size: 9px !important;
  line-height: 1;
}

/* Fine tune the two hero columns */
@media (min-width: 961px) {

  .hero-premium .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 65px;
  }

}

/* Don't move image upward on phones/tablets */
@media (max-width: 960px) {

  .hero-visual {
    transform: none;
  }

}/* =========================================================
   MICROSOLDERTECH — SERVICES CARDS V4
   ========================================================= */

.services-preview {
  position: relative;
  padding: 110px 0 120px;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(124, 58, 237, 0.08),
      transparent 30%
    ),
    #080a0f;
}

.services-preview .section-head {
  max-width: 760px;
  margin-bottom: 55px;
}

.services-preview .eyebrow {
  color: #d49a68;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

.services-preview h2 {
  max-width: 720px;
  margin-top: 14px;
  font-size: clamp(2.3rem, 3.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.services-preview .section-intro {
  max-width: 610px;
  margin-top: 20px;
  color: #9299a8;
  font-size: 1rem;
  line-height: 1.7;
}


/* DEVICE GRID */

.premium-device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}


/* DEVICE CARD */

.premium-device-grid .premium-card {
  position: relative;
  min-height: 170px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;

  padding: 25px;

  overflow: hidden;

  text-decoration: none;

  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.045),
      rgba(255,255,255,0.018)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.035);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}


/* SUBTLE CARD LIGHT */

.premium-device-grid .premium-card::before {
  content: "";

  position: absolute;

  width: 160px;
  height: 160px;

  right: -80px;
  top: -80px;

  border-radius: 50%;

  background: rgba(124,58,237,0.09);

  filter: blur(5px);

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;

  pointer-events: none;
}


/* HOVER */

.premium-device-grid .premium-card:hover {
  transform: translateY(-5px);

  border-color: rgba(167,139,250,0.35);

  background:
    linear-gradient(
      145deg,
      rgba(124,58,237,0.09),
      rgba(255,255,255,0.025)
    );

  box-shadow:
    0 22px 45px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.premium-device-grid .premium-card:hover::before {
  transform: scale(1.25);
  opacity: 0.9;
}


/* ICON */

.premium-card .icon-badge {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 28px;

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 11px;

  background: rgba(255,255,255,0.035);

  font-size: 1.1rem;

  filter: grayscale(0.3);
}


/* LABEL */

.premium-card .label-group {
  display: flex;
  flex-direction: column;
  gap: 7px;

  padding-right: 30px;
}

.premium-card .label {
  color: #f4f5f8;

  font-size: 1.02rem;
  font-weight: 650;

  letter-spacing: -0.01em;
}

.premium-card .sublabel {
  color: #747c8c;

  font-size: 0.78rem;
  line-height: 1.45;
}


/* ARROW */

.premium-card .arrow {
  position: absolute;

  right: 22px;
  bottom: 24px;

  color: #6f7786;

  font-size: 1.1rem;

  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.premium-card:hover .arrow {
  color: #b79cff;
  transform: translateX(4px);
}


/* SPECIAL LAST CARD */

.premium-device-grid .premium-card:last-child {
  grid-column: span 3;

  min-height: 125px;

  flex-direction: row;
  align-items: center;

  padding-right: 65px;
}

.premium-device-grid .premium-card:last-child .icon-badge {
  margin: 0 20px 0 0;
}

.premium-device-grid .premium-card:last-child .label-group {
  flex: 1;
}


/* VIEW ALL BUTTON */

.services-preview .center-action {
  margin-top: 40px;
  text-align: center;
}

.services-preview .btn-outline {
  min-height: 50px;

  padding: 13px 25px;

  border-color: rgba(255,255,255,0.13);

  background: rgba(255,255,255,0.02);
}

.services-preview .btn-outline:hover {
  border-color: rgba(167,139,250,0.4);

  background: rgba(124,58,237,0.08);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

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

  .premium-device-grid .premium-card:last-child {
    grid-column: span 2;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .services-preview {
    padding: 80px 0 90px;
  }

  .services-preview .section-head {
    margin-bottom: 38px;
  }

  .premium-device-grid {
    grid-template-columns: 1fr;
  }

  .premium-device-grid .premium-card {
    min-height: 145px;
  }

  .premium-device-grid .premium-card:last-child {
    grid-column: auto;
    min-height: 145px;
  }

}
/* ==========================================
   PRODUCT / DEVICE PHOTO GALLERY
   ========================================== */

.product-gallery {
  width: 100%;
}

.product-main-img {
  overflow: hidden;
}

.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 8px;
}

.product-thumb {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  background: var(--surface);
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-thumb.active {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 1px var(--purple-bright);
}

.product-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-stock {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .07em;
  padding: 4px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.product-stock-in_stock {
  color: #8ed8ac;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.18);
}

.product-stock-sold,
.product-stock-out_of_stock {
  color: var(--text-faint);
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
}

.product-details-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 8px 0 10px;
}

.product-details-meta span {
  font-family: var(--mono);
  font-size: .66rem;
  color: var(--text-dim);
  background: rgba(124,58,237,.06);
  border: 1px solid rgba(124,58,237,.12);
  padding: 4px 7px;
  border-radius: 6px;
}

.product-add-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}


/* ==========================================
   PRODUCT / DEVICE PHOTO GALLERY
   ========================================== */

.product-gallery {
  width: 100%;
}

.product-main-img {
  overflow: hidden;
}

.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 8px;
}

.product-thumb {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  background: var(--surface);
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-thumb.active {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 1px var(--purple-bright);
}

.product-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-stock {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .07em;
  padding: 4px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.product-stock-in_stock {
  color: #8ed8ac;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.18);
}

.product-stock-sold,
.product-stock-out_of_stock {
  color: var(--text-faint);
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
}

.product-details-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 8px 0 10px;
}

.product-details-meta span {
  font-family: var(--mono);
  font-size: .66rem;
  color: var(--text-dim);
  background: rgba(124,58,237,.06);
  border: 1px solid rgba(124,58,237,.12);
  padding: 4px 7px;
  border-radius: 6px;
}

.product-add-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}


/* ==========================================
   PRODUCT MODAL — COMPACT PREMIUM OVERRIDE
   ========================================== */

.product-modal-dialog {
  width: min(980px, 94vw);
  max-height: 86vh;
}

.product-modal-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
  align-items: stretch;
}

.product-modal-media {
  padding: 22px;
}

.product-modal-main {
  aspect-ratio: 4 / 3;
  max-height: 500px;
}

.product-modal-main img {
  object-fit: contain;
  background: #0b0f16;
}

.product-modal-thumbs {
  grid-template-columns: repeat(4, 76px);
  justify-content: start;
  gap: 9px;
}

.product-modal-thumb {
  width: 76px;
  height: 76px;
  aspect-ratio: auto;
}

.product-modal-info {
  padding: 54px 34px 32px;
  display: flex;
  flex-direction: column;
}

.product-modal-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.product-modal-description {
  margin-top: 16px;
}

.product-modal-price-row {
  margin-top: auto;
  padding-top: 24px;
}

.product-modal-actions {
  margin-top: 20px;
}

.product-modal-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

@media (max-width: 820px) {

  .product-modal {
    padding: 10px;
  }

  .product-modal-dialog {
    width: 100%;
    max-height: 94vh;
  }

  .product-modal-grid {
    grid-template-columns: 1fr;
  }

  .product-modal-media {
    padding: 16px;
  }

  .product-modal-main {
    aspect-ratio: 4 / 3;
    max-height: 420px;
  }

  .product-modal-thumbs {
    grid-template-columns: repeat(4, 64px);
  }

  .product-modal-thumb {
    width: 64px;
    height: 64px;
  }

  .product-modal-info {
    padding: 26px 20px;
  }

  .product-modal-price-row {
    margin-top: 22px;
  }

}


/* ==========================================
   PRODUCT MODAL — FINAL LAYOUT FIX
   ========================================== */

.product-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  overflow: hidden;
}

.product-modal.open {
  display: flex !important;
}

.product-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(3, 5, 10, 0.88) !important;
  backdrop-filter: blur(10px);
}

.product-modal-dialog {
  position: relative !important;
  z-index: 2 !important;

  width: min(960px, 92vw) !important;
  height: auto !important;
  max-height: 88vh !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;

  background: #0c1118 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 20px !important;

  box-shadow:
    0 30px 100px rgba(0,0,0,.7),
    0 0 60px rgba(124,58,237,.12) !important;
}

.product-modal-grid {
  display: grid !important;
  grid-template-columns: 52% 48% !important;
  width: 100% !important;
}

.product-modal-media {
  min-width: 0 !important;
  padding: 24px !important;
  border-right: 1px solid rgba(255,255,255,.08) !important;
}

.product-modal-main {
  width: 100% !important;
  height: 420px !important;
  max-height: 420px !important;
  aspect-ratio: auto !important;

  overflow: hidden !important;
  border-radius: 14px !important;

  background: #080c12 !important;
}

.product-modal-main img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;

  object-fit: contain !important;
  object-position: center !important;
}

.product-modal-thumbs {
  display: flex !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

.product-modal-thumb {
  width: 68px !important;
  height: 68px !important;
  flex: 0 0 68px !important;

  padding: 0 !important;
  overflow: hidden !important;

  border-radius: 9px !important;
}

.product-modal-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.product-modal-info {
  min-width: 0 !important;
  padding: 56px 34px 32px !important;

  display: flex !important;
  flex-direction: column !important;
}

.product-modal-info h2 {
  margin: 12px 0 16px !important;
  font-size: clamp(2rem, 3vw, 2.7rem) !important;
}

.product-modal-description {
  margin: 18px 0 0 !important;
}

.product-modal-price-row {
  margin-top: auto !important;
  padding-top: 30px !important;
}

.product-modal-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin-top: 22px !important;
}

.product-modal-actions .btn {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}

.product-modal-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 10 !important;
}


/* PHONE / TABLET */

@media (max-width: 820px) {

  .product-modal {
    padding: 12px !important;
  }

  .product-modal-dialog {
    width: 100% !important;
    max-height: 94vh !important;
  }

  .product-modal-grid {
    grid-template-columns: 1fr !important;
  }

  .product-modal-media {
    padding: 16px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
  }

  .product-modal-main {
    height: min(52vh, 390px) !important;
  }

  .product-modal-info {
    padding: 26px 20px 24px !important;
  }

  .product-modal-price-row {
    margin-top: 24px !important;
  }

  .product-modal-actions {
    grid-template-columns: 1fr !important;
  }

}


/* PRODUCT MODAL — FINAL POLISH */

.product-modal-close {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 42px !important;
  height: 42px !important;

  top: 18px !important;
  right: 18px !important;

  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 50% !important;

  background: rgba(15,18,26,.92) !important;
  color: #fff !important;

  font-size: 26px !important;
  font-family: Arial, sans-serif !important;
  font-weight: 300 !important;
  line-height: 1 !important;

  cursor: pointer !important;
  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease !important;
}

.product-modal-close:hover {
  background: rgba(124,58,237,.9) !important;
  border-color: rgba(167,139,250,.8) !important;
  transform: rotate(90deg);
}


/* ==========================================
   PREMIUM CART
   ========================================== */

.cart-page-wrap {
  max-width: 900px;
}

.cart-item-premium {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 22px;
  align-items: center;

  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.cart-item-premium:first-child {
  border-top: 0;
}

.ci-product {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.ci-image {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;

  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.ci-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ci-image-placeholder {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.5rem;
  color: var(--text-faint);
}

.ci-product-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ci-name {
  font-weight: 650;
  color: var(--text);
  font-size: .98rem;
}

.ci-unit-price {
  font-size: .78rem;
  color: var(--text-faint);
}

.ci-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.ci-qty button {
  width: 30px;
  height: 30px;

  border: 0;
  border-radius: 50%;

  background: rgba(255,255,255,.04);
  color: var(--text);

  cursor: pointer;
}

.ci-qty button:hover {
  background: rgba(124,58,237,.14);
}

.ci-qty span {
  min-width: 18px;
  text-align: center;
  font-size: .9rem;
  color: var(--text);
}

.ci-price {
  min-width: 92px;
  text-align: right;
  font-weight: 700;
  color: var(--text);
}

.ci-remove {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--line);
  border-radius: 50%;

  background: transparent;
  color: var(--text-faint);

  cursor: pointer;
}

.ci-remove:hover {
  color: #ff8d8d;
  border-color: rgba(255,100,100,.35);
}

.cart-total {
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

@media (max-width: 700px) {

  .cart-item-premium {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .ci-product {
    grid-column: 1 / -1;
  }

  .ci-qty {
    justify-self: start;
  }

  .ci-price {
    justify-self: end;
  }

  .ci-remove {
    position: absolute;
    right: 0;
  }

  .cart-item-premium {
    position: relative;
    padding-right: 44px;
  }

}


/* CART REMOVE BUTTON — visible */
.cart-item-premium .ci-remove {
  width: 36px;
  height: 36px;
  min-width: 36px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;

  background: rgba(255,255,255,.04);
  color: #b9bdc9;

  font-size: 15px;
  font-weight: 600;
  line-height: 1;

  opacity: 1;
  cursor: pointer;
}

.cart-item-premium .ci-remove:hover {
  background: rgba(255,80,80,.12);
  border-color: rgba(255,100,100,.45);
  color: #ff8b8b;
}


/* ==========================================
   PREMIUM REPAIR / MAIL-IN FORM
   ========================================== */

.premium-repair-form {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.025),
      rgba(255,255,255,.012)
    );
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow:
    0 20px 60px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.02);
}

.repair-form-header {
  padding-bottom: 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.repair-form-kicker {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 12px;
}

.repair-form-header h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin-bottom: 12px;
}

.repair-form-header p {
  max-width: 620px;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.repair-form-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.repair-form-section-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.repair-form-section-title > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: 1px solid rgba(124,58,237,.28);
  background: rgba(124,58,237,.08);

  font-family: var(--mono);
  font-size: .68rem;
  color: var(--purple-bright);
}

.repair-form-section-title h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: var(--text);
}

.repair-form-section-title p {
  margin: 0;
  font-size: .82rem;
  color: var(--text-faint);
}

.premium-repair-form .field {
  margin-bottom: 18px;
}

.premium-repair-form .field-row {
  gap: 16px;
}

.premium-repair-form .field label {
  margin-bottom: 8px;
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.premium-repair-form .field input,
.premium-repair-form .field select,
.premium-repair-form .field textarea {
  min-height: 48px;
  border-radius: 10px;

  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.1);

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.premium-repair-form .field textarea {
  min-height: 130px;
}

.premium-repair-form .field input:hover,
.premium-repair-form .field select:hover,
.premium-repair-form .field textarea:hover {
  border-color: rgba(255,255,255,.16);
}

.premium-repair-form .field input:focus,
.premium-repair-form .field select:focus,
.premium-repair-form .field textarea:focus {
  background: rgba(124,58,237,.025);
  border-color: rgba(167,139,250,.72);
  box-shadow: 0 0 0 3px rgba(124,58,237,.09);
}

.repair-form-submit {
  padding-top: 28px;
}

.repair-form-submit .btn {
  min-height: 50px;
  padding-left: 28px;
  padding-right: 28px;
}

.repair-form-submit .form-note {
  margin-top: 12px;
  max-width: 560px;
  line-height: 1.55;
}

@media (max-width: 720px) {

  .premium-repair-form {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .repair-form-section {
    padding: 26px 0;
  }

  .repair-form-section-title {
    gap: 11px;
  }

}


/* ==========================================
   HOME — REPAIR CASES + PRODUCTS
   ========================================== */

.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}

.home-section-head > div {
  max-width: 700px;
}

.home-section-head .btn {
  flex-shrink: 0;
}


/* REPAIR CASES */

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

.home-repair-card {
  display: block;
  text-decoration: none;

  overflow: hidden;
  border-radius: 14px;

  background: var(--surface);
  border: 1px solid var(--line);

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.home-repair-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,.5);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

.home-repair-image {
  height: 220px;
  overflow: hidden;
  background: #0a0e15;
}

.home-repair-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition: transform .35s ease;
}

.home-repair-card:hover
.home-repair-image img {
  transform: scale(1.035);
}

.home-repair-placeholder {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 2.2rem;
  color: var(--text-faint);
}

.home-repair-body {
  padding: 22px;
}

.home-card-label {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple-bright);

  margin-bottom: 9px;
}

.home-repair-body h3,
.home-product-body h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--text);

  margin-bottom: 9px;
}

.home-repair-body p {
  font-size: .86rem;
  line-height: 1.55;
  color: var(--text-dim);

  margin-bottom: 18px;
}

.home-card-link {
  font-size: .8rem;
  color: var(--text-dim);
}


/* PRODUCTS */

.home-products-section {
  border-top: 1px solid var(--line);
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.home-product-card {
  display: block;
  text-decoration: none;

  overflow: hidden;
  border-radius: 14px;

  background: var(--surface);
  border: 1px solid var(--line);

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.home-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,.5);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

.home-product-image {
  height: 235px;

  position: relative;
  overflow: hidden;

  background: #0a0e15;
}

.home-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition: transform .35s ease;
}

.home-product-card:hover
.home-product-image img {
  transform: scale(1.035);
}

.home-product-placeholder {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 2.3rem;
}

.home-product-stock {
  position: absolute;
  top: 12px;
  right: 12px;

  padding: 5px 8px;

  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .07em;

  border-radius: 999px;

  color: #8ed8ac;
  background: rgba(8,25,16,.82);
  border: 1px solid rgba(34,197,94,.28);
  backdrop-filter: blur(6px);
}

.home-product-body {
  padding: 20px;
}

.home-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  margin-top: 18px;
  padding-top: 16px;

  border-top: 1px solid var(--line);
}

.home-product-bottom strong {
  color: var(--text);
  font-size: 1.05rem;
}

.home-product-bottom span {
  font-size: .74rem;
  color: var(--text-dim);
}

.home-loading,
.home-empty {
  grid-column: 1 / -1;

  padding: 25px;

  border: 1px dashed var(--line);
  border-radius: 12px;

  color: var(--text-faint);
  font-size: .86rem;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

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

}

@media (max-width: 820px) {

  .home-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-repair-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {

  .home-products-grid {
    grid-template-columns: 1fr;
  }

  .home-repair-image,
  .home-product-image {
    height: 250px;
  }

}


/* ==========================================
   FOOTER SOCIAL LINKS
   ========================================== */

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 9px 12px;

  border: 1px solid var(--line);
  border-radius: 999px;

  background: rgba(255,255,255,.025);
  color: var(--text-dim);

  text-decoration: none;
  font-size: .78rem;

  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    color .18s ease;
}

.footer-social-link svg {
  width: 17px;
  height: 17px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-social-link:nth-child(2) svg {
  fill: currentColor;
  stroke: none;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(167,139,250,.45);
  background: rgba(124,58,237,.08);
  color: var(--text);
}


/* ==========================================
   HOME — FOLLOW OUR WORK
   ========================================== */

.home-social-section {
  border-top: 1px solid var(--line);
}

.home-social-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;

  padding: 42px;

  border: 1px solid var(--line);
  border-radius: 18px;

  background:
    radial-gradient(
      circle at top right,
      rgba(124,58,237,.12),
      transparent 38%
    ),
    var(--surface);

  box-shadow:
    0 22px 60px rgba(0,0,0,.18);
}

.home-social-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;

  margin: 10px 0 14px;
}

.home-social-copy p {
  max-width: 620px;
  color: var(--text-dim);
  line-height: 1.7;
}

.home-social-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.home-social-btn {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px 18px;

  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;

  background: rgba(255,255,255,.025);

  color: var(--text);
  text-decoration: none;

  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.home-social-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(167,139,250,.45);
  background: rgba(124,58,237,.08);
}

.home-social-btn svg {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.home-social-btn .facebook-icon {
  fill: currentColor;
  stroke: none;
}

.home-social-btn div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-social-btn span {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .12em;
  color: var(--text-faint);
}

.home-social-btn strong {
  font-size: 1rem;
  color: var(--text);
}

@media (max-width: 820px) {

  .home-social-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

}

/* =========================================================
   MICROSOLDERTECH — STORE REDESIGN V1
   Light Professional Theme
========================================================= */

:root {
  --mst-navy: #0f172a;
  --mst-blue: #2563eb;
  --mst-blue-dark: #1d4ed8;
  --mst-blue-soft: #eff6ff;
  --mst-orange: #f59e0b;

  --mst-bg: #f6f8fc;
  --mst-card: #ffffff;
  --mst-border: #dbe3ef;

  --mst-text: #172033;
  --mst-muted: #64748b;
}

/* PAGE */

body {
  background:
    radial-gradient(
      circle at 85% 8%,
      rgba(37, 99, 235, 0.08),
      transparent 30%
    ),
    #f6f8fc;

  color: var(--mst-text);
}

/* NAVIGATION */

.premium-nav {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--mst-border);
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.05);
}

.logo {
  color: var(--mst-navy);
}

.logo .pad {
  background: var(--mst-orange);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
}

.logo .accent {
  color: var(--mst-blue);
}

.nav-links a {
  color: #526075;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--mst-blue);
}

.nav-links a.active::after {
  background: var(--mst-blue);
}

.nav-cta {
  background: var(--mst-blue);
  border-color: var(--mst-blue);
  color: #ffffff !important;
  box-shadow: 0 7px 20px rgba(37, 99, 235, 0.18);
}

.nav-cta:hover {
  background: var(--mst-blue-dark);
  border-color: var(--mst-blue-dark);
}

/* HERO */

.hero-premium {
  background:
    radial-gradient(
      circle at 85% 25%,
      rgba(37, 99, 235, 0.11),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f7f9fd 55%,
      #eef4ff 100%
    );
}

.hero-premium::before {
  border-color: rgba(37, 99, 235, 0.08);
  box-shadow:
    0 0 0 80px rgba(37, 99, 235, 0.018),
    0 0 0 160px rgba(37, 99, 235, 0.012);
}

.hero-badge {
  color: var(--mst-blue);
  background: var(--mst-blue-soft);
  border-color: #cfe0ff;
}

.hero-badge::before {
  background: var(--mst-orange);
  box-shadow: 0 0 9px rgba(245, 158, 11, 0.45);
}

.hero-premium h1 {
  color: var(--mst-navy);
}

.hero-highlight {
  background: linear-gradient(
    90deg,
    #2563eb 0%,
    #3b82f6 55%,
    #f59e0b 115%
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--mst-muted);
}

/* BUTTONS */

.btn-primary {
  background: linear-gradient(
    135deg,
    #2563eb,
    #1d4ed8
  );

  box-shadow:
    0 12px 28px rgba(37, 99, 235, 0.22),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.btn-primary:hover {
  box-shadow:
    0 16px 35px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255,255,255,.2);
}

.btn-ghost {
  background: #ffffff;
  color: var(--mst-navy);
  border: 1px solid var(--mst-border);
}

.btn-ghost:hover {
  background: var(--mst-blue-soft);
  border-color: #aac8ff;
  color: var(--mst-blue);
}

/* TRUST */

.hero-trust {
  border-top-color: var(--mst-border);
}

.trust-item strong {
  color: var(--mst-navy);
}

.trust-item span {
  color: var(--mst-muted);
}

/* HERO LAB CARD */

.hero-glow {
  background:
    radial-gradient(
      circle,
      rgba(37, 99, 235, 0.16),
      rgba(37, 99, 235, 0.04) 45%,
      transparent 70%
    );
}

.hero-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--mst-border);

  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 #ffffff;
}

.hero-card::after {
  background:
    linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.35),
      transparent 38%,
      rgba(245, 158, 11, 0.18)
    );
}

.hero-card-top {
  color: var(--mst-muted);
}

.hero-image-wrap {
  background: #eef2f7;
  border-color: var(--mst-border);
}

.hero-image {
  opacity: 1;
}

.hero-card-bottom span {
  color: var(--mst-muted);
}

.hero-card-bottom strong {
  color: var(--mst-navy);
}

/* DEVICE / BRAND STRIP */

.brand-strip {
  background: #ffffff;
  border-top-color: var(--mst-border);
  border-bottom-color: var(--mst-border);
}

/* MOBILE NAV */

@media (max-width: 900px) {
  .nav-links {
    background: #ffffff;
  }

  .nav-toggle span {
    background: var(--mst-navy);
  }
}

/* =========================================================
   MICROSOLDERTECH — LIGHT REPAIR SERVICES V1
========================================================= */

.services-preview {
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(37, 99, 235, 0.08),
      transparent 30%
    ),
    #f6f8fc;
  border-top: 1px solid #dbe3ef;
}

.services-preview .eyebrow {
  color: #f59e0b;
}

.services-preview h2 {
  color: #0f172a;
}

.services-preview .section-intro {
  color: #64748b;
}

/* DEVICE CARDS */

.premium-device-grid .premium-card {
  background: #ffffff;
  border: 1px solid #dbe3ef;

  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.055);

  color: #0f172a;
}

.premium-device-grid .premium-card::before {
  background: rgba(37, 99, 235, 0.07);
}

.premium-device-grid .premium-card:hover {
  transform: translateY(-5px);

  border-color: rgba(37, 99, 235, 0.35);

  background: #ffffff;

  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.11);
}

.premium-card .icon-badge {
  background: #eff6ff;
  border: 1px solid #d7e5ff;
}

.premium-card .label {
  color: #0f172a;
}

.premium-card .sublabel {
  color: #64748b;
}

.premium-card .arrow {
  color: #94a3b8;
}

.premium-card:hover .arrow {
  color: #2563eb;
}

.services-preview .btn-outline {
  color: #0f172a;
  background: #ffffff;
  border-color: #dbe3ef;
}

.services-preview .btn-outline:hover {
  color: #2563eb;
  background: #eff6ff;
  border-color: #aac8ff;
}

/* =========================================================
   LIGHT DEVICE SERVICE PANELS
========================================================= */

/* inner service rows / accordions */
.premium-card .service-group,
.premium-card .service-row,
.premium-card .service-item,
.premium-card .service-toggle,
.premium-card .model-group,
.premium-card .accordion-item,
.premium-card .accordion-header {
  background: #ffffff !important;
  border-color: #dbe3ef !important;
  color: #0f172a !important;
}

/* text inside the service rows */
.premium-card .service-group *,
.premium-card .service-row *,
.premium-card .service-item *,
.premium-card .service-toggle *,
.premium-card .model-group *,
.premium-card .accordion-item *,
.premium-card .accordion-header * {
  color: #0f172a;
}

/* secondary/subtext */
.premium-card .service-group p,
.premium-card .service-row p,
.premium-card .service-item p,
.premium-card .model-group p {
  color: #64748b !important;
}

/* + icons */
.premium-card .service-group .plus,
.premium-card .service-row .plus,
.premium-card .service-item .plus,
.premium-card .service-toggle .plus,
.premium-card .accordion-header .plus {
  color: #2563eb !important;
}

/* generic clickable boxes inside premium cards */
.premium-card button,
.premium-card [role="button"] {
  background: #ffffff;
  color: #0f172a;
  border-color: #dbe3ef;
}

.premium-card button:hover,
.premium-card [role="button"]:hover {
  background: #eff6ff;
  border-color: #aac8ff;
}

/* =========================================================
   LIGHT SERVICE CATALOG — FINAL
========================================================= */

.service-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-catalog-card {
  background: #ffffff !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.catalog-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.catalog-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eff6ff !important;
  border: 1px solid #d7e5ff !important;
  color: #2563eb;
  font-size: 1.35rem;
}

.catalog-title {
  color: #0f172a !important;
}

.catalog-subtitle {
  color: #64748b !important;
}

.service-group {
  background: #ffffff !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 12px;
  margin-top: 12px;
  overflow: hidden;
}

.service-group summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  color: #0f172a !important;
  font-weight: 700;
  background: #f8fafc !important;
  position: relative;
}

.service-group summary::-webkit-details-marker {
  display: none;
}

.service-group summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #2563eb;
  font-size: 1.35rem;
  font-weight: 700;
}

.service-group[open] summary::after {
  content: "−";
}

.service-list {
  padding: 8px;
  background: #ffffff !important;
  border-top: 1px solid #e5e7eb;
}

.service-link {
  display: block;
  padding: 12px 14px;
  color: #334155 !important;
  text-decoration: none;
  border-radius: 8px;
}

.service-link:hover {
  background: #eff6ff !important;
  color: #2563eb !important;
}

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

/* =========================================================
   MICROSOLDERTECH — COMPLETE LIGHT HOME THEME
========================================================= */

/* WHY MICROSOLDERTECH */

.expertise-section {
  background: #ffffff !important;
  color: #0f172a;
  border-top: 1px solid #dbe3ef;
}

.expertise-section h2,
.expertise-section h3,
.expertise-section h4 {
  color: #0f172a !important;
}

.expertise-section p,
.expertise-section .lede {
  color: #64748b !important;
}

.premium-why .why-item {
  background: #f8fafc !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 14px;
}

.premium-why .why-item h4 {
  color: #0f172a !important;
}

.premium-why .why-item p {
  color: #64748b !important;
}

.premium-why .why-item .dot {
  background: #2563eb !important;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.08);
}


/* REPAIR CASES */

.home-repair-cases {
  background: #f6f8fc !important;
  border-top: 1px solid #dbe3ef;
}

.home-repair-cases h2 {
  color: #0f172a !important;
}

.home-repair-cases .section-intro {
  color: #64748b !important;
}

.home-repair-card {
  background: #ffffff !important;
  border-color: #dbe3ef !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.055);
}

.home-repair-card:hover {
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.11);
}

.home-repair-image {
  background: #eef2f7 !important;
}

.home-repair-placeholder {
  color: #94a3b8 !important;
}

.home-card-label {
  color: #2563eb !important;
}

.home-repair-body h3,
.home-product-body h3 {
  color: #0f172a !important;
}

.home-repair-body p,
.home-card-link {
  color: #64748b !important;
}


/* PRODUCTS */

.home-products-section {
  background: #ffffff !important;
  border-top-color: #dbe3ef !important;
}

.home-products-section h2 {
  color: #0f172a !important;
}

.home-product-card {
  background: #ffffff !important;
  border-color: #dbe3ef !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.055);
}

.home-product-card:hover {
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.11);
}

.home-product-image {
  background: #eef2f7 !important;
}

.home-product-placeholder {
  color: #94a3b8 !important;
}

.home-product-bottom {
  border-top-color: #e2e8f0 !important;
}

.home-product-bottom strong {
  color: #0f172a !important;
}

.home-product-bottom span {
  color: #64748b !important;
}

.home-loading,
.home-empty {
  border-color: #cbd5e1 !important;
  color: #64748b !important;
}


/* FOLLOW OUR WORK */

.home-social-section {
  background: #f6f8fc !important;
  border-top-color: #dbe3ef !important;
}

.home-social-card {
  background:
    radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.08),
      transparent 38%
    ),
    #ffffff !important;

  border-color: #dbe3ef !important;

  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.08);
}

.home-social-copy h2 {
  color: #0f172a !important;
}

.home-social-copy p {
  color: #64748b !important;
}

.home-social-btn {
  background: #ffffff !important;
  border-color: #dbe3ef !important;
  color: #0f172a !important;
}

.home-social-btn:hover {
  background: #eff6ff !important;
  border-color: #aac8ff !important;
}

.home-social-btn span {
  color: #64748b !important;
}

.home-social-btn strong {
  color: #0f172a !important;
}


/* CTA */

.premium-cta {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(37, 99, 235, 0.12),
      transparent 55%
    ),
    #eef4ff !important;

  border-top: 1px solid #dbe3ef;
}

.premium-cta h2 {
  color: #0f172a !important;
}

.premium-cta p {
  color: #64748b !important;
}

.cta-badge {
  color: #f59e0b !important;
}


/* FOOTER */

.premium-footer {
  background: #0f172a !important;
  border-top: 1px solid #1e293b !important;
}

.premium-footer,
.premium-footer p {
  color: #cbd5e1 !important;
}

.footer-grid h5 {
  color: #94a3b8 !important;
}

.footer-grid ul li a {
  color: #cbd5e1 !important;
}

.footer-grid ul li a:hover {
  color: #ffffff !important;
}

.footer-bottom {
  border-top-color: #334155 !important;
  color: #94a3b8 !important;
}

.footer-social-link {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

.footer-social-link:hover {
  background: rgba(37, 99, 235, 0.16) !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
}

/* =========================================================
   LIGHT PROCESS SECTION
========================================================= */

.process-section {
  background: #f6f8fc !important;
  border-top: 1px solid #dbe3ef;
}

.process-section h2 {
  color: #0f172a !important;
}

.process-grid {
  gap: 22px;
}

.process-card {
  background: #ffffff !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.process-number {
  color: #2563eb !important;
}

.process-card h3 {
  color: #0f172a !important;
}

.process-card p {
  color: #64748b !important;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

/* =========================================================
   FINAL FIX — HOW IT WORKS LIGHT CARDS
========================================================= */

.process-section {
  background: #f6f8fc !important;
}

.process-section .process-grid {
  gap: 22px;
}

.process-section .process-card {
  background: #ffffff !important;
  border: 1px solid #dbe3ef !important;
  color: #0f172a !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;
}

.process-section .process-card h3 {
  color: #0f172a !important;
}

.process-section .process-card p {
  color: #64748b !important;
}

.process-section .process-number {
  color: #2563eb !important;
}

.process-section .process-card::before,
.process-section .process-card::after {
  background: transparent !important;
}


/* =========================================================
   CHECKOUT V1
========================================================= */

.checkout-page {
  min-height: 100vh;
  padding: 90px 0 110px;
  background: #f6f8fc;
}

.checkout-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.checkout-heading h1 {
  color: #0f172a;
  margin: 12px 0;
}

.checkout-heading p {
  color: #64748b;
}

.checkout-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(320px, .65fr);
  gap: 24px;
  align-items: start;
}

.checkout-card {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  padding: 26px;
  box-shadow:
    0 10px 28px rgba(15,23,42,.055);
}

.checkout-card h2 {
  color: #0f172a;
  margin-bottom: 20px;
}

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

.checkout-line-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e5eaf2;
}

.checkout-line-item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.checkout-line-item strong {
  color: #0f172a;
}

.checkout-line-item span {
  color: #64748b;
  font-size: .78rem;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #e5eaf2;
  color: #64748b;
}

.checkout-grand-total {
  color: #0f172a;
  font-size: 1.05rem;
  border-bottom: none;
}

.checkout-grand-total strong {
  font-size: 1.3rem;
}

@media (max-width: 850px) {

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary-card {
    position: static;
  }

}


/* =========================================================
   CHECKOUT V1 — LIGHT FORM OVERRIDE
========================================================= */

.checkout-card .field {
  margin-bottom: 18px;
}

.checkout-card .field label {
  display: block;
  margin-bottom: 7px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 500;
}

.checkout-card .field input,
.checkout-card .field select,
.checkout-card .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;

  background: #ffffff !important;
  color: #0f172a !important;

  border: 1px solid #cbd5e1 !important;
  border-radius: 10px;

  outline: none;
  box-shadow: none;

  font-family: inherit;
  font-size: 0.95rem;
}

.checkout-card .field input:hover,
.checkout-card .field select:hover,
.checkout-card .field textarea:hover {
  border-color: #94a3b8 !important;
}

.checkout-card .field input:focus,
.checkout-card .field select:focus,
.checkout-card .field textarea:focus {
  background: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.checkout-card .field input::placeholder,
.checkout-card .field textarea::placeholder {
  color: #94a3b8;
}

.checkout-card .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 650px) {
  .checkout-card .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


/* =========================================================
   MOBILE CART — ALWAYS VISIBLE
========================================================= */

.mobile-cart-link {
  display: none;
}

@media (max-width: 900px) {

  .site-nav .wrap {
    display: flex;
    align-items: center;
  }

  .mobile-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-left: auto;
    margin-right: 10px;

    border: 1px solid #dbe3ef;
    border-radius: 10px;

    background: #ffffff;
    text-decoration: none;
  }

  .mobile-cart-icon {
    position: relative;

    width: 19px;
    height: 14px;

    border: 2px solid #0f172a;
    border-top: none;

    border-radius: 2px 2px 4px 4px;

    transform: skew(-7deg);
  }

  .mobile-cart-icon::before {
    content: "";

    position: absolute;

    width: 6px;
    height: 2px;

    background: #0f172a;

    top: -4px;
    left: -5px;

    border-radius: 2px;
  }

  .mobile-cart-icon::after {
    content: "";

    position: absolute;

    width: 4px;
    height: 4px;

    border-radius: 50%;
    background: #0f172a;

    left: 2px;
    bottom: -7px;

    box-shadow: 10px 0 0 #0f172a;
  }

  .mobile-cart-link .cart-badge {
    position: absolute;

    top: -6px;
    right: -6px;

    min-width: 18px;
    height: 18px;

    padding: 0 4px;

    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #2563eb;
    color: #ffffff;

    font-size: 0.65rem;
    font-weight: 700;
  }

}


/* =========================================================
   CART CLICK AREA FIX
========================================================= */

.cart-link {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.cart-link::before,
.cart-link::after,
.cart-link .cart-badge {
  pointer-events: none;
}


/* =========================================================
   MICROSOLDERTECH STOREFRONT HEADER V1
========================================================= */

.mst-storefront {
  background: #ffffff;
  color: #111827;
}

.mst-shop-top {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.mst-shop-top-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.mst-shop-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  color: #111827;
  text-decoration: none;
}

.mst-logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #111827;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.mst-logo-text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.mst-logo-text span {
  color: #2563eb;
}

.mst-shop-search {
  flex: 1;
  min-width: 260px;
  max-width: 670px;
  height: 46px;
  display: flex;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.mst-shop-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0 16px;
  font-size: 14px;
  color: #111827;
  background: transparent;
}

.mst-shop-search button {
  width: 52px;
  border: 0;
  border-left: 1px solid #e5e7eb;
  background: #111827;
  color: #ffffff;
  font-size: 16px;
}

.mst-shop-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.mst-shop-action,
.mst-shop-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.mst-shop-action small,
.mst-shop-cart small {
  display: block;
  color: #6b7280;
  font-size: 10px;
  line-height: 1.1;
}

.mst-shop-action strong,
.mst-shop-cart strong {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
}

.mst-action-icon,
.mst-cart-icon {
  font-size: 20px;
}

.mst-shop-cart .cart-badge {
  position: absolute;
  top: -8px;
  left: 14px;
}

.mst-category-bar {
  background: #111827;
}

.mst-category-nav {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
}

.mst-category-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 17px;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.08);
}

.mst-category-nav a:hover {
  background: rgba(255,255,255,.08);
}

.mst-store-hero {
  padding: 22px 0 30px;
  background: #f4f6f8;
}

.mst-store-hero-grid {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 16px;
}

.mst-hero-sidebar {
  overflow: hidden;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15,23,42,.05);
}

.mst-sidebar-title {
  padding: 17px 18px;
  background: #111827;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.mst-hero-sidebar a {
  min-height: 43px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #374151;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  border-bottom: 1px solid #edf0f3;
}

.mst-hero-sidebar a:hover {
  background: #f8fafc;
  color: #2563eb;
}

.mst-hero-sidebar .mst-sidebar-all {
  color: #2563eb;
  font-weight: 800;
}

.mst-feature-banner {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 20%, rgba(59,130,246,.16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f3f7fb 100%);
  border: 1px solid #e1e5ea;
  box-shadow: 0 4px 20px rgba(15,23,42,.05);
}

.mst-feature-copy {
  padding: 46px 30px 54px 44px;
  position: relative;
  z-index: 2;
}

.mst-feature-eyebrow {
  margin-bottom: 12px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.mst-feature-copy h1 {
  max-width: 610px;
  margin: 0;
  color: #111827;
  font-size: clamp(38px, 4.1vw, 64px);
  line-height: .98;
  letter-spacing: -2.8px;
}

.mst-feature-copy h1 span {
  display: block;
  color: #2563eb;
}

.mst-feature-copy p {
  max-width: 560px;
  margin: 20px 0 0;
  color: #52606d;
  font-size: 15px;
  line-height: 1.7;
}

.mst-feature-buttons {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mst-shop-now {
  background: #ffffff;
  border: 1px solid #cfd6df;
  color: #111827;
}

.mst-feature-trust {
  margin-top: 23px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #4b5563;
  font-size: 11px;
  font-weight: 750;
}

.mst-feature-visual {
  height: 100%;
  padding: 30px 30px 30px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mst-feature-image-card {
  width: min(100%, 480px);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mst-feature-image-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(15,23,42,.16));
}

.mst-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 17px;
  display: flex;
  gap: 7px;
}

.mst-slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
}

.mst-slider-dots button.active {
  background: #2563eb;
}

.mst-store-toggle {
  display: none;
}


@media (max-width: 1180px) {

  .mst-shop-top-inner {
    gap: 16px;
  }

  .mst-shop-actions {
    gap: 12px;
  }

  .mst-shop-action {
    display: none;
  }

  .mst-shop-logo {
    min-width: auto;
  }

}


@media (max-width: 900px) {

  .mst-shop-top-inner {
    min-height: 74px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .mst-shop-logo {
    flex: 1;
  }

  .mst-logo-text {
    font-size: 17px;
  }

  .mst-shop-actions {
    margin-left: 0;
  }

  .mst-shop-cart span:not(.cart-badge):not(.mst-cart-icon) {
    display: none;
  }

  .mst-store-toggle {
    display: flex;
  }

  .mst-shop-search {
    order: 4;
    flex-basis: 100%;
    max-width: none;
    height: 44px;
  }

  .mst-category-nav {
    justify-content: flex-start;
  }

  .mst-store-hero-grid {
    grid-template-columns: 1fr;
  }

  .mst-hero-sidebar {
    display: none;
  }

  .mst-feature-banner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .mst-feature-copy {
    padding: 38px 24px 18px;
  }

  .mst-feature-copy h1 {
    font-size: clamp(38px, 10vw, 54px);
  }

  .mst-feature-visual {
    padding: 0 24px 44px;
  }

  .mst-feature-image-card {
    height: 250px;
  }

}


@media (max-width: 560px) {

  .mst-logo-mark {
    width: 38px;
    height: 38px;
  }

  .mst-logo-text {
    font-size: 15px;
  }

  .mst-category-nav a {
    padding: 0 14px;
    font-size: 11px;
  }

  .mst-feature-copy {
    padding: 32px 20px 16px;
  }

  .mst-feature-copy h1 {
    letter-spacing: -2px;
  }

  .mst-feature-buttons {
    flex-direction: column;
  }

  .mst-feature-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .mst-feature-trust {
    gap: 10px;
  }

  .mst-feature-visual {
    padding: 0 18px 42px;
  }

  .mst-feature-image-card {
    height: 210px;
  }

}


/* =====================================================
   MICROSOLDERTECH STOREFRONT HEADER V2
===================================================== */

.mst-shop-top-v2 {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(300px, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.mst-shop-top-v2 .mst-shop-logo {
  flex-shrink: 0;
}

.mst-shop-top-v2 .mst-shop-search {
  width: 100%;
  max-width: none;
  height: 48px;
  position: relative;
}

.mst-shop-top-v2 .mst-shop-search input {
  width: 100%;
  height: 48px;
  padding: 0 58px 0 20px;
  border: 1px solid #d8dee9;
  border-radius: 14px;
  background: #f7f8fa;
  font-size: 15px;
  color: #111827;
  outline: none;
  box-shadow: none;
}

.mst-shop-top-v2 .mst-shop-search input:focus {
  border-color: #2563eb;
  background: #fff;
}

.mst-shop-top-v2 .mst-shop-search button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mst-shop-actions-v2 {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.mst-shop-actions-v2 .mst-shop-action,
.mst-shop-actions-v2 .mst-shop-cart {
  min-height: 54px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #111827;
  white-space: nowrap;
  transition:
    background .2s ease,
    border-color .2s ease;
}

.mst-shop-actions-v2 .mst-shop-action:hover,
.mst-shop-actions-v2 .mst-shop-cart:hover {
  background: #f7f8fa;
  border-color: #e2e7ef;
}

.mst-v2-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eef4ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
}

.mst-v2-cart-icon {
  min-width: 42px;
  height: 34px;
  padding: 0 8px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.mst-v2-action-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.mst-v2-action-copy small {
  margin-bottom: 3px;
  color: #7a8495;
  font-size: 10px;
  font-weight: 500;
}

.mst-v2-action-copy strong {
  color: #111827;
  font-size: 12px;
  font-weight: 750;
}

.mst-shop-actions-v2 .mst-shop-cart {
  position: relative;
  background: #f7f8fa;
  border-color: #e2e7ef;
}

.mst-shop-actions-v2 .cart-badge {
  top: -6px;
  right: -6px;
}

@media (max-width: 1250px) {
  .mst-shop-top-v2 {
    gap: 18px;
  }

  .mst-shop-actions-v2 .mst-v2-action-copy {
    display: none;
  }

  .mst-shop-actions-v2 .mst-shop-action,
  .mst-shop-actions-v2 .mst-shop-cart {
    padding: 8px;
  }
}

@media (max-width: 900px) {
  .mst-shop-top-v2 {
    min-height: auto;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .mst-shop-top-v2 .mst-shop-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .mst-shop-actions-v2 {
    display: none;
  }
}


/* =====================================================
   MICROSOLDERTECH STOREFRONT HEADER V3
===================================================== */

.mst-shop-top-v3 {
  background: #fff;
}

.mst-shop-v3-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns:
    max-content
    minmax(320px, 1fr)
    max-content;
  align-items: center;
  gap: 30px;
}

.mst-shop-v3-inner .mst-shop-logo {
  flex-shrink: 0;
}

/* SEARCH */

.mst-shop-search-v3 {
  position: relative;
  width: 100%;
  max-width: 690px;
  justify-self: center;
  height: 48px;
  margin: 0;
}

.mst-shop-search-v3 input {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 58px 0 18px;
  border: 1px solid #d7dde7;
  border-radius: 12px;
  background: #f8fafc;
  color: #111827;
  font-size: 15px;
  outline: none;
  box-shadow: none;
}

.mst-shop-search-v3 input:focus {
  background: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.mst-shop-search-v3 button {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: auto;
  left: auto;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #2563eb;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: none;
  cursor: pointer;
}

.mst-shop-search-v3 button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* RIGHT ACTIONS */

.mst-shop-actions-v3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mst-v3-action,
.mst-v3-cart {
  position: relative;
  min-height: 50px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
}

.mst-v3-action:hover {
  background: #f8fafc;
  border-color: #e5eaf1;
}

.mst-v3-action-icon,
.mst-v3-cart-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}

.mst-v3-action-icon {
  background: #eef4ff;
  color: #2563eb;
}

.mst-v3-action-icon svg,
.mst-v3-cart-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mst-v3-action-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.mst-v3-action-text small {
  margin: 0 0 3px;
  color: #7b8494;
  font-size: 10px;
  font-weight: 500;
}

.mst-v3-action-text strong {
  margin: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 750;
}

/* CART */

.mst-v3-cart {
  padding-right: 14px;
  background: #f8fafc;
  border-color: #e3e8ef;
}

.mst-v3-cart:hover {
  background: #f1f5f9;
}

.mst-v3-cart-icon {
  background: #111827;
  color: #fff;
}

.mst-v3-cart .cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

/* TABLET */

@media (max-width: 1200px) {
  .mst-shop-v3-inner {
    gap: 18px;
  }

  .mst-v3-action-text {
    display: none;
  }

  .mst-v3-action,
  .mst-v3-cart {
    padding: 8px;
  }
}

/* MOBILE */

@media (max-width: 900px) {
  .mst-shop-v3-inner {
    min-height: auto;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .mst-shop-search-v3 {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }

  .mst-shop-actions-v3 {
    display: none;
  }
}


/* =====================================================
   HEADER V3 — LEGACY CART CSS OVERRIDE
===================================================== */

.mst-shop-actions-v3 .mst-v3-cart.cart-link {
  position: relative;
  width: auto !important;
  height: auto !important;
  min-width: 126px;
  min-height: 50px;
  padding: 7px 14px 7px 10px !important;

  display: flex !important;
  align-items: center;
  justify-content: flex-start;

  gap: 9px;

  border: 1px solid #e3e8ef;
  border-radius: 11px;

  background: #f8fafc;
  color: #111827;

  font-size: 1rem !important;
  opacity: 1 !important;
  filter: none !important;

  overflow: visible;
}

/* Disable the old CSS-drawn cart */
.mst-shop-actions-v3 .mst-v3-cart.cart-link::before,
.mst-shop-actions-v3 .mst-v3-cart.cart-link::after {
  content: none !important;
  display: none !important;
}

/* Keep our real SVG cart */
.mst-shop-actions-v3 .mst-v3-cart-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;

  display: grid;
  place-items: center;

  background: #111827;
  color: #fff;
  border-radius: 9px;
}

/* Restore cart text hidden by legacy font-size rule */
.mst-shop-actions-v3 .mst-v3-cart .mst-v3-action-text {
  display: flex;
  flex-direction: column;
  min-width: 62px;
}

.mst-shop-actions-v3 .mst-v3-cart .mst-v3-action-text small {
  font-size: 10px !important;
}

.mst-shop-actions-v3 .mst-v3-cart .mst-v3-action-text strong {
  font-size: 12px !important;
}

/* Correct badge positioning */
.mst-shop-actions-v3 .mst-v3-cart.cart-link .cart-badge {
  position: absolute !important;

  top: -7px !important;
  right: -7px !important;

  width: auto !important;
  min-width: 20px !important;
  height: 20px !important;

  padding: 0 5px !important;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid #fff;
  border-radius: 999px;

  background: #2563eb;
  color: #fff;

  font-size: 10px !important;
  font-weight: 800;
  line-height: 16px;
}

/* Give the right-side controls enough breathing room */
.mst-shop-actions-v3 {
  gap: 12px;
}

.mst-shop-actions-v3 .mst-v3-action {
  min-width: 128px;
}

/* Slightly reduce search so actions never collide */
.mst-shop-search-v3 {
  max-width: 620px;
}

@media (max-width: 1200px) {
  .mst-shop-actions-v3 .mst-v3-action {
    min-width: auto;
  }

  .mst-shop-actions-v3 .mst-v3-cart.cart-link {
    min-width: 52px;
    padding: 8px !important;
  }

  .mst-shop-actions-v3 .mst-v3-cart .mst-v3-action-text {
    display: none;
  }
}


/* =====================================================
   MICROSOLDERTECH STOREFRONT HERO V2
===================================================== */

/* Main banner */

.mst-feature-banner {
  position: relative;
  min-height: 550px;
  padding: 54px 52px 64px;

  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  align-items: center;
  gap: 46px;

  overflow: hidden;

  border: 1px solid #dbe3ee;
  border-radius: 14px;

  background:
    radial-gradient(
      circle at 88% 28%,
      rgba(37, 99, 235, .10),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fbfdff 54%,
      #f3f7fc 100%
    );

  box-shadow:
    0 14px 35px rgba(15, 23, 42, .045);
}


/* COPY */

.mst-feature-copy {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 590px;
}

.mst-feature-eyebrow {
  margin-bottom: 18px;

  color: #2563eb;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.2;
}

.mst-feature-copy h1 {
  margin: 0;

  max-width: 590px;

  color: #111827;

  font-size: clamp(48px, 4vw, 66px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
}

.mst-feature-copy h1 span {
  display: block;
  margin-top: 8px;

  color: #2563eb;
}

.mst-feature-copy p {
  max-width: 530px;

  margin: 26px 0 0;

  color: #5f6b7a;

  font-size: 17px;
  line-height: 1.65;
}


/* BUTTONS */

.mst-feature-buttons {
  margin-top: 28px;

  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mst-feature-buttons .btn {
  min-height: 50px;

  padding: 0 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;
}

.mst-feature-buttons .btn-primary {
  background: #2563eb;
  border: 1px solid #2563eb;
  color: #fff;

  box-shadow:
    0 8px 20px rgba(37, 99, 235, .18);
}

.mst-feature-buttons .btn-primary:hover {
  transform: translateY(-1px);
}

.mst-feature-buttons .mst-shop-now {
  background: #fff;
  border: 1px solid #d7dee8;
  color: #111827;
}

.mst-feature-buttons .mst-shop-now:hover {
  background: #f8fafc;
  border-color: #c9d2df;
}


/* TRUST POINTS */

.mst-feature-trust {
  margin-top: 27px;

  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.mst-feature-trust span {
  position: relative;

  color: #526071;

  font-size: 12px;
  font-weight: 650;

  white-space: nowrap;
}


/* IMAGE */

.mst-feature-visual {
  position: relative;
  z-index: 1;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.mst-feature-image-card {
  position: relative;

  width: 100%;
  max-width: 560px;

  overflow: hidden;

  border-radius: 14px;

  box-shadow:
    0 24px 50px rgba(15, 23, 42, .16);
}

.mst-feature-image-card::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  border: 1px solid rgba(255,255,255,.15);
  border-radius: inherit;
}

.mst-feature-image-card img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: cover;

  transform: scale(1.015);
}


/* SLIDER DOTS */

.mst-slider-dots {
  position: absolute;

  left: 50%;
  bottom: 18px;

  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 7px;
}

.mst-slider-dots button {
  width: 8px;
  height: 8px;

  padding: 0;

  border: 0;
  border-radius: 999px;

  background: #cbd5e1;
}

.mst-slider-dots button.active {
  width: 22px;

  background: #2563eb;
}


/* MEDIUM DESKTOP */

@media (max-width: 1250px) {

  .mst-feature-banner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);

    gap: 32px;

    padding-left: 38px;
    padding-right: 38px;
  }

  .mst-feature-copy h1 {
    font-size: clamp(44px, 4vw, 58px);
  }

}


/* TABLET / MOBILE */

@media (max-width: 900px) {

  .mst-feature-banner {
    min-height: auto;

    grid-template-columns: 1fr;

    gap: 34px;

    padding: 38px 26px 58px;
  }

  .mst-feature-copy {
    max-width: none;
  }

  .mst-feature-copy h1 {
    max-width: 650px;

    font-size: clamp(40px, 9vw, 58px);
  }

  .mst-feature-copy p {
    max-width: 620px;
  }

  .mst-feature-visual {
    justify-content: flex-start;
  }

  .mst-feature-image-card {
    max-width: 650px;
  }

}


/* SMALL MOBILE */

@media (max-width: 560px) {

  .mst-feature-banner {
    padding:
      30px
      20px
      52px;
  }

  .mst-feature-eyebrow {
    font-size: 11px;
  }

  .mst-feature-copy h1 {
    font-size: 40px;
  }

  .mst-feature-copy p {
    margin-top: 20px;

    font-size: 15px;
  }

  .mst-feature-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .mst-feature-buttons .btn {
    width: 100%;
  }

  .mst-feature-trust {
    gap: 10px 16px;
  }

}


/* =====================================================
   MICROSOLDERTECH HERO V2.1 — DESKTOP BALANCE FIX
===================================================== */

@media (min-width: 901px) {

  .mst-feature-banner {
    min-height: 500px;

    padding:
      46px
      42px
      58px;

    grid-template-columns:
      minmax(500px, 1.15fr)
      minmax(360px, .85fr);

    gap: 34px;

    align-items: center;
  }


  /* TEXT COLUMN */

  .mst-feature-copy {
    width: 100%;
    max-width: none;

    padding: 0 !important;
  }

  .mst-feature-eyebrow {
    max-width: 420px;

    margin-bottom: 18px;

    font-size: 12px;
    line-height: 1.25;
  }

  .mst-feature-copy h1 {
    width: 100%;
    max-width: 650px;

    margin: 0;

    font-size: clamp(46px, 3.6vw, 62px);
    line-height: .98;
    letter-spacing: -.045em;
  }

  .mst-feature-copy h1 span {
    display: block;

    width: 100%;
    max-width: 650px;

    margin-top: 7px;
  }

  .mst-feature-copy p {
    width: 100%;
    max-width: 570px;

    margin-top: 24px;

    font-size: 16px;
    line-height: 1.6;
  }


  /* BUTTONS */

  .mst-feature-buttons {
    margin-top: 26px;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }


  /* TRUST ROW */

  .mst-feature-trust {
    margin-top: 24px;

    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }


  /* IMAGE COLUMN */

  .mst-feature-visual {
    width: 100%;

    padding: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: none !important;
  }

  .mst-feature-image-card {
    width: 100%;
    max-width: 510px;

    height: auto !important;

    margin: 0;

    border-radius: 14px;

    overflow: hidden;
  }

  .mst-feature-image-card img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;

    transform: none;
  }

}


/* =====================================================
   MEDIUM DESKTOP
===================================================== */

@media (min-width: 901px) and (max-width: 1250px) {

  .mst-feature-banner {
    grid-template-columns:
      minmax(430px, 1.1fr)
      minmax(320px, .9fr);

    gap: 26px;

    padding-left: 32px;
    padding-right: 32px;
  }

  .mst-feature-copy h1 {
    font-size: clamp(42px, 3.7vw, 54px);
  }

  .mst-feature-image-card {
    max-width: 470px;
  }

}


/* =====================================================
   HERO V2.2 — TITLE TWO-LINE REFINEMENT
===================================================== */

@media (min-width: 901px) {

  .mst-feature-copy h1 {
    max-width: 720px;
    font-size: clamp(44px, 3.25vw, 58px);
    letter-spacing: -.045em;
  }

  .mst-feature-copy h1 span {
    max-width: 720px;
    white-space: nowrap;
  }

}

@media (min-width: 901px) and (max-width: 1150px) {

  .mst-feature-copy h1 span {
    white-space: normal;
  }

}


/* =====================================================
   MICROSOLDERTECH HERO SLIDER V1
===================================================== */

.mst-feature-banner {
  position: relative;
}

.mst-hero-slide {
  display: none;

  grid-template-columns:
    minmax(500px, 1.15fr)
    minmax(360px, .85fr);

  align-items: center;
  gap: 34px;

  width: 100%;

  animation: mstHeroFade .35s ease;
}

.mst-hero-slide.active {
  display: grid;
}

@keyframes mstHeroFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mst-hero-slide .mst-feature-copy {
  padding: 0 !important;
}

.mst-hero-slide .mst-feature-visual {
  padding: 0 !important;
  transform: none !important;
}

.mst-hero-slide .mst-feature-image-card {
  width: 100%;
  max-width: 510px;
  height: 350px !important;

  overflow: hidden;
  border-radius: 14px;
}

.mst-hero-slide .mst-feature-image-card img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  transform: none;
}

.mst-slider-dots button {
  cursor: pointer;
}

@media (min-width: 901px) and (max-width: 1250px) {

  .mst-hero-slide {
    grid-template-columns:
      minmax(430px, 1.1fr)
      minmax(320px, .9fr);

    gap: 26px;
  }

  .mst-hero-slide .mst-feature-image-card {
    max-width: 470px;
    height: 320px !important;
  }

}

@media (max-width: 900px) {

  .mst-hero-slide,
  .mst-hero-slide.active {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .mst-hero-slide .mst-feature-image-card {
    max-width: 650px;
    height: 300px !important;
  }

}

@media (max-width: 560px) {

  .mst-hero-slide .mst-feature-image-card {
    height: 230px !important;
  }

}


/* ==========================================
   PRODUCT MODAL — LIGHT PREMIUM OVERRIDE
   ========================================== */

.product-modal-backdrop {
  background: rgba(15, 23, 42, 0.35) !important;
  backdrop-filter: blur(8px);
}

.product-modal-dialog {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.20),
    0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

.product-modal-media {
  background: #f8fafc !important;
  border-right: 1px solid #e5e7eb !important;
}

.product-modal-main {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}

.product-modal-main img {
  background: #ffffff !important;
}

.product-modal-info {
  background: #ffffff !important;
  color: #111827 !important;
}

.product-modal-info h2 {
  color: #111827 !important;
}

.product-modal-description {
  color: #4b5563 !important;
  line-height: 1.6;
}

.product-modal-price-row {
  color: #111827 !important;
}

.product-modal-price-row * {
  color: inherit;
}

.product-modal-close {
  background: #f3f4f6 !important;
  color: #111827 !important;
  border: 1px solid #e5e7eb !important;
}

.product-modal-close:hover {
  background: #e5e7eb !important;
}

.product-modal-thumb {
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
}

.product-modal-actions .btn {
  border-radius: 10px !important;
}

@media (max-width: 820px) {
  .product-modal-media {
    border-right: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
  }
}


/* ==========================================
   STORE PRODUCTS — LIGHT THEME FINAL OVERRIDE
   ========================================== */

.product-card {
  background: #ffffff !important;
  border-color: #dbe3ef !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07) !important;
}

.product-img {
  background: #f8fafc !important;
}

.product-body {
  background: #ffffff !important;
  color: #0f172a !important;
}

.product-body h4 {
  color: #0f172a !important;
}

.product-body p {
  color: #64748b !important;
}

.product-cat {
  color: #b45309 !important;
}

.product-price {
  color: #0f172a !important;
}

.product-footer {
  color: #0f172a !important;
}


/* PRODUCT MODAL — FORCE LIGHT */

.product-modal-backdrop {
  background: rgba(15, 23, 42, 0.32) !important;
}

.product-modal-dialog,
.product-modal-grid,
.product-modal-info {
  background: #ffffff !important;
  color: #0f172a !important;
}

.product-modal-media {
  background: #f8fafc !important;
  border-right-color: #e2e8f0 !important;
}

.product-modal-main {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

.product-modal-main img {
  background: #ffffff !important;
}

.product-modal-info h2 {
  color: #0f172a !important;
}

.product-modal-description {
  color: #64748b !important;
}

.product-modal-price-row,
.product-modal-price,
.product-modal-price-row * {
  color: #0f172a !important;
}

.product-modal-close {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

.product-modal-thumb {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}


/* =========================================================
   MICROSOLDERTECH — GLOBAL BRAND THEME FINAL
   Technical / Microsoldering / Electronics
   ========================================================= */

:root {
  --mst-bg: #f4f7fb;
  --mst-surface: #ffffff;
  --mst-surface-soft: #f8fafc;
  --mst-border: #dbe3ef;

  --mst-navy: #0f172a;
  --mst-text: #1f2937;
  --mst-muted: #64748b;

  --mst-blue: #2563eb;
  --mst-blue-dark: #1d4ed8;
  --mst-blue-soft: #eff6ff;

  --mst-purple: #7c3aed;
  --mst-purple-soft: #f5f3ff;

  --mst-copper: #d97706;
  --mst-green: #16a34a;

  --mst-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --mst-shadow-hover: 0 18px 42px rgba(15, 23, 42, 0.13);
}


/* GLOBAL PAGE */

html,
body {
  background: var(--mst-bg) !important;
  color: var(--mst-text) !important;
}

body {
  color: var(--mst-text) !important;
}

main,
section {
  color: var(--mst-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--mst-navy);
}

p {
  color: var(--mst-muted);
}


/* HEADER / NAVIGATION */

.site-nav,
.premium-nav,
.mst-shop-top,
.mst-shop-top-v2,
.mst-shop-top-v3 {
  background: #ffffff !important;
  border-bottom-color: var(--mst-border) !important;
}

.nav-links a,
.mst-shop-logo,
.mst-v3-action,
.mst-v3-cart {
  color: var(--mst-navy) !important;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--mst-blue) !important;
}

.nav-links a.active::after {
  background: var(--mst-blue) !important;
}

.nav-cta,
.btn-primary,
.product-add-btn {
  background: var(--mst-blue) !important;
  border-color: var(--mst-blue) !important;
  color: #ffffff !important;
}

.nav-cta:hover,
.btn-primary:hover,
.product-add-btn:hover {
  background: var(--mst-blue-dark) !important;
  border-color: var(--mst-blue-dark) !important;
}


/* STORE CATEGORY BAR */

.mst-category-bar {
  background:
    linear-gradient(
      90deg,
      #0f172a 0%,
      #172554 55%,
      #312e81 100%
    ) !important;
}

.mst-category-nav a {
  color: #ffffff !important;
  border-right-color: rgba(255,255,255,.10) !important;
}

.mst-category-nav a:hover {
  background: rgba(255,255,255,.12) !important;
}


/* HERO */

.hero,
.hero-premium,
.mst-store-hero {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(37,99,235,.10),
      transparent 30%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(124,58,237,.07),
      transparent 28%
    ),
    #f7f9fc !important;
}

.hero-premium h1,
.mst-feature-copy h1 {
  color: var(--mst-navy) !important;
}

.hero-highlight,
.hero-premium h1 .hl,
.mst-feature-copy h1 span {
  color: var(--mst-blue) !important;
}

.hero-subtitle,
.mst-feature-copy p {
  color: var(--mst-muted) !important;
}


/* HERO / FEATURE CARDS */

.hero-card,
.mst-feature-banner,
.mst-hero-sidebar {
  background: #ffffff !important;
  border-color: var(--mst-border) !important;
  box-shadow: var(--mst-shadow) !important;
}

.hero-image-wrap,
.mst-feature-image-card {
  background: #ffffff !important;
}

.hero-card-bottom span {
  color: var(--mst-muted) !important;
}

.hero-card-bottom strong {
  color: var(--mst-navy) !important;
}


/* SIDEBAR */

.mst-sidebar-title {
  background:
    linear-gradient(
      135deg,
      var(--mst-blue),
      var(--mst-purple)
    ) !important;
  color: #ffffff !important;
}

.mst-hero-sidebar a {
  background: #ffffff !important;
  color: #374151 !important;
  border-bottom-color: #edf2f7 !important;
}

.mst-hero-sidebar a:hover {
  background: var(--mst-blue-soft) !important;
  color: var(--mst-blue) !important;
}


/* ALL GENERAL CARDS */

.card,
.service-card,
.services-card,
.category-card,
.device-card,
.product-card,
.home-product-card {
  background: #ffffff !important;
  border-color: var(--mst-border) !important;
  color: var(--mst-text) !important;
  box-shadow: var(--mst-shadow) !important;
}

.card:hover,
.service-card:hover,
.services-card:hover,
.category-card:hover,
.device-card:hover,
.product-card:hover,
.home-product-card:hover {
  background: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: var(--mst-shadow-hover) !important;
}

.card h3,
.card h4,
.service-card h3,
.service-card h4,
.services-card h3,
.services-card h4,
.category-card h3,
.category-card h4,
.device-card h3,
.device-card h4 {
  color: var(--mst-navy) !important;
}

.card p,
.service-card p,
.services-card p,
.category-card p,
.device-card p {
  color: var(--mst-muted) !important;
}


/* ICON AREAS */

.card-icon,
.service-icon,
.category-icon,
.device-icon {
  background:
    linear-gradient(
      135deg,
      var(--mst-blue-soft),
      var(--mst-purple-soft)
    ) !important;
  color: var(--mst-blue) !important;
  border-color: rgba(37,99,235,.14) !important;
}


/* PRODUCT CARDS */

.product-img,
.home-product-image {
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f3f6fa 100%
    ) !important;
}

.product-body {
  background: #ffffff !important;
}

.product-body h4,
.product-price,
.home-product-bottom strong {
  color: var(--mst-navy) !important;
}

.product-body p,
.home-product-bottom span {
  color: var(--mst-muted) !important;
}

.product-cat {
  color: var(--mst-purple) !important;
}


/* PRODUCT MODAL */

.product-modal-dialog,
.product-modal-grid,
.product-modal-info {
  background: #ffffff !important;
  color: var(--mst-text) !important;
}

.product-modal-media,
.product-modal-main {
  background: #f8fafc !important;
  border-color: var(--mst-border) !important;
}

.product-modal-info h2,
.product-modal-price,
.product-modal-price-row,
.product-modal-price-row * {
  color: var(--mst-navy) !important;
}

.product-modal-description {
  color: var(--mst-muted) !important;
}


/* FORMS */

input,
textarea,
select {
  background: #ffffff !important;
  color: var(--mst-navy) !important;
  border-color: #cbd5e1 !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--mst-blue) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.10) !important;
  outline: none !important;
}


/* SEARCH */

.mst-shop-search input,
.mst-shop-search-v3 input {
  background: #f8fafc !important;
  color: var(--mst-navy) !important;
  border-color: #d8e0eb !important;
}

.mst-shop-search button,
.mst-shop-search-v3 button {
  background: var(--mst-blue) !important;
  color: #ffffff !important;
}


/* SMALL HEADER ICONS */

.mst-logo-mark,
.mst-v3-cart-icon,
.mst-v2-cart-icon {
  background:
    linear-gradient(
      135deg,
      #0f172a,
      #1e3a8a
    ) !important;
  color: #ffffff !important;
}

.mst-v3-action-icon,
.mst-v2-icon {
  background: var(--mst-blue-soft) !important;
  color: var(--mst-blue) !important;
}


/* STATUS / BADGES */

.in-stock,
.stock-badge,
.badge-success {
  background: #ecfdf3 !important;
  color: var(--mst-green) !important;
  border-color: #bbf7d0 !important;
}


/* FOOTER */

footer,
.premium-footer {
  background:
    linear-gradient(
      135deg,
      #0f172a 0%,
      #111c36 60%,
      #172554 100%
    ) !important;
  color: #e5e7eb !important;
  border-top-color: rgba(255,255,255,.08) !important;
}

footer p,
.premium-footer p {
  color: #94a3b8 !important;
}

.footer-grid h5 {
  color: #ffffff !important;
}

.footer-grid ul li a {
  color: #cbd5e1 !important;
}

.footer-grid ul li a:hover {
  color: #60a5fa !important;
}

.footer-bottom {
  color: #94a3b8 !important;
  border-top-color: rgba(255,255,255,.10) !important;
}


/* MOBILE */

@media (max-width: 820px) {
  .product-modal-media {
    border-right: 0 !important;
    border-bottom-color: var(--mst-border) !important;
  }
}


/* =========================================================
   MICROSOLDERTECH — LIGHT DEVICE MENU FINAL
========================================================= */

.device-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #dbe3ef !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.055) !important;
}

.device-btn:hover {
  background: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.11) !important;
  transform: translateY(-4px);
}

.device-btn .icon-badge {
  background: #eff6ff !important;
  border: 1px solid #d7e5ff !important;
}

.device-btn span.label,
.device-btn .label {
  color: #0f172a !important;
}

.device-btn span.sublabel,
.device-btn .sublabel {
  color: #64748b !important;
}

.device-btn .arrow {
  color: #94a3b8 !important;
}

.device-btn:hover .arrow {
  color: #2563eb !important;
}

.device-btn:hover .icon-badge {
  background: #dbeafe !important;
}


/* =========================================================
   MICROSOLDERTECH — COMPLETE GLOBAL LIGHT BRAND THEME
   FINAL OVERRIDE
========================================================= */

:root {
  --bg: #f4f7fb !important;
  --surface: #ffffff !important;
  --surface-2: #f8fafc !important;
  --surface-3: #eef4fb !important;
  --line: #dbe3ef !important;

  --text: #0f172a !important;
  --text-dim: #475569 !important;
  --text-faint: #64748b !important;

  --purple: #7c3aed !important;
  --purple-bright: #7c3aed !important;
  --copper: #d97706 !important;
  --copper-bright: #d97706 !important;
}

/* PAGE */
html,
body {
  background: #f4f7fb !important;
  color: #1f2937 !important;
}

main,
.section,
.services-preview,
.process-section,
.products-section {
  background-color: #f4f7fb;
}

/* HEADINGS */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #0f172a;
}

p {
  color: #64748b;
}

/* =========================================================
   DEVICE CARDS
========================================================= */

.device-btn,
.premium-card,
.premium-device-grid .premium-card,
.service-catalog-card {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #dbe3ef !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.06) !important;
}

.device-btn:hover,
.premium-card:hover,
.premium-device-grid .premium-card:hover,
.service-catalog-card:hover {
  background: #ffffff !important;
  border-color: #93b4f5 !important;
  box-shadow: 0 18px 40px rgba(15,23,42,.11) !important;
}

.device-btn .label,
.device-btn span.label,
.premium-card .label,
.catalog-title {
  color: #0f172a !important;
}

.device-btn .sublabel,
.device-btn span.sublabel,
.premium-card .sublabel,
.catalog-subtitle {
  color: #64748b !important;
}

.device-btn .icon-badge,
.premium-card .icon-badge,
.catalog-icon {
  background: #eff6ff !important;
  border: 1px solid #d7e5ff !important;
}

.device-btn .arrow,
.premium-card .arrow {
  color: #94a3b8 !important;
}

.device-btn:hover .arrow,
.premium-card:hover .arrow {
  color: #2563eb !important;
}

/* =========================================================
   ALL REPAIR / SERVICE CARDS
========================================================= */

.repair-grid > *,
.repair-card,
.service-card,
.services-card,
.service-item-card,
.repair-item,
.repair-option,
.service-option,
.issue-card,
.issue-item {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #dbe3ef !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.06) !important;
}

.repair-grid > *:hover,
.repair-card:hover,
.service-card:hover,
.services-card:hover,
.service-item-card:hover,
.repair-item:hover,
.repair-option:hover,
.service-option:hover,
.issue-card:hover,
.issue-item:hover {
  background: #ffffff !important;
  border-color: #93b4f5 !important;
  box-shadow: 0 18px 40px rgba(15,23,42,.11) !important;
  transform: translateY(-3px);
}

/* text inside repair cards */
.repair-grid > * h1,
.repair-grid > * h2,
.repair-grid > * h3,
.repair-grid > * h4,
.repair-card h1,
.repair-card h2,
.repair-card h3,
.repair-card h4,
.service-card h1,
.service-card h2,
.service-card h3,
.service-card h4 {
  color: #0f172a !important;
}

.repair-grid > * p,
.repair-card p,
.service-card p,
.services-card p,
.repair-item p,
.issue-card p {
  color: #64748b !important;
}

/* links / request service buttons */
.repair-grid a,
.repair-card a,
.service-card a,
.services-card a,
.request-btn {
  color: #2563eb !important;
}

.repair-grid a[class*="btn"],
.repair-grid a[class*="request"],
.repair-card a[class*="btn"],
.repair-card a[class*="request"],
.service-card a[class*="btn"],
.service-card a[class*="request"],
.request-btn {
  background: #ffffff !important;
  color: #2563eb !important;
  border: 1px solid #cbd5e1 !important;
}

.repair-grid a[class*="btn"]:hover,
.repair-grid a[class*="request"]:hover,
.repair-card a[class*="btn"]:hover,
.repair-card a[class*="request"]:hover,
.service-card a[class*="btn"]:hover,
.service-card a[class*="request"]:hover,
.request-btn:hover {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #93b4f5 !important;
}

/* =========================================================
   ACCORDIONS / MODEL SERVICE LISTS
========================================================= */

.service-group,
.service-list,
.service-row,
.service-item,
.service-toggle,
.model-group,
.accordion-item,
.accordion-header {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #dbe3ef !important;
}

.service-group summary,
.accordion-header {
  background: #f8fafc !important;
  color: #0f172a !important;
}

.service-link {
  color: #334155 !important;
}

.service-link:hover {
  background: #eff6ff !important;
  color: #2563eb !important;
}

/* =========================================================
   PRODUCTS
========================================================= */

.product-card,
.home-product-card {
  background: #ffffff !important;
  border-color: #dbe3ef !important;
  color: #0f172a !important;
}

.product-img {
  background: #f8fafc !important;
}

.product-body,
.product-body h4,
.product-price {
  color: #0f172a !important;
}

.product-body p {
  color: #64748b !important;
}

/* =========================================================
   FORMS
========================================================= */

input,
textarea,
select,
.field input,
.field textarea,
.field select {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8 !important;
}

/* =========================================================
   PROCESS / INFO CARDS
========================================================= */

.process-card,
.hero-card,
.card {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #dbe3ef !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.06) !important;
}

.process-card h3,
.hero-card h3,
.card h3 {
  color: #0f172a !important;
}

.process-card p,
.hero-card p,
.card p {
  color: #64748b !important;
}

/* =========================================================
   SECTIONS THAT USED OLD BLACK BACKGROUNDS
========================================================= */

.expertise-section,
.premium-cta {
  background:
    radial-gradient(circle at 80% 15%, rgba(37,99,235,.08), transparent 35%),
    #f4f7fb !important;

  border-color: #dbe3ef !important;
}

.premium-why .why-item {
  border-color: #dbe3ef !important;
}

.premium-why .why-item h4 {
  color: #0f172a !important;
}

.premium-why .why-item p {
  color: #64748b !important;
}

/* =========================================================
   STOREFRONT
========================================================= */

.mst-storefront,
.mst-store-hero,
.mst-hero-sidebar {
  background: #ffffff !important;
  color: #0f172a !important;
}

.mst-feature-banner {
  background:
    linear-gradient(135deg, #eff6ff, #f5f3ff) !important;
  color: #0f172a !important;
}

/* intentional dark category navigation */
.mst-category-bar {
  background: linear-gradient(90deg, #0f172a, #1e3a8a) !important;
}

.mst-category-nav a {
  color: #ffffff !important;
}

/* =========================================================
   PRIMARY BUTTONS
========================================================= */

.btn-primary,
.product-add-btn,
button[type="submit"] {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

.btn-primary:hover,
.product-add-btn:hover,
button[type="submit"]:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}

/* =========================================================
   FOOTER — INTENTIONAL DARK CONTRAST
========================================================= */

footer,
.site-footer,
.premium-footer {
  background: linear-gradient(135deg, #0f172a, #111c33) !important;
  color: #e2e8f0 !important;
}

footer p,
footer a,
.site-footer p,
.site-footer a,
.premium-footer p,
.premium-footer a {
  color: #cbd5e1 !important;
}

