:root {
  --bg: #ffffff;
  --text: #222;
  --muted: #666;
  --primary: #000;
  --accent: #e63946;
  --card: #fff;
  --shadow: 0 6px 18px rgba(0, 0, 0, .08);
  --radius: 14px;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px
}

.brand {
  font-weight: 800;
  letter-spacing: .5px
}

.menu a {
  color: #fff;
  text-decoration: none;
  margin-left: 18px;
  font-weight: 700
}

.menu a.active {
  border-bottom: 2px solid #fff
}

.burger {
  display: none;
  cursor: pointer
}

/* Hero */
.hero {
  background: linear-gradient(180deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .35)), url('https://via.placeholder.com/1600x600') center/cover no-repeat;
  color: #fff;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 18px 72px
}

.hero h1 {
  font-size: clamp(28px, 3.2vw, 44px);
  margin: 0 0 8px
}

.hero p {
  max-width: 760px;
  margin: 0 0 18px;
  color: #f2f2f2
}

.btn {
  display: inline-block;
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .3px
}

.btn-accent {
  background: var(--accent)
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff
}

/* Sections */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px
}

.section h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 0 0 12px
}

.section .lead {
  color: var(--muted);
  margin: -6px 0 18px
}

/* Product grid */
.grid {
  display: grid;
  gap: 18px
}

.grid.cols-4 {
  grid-template-columns: repeat(4, 1fr)
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr)
}

.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr)
}

@media (max-width: 900px) {
  .grid.cols-4 {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (max-width: 740px) {

  .grid.cols-4,
  .grid.cols-3 {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr
  }
}

img.thumb {
  width: 50px;
  height: 50px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.card .thumb {
  aspect-ratio: 1 / 1;
  background: #eee;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .pad {
  padding: 14px
}

.card h3 {
  margin: 6px 0 6px;
  font-size: 18px
}

.price {
  font-weight: 800
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #16a34a;
  color: #fff;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px
}

.rel {
  position: relative
}

/* Discount banners */
.promo {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.promo .banner {
  flex: 1 1 300px;
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow)
}

.promo .banner .txt h3 {
  margin: 0 0 6px
}

.promo .banner .txt p {
  margin: 0 0 10px;
  color: #ddd
}

.promo .banner img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover
}

/* Blog cards */
.blog-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden
}

.blog-card img {
  width: 160px;
  height: 120px;
  object-fit: cover
}

.blog-body {
  padding: 14px
}

.date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  background: #000;
  color: #fff;
  border-radius: 10px;
  padding: 8px;
  font-weight: 800
}

.date-badge .day {
  font-size: 20px;
  line-height: 1
}

.date-badge .month {
  text-transform: uppercase;
  font-size: 12px;
  opacity: .9
}

/* Testimonials */
.testi {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr)
}

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

@media (max-width:600px) {
  .testi {
    grid-template-columns: 1fr
  }
}

.quote {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px
}

.quote .who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover
}

/* Footer */
.footer {
  background: #0a0a0a;
  color: #ddd;
  margin-top: 38px
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr
}

.footer h4 {
  margin: 0 0 10px;
  color: #fff
}

.footer a {
  color: #fff;
  text-decoration: none
}

.footer .mini a {
  display: block;
  margin: 6px 0
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 14px 18px;
  text-align: center;
  color: #aaa
}

/* Utilities */
.m-0 {
  margin: 0
}

.center {
  display: flex;
  justify-content: center;
  align-items: center
}

.btn-light {
  background: #fff;
  color: #000
}