/* ============================================
   ECO BULK LTD — Wholesale Electronics
   Clean tech catalog layout (unique to this brand)
   ============================================ */

:root {
  --bg: #f3f6f4;
  --bg-white: #ffffff;
  --ink: #0f1a17;
  --ink-soft: #24332e;
  --mute: #5c6d66;
  --line: #d5ddd8;
  --eco: #0f7a5a;
  --eco-deep: #0a5c44;
  --eco-soft: #e3f5ee;
  --eco-glow: #1fa37a;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 1.02rem;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: 0.3s var(--ease); }
ul { list-style: none; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}

.shell { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.shell-wide { width: min(1280px, calc(100% - 2.5rem)); margin-inline: auto; }

/* Buttons */
.eco-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 50px; padding: 0.8rem 1.55rem;
  font-family: var(--body); font-size: 0.9rem; font-weight: 650;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
}
.eco-btn-fill { background: var(--eco); color: #fff; }
.eco-btn-fill:hover { background: var(--eco-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 122, 90, 0.28); color: #fff; }
.eco-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.eco-btn-ghost:hover { border-color: var(--eco); color: var(--eco); }
.eco-btn-light { background: #fff; color: var(--ink); }
.eco-btn-light:hover { background: var(--eco-soft); color: var(--eco-deep); }

/* Header — pill floating bar */
.eco-nav-wrap {
  position: sticky; top: 0; z-index: 1000;
  padding: 0.85rem 0 0.35rem;
  background: linear-gradient(to bottom, rgba(243, 246, 244, 0.96), rgba(243, 246, 244, 0.85));
  backdrop-filter: blur(10px);
}
.eco-nav {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.45rem 0.55rem 0.45rem 1.35rem;
  box-shadow: 0 10px 40px rgba(15, 26, 23, 0.05);
}
.eco-brand { display: flex; align-items: center; gap: 0.55rem; }
.eco-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, var(--eco-glow), var(--eco-deep));
  display: grid; place-items: center; color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
}
.eco-brand strong {
  font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.03em; color: var(--ink);
}
.eco-brand span {
  display: block; font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute); font-weight: 600; margin-top: 0.1rem;
}
.eco-links { display: flex; align-items: center; gap: 0.15rem; }
.eco-links a {
  padding: 0.5rem 0.85rem; font-size: 0.9rem; font-weight: 500; color: var(--mute); border-radius: 999px;
}
.eco-links a:hover, .eco-links a.on { color: var(--ink); background: var(--eco-soft); }
.eco-links .eco-btn { margin-left: 0.35rem; min-height: 42px; padding: 0.45rem 1.15rem; font-size: 0.84rem; }

.eco-burger {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg); cursor: pointer; z-index: 1110;
}
.eco-burger span { display: block; width: 16px; height: 2px; margin: 4px auto; background: var(--ink); transition: 0.3s var(--ease); }
.eco-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.eco-burger.open span:nth-child(2) { opacity: 0; }
.eco-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.eco-overlay {
  display: none; position: fixed; inset: 0; z-index: 1090;
  background: rgba(15, 26, 23, 0.45); opacity: 0; pointer-events: none; transition: 0.3s;
}
.eco-overlay.on { display: block; opacity: 1; pointer-events: auto; }
.eco-close { display: none; }

/* Showcase hero — text + floating product stack */
.showcase {
  padding: 2.5rem 0 3.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.showcase-copy .chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  background: var(--eco-soft); color: var(--eco-deep);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.showcase-copy h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  margin-bottom: 1.1rem;
  max-width: 11ch;
  animation: rise 0.8s var(--ease) both;
}
.showcase-copy h1 em {
  font-style: normal; color: var(--eco);
}
.showcase-copy p {
  color: var(--mute); font-size: 1.08rem; max-width: 38ch; margin-bottom: 1.85rem;
}
.showcase-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.showcase-visual {
  position: relative;
  min-height: 520px;
}
.float-card {
  position: absolute; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 24px 60px rgba(15, 26, 23, 0.14);
  background: #111;
}
.float-card img { width: 100%; height: 100%; object-fit: cover; }
.float-a { width: 68%; height: 72%; top: 4%; right: 0; z-index: 1; animation: rise 0.9s 0.1s var(--ease) both; }
.float-b { width: 42%; height: 38%; left: 0; bottom: 18%; z-index: 2; animation: rise 0.9s 0.25s var(--ease) both; }
.float-c { width: 36%; height: 28%; right: 8%; bottom: 0; z-index: 3; animation: rise 0.9s 0.4s var(--ease) both; }
.float-badge {
  position: absolute; left: 8%; top: 12%; z-index: 4;
  background: var(--ink); color: #fff; padding: 1rem 1.15rem;
  border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,0.2);
  animation: rise 0.9s 0.35s var(--ease) both;
}
.float-badge strong { display: block; font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.02em; }
.float-badge span { font-size: 0.78rem; color: rgba(255,255,255,0.65); }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Category rail */
.rail {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem;
  margin-bottom: 4rem;
}
.rail a {
  background: var(--bg-white); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.25rem 1.15rem; display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem;
}
.rail a:hover { border-color: var(--eco); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 26, 23, 0.06); }
.rail strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink); }
.rail span { color: var(--eco); font-weight: 700; }

