:root {
  --crealim-navbar-color: #94a9c2;
  --crealim-navigation-text-color: #ffffff;
  --crealim-carousel-caption-background-color: #2d2d2d;
  --crealim-carousel-caption-text-color: #ffffff;
  --crealim-header-height: 94px;
  --mt-title-bg: #060453 !important;
  --mt-title-fg: #ffffff !important;
  --mt-title-square: #ffffff !important;
  --mt-title-radius: 0 !important;
  --mt-title-pad-y: 12px !important;
  --mt-title-pad-x: 18px !important;
  --mt-title-gap: 14px !important;
  --mt-title-width: 66% !important;
}

@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-Regular.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-Bold.ttf') format('ttf');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-Italic.ttf') format('ttf');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

body {
  font-family: 'Raleway', sans-serif !important;
}

img,
video,
iframe {
  max-width: 100%;
}

.crealim-header {
  background: var(--crealim-navbar-color) !important;
  color: var(--crealim-navigation-text-color) !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
}

.crealim-header.crealim-header--menu-open {
  z-index: 1100 !important;
}

.crealim-wrap {
  max-width: 1480px !important;
  margin: 0 auto !important;
  padding: 12px 56px !important;
  position: relative !important;
}

.crealim-menu {
  display: flex !important;
  gap: 18px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.crealim-left {
  justify-content: flex-end !important;
}

.crealim-right {
  justify-content: flex-start !important;
}

.crealim-menu a {
  color: var(--crealim-navigation-text-color) !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  font-size: .9rem !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  position: relative !important;
  transition: color .2s ease !important;
}

.crealim-menu a::after {
  content: "" !important;
  position: absolute !important;
  left: 0;
  bottom: -4px !important;
  height: 2px;
  width: 0 !important;
  background: var(--crealim-navigation-text-color) !important;
  transition: width .25s ease !important;
}

.crealim-menu a:hover,
.crealim-menu a:focus,
.crealim-menu a:active,
.crealim-menu a:visited {
    color: var(--crealim-navigation-text-color) !important;
}

.crealim-menu a:hover::after {
  width: 100% !important;
}

.crealim-logo {
  justify-self: center !important;
  margin: 0 !important;
}

.crealim-logo img {
  max-height: 70px !important;
  width: auto !important;
  display: block !important;
}

.crealim-burger-menu {
  position: relative !important;
  display: inline-block !important;
  z-index: 1000 !important;
}

.crealim-burger-menu > summary {
  list-style: none !important;
}

.crealim-burger-menu > summary::-webkit-details-marker {
  display: none !important;
}

.crealim-burger {
  appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  width: 48px !important;
  height: 67px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
}

.crealim-burger:focus {
  outline: 2px solid rgba(255, 255, 255, .35) !important;
  outline-offset: 2px !important;
}

.crealim-burger-icon {
  width: 24px !important;
  height: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.crealim-burger-icon span {
  display: block !important;
  width: 100% !important;
  height: 2px !important;
  background: var(--crealim-navigation-text-color) !important;
  border-radius: 1px !important;
}

.crealim-panel {
  position: absolute !important;
  z-index: 1 !important;
  left: 0 !important;
  top: 100% !important;
  margin-top: -8px !important;
  min-width: 220px !important;
  background: var(--crealim-navbar-color) !important;
  border: 1px solid rgba(255, 255, 255, .15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35) !important;
  border-radius: 10px !important;
  padding: 8px !important;
  max-height: calc(100vh - 110px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  display: none !important;
}

.crealim-burger-menu[open] .crealim-panel {
  display: block !important;
}

.crealim-panel a {
  display: block !important;
  color: var(--crealim-navigation-text-color) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: .9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
}

.crealim-panel a:hover {
  background: rgba(255, 255, 255, .12) !important;
}

.crealim-panel a.crealim-panel__mobile-only {
  display: none !important;
}

.crealim-grid {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 52px !important;
}

.crealim-nav-left, .crealim-nav-right {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  min-width: 0 !important;
}

.crealim-nav-left {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
}

.crealim-nav-right {
  justify-content: stretch !important;
  min-width: 0 !important;
}

.crealim-nav-left .crealim-menu,
.crealim-nav-right .crealim-menu {
  min-width: 0 !important;
  width: auto !important;
  justify-content: flex-start !important;
}

.crealim-nav-left .crealim-menu {
  flex: 0 1 auto !important;
  gap: 24px !important;
  margin-right: 8px !important;
}

.crealim-nav-right .crealim-menu {
  gap: 94px !important;
  margin-left: 8px !important;
}

@media (min-width: 993px) and (max-width: 1180px) {
  .crealim-wrap {
    padding: 10px 18px !important;
  }

  .crealim-grid {
    gap: 16px !important;
  }

  .crealim-nav-left {
    gap: 12px !important;
  }

  .crealim-nav-left .crealim-menu {
    gap: 14px !important;
    margin-right: 0 !important;
  }

  .crealim-nav-right .crealim-menu {
    gap: 42px !important;
    margin-left: 0 !important;
  }

  .crealim-menu a {
    font-size: .78rem !important;
  }

  .crealim-logo img {
    max-height: 58px !important;
  }
}

.crealim-listing-search {
  display: flex !important;
  align-items: stretch !important;
  max-width: 520px !important;
  margin: 0 0 18px !important;
}

.crealim-listing-search input[type="search"] {
  width: 100% !important;
  min-height: 36px !important;
  border: 2px solid #201b7a !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
  padding: 7px 10px !important;
  font-size: .85rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.crealim-listing-search button {
  min-height: 36px !important;
  border: 2px solid #201b7a !important;
  border-radius: 0 !important;
  background: #201b7a !important;
  color: #fff !important;
  padding: 0 14px !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

.crealim-listing-search button:hover,
.crealim-listing-search button:focus {
  background: #22d3ee !important;
  color: #000 !important;
}

h1:not(.product-title), h2:not(.product-title) {
  position: relative !important;
  display: block !important;
  width: var(--mt-title-width) !important;
  margin: 28px 0 18px 0 !important;
  background: #97a4b3 !important;
  color: var(--mt-title-fg) !important;
  padding: var(--mt-title-pad-y) calc(var(--mt-title-pad-x) + 2px) !important;
  padding-left: calc(var(--mt-title-pad-x) + var(--mt-title-gap) + 18px) !important;
  border-radius: var(--mt-title-radius) !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  clear: both !important;
  text-align: left !important;
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
}

h1::before, h2::before {
  content: "" !important;
  position: absolute !important;
  left: var(--mt-title-pad-x) !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  transform: translateY(-50%) !important;
  background: var(--mt-title-square) !important;
  border-radius: 2px !important;
}

#main .ft-title {
  display: block;
  width: 100%;
  color: #ffffff;
  text-align: center;
  padding: 18px 24px;
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0;
  border-radius: 0;
  box-shadow: none;
}

#wrapper {
  padding-top: 0px !important;
}

#product #content {
  max-width: none !important;
  width: 100% !important;
}

.breadcrumb {
  margin-top: 1% !important;
}

.container {
  width: 100%;
  max-width: 1220px;
}

#js-product-list-header {
  display: none !important;
}

@media (max-width: 992px) {
  h1, h2 {
    width: 100% !important;
    margin: 20px 0 14px !important;
  }

  .crealim-wrap {
    padding: 10px 14px !important;
  }

  .crealim-grid {
    grid-template-columns: 48px 1fr 48px !important;
    gap: 8px !important;
  }

  .crealim-nav-left,
  .crealim-nav-right {
    gap: 0 !important;
    min-width: 48px !important;
  }

  .crealim-nav-left {
    justify-content: flex-start !important;
  }

  .crealim-nav-right {
    justify-content: flex-end !important;
  }

  .crealim-nav-left .crealim-menu,
  .crealim-nav-right .crealim-menu {
    display: none !important;
  }

  .crealim-logo {
    grid-column: 2 !important;
    justify-self: center !important;
  }

  .crealim-logo img {
    max-height: 54px !important;
  }

  .crealim-burger {
    width: 48px !important;
    height: 48px !important;
  }

  .crealim-burger-menu {
    position: static !important;
  }

  .crealim-panel {
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    top: calc(100% + 2px) !important;
    margin-top: 0 !important;
    min-width: 0 !important;
    border-radius: 0 0 6px 6px !important;
    padding: 14px !important;
  }

  .crealim-burger-menu[open] .crealim-panel {
    display: block !important;
  }

  .crealim-panel a.crealim-panel__mobile-only {
    display: block !important;
  }

  .crealim-panel a {
    padding: 12px 10px !important;
    border-radius: 4px !important;
  }

  .crealim-listing-search {
    max-width: none !important;
  }
}

@media (max-width: 768px) {
  .crealim-caption {
    left: 1rem;
    bottom: 1rem;
    padding: .75rem 1rem;
    max-width: 80%;
  }
}

/* PEDIGREE V3 */
#ft-pedigree {
  --pedigree-line: #adc0d8;
  --pedigree-blue: #6c88ab;
  --pedigree-border: #9eb4cf;
}

