:root {
  --store-paper: #f7f4ef;
  --store-sheet: #fff;
  --store-ink: #292725;
  --store-muted: #5d5752;
  --store-line: #d9d0c6;
  --store-coral: #9f473f;
  --store-coral-soft: #ead0c8;
  --store-green: #536c58;
  --store-night: #262c2b;
}

.guide-store-page {
  background: var(--store-paper);
  color: var(--store-ink);
}

.store-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #3f4541;
}

.store-hero-photo,
.store-hero-shade {
  position: absolute;
  inset: 0;
}

.store-hero-photo {
  background: url("/assets/brand/guides-hero.jpg") 50% 42% / cover no-repeat;
  /* Zoom + pan right so the dog sits off the headline instead of over it. */
  transform: scale(1.2) translateX(9%);
  filter: saturate(.92) contrast(1.03);
}

.store-hero-shade {
  background:
    linear-gradient(90deg, rgba(24, 23, 18, .95) 0%, rgba(24, 23, 18, .7) 30%, rgba(24, 23, 18, .18) 56%, rgba(24, 23, 18, 0) 80%),
    linear-gradient(0deg, rgba(24, 23, 18, .32) 0%, transparent 50%);
}

.store-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 130px;
  padding-bottom: 74px;
  color: #fff;
}

.store-hero-inner > * {
  max-width: 670px;
}

.store-hero .kicker {
  color: #f4c7bd;
}

.store-hero h1 {
  max-width: 650px;
  margin: 16px 0 22px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.store-hero p:not(.kicker) {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, .9);
}

.guide-store-page { font-size: 18px; }

.store-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
}

.store-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 700;
  text-underline-offset: 5px;
}

.store-needs {
  padding: 76px 0 84px;
  background: #fff;
  border-bottom: 1px solid var(--store-line);
}

.store-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.store-title-row h2,
.guide-group-heading h2,
.coming-row h2,
.finder-inner h2 {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

.store-title-row h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.store-title-row p {
  margin: 8px 0 0;
  color: var(--store-muted);
}

.store-title-row > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--store-coral);
  font-weight: 700;
}

.need-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--store-line);
  border-bottom: 1px solid var(--store-line);
}

.need-links a {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  color: var(--store-ink);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-right: 1px solid var(--store-line);
  transition: background-color .2s ease, color .2s ease;
}

.need-links a:last-child {
  border-right: 0;
}

.need-links a:hover,
.need-links a:focus-visible {
  background: #f3e5df;
  color: #7f3f39;
}

.need-links span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--store-muted);
}

.guide-list {
  padding: 86px 0 0;
}

.coming-row {
  min-height: 180px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 34px clamp(24px, 5vw, 58px);
  color: #fff;
  background: var(--store-night);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.coming-cover { width: 100%; height: auto; display: block; border-radius: 7px; box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .8); }

.coming-row-calm {
  background: #4c5e50;
}

.coming-row h2 {
  margin: 5px 0 6px;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.coming-row p {
  max-width: 750px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

.availability {
  color: #f2c8be;
  font-size: .86rem;
  font-weight: 700;
}

.quiet-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 10px;
}

.guide-group {
  padding: 104px 0;
  border-bottom: 1px solid var(--store-line);
}

.guide-group-tint {
  position: relative;
}

.guide-group-tint::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: #eef1ed;
}

.guide-group-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 52px;
}

.guide-group-heading span,
.guide-type {
  color: var(--store-coral);
  font-weight: 700;
}

.guide-group-heading h2 {
  max-width: 700px;
  margin-top: 7px;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
}

.guide-group-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--store-muted);
  font-size: 1.06rem;
}

