/* Ironline Hardware & Supply — storefront styles */
:root {
  --bg: #f5f5f3;
  --surface: #ffffff;
  --ink: #16181a;
  --ink-soft: #4d5257;
  --ink-faint: #83898f;
  --steel: #23272b;
  --steel-deep: #16181a;
  --amber: #e3670c;
  --amber-deep: #c2560a;
  --amber-soft: #fdf0e5;
  --line: #e2e1dd;
  --line-strong: #cfcec9;
  --ok: #1c7c4a;
  --radius: 6px;
  --shadow-card: 0 1px 2px rgba(22, 24, 26, .05), 0 6px 18px rgba(22, 24, 26, .07);
  --shadow-lift: 0 2px 4px rgba(22, 24, 26, .07), 0 14px 34px rgba(22, 24, 26, .13);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.cond { font-family: "Archivo", "Inter", sans-serif; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 24px; }

/* Utility bar */
.util {
  background: var(--steel-deep); color: #b9bec3; font-size: 12.5px;
  letter-spacing: .01em;
}
.util .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 20px; }
.util strong { color: #fff; font-weight: 600; }
.util .u-right { display: flex; gap: 22px; }
.util a:hover { color: #fff; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo .badge-i {
  width: 38px; height: 38px; border-radius: 5px; flex: none;
  background: var(--amber); color: #fff;
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: 21px;
  display: flex; align-items: center; justify-content: center; letter-spacing: -.03em;
}
.logo .wm { line-height: 1.05; }
.logo .wm b {
  display: block; font-family: "Archivo", sans-serif; font-weight: 800;
  font-size: 19px; letter-spacing: -.02em; text-transform: uppercase; color: var(--steel-deep);
}
.logo .wm span { display: block; font-size: 10px; letter-spacing: .21em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
nav.links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
nav.links a { padding: 26px 0; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
nav.links a:hover { color: var(--ink); }
nav.links a.active { color: var(--steel-deep); border-color: var(--amber); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.search {
  display: flex; align-items: center; gap: 8px; background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 9px 13px; min-width: 210px;
}
.search input { border: 0; background: none; outline: none; font: 400 14px/1 "Inter", sans-serif; width: 100%; color: var(--ink); }
.search .ic { color: var(--ink-faint); font-size: 14px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--steel);
  color: #fff; border: 0; cursor: pointer; font: 600 13.5px/1 "Inter", sans-serif;
  padding: 12px 16px; border-radius: var(--radius); transition: background .15s;
}
.cart-btn:hover { background: var(--amber); }
.cart-count {
  background: rgba(255,255,255,.2); border-radius: 3px; font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}
.menu-toggle { display: none; }

/* Hero */
.hero { background: var(--steel-deep); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 0; align-items: stretch; }
.hero-copy { padding: 74px 56px 74px 0; align-self: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--amber);
  border: 1px solid rgba(227,103,12,.4); background: rgba(227,103,12,.1);
  padding: 6px 12px; border-radius: 3px; margin-bottom: 22px;
}
h1.display {
  font-family: "Archivo", sans-serif; font-weight: 800;
  font-size: clamp(38px, 4.9vw, 58px); line-height: 1.02; letter-spacing: -.025em;
  text-transform: uppercase; margin-bottom: 20px;
}
h1.display { max-width: 15ch; text-wrap: balance; }
h1.display em { font-style: normal; color: var(--amber); }
.hero p.lede { font-size: 17px; color: #b8bec4; max-width: 46ch; margin-bottom: 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px/1 "Inter", sans-serif;
  padding: 16px 26px; border-radius: var(--radius); cursor: pointer; border: 0;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--steel); color: #fff; }
.btn-dark:hover { background: var(--amber); transform: translateY(-1px); }
.hero-media { position: relative; min-height: 460px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats div b { display: block; font-family: "Archivo", sans-serif; font-size: 23px; font-weight: 700; color: #fff; }
.hero-stats div span { font-size: 12.5px; color: #8f979e; }

/* Trust strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 22px 24px; font-size: 13px; color: var(--ink-soft); border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item:first-child { padding-left: 0; }
.trust-item .ic { font-size: 19px; }
.trust-item b { display: block; color: var(--ink); font-size: 13.5px; }

/* Sections */
section.block { padding: 74px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
h2.title {
  font-family: "Archivo", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: clamp(25px, 3vw, 34px); letter-spacing: -.02em; line-height: 1.1; color: var(--steel-deep);
}
.sec-head p { color: var(--ink-soft); max-width: 54ch; margin-top: 8px; font-size: 15px; }
.sec-link { font-size: 14px; font-weight: 700; color: var(--amber); white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.sec-link:hover { text-decoration: underline; }
.rule { height: 3px; width: 46px; background: var(--amber); margin-bottom: 16px; }

/* Departments */
.depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dept {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--steel);
  aspect-ratio: 16/9.4; box-shadow: var(--shadow-card); transition: transform .18s, box-shadow .18s;
}
.dept:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.dept img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .25s, transform .35s; }
.dept:hover img { opacity: .85; transform: scale(1.04); }
.dept .ov {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; background: linear-gradient(180deg, rgba(22,24,26,0) 32%, rgba(22,24,26,.86) 100%);
}
.dept .ov b { font-family: "Archivo", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 17px; color: #fff; letter-spacing: -.01em; }
.dept .ov span { font-size: 12.5px; color: #b6bcc2; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .18s, transform .18s;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.card .ph { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #fff; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .ph img { transform: scale(1.035); }
.badge {
  position: absolute; top: 10px; left: 10px; background: var(--amber); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 3px;
}
.badge.gray { background: var(--steel); }
.card .info { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; border-top: 1px solid var(--line); }
.card .sku { font-size: 11px; font-weight: 600; letter-spacing: .07em; color: var(--ink-faint); font-family: "Archivo", sans-serif; }
.card .name { font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.card .stock { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); font-weight: 500; }
.card .stock i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); display: inline-block; }
.card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.price { font-family: "Archivo", sans-serif; font-size: 18px; font-weight: 700; color: var(--steel-deep); letter-spacing: -.01em; }
.price small { font-family: "Inter", sans-serif; font-size: 11.5px; font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.add {
  background: var(--steel); color: #fff; border: 0; cursor: pointer;
  font: 600 12px/1 "Inter", sans-serif; padding: 10px 14px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: .05em; transition: background .15s;
}
.add:hover { background: var(--amber); }

/* Filter tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab {
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink-soft);
  font: 600 13px/1 "Inter", sans-serif; padding: 11px 16px; border-radius: 3px; cursor: pointer; transition: all .15s;
}
.tab:hover { border-color: var(--steel); color: var(--ink); }
.tab.on { background: var(--steel); border-color: var(--steel); color: #fff; }

/* Pro bar */
.pro-band { background: var(--steel); color: #fff; }
.pro-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding: 46px 0; }
.pro-item .n { font-family: "Archivo", sans-serif; font-size: 28px; font-weight: 800; color: var(--amber); line-height: 1; }
.pro-item .l { font-size: 13.5px; color: #b8bec4; margin-top: 8px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-card); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }
.checklist { list-style: none; display: grid; gap: 13px; margin-top: 18px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.8px; color: var(--ink-soft); }
.checklist .tick { flex: 0 0 20px; height: 20px; border-radius: 3px; margin-top: 3px; background: var(--amber-soft); color: var(--amber); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.checklist b { color: var(--ink); }

/* Banner */
.banner {
  background: var(--steel-deep); color: #fff; border-radius: var(--radius);
  padding: 54px 56px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; align-items: center;
  border-left: 5px solid var(--amber);
}
.banner h2.title { color: #fff; }
.banner p { color: #b8bec4; margin-top: 12px; max-width: 54ch; }
.banner-right { display: flex; justify-content: flex-end; }

/* Page hero */
.page-hero { background: var(--steel-deep); color: #fff; padding: 52px 0 54px; }
.page-hero h1 { font-family: "Archivo", sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.022em; line-height: 1.05; }
.page-hero p { color: #b8bec4; max-width: 60ch; margin-top: 12px; font-size: 16px; }
.crumb { font-size: 12.5px; color: #8f979e; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.crumb a:hover { color: #fff; }

/* Prose */
.prose { max-width: 760px; }
.prose h3 { font-family: "Archivo", sans-serif; text-transform: uppercase; font-size: 18px; color: var(--steel-deep); margin: 34px 0 10px; font-weight: 700; letter-spacing: -.01em; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); margin-bottom: 13px; font-size: 15.3px; }
.prose ul { margin: 0 0 14px 20px; color: var(--ink-soft); font-size: 15.3px; }
.prose li { margin-bottom: 6px; }
.credits { font-size: 12.5px; color: var(--ink-faint); line-height: 1.9; }
.credits a { text-decoration: underline; }

/* Stat / info cards */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.icard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.icard .ic { width: 42px; height: 42px; border-radius: 4px; font-size: 19px; background: var(--amber-soft); color: var(--amber); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icard h3 { font-family: "Archivo", sans-serif; text-transform: uppercase; font-size: 16px; margin-bottom: 8px; letter-spacing: -.01em; }
.icard p { font-size: 14px; color: var(--ink-soft); }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 34px 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px; }
.stat .n { font-family: "Archivo", sans-serif; font-size: 27px; font-weight: 800; color: var(--steel-deep); }
.stat .l { font-size: 12.5px; color: var(--ink-faint); margin-top: 3px; }

/* Table */
table.spec { width: 100%; border-collapse: collapse; font-size: 14.4px; background: var(--surface); border: 1px solid var(--line); }
table.spec th { text-align: left; background: var(--bg); font-family: "Archivo", sans-serif; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; color: var(--ink-soft); padding: 12px 16px; border-bottom: 1px solid var(--line); }
table.spec td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
table.spec tr:last-child td { border-bottom: 0; }
table.spec td:first-child { font-weight: 600; color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
form.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 15px/1.5 "Inter", sans-serif; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: 3px; padding: 12px 13px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.contact-rows { display: grid; gap: 12px; margin-top: 22px; }
.crow { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 18px; font-size: 14.5px; }
.crow .ic { font-size: 17px; }
.crow b { display: block; font-size: 12px; color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* Toast */
#toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 18px);
  background: var(--steel-deep); color: #fff; font-size: 13.5px; font-weight: 500;
  padding: 13px 20px; border-radius: 4px; border-left: 3px solid var(--amber);
  box-shadow: var(--shadow-lift); opacity: 0; pointer-events: none;
  transition: opacity .22s, transform .22s; z-index: 100;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Footer */
footer.site { background: var(--steel-deep); color: #9aa1a8; padding: 56px 0 28px; font-size: 13.8px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.1); }
footer .logo .wm b { color: #fff; }
footer .logo .wm span { color: #7e868d; }
.foot-about { max-width: 36ch; margin-top: 14px; font-size: 13.3px; line-height: 1.75; }
.foot-col b { display: block; color: #fff; font-family: "Archivo", sans-serif; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.foot-col a { display: block; padding: 5px 0; color: #9aa1a8; transition: color .15s; }
.foot-col a:hover { color: var(--amber); }
.foot-base { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12.3px; color: #7e868d; flex-wrap: wrap; gap: 10px; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .split, .banner, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 0 48px; }
  .hero-media { min-height: 320px; }
  .banner { padding: 40px 28px; }
  .banner-right { justify-content: flex-start; }
  .depts { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid, .pro-grid, .stat-band { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: 0; padding-left: 0; }
  .info-cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .search { display: none; }
  nav.links { display: none; }
  .menu-toggle { display: inline-flex; background: none; border: 1px solid var(--line-strong); border-radius: 4px; padding: 9px 12px; cursor: pointer; font-size: 16px; }
  nav.links.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; box-shadow: var(--shadow-lift);
  }
  nav.links.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .util .u-right { display: none; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .depts { grid-template-columns: 1fr; }
  section.block { padding: 52px 0; }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
}