/* Sections */
.block { padding: 4.5rem 0; }
.block-white { background: var(--bg-white); border-block: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--eco); margin-bottom: 0.75rem;
}
.block-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 0.85rem; max-width: 16ch; }
.block-lead { color: var(--mute); max-width: 48ch; margin-bottom: 2.5rem; }

/* Product bento */
.bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 1rem;
}
.bento article {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: #0f1a17;
}
.bento article:first-child { grid-row: span 2; }
.bento img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85; transition: transform 0.7s var(--ease), opacity 0.4s;
}
.bento article:hover img { transform: scale(1.05); opacity: 1; }
.bento figcaption, .bento .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.35rem 1.25rem;
  background: linear-gradient(transparent, rgba(15, 26, 23, 0.92));
  color: #fff;
}
.bento .cap span {
  display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #8fd9bf; font-weight: 700; margin-bottom: 0.25rem;
}
.bento .cap strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.02em; }

/* Dual panel */
.dual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.dual-card {
  background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: grid; grid-template-rows: 220px 1fr;
}
.dual-card img { width: 100%; height: 100%; object-fit: cover; }
.dual-card .body { padding: 1.75rem 1.6rem 1.85rem; }
.dual-card h3 { font-size: 1.55rem; margin-bottom: 0.55rem; }
.dual-card p { color: var(--mute); font-size: 0.98rem; margin-bottom: 1.1rem; }

/* Steps as numbered list row */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.step {
  background: var(--bg); border-radius: var(--radius); padding: 1.75rem 1.5rem;
  border: 1px solid transparent;
}
.step:hover { border-color: var(--eco); background: var(--bg-white); }
.step i {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--eco-soft); color: var(--eco-deep);
  font-family: var(--display); font-style: normal; font-weight: 700; margin-bottom: 1rem;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }
.step p { color: var(--mute); font-size: 0.95rem; }

/* Banner CTA */
.banner {
  margin: 1rem 0 4rem;
  border-radius: 28px; overflow: hidden; position: relative;
  min-height: 280px; display: flex; align-items: center;
  color: #fff;
}
.banner img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.4);
}
.banner .inner {
  position: relative; z-index: 1; padding: 3rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap; width: 100%;
}
.banner h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); max-width: 14ch; margin-bottom: 0.5rem; }
.banner p { color: rgba(255,255,255,0.78); max-width: 36ch; }

/* Page top */
.page-top {
  padding: 2.5rem 0 2rem;
}
.page-top h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 0.65rem; }
.page-top p { color: var(--mute); max-width: 46ch; }

/* Product detail rows */
.catalog { display: grid; gap: 1.15rem; padding-bottom: 4rem; }
.cat-row {
  display: grid; grid-template-columns: 280px 1fr; gap: 0;
  background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.cat-row img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.cat-row .info { padding: 1.85rem 1.75rem; display: flex; flex-direction: column; justify-content: center; }
.cat-row h2 { font-size: 1.7rem; margin-bottom: 0.55rem; }
.cat-row p { color: var(--mute); margin-bottom: 1rem; }
.cat-row ul { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.cat-row li {
  padding: 0.35rem 0.75rem; border-radius: 999px;
  background: var(--eco-soft); color: var(--eco-deep); font-size: 0.82rem; font-weight: 600;
}

/* About */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start;
  padding-bottom: 3rem;
}
.about-grid p { color: var(--mute); margin-bottom: 1rem; max-width: 48ch; }
.about-photos { display: grid; gap: 0.85rem; }
.about-photos img {
  width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line);
}
.about-photos img:last-child { height: 300px; }
.values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-bottom: 4rem;
}
.value {
  background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}
