/*
Theme Name: PawHut
Theme URI: https://example.com/pawhut
Author: Codex
Author URI: https://example.com
Description: Warm, editorial ecommerce theme for PawHut-style pet furniture stores.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: pawhut
*/

:root {
  --green: #566143;
  --green-dark: #3f4a31;
  --clay: #c9653c;
  --ink: #2f2c27;
  --muted: #736d64;
  --line: #ddd4c8;
  --paper: #fffaf2;
  --cream: #f5efe6;
  --sand: #ebe1d3;
  --white: #fffdf8;
  --star: #d48a1f;
  --shadow: 0 16px 40px rgba(50, 43, 34, 0.12);
  --radius: 8px;
  --site-width: 1260px;
  --content-width: 1202px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
}

.topbar,
.site-header,
main,
.newsletter,
.site-footer {
  width: min(var(--site-width), 100%);
  margin-inline: auto;
}

.topbar {
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.topbar__inner {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  min-height: 30px;
}

.topbar__inner span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

main {
  background: var(--paper);
}

.header__inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0;
}

.brand--image {
  display: inline-flex;
  align-items: center;
  width: 154px;
  min-width: 154px;
}

.brand--image img {
  width: 100%;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  justify-content: center;
  gap: 56px;
  font-weight: 700;
  color: #201f1c;
}

.main-nav > a {
  display: inline-flex;
  align-items: center;
}

.nav-shop {
  display: inline-flex;
  align-items: stretch;
  position: static;
}

.nav-shop__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font-weight: 850;
  cursor: pointer;
}

.shop-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 18;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(47, 44, 39, 0.09);
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.shop-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.nav-shop:hover .shop-mega,
.nav-shop:focus-within .shop-mega,
.nav-shop.is-open .shop-mega {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.shop-mega__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 34px;
  padding-top: 24px;
  padding-bottom: 26px;
}

.shop-mega__col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.shop-mega__heading {
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}

.shop-mega__col a:not(.shop-mega__heading) {
  color: #504a43;
  font-size: 14px;
  font-weight: 500;
}

