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

:root {
  --amber: #f4a300;        /* top bar */
  --orange: #f15a24;       /* CTA + display text */
  --orange-deep: #ef5a1e;  /* curved ribbon */
  --yellow: #ffce2e;       /* hero blob fill */
  --ink: #2b2b2b;          /* headings */
  --muted: #8a8a8a;        /* sub text */
  --line: #ececec;
}

html { font-size: 16px; }

body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* utility: apply Lemon display font to any element */
.lemon-regular {
  font-family: "Lemon", "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* ============ TOP BAR ============ */
.topbar {
  background: var(--amber);
  color: #fff;
  font-size: 13px;
}

.topbar__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 40px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__offer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.topbar__offer .fa-heart { color: #e23b3b; font-size: 13px; }

.topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar__link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  white-space: nowrap;
}
.topbar__link i { font-size: 13px; }

.topbar__divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.55);
}

.topbar__location {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #444;
  border: none;
  border-radius: 7px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.topbar__location .fa-location-dot { color: #444; }
.topbar__loc-caret { font-size: 10px; color: #777; margin-left: 2px; }

.topbar__follow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}
.social {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--amber);
  display: grid;
  place-items: center;
  font-size: 12px;
}

/* ============ NAVBAR ============ */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.navbar__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 76px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

/* nav (left) */
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav__home {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #faf4e8;
  color: var(--amber);
  display: grid;
  place-items: center;
  font-size: 16px;
}
.nav__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #3a3a3a;
  white-space: nowrap;
}
.nav__item i { font-size: 10px; color: #777; }

/* logo (center) */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.logo__text {
  font-family: "Lemon", "Poppins", sans-serif;
  font-weight: 400;
  font-size: 30px;
  color: var(--ink);
  letter-spacing: 0.3px;
}
.logo__paw { color: var(--orange); }
.logo__tagline {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--amber);
  margin-top: 3px;
  text-transform: capitalize;
}