#ft-pedigree .pedigree-chart {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 24px minmax(170px, 1fr) 24px minmax(150px, .92fr);
  column-gap: 10px;
  align-items: stretch;
  max-width: 100%;
}

#ft-pedigree .pedigree-col,
#ft-pedigree .pedigree-link-col {
  display: grid;
  grid-template-rows: repeat(8, minmax(44px, auto));
  row-gap: 8px;
}

#ft-pedigree .pedigree-slot,
#ft-pedigree .pedigree-link {
  position: relative;
}

#ft-pedigree .pedigree-slot--1,
#ft-pedigree .pedigree-link--1 { grid-row: 1; }
#ft-pedigree .pedigree-slot--2,
#ft-pedigree .pedigree-link--2 { grid-row: 2; }
#ft-pedigree .pedigree-slot--3,
#ft-pedigree .pedigree-link--3 { grid-row: 3; }
#ft-pedigree .pedigree-slot--4,
#ft-pedigree .pedigree-link--4 { grid-row: 4; }
#ft-pedigree .pedigree-slot--5,
#ft-pedigree .pedigree-link--5 { grid-row: 5; }
#ft-pedigree .pedigree-slot--6,
#ft-pedigree .pedigree-link--6 { grid-row: 6; }
#ft-pedigree .pedigree-slot--7,
#ft-pedigree .pedigree-link--7 { grid-row: 7; }
#ft-pedigree .pedigree-slot--8,
#ft-pedigree .pedigree-link--8 { grid-row: 8; }

#ft-pedigree .pedigree-slot--1-2,
#ft-pedigree .pedigree-link--1-2 { grid-row: 1 / span 2; }
#ft-pedigree .pedigree-slot--3-4,
#ft-pedigree .pedigree-link--3-4 { grid-row: 3 / span 2; }
#ft-pedigree .pedigree-slot--5-6,
#ft-pedigree .pedigree-link--5-6 { grid-row: 5 / span 2; }
#ft-pedigree .pedigree-slot--7-8,
#ft-pedigree .pedigree-link--7-8 { grid-row: 7 / span 2; }

#ft-pedigree .pedigree-slot--1-4,
#ft-pedigree .pedigree-link--1-4 { grid-row: 1 / span 4; }
#ft-pedigree .pedigree-slot--5-8,
#ft-pedigree .pedigree-link--5-8 { grid-row: 5 / span 4; }

#ft-pedigree .pedigree-slot {
  display: flex;
  align-items: center;
}

#ft-pedigree .pedigree-node {
  width: 100%;
  min-height: 44px;
  border: 2px solid var(--pedigree-border);
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 10px;
  box-sizing: border-box;
}


#ft-pedigree .pedigree-node--primary {
  background: var(--pedigree-blue);
  border-color: var(--pedigree-blue);
  color: #fff;
}

#ft-pedigree .pedigree-node__inner {
  width: 100%;
}

#ft-pedigree .pedigree-node__name {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

#ft-pedigree .pedigree-node__badge {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: top;
  opacity: 0.95;
}


#ft-pedigree .pedigree-node__id {
    margin-top: 3px;
    font-size: 0.76rem;
    line-height: 1.1;
}

#ft-pedigree .pedigree-node__qualification {
    margin-top: 3px;
    font-size: 0.72rem;
    line-height: 1.15;
    opacity: 0.9;
}

#ft-pedigree .pedigree-link::before,
#ft-pedigree .pedigree-link::after {
  content: "";
  position: absolute;
  background: var(--pedigree-line);
}

#ft-pedigree .pedigree-link::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

#ft-pedigree .pedigree-link::after {
  top: 25%;
  bottom: 25%;
  right: 0;
  width: 2px;
}

#ft-pedigree .pedigree-link--1,
#ft-pedigree .pedigree-link--2,
#ft-pedigree .pedigree-link--3,
#ft-pedigree .pedigree-link--4,
#ft-pedigree .pedigree-link--5,
#ft-pedigree .pedigree-link--6,
#ft-pedigree .pedigree-link--7,
#ft-pedigree .pedigree-link--8 {
  display: none;
}

#ft-pedigree .pedigree-link--1-2::after,
#ft-pedigree .pedigree-link--3-4::after,
#ft-pedigree .pedigree-link--5-6::after,
#ft-pedigree .pedigree-link--7-8::after {
  top: calc(25% - 5px);
  bottom: calc(25% - 5px);
}

#ft-pedigree .pedigree-link--1-4::after,
#ft-pedigree .pedigree-link--5-8::after {
  top: calc(25% - 5px);
  bottom: calc(25% - 5px);
}