.shop-mega__col a:hover {
  color: var(--clay);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.icon-button.nav-toggle {
  display: none;
}

.hero {
  min-height: 380px;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0 36%, rgba(255, 253, 248, 0.5) 56%, rgba(255, 253, 248, 0) 74%), var(--hero-image) center right / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero--home {
  min-height: 410px;
  background: linear-gradient(90deg, rgba(255, 253, 248, 1) 0 31%, rgba(255, 253, 248, 0.82) 43%, rgba(255, 253, 248, 0.18) 56%, rgba(255, 253, 248, 0) 68%), var(--hero-image) right center / auto 100% no-repeat;
  background-color: var(--paper);
}

.hero--category {
  min-height: 360px;
  background: #fffdf8;
  overflow: hidden;
}

.hero--category .container {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  align-items: center;
  gap: 34px;
  min-height: inherit;
}

.hero--category .hero__content {
  position: relative;
  z-index: 1;
}

.hero__media {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 336px;
  margin: 12px 0;
  padding: 0 clamp(8px, 2vw, 24px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero__media::before {
  content: none;
}

.hero__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: min(98%, 640px);
  max-height: 340px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  filter: drop-shadow(0 18px 26px rgba(48, 41, 34, 0.12));
}

.hero__content {
  max-width: 480px;
  padding: 54px 0;
}

.eyebrow {
  color: var(--clay);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.hero--home h1 {
  font-size: clamp(44px, 4.8vw, 62px);
  line-height: 1;
}

h2 {
  font-size: clamp(29px, 3vw, 42px);
}

h3 {
  font-size: 24px;
}

.hero p {
  margin: 18px 0 0;
  color: #403b35;
  font-weight: 600;
  max-width: 395px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.btn--clay {
  background: var(--clay);
  border-color: var(--clay);
}

.btn--outline {
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
}

.trust-strip {
  background: var(--white);
  border-block: 1px solid var(--line);
}

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

.trust-item,
.tip {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
}

.round-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.feature .round-icon,
.round-icon {
  color: #fff;
}

.round-icon svg {
  width: 25px;
  height: 25px;
  display: block;
}

.round-icon svg path,
.round-icon svg rect,
.round-icon svg circle {
  stroke-width: 2.25;
}

.trust-item strong,
.tip strong,
.feature strong {
  display: block;
  font-weight: 850;
}

.trust-item span,
.tip span,
.feature span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 34px 0;
}

.section--tight {
  padding-top: 20px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-title--compact {
  margin-bottom: 12px;
}

.text-link {
  color: var(--clay);
  font-weight: 800;
  font-size: 13px;
}

.pet-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.pet-card,
.category-card,
.product-card,
.guide-card,
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.pet-card img,
.category-card img {
  width: 100%;
  aspect-ratio: 1.58;
  object-fit: cover;
}

.pet-card__label,
.category-card__label {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-weight: 850;
}

.brand-story {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 48px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
}

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

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  background: var(--sand);
}

.product-grid--affiliate .product-card img,
.product-grid--official .product-card img {
  object-fit: contain;
  padding: 12px;
  background: #fff;
}

.product-card__link {
  display: block;
}

.product-card__body {
  padding: 14px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
}

.product-title {
  font-weight: 850;
  line-height: 1.2;
}

.stars {
  color: var(--star);
  font-size: 14px;
  letter-spacing: 0;
}

.rating-count {
  color: var(--muted);
  font-size: 12px;
}

.price {
  margin-top: auto;
  font-weight: 900;
  font-size: 19px;
}

.price--stack {
  display: grid;
  gap: 3px;
}

.sale-price {
  color: var(--ink);
}

.price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
}

.list-price {
  color: var(--muted);
  text-decoration: line-through;
}

.discount-price {
  color: var(--clay);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  margin-top: 10px;
}

.product-actions .btn,
.product-buy {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.product-buy {
  width: 100%;
  margin-top: 10px;
}

.wishlist {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.wishlist.is-active {
  color: var(--clay);
  border-color: var(--clay);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green);
  color: #fff;
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 850;
  z-index: 1;
}

.rooms-band {
  display: grid;
  grid-template-columns: 1.05fr repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.rooms-copy {
  padding: 30px 32px;
}

.room-card {
  min-height: 190px;
  color: #fff;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 16px;
  font-weight: 850;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.46)), var(--room-image) center / cover no-repeat;
}

.review-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.brand-rating {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.brand-rating h2 {
  margin-top: 4px;
}

.brand-rating__score {
  min-width: 174px;
  display: grid;
  justify-items: center;
  gap: 1px;
  padding: 0 22px;
  border-left: 1px solid var(--line);
}

.brand-rating__score > span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: var(--muted);
  font-weight: 800;
}

.brand-rating__score strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 46px;
  line-height: 0.95;
  font-weight: 500;
}

.brand-rating__score em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.review-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 10px;
}

.guide-card {
  display: grid;
  grid-template-rows: 150px 1fr;
  gap: 14px;
  min-height: 360px;
  padding: 10px;
}

.guide-card__image {
  width: 100%;
  height: 150px;
  display: block;
  overflow: hidden;
  border-radius: 6px;
}

.review-card img {
  width: 120px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
}

.guide-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}

.guide-card--logo .guide-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(135deg, #fffdf8 0%, #f4ede2 100%);
}

.guide-card--logo img {
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 78px;
  object-fit: contain;
}

.guide-card h3 {
  margin: 6px 0 7px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 21px;
  line-height: 1.1;
}

.guide-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.review-card p,
.guide-card p {
  margin: 5px 0;
  color: #3e3934;
  font-size: 13px;
}

.static-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0 52%, rgba(255, 253, 248, 0.74)),
    url("assets/images/guide-hero.jpg") right center / auto 100% no-repeat;
}

.static-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: end;
  gap: 64px;
  min-height: 286px;
  padding-top: 54px;
  padding-bottom: 46px;
}

.static-hero h1 {
  max-width: 680px;
  margin-top: 12px;
  font-size: clamp(42px, 4.7vw, 64px);
}

.static-hero p {
  margin: 0;
  color: #3f3933;
  font-weight: 650;
  line-height: 1.65;
}

.static-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.static-page__main {
  display: grid;
  gap: 14px;
}

.static-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.static-section:first-child {
  padding-top: 0;
}

