/* Dogs layout only. Shared font defaults live in storefront-typography.css. */
/* Shared desktop Dogs navigation menu: JS owns the is-open state. */
@media (min-width: 1024px) {
  header #categoriesNav #nav-item-dogs {
    position: relative;
  }

  header #categoriesNav #nav-item-dogs > a.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  header #categoriesNav #nav-item-dogs > a.nav-link span.arrow {
    display: inline-block;
    transition: transform .18s ease;
  }

  header #categoriesNav #nav-item-dogs.is-open > a.nav-link span.arrow {
    transform: rotate(180deg);
  }

  header #categoriesNav #nav-item-dogs > #dogs-mega-menu.mega-menu {
    box-sizing: border-box;
    position: absolute;
    z-index: 1000;
    top: 100%;
    right: 0;
    display: none;
    width: 580px;
    max-width: calc(100vw - 40px);
    padding: 22px 24px 0;
    border: 1px solid #e8e1d3;
    border-radius: 0 0 14px 14px;
    background: #fffdf7;
    box-shadow: 0 16px 34px rgb(43 39 28 / 14%);
    color: #243d31;
    direction: rtl;
    text-align: right;
  }

  header #categoriesNav #nav-item-dogs.is-open > #dogs-mega-menu.mega-menu {
    display: block;
  }

  header #categoriesNav #nav-item-dogs #dogs-mega-menu .dogs-mega-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  header #categoriesNav #nav-item-dogs #dogs-mega-menu .dogs-mega-columns > section {
    min-width: 0;
    padding-bottom: 18px;
  }

  header #categoriesNav #nav-item-dogs #dogs-mega-menu .dogs-mega-columns h3 {
    margin: 0 0 12px;
    padding: 0 0 9px;
    border-bottom: 1px solid #e9e2d5;
    color: #244b38;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
  }

  header #categoriesNav #nav-item-dogs #dogs-mega-menu .dogs-mega-columns a {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 5px 0;
    border: 0;
    color: #5c6258;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    text-decoration: none;
    transition: color .16s ease, transform .16s ease;
  }

  header #categoriesNav #nav-item-dogs #dogs-mega-menu .dogs-mega-columns a:hover,
  header #categoriesNav #nav-item-dogs #dogs-mega-menu .dogs-mega-columns a:focus-visible {
    border: 0;
    color: #9a7424;
    transform: translateX(-2px);
  }

  header #categoriesNav #nav-item-dogs #dogs-mega-menu a.dogs-mega-all {
    display: flex;
    min-height: 0;
    justify-content: center;
    align-items: center;
    margin: 0 -24px;
    padding: 13px 24px;
    border: 0;
    border-top: 1px solid #e9e2d5;
    border-radius: 0 0 13px 13px;
    background: #f5f0e4;
    color: #244b38;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease;
  }

  header #categoriesNav #nav-item-dogs #dogs-mega-menu a.dogs-mega-all:hover,
  header #categoriesNav #nav-item-dogs #dogs-mega-menu a.dogs-mega-all:focus-visible {
    border-top-color: #e9e2d5;
    background: #eee5d1;
    color: #795b1e;
  }

  header #categoriesNav #nav-item-dogs #dogs-mega-menu a:focus-visible {
    outline: 2px solid #bd8c25;
    outline-offset: 2px;
  }
}

@media (max-width: 1023px) {
  header #categoriesNav #nav-item-dogs > #dogs-mega-menu.mega-menu {
    display: none !important;
  }
}