#ft-pedigree .pedigree-mobile {
  display: none;
}

@media (max-width: 1200px) {
  #ft-pedigree .pedigree-chart {
    grid-template-columns: minmax(150px, 1fr) 18px minmax(150px, 1fr) 18px minmax(130px, .9fr);
    column-gap: 8px;
  }

  #ft-pedigree .pedigree-col,
  #ft-pedigree .pedigree-link-col {
    row-gap: 8px;
    grid-template-rows: repeat(8, minmax(44px, auto));
  }

  #ft-pedigree .pedigree-node {
    padding: 8px 10px;
  }
}

@media (max-width: 599px) {
  #ft-pedigree .pedigree-chart {
    display: none;
  }

  #ft-pedigree .pedigree-mobile {
    display: grid;
    gap: 24px;
  }

  #ft-pedigree .pedigree-mobile__branch {
    min-width: 0;
  }

  #ft-pedigree .pedigree-mobile__branch:not(:has(.pedigree-mobile__person)),
  #ft-pedigree .pedigree-mobile__families:not(:has(.pedigree-mobile__person)),
  #ft-pedigree .pedigree-mobile__family:not(:has(.pedigree-mobile__person)),
  #ft-pedigree .pedigree-mobile__ancestors:not(:has(.pedigree-mobile__person)) {
    display: none;
  }

  #ft-pedigree .pedigree-mobile__branch + .pedigree-mobile__branch {
    padding-top: 22px;
    border-top: 1px solid #d4deeb;
  }

  #ft-pedigree .pedigree-mobile__branch-title {
    margin: 0 0 12px;
    padding: 8px 10px;
    border-left: 4px solid var(--pedigree-blue);
    background: #e7edf5;
    color: #244873;
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
  }

  #ft-pedigree .pedigree-mobile__branch-title::before {
    display: none !important;
  }

  #ft-pedigree .pedigree-mobile__branch--maternal .pedigree-mobile__branch-title {
    border-left-color: #b33a3a;
    color: #8d2929;
  }

  #ft-pedigree .pedigree-mobile__person {
    min-width: 0;
  }

  #ft-pedigree .pedigree-mobile__relation {
    display: block;
    margin-bottom: 5px;
    color: #52627e;
    font-size: .7rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
  }

  #ft-pedigree .pedigree-mobile__families {
    display: grid;
    gap: 20px;
    margin-top: 16px;
    padding-left: 18px;
    border-left: 2px solid var(--pedigree-line);
  }

  #ft-pedigree .pedigree-mobile__family {
    position: relative;
    min-width: 0;
  }

  #ft-pedigree .pedigree-mobile__family::before {
    content: "";
    position: absolute;
    top: 28px;
    left: -18px;
    width: 16px;
    height: 2px;
    background: var(--pedigree-line);
  }

  #ft-pedigree .pedigree-mobile__ancestors {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
    padding-top: 22px;
  }

  #ft-pedigree .pedigree-mobile__ancestors::before {
    content: "";
    position: absolute;
    top: 13px;
    right: 10%;
    left: 10%;
    height: 2px;
    background: var(--pedigree-line);
  }

  #ft-pedigree .pedigree-mobile__ancestors-title {
    position: absolute;
    top: 0;
    left: 50%;
    padding: 0 6px;
    background: var(--animal-bg, #eef2f7);
    color: #6b7890;
    font-size: .66rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  #ft-pedigree .pedigree-mobile__person--compact .pedigree-node {
    min-height: 58px;
    padding: 7px 6px;
  }

  #ft-pedigree .pedigree-mobile__person--compact .pedigree-node__name {
    font-size: .76rem;
    overflow-wrap: anywhere;
  }

  #ft-pedigree .pedigree-mobile__person--compact .pedigree-node__id,
  #ft-pedigree .pedigree-mobile__person--compact .pedigree-node__qualification {
    font-size: .66rem;
    overflow-wrap: anywhere;
  }
}

/* PRODUCT SHEET PLACEHOLDER LAYOUT */
#product #main .page-content {
  padding: 0;
  margin-top: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#product #main {
  padding-top: 0;
}

.crealim-animal-sheet {
  --animal-blue: #0c3f8d;
  --animal-blue-dark: #092f6a;
  --animal-blue-soft: #6d88ab;
  --animal-border: #b9c7da;
  --animal-bg: #eef2f7;
  --animal-text: #15223b;
  --animal-muted: #52627e;
  max-width: 1220px;
  margin: 0 auto 40px;
  color: var(--animal-text);
}


.animal-card {
  background: var(--animal-bg);
  border: 1px solid #d6deea;
  padding: 24px;
  margin-bottom: 18px;
}

.crealim-animal-sheet > .animal-card:first-child {
  border-top: 0;
}

.animal-grid {
  display: grid;
  gap: 24px;
}

.animal-grid--hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: start;
}

.animal-grid--pedigree {
  grid-template-columns: 1fr;
  align-items: start;
}

.animal-media {
  margin: 0;
  background: #fff;
  border: 2px solid var(--animal-border);
  min-height: 340px;
  overflow: hidden;
}

.animal-media--main {
  min-height: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.animal-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.animal-photo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.animal-photo-carousel__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  box-sizing: border-box;
  border: 2px solid var(--animal-border);
  background: #fff;
}

.animal-photo-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}

.animal-photo-carousel__slide {
  min-width: 100%;
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.animal-photo-carousel__slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.animal-photo-carousel__viewport--single img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.animal-photo-carousel__legend {
  min-height: 46px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--animal-border);
  border-top: 0;
  background: #f4f6f9;
  color: #334d73;
  font-size: .86rem;
  line-height: 1.45;
}

.animal-photo-carousel__button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 42px;
  border: 0;
  background: rgba(9, 47, 106, 0.78);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transform: translateY(-50%);
}

.animal-photo-carousel__button--prev {
  left: 10px;
}

.animal-photo-carousel__button--next {
  right: 10px;
}

.animal-photo-carousel__button:hover,
.animal-photo-carousel__button:focus {
  background: rgba(9, 47, 106, 0.95);
}

.animal-panel {
  min-width: 0;
}

.animal-kicker {
  text-transform: uppercase;
  color: #000;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.animal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin-bottom: 18px;
}

.animal-meta-row {
  background: #fff;
  border: 1px solid var(--animal-border);
  padding: 10px 12px;
}

.animal-meta-label {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  color: var(--animal-muted);
  margin-bottom: 2px;
}

.animal-meta-value {
  display: block;
  font-size: .98rem;
  color: var(--animal-blue-dark);
}

.animal-section-title {
  margin: 0 0 14px;
  color: #fff;
  background: #97a4b3;
  display: inline-block;
  padding: 10px 18px;
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0;
}

.animal-section-title::before {
  display: none !important;
}

