* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
}
body {
  background: #f1f3f6;
  color: #111827;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.page {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  background: #f1f3f6;
}

.top {
  background: #fff;
  padding: 10px 12px 12px;
  border-bottom: 1px solid #e8e8e8;
}

.topRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.leftRow {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.menuBtn {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.menuBtn svg {
  width: 26px;
  height: 26px;
  stroke: #111;
  stroke-width: 2;
  fill: none;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
}
.brand .name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: #2d6cff;
  font-style: italic;
}
.brand .sub {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #9aa0a6;
}
.brand .sub b {
  color: #f4b400;
  font-weight: 900;
  margin-left: 4px;
}
.brand .sub .spark {
  color: #f4b400;
  font-weight: 900;
  margin-left: 4px;
}

.rightRow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.iconBtn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.iconBtn svg {
  width: 24px;
  height: 24px;
  stroke: #111;
  stroke-width: 2;
  fill: none;
}

.loginBtn {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  padding: 8px 6px;
  font-size: 20px;
  font-weight: 500;
  color: #111;
}
.loginBtn svg {
  width: 26px;
  height: 26px;
  stroke: #111;
  stroke-width: 2;
  fill: none;
}

.locRow {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 22px;
  font-weight: 500;
  color: #111;
}
.locLeft {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.locLeft svg {
  width: 26px;
  height: 26px;
  fill: #111;
}
.locLeft span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.locRight {
  color: #1a73e8;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.locRight svg {
  width: 18px;
  height: 18px;
  stroke: #1a73e8;
  stroke-width: 3;
  fill: none;
}

.searchWrap {
  padding: 12px 10px 0;
  background: #fff;
}
.searchBox {
  width: 100%;
  border: 3px solid #b8d7ff;
  border-radius: 18px;
  background: #fff;
  padding: 8px 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.searchBox svg {
  width: 34px;
  height: 24px;
  stroke: #2d6cff;
  stroke-width: 3;
  fill: none;
  flex-shrink: 0;
}
.searchBox input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  color: #111;
}

.heroWrap {
  padding: 14px 12px 0;
  background: #f1f3f6;
}
.hero {
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  position: relative;
}
.heroTrack {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}
.heroSlide {
  min-width: 100%;
  height: auto;
  background: #000;
}
.heroSlide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 10px 0 8px;
}
.dot {
  width: 42px;
  height: 8px;
  border-radius: 999px;
  background: #d9d9d9;
  border: none;
  opacity: 0.85;
}
.dot.active {
  background: #111;
  opacity: 1;
}

.section {
  margin: 10px 12px 12px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.sectionHead {
  padding: 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eef2f7;
}
.sectionHead h3 {
  font-size: 15px;
  font-weight: 900;
  margin: 0;
  color: #111827;
}

.saleLive {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: #e11d48;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.saleDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    transform: scale(1);
  }
}

.grid {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  display: block;
}
.cardImg {
  height: 170px;
  padding: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cardImg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cardBody {
  padding: 10px 10px 12px;
}
.title {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  height: 32px;
  overflow: hidden;
  color: #111827;
}
.off {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 900;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.mrp {
  font-size: 12px;
  font-weight: 800;
  color: #6b7280;
  text-decoration: line-through;
}
.priceRow {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.price {
  font-size: 16px;
  font-weight: 1000;
  color: #111827;
}
.brandLogo {
  width: 60px;
  opacity: 0.95;
}
.delivery {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #374151;
  opacity: 0.95;
}

.shimmer {
  position: relative;
  overflow: hidden;
  background: #f3f4f6;
}
.shimmer:after {
  content: "";
  position: absolute;
  top: 0;
  left: -160px;
  height: 100%;
  width: 160px;
  background: linear-gradient(
    90deg,
    rgba(243, 244, 246, 0) 0%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(243, 244, 246, 0) 100%
  );
  animation: sh 1.05s infinite;
}
@keyframes sh {
  0% {
    left: -160px;
  }
  100% {
    left: 100%;
  }
}

.skCard {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  overflow: hidden;
}
.skImg {
  height: 170px;
}
.skBody {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.skLine {
  height: 12px;
  border-radius: 10px;
}
.skLine.big {
  height: 14px;
}
.w90 {
  width: 90%;
}
.w70 {
  width: 70%;
}
.w50 {
  width: 50%;
}
.w80 {
  width: 80%;
}

.lazyBar {
  padding: 14px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-top: 1px solid #eef2f7;
}

.spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 4px solid #dbeafe;
  border-top-color: #2874f0;
  animation: spin 0.75s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.lazyText {
  margin-left: 10px;
  font-weight: 900;
  font-size: 13px;
  color: #334155;
}

@media (max-width: 420px) {
  .brand .name {
    font-size: 24px;
  }
  .locRow {
    font-size: 18px;
  }
  .searchBox input {
    font-size: 22px;
  }
  .heroSlide {
    height: autopx;
  }
  .cardImg {
    height: 160px;
  }
  .skImg {
    height: 160px;
  }
}