:root {
  --p: #0f9d78;
  --pd: #0a7a5c;
  --pl: #e8f7f2;
  --ac: #ff6b35;
  --dk: #0f172a;
  --tx: #1e293b;
  --mu: #64748b;
  --bd: #e2e8f0;
  --bg: #f6f9f8;
  --r: 14px;
  --sh: 0 6px 22px rgba(15, 23, 42, 0.08);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", system-ui, Arial, sans-serif;
  color: var(--tx);
  background: var(--bg);
  line-height: 1.55;
  font-size: 14.5px;
  padding-bottom: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
}
em {
  font-style: normal;
}

/* top + header */
.topbar {
  background: var(--dk);
  color: #cbd5e1;
  font-size: 12.5px;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.topbar i {
  color: #34d399;
  margin-right: 4px;
}
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-size: 25px;
  font-weight: 800;
  color: var(--dk);
  white-space: nowrap;
}
.logo i {
  color: var(--p);
  margin-right: 4px;
}
.logo span {
  color: var(--p);
}
.logo.light {
  color: #fff;
}
.search {
  flex: 1;
  position: relative;
  max-width: 640px;
}
.search > i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mu);
}
.search input {
  width: 100%;
  border: 2px solid var(--bd);
  background: #f8fafc;
  border-radius: 30px;
  padding: 11px 18px 11px 44px;
  outline: 0;
  transition: 0.2s;
}
.search input:focus {
  border-color: var(--p);
  background: #fff;
}
.suggest {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--sh);
  overflow: hidden;
  display: none;
  z-index: 70;
}
.suggest a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--bd);
}
.suggest a:hover {
  background: var(--pl);
}
.suggest img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 8px;
}
.suggest small {
  color: var(--mu);
}
.nav-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 30px;
  font-weight: 500;
  position: relative;
}
.nav-link:hover {
  background: var(--pl);
  color: var(--pd);
}
.nav-link i {
  font-size: 17px;
}
.nav-link em {
  background: var(--ac);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.nav-link.cart {
  background: var(--p);
  color: #fff;
}
.nav-link.cart:hover {
  background: var(--pd);
  color: #fff;
}
.nav-link.cart em {
  background: #fff;
  color: var(--pd);
}
.cats {
  border-top: 1px solid var(--bd);
}
.cats .container {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cats a {
  white-space: nowrap;
  padding: 11px 14px;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--tx);
  border-bottom: 3px solid transparent;
}
.cats a i {
  margin-right: 6px;
  color: var(--p);
}
.cats a:hover,
.cats a.active {
  color: var(--p);
  border-bottom-color: var(--p);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--p);
  color: #fff;
  border: 0;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.2s;
}
.btn:hover {
  background: var(--pd);
  transform: translateY(-1px);
}
.btn.orange {
  background: var(--ac);
}
.btn.orange:hover {
  background: #e85a26;
}
.btn.outline {
  background: #fff;
  color: var(--p);
  border: 2px solid var(--p);
}
.btn.outline:hover {
  background: var(--p);
  color: #fff;
}
.btn.white {
  background: #fff;
  color: var(--pd);
}
.btn.full {
  width: 100%;
}
.btn.sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 20px;
  height: 380px;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 60px;
  opacity: 0;
  transition: opacity 0.7s;
  color: #fff;
}
.slide.on {
  opacity: 1;
  z-index: 1;
}
.slide .txt {
  max-width: 520px;
  position: relative;
  z-index: 2;
}
.slide .tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  margin-bottom: 14px;
  backdrop-filter: blur(4px);
}
.slide h1 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 12px;
  font-weight: 700;
}
.slide p {
  opacity: 0.92;
  margin-bottom: 22px;
  font-size: 15.5px;
}
.slide .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.slide .bg::after {
  content: "";
  position: absolute;
  inset: 0;
}
.s1 .bg::after {
  background: linear-gradient(90deg, #0a7a5ce6 20%, #0f9d7899 60%, transparent);
}
.s2 .bg::after {
  background: linear-gradient(90deg, #1e3a8aee 20%, #2563eb99 60%, transparent);
}
.s3 .bg::after {
  background: linear-gradient(90deg, #c2410cee 20%, #ea580c99 60%, transparent);
}
.s1 {
  background: linear-gradient(120deg, #0a7a5c, #16b384);
}
.s2 {
  background: linear-gradient(120deg, #1e3a8a, #3b82f6);
}
.s3 {
  background: linear-gradient(120deg, #c2410c, #fb923c);
}
.dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.dots span {
  width: 9px;
  height: 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.3s;
}
.dots span.on {
  width: 26px;
  background: #fff;
}

/* sections */
.section {
  margin: 42px 0;
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
}
.sec-head h2 {
  font-size: 23px;
  font-weight: 700;
}
.sec-head p {
  color: var(--mu);
  font-size: 13.5px;
}
.sec-head a {
  color: var(--p);
  font-weight: 600;
}
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.trust div {
  background: #fff;
  border-radius: var(--r);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--sh);
}
.trust i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pl);
  color: var(--p);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.trust b {
  display: block;
  font-size: 14px;
}
.trust span {
  font-size: 12.5px;
  color: var(--mu);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 14px;
}
.cat-card {
  background: #fff;
  border-radius: var(--r);
  padding: 18px 8px;
  text-align: center;
  font-weight: 500;
  font-size: 13px;
  transition: 0.25s;
  box-shadow: var(--sh);
}
.cat-card i {
  display: flex;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--pl);
  color: var(--p);
  align-items: center;
  justify-content: center;
  font-size: 23px;
  margin: 0 auto 10px;
  transition: 0.25s;
}
.cat-card:hover {
  transform: translateY(-4px);
}
.cat-card:hover i {
  background: var(--p);
  color: #fff;
}
.promo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.promo a {
  border-radius: var(--r);
  padding: 26px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.promo a b {
  font-size: 21px;
  line-height: 1.25;
}
.promo a span {
  margin: 6px 0 12px;
  opacity: 0.9;
  font-size: 13px;
}
.promo a u {
  text-decoration: none;
  font-weight: 600;
}
.promo a i {
  position: absolute;
  right: -8px;
  bottom: -14px;
  font-size: 96px;
  opacity: 0.18;
}
.p1 {
  background: linear-gradient(120deg, #0f9d78, #34d399);
}
.p2 {
  background: linear-gradient(120deg, #7c3aed, #a78bfa);
}
.p3 {
  background: linear-gradient(120deg, #e11d48, #fb7185);
}

/* product cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--bd);
  padding: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: 0.25s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
  border-color: transparent;
}
.imgbox {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--pl);
  aspect-ratio: 1/1;
}
.imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}
.card:hover .imgbox img {
  transform: scale(1.06);
}
.ph {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  color: var(--p);
  background: linear-gradient(135deg, #e8f7f2, #c9eee0);
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--ac);
  color: #fff;
  font-size: 11.5px;
  padding: 2px 10px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 2;
}
.rxtag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 2;
}
.wish {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--mu);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: 0.2s;
}
.wish:hover {
  color: #e11d48;
}
.wish.on {
  color: #e11d48;
}
.card .brand {
  font-size: 12px;
  color: var(--mu);
  margin-top: 10px;
}
.card h4 {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  min-height: 39px;
}
.card h4 a:hover {
  color: var(--p);
}
.rate {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--mu);
  margin: 4px 0;
}
.rate b {
  background: #16a34a;
  color: #fff;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 11.5px;
}
.rate b i {
  font-size: 9px;
  margin-left: 2px;
}
.pack {
  font-size: 12px;
  color: var(--mu);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 10px;
}
.price b {
  font-size: 18px;
}
.price s {
  color: var(--mu);
  font-size: 13px;
}
.price span {
  color: #16a34a;
  font-size: 12.5px;
  font-weight: 600;
}
.card .btn {
  margin-top: auto;
  width: 100%;
  border-radius: 10px;
  padding: 10px;
}

/* listing */
.crumb {
  font-size: 13px;
  color: var(--mu);
  padding: 18px 0 4px;
}
.crumb a:hover {
  color: var(--p);
}
.list-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 18px;
}
.list-top h1 {
  font-size: 24px;
}
.list-top select {
  padding: 9px 14px;
  border: 1px solid var(--bd);
  border-radius: 10px;
  background: #fff;
  outline: 0;
}
.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
}
.filters {
  background: #fff;
  border-radius: var(--r);
  padding: 18px;
  height: max-content;
  box-shadow: var(--sh);
  position: sticky;
  top: 130px;
}
.filters h4 {
  margin-bottom: 10px;
}
.filters label {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 5px 0;
  cursor: pointer;
  font-size: 13.5px;
}
.filters input {
  accent-color: var(--p);
}
.filters hr {
  border: 0;
  border-top: 1px solid var(--bd);
  margin: 14px 0;
}
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--mu);
}
.empty i {
  font-size: 56px;
  color: #cbd5e1;
  margin-bottom: 14px;
}

/* product page */
.pd {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 34px;
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--sh);
  margin-top: 12px;
}
.gal .main {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--pl);
  position: relative;
}
.gal .main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.thumbs .t {
  width: 74px;
  height: 74px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--bd);
  cursor: pointer;
  background: var(--pl);
  position: relative;
}
.thumbs .t.on {
  border-color: var(--p);
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd h1 {
  font-size: 26px;
  line-height: 1.3;
  margin: 4px 0;
}
.pd .brand {
  color: var(--p);
  font-weight: 600;
}
.pd .big {
  font-size: 32px;
  font-weight: 700;
}
.pd .big s {
  font-size: 17px;
  color: var(--mu);
  font-weight: 400;
  margin: 0 8px;
}
.pd .big span {
  font-size: 15px;
  color: #16a34a;
}
.pd .tax {
  font-size: 12px;
  color: var(--mu);
}
.opts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.opt {
  border: 2px solid var(--bd);
  border-radius: 10px;
  padding: 8px 16px;
  background: #fff;
  font-weight: 500;
}
.opt.on {
  border-color: var(--p);
  background: var(--pl);
  color: var(--pd);
}
.qtyrow {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 16px 0;
}
.qty {
  display: inline-flex;
  border: 2px solid var(--bd);
  border-radius: 30px;
  overflow: hidden;
  align-items: center;
}
.qty button {
  width: 38px;
  height: 38px;
  border: 0;
  background: #fff;
  font-size: 16px;
}
.qty button:hover {
  background: var(--pl);
}
.qty span {
  min-width: 34px;
  text-align: center;
  font-weight: 600;
}
.pin {
  display: flex;
  gap: 8px;
  margin: 12px 0 4px;
}
.pin input {
  flex: 1;
  max-width: 220px;
  padding: 10px 14px;
  border: 2px solid var(--bd);
  border-radius: 10px;
  outline: 0;
}
.pin input:focus {
  border-color: var(--p);
}
.pinmsg {
  font-size: 13px;
  min-height: 20px;
}
.ok {
  color: #16a34a;
}
.bad {
  color: #dc2626;
}
.rxbox {
  background: #fef2f2;
  border: 1px dashed #f87171;
  border-radius: 10px;
  padding: 10px 14px;
  color: #b91c1c;
  font-size: 13px;
  margin: 12px 0;
}
.perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.perks div {
  background: var(--bg);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-size: 12.5px;
}
.perks i {
  display: block;
  font-size: 20px;
  color: var(--p);
  margin-bottom: 4px;
}
.tabs {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--sh);
  margin-top: 24px;
  overflow: hidden;
}
.tabbar {
  display: flex;
  border-bottom: 1px solid var(--bd);
  overflow-x: auto;
}
.tabbar button {
  border: 0;
  background: none;
  padding: 16px 24px;
  font-weight: 600;
  color: var(--mu);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.tabbar button.on {
  color: var(--p);
  border-bottom-color: var(--p);
}
.tabbody {
  padding: 24px;
}
.tabbody ul {
  padding-left: 20px;
}
.tabbody li {
  margin: 6px 0;
}
.review {
  border-bottom: 1px solid var(--bd);
  padding: 14px 0;
}
.review:last-child {
  border: 0;
}
.review .st {
  color: #f59e0b;
  font-size: 12px;
}
.review small {
  color: var(--mu);
}

/* cart / checkout */
.page-title {
  font-size: 26px;
  margin: 22px 0 16px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}
.box {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh);
  padding: 20px;
}
.box h3 {
  margin-bottom: 14px;
  font-size: 17px;
}
.ship {
  background: var(--pl);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 13.5px;
}
.bar {
  height: 8px;
  background: #d1fae5;
  border-radius: 6px;
  margin-top: 8px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--p);
  border-radius: 6px;
  transition: 0.4s;
}
.citem {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--bd);
  align-items: center;
}
.citem:last-child {
  border: 0;
}
.citem .imgbox {
  border-radius: 10px;
}
.citem h4 {
  font-size: 15px;
}
.citem small {
  color: var(--mu);
}
.rm {
  border: 0;
  background: none;
  color: #dc2626;
  font-size: 12.5px;
  margin-top: 6px;
}
.srow {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}
.srow.t {
  font-size: 18px;
  font-weight: 700;
  border-top: 1px dashed var(--bd);
  padding-top: 14px;
  margin-top: 6px;
}
.green {
  color: #16a34a;
  font-weight: 500;
}
.coupon {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
}
.coupon input {
  flex: 1;
  padding: 10px 14px;
  border: 2px dashed var(--bd);
  border-radius: 10px;
  outline: 0;
  text-transform: uppercase;
  min-width: 0;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.chip {
  border: 1px dashed var(--p);
  color: var(--pd);
  background: var(--pl);
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
}
.steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 22px 0 6px;
  flex-wrap: wrap;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mu);
  font-weight: 500;
  font-size: 13.5px;
}
.step b {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.step.on {
  color: var(--pd);
}
.step.on b {
  background: var(--p);
  color: #fff;
}
.step + .step::before {
  content: "";
  width: 50px;
  height: 2px;
  background: #cbd5e1;
  margin: 0 10px;
}
.frm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.frm .full {
  grid-column: 1/-1;
}
.fld label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--mu);
}
.fld input,
.fld select,
.fld textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--bd);
  border-radius: 10px;
  outline: 0;
  background: #fff;
}
.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  border-color: var(--p);
}
.fld.err input,
.fld.err textarea,
.fld.err select {
  border-color: #dc2626;
}
.fld .em {
  color: #dc2626;
  font-size: 12px;
  display: none;
}
.fld.err .em {
  display: block;
}
.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.slot,
.pay {
  border: 2px solid var(--bd);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
  transition: 0.2s;
}
.slot input,
.pay input {
  accent-color: var(--p);
}
.slot:has(input:checked),
.pay:has(input:checked) {
  border-color: var(--p);
  background: var(--pl);
}
.pays {
  display: grid;
  gap: 10px;
}
.pay i {
  font-size: 20px;
  color: var(--p);
  width: 26px;
  text-align: center;
}
.pay small {
  display: block;
  color: var(--mu);
  font-size: 12px;
}
.payform {
  margin-top: 14px;
  padding: 16px;
  background: var(--bg);
  border-radius: 12px;
}
.mini {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  font-size: 13.5px;
}
.mini .imgbox {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 8px;
}
.mini div:nth-child(2) {
  flex: 1;
  line-height: 1.3;
}
.done {
  text-align: center;
  max-width: 620px;
  margin: 40px auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px 26px;
  box-shadow: var(--sh);
}
.done .tick {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--pl);
  color: var(--p);
  font-size: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: pop 0.5s;
}
@keyframes pop {
  0% {
    transform: scale(0.3);
  }
  70% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
.oid {
  display: inline-block;
  background: var(--pl);
  color: var(--pd);
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: 700;
  margin: 10px 0 18px;
  letter-spacing: 1px;
}

/* tracking */
.trackbox {
  display: flex;
  gap: 10px;
  max-width: 520px;
}
.trackbox input {
  flex: 1;
  padding: 13px 18px;
  border: 2px solid var(--bd);
  border-radius: 30px;
  outline: 0;
  min-width: 0;
}
.trackbox input:focus {
  border-color: var(--p);
}
.tl {
  position: relative;
  margin: 10px 0 0 6px;
}
.tl .it {
  display: flex;
  gap: 18px;
  padding-bottom: 30px;
  position: relative;
}
.tl .it:last-child {
  padding-bottom: 0;
}
.tl .it::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 3px;
  background: #e2e8f0;
}
.tl .it:last-child::before {
  display: none;
}
.tl .it.done::before {
  background: var(--p);
}
.tl .ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--mu);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.tl .it.done .ic {
  background: var(--p);
  color: #fff;
}
.tl .it.cur .ic {
  background: var(--ac);
  color: #fff;
  box-shadow: 0 0 0 6px #ffedd5;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 12px #ffedd500;
  }
}
.tl h4 {
  font-size: 15px;
}
.tl small {
  color: var(--mu);
}
.tl .it:not(.done):not(.cur) {
  opacity: 0.55;
}
.otag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: #ffedd5;
  color: #c2410c;
}
.otag.g {
  background: #dcfce7;
  color: #15803d;
}