.animal-text-box {
  background: #fff;
  border: 2px solid var(--animal-border);
  padding: 18px;
}

.animal-text-box p:last-child {
  margin-bottom: 0;
}

.animal-panel--pedigree {
  min-width: 0;
  overflow: hidden;
}

#ft-pedigree.ft-mid-split {
  display: block;
  margin: 0;
}

@media (max-width: 991px) {
  .crealim-animal-sheet {
    max-width: 100%;
  }

  .animal-grid--hero,
  .animal-grid--pedigree {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .animal-card {
    padding: 16px;
  }

  .animal-meta-grid {
    grid-template-columns: 1fr;
  }

  .animal-section-title {
    font-size: 1.08rem;
  }
}


/* PRODUCT SHEET WRAPPER ALIGNMENT */
#product #main > .ft-product-shell {
  max-width: 1220px;
  margin: 0 auto 40px;
}

#product #main > .ft-product-shell > .ft-title {
  display: block;
  width: 100%;
  max-width: 1220px;
  box-sizing: border-box;
}

#product #main > .ft-product-shell > #content.page-content {
  margin-top: 0;
}

#product #main > .ft-product-shell .crealim-animal-sheet {
  max-width: none;
  margin: 0;
}

@media (max-width: 1260px) {
  #product #main > .ft-product-shell {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 992px) {
  #product #main > .ft-product-shell > .ft-title {
    margin-bottom: 10px;
  }
}

/* Slides */
#crealim-slider.crealim-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    background: #f3f3f3;
}

#crealim-slider .crealim-slides {
    display: flex;
    transition: transform 0.45s ease;
    width: 100%;
}

#crealim-slider .crealim-slide {
    min-width: 100%;
    position: relative;
    flex: 0 0 100%;
}

#crealim-slider .crealim-slide-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

#crealim-slider .crealim-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

#crealim-slider .crealim-caption {
    position: absolute;
    left: 4%;
    bottom: 0%;
    width: min(42%, 580px);
    background: rgba(45, 45, 45, 0.88);
    color: #fff;
    padding: 24px 28px;
    z-index: 2;
}

#crealim-slider .crealim-caption h3 {
    margin: 0 0 12px;
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

#crealim-slider .crealim-caption p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
    color: #fff;
}

#crealim-slider.crealim-bull-carousel .crealim-caption {
    display: flex;
    align-items: center;
    background: var(--crealim-carousel-caption-background-color);
    color: var(--crealim-carousel-caption-text-color);
}

#crealim-slider.crealim-bull-carousel .crealim-caption h3,
#crealim-slider.crealim-bull-carousel .crealim-caption p {
    color: var(--crealim-carousel-caption-text-color);
}

#crealim-slider.crealim-bull-carousel .crealim-caption h3 {
    margin-bottom: 0;
}

#crealim-slider .crealim-prev,
#crealim-slider .crealim-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: rgba(35, 35, 35, 0.55);
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

#crealim-slider .crealim-prev:hover,
#crealim-slider .crealim-next:hover {
    background: rgba(35, 35, 35, 0.8);
}

#crealim-slider .crealim-prev {
    left: 24px;
}

#crealim-slider .crealim-next {
    right: 24px;
}

@media (max-width: 991px) {
    #crealim-slider .crealim-caption {
        width: calc(100% - 32px);
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 16px 18px;
    }

    #crealim-slider .crealim-caption h3 {
        font-size: 1.5rem;
    }

    #crealim-slider .crealim-caption p {
        font-size: 0.95rem;
    }

    #crealim-slider .crealim-prev,
    #crealim-slider .crealim-next {
        width: 46px;
        height: 46px;
        font-size: 1.8rem;
    }

    #crealim-slider .crealim-prev {
        left: 12px;
    }

    #crealim-slider .crealim-next {
        right: 12px;
    }
}

@media (max-width: 767px) {
    #crealim-slider .crealim-slide img {
        aspect-ratio: 4 / 3;
    }

    #crealim-slider .crealim-caption {
        position: static;
        width: 100%;
        background: #2d2d2d;
    }
}

.products.row {
    row-gap: 28px;
}

.products.row .js-product.product {
    margin-bottom: 0;
}

.crealim-list-card {
    background: #fff;
    margin-right: 0;
}

.crealim-list-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.crealim-list-card__header {
    background: var(--crealim-product-gamme-color, #060453);
    padding: 12px 16px;
    text-align: center;
}

.crealim-list-card__title {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.crealim-list-card__image-wrap {
    position: relative;
    background: #fff;
}

.crealim-list-card__media {
    position: relative;
    overflow: visible;
}

.crealim-list-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 2.45;
    object-fit: cover;
}

.crealim-pictos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.crealim-picto {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.crealim-pictos--product {
    margin: 12px 0 18px;
}

.crealim-pictos--product .crealim-picto {
    width: 64px;
    height: 64px;
}

.product-miniature .thumbnail-container,
.product-miniature .product-description,
.product-miniature .highlighted-informations,
.product-miniature .product-flags,
.product-miniature .wishlist-button-add,
.product-miniature .quick-view,
.product-miniature .product-price-and-shipping,
.product-miniature .variant-links,
.product-miniature .product-list-reviews {
    display: none !important;
}

@media (min-width: 768px) {
    .products.row .js-product.product {
        width: 50%;
        max-width: 50%;
        flex: 0 0 50%;
    }
}

#products .products.row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

#products .products.row > .js-product.product {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
}

@media (max-width: 767px) {
    #products .products.row {
        grid-template-columns: 1fr;
    }
}

.featured-products .products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
}

.featured-products .product-miniature {
    max-width: 100%;
}

.featured-products .product-thumbnail img {
    height: 220px;
    object-fit: cover;
}

.featured-products .product-title {
    font-size: 0.9rem;
}

.featured-products .crealim-list-card {
    font-size: 0.9rem;
}

.crealim-home-choose-bulls-content,
.crealim-home-catalogues-content {
    background: #fff;
    border: 1px solid #d8dfeb;
    padding: 24px;
    margin-bottom: 18px;
    color: #1f2f45;
    line-height: 1.6;
}

.crealim-home-choose-bulls-content > *:last-child,
.crealim-home-catalogues-content > *:last-child {
    margin-bottom: 0;
}

.crealim-home-choose-bulls-content ul,
.crealim-home-choose-bulls-content ol,
.crealim-home-catalogues-content ul,
.crealim-home-catalogues-content ol {
    padding-left: 20px;
}

@media (max-width: 768px) {
    .featured-products .products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .featured-products .products {
        grid-template-columns: 1fr !important;
    }
}

