/* Exact-reference category preview modules only. The native catalog remains untouched. */
.editorial-legacy-body .ck-category-v12-exact-hero,.editorial-legacy-body .ck-category-v12-exact-guide,.editorial-legacy-body .ck-category-v12-exact-faq,.editorial-legacy-body .ck-category-v12-exact-care {
  box-sizing: border-box;
  width: var(--ck-category-content-width, min(calc(100% - clamp(32px, 5.2vw, 76px)), 1200px));
  max-width: var(--ck-category-content-max, 1200px);
  margin-inline: auto;
  color: #181715;
  font-family: "Mulish", Arial, sans-serif;
}

/* Local preview content aligns with the approved product-page canvas.
   The native product-card subtree keeps its own markup, typography and ratios. */
.editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth > .retail-breadcrumb,.editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth > .retail-category-nav,.editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth > .retail-catalog-results,.editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth > .ck-category-v12-exact-status,.editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth > .ck-category-v12-exact-hero,.editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth > .ck-category-v12-exact-guide,.editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth > .ck-category-v12-exact-faq,.editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth > .ck-category-v12-exact-care {
  box-sizing: border-box;
  width: var(--ck-category-content-width, min(calc(100% - clamp(32px, 5.2vw, 76px)), 1200px));
  max-width: var(--ck-category-content-max, 1200px);
  margin-left: auto !important;
  margin-right: auto !important;
}
.editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth > .retail-catalog-results {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth .retail-results-toolbar {
  box-sizing: border-box;
  width: 100%;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth .retail-catalog-layout,.editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth .retail-product-results {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth .retail-product-results {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.editorial-legacy-body .ck-category-v12-exact-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  height: auto;
  min-height: 306px;
  aspect-ratio: 2.5 / 1;
  margin-top: 8px;
  margin-bottom: 24px;
  overflow: hidden;
  background: #f5f1e9;
}
.editorial-legacy-body .ck-category-v12-exact-hero__copy {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 43%;
  padding: 32px;
  background: transparent;
}
.editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-hero h1 {
  margin: 0;
  color: #181715;
  font-family: "Mulish", Arial, sans-serif !important;
  font-size: clamp(30px, 3.35vw, 48px) !important;
  font-weight: 800 !important;
  line-height: 1.03;
  letter-spacing: -.035em;
}
.editorial-legacy-body .ck-category-v12-exact-hero__lead {
  margin: 9px 0 0;
  color: #24211e;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 400;
  line-height: 1.25;
}
.editorial-legacy-body .ck-category-v12-exact-hero__description {
  max-width: 560px;
  margin: 7px 0 0;
  color: #45413c;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}
.editorial-legacy-body .ck-category-v12-exact-hero__safety {
  margin: 8px 0 0;
  padding-left: 9px;
  border-left: 2px solid #94501e;
  color: #45413c;
  font-size: 13px;
  line-height: 1.35;
}
.editorial-legacy-body .ck-category-v12-exact-hero__cta {
  min-height: 44px;
  margin-top: 10px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 3px;
  background: #94501e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.editorial-legacy-body .ck-category-v12-exact-hero__cta:hover { background: #783d14; color: #fff; }
.editorial-legacy-body .ck-category-v12-exact-hero__cta:focus-visible,.editorial-legacy-body .ck-category-v12-exact-faq summary:focus-visible,.editorial-legacy-body .ck-category-v12-exact-care a:focus-visible {
  outline: 3px solid #2b5e87;
  outline-offset: 3px;
}
.editorial-legacy-body .ck-category-v12-exact-hero__image {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.editorial-legacy-body .ck-category-v12-exact-guide { margin-top: 24px; }
.editorial-legacy-body .ck-category-v12-exact-guide__heading { margin-bottom: 14px; }
.editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-guide h2,.editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-faq h2,.editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-care h2 {
  margin: 0;
  color: #181715;
  font-family: "Mulish", Arial, sans-serif !important;
  font-size: clamp(26px, 2.25vw, 32px) !important;
  font-weight: 800 !important;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.editorial-legacy-body .ck-category-v12-exact-guide__heading > p {
  margin: 6px 0 0;
  color: #514d47;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}
.editorial-legacy-body .ck-category-v12-exact-guide__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.editorial-legacy-body .ck-category-v12-exact-guide__card {
  min-width: 0;
  background: transparent;
}
.editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-guide__card > img {
  width: 100% !important;
  height: auto !important;
  max-width: none;
  aspect-ratio: 1.08 / 1;
  margin: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #eee9e1;
}
.editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-guide__card h3 {
  margin: 9px 0 0;
  color: #181715;
  font-family: "Mulish", Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.25;
}
.editorial-legacy-body .ck-category-v12-exact-guide__card > p {
  margin: 5px 0 0;
  color: #514d47;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42;
}

.editorial-legacy-body .ck-category-v12-exact-faq { margin-top: 28px; }
.editorial-legacy-body .ck-category-v12-exact-faq h2 { margin-bottom: 12px !important; }
.editorial-legacy-body .ck-category-v12-exact-faq__list {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(44px, auto));
  gap: 8px 16px;
}
.editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-faq__list > details {
  min-width: 0;
  border: 1px solid #dfd8ce !important;
  border-radius: 6px !important;
  background: #fff;
}
.editorial-legacy-body .ck-category-v12-exact-faq details:nth-child(3),.editorial-legacy-body .ck-category-v12-exact-faq details:nth-child(6) { border-bottom: 1px solid #dfd8ce; }
.editorial-legacy-body .ck-category-v12-exact-faq summary {
  min-height: 48px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #28241f;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
}
.editorial-legacy-body .ck-category-v12-exact-faq summary::-webkit-details-marker { display: none; }
.editorial-legacy-body .ck-category-v12-exact-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #94501e;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.editorial-legacy-body .ck-category-v12-exact-faq details[open] summary::after { content: "−"; }
.editorial-legacy-body .ck-category-v12-exact-faq details p {
  margin: 0;
  padding: 0 10px 13px;
  color: #514d47;
  font-size: 15px;
  line-height: 1.45;
}

.editorial-legacy-body .ck-category-v12-exact-care { margin-top: 25px; margin-bottom: 42px; }
.editorial-legacy-body .ck-category-v12-exact-care h2 { margin-bottom: 12px !important; }
.editorial-legacy-body .ck-category-v12-exact-care__strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #f5f1e9;
}
.editorial-legacy-body .ck-category-v12-exact-care__strip article {
  min-width: 0;
  padding: 14px 16px 12px;
  border-left: 1px solid #e0d8cc;
}
.editorial-legacy-body .ck-category-v12-exact-care__strip article:first-child { border-left: 0; }
.editorial-legacy-body .ck-category-v12-exact-care__strip h3 {
  min-height: 30px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #28241f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}
.editorial-legacy-body .ck-category-v12-exact-care__strip h3 svg {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  color: #94501e;
}
.editorial-legacy-body .ck-category-v12-exact-care__strip p {
  margin: 6px 0 0;
  color: #514d47;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}
.editorial-legacy-body .ck-category-v12-exact-care__strip a {
  min-height: 44px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  color: #6d3918;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.editorial-legacy-body .ck-category-v12-exact-status {
  box-sizing: border-box;
  margin: 6px auto;
  padding: 5px 9px;
  border: 1px solid #cdb393;
  border-radius: 4px;
  background: #faf8f3;
  color: #5d381a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .01em;
}

@media (min-width: 901px) {
  .editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-hero h1.ck-category-v12-exact-hero__title--pet {
    width: max-content;
    max-width: calc(100vw - 288px);
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .editorial-legacy-body .ck-category-v12-exact-hero {
    height: max(306px, calc((100vw - 100px) / 2.5));
    min-height: 306px;
    aspect-ratio: auto;
  }
  .editorial-legacy-body .ck-category-v12-exact-hero__copy { width: 55%; padding: 24px; }
  .editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-hero h1 { font-size: 30px !important; }
  .editorial-legacy-body .ck-category-v12-exact-hero__lead { font-size: 16px; }
  .editorial-legacy-body .ck-category-v12-exact-hero__description { font-size: 15px; }
  .editorial-legacy-body .ck-category-v12-exact-guide__cards { gap: 12px; }
  .editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-guide__card h3 { font-size: 16px !important; }
  .editorial-legacy-body .ck-category-v12-exact-guide__card > p { font-size: 14px; }
  .editorial-legacy-body .ck-category-v12-exact-care__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-legacy-body .ck-category-v12-exact-care__strip article:nth-child(3) { border-left: 0; }
  .editorial-legacy-body .ck-category-v12-exact-care__strip article:nth-child(n+3) { border-top: 1px solid #e0d8cc; }
}

@media (max-width: 700px) {
  .editorial-legacy-body .ck-category-v12-exact-hero {
    height: auto;
    min-height: 280px;
    max-height: 380px;
    aspect-ratio: auto;
    margin-top: 4px;
    margin-bottom: 18px;
  }
  .editorial-legacy-body .ck-category-v12-exact-hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(245,241,233,.82) 0%, rgba(245,241,233,.68) 42%, rgba(245,241,233,.3) 62%, rgba(245,241,233,0) 78%);
  }
  .editorial-legacy-body .ck-category-v12-exact-hero__copy {
    z-index: 2;
    width: 68%;
    padding: 8px 12px;
    background: transparent;
  }
  .editorial-legacy-body .ck-category-v12-exact-hero__image { width: 100%; }
  .editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-hero h1 {
    margin-top: 3px;
    font-size: clamp(23px, 6.2vw, 28px) !important;
    line-height: 1.04;
  }
  .editorial-legacy-body .ck-category-v12-exact-hero__lead { margin-top: 3px; font-size: 15px; line-height: 1.2; }
  .editorial-legacy-body .ck-category-v12-exact-hero__description { margin-top: 3px; font-size: 14px; line-height: 1.32; }
  .editorial-legacy-body .ck-category-v12-exact-hero__safety { margin-top: 4px; padding-left: 6px; font-size: 12px; line-height: 1.25; }
  .editorial-legacy-body .ck-category-v12-exact-hero__cta { min-height: 44px; margin-top: 4px; padding-inline: 10px; gap: 6px; font-size: 13px; }

  .editorial-legacy-body .ck-category-v12-exact-guide { margin-top: 20px; }
  .editorial-legacy-body .ck-category-v12-exact-guide__heading { margin-bottom: 8px; }
  .editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-guide h2,.editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-faq h2,.editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-care h2 { font-size: 24px !important; }
  .editorial-legacy-body .ck-category-v12-exact-guide__heading > p { margin-top: 5px; font-size: 14px; line-height: 1.35; }
  .editorial-legacy-body .ck-category-v12-exact-guide__cards { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .editorial-legacy-body .ck-category-v12-exact-guide__card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    grid-template-rows: min-content 1fr;
    align-items: start;
    gap: 0 13px;
    padding: 12px 0;
    border-top: 1px solid #e5ded3;
  }
  .editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-guide__card > img {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 130px !important;
    height: 130px !important;
    aspect-ratio: 1 / 1;
  }
  .editorial-legacy-body .legacy-page-root.retail-storefront main .ck-category-v12-exact-guide__card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 16px !important;
    line-height: 1.22;
  }
  .editorial-legacy-body .ck-category-v12-exact-guide__card > p {
    grid-column: 2;
    grid-row: 2;
    margin-top: 5px;
    font-size: 15px;
    line-height: 1.4;
  }

  .editorial-legacy-body .ck-category-v12-exact-faq { margin-top: 22px; }
  .editorial-legacy-body .ck-category-v12-exact-faq__list {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 8px;
  }
  .editorial-legacy-body .ck-category-v12-exact-faq details:nth-child(3),.editorial-legacy-body .ck-category-v12-exact-faq details:nth-last-child(-n+2) { border-bottom: 0; }
  .editorial-legacy-body .ck-category-v12-exact-faq details:last-child { border-bottom: 1px solid #dfd8ce; }
  .editorial-legacy-body .ck-category-v12-exact-faq summary { min-height: 48px; padding: 8px 7px; font-size: 16px; }
  .editorial-legacy-body .ck-category-v12-exact-faq details p { padding: 0 7px 12px; font-size: 15px; }

  .editorial-legacy-body .ck-category-v12-exact-care { margin-top: 22px; margin-bottom: 34px; }
  .editorial-legacy-body .ck-category-v12-exact-care__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-legacy-body .ck-category-v12-exact-care__strip article { padding: 12px 10px; }
  .editorial-legacy-body .ck-category-v12-exact-care__strip article:nth-child(3) { border-left: 0; }
  .editorial-legacy-body .ck-category-v12-exact-care__strip article:nth-child(n+3) { border-top: 1px solid #e0d8cc; }
  .editorial-legacy-body .ck-category-v12-exact-care__strip h3 { gap: 7px; font-size: 14px; }
  .editorial-legacy-body .ck-category-v12-exact-care__strip h3 svg { width: 24px; height: 24px; flex-basis: 24px; }
  .editorial-legacy-body .ck-category-v12-exact-care__strip p { font-size: 15px; line-height: 1.4; }
  .editorial-legacy-body .ck-category-v12-exact-care__strip a { min-height: 44px; font-size: 12px; }

  .editorial-legacy-body .ck-category-v12-exact-status {
    margin: 5px auto 4px;
    padding: 5px 8px;
    font-size: 10px;
  }
}

/* Width-only adaptation to the approved PDP: 1322px shell minus 20px inner gutters. */
@media (min-width: 701px) {
  .editorial-legacy-body .legacy-page-root.retail-storefront main.retail-category-page.ck-category-homewidth {
    --ck-category-content-width: min(calc(100% - 20px), 1302px);
    --ck-category-content-max: 1302px;
  }
}
