/* HardwareShop — Clean Workshop design system
   Motif: workshop graph paper, measurement ticks, mono catalogue labels.
   Palette: paper white, ink, steel blue, brass (club). */

:root {
  --paper: #F7F8F9;
  --card: #FFFFFF;
  --ink: #15191E;
  --ink-soft: #4A545E;
  --line: #E3E7EB;
  --steel: #2C5F8A;
  --steel-deep: #1E4263;
  --steel-tint: #EAF1F7;
  --brass: #A87E2F;
  --brass-tint: #F7F0E2;
  --ok: #2E7D4F;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(21,25,30,.06), 0 2px 8px rgba(21,25,30,.05);
  --shadow-md: 0 2px 6px rgba(21,25,30,.07), 0 12px 28px rgba(21,25,30,.10);
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
  --font-mono: 'Spline Sans Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* graph-paper backdrop */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .35;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.25) 40%, rgba(0,0,0,.55));
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 99; border-radius: 8px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.015em; }

.mono { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,248,249,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-nut { width: 28px; height: 28px; color: var(--steel); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.logo:hover .logo-nut { transform: rotate(60deg); }
.logo-word { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.02em; }
.logo-word b { font-weight: 800; color: var(--steel); }
.main-nav { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: .95rem; }
.main-nav a { position: relative; padding: 4px 0; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--steel); transform: scaleX(0); transform-origin: right; transition: transform .25s ease;
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.club-diamond { color: var(--brass); font-size: .8em; }
.nav-cart { display: flex; align-items: center; gap: 6px; }
.nav-cart svg { width: 21px; height: 21px; }
.cart-count {
  background: var(--steel); color: #fff; font-family: var(--font-mono);
  font-size: .72rem; min-width: 20px; height: 20px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 6px;
  transition: transform .2s ease;
}
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- hero ---------- */
.hero { padding: 84px 0 70px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero-kicker .tick { width: 38px; height: 1px; background: var(--steel); position: relative; }
.hero-kicker .tick::before, .hero-kicker .tick::after {
  content: ''; position: absolute; top: -3px; width: 1px; height: 7px; background: var(--steel);
}
.hero-kicker .tick::before { left: 0; } .hero-kicker .tick::after { right: 0; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--steel); }
.hero-sub { font-size: 1.16rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 46px; }
.hero-stat strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; display: block; }
.hero-stat span { font-size: .85rem; color: var(--ink-soft); }

.hero-visual { position: relative; min-height: 420px; }
.hero-card {
  position: absolute; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.hero-card:hover { transform: translateY(-6px) rotate(0deg) !important; z-index: 5; }
.hero-card img { width: 100%; height: 75%; object-fit: contain; padding: 14px; background: #fff; }
.hero-card .hc-label { padding: 8px 14px; border-top: 1px solid var(--line); }
.hero-card .hc-label .mono { font-size: .68rem; }
.hero-card .hc-label strong { font-size: .85rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-1 { width: 230px; height: 260px; top: 0; left: 8%; transform: rotate(-3deg); animation: float 7s ease-in-out infinite; }
.hc-2 { width: 200px; height: 230px; top: 110px; right: 4%; transform: rotate(2.5deg); animation: float 8s ease-in-out 1s infinite; }
.hc-3 { width: 180px; height: 205px; bottom: 0; left: 26%; transform: rotate(-1.5deg); animation: float 9s ease-in-out 2s infinite; }
@keyframes float { 50% { margin-top: -10px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: all .22s ease; line-height: 1;
}
.btn-primary { background: var(--steel); color: #fff; }
.btn-primary:hover { background: var(--steel-deep); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(44,95,138,.3); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { filter: brightness(.92); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- section scaffolding ---------- */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
.section-head .mono a, .seeall { color: var(--steel); font-weight: 500; }

/* measurement-tick divider */
.ruler { height: 14px; margin: 10px 0 0; background:
  repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 16px) bottom / 100% 6px no-repeat,
  repeating-linear-gradient(90deg, var(--ink-soft) 0 1px, transparent 1px 80px) bottom / 100% 12px no-repeat;
  opacity: .55;
}

/* ---------- product cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #CFD9E2; }
.pcard-img { aspect-ratio: 1 / .85; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-sku { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-soft); letter-spacing: .08em; }
.pcard-name { font-weight: 600; font-size: .96rem; line-height: 1.3; flex: 1; }
.pcard-cat { font-size: .78rem; color: var(--ink-soft); }
.pcard-prices { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; }
.price-club { font-size: .8rem; color: var(--brass); font-weight: 600; }
.price-club .club-diamond { font-size: .7em; }
.pcard-add {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--steel); color: #fff; border: none; font-size: 1.25rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(6px);
  transition: all .25s ease; box-shadow: 0 4px 12px rgba(44,95,138,.35);
}
.pcard:hover .pcard-add, .pcard-add:focus { opacity: 1; transform: translateY(0); }
.pcard-add:hover { background: var(--steel-deep); }

/* category chips */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border: 1px solid var(--line); background: var(--card); border-radius: 999px;
  font-size: .88rem; font-weight: 500; transition: all .2s ease; cursor: pointer;
}
.chip:hover { border-color: var(--steel); color: var(--steel); }
.chip.active { background: var(--steel); border-color: var(--steel); color: #fff; }

/* ---------- catalogue ---------- */
.cat-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.cat-side { position: sticky; top: 92px; }
.cat-side h3 { font-size: 1rem; margin-bottom: 14px; }
.cat-list { display: flex; flex-direction: column; gap: 2px; }
.cat-list a { padding: 7px 12px; border-radius: 8px; font-size: .9rem; display: flex; justify-content: space-between; transition: background .15s ease; }
.cat-list a:hover { background: var(--steel-tint); }
.cat-list a.active { background: var(--steel); color: #fff; }
.cat-list a span { color: var(--ink-soft); font-family: var(--font-mono); font-size: .72rem; }
.cat-list a.active span { color: rgba(255,255,255,.75); }
.searchbar { display: flex; gap: 10px; margin-bottom: 24px; }
.searchbar input {
  flex: 1; padding: 13px 18px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; background: var(--card);
}
.searchbar input:focus { outline: 2px solid var(--steel); border-color: transparent; }

/* ---------- product page ---------- */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; padding: 48px 0; }
.product-img {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; position: sticky; top: 92px;
}
.product-img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--steel); }
.product-info h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; margin: 6px 0 12px; }
.product-hook { font-size: 1.18rem; color: var(--steel); font-weight: 500; margin-bottom: 20px; }
.product-priceline { display: flex; align-items: baseline; gap: 16px; margin: 22px 0; }
.product-priceline .price { font-size: 2rem; }
.uom-tag { font-family: var(--font-mono); font-size: .75rem; background: var(--steel-tint); color: var(--steel-deep); padding: 4px 10px; border-radius: 6px; }
.club-line {
  background: var(--brass-tint); border: 1px solid #E8D9B8; padding: 12px 16px; border-radius: 10px;
  font-size: .92rem; margin: 14px 0 24px; display: flex; align-items: center; gap: 10px;
}
.club-line a { color: var(--brass); font-weight: 600; text-decoration: underline; }
.benefit-list { list-style: none; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.benefit-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.benefit-list li::before {
  content: '✓'; color: var(--ok); font-weight: 700; flex-shrink: 0;
  background: #E7F2EB; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; margin-top: 2px;
}
.feature-box { border: 1px solid var(--line); border-radius: var(--radius); margin: 26px 0; background: var(--card); }
.feature-box h3 { font-size: .85rem; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-weight: 500; }
.feature-box ul { list-style: none; }
.feature-box li { padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; display: flex; gap: 10px; }
.feature-box li:last-child { border-bottom: none; }
.feature-box li::before { content: '—'; color: var(--steel); }
.qty-row { display: flex; gap: 12px; align-items: stretch; margin: 26px 0 10px; }
.qty-box { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.qty-box button { width: 42px; border: none; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink-soft); }
.qty-box button:hover { background: var(--steel-tint); color: var(--steel); }
.qty-box input { width: 52px; text-align: center; border: none; font-family: var(--font-mono); font-size: 1rem; }
.long-copy { color: var(--ink-soft); margin: 20px 0; max-width: 60ch; }

/* ---------- cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; padding: 40px 0 64px; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-row {
  display: grid; grid-template-columns: 84px 1fr auto auto; gap: 18px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px;
}
.cart-row img { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 8px; }
.cart-row .ci-name { font-weight: 600; }
.cart-row .ci-meta { font-size: .8rem; color: var(--ink-soft); font-family: var(--font-mono); }
.cart-remove { background: none; border: none; color: var(--ink-soft); cursor: pointer; font-size: .85rem; text-decoration: underline; }
.cart-remove:hover { color: #B3473B; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 92px; }
.summary h3 { margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .98rem; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-weight: 700; font-size: 1.15rem; font-family: var(--font-display); }
.free-ship-note { font-size: .85rem; color: var(--ok); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: .98rem; background: #fff;
}
.field input:focus { outline: 2px solid var(--steel); border-color: transparent; }
.pay-badges { display: flex; gap: 8px; margin-top: 14px; align-items: center; font-size: .8rem; color: var(--ink-soft); }
.pay-badges .badge { border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; font-family: var(--font-mono); font-size: .68rem; background: #fff; }

/* ---------- club ---------- */
.club-hero { padding: 70px 0 50px; text-align: center; }
.club-hero .club-diamond-lg { font-size: 2.6rem; color: var(--brass); display: block; margin-bottom: 18px; }
.club-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 16px; }
.club-hero p { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; margin: 0 auto 8px; }
.club-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 44px 0; }
.perk { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: left; }
.perk .mono { color: var(--brass); margin-bottom: 10px; display: block; }
.perk h3 { font-size: 1.12rem; margin-bottom: 8px; }
.perk p { font-size: .92rem; color: var(--ink-soft); }
.club-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 880px; margin: 0 auto 70px; }
.club-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.club-card.gold { border-color: #E2D3AE; background: linear-gradient(180deg, #FFFDF7, #fff); }
.club-card h2 { font-size: 1.35rem; margin-bottom: 6px; }
.club-card .sub { font-size: .9rem; color: var(--ink-soft); margin-bottom: 20px; }
.club-card .field { margin-bottom: 14px; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: .92rem; margin-bottom: 18px; }
.alert-err { background: #FBEAE8; color: #8E3A30; border: 1px solid #F0CCC6; }
.alert-ok { background: #E7F2EB; color: #245C3C; border: 1px solid #C8E2D2; }
.ref-code-box {
  font-family: var(--font-mono); font-size: 1.5rem; letter-spacing: .2em; text-align: center;
  background: var(--brass-tint); border: 1px dashed var(--brass); padding: 18px; border-radius: 12px; margin: 16px 0;
  cursor: pointer;
}

.club-banner { display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.club-banner-cta { text-align: right; }
@media (max-width: 700px) {
  .club-banner { grid-template-columns: 1fr; }
  .club-banner-cta { text-align: left; }
}

/* ---------- chat widget ---------- */
.chat-root { position: fixed; right: 22px; bottom: 22px; z-index: 80; }
.chat-fab {
  display: flex; align-items: center; gap: 9px; background: var(--ink); color: #fff;
  border: none; padding: 13px 20px; border-radius: 999px; font-family: var(--font-body);
  font-weight: 600; font-size: .95rem; cursor: pointer; box-shadow: var(--shadow-md);
  transition: transform .2s ease, background .2s ease;
}
.chat-fab:hover { transform: translateY(-2px); background: var(--steel-deep); }
.chat-fab svg { width: 19px; height: 19px; }
.chat-panel[hidden] { display: none; }
.chat-panel {
  position: absolute; right: 0; bottom: 64px; width: 360px; max-width: calc(100vw - 44px);
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-md); overflow: hidden; display: flex; flex-direction: column;
  animation: chatIn .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--steel); color: #fff; }
.chat-sub { display: block; font-size: .75rem; opacity: .8; }
.chat-close { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.chat-msgs { padding: 16px; display: flex; flex-direction: column; gap: 10px; height: 340px; overflow-y: auto; }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; white-space: pre-wrap; }
.chat-msg.bot { background: var(--steel-tint); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.user { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg.typing { color: var(--ink-soft); font-style: italic; background: var(--steel-tint); }
.chat-msg a { color: var(--steel); font-weight: 600; text-decoration: underline; }
.chat-form { display: flex; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; border: none; padding: 14px 16px; font-family: var(--font-body); font-size: .95rem; }
.chat-form input:focus { outline: none; background: var(--paper); }
.chat-form button { border: none; background: none; padding: 0 18px; color: var(--steel); font-size: 1.1rem; cursor: pointer; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--card); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 52px 24px 36px; }
.footer-brand .logo-word { font-size: 1.3rem; }
.footer-tag { font-weight: 600; margin: 10px 0 6px; }
.footer-note { font-size: .88rem; color: var(--ink-soft); max-width: 36ch; }
.footer-h { font-size: .8rem; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; font-weight: 500; }
.footer-grid a { display: block; padding: 5px 0; font-size: .92rem; color: var(--ink-soft); }
.footer-grid a:hover { color: var(--steel); }
.footer-base { display: flex; justify-content: space-between; padding: 18px 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-soft); }
.footer-mono { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .product-layout, .cart-layout, .club-forms { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cat-layout { grid-template-columns: 1fr; }
  .cat-side { position: static; }
  .cat-list { flex-direction: row; flex-wrap: wrap; }
  .club-perks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .main-nav { gap: 16px; font-size: .88rem; }
  .product-img { position: static; }
}
@media (max-width: 560px) {
  .cart-row { grid-template-columns: 64px 1fr; }
  .cart-row .ci-price, .cart-row .ci-controls { grid-column: 2; }
  .form-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .header-inner { height: 58px; }
  .logo { gap: 7px; }
  .logo-nut { width: 22px; height: 22px; }
  .logo-word { font-size: 1.05rem; }
  .main-nav { gap: 13px; font-size: .82rem; }
  .main-nav a { white-space: nowrap; }
  .main-nav a[href="/club.php?view=account"] { display: none; }
  .hero { padding: 52px 0 48px; }
  .hero-stats { flex-wrap: wrap; gap: 16px 28px; margin-top: 34px; }
  .hero-stat strong { font-size: 1.3rem; }
  .chat-fab span { display: none; }
  .chat-fab { padding: 13px; }
  .grid-products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
}