/* Bloc Advanced Search */
.PM_ASBlockOutput .card,
.PM_ASBlockOutput .card-block {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.PM_ASBlockOutput .card-header {
    background: transparent;
    border: 0;
    padding: 0 0 18px;
}

.crealim-mobile-filters-close {
    display: none;
}

@media (min-width: 993px) {
    .PM_ASBlockOutput .card-header {
        display: none;
        margin: 0;
        padding: 0;
    }

    .PM_ASBlockOutput .card-block {
        padding-top: 10px;
    }

    .PM_ASBlockOutput .PM_ASCriterionsGroup:first-child .PM_ASCriterionsGroupTitle {
        padding-top: 0;
    }

    #left-column.crealim-sticky-filters {
        position: sticky;
        top: calc(var(--crealim-header-height) + 12px);
        align-self: flex-start;
        max-height: calc(100vh - var(--crealim-header-height) - 24px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }
}

.PM_ASBlockOutput .PM_ASBlockTitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 14px;
    line-height: 1;
}

.PM_ASBlockOutput .PM_ASBlockTitle::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 3px solid #fff;
    background: #fff;
    box-sizing: border-box;
    display: inline-block;
}

/* Groupes */
.PM_ASBlockOutput .PM_ASCriterionsGroup {
    margin-bottom: 8px;
}

.PM_ASBlockOutput .PM_ASCriterionsGroupTitle {
    margin: 0 0 3px;
    text-align: center;
    border: 0;
}

.PM_ASBlockOutput .PM_ASCriterionsGroupName {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
}

/* Selects */
.PM_ASBlockOutput .PM_ASCriterionGroupSelect {
    width: 100%;
    min-height: 34px;
    border: 2px solid #201b7a;
    border-radius: 0;
    background: #fff;
    color: #000;
    font-weight: 700;
    box-shadow: none;
}

/* Wrapper slider */
.PM_ASBlockOutput .PM_ASCriterionsGroup:has(.PM_ASCritRange) .PM_ASCriterionsGroupOuter {
    position: relative;
    padding-top: 5%;
}

/* MIN / MAX uniquement sur sliders */
.PM_ASBlockOutput .PM_ASCriterionsGroup:has(.PM_ASCritRange) .PM_ASCriterionsGroupOuter::before,
.PM_ASBlockOutput .PM_ASCriterionsGroup:has(.PM_ASCritRange) .PM_ASCriterionsGroupOuter::after {
    position: absolute;
    top: -2px;
    font-weight: 800;
    font-size: 0.82rem;
    color: #201b7a;
}

.PM_ASBlockOutput .PM_ASCriterionsGroup:has(.PM_ASCritRange) .PM_ASCriterionsGroupOuter::before {
    content: "MIN";
    left: 0;
}

.PM_ASBlockOutput .PM_ASCriterionsGroup:has(.PM_ASCritRange) .PM_ASCriterionsGroupOuter::after {
    content: "MAX";
    right: 0;
}

/* Slider */
.PM_ASBlockOutput .PM_ASCritRange {
    position: relative;
    height: 3px !important;
    margin: 10px 8px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #201b7a !important;
    box-shadow: none !important;
}

/* Radios / checkboxes */
.PM_ASBlockOutput .PM_ASCriterionGroupCheckbox {
    list-style: none;
    margin: 0;
    padding: 0;
}

.PM_ASBlockOutput .PM_ASCriterionGroupCheckbox > li {
    margin: 0;
}

.PM_ASBlockOutput .PM_ASCriterionGroupCheckbox .radio,
.PM_ASBlockOutput .PM_ASCriterionGroupCheckbox .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 4px 0;
}

.PM_ASBlockOutput .PM_ASCriterionCheckbox {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin: 2px 0 0;
    accent-color: #201b7a;
    cursor: pointer;
}

.PM_ASBlockOutput .PM_ASLabelCheckbox {
    display: block;
    flex: 1 1 auto;
    margin: 0;
    color: #1e1e1e;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.PM_ASBlockOutput .PM_ASLabelCheckbox .PM_ASLabelLink {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 4px;
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
    line-height: inherit;
}

.PM_ASBlockOutput .PM_ASLabelCheckbox .PM_ASLabelLink:hover,
.PM_ASBlockOutput .PM_ASLabelCheckbox .PM_ASLabelLink:focus {
    color: #201b7a;
    text-decoration: none;
}

.PM_ASBlockOutput .PM_ASCriterionNbProduct {
    display: inline;
    margin-left: 2px;
    color: #555;
    font-size: 0.8rem;
    font-weight: 700;
}

.PM_ASBlockOutput .PM_ASCriterionGroupCheckbox .checkbox .PM_ASCriterionCheckbox {
    margin-top: 3px;
}

.PM_ASBlockOutput .PM_ASCriterionGroupCheckbox .checkbox .PM_ASLabelCheckbox {
    padding-top: 0;
}

.PM_ASBlockOutput .PM_ASCriterionGroupCheckbox .checkbox .PM_ASLabelLink {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.PM_ASBlockOutput .PM_ASCriterionGroupCheckbox .checkbox li,
.PM_ASBlockOutput .PM_ASCriterionGroupCheckbox li {
    text-align: left;
}

.PM_ASBlockOutput .PM_ASCritRange .ui-slider-range {
    background: #201b7a !important;
    border: 0 !important;
}

.PM_ASBlockOutput .PM_ASCritRange .ui-slider-handle {
    width: 10px !important;
    height: 10px !important;
    border: 3px solid #201b7a !important;
    background: #fff !important;
    border-radius: 0 !important;
    top: 50% !important;
    margin-top: -5px !important;
    margin-left: -5px !important;
    box-shadow: none !important;
}

/* Valeur min-max native */
.PM_ASBlockOutput .PM_ASCritRangeValue {
    display: block;
    text-align: center;
    margin-top: 2px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #201b7a;
}

/* Groupes vides */
.PM_ASBlockOutput .PM_ASCriterionNoChoice {
    margin-top: 8px;
    color: #777;
    font-style: italic;
}

/* Pour cacher le titre */
.PM_ASBlockTitle {
    display: none !important;
}

/* Pour pas que le contenu soit collé à la navbar */
#products {
    margin-top: 2%;
}

/* Pagination des listings de taureaux */
#products .pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    width: 100%;
    margin: 32px 0 18px;
    padding: 12px 14px;
    border: 1px solid #d8dfeb;
    border-radius: 4px;
    background: #fff;
    font-size: 0.875rem;
}

#products .pagination > div:first-child {
    float: none;
    flex: 1 1 180px;
    width: auto;
    padding: 0;
    color: #5d6878;
    line-height: 1.4;
}

#products .pagination > div:last-child {
    float: none;
    flex: 1 1 320px;
    width: auto;
    margin: 0;
    padding: 0;
}

#products .pagination .page-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin: 0;
    padding: 0;
    background: transparent;
}

#products .pagination .page-list li {
    display: block;
}

#products .pagination .page-list a,
#products .pagination .page-list .spacer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #d8dfeb;
    border-radius: 4px;
    background: #fff;
    color: #26364d;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

