:root {
  --ink: #16202a;
  --muted: #66717f;
  --line: #dce5ed;
  --surface: #ffffff;
  --soft: #f3f7fa;
  --yellow: #ffd24a;
  --orange: #f37b21;
  --teal: #149c8a;
  --blue: #2f6fd6;
  --green: #2a9d62;
  --shadow: 0 18px 45px rgba(22, 32, 42, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 38px;
  padding: 8px 20px;
  background: var(--yellow);
  color: #3b3100;
  font-size: 0.9rem;
}

.topbar span::before,
.topbar strong::before {
  content: "✓";
  margin-right: 7px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 18px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 22px rgba(22, 32, 42, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 4px 14px rgba(22, 32, 42, 0.12);
}

.brand strong {
  display: block;
  font-size: 1.24rem;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.search {
  display: grid;
  grid-template-columns: 1fr 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.search input {
  min-width: 0;
  border: 0;
  padding: 14px 18px;
  outline: 0;
}

.search button {
  border: 0;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

.quick-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-actions strong {
  display: block;
  color: var(--ink);
}

.whatsapp,
.cart {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 999px;
  font-weight: 700;
}

.whatsapp {
  padding: 0 18px;
  background: #e5f7ef;
  color: #0c7c4d;
}

.cart {
  width: 42px;
  background: var(--ink);
  color: #fff;
}

.category-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  overflow-x: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  color: #344252;
  white-space: nowrap;
}

.category-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
}

.category-nav a:hover {
  background: var(--soft);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: end;
  gap: 28px;
  min-height: 560px;
  padding: 76px clamp(20px, 6vw, 86px) 42px;
  background:
    linear-gradient(90deg, rgba(12, 22, 31, 0.9), rgba(12, 22, 31, 0.45) 58%, rgba(12, 22, 31, 0.18)),
    url("../img/pets-background.png") center / cover;
  color: #fff;
}

.hero-copy {
  max-width: 680px;
  padding-bottom: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(2.55rem, 6vw, 5.45rem);
  line-height: 0.98;
}

.hero-copy p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.hero-actions,
.newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.product-card button,
.newsletter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 800;
}

.primary {
  background: var(--orange);
  color: #fff;
}

.secondary {
  background: #fff;
  color: var(--ink);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  font-size: 1.18rem;
  line-height: 1.25;
}

.promo-grid,
.section,
.benefits,
.size-guide,
.newsletter,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin-right: auto;
  margin-left: auto;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
  margin-top: -26px;
}

.promo {
  min-height: 150px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(47, 111, 214, 0.93), rgba(20, 156, 138, 0.78)),
    url("../img/background.jpg") center / cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.promo-green {
  background:
    linear-gradient(135deg, rgba(42, 157, 98, 0.94), rgba(255, 210, 74, 0.7)),
    url("../img/background.jpg") center / cover;
}

.promo-blue {
  background:
    linear-gradient(135deg, rgba(22, 32, 42, 0.92), rgba(47, 111, 214, 0.74)),
    url("../img/background.jpg") center / cover;
}

.promo span {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.promo strong {
  display: block;
  max-width: 360px;
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1.08;
}

.section {
  padding: 70px 0 0;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.size-guide h2,
.newsletter h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.section-heading.row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading.row a {
  color: var(--teal);
  font-weight: 800;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.category-cards a {
  display: grid;
  min-height: 108px;
  place-items: end start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.95)),
    url("../img/background.jpg") center / cover;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(22, 32, 42, 0.08);
}

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

.product-card {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 32, 42, 0.08);
}

.product-image {
  height: 178px;
  border-radius: 6px;
  background:
    linear-gradient(160deg, rgba(243, 123, 33, 0.35), rgba(255, 210, 74, 0.24)),
    url("../img/background.jpg") center / cover;
}

.product-image.harness {
  background:
    linear-gradient(160deg, rgba(47, 111, 214, 0.38), rgba(20, 156, 138, 0.2)),
    url("../img/background.jpg") center / cover;
}

.product-image.bed {
  background:
    linear-gradient(160deg, rgba(42, 157, 98, 0.35), rgba(255, 255, 255, 0.15)),
    url("../img/background.jpg") center / cover;
}

.product-image.toy {
  background:
    linear-gradient(160deg, rgba(22, 32, 42, 0.3), rgba(243, 123, 33, 0.22)),
    url("../img/background.jpg") center / cover;
}

.badge {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: #4a3c00;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-card h3 {
  margin: 18px 0 8px;
  font-size: 1.08rem;
}

.product-card p {
  min-height: 42px;
  color: var(--muted);
  line-height: 1.35;
}

.product-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.product-card button,
.newsletter button {
  width: 100%;
  background: var(--teal);
  color: #fff;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 72px 0;
}

.benefits article {
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 32, 42, 0.08);
}

.benefits span {
  color: var(--orange);
  font-weight: 900;
}

.benefits strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 1.25rem;
}

.benefits p,
.size-guide p,
.newsletter p,
.site-footer p {
  color: var(--muted);
  line-height: 1.55;
}

.size-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 36px;
  align-items: center;
  padding: 48px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.83)),
    url("../img/pets-background.png") center / cover;
  box-shadow: var(--shadow);
}

.size-guide-copy {
  max-width: 620px;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(22, 32, 42, 0.08);
}

.steps span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}

.newsletter {
  margin-top: 72px;
  padding: 48px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.76);
}

.newsletter input {
  flex: 1 1 260px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  outline: 0;
}

.newsletter button {
  width: auto;
  min-width: 160px;
  background: var(--yellow);
  color: #3b3100;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 28px;
  padding: 58px 0 28px;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 0 0 10px;
  color: #435164;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 3px;
}

.contact-list strong {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-list a,
.contact-list span,
.social-list a {
  color: #435164;
  line-height: 1.45;
}

.social-list {
  display: grid;
  gap: 10px;
}

.footer-brand {
  margin-bottom: 16px;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-logos span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 800;
  font-size: 0.82rem;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    justify-content: space-between;
  }

  .hero,
  .size-guide {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .promo-grid,
  .product-grid,
  .benefits,
  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .topbar {
    justify-content: start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .site-header {
    position: static;
    padding: 16px;
  }

  .quick-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .whatsapp,
  .cart {
    width: 100%;
  }

  .category-nav {
    justify-content: start;
  }

  .hero {
    min-height: 720px;
    padding: 52px 18px 26px;
    background-position: center top;
  }

  .hero-copy {
    padding-bottom: 18px;
  }

  .hero-actions .button,
  .newsletter button {
    width: 100%;
  }

  .promo-grid,
  .product-grid,
  .benefits,
  .size-guide,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .promo-grid,
  .section,
  .benefits,
  .size-guide,
  .newsletter,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .category-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding-top: 48px;
  }

  .benefits {
    padding: 48px 0;
  }

  .size-guide,
  .newsletter {
    padding: 28px;
  }

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