.guide-product {
  display: grid;
  grid-template-columns: minmax(240px, 370px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
  padding: clamp(34px, 6vw, 72px);
  background: #fff;
  border: 1px solid var(--store-line);
  border-radius: 22px;
  box-shadow: 0 28px 70px -52px rgba(45, 31, 24, .5);
}

.guide-product + .guide-product {
  margin-top: 28px;
}

.guide-product-app {
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  color: #fff;
  background: #303636;
  border-color: #303636;
}

.guide-cover img {
  width: min(100%, 360px);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 28px 56px -30px rgba(32, 25, 22, .52);
}

.app-shot {
  display: flex;
  justify-content: center;
}

.app-shot img {
  width: min(72%, 235px);
  border-radius: 30px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}

.guide-copy h3,
.specialist-product h3 {
  margin: 8px 0 16px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

.guide-copy h3 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.guide-result {
  max-width: 680px;
  margin: 0 0 23px;
  color: var(--store-muted);
  font-size: 1.12rem;
}

.guide-product-app .guide-result,
.guide-product-app .guide-action span {
  color: rgba(255, 255, 255, .78);
}
.guide-product-app .guide-type { color: #f1b9ad; }

.guide-copy ul,
.specialist-product ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-copy li,
.specialist-product li {
  position: relative;
  padding: 8px 0 8px 27px;
}

.guide-copy li::before,
.specialist-product li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--store-green);
  font-weight: 800;
}

.guide-product-app li::before {
  color: #bcd0bf;
}

.guide-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--store-line);
}

.guide-product-app .guide-action {
  border-top-color: rgba(255, 255, 255, .18);
}

.guide-action span {
  color: var(--store-muted);
}

.guide-action strong,
.price-line strong {
  color: inherit;
  font-size: 1.35rem;
}

.specialist-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.specialist-product {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 34px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--store-line);
  border-radius: 18px;
}

.specialist-product > img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 24px 42px -30px rgba(35, 25, 22, .5);
}

.specialist-product h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.specialist-product p:not(.guide-type) {
  color: var(--store-muted);
}

.price-line {
  display: block;
  margin: 22px 0 14px;
}

.specialist-product .button {
  width: 100%;
}

.guide-finder {
  padding: 86px 0;
  color: #fff;
  background: #79453f;
}

.finder-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 46px;
}

.finder-inner p {
  margin: 0 0 5px;
  color: #f2cfc6;
  font-weight: 700;
}

.finder-inner h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.finder-inner span {
  max-width: 690px;
  display: block;
  margin-top: 13px;
  color: rgba(255, 255, 255, .82);
}

.guide-finder .button-primary {
  color: #2c2522;
  background: #fff;
}

@media (max-width: 1000px) {
  .need-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .need-links a {
    border-bottom: 1px solid var(--store-line);
  }
  .need-links a:nth-child(2n) {
    border-right: 0;
  }
  .need-links a:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
  .specialist-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .store-hero {
    min-height: 372px;
  }
  .store-hero-photo {
    background-position: 64% 40%;
    /* Mobile keeps its own framing; don't inherit the desktop pan/zoom. */
    transform: scale(1.01);
  }
  .store-hero-shade {
    background: linear-gradient(0deg, rgba(19, 24, 22, .96) 0%, rgba(19, 24, 22, .78) 57%, rgba(19, 24, 22, .24) 100%);
  }
  .store-hero-inner {
    padding-top: 60px;
    padding-bottom: 26px;
  }
  .store-hero h1 {
    margin: 10px 0 14px;
    font-size: clamp(1.95rem, 7.7vw, 3.1rem);
    line-height: 1.02;
  }
  .store-title-row,
  .guide-group-heading,
  .coming-row,
  .finder-inner {
    grid-template-columns: 1fr;
  }
  .store-title-row {
    align-items: start;
  }
  .need-links {
    grid-template-columns: 1fr;
  }
  .need-links a,
  .need-links a:nth-child(2n) {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid var(--store-line);
  }
  .need-links a:last-child {
    grid-column: auto;
  }
  .coming-row {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 22px;
  }
  .quiet-action {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .guide-group {
    padding: 74px 0;
  }
  .guide-group-heading {
    gap: 18px;
    margin-bottom: 34px;
  }
  .guide-product,
  .guide-product-app {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 28px 22px;
  }
  .guide-cover img {
    width: min(76%, 300px);
    height: auto;
  }
  .app-shot img {
    width: min(62%, 220px);
  }
  .guide-action {
    align-items: stretch;
    flex-direction: column;
  }
  .specialist-product {
    grid-template-columns: minmax(110px, 34%) minmax(0, 1fr);
    gap: 22px;
    padding: 24px 18px;
  }
  .specialist-product h3 {
    font-size: 1.85rem;
  }
  .specialist-product ul {
    font-size: 1rem;
  }
  .finder-inner {
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .store-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .store-text-link {
    justify-content: center;
  }
  .specialist-product {
    grid-template-columns: 1fr;
  }
  .specialist-product > img {
    width: min(72%, 245px);
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .need-links a {
    transition: none;
  }
}