#products .pagination .page-list a:hover,
#products .pagination .page-list a:focus {
    border-color: var(--crealim-navbar-color, #94a9c2);
    background: #eef2f6;
    color: #17263a;
    text-decoration: none;
}

#products .pagination .current a {
    border-color: var(--crealim-navbar-color, #94a9c2);
    background: var(--crealim-navbar-color, #94a9c2);
    color: var(--crealim-navigation-text-color, #fff);
    font-size: 0.875rem;
}

#products .pagination .disabled {
    pointer-events: none;
}

#products .pagination .previous,
#products .pagination .next {
    float: none;
    gap: 4px;
    min-width: auto;
    padding-right: 12px;
    padding-left: 12px;
}

#products .pagination .previous .material-icons,
#products .pagination .next .material-icons {
    font-size: 18px;
}

@media (max-width: 767px) {
    #products .pagination {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 24px;
        padding: 12px;
    }

    #products .pagination > div:first-child,
    #products .pagination > div:last-child {
        flex: none;
        width: 100%;
        text-align: center;
    }

    #products .pagination .page-list {
        justify-content: center;
    }

    #products .pagination .page-list a,
    #products .pagination .page-list .spacer {
        min-width: 34px;
        height: 34px;
        padding-right: 8px;
        padding-left: 8px;
    }
}

/* Style bouton pour virer les filtres */
.PM_ASResetSearch {
    display: block;

    background: #fff;
    border: 2px solid #dcdcdc;
    border-radius: 6px;

    padding: 10px 16px;
    margin-bottom: 20px;

    font-weight: 600;
    font-size: 0.95rem;
    color: #333 !important;

    text-decoration: none !important;
    cursor: pointer;

    transition: all 0.2s ease;

    text-indent: -9999px;
    position: relative;
}

.PM_ASResetSearch:hover {
    background: #f5f5f5;
    border-color: #bfbfbf;
}

.PM_ASResetSearch:active {
    transform: translateY(1px);
}

.PM_ASResetSearch::before {
    font-size: 14px;
}

.PM_ASResetSearch::after {
    content: "Supprimer tous les filtres";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    text-indent: 0;
}

.animal-index-section {
    margin-top: 24px;
}

.animal-index-bars-single {
    background: #fff;
    border: 2px solid #d8dfeb;
    padding: 18px 18px 14px;
}

.animal-scale-head {
    display: grid;
    grid-template-columns: 130px 55px 1fr;
    align-items: end;
    gap: 12px;
    margin-bottom: 12px;
    color: #5f6f8c;
    font-size: 12px;
    font-weight: 700;
}

.animal-scale-head-values {
    position: relative;
    height: 16px;
}

.animal-scale-head-values span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
}

.animal-scale-head-values span:nth-child(1) {
    left: 0;
    transform: none;
}

.animal-scale-head-values span:nth-child(2) {
    left: 25%;
}

.animal-scale-head-values span:nth-child(3) {
    left: 50%;
}

.animal-scale-head-values span:nth-child(4) {
    left: 75%;
}

.animal-scale-head-values span:nth-child(5) {
    left: 100%;
    transform: translateX(-100%);
}

.animal-index-row {
    display: grid;
    grid-template-columns: 96px 92px 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.animal-index-label {
    font-weight: 700;
    font-size: 14px;
    color: #173b7a;
    line-height: 1.1;
}

.animal-index-value {
    font-weight: 700;
    font-size: 14px;
    color: #173b7a;
    text-align: right;
    line-height: 1;
    white-space: nowrap;
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 4px;
}

.animal-index-value small {
    display: inline;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1;
}

.animal-index-bar {
    position: relative;
    height: 16px;
    border: 1px solid #d6deea;
    background:
            linear-gradient(to right,
            transparent 0,
            transparent 24.75%,
            #d9e1ec 24.75%,
            #d9e1ec 25.25%,
            transparent 25.25%,
            transparent 49.75%,
            #d9e1ec 49.75%,
            #d9e1ec 50.25%,
            transparent 50.25%,
            transparent 74.75%,
            #d9e1ec 74.75%,
            #d9e1ec 75.25%,
            transparent 75.25%,
            transparent 100%);
    overflow: hidden;
}

.animal-index-bar-middle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6px;
    transform: translateX(-50%);
}

.animal-index-row--metric {
    align-items: end;
}

.animal-index-metric {
    display: grid;
    gap: 6px;
}

.animal-index-metric__scale {
    position: relative;
    height: 16px;
    color: #5f6f8c;
    font-size: 12px;
    font-weight: 700;
}

.animal-index-metric__tick {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
}

.animal-index-metric__tick--left {
    left: 0;
    transform: none;
}

.animal-index-metric__tick--center {
    left: 50%;
}

.animal-index-metric__tick--right {
    left: 100%;
    transform: translateX(-100%);
}

