:root {
  --bg: #f4efe6;
  --bg-2: #fffaf4;
  --elev: #ffffff;
  --ink: #1c140f;
  --muted: #6e5b4e;
  --line: rgba(28, 20, 15, 0.12);
  --copper: #c45c26;
  --copper-2: #e07030;
  --copper-3: #9a3412;
  --gold: #e8b15a;
  --teal: #0f766e;
  --black: #1c140f;
  --ok: #047857;
  --danger: #be123c;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Bebas Neue", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1520px, calc(100% - 3rem)); margin-inline: auto; }
.hidden { display: none !important; }

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 244, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #c45c26, #e8b15a, #0f766e, #1c140f) 1;
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 4.25rem;
}
.logo {
  font-family: var(--display);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.logo span { color: var(--copper-2); }
.nav {
  display: flex;
  gap: 1.4rem;
  margin-left: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
.nav a:hover { color: var(--ink); }
.top-inner .btn { margin-left: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 0.95rem 1.5rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-copper {
  background: linear-gradient(135deg, var(--copper-3), var(--copper-2) 40%, var(--copper));
  color: #1a0c04;
  box-shadow: 0 14px 40px rgba(196, 92, 38, 0.35);
}
.btn-ghost {
  border-color: rgba(28, 20, 15, 0.28);
  background: #fff;
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--copper-2); color: var(--copper-3); }

.hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 42% 80% at 88% 20%, rgba(232, 177, 90, 0.45), transparent 60%),
    radial-gradient(ellipse 36% 70% at 8% 90%, rgba(15, 118, 110, 0.16), transparent 62%),
    linear-gradient(180deg, #fffaf4 0%, #f4efe6 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2.5rem;
  align-items: center;
  min-height: 62vh;
}
.hero-copy {
  max-width: 820px;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-panel {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, #c45c26 0%, #e8b15a 48%, #0f766e 100%);
  color: #fffaf4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  overflow: hidden;
}
.hero-panel p {
  margin: 0 0 0.35rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}
.hero-panel strong {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.95;
}
.cell {
  position: absolute;
  border-radius: 50%;
  border: 10px solid rgba(255, 250, 244, 0.85);
}
.cell-a { width: 210px; height: 210px; right: 8%; top: 12%; background: radial-gradient(circle at 35% 35%, #fff, #e8b15a 42%, #c45c26 70%); }
.cell-b { width: 120px; height: 120px; left: 10%; top: 22%; background: radial-gradient(circle at 35% 35%, #fff, #5eead4 40%, #0f766e 72%); }
.cell-c { width: 78px; height: 78px; left: 38%; top: 48%; background: radial-gradient(circle at 35% 35%, #fff, #fdba74 45%, #9a3412 75%); }
@keyframes rise {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper-3);
}
.brand-hero {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.6rem, 8vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.tagline {
  margin: 1rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
  color: var(--muted);
  max-width: 28rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cats { background: transparent; }
.cats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding: 0.4rem 0 0.2rem;
}
.cat {
  padding: 1.45rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fffaf4;
  border-radius: 16px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.cat:hover { transform: translateY(-3px); filter: brightness(1.06); }
.cat-lithium { background: #c45c26; }
.cat-alkaline { background: #0f766e; }
.cat-size { background: #1c140f; color: #e8b15a; }
.cat-live { background: #e8b15a; color: #1c140f; }

.featured { padding: 5rem 0 3rem; }
.section-title {
  margin: 0 0 2rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.03em;
  line-height: 1;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.feat {
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1rem 1.3rem;
  border-top: 4px solid var(--copper);
  animation: rise 0.7s ease both;
}
.feat:nth-child(2) { border-top-color: var(--teal); }
.feat:nth-child(3) { border-top-color: var(--gold); }
.feat:nth-child(2) { animation-delay: 0.08s; }
.feat:nth-child(3) { animation-delay: 0.16s; }
.feat-visual {
  height: 160px;
  margin-bottom: 1.1rem;
  border-radius: 0;
  background: var(--elev);
  position: relative;
  overflow: hidden;
}
.feat-v1 {
  background:
    radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(145deg, #c45c26, #e8b15a);
}
.feat-v2 {
  background:
    radial-gradient(circle at 35% 55%, rgba(255, 255, 255, 0.4), transparent 50%),
    linear-gradient(145deg, #0f766e, #5eead4);
}
.feat-v3 {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.35), transparent 40%),
    linear-gradient(145deg, #1c140f, #9a3412);
}
.feat-visual::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  right: 18%;
  top: 28%;
  background: linear-gradient(145deg, #e8e0d5, #8a7a68 55%, #c45c26);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  animation: pulse 3.2s ease-in-out infinite;
}
.feat-v2::after { width: 56px; height: 56px; left: 22%; right: auto; animation-delay: 0.4s; }
.feat-v3::after { width: 64px; height: 64px; background: linear-gradient(145deg, #fff, #c45c26); animation-delay: 0.8s; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.feat h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.feat p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.link-more {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper-3);
}
.link-more:hover { color: var(--ink); }

.marquee-block {
  padding: 2rem 0 3rem;
  background: linear-gradient(90deg, rgba(196, 92, 38, 0.08), rgba(232, 177, 90, 0.16), rgba(15, 118, 110, 0.1));
}
.marquee-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-label span:last-child { color: var(--copper-3); }
.marquee {
  overflow: hidden;
  margin-bottom: 0.85rem;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.85rem;
  will-change: transform;
}
.marquee-a .marquee-track { animation: scrollL 55s linear infinite; }
.marquee-b .marquee-track { animation: scrollR 65s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollL {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes scrollR {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.tile {
  flex: 0 0 auto;
  width: clamp(150px, 17vw, 200px);
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  transition: border-color 0.25s ease, transform 0.3s ease;
}
.tile:hover {
  border-color: var(--copper);
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4));
}
.tile-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 0.65rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  background: linear-gradient(to top, rgba(28, 20, 15, 0.88), transparent);
  color: #fffaf4;
  opacity: 0;
  transition: opacity 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile:hover .tile-cap { opacity: 1; }

.products { padding: 3.5rem 0 5rem; }
.section-head { margin-bottom: 1.4rem; max-width: 36rem; }
.section-head .section-title { margin-bottom: 0.5rem; }
.section-head p { margin: 0; color: var(--muted); }
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.25rem;
}
.toolbar input[type="search"] {
  flex: 1;
  min-width: 220px;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--ink);
  border-radius: 0;
  padding: 0.9rem 1.1rem;
  font: inherit;
  outline: none;
}
.toolbar input:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.2);
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}
.check input { accent-color: var(--copper); }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}
@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--elev);
  overflow: hidden;
  min-height: 100%;
  transition: border-color 0.25s ease, transform 0.3s ease;
  animation: rise 0.55s ease both;
}
.card:hover {
  border-color: var(--copper);
  transform: translateY(-4px);
}
.card-media {
  aspect-ratio: 1;
  background: #fffaf4;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45));
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  flex: 1;
}
.badge {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
}
.badge-out { background: rgba(251, 113, 133, 0.15); color: var(--danger); }
.badge-ok { background: rgba(74, 222, 128, 0.14); color: var(--ok); }
.card h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}
.price {
  margin-top: auto;
  font-weight: 800;
  color: var(--copper-3);
}
.card .btn {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 1rem;
}

.cta-band {
  background:
    radial-gradient(ellipse 55% 90% at 80% 0%, rgba(232, 177, 90, 0.55), transparent 55%),
    linear-gradient(100deg, #c45c26, #9a3412 55%, #0f766e);
  color: #fffaf4;
}
.cta-band .eyebrow { color: #ffe7c2; }
.cta-band-inner {
  padding: 4.5rem 0;
  text-align: center;
}
.cta-band h2 {
  margin: 0 0 1.4rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: 0.04em;
}

.foot { padding: 2.2rem 0 2.8rem; background: #1c140f; color: #f4efe6; }
.foot .muted { color: rgba(244, 239, 230, 0.78); }
.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.muted { color: var(--muted); font-size: 0.9rem; margin: 0; }
.muted a { color: var(--copper-3); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feat-grid, .hero-grid { grid-template-columns: 1fr; }
  .cats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-panel { min-height: 320px; padding-top: 9rem; }
  .cell-a { width: 128px; height: 128px; }
  .cell-b { width: 78px; height: 78px; }
  .cell-c { width: 48px; height: 48px; top: 38%; }
  .hero-panel strong { font-size: 2.4rem; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wrap { width: min(1520px, calc(100% - 1.5rem)); }
  .hero-grid { min-height: 0; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .cats-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .hero-shine, .feat-visual::after, .hero-copy, .card, .feat {
    animation: none !important;
  }
}