.static-section h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 2.5vw, 34px);
}

.static-section p,
.static-card span,
.static-cta p {
  color: #4d4740;
  line-height: 1.65;
}

.static-page__side {
  position: sticky;
  top: 102px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.84);
}

.static-page__side h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.static-card-grid {
  display: grid;
  gap: 10px;
}

.static-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.static-card strong {
  font-weight: 850;
}

.static-card span {
  font-size: 13px;
}

.static-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.static-cta .button-row {
  display: grid;
  grid-template-columns: 1fr;
  flex: 0 0 220px;
  justify-content: stretch;
  margin-top: 0;
  min-width: 220px;
  gap: 10px;
}

.static-cta .btn {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 18px;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-size: 15px !important;
  line-height: 1.2;
  text-indent: 0 !important;
  text-decoration: none;
  white-space: nowrap;
  overflow: visible;
  opacity: 1 !important;
}

.static-cta .btn--outline {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink);
}

.static-cta h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.static-cta p {
  max-width: 620px;
  margin: 8px 0 0;
}

.about-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 1) 0 46%, rgba(255, 253, 248, 0.78) 62%, rgba(255, 253, 248, 0.14)),
    url("assets/images/home-hero.jpg") right center / auto 100% no-repeat;
}

.about-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 56px;
  min-height: 420px;
  padding-top: 54px;
  padding-bottom: 54px;
}

.about-hero h1 {
  max-width: 690px;
  margin-top: 12px;
  font-size: clamp(46px, 5.2vw, 72px);
}

.about-hero p {
  max-width: 560px;
  margin: 18px 0 0;
  color: #3f3933;
  font-weight: 700;
  line-height: 1.62;
}

.about-hero__panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
}

.about-hero__panel img {
  width: 150px;
  height: auto;
}

.about-hero__panel strong {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.08;
  font-weight: 500;
}

.about-hero__panel span {
  color: var(--muted);
  line-height: 1.55;
}

.about-page {
  display: grid;
  gap: 28px;
}

.about-page > * {
  margin: 0;
}

.about-official-intro,
.about-promise,
.about-brand-family,
.about-footprint,
.about-press {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.about-official-intro,
.about-promise,
.about-brand-family,
.about-footprint,
.about-press {
  padding: 28px;
}

.about-official-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 30px;
  align-items: center;
}

.about-page h2 {
  font-size: clamp(30px, 3vw, 46px);
}

.about-page h3 {
  font-size: 22px;
}

.about-page p {
  color: #403b35;
  line-height: 1.68;
}

.about-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-brand-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  background: #f3ece2;
}

.about-brand-card img {
  width: 142px;
  height: auto;
}

.about-brand-card strong {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1;
  font-weight: 500;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.about-stat {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.about-stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
}

.about-stat span {
  color: #4d4740;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.about-promise {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 32px;
}

.about-promise-list {
  display: grid;
  gap: 12px;
}

.about-promise-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.about-promise-list span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 850;
}

.about-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.about-brand-grid li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 800;
}

.about-footprint {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
}

.about-footprint img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about-press-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.about-press-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: #4d4740;
  font-size: 13px;
  font-weight: 800;
}

.service-page {
  display: grid;
  gap: 24px;
}

.service-page > * {
  margin: 0;
}

.service-intro,
.service-band,
.service-card,
.service-link-panel,
.service-note,
.policy-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-intro,
.service-band,
.service-link-panel,
.policy-summary {
  padding: 26px;
}

.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 26px;
  align-items: center;
}

.service-intro h2,
.service-band h2,
.policy-summary h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.service-intro p,
.service-card p,
.service-band p,
.service-link-panel p,
.policy-summary p,
.service-note p {
  color: #403b35;
  line-height: 1.65;
}

.service-callout {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius);
  background: #f3ece2;
}

.service-callout strong {
  font-size: 20px;
}

.service-callout span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

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

.service-card {
  padding: 20px;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.service-card a,
.service-link-panel a {
  color: var(--clay);
  font-weight: 850;
}

.service-link-panel .btn,
.service-link-panel a.btn {
  min-width: 210px;
  min-height: 48px;
  padding: 0 22px;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-size: 15px;
  line-height: 1.15;
  white-space: nowrap;
  text-decoration: none;
}

.service-link-panel .btn--outline,
.service-link-panel a.btn--outline {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink);
}