.animal-index-bar--gradient {
    height: 16px;
    border: 1px solid #4b4b4b;
    background: linear-gradient(90deg, #a95d2c 0%, #9c8d2d 28%, #86b62a 62%, #7ed321 100%);
    overflow: visible;
}

.animal-index-bar-cursor {
    position: absolute;
    top: -6px;
    bottom: -6px;
    width: 8px;
    background: #173b7a;
    transform: translateX(-50%);
}

.animal-index-bar-fill {
    display: block;
    position: absolute;
    top: 0;
    height: 100%;
}

.animal-index-row--green .animal-index-bar-fill {
    background: #7fb348;
}

.animal-index-row--green .animal-index-bar-middle {
    background: #7fb348;
}

.animal-index-row--blue .animal-index-bar-fill {
    background: #123f8c;
}

.animal-index-row--blue .animal-index-bar-middle {
    background: #123f8c;
}

.animal-index-row--gray .animal-index-bar-fill {
    background: #97a4b3;
}

.animal-index-row--gray .animal-index-bar-middle {
    background: #97a4b3;
}

.animal-index-row--red .animal-index-bar-fill {
    background: #b33a3a;
}

.animal-index-row--red .animal-index-bar-middle {
    background: #b33a3a;
}

.animal-bars-divider {
    height: 24px;
}

.animal-mini-metrics {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #d8dfeb;
    display: grid;
    gap: 10px;
}

.animal-scale-head--secondary {
    margin-top: -4px;
    font-size: 16px;
}

.animal-scale-head--secondary .animal-scale-head-values {
    height: 20px;
}

.animal-index-source-plain {
    margin-bottom: 6px;
    color: #2c2f36;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-line;
}

.animal-mini-metric {
    display: grid;
    grid-template-columns: 90px 55px 1fr;
    gap: 12px;
    align-items: center;
}

.animal-mini-metric__label {
    font-weight: 700;
    font-size: 14px;
    color: #173b7a;
}

.animal-mini-metric__value {
    font-weight: 700;
    font-size: 14px;
    color: #173b7a;
    text-align: right;
}

.animal-ana-box {
    background: #94a9c2;
    color: #fff;
    margin-top: 14px;
    padding: 10px 14px;
}

.animal-ana-list {
    margin: 0;
    padding-left: 16px;
    font-size: 0.95rem;
    line-height: 1.28;
}

.animal-ana-list li {
    margin: 0 0 2px;
    padding-left: 2px;
}

.animal-ana-list li:last-child {
    margin-bottom: 0;
}

.animal-ana-list strong {
    font-weight: 800;
}

@media (max-width: 767px) {
    .animal-index-bars-single {
        padding: 14px 12px 12px;
    }

    .animal-scale-head {
        display: block;
        margin-bottom: 10px;
    }

    .animal-scale-head > :not(.animal-scale-head-values) {
        display: none;
    }

    .animal-scale-head-values {
        width: 100%;
    }

    .animal-index-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px 12px;
        margin-bottom: 14px;
    }

    .animal-index-label,
    .animal-index-value {
        font-size: 12px;
    }

    .animal-index-label {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .animal-index-value {
        grid-column: 2;
    }

    .animal-index-bar,
    .animal-index-metric {
        grid-column: 1 / -1;
        width: 100%;
    }

    .animal-index-row--metric {
        align-items: center;
    }

    .animal-index-metric__scale {
        font-size: 11px;
    }

    .animal-index-bar-cursor {
        top: -5px;
        bottom: -5px;
        width: 7px;
    }

    .animal-mini-metric {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px 12px;
    }

    .animal-mini-metric__label,
    .animal-mini-metric__value {
        font-size: 12px;
    }

    .animal-mini-metric > :last-child:empty {
        display: none;
    }

    .animal-ana-box {
        padding: 9px 12px;
    }

    .animal-ana-list {
        font-size: 0.85rem;
        padding-left: 16px;
    }
}

.row {
    margin-right: 0;
    margin-left: 0;
}

.crealim-catalogues-list .product-miniature .thumbnail-container {
    display: block !important;
}

.crealim-home-catalogues .product-miniature .thumbnail-container {
    display: block !important;
}

.crealim-catalog-cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px;
}

.crealim-catalog-card {
    background: #fff;
}

.crealim-catalog-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.crealim-catalog-card__header {
    background: #060453;
    padding: 12px 14px;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.crealim-catalog-card__title {
    margin: 0;
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.crealim-catalog-card__media {
    background: #fff;
}

.crealim-catalog-card__image {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    background: #f2f4f8;
}

.crealim-catalog-card__footer {
    background: #fff;
    padding: 14px;
}

.crealim-catalog-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    background: #28b6df;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
}

.crealim-catalogues-year + .crealim-catalogues-year {
    margin-top: 28px;
}

@media (max-width: 768px) {
    .crealim-catalog-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 480px) {
    .crealim-catalog-cards {
        grid-template-columns: 1fr !important;
    }
}

/* Footer */
#footer {
    margin-top: 0;
    padding: 0;
}

#footer > .container:first-child {
    padding-top: 0;
    padding-bottom: 0;
}

#footer > .container:first-child .block-social ul {
    margin-bottom: 0;
}

#footer .footer-container {
    margin-top: 0;
    padding: 0;
    background: var(--crealim-navbar-color);
    box-shadow: 0 -5px 16px rgba(0, 0, 0, .12);
    color: var(--crealim-navigation-text-color);
}

#footer .footer-container > .container {
    max-width: 1180px;
    padding: 34px 32px 30px;
}

#footer .footer-container > .container > .row {
    display: block;
    margin: 0;
}

#footer .footer-container > .container > .row > .col-md-6.links {
    display: none;
}

.crealim-footer-contact {
    display: grid;
    grid-template-columns: minmax(190px, .8fr) minmax(220px, 1fr) minmax(260px, 1fr);
    gap: 48px;
    align-items: start;
    width: 100%;
}

.crealim-footer-contact__brand {
    align-self: center;
}

.crealim-footer-contact__logo-link {
    display: inline-block;
}

.crealim-footer-contact__logo {
    display: block;
    width: min(100%, 230px);
    height: auto;
}

.crealim-footer-contact__section {
    min-width: 0;
}

.crealim-footer-contact__title {
    margin: 0 0 14px;
    color: var(--crealim-navigation-text-color);
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.crealim-footer-contact__address {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    color: var(--crealim-navigation-text-color);
    font-size: .94rem;
    font-style: normal;
    line-height: 1.45;
}

.crealim-footer-contact__address strong {
    margin-bottom: 2px;
    font-weight: 800;
}

.crealim-footer-contact__details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.crealim-footer-contact__line {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    color: var(--crealim-navigation-text-color);
    font-size: .94rem;
    line-height: 1.4;
}

.crealim-footer-contact__label {
    font-weight: 400;
}

.crealim-footer-contact__values {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.crealim-footer-contact a {
    color: var(--crealim-navigation-text-color);
    text-decoration: none;
}

.crealim-footer-contact__line a {
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.crealim-footer-contact__line a:hover,
.crealim-footer-contact__line a:focus {
    color: var(--crealim-navigation-text-color);
    text-decoration-thickness: 2px;
}

.crealim-footer-contact__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 4px;
    padding: 0 16px;
    border: 2px solid var(--crealim-navigation-text-color);
    border-radius: 4px;
    color: var(--crealim-navigation-text-color);
    font-size: .83rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease;
}

.crealim-footer-contact__button:hover,
.crealim-footer-contact__button:focus {
    background: var(--crealim-navigation-text-color);
    color: var(--crealim-navbar-color);
}

.crealim-contact-rich__values {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 2px;
}

.crealim-contact-rich__values a {
    margin-top: 0 !important;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .crealim-footer-contact {
        grid-template-columns: minmax(170px, .7fr) minmax(200px, 1fr) minmax(220px, 1fr);
        gap: 28px;
    }
}

@media (max-width: 720px) {
    #footer .footer-container > .container {
        padding: 28px 22px;
    }

    .crealim-footer-contact {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .crealim-footer-contact__brand {
        padding-bottom: 24px;
    }

    .crealim-footer-contact__logo {
        width: 205px;
    }

    .crealim-footer-contact__section {
        padding: 22px 0;
        border-top: 1px solid rgba(255, 255, 255, .38);
    }

    .crealim-footer-contact__details {
        padding-bottom: 0;
    }
}

@media (max-width: 390px) {
    .crealim-footer-contact__line {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

/* Responsive foundations */
#content-wrapper,
#left-column,
#right-column,
#main,
#content {
    min-width: 0;
}

#cms #content img {
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain;
}

#cms #content video {
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
}

#content.page-content table {
    max-width: 100%;
}

