:root {
  --bg: #f5f5f8;
  --surface: #ffffff;
  --text: #17181f;
  --muted: #7e8294;
  --line: #ececf3;
  --purple-1: #5539ff;
  --purple-2: #4332e9;
  --purple-3: #7f67ff;
  --chip: rgba(20, 17, 50, 0.25);
  --shadow: 0 24px 64px rgba(36, 28, 96, 0.18);
  --radius-lg: 28px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

img {
  display: block;
  width: 100%;
}

button,
input,
a {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar,
.mainnav {
  background: var(--surface);
}
.topbar {
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 140px minmax(240px, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.searchBox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  max-width: 430px;
}

.searchBox__icon {
  color: #8168ff;
  font-size: 1.1rem;
}

.searchBox input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
}
.submitBtn,
.ghostBtn,
.productCard__body a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: 0.2s ease;
}

.submitBtn {
  color: #6e58ff;
  border: 2px solid #d9cdfd;
  padding: 12px 22px;
  font-weight: 700;
}

.submitBtn:hover,
.ghostBtn:hover,
.productCard__body a:hover {
  transform: translateY(-1px);
}

.mainnav {
  border-bottom: 1px solid var(--line);
}

.mainnav__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.mainnav a {
  color: #20222b;
  text-decoration: none;
  font-weight: 600;
}

.mainnav a.active {
  color: #6b57ff;
}

.showcase {
  padding: 0 16px 30px;
}

.heroPanel {
  margin-top: 0;
  background: radial-gradient(circle at 50% 20%, #5a4dff 0%, var(--purple-1) 34%, var(--purple-2) 100%);
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.heroPanel::before,
.heroPanel::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  opacity: 0.2;
}
.heroPanel::before {
  width: 260px;
  height: 260px;
  left: -40px;
  top: 120px;
  border: 2px solid rgba(255,255,255,0.24);
  border-radius: 50%;
}

.heroPanel::after {
  width: 220px;
  height: 220px;
  right: -20px;
  top: 90px;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 42% 58% 63% 37% / 37% 41% 59% 63%;
}

.heroPanel__inner {
  padding: 110px 0 150px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.heroPanel h1 {
  margin: 0;
  color: white;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.chipRow {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.chip {
  border: 0;
  background: var(--chip);
  color: white;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.chip--active {
  background: #17181f;
}

.carouselShell {
  position: relative;
  margin-top: 42px;
}

.status {
  color: rgba(255,255,255,0.86);
  margin-bottom: 16px;
  font-weight: 600;
}

.productGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.productCard {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 14px 32px rgba(24, 16, 88, 0.18);
}

.productCard__media {
  background: #f4f0ff;
  aspect-ratio: 1.2 / 0.82;
}

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

.productCard__body {
  padding: 22px 22px 20px;
}

.categoryPill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3efff;
  color: #7560ff;
  font-size: 0.84rem;
  font-weight: 700;
}

.productCard__body h3 {
  margin: 16px 0 12px;
  font-size: 1.05rem;
  line-height: 1.32;
  min-height: 2.7em;
}
.productCard__copy {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
  min-height: 3.2em;
}

.metaRow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.metaRow--bottom {
  justify-content: space-between;
  margin-top: 14px;
}

.price {
  font-size: 1.3rem;
  font-weight: 800;
}

.oldPrice {
  color: #989caf;
  text-decoration: line-through;
  font-weight: 600;
}

.discountTag {
  color: #6c58ff;
  font-weight: 700;
  font-size: 0.92rem;
}

.productCard__body a {
  background: #17181f;
  color: white;
  padding: 10px 16px;
  font-weight: 700;
}
.navArrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(39, 26, 122, 0.5);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

.navArrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#prevBtn {
  left: -56px;
}

#nextBtn {
  right: -56px;
}

.siteFooter {
  padding: 22px 0 40px;
}

.siteFooter__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.siteFooter p {
    margin: 0;
    color: #7c8298;
  }
  
  .ghostBtn {
    border: 1px solid #d8ddf2;
    background: white;
    color: #20222b;
    padding: 12px 18px;
    cursor: pointer;
  }
  
  @media (max-width: 1180px) {
    #prevBtn {
      left: -20px;
    }
  
    #nextBtn {
      right: -20px;
    }
  }
  
  @media (max-width: 980px) {
    .topbar__inner {
      grid-template-columns: 1fr;
      padding: 18px 0;
    }
  
    .searchBox {
      max-width: none;
    }
  
    .productGrid {
      grid-template-columns: 1fr 1fr;
    }
  
    .navArrow {
      display: none;
    }
  }
  @media (max-width: 680px) {
    .mainnav__inner,
    .siteFooter__inner {
      justify-content: flex-start;
    }
  
    .heroPanel__inner {
      padding: 80px 0 90px;
    }
  
    .productGrid {
      grid-template-columns: 1fr;
    }
  }