/* right cluster */
.navbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4f4f4;
  border-radius: 22px;
  padding: 10px 18px;
  width: 240px;
}
.search i { color: #9a9a9a; font-size: 13px; }
.search input {
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  color: #555;
}
.search input::placeholder { color: #9a9a9a; }

.icon-btn {
  font-size: 18px;
  color: #444;
}

/* ============ HERO SLIDER ============ */
.hero-slider {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}
.hero-slider__track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

/* each slide */
.hero {
  position: relative;
  flex: 0 0 100%;
  min-height: 470px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}

/* entrance animation for the active slide's text */
.hero__left > * {
  opacity: 0;
  transform: translateY(18px);
}
.slide.is-active .hero__left > * {
  animation: heroIn 0.6s ease forwards;
}
.slide.is-active .hero__left > *:nth-child(1) { animation-delay: 0.10s; }
.slide.is-active .hero__left > *:nth-child(2) { animation-delay: 0.18s; }
.slide.is-active .hero__left > *:nth-child(3) { animation-delay: 0.26s; }
.slide.is-active .hero__left > *:nth-child(4) { animation-delay: 0.34s; }
.slide.is-active .hero__left > *:nth-child(5) { animation-delay: 0.42s; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #2b2b2b;
  color: #fff;
  font-size: 16px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.9;
  transition: background 0.2s, opacity 0.2s, transform 0.2s;
}
.hero-arrow:hover { background: var(--orange); opacity: 1; }
.hero-arrow:active { transform: translateY(-50%) scale(0.92); }
.hero-arrow--prev { left: 14px; }
.hero-arrow--next { right: 14px; }

/* dots */
.hero-dots {
  position: absolute;
  left: 48px;
  bottom: 18px;
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #e3d3a8;
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}
.hero-dots button.is-active {
  width: 26px;
  border-radius: 6px;
  background: var(--orange);
}

/* left text */
.hero__left {
  padding: 0 22px 0 48px;
  position: relative;
  z-index: 3;
}
.hero__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
}
.hero__display {
  font-family: "Lemon", "Poppins", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 78px;
  line-height: 1;
  color: var(--orange);
  margin: 4px 0 18px;
}
.hero__subtitle {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 26px;
}
.hero__cta {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(241, 90, 36, 0.28);
}

.hero__badges {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 32px;
}
.hero__badges li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  color: #444;
}
.badge-ic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.badge-ic--paw  { background: #ffe9d6; }
.badge-ic--vet  { background: #dff3e3; }
.badge-ic--test { background: #ffe2ec; }

/* right visual */
.hero__right {
  position: relative;
  height: 100%;
  min-height: 470px;
}

/* curved background bands (SVG), bleeding off the right edge */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero__bg-yellow { fill: var(--yellow); }
.hero__bg-orange { stroke: var(--orange-deep); stroke-width: 26; }

.hero__img {
  position: absolute;
  right: 40px;
  bottom: 0;
  height: 100%;
  max-height: 470px;
  object-fit: contain;
  z-index: 3;
}

.hero__badge-pedigree {
  position: absolute;
  top: 26px;
  right: 70px;
  z-index: 4;
  width: 86px;
  height: 86px;
  background: #c8102e;
  color: #fff;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 17px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  /* starburst edge */
  clip-path: polygon(
    50% 0%, 61% 9%, 75% 5%, 79% 19%, 93% 21%, 90% 35%, 100% 45%,
    91% 56%, 97% 69%, 84% 75%, 84% 89%, 70% 88%, 62% 99%, 50% 92%,
    38% 99%, 30% 88%, 16% 89%, 16% 75%, 3% 69%, 9% 56%, 0% 45%,
    10% 35%, 7% 21%, 21% 19%, 25% 5%, 39% 9%
  );
}

.hero__deco-heart {
  position: absolute;
  color: #f08a3c;
  opacity: 0.5;
  z-index: 2;
}
.hero__deco-heart--1 { font-size: 24px; right: 230px; top: 250px; }
.hero__deco-heart--2 { font-size: 16px; right: 120px; top: 120px; opacity: 0.35; }

/* fallback when hero image missing */
.hero__img:not([src]),
.hero__img[src=""] { display: none; }

/* shared round arrow buttons */
.round-arrow {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.2s, color 0.2s;
}
.round-arrow--dark  { background: #2b2b2b; color: #fff; }
.round-arrow--dark:hover { background: var(--orange); }
.round-arrow--ghost { background: #f0f0f0; color: #888; }
.round-arrow--ghost:hover { background: var(--orange); color: #fff; }

/* ============ MY LITTLE MAX ============ */
.max {
  position: relative;
  background: #fff;
  overflow: hidden;
}
/* yellow curved backdrop behind the lower half */
.max__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 300px;
  bottom: 0;
  background: var(--yellow);
  border-top-left-radius: 90px;
  z-index: 0;
}
.max__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 48px 60px;
}

/* header row */
.max__head {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 34px;
}
.max-intro__title {
  font-family: "Lemon", "Poppins", sans-serif;
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 10px;
}
.max-intro__text {
  font-size: 13.5px;
  color: #6f6f6f;
  line-height: 1.6;
  max-width: 330px;
}

/* category carousel */
.cat-carousel { position: relative; padding-left: 56px; }
.cat-carousel__prev { position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 2; }
.cat-carousel__next {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%) scale(0.78);
  z-index: 1; opacity: 0.5;
}
.cat-list {
  display: flex;
  gap: 26px;
  overflow: hidden;
}
.cat {
  flex: 0 0 auto;
  width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.cat__img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: block;
}
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat__name { font-size: 13px; color: #444; }

/* body: puppy + recommended */
.max__body {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: start;
}
.max-pup {
  position: relative;
}
.max-pup img {
  width: 100%;
  max-width: 360px;
  display: block;
}

/* recommended */
.reco__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}
.reco__eyebrow { font-size: 14px; color: #555; }
.reco__title { font-family: "Lemon", "Poppins", sans-serif; font-size: 22px; color: var(--orange); }
.reco__nav { display: flex; gap: 8px; }

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

/* product card */
.pcard {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}
.pcard__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--amber);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 5px;
  z-index: 1;
}
.pcard__img {
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f6f6f6;
}
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__name {
  font-size: 14px;
  color: #2b2b2b;
  margin-bottom: 7px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard__rating {
  font-size: 11.5px;
  color: #7a7a7a;
  margin-bottom: 8px;
}
.pcard__rating .stars { color: #ffb400; letter-spacing: 1px; }
.pcard__price { font-size: 15px; }
.pcard__price .was { color: #b0b0b0; text-decoration: line-through; font-size: 13px; margin-right: 6px; }
.pcard__price .now { color: var(--orange); font-weight: 700; }

/* ============ WHY CHOOSE US ============ */
.why {
  position: relative;
  background: var(--yellow);
  display: grid;
  place-items: center;
  padding: 56px 24px 0;
  overflow: hidden;
  min-height: 360px;
}
.why__content {
  max-width: 540px;
  text-align: center;
  padding-bottom: 56px;
}
.why__eyebrow { font-size: 15px; color: #444; }
.why__title { font-family: "Lemon", "Poppins", sans-serif; font-size: 26px; color: var(--orange); margin-bottom: 16px; }
.why__text {
  font-size: 13.5px;
  color: #5a4a25;
  line-height: 1.7;
  margin-bottom: 14px;
}
.why__text strong { color: #2b2b2b; }

.why__cards {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 24px;
}
.vcard {
  background: #fff;
  width: 104px;
  height: 104px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.vcard__ic { font-size: 26px; }
.vcard__ic--love  { color: #e23b3b; }
.vcard__ic--learn { color: #f4a300; }
.vcard__ic--loyal { color: var(--orange); }
.vcard__label { font-size: 14px; font-weight: 600; color: #333; }

.why__photo {
  position: absolute;
  bottom: 0;
  max-height: 300px;
  z-index: 2;
}
.why__photo--left  { left: 0; border-top-right-radius: 18px; }
.why__photo--right { right: 0; border-top-left-radius: 18px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .nav { gap: 14px; }
  .nav__item { font-size: 14px; }
  .search { width: 180px; }
  .hero__display { font-size: 60px; }
}

@media (max-width: 860px) {
  .topbar__right { gap: 10px; }
  .topbar__follow span { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__right { min-height: 360px; }
  .hero-arrow { width: 38px; height: 38px; }
  .hero-dots { left: 22px; bottom: 12px; }
  .max__head { grid-template-columns: 1fr; }
  .max__body { grid-template-columns: 1fr; }
  .reco__row { grid-template-columns: repeat(2, 1fr); }
  .why__photo { display: none; }
}