#content.page-content a,
.animal-text-box,
.animal-meta-value {
    overflow-wrap: anywhere;
}

@media (max-width: 992px) {
    #wrapper > .container {
        max-width: 100%;
    }

    h1:not(.product-title),
    h2:not(.product-title) {
        width: 100% !important;
    }

    #main .ft-title {
        font-size: 2.25rem;
    }

    #contact #left-column,
    #contact #content-wrapper {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .PM_ASBlockOutput.PM_ASMobileMode.PM_ASMobileVisible .crealim-mobile-filters-close {
        position: sticky;
        top: calc(var(--crealim-header-height, 70px) + 6px);
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        min-height: 42px;
        margin: 0 0 14px;
        border: 0;
        border-radius: 4px;
        background: #201b7a;
        color: #fff;
        font-weight: 700;
        cursor: pointer;
    }

    .crealim-mobile-filters-close > span[aria-hidden="true"] {
        font-size: 1.5rem;
        font-weight: 400;
        line-height: 1;
    }

    #product #wrapper > .container {
        width: 100%;
        max-width: 100%;
        padding-right: 3px;
        padding-left: 3px;
    }

    #product #content-wrapper {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    #product #wrapper > .container > .row {
        margin-right: 0;
        margin-left: 0;
    }

    .crealim-wrap {
        padding: 8px 12px !important;
    }

    .crealim-grid {
        grid-template-columns: 44px minmax(0, 1fr) 44px !important;
        gap: 6px !important;
    }

    .crealim-nav-left,
    .crealim-nav-right {
        min-width: 44px !important;
    }

    .crealim-burger {
        width: 44px !important;
        height: 44px !important;
    }

    .crealim-logo img {
        max-width: 100%;
        max-height: 50px !important;
    }

    .crealim-panel {
        left: 12px !important;
        right: 12px !important;
        max-height: calc(100vh - 80px) !important;
    }

    h1:not(.product-title),
    h2:not(.product-title) {
        margin: 18px 0 14px !important;
        padding: 11px 14px 11px 48px !important;
        font-size: 1.3rem !important;
        overflow-wrap: anywhere;
    }

    h1::before,
    h2::before {
        left: 16px !important;
        width: 16px !important;
        height: 16px !important;
    }

    #main .ft-title {
        padding: 14px 16px;
        font-size: 1.8rem;
        overflow-wrap: anywhere;
    }

    #product #main > .ft-product-shell {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    #product #main > .ft-product-shell > .ft-title {
        margin-bottom: 0;
    }

    .animal-card {
        padding: 14px;
        margin-bottom: 14px;
    }

    .animal-grid {
        gap: 16px;
    }

    .animal-photo-carousel__button {
        width: 36px;
        height: 38px;
        font-size: 26px;
    }

    .animal-photo-carousel__button--prev {
        left: 6px;
    }

    .animal-photo-carousel__button--next {
        right: 6px;
    }

    .animal-photo-carousel__legend {
        min-height: 0;
        padding: 9px 12px;
    }

    .animal-meta-grid {
        gap: 8px;
    }

    .animal-meta-row,
    .animal-text-box {
        padding: 12px;
    }

    .animal-section-title {
        display: block;
        width: 100%;
        padding: 10px 12px;
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    #ft-pedigree .pedigree-node {
        min-height: 42px;
        padding: 7px 9px;
    }

    #crealim-slider .crealim-caption {
        padding: 14px 16px;
        max-width: none;
    }

    #crealim-slider .crealim-caption h3 {
        font-size: 1.25rem;
        line-height: 1.15;
    }

    #crealim-slider .crealim-prev,
    #crealim-slider .crealim-next {
        width: 38px;
        height: 38px;
        font-size: 1.55rem;
    }

    #crealim-slider .crealim-prev {
        left: 8px;
    }

    #crealim-slider .crealim-next {
        right: 8px;
    }

    .crealim-home-choose-bulls-content,
    .crealim-home-catalogues-content {
        padding: 18px;
    }

    .crealim-listing-search {
        width: 100%;
        margin-bottom: 14px !important;
    }

    .crealim-listing-search input[type="search"] {
        min-width: 0;
    }

    #products .products-selection {
        margin-right: 0;
        margin-left: 0;
    }

    #products .products-selection > .col-lg-7,
    #products .products-selection .sort-by-row {
        width: 100%;
        padding: 0;
    }

    #products .products-selection .sort-by-row {
        display: flex;
        align-items: stretch;
        gap: 10px;
        margin: 0;
    }

    #products .products-sort-order {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        padding: 0;
    }

    #products .products-sort-order .select-title {
        width: 100%;
        min-height: 42px;
    }

    #products .filter-button {
        flex: 0 0 auto;
        width: auto;
        padding: 0;
    }

    #products .filter-button .btn {
        min-height: 42px;
        padding: 0 14px;
        white-space: nowrap;
    }

    #products .products-selection .showing {
        width: 100%;
        margin-top: 12px;
        padding: 0;
        text-align: center;
    }

    #products .products.row {
        gap: 20px;
    }

    #contact .contact-rich,
    #contact .contact-form,
    #contact .contact-form form,
    #contact .contact-form .form-fields {
        width: 100%;
        max-width: 100%;
    }

    #contact .contact-form {
        padding: 18px;
    }

    #contact .contact-form .form-group.row {
        display: block;
        width: 100%;
        margin: 0 0 16px;
    }

    #contact .contact-form .form-group.row > [class*="col-md-"],
    #contact .contact-form .form-group.row > [class*="offset-md-"] {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
        text-align: left;
    }

    #contact .contact-form .form-control-label {
        display: block;
        padding-top: 0;
        margin-bottom: 7px;
    }

    #contact .contact-form .form-control,
    #contact .contact-form textarea {
        width: 100%;
        max-width: 100%;
    }

    #contact .bootstrap-filestyle.input-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    #contact .bootstrap-filestyle .input-group-btn,
    #contact .bootstrap-filestyle .btn {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    #contact .bootstrap-filestyle .btn {
        min-height: 38px;
        padding: 9px 12px;
        border: 0;
        background: #25b9d7;
        color: #fff;
        white-space: normal;
    }

    #content.page-content table {
        display: block;
        overflow-x: auto;
    }

    #footer .footer-container > .container {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .crealim-listing-search {
        flex-wrap: wrap;
    }

    .crealim-listing-search input[type="search"] {
        flex: 1 0 100%;
        border-right: 2px solid #201b7a !important;
    }

    .crealim-listing-search button {
        width: 100%;
        margin-top: -2px;
        min-height: 40px !important;
    }

    #products .products-selection .sort-by-row {
        flex-wrap: wrap;
    }

    #products .products-sort-order,
    #products .filter-button,
    #products .filter-button .btn {
        width: 100%;
    }

    .crealim-footer-contact__brand {
        text-align: center;
    }
}