/* misc */
.testi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testi div {
  background: #fff;
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--sh);
}
.testi .st {
  color: #f59e0b;
  margin-bottom: 8px;
}
.testi p {
  color: var(--mu);
  margin-bottom: 14px;
}
.testi b {
  display: flex;
  gap: 10px;
  align-items: center;
}
.testi b span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--p);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news {
  background: linear-gradient(120deg, #0a7a5c, #16b384);
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.news h3 {
  font-size: 24px;
}
.news p {
  opacity: 0.9;
}
.news form {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 440px;
  min-width: 260px;
}
.news input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 30px;
  border: 0;
  outline: 0;
  min-width: 0;
}
.footer {
  background: var(--dk);
  color: #94a3b8;
  margin-top: 50px;
  padding-top: 44px;
}
.fgrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 30px;
}
.footer h4 {
  color: #fff;
  margin-bottom: 12px;
}
.footer a:not(.logo),
.footer p {
  display: block;
  margin: 7px 0;
  font-size: 13.5px;
}
.footer a:hover {
  color: #34d399;
}
.footer p i {
  color: #34d399;
  margin-right: 6px;
}
.social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.social i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.copy {
  border-top: 1px solid #1e293b;
  margin-top: 34px;
  padding: 16px;
  text-align: center;
  font-size: 12.5px;
}
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translate(-50%, 40px);
  opacity: 0;
  background: var(--dk);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  z-index: 300;
  transition: 0.3s;
  font-size: 14px;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
.toast i {
  color: #34d399;
  margin-right: 8px;
}
.bottom-nav {
  display: none;
}

/* responsive */
@media (max-width: 1100px) {
  .cat-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .hide-md {
    display: none;
  }
  .fgrid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .filters {
    position: static;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
  }
  .filters hr {
    display: none;
  }
  .pd {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .promo,
  .testi {
    grid-template-columns: 1fr;
  }
  .trust {
    grid-template-columns: repeat(2, 1fr);
  }
  .slide {
    padding: 0 26px;
  }
  .slide h1 {
    font-size: 28px;
  }
  .hero {
    height: 320px;
  }
}
@media (max-width: 640px) {
  body {
    padding-bottom: 64px;
  }
  .hide-sm {
    display: none;
  }
  .nav {
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .logo {
    font-size: 21px;
  }
  .nav-link {
    padding: 8px 12px;
  }
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .card {
    padding: 8px;
  }
  .card h4 {
    font-size: 13px;
    min-height: 35px;
  }
  .price b {
    font-size: 15px;
  }
  .slide h1 {
    font-size: 23px;
  }
  .slide p {
    font-size: 13px;
  }
  .hero {
    height: 280px;
    border-radius: 14px;
  }
  .frm,
  .slots {
    grid-template-columns: 1fr;
  }
  .citem {
    grid-template-columns: 70px 1fr;
  }
  .citem > div:last-child {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .perks {
    grid-template-columns: 1fr;
  }
  .step + .step::before {
    width: 16px;
    margin: 0 6px;
  }
  .step span {
    display: none;
  }
  .step.on span {
    display: inline;
  }
  .news {
    padding: 24px;
  }
  .fgrid {
    grid-template-columns: 1fr;
  }
  .section {
    margin: 30px 0;
  }
  .sec-head h2 {
    font-size: 19px;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    z-index: 80;
    justify-content: space-around;
    padding: 7px 0;
  }
  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: var(--mu);
    position: relative;
    gap: 2px;
  }
  .bottom-nav i {
    font-size: 18px;
  }
  .bottom-nav em {
    position: absolute;
    top: -4px;
    right: -2px;
    background: var(--ac);
    color: #fff;
    font-size: 10px;
    border-radius: 8px;
    min-width: 16px;
    text-align: center;
  }
  .toast {
    bottom: 78px;
  }
  .pd h1 {
    font-size: 21px;
  }
  .pd .big {
    font-size: 26px;
  }
  .topbar .container {
    justify-content: center;
  }
}