body[data-page="category"][data-category="dogs"] {
  --dogs-ink: #123d2d;
  --dogs-pine: #0b4935;
  --dogs-gold: #bd8c25;
  --dogs-gold-soft: #f6edd5;
  --dogs-paper: #fbf9f1;
  --dogs-line: #e7e0d1;
  /* Dogs packshots stay naturally rendered; keep actual weight details legible. */
  --product-image-rendering: auto;
  --font-weight-card-spec: 700;
  background: #f8f7f1;
}
body[data-page="category"][data-category="dogs"] .page {
  max-width: 1540px;
  padding: 18px clamp(12px, 2.6vw, 36px) 48px;
}
body[data-page="category"][data-category="dogs"] .crumb,
body[data-page="category"][data-category="dogs"] .page-heading,
body[data-page="category"][data-category="dogs"] .category-hero-frame {
  display: none !important;
}
body[data-page="category"][data-category="dogs"] .dogs-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body[data-page="category"][data-category="dogs"] .dogs-approved-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #f7f3e7;
  line-height: 0;
}
body[data-page="category"][data-category="dogs"] .dogs-approved-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 409;
  object-fit: contain;
}
body[data-page="category"][data-category="dogs"] .dogs-hero-hotspot {
  position: absolute;
  left: 61%;
  top: 65%;
  width: 22%;
  height: 11%;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
body[data-page="category"][data-category="dogs"] .dogs-hero-hotspot:focus-visible {
  outline: 3px solid #123d2d;
  outline-offset: 3px;
}
body[data-page="category"][data-category="dogs"] .dogs-category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
body[data-page="category"][data-category="dogs"] .dogs-category-pills::-webkit-scrollbar {
  display: none;
}
body[data-page="category"][data-category="dogs"] .dogs-category-pills button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--dogs-line);
  border-radius: 20px;
  background: #fffefa;
  color: var(--dogs-ink);
  font-size: var(--font-size-nav-pill);
  font-weight: var(--font-weight-nav-pill);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
body[data-page="category"][data-category="dogs"] .dogs-category-pills button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body[data-page="category"][data-category="dogs"] .dogs-category-pills button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
body[data-page="category"][data-category="dogs"] .dogs-category-pills button:hover {
  transform: translateY(-1px);
  border-color: #c6a14d;
}
body[data-page="category"][data-category="dogs"] .dogs-category-pills button.is-current {
  background: var(--dogs-gold-soft);
  border-color: #c69b3d;
  color: #543e11;
}
body[data-page="category"][data-category="dogs"] .dogs-branch-picker {
  min-width: 0;
}
body[data-page="category"][data-category="dogs"] .dogs-branch-list,
body[data-page="category"][data-category="dogs"] .dogs-facet-chips {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 4px 0 0;
}
body[data-page="category"][data-category="dogs"] .dogs-branch-chip,
body[data-page="category"][data-category="dogs"] .dogs-facet-chip {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  padding: 7px 2px;
  border: 0;
  border-bottom: 1px solid #eee9df;
  border-radius: 0;
  background: transparent;
  color: var(--dogs-ink);
  font-family: var(--font-family-filter);
  font-size: var(--font-size-filter-item-label);
  font-weight: var(--font-weight-filter-item-label);
  text-align: right;
  cursor: pointer;
}
body[data-page="category"][data-category="dogs"] .dogs-branch-chip:last-child,
body[data-page="category"][data-category="dogs"] .dogs-facet-chip:last-child {
  border-bottom: 0;
}
body[data-page="category"][data-category="dogs"] .dogs-branch-chip[hidden] {
  display: none !important;
}
body[data-page="category"][data-category="dogs"] .dogs-choice-box {
  box-sizing: border-box;
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border: 1.5px solid #b9b4a8;
  border-radius: 5px;
  background: #fffefa;
  color: #fffefa;
  transition: background-color .16s ease, border-color .16s ease;
}
body[data-page="category"][data-category="dogs"] .dogs-choice-box::after {
  width: 9px;
  height: 5px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg);
}
body[data-page="category"][data-category="dogs"] .dogs-branch-chip[aria-checked="true"] .dogs-choice-box,
body[data-page="category"][data-category="dogs"] .dogs-facet-chip[aria-checked="true"] .dogs-choice-box,
body[data-page="category"][data-category="dogs"] .dogs-facet-chip[aria-pressed="true"] .dogs-choice-box {
  border-color: var(--dogs-pine);
  background: var(--dogs-pine);
}
body[data-page="category"][data-category="dogs"] .dogs-branch-chip[aria-checked="true"] .dogs-choice-box::after,
body[data-page="category"][data-category="dogs"] .dogs-facet-chip[aria-checked="true"] .dogs-choice-box::after,
body[data-page="category"][data-category="dogs"] .dogs-facet-chip[aria-pressed="true"] .dogs-choice-box::after {
  opacity: 1;
}
body[data-page="category"][data-category="dogs"] .dogs-choice-label {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  line-height: var(--line-height-filter-item-label);
}
body[data-page="category"][data-category="dogs"] .dogs-branch-chip > svg,
body[data-page="category"][data-category="dogs"] .dogs-facet-chip > svg {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-inline-start: auto;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
body[data-page="category"][data-category="dogs"] .dogs-branch-chip > svg {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  padding: 5px;
  border-radius: 50%;
  background: #f2ead9;
}
body[data-page="category"][data-category="dogs"] .dogs-facet-chip > svg {
  fill: currentColor;
  stroke: none;
}
body[data-page="category"][data-category="dogs"] .dogs-facet-chip[data-value="small"] > svg {
  width: 18px;
  height: 18px;
}
body[data-page="category"][data-category="dogs"] .dogs-facet-chip[data-value="large"] > svg {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}
body[data-page="category"][data-category="dogs"] .dogs-branch-chip:hover,
body[data-page="category"][data-category="dogs"] .dogs-facet-chip:hover {
  background: #f7f3e8;
}
body[data-page="category"][data-category="dogs"] .dogs-branch-chip:focus-visible,
body[data-page="category"][data-category="dogs"] .dogs-facet-chip:focus-visible {
  outline: 2px solid var(--dogs-gold);
  outline-offset: -2px;
}
body[data-page="category"][data-category="dogs"] .catalog {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
body[data-page="category"][data-category="dogs"] .catalog-content {
  min-width: 0;
}
body[data-page="category"][data-category="dogs"] .controls.category-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 12px;
  padding: 10px 0;
  border-top: 1px solid var(--dogs-line);
  border-bottom: 1px solid var(--dogs-line);
}
body[data-page="category"][data-category="dogs"] .catalog-tools {
  display: flex;
  gap: 9px;
  align-items: center;
}
body[data-page="category"][data-category="dogs"] .controls .filter-toggle,
body[data-page="category"][data-category="dogs"] .catalog-sort select {
  min-height: 44px;
  border: 1px solid var(--dogs-line);
  border-radius: 11px;
  background: #fffefa;
  color: var(--dogs-ink);
}
body[data-page="category"][data-category="dogs"] .catalog .products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  padding: 8px;
}
/* Tablet: three usable tracks; preserve the existing image and text sizes. */
@media (min-width: 768px) and (max-width: 1023px) {
  body[data-page="category"][data-category="dogs"] .catalog .products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
body[data-page="category"][data-category="dogs"] .catalog-quick-filters {
  display: none !important;
}
body[data-page="category"][data-category="dogs"] .dogs-brand-search {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  margin: 0 0 8px;
  padding: 8px 12px;
  border: 1px solid var(--dogs-line);
  border-radius: 10px;
  background: #fffefa;
  font-family: var(--font-family-filter);
  font-size: var(--font-size-filter-search);
  font-weight: var(--font-weight-filter-search);
}
body[data-page="category"][data-category="dogs"] #catalogFilters details.dogs-filter-section {
  min-width: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--dogs-line);
}
body[data-page="category"][data-category="dogs"] #catalogFilters details.dogs-filter-section > summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: var(--dogs-ink);
  font-size: var(--font-size-filter-section-title);
  font-weight: var(--font-weight-filter-section-title);
  list-style: none;
  cursor: pointer;
}
body[data-page="category"][data-category="dogs"] #catalogFilters details.dogs-filter-section > summary::-webkit-details-marker {
  display: none;
}
body[data-page="category"][data-category="dogs"] #catalogFilters details.dogs-filter-section > summary::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-right: 1.5px solid #77705f;
  border-bottom: 1.5px solid #77705f;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform .16s ease;
}
body[data-page="category"][data-category="dogs"] #catalogFilters details.dogs-filter-section[open] > summary::before {
  transform: rotate(225deg) translateY(-2px);
}
body[data-page="category"][data-category="dogs"] #catalogFilters details.dogs-filter-section > summary h3 {
  margin: 0;
  padding: 0;
  border: 0;
  flex: 1 1 auto;
  font-size: var(--font-size-filter-section-title);
  font-weight: var(--font-weight-filter-section-title);
}
body[data-page="category"][data-category="dogs"] #catalogFilters details.dogs-filter-section > summary:focus-visible {
  outline: 2px solid var(--dogs-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
body[data-page="category"][data-category="dogs"] #catalogFilters details.dogs-filter-section > :not(summary) {
  padding-bottom: 12px;
}
body[data-page="category"][data-category="dogs"] [data-catalog-brands] {
  box-sizing: border-box;
  max-height: 130px;
  min-width: 0;
  width: 100%;
  direction: rtl;
  text-align: right;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  margin-top: 8px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
body[data-page="category"][data-category="dogs"] [data-catalog-brands] label {
  box-sizing: border-box;
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 6px 4px;
  direction: rtl;
  text-align: right;
  white-space: normal;
  overflow-wrap: break-word;
}
body[data-page="category"][data-category="dogs"] [data-catalog-brands] label[hidden] {
  display: none;
}
body[data-page="category"][data-category="dogs"] [data-catalog-brands] input[type="checkbox"] {
  display: inline-block !important;
  visibility: visible !important;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  opacity: 1 !important;
  accent-color: var(--dogs-pine);
}
body[data-page="category"][data-category="dogs"] #catalogFilters .pet-filter-field {
  display: none !important;
}
body[data-page="category"][data-category="dogs"] .catalog-filter-body {
  display: block;
  direction: rtl;
  text-align: right;
}
/* Keep adapter-only alignment; style.css owns the surrounding filter shell. */
body[data-page="category"][data-category="dogs"] #catalogFilters .filter-header {
  direction: rtl;
}
body[data-page="category"][data-category="dogs"] #catalogFilters .filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
body[data-page="category"][data-category="dogs"] .dogs-price-range {
  min-width: 0;
  padding: 0;
}
body[data-page="category"][data-category="dogs"] .dogs-sidebar-title {
  margin: 0 0 12px;
  color: var(--dogs-ink);
  font-size: var(--font-size-filter-sidebar-title);
  font-weight: var(--font-weight-filter-sidebar-title);
}
body[data-page="category"][data-category="dogs"] .dogs-taxonomy-filter {
  min-width: 0;
  margin: 0;
}
body[data-page="category"][data-category="dogs"] .dogs-facet-native-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body[data-page="category"][data-category="dogs"] .dogs-price-range .dogs-price-controls {
  position: relative;
  min-height: 42px;
  padding: 4px 0 28px;
}
body[data-page="category"][data-category="dogs"] .dogs-price-range .dogs-range-values {
  margin-bottom: 8px;
}
body[data-page="category"][data-category="dogs"] .dogs-price-range .dogs-price-controls input[type="range"] {
  display: block;
  width: 100%;
  margin: 10px 0;
}
body[data-page="category"][data-category="dogs"] .dogs-price-range .dogs-price-controls #minPrice,
body[data-page="category"][data-category="dogs"] .dogs-price-range .dogs-price-controls #maxPrice {
  position: absolute;
  bottom: 12px;
  right: 8px;
  left: 8px;
  width: calc(100% - 16px);
  height: 6px;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  margin: 0;
  pointer-events: none;
}
body[data-page="category"][data-category="dogs"] .dogs-price-range .dogs-price-controls #minPrice { z-index: 2; }
body[data-page="category"][data-category="dogs"] .dogs-price-range .dogs-price-controls #maxPrice {
  z-index: 1;
  background: var(--dogs-gold);
}
body[data-page="category"][data-category="dogs"] .dogs-price-range .dogs-price-controls input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--dogs-gold);
  border-radius: 50%;
  background: #fff;
  pointer-events: auto;
}
body[data-page="category"][data-category="dogs"] .dogs-price-range .dogs-price-controls input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid var(--dogs-gold);
  border-radius: 50%;
  background: #fff;
  pointer-events: auto;
}
body[data-page="category"][data-category="dogs"] .dogs-price-range .dogs-price-controls input[type="range"]::-moz-range-track {
  background: transparent;
}
@media (max-width: 767px) {
  body[data-page="category"][data-category="dogs"] #catalogFilters .catalog-filter-actions {
    z-index: 1;
    box-shadow: 0 -5px 14px rgb(49 43 25 / 6%);
  }
  body[data-page="category"][data-category="dogs"] #catalogFilters .catalog-filter-body {
    scrollbar-gutter: stable;
  }
}
body[data-page="category"][data-category="dogs"] .dogs-range-values {
  display: flex;
  justify-content: space-between;
  color: #68551f;
  font-variant-numeric: tabular-nums;
  font-size: var(--font-size-filter-price-value);
  font-weight: var(--font-weight-filter-price-value);
}
body[data-page="category"][data-category="dogs"] .dogs-range-values output {
  direction: ltr;
  unicode-bidi: isolate;
}
body[data-page="category"][data-category="dogs"] .dogs-brand-count {
  color: #766747;
  font-size: var(--font-size-filter-brand-count);
  font-weight: var(--font-weight-filter-brand-count);
  font-variant-numeric: tabular-nums;
}
body[data-page="category"][data-category="dogs"] .dogs-sale-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  color: var(--dogs-ink);
  cursor: pointer;
}
body[data-page="category"][data-category="dogs"] .dogs-toggle-group {
  width: 100%;
  flex-shrink: 0;
}
body[data-page="category"][data-category="dogs"] .dogs-sale-toggle input {
  appearance: none;
  position: relative;
  width: 38px;
  height: 22px;
  flex: 0 0 38px;
  margin: 0;
  border: 1px solid #b9b9b9;
  border-radius: 999px;
  background: #e5e7eb;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
body[data-page="category"][data-category="dogs"] .dogs-sale-toggle input::before,
body[data-page="category"][data-category="dogs"] .catalog-availability input[type="checkbox"]::before {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(31 41 55 / 22%);
  content: "";
  transition: transform .18s ease;
}
body[data-page="category"][data-category="dogs"] .dogs-sale-toggle input:checked,
body[data-page="category"][data-category="dogs"] .catalog-availability input[type="checkbox"]:checked {
  border-color: var(--dogs-pine);
  background: var(--dogs-pine);
}
body[data-page="category"][data-category="dogs"] .dogs-sale-toggle input:checked::before,
body[data-page="category"][data-category="dogs"] .catalog-availability input[type="checkbox"]:checked::before {
  transform: translateX(16px);
}
body[data-page="category"][data-category="dogs"] .dogs-sale-toggle input:focus-visible,
body[data-page="category"][data-category="dogs"] .catalog-availability input[type="checkbox"]:focus-visible {
  outline: 3px solid rgb(189 140 37 / 45%);
  outline-offset: 2px;
}
body[data-page="category"][data-category="dogs"] .catalog-availability input[type="checkbox"] {
  appearance: none;
  position: relative;
  width: 38px;
  height: 22px;
  flex: 0 0 38px;
  margin: 0;
  border: 1px solid #b9b9b9;
  border-radius: 999px;
  background: #e5e7eb;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
body[data-page="category"][data-category="dogs"] .catalog-availability {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  color: var(--dogs-ink);
  cursor: pointer;
}
body[data-page="category"][data-category="dogs"] #minPrice,
body[data-page="category"][data-category="dogs"] #maxPrice {
  accent-color: var(--dogs-gold);
}
body[data-page="category"][data-category="dogs"] .dogs-filter-grab {
  display: none;
}

@media (min-width: 768px) {
  body[data-page="category"][data-category="dogs"] .controls.category-controls {
    direction: rtl;
  }
}
/* Desktop: full-width products; the class-driven drawer takes no layout space. */
@media (min-width: 1024px) {
  body[data-page="category"][data-category="dogs"] main#app {
    box-sizing: border-box;
    max-width: 1350px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }
  body[data-page="category"][data-category="dogs"] #app > .department-page {
    box-sizing: border-box;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 0 48px;
  }
  body[data-page="category"][data-category="dogs"] #app .dogs-approved-hero {
    box-sizing: border-box;
    height: auto;
    max-height: none;
    width: 100%;
    max-width: 1350px;
    margin: 8px auto 24px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgb(0 0 0 / 4%);
  }
  body[data-page="category"][data-category="dogs"] #app .dogs-approved-hero img {
    width: 100%;
    height: auto;
    max-height: 310px;
    aspect-ratio: 1350 / 310;
    object-fit: cover;
    object-position: center top;
  }
  body[data-page="category"][data-category="dogs"] #app .dogs-hero-hotspot.is-repositioned {
    background: var(--dogs-gold);
    color: #fff;
    font: 600 14px var(--font-family-base);
    line-height: 1.3;
    box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
  }
  body[data-page="category"][data-category="dogs"] #app .dogs-hero-hotspot.is-repositioned::after {
    content: attr(data-label);
  }
  body[data-page="category"][data-category="dogs"] #app .dogs-category-pills {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    max-width: 1350px;
    margin: 20px auto;
    padding: 10px 0;
  }
  body[data-page="category"][data-category="dogs"] #app .dogs-category-pills button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 90px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  body[data-page="category"][data-category="dogs"] #app .dogs-category-pills button svg {
    box-sizing: border-box;
    width: 72px;
    height: 72px;
    padding: 14px;
    color: var(--dogs-ink);
    background: #fff;
    border: 1.5px solid #eaeaea;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgb(49 43 25 / 5%);
  }
  body[data-page="category"][data-category="dogs"] #app .dogs-category-pills button span {
    --font-size-nav-pill: 14px;
    font-size: var(--font-size-nav-pill);
    font-weight: 600;
    color: var(--dogs-ink);
    text-align: center;
  }
  body[data-page="category"][data-category="dogs"] #app .dogs-category-pills button.is-current svg {
    background: var(--dogs-gold);
    border-color: #c69b3d;
  }
  body[data-page="category"][data-category="dogs"] #app .catalog {
    box-sizing: border-box;
    display: block !important;
    direction: rtl;
    width: 100%;
    margin: 20px auto 0;
    padding: 0;
  }
  body[data-page="category"][data-category="dogs"] #app .catalog:has(> #catalogFilters.open)::before {
    box-sizing: border-box;
  }
  body[data-page="category"][data-category="dogs"] #app #catalogFilters .catalog-filter-header {
    box-sizing: border-box;
    position: relative;
    z-index: 1;
  }
  body[data-page="category"][data-category="dogs"] #app #catalogFilters .catalog-filter-header .filter-actions {
    flex: 0 0 auto;
  }
  body[data-page="category"][data-category="dogs"] #app #catalogFilters .catalog-filter-body {
    scrollbar-gutter: stable;
  }
  body[data-page="category"][data-category="dogs"] #app #catalogFilters .dogs-choice-box {
    order: 0;
  }
  body[data-page="category"][data-category="dogs"] #app #catalogFilters .dogs-branch-chip > svg,
  body[data-page="category"][data-category="dogs"] #app #catalogFilters .dogs-facet-chip > svg {
    order: 1;
    margin: 0;
  }
  body[data-page="category"][data-category="dogs"] #app #catalogFilters .dogs-choice-label {
    order: 2;
  }
  body[data-page="category"][data-category="dogs"] #app #catalogFilters .catalog-filter-actions.filter-footer {
    box-sizing: border-box;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 -6px 16px rgb(49 43 25 / 6%);
  }
  body[data-page="category"][data-category="dogs"] #app .dogs-sidebar-title {
    display: none !important;
  }
  body[data-page="category"][data-category="dogs"] #app .controls .filter-toggle {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid var(--dogs-line);
    border-radius: 999px;
    background: #fffefa;
    color: var(--dogs-ink);
    cursor: pointer;
  }
  body[data-page="category"][data-category="dogs"] #app .controls .filter-toggle:focus-visible {
    outline: 2px solid var(--dogs-gold);
    outline-offset: 2px;
  }
  body[data-page="category"][data-category="dogs"] #app .catalog > .catalog-content {
    box-sizing: border-box;
    display: block !important;
    width: 100%;
    max-width: 1350px;
    min-width: 0;
    margin: 0 auto;
    direction: rtl;
  }
  body[data-page="category"][data-category="dogs"] #app .catalog #results {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
}
@media (max-width: 767px) {
  body[data-page="category"][data-category="dogs"] .page {
    padding-inline: 12px;
  }
  body[data-page="category"][data-category="dogs"] #catalogFilters .catalog-filter-header {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }
  body[data-page="category"][data-category="dogs"] #catalogFilters .filter-actions {
    flex: 0 0 auto;
  }
  body[data-page="category"][data-category="dogs"] .controls.category-controls {
    flex-wrap: wrap;
  }
  body[data-page="category"][data-category="dogs"] .catalog-tools {
    flex: 1 1 auto;
  }
  body[data-page="category"][data-category="dogs"] .catalog-sort {
    min-width: 0;
  }
  body[data-page="category"][data-category="dogs"] .dogs-sidebar-title {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="category"][data-category="dogs"] .dogs-category-pills button,
  body[data-page="category"][data-category="dogs"] .dogs-choice-box,
  body[data-page="category"][data-category="dogs"] #catalogFilters details.dogs-filter-section > summary::before {
    transition: none;
  }
}

/* Dogs storefront finish: preserve the full artwork and give every packshot room. */
body[data-page="category"][data-category="dogs"] #app .dogs-approved-hero {
  box-sizing: border-box !important;
  height: var(--dogs-hero-height, auto) !important;
  max-height: none !important;
  margin: 4px auto 10px !important;
  padding: 0 !important;
  overflow: visible !important;
  background: #f8f3e5;
}
body[data-page="category"][data-category="dogs"] #app .dogs-approved-hero > img,
body[data-page="category"][data-category="dogs"] .category-banner-artwork {
  display: block !important;
  width: 100% !important;
  height: var(--dogs-hero-height, auto) !important;
  max-height: none !important;
  aspect-ratio: 1024 / 409 !important;
  object-fit: contain !important;
  object-position: center !important;
}
body[data-page="category"][data-category="dogs"] #app .dogs-category-pills {
  gap: 10px !important;
  margin: 4px auto 10px !important;
  padding: 4px 0 10px !important;
}
body[data-page="category"][data-category="dogs"] #app .catalog {
  margin-top: 4px !important;
}
body[data-page="category"][data-category="dogs"] .uniform-category-branches {
  padding: 4px 0 10px !important;
}
body[data-page="category"][data-category="dogs"] .uniform-category-branches .dog-panel-subgrid {
  gap: 10px !important;
  padding: 4px 0 !important;
}
body[data-page="category"][data-category="dogs"] .uniform-category-branches .dog-panel-subcard {
  border: 1px solid #d9ceb2 !important;
  background: #fff !important;
  color: #173b2b !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 5px rgb(0 0 0 / 4%) !important;
}
body[data-page="category"][data-category="dogs"] .department-page .controls.category-controls {
  margin: 4px 0 12px !important;
  padding: 0 !important;
}
body[data-page="category"][data-category="dogs"] .filter-toggle,
body[data-page="category"][data-category="dogs"] button[data-action="open-filters"],
body[data-page="category"][data-category="dogs"] .controls button {
  box-sizing: border-box !important;
  opacity: 1 !important;
  visibility: visible !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  background: #bd913d !important;
  color: #fff !important;
  font-weight: 700 !important;
}
/* Product-card composition: shared typography and the global image canvas own
   text metrics, image rendering and neutral product/media surfaces. */
body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product {
  position: relative;
  box-sizing: border-box;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start !important;
  gap: 3px !important;
  padding: 10px !important;
  border: 1px solid var(--dogs-line);
  border-radius: 14px;
  box-shadow: 0 3px 12px rgb(35 48 37 / 6%);
  text-align: center;
}
body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product > :is(.product-card-media-wrap, .product-card-media) {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 190px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100% !important;
  height: 190px;
  min-height: 190px;
  aspect-ratio: auto !important;
  margin: 0 0 3px;
  padding: 4px;
  border-radius: 10px;
}
body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product > .product-card-media-wrap > .product-card-media {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto !important;
  margin: 0;
  padding: 0;
}
body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product :is(.product-image, .product-card-media img) {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}
body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product > .heart {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--dogs-line);
  border-radius: 50%;
  background: rgb(255 254 250 / 94%);
  color: var(--dogs-ink);
}
body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product h3 {
  margin: 2px 0;
  color: #24352c;
  text-align: center;
}
body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product .product-brand-link {
  display: block;
  margin: 0;
  color: #687268;
  text-align: center;
}
body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product .product-weight {
  margin: 0;
  color: #343a35;
  text-align: center;
}
body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product .price {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 3px !important;
  color: #24352c;
  font-variant-numeric: tabular-nums;
}
body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product .price.sale {
  color: #d32f2f;
}
body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product :is(.old-price, .price-old, .original-price, .product-old-price, del) {
  color: #8b8e88;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product .btn:not(.inquiry-link):not([href*="wa.me"]) {
  width: 100%;
  min-height: 40px !important;
  margin-top: auto !important;
  border: 0;
  border-radius: 10px;
  background: #bd913d;
  color: #fff;
}
body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product :is(.inquiry-link, .btn-inquiry, a[href*="wa.me"]) {
  display: inline-flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #b98b2c;
  border-radius: 10px;
  background: #f6edd5;
  color: #543e11;
  text-align: center;
  text-decoration: none;
}

/* Approved product-photo frames: phone 195px, tablet 190px, desktop 220px. */
@media (max-width: 767px) {
  body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app .catalog #results {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    padding: 6px 2px 10px !important;
  }
  body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product {
    padding: 7px !important;
    border-radius: 13px;
  }
  body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product > :is(.product-card-media-wrap, .product-card-media) {
    flex-basis: 195px;
    height: 195px;
    min-height: 195px;
  }
  body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product .btn:not(.inquiry-link):not([href*="wa.me"]),
  body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product :is(.inquiry-link, .btn-inquiry, a[href*="wa.me"]) {
    min-height: 38px !important;
  }
}

@media (min-width: 1024px) {
  body[data-page="category"][data-category="dogs"] {
    --dogs-hero-height: 280px;
  }
  body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product {
    padding: 12px !important;
  }
  body[data-page="category"]:is([data-category="dogs"], [data-category="cats"], [data-category="birds"]) #app #results > .product > :is(.product-card-media-wrap, .product-card-media) {
    flex-basis: 220px;
    height: 220px;
    min-height: 220px;
    margin-bottom: 5px;
    padding: 8px;
  }
}