.service-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.service-stat strong {
  display: block;
  color: var(--green);
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  font-weight: 500;
}

.service-stat span {
  display: block;
  margin-top: 8px;
  color: #4d4740;
  font-size: 13px;
  font-weight: 750;
}

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

.service-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: #403b35;
  line-height: 1.55;
}

.service-link-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.service-note {
  padding: 18px;
  background: #f3ece2;
}

.newsletter {
  background: var(--green);
  color: #fff;
  padding: 20px 0;
}

.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  align-items: center;
  gap: 32px;
}

.newsletter form,
.search-modal form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.newsletter input,
.search-modal input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 16px;
}

.site-footer {
  padding: 34px 0 28px;
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) repeat(3, minmax(150px, 1fr));
  gap: 44px;
  align-items: start;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
}

.footer-brand--image {
  display: inline-flex;
  width: 146px;
}

.footer-brand--image img {
  width: 100%;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.footer-col h4 {
  margin: 0 0 10px;
}

.footer-col a,
.footer-col span,
.footer-col p {
  display: block;
  color: #4d4740;
  font-size: 13px;
  margin: 5px 0;
}

.footer-col--trust {
  display: grid;
  gap: 6px;
}

.footer-col--trust span {
  color: #36322d;
  font-weight: 600;
}

.breadcrumbs {
  padding: 16px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 36px;
  padding: 32px 0;
}

.catalog-layout--simple {
  grid-template-columns: 1fr;
  padding-top: 0;
}

.filter-panel {
  position: sticky;
  top: 104px;
  align-self: start;
}

.filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.filter-group {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.filter-group summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-weight: 850;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.check-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  color: #504a43;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 36px;
  gap: 8px;
  margin-top: 12px;
}

.price-inputs input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 8px;
}

.swatches {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.category-style-block {
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
}

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

.category-link-card {
  min-height: 138px;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.category-link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.category-link-card img {
  width: 132px;
  height: 100%;
  object-fit: cover;
}

.category-link-card span {
  display: grid;
  gap: 5px;
  padding-right: 14px;
}

.category-link-card strong {
  line-height: 1.15;
  font-weight: 900;
}

.category-link-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.category-link-card--style {
  min-height: 126px;
  grid-template-columns: 118px 1fr;
}

.category-link-card--style img {
  width: 118px;
  padding: 10px;
  object-fit: contain;
  background: #fff;
}

.product-grid--affiliate .product-card__body p {
  min-height: 60px;
}

.category-bodytext,
.category-faq,
.category-related-articles {
  margin-top: 34px;
}

.category-bodytext {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 44px 42px;
}

.category-bodytext > div:first-child {
  max-width: none;
}

.category-bodytext > div:first-child h2 {
  margin-bottom: 0;
}

.bodytext-copy {
  display: grid;
  gap: 16px;
  max-width: none;
  color: #403b35;
}

.bodytext-copy h3 {
  margin: 14px 0 0;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.bodytext-copy h3:first-child {
  margin-top: 0;
}

.bodytext-copy p {
  margin: 0;
  max-width: none;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.faq-item summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--olive);
  font-size: 20px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.hero--guides {
  min-height: 310px;
}

.guides-shell {
  max-width: 1040px;
}

.guides-search {
  display: grid;
  grid-template-columns: 1fr 54px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.guides-search input {
  width: 100%;
  min-height: 54px;
  border: 0;
  padding: 0 20px;
  background: transparent;
  outline: 0;
}

.guides-tabs {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.guides-tabs a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-weight: 800;
}

.guides-tabs a.is-active {
  color: var(--clay);
  border-color: var(--clay);
}

.article-list {
  display: grid;
  margin-top: 20px;
}

.article-row {
  display: grid;
  grid-template-columns: 300px 1fr 130px;
  gap: 34px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.article-row__image img {
  width: 100%;
  height: 136px;
  object-fit: cover;
  border-radius: 6px;
}

.article-row__image--logo {
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(135deg, #fffdf8 0%, #f4ede2 100%);
}

.article-row__image--logo img {
  width: auto;
  height: auto;
  max-width: 170px;
  max-height: 74px;
  object-fit: contain;
}

.article-row h2 {
  margin: 6px 0 7px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.15;
}

.article-row p {
  margin: 0 0 10px;
  color: #423d36;
  max-width: 620px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.article-meta span {
  position: relative;
}

.article-meta span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  position: absolute;
  left: -11px;
  top: 50%;
  border-radius: 50%;
  background: var(--line);
}

.article-row__read {
  justify-self: end;
  font-weight: 850;
}

.article-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  font-weight: 800;
}

.article-pagination a,
.article-pagination span {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.article-pagination .is-current {
  border: 1px solid var(--green);
  background: var(--white);
}

.article-breadcrumbs {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.article-breadcrumbs .container {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  overflow-x: auto;
  white-space: nowrap;
}

.article-hero {
  padding: 40px 0 30px;
  background: var(--paper);
}

.article-hero__grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 42px;
  align-items: stretch;
}

.article-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-hero h1 {
  max-width: 560px;
  margin: 14px 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 58px);
  line-height: 0.98;
}

.article-hero p {
  max-width: 510px;
  color: #423d36;
  font-weight: 650;
}

.article-hero__image {
  width: 100%;
  min-height: 344px;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.author-chip span:last-child {
  display: grid;
}

.author-chip em,
.read-next-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.article-meta--hero {
  margin-top: 28px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 52px;
  align-items: start;
  padding: 36px 0 56px;
}

.article-content {
  max-width: 760px;
}

.article-content > p:first-child {
  font-size: 17px;
  line-height: 1.7;
}

.article-content section {
  scroll-margin-top: 96px;
  margin-top: 32px;
}

.article-content h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
}

.article-content p {
  color: #403b35;
}

.pro-tip {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--cream);
}

.pro-tip > span {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.pro-tip p {
  margin: 3px 0 0;
}

.article-split {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 34px;
  align-items: center;
}

.article-split img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  left: 0;
  top: 2px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after {
  content: "";
  width: 8px;
  height: 4px;
  position: absolute;
  left: 5px;
  top: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.style-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.style-card-grid div,
.read-next-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.style-card-grid div {
  padding: 18px;
}

.style-card-grid p {
  margin: 6px 0 0;
  font-size: 13px;
}

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

.feature-inline-grid div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 7px 12px;
  align-items: center;
}

.feature-inline-grid svg {
  grid-row: span 2;
  color: var(--green);
}

.feature-inline-grid span {
  color: var(--muted);
  font-size: 13px;
}

.article-faq details {
  border: 1px solid var(--line);
  background: var(--white);
}

.article-faq details + details {
  border-top: 0;
}

.article-faq summary {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.article-faq summary::after {
  content: "+";
  font-size: 20px;
}

.article-faq details[open] summary::after {
  content: "-";
}

.article-faq summary::-webkit-details-marker {
  display: none;
}

.article-faq p {
  margin: 0;
  padding: 0 14px 14px;
}

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

.read-next-card {
  overflow: hidden;
}

.read-next-card img {
  width: 100%;
  height: 126px;
  object-fit: cover;
}

.read-next-card span,
.read-next-card strong,
.read-next-card em {
  display: block;
  margin: 10px 12px 0;
}

.read-next-card strong {
  line-height: 1.2;
}

.read-next-card em {
  margin-bottom: 14px;
}

.article-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 13px;
}

.article-toc strong {
  text-transform: uppercase;
}

.article-toc a {
  position: relative;
  padding-left: 18px;
  color: #4d473f;
}

.article-toc a::before {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  left: 0;
  top: 7px;
  border: 1px solid var(--green);
  border-radius: 50%;
}

.article-toc .toc-top {
  width: 34px;
  height: 34px;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 0;
  border-radius: 50%;
  background: var(--cream);
}

.article-toc .toc-top::before {
  display: none;
}

.sort-select,
.chip {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  padding: 0 13px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tips-band,
.crate-types,
.safe-space {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tips-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px;
  margin-bottom: 28px;
}

.crate-types {
  margin-top: 28px;
  padding: 24px;
}

.crate-types__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.crate-type {
  text-align: center;
}

.crate-type img {
  aspect-ratio: 1.34;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.safe-space {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
}

.safe-space img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.safe-space__copy {
  padding: 36px 46px;
}

.benefit {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 16px;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(47, 44, 39, 0.35);
  display: none;
  align-items: start;
  justify-content: center;
  padding: 110px 20px 20px;
}

.search-modal.is-open {
  display: flex;
}

.search-modal__panel {
  width: min(620px, 100%);
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  background: var(--green-dark);
  color: #fff;
  padding: 12px 16px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: 0.2s ease;
}

.notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.language-switcher {
  position: relative;
  z-index: 30;
}

.language-switcher__button {
  min-width: 58px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  display: grid;
  gap: 4px;
  min-width: 74px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(47, 44, 39, 0.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.language-switcher__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.language-switcher:hover .language-switcher__menu,
.language-switcher:focus-within .language-switcher__menu,
.language-switcher.is-open .language-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.language-switcher__menu a {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.language-switcher__menu a:hover,
.language-switcher__menu a.is-active {
  background: #111;
  color: #fff;
}

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

  .icon-button.nav-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 18px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .header-actions {
    justify-content: end;
    grid-column: 3;
    grid-row: 1;
  }

  .nav-shop {
    display: grid;
    align-items: stretch;
    gap: 10px;
  }

  .nav-shop__button {
    justify-content: space-between;
    width: 100%;
  }

  .shop-mega {
    position: static;
    display: none;
    box-shadow: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-shop.is-open .shop-mega {
    display: block;
  }

  .shop-mega__inner {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    padding: 18px;
  }

  .hero {
    background: linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0 55%, rgba(255, 253, 248, 0.45)), var(--hero-image) center right / cover no-repeat;
  }

  .hero--home {
    min-height: 430px;
    background: linear-gradient(90deg, rgba(255, 253, 248, 1) 0 42%, rgba(255, 253, 248, 0.7) 58%, rgba(255, 253, 248, 0.12) 72%), var(--hero-image) right center / auto 100% no-repeat;
  }

  .hero--category {
    background: #fffdf8;
  }

  .hero--category .container {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-bottom: 20px;
  }

  .hero--category .hero__content {
    padding-bottom: 14px;
  }

  .hero__media {
    min-height: 260px;
    margin: 8px 0 0;
    padding: 12px;
  }

  .hero__media img {
    width: 100%;
    max-width: min(92%, 500px);
    max-height: 260px;
  }

  .trust-grid,
  .brand-story,
  .newsletter__inner,
  .safe-space,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .pet-grid,
  .product-grid,
  .category-row,
  .category-nav-grid,
  .crate-types__grid,
  .review-grid,
  .guide-grid,
  .tips-band,
  .faq-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-bodytext {
    grid-template-columns: 1fr;
  }

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

  .rooms-copy {
    grid-column: 1 / -1;
  }

  .brand-rating {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .brand-rating__score {
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0 0;
  }

  .article-row {
    grid-template-columns: 240px 1fr;
  }

  .article-row__read {
    grid-column: 2;
    justify-self: start;
  }

  .article-hero__grid,
  .article-layout,
  .article-split {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
    order: -1;
  }

  .static-hero__inner,
  .static-page,
  .about-hero__inner,
  .about-official-intro,
  .about-promise,
  .about-footprint,
  .service-intro {
    grid-template-columns: 1fr;
  }

  .about-hero {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, 1) 0 52%, rgba(255, 253, 248, 0.72) 68%, rgba(255, 253, 248, 0.18)),
      url("assets/images/home-hero.jpg") right center / auto 100% no-repeat;
  }

  .about-hero__inner {
    gap: 24px;
    min-height: 500px;
  }

  .about-hero__panel {
    max-width: 390px;
  }

  .about-stat-grid,
  .about-brand-grid,
  .service-stat-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-link-panel {
    align-items: start;
    flex-direction: column;
  }

  .static-hero__inner {
    gap: 22px;
    min-height: 250px;
  }

  .static-page__side {
    position: static;
  }

  .static-cta {
    align-items: start;
    flex-direction: column;
  }

  .style-card-grid,
  .feature-inline-grid,
  .read-next-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--content-width));
  }

  .topbar__inner {
    gap: 10px;
    flex-wrap: wrap;
    padding: 6px 0;
  }

  .brand {
    font-size: 30px;
  }

  .brand--image {
    width: 122px;
    min-width: 122px;
  }

  .header-actions {
    gap: 8px;
  }

  .hero {
    min-height: 540px;
    align-items: start;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0 45%, rgba(255, 253, 248, 0.1) 74%), var(--hero-image) center bottom / cover no-repeat;
  }

  .hero--home {
    min-height: 520px;
    background: linear-gradient(180deg, rgba(255, 253, 248, 1) 0 42%, rgba(255, 253, 248, 0.7) 58%, rgba(255, 253, 248, 0.05) 78%), var(--hero-image) 62% bottom / auto 58% no-repeat;
  }

  .hero--category {
    min-height: auto;
    background: #fffdf8;
  }

  .hero--category .container {
    padding-top: 0;
    padding-bottom: 18px;
  }

  .hero--category .hero__content {
    padding-bottom: 8px;
  }

  .hero__media {
    min-height: 220px;
    margin: 6px 0 0;
    padding: 10px;
  }

  .hero__media::before {
    inset: 12px 10%;
  }

  .hero__media img {
    width: 100%;
    max-width: min(94%, 380px);
    max-height: 220px;
  }

  .hero__content {
    padding-top: 36px;
  }

  .hero--home h1 {
    font-size: 44px;
  }

  .static-hero {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0 64%, rgba(255, 253, 248, 0.82)),
      url("assets/images/guide-hero.jpg") center bottom / auto 60% no-repeat;
  }

  .static-hero__inner {
    min-height: 420px;
    padding-top: 36px;
    padding-bottom: 28px;
    align-items: start;
  }

  .static-hero h1 {
    font-size: 40px;
  }

  .about-hero {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 1) 0 46%, rgba(255, 253, 248, 0.82) 64%, rgba(255, 253, 248, 0.1)),
      url("assets/images/home-hero.jpg") 62% bottom / auto 54% no-repeat;
  }

  .about-hero__inner {
    min-height: 610px;
    padding-top: 36px;
    padding-bottom: 28px;
    align-items: start;
  }

  .about-hero h1 {
    font-size: 42px;
  }

  .about-hero__panel,
  .about-official-intro,
  .about-promise,
  .about-brand-family,
  .about-footprint,
  .about-press {
    padding: 18px;
  }

  .about-stat-grid,
  .about-brand-grid,
  .service-stat-grid,
  .service-grid,
  .service-grid--two {
    grid-template-columns: 1fr;
  }

  .static-section {
    padding: 20px 0;
  }

  .static-page__side,
  .static-cta {
    padding: 18px;
  }

  .pet-grid,
  .product-grid,
  .category-row,
  .category-nav-grid,
  .feature-grid,
  .crate-types__grid,
  .review-grid,
  .guide-grid,
  .tips-band,
  .faq-grid,
  .footer-grid,
  .rooms-band {
    grid-template-columns: 1fr;
  }

  .category-link-card {
    grid-template-columns: 108px 1fr;
    min-height: 112px;
  }

  .category-link-card img {
    width: 108px;
  }

  .shop-mega__inner {
    grid-template-columns: 1fr;
  }

  .review-card {
    grid-template-columns: 96px 1fr;
  }

  .review-card img {
    width: 96px;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .safe-space__copy {
    padding: 26px 22px;
  }

  .hero--guides {
    min-height: 500px;
  }

  .guides-search {
    grid-template-columns: 1fr 46px;
  }

  .guides-tabs {
    justify-content: start;
  }

  .article-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .article-row__image img {
    height: 190px;
  }

  .article-row__read {
    grid-column: auto;
  }

  .article-hero {
    padding-top: 24px;
  }

  .article-hero h1 {
    font-size: 40px;
  }

  .article-hero__image {
    min-height: 240px;
  }

  .article-layout {
    padding-top: 24px;
  }

  .style-card-grid,
  .feature-inline-grid,
  .read-next-grid {
    grid-template-columns: 1fr;
  }

  .article-toc {
    display: none;
  }
}
