:root {
  --ink: #15120f;
  --muted: #675f57;
  --paper: #f7f2ea;
  --cream: #fffaf2;
  --line: rgba(21, 18, 15, 0.12);
  --green: #0f7b63;
  --blue: #315fbb;
  --coral: #dd614a;
  --yellow: #e5ad27;
  --shadow: 0 24px 70px rgba(45, 35, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(229, 173, 39, 0.18), transparent 28rem),
    linear-gradient(135deg, #fbf6ed 0%, #eef7f3 42%, #f8f1eb 100%);
  font-family: "Inter", system-ui, sans-serif;
}

button,
a {
  font-family: inherit;
}

.title,
.brand-lockup span,
.hero-title {
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.84);
  backdrop-filter: blur(18px);
}

.navbar {
  max-width: 1344px;
  min-height: 4.75rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  background: transparent;
}

.navbar-item {
  color: var(--muted);
  font-weight: 800;
}

.navbar-item:hover,
.navbar-item:focus {
  color: var(--ink);
  background: transparent;
}

.brand-lockup {
  gap: 0.75rem;
}

.brand-lockup img {
  width: 46px;
  max-height: none;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(21, 18, 15, 0.12);
}

.brand-lockup span {
  font-size: 1.1rem;
  font-weight: 900;
}

.button {
  border: 0;
  font-weight: 900;
}

.button.is-primary {
  background: var(--green);
}

.button.is-primary:hover {
  background: #0b604e;
}

.button.is-light {
  color: var(--ink);
  background: #fff;
}

.launch-hero {
  min-height: calc(100vh - 4.75rem);
  overflow: hidden;
}

.launch-hero .hero-body {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow svg,
.button svg,
.board-footer svg,
.offer-link svg,
.affiliate-note svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2.6;
}

.hero-title {
  max-width: 760px;
  font-size: clamp(2.75rem, 6vw, 5.9rem);
  line-height: 0.94;
  font-weight: 900;
}

.hero-copy {
  max-width: 620px;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-board,
.catalog-shell,
.guide-card,
.affiliate-note {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.78);
  box-shadow: var(--shadow);
}

.hero-board {
  position: relative;
  padding: 1rem;
  border-radius: 28px;
  transform: rotate(1.5deg);
}

.board-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
}

.board-header img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.board-header span,
.mosaic-card span,
.guide-card span {
  display: block;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0.74;
  text-transform: uppercase;
}

.board-header strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.05rem;
}

.board-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.mosaic-card {
  min-height: 170px;
  padding: 1.25rem;
  border-radius: 22px;
  color: #fff;
}

.mosaic-card svg {
  width: 2rem;
  height: 2rem;
  margin-bottom: 2.25rem;
}

.mosaic-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.45rem;
}

.mosaic-card.dog {
  background: var(--coral);
}

.mosaic-card.cat {
  background: var(--blue);
}

.mosaic-card.bird {
  grid-column: span 2;
  min-height: 135px;
  background: var(--green);
}

.board-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.board-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.catalog-section,
.guides-section,
.affiliate-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.catalog-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.5rem;
  border-radius: 30px;
  padding: 1rem;
}

.catalog-panel {
  position: sticky;
  top: 6rem;
  align-self: start;
  min-height: 520px;
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
}

.catalog-panel .title,
.catalog-panel .eyebrow {
  color: #fff;
}

.catalog-panel p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.filter-stack {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
}

.filter-button {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 0 1rem;
  text-align: left;
  transition: transform 160ms ease, background 160ms ease;
}

.filter-button:hover {
  transform: translateX(4px);
}

.filter-button.active {
  background: var(--yellow);
  color: var(--ink);
}

.catalog-content {
  min-width: 0;
  padding: 1.5rem;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-heading .title {
  max-width: 780px;
  margin-bottom: 0;
}

.product-card-wrap.is-hidden {
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 18px 40px rgba(45, 35, 25, 0.1);
}

.product-photo {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: var(--ink);
}

.product-photo img,
.product-photo video {
  width: 100%;
  height: 230px;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 220ms ease, opacity 220ms ease;
}

.product-card:hover .product-photo img,
.product-card:hover .product-photo video {
  transform: scale(1.04);
  opacity: 1;
}

.product-photo video {
  display: block;
  background: var(--ink);
}

.product-photo-label {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: calc(100% - 1.7rem);
  border-radius: 999px;
  background: rgba(21, 18, 15, 0.84);
  color: #fff;
  padding: 0.5rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.media-count {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.92);
  color: var(--ink);
  padding: 0.42rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(21, 18, 15, 0.16);
}

.product-photo-label svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.product-image {
  display: flex;
  flex: 0 0 35%;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  color: #fff;
}

.product-image svg {
  width: 2rem;
  height: 2rem;
}

.product-image span {
  font-weight: 900;
}

.dog-image {
  background: var(--coral);
}

.dog-image.alt {
  background: #9b4dca;
}

.dog-image.soft {
  background: #c87533;
}

.cat-image {
  background: var(--blue);
}

.cat-image.alt {
  background: #087ca7;
}

.cat-image.soft {
  background: #6d597a;
}

.bird-image {
  background: var(--green);
}

.bird-image.alt {
  background: #538d22;
}

.bird-image.soft {
  background: #b88719;
}

.product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem;
}

.product-tag,
.product-meta span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.product-tag {
  margin-bottom: 0.9rem;
  padding: 0.28rem 0.58rem;
  color: #fff;
}

.dog-tag {
  background: var(--coral);
}

.cat-tag {
  background: var(--blue);
}

.bird-tag {
  background: var(--green);
}

.product-content h3 {
  margin-bottom: 0.65rem;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.25;
}

.product-price {
  display: block;
  margin: -0.2rem 0 0.65rem;
  color: var(--green);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
}

.product-content p {
  color: var(--muted);
  line-height: 1.55;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
}

.product-meta span {
  border: 1px solid var(--line);
  padding: 0.32rem 0.56rem;
  background: #f5efe5;
  color: var(--muted);
}

.offer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-top: 1rem;
  color: var(--ink);
  font-weight: 900;
}

.offer-link:hover {
  color: var(--green);
}

.guide-card {
  min-height: 310px;
  border-radius: 24px;
  padding: 1.5rem;
  color: #fff;
}

.guide-card svg {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 3.5rem;
}

.guide-card h3 {
  margin: 0.45rem 0 0.75rem;
  color: #fff;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.18;
}

.guide-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.guide-card.dog-guide {
  background: var(--coral);
}

.guide-card.cat-guide {
  background: var(--blue);
}

.guide-card.bird-guide {
  background: var(--green);
}

.affiliate-note {
  display: flex;
  gap: 1rem;
  border-radius: 22px;
  padding: 1.25rem;
  color: var(--ink);
}

.affiliate-note > svg {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  color: var(--green);
}

.affiliate-note p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer strong {
  color: #fff;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .navbar-menu {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--cream);
    box-shadow: var(--shadow);
  }

  .hero-board {
    transform: none;
  }

  .catalog-shell {
    grid-template-columns: 1fr;
  }

  .catalog-panel {
    position: static;
    min-height: auto;
  }

  .filter-stack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .navbar {
    padding: 0 0.75rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-stack {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-content,
  .catalog-panel {
    padding: 1rem;
  }

  .product-card {
    flex-direction: column;
  }

  .product-image {
    min-height: 150px;
  }

  .mosaic-card {
    min-height: 145px;
  }
}
