:root {
  --green: #2ecc71;
  --green-dark: #229954;
  --ink: #1c2321;
  --ink-soft: #55635c;
  --bg: #ffffff;
  --bg-soft: #f6f9f7;
  --border: #e5ebe7;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(28, 35, 33, 0.06);
  --shadow-hover: 0 10px 28px rgba(28, 35, 33, 0.12);
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img { height: 40px; width: auto; }

.brand-word {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a.is-active { color: var(--green-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
  background: var(--bg-soft);
  min-width: 220px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font);
  font-size: 0.85rem;
  flex: 1;
  color: var(--ink);
}

.search-box button {
  background: var(--green);
  border: none;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.search-box svg { width: 16px; height: 16px; stroke: white; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 64px 0 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(46, 204, 113, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  box-shadow: var(--shadow-hover);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hero-slide.is-active { opacity: 1; pointer-events: auto; }

.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-slide-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 22px;
  background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 100%);
  color: white;
}

.hero-slide-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a9f0c4;
  margin-bottom: 4px;
  display: block;
}

.hero-slide-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-slide-price { font-weight: 700; }
.hero-slide-price .old { font-weight: 500; opacity: 0.7; text-decoration: line-through; margin-left: 6px; font-size: 0.85em; }

.hero-dots {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.2s;
}

.hero-dot.is-active { background: white; width: 20px; border-radius: 4px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-hover); }

.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: white; }

.btn-sm { padding: 9px 18px; font-size: 0.8rem; }

/* ---------- Trust bar ---------- */

.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.trust-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 130px;
}

.trust-num { font-size: 1.5rem; font-weight: 700; color: var(--green-dark); }
.trust-label { font-size: 0.78rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- Category chips ---------- */

.cat-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 28px 0;
  scrollbar-width: none;
}
.cat-strip::-webkit-scrollbar { display: none; }

.cat-chip {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.cat-chip:hover { border-color: var(--green); color: var(--green-dark); }
.cat-chip.is-active { background: var(--green); border-color: var(--green); color: white; }

/* ---------- Category showcase grid ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.cat-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.cat-card:hover img { transform: scale(1.06); }

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.05) 55%, transparent 100%);
}

.cat-card span {
  position: relative;
  z-index: 1;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 16px 14px;
  line-height: 1.25;
}

@media (max-width: 860px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Section titles ---------- */

.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head h2 { font-size: 1.7rem; font-weight: 700; }
.section-head .see-all { font-size: 0.85rem; font-weight: 700; color: var(--green-dark); }

/* ---------- Product grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}

.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.card-img {
  aspect-ratio: 1/1;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}

.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.card:hover .card-img img { transform: scale(1.05); }

.badge-promo {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e74c3c;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
}

.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-dark);
}

.card-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-now { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.price-old { font-size: 0.82rem; color: #a3aca7; text-decoration: line-through; }

.card-cta {
  margin-top: 10px;
  text-align: center;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  transition: all 0.2s;
}

.card-cta:hover { background: var(--green); border-color: var(--green); color: white; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid img { border-radius: 20px; aspect-ratio: 4/3; object-fit: cover; }

.about-grid h2 { font-size: 1.8rem; margin-bottom: 18px; }
.about-grid p { color: var(--ink-soft); margin-bottom: 14px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: white;
}

.footer-grid a, .footer-grid p {
  display: block;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-grid a:hover { color: var(--green); }

.footer-brand img { height: 36px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 280px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ---------- WhatsApp float ---------- */

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  z-index: 90;
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .search-box { min-width: 0; flex: 1; }
  .hero-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
}