.value h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--eco-deep); }
.value p { color: var(--mute); font-size: 0.95rem; }

/* Wholesale page */
.price-points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 3rem;
}
.price-points article {
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 2rem 1.6rem;
}
.price-points h3 { color: #fff; font-size: 1.45rem; margin-bottom: 0.55rem; }
.price-points p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* Contact */
.contact-box {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1.25rem;
  padding-bottom: 4rem;
}
.contact-side {
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 2.25rem 1.85rem;
}
.contact-side h2 { color: #fff; font-size: 2rem; margin: 0.75rem 0 1rem; }
.contact-side p { color: rgba(255,255,255,0.7); margin-bottom: 1.75rem; }
.meta div { margin-bottom: 1.15rem; }
.meta strong {
  display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #8fd9bf; margin-bottom: 0.25rem;
}
.form-card {
  background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field { margin-bottom: 0.95rem; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.95rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  font-family: var(--body); font-size: 0.95rem; color: var(--ink); outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--eco); box-shadow: 0 0 0 3px rgba(15, 122, 90, 0.12);
}
.form-ok {
  display: none; margin-bottom: 1rem; padding: 0.85rem 1rem;
  background: var(--eco-soft); border-left: 3px solid var(--eco); color: var(--eco-deep); font-weight: 600;
}
.form-ok.show { display: block; animation: rise 0.35s var(--ease); }

/* Footer */
.eco-footer {
  background: var(--ink); color: rgba(255,255,255,0.65); padding: 3.5rem 0 0; margin-top: 1rem;
}
.eco-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.eco-footer .eco-brand strong { color: #fff; }
.eco-footer .eco-brand span { color: #8fd9bf; }
.eco-footer p { margin-top: 0.85rem; max-width: 28ch; font-size: 0.92rem; }
.eco-footer h4 {
  font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; margin-bottom: 1rem; font-weight: 700;
}
.eco-footer a { display: block; margin-bottom: 0.45rem; font-size: 0.92rem; }
.eco-footer a:hover { color: #8fd9bf; }
.eco-footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.2rem 0; font-size: 0.82rem; color: rgba(255,255,255,0.4);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 991px) {
  .eco-burger { display: block; margin-right: 0.2rem; }
  body.menu-open .eco-nav-wrap { z-index: 1120; }
  .eco-links {
    position: fixed !important; top: 0; right: 0;
    width: min(300px, 84vw); height: 100vh; height: 100dvh;
    background: #fff; border-radius: 0; flex-direction: column; align-items: stretch;
    padding: 5.5rem 1.25rem 2rem; gap: 0.2rem; z-index: 1100;
    box-shadow: -16px 0 40px rgba(0,0,0,0.12);
    transform: translate3d(100%,0,0) !important; visibility: hidden; pointer-events: none;
    transition: transform 0.35s var(--ease), visibility 0.35s;
    overflow-y: auto;
  }
  .eco-links.open { transform: translate3d(0,0,0) !important; visibility: visible; pointer-events: auto; }
  .eco-close {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px;
    border-radius: 50%; border: 1px solid var(--line); background: var(--bg);
    font-size: 1.4rem; cursor: pointer;
  }
  .eco-links a { padding: 0.9rem 0.75rem; border-radius: 12px; font-size: 1.05rem; color: var(--ink); }
  .eco-links .eco-btn { margin: 0.75rem 0 0; width: 100%; }
  body.menu-open { overflow: hidden; touch-action: none; }

  .showcase, .dual, .about-grid, .contact-box, .cat-row { grid-template-columns: 1fr; }
  .showcase-visual { min-height: 420px; order: -1; }
  .rail, .steps, .values, .price-points, .eco-footer-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bento article:first-child { grid-column: span 2; grid-row: auto; min-height: 280px; }
  .bento article { min-height: 200px; }
}
@media (max-width: 640px) {
  .eco-nav { border-radius: 20px; padding-left: 1rem; }
  .rail, .steps, .values, .price-points, .eco-footer-grid, .form-row, .bento { grid-template-columns: 1fr; }
  .bento article:first-child { grid-column: auto; }
  .float-a { width: 78%; height: 65%; }
  .showcase-visual { min-height: 380px; }
  .banner .inner { padding: 2rem 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
