/*
Theme Name: Cork 2026
Description: Child theme of Twenty Twenty-Five
Author: Matt Harris
Author URI: https://riotactstudios.com
Template: twentytwentyfive
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive-child
Requires at least: 6.0
Tested up to: 7.03
Requires PHP: 8.2
*/

*:focus {
  outline: none;
}

:root {
  --bodyfont: Inter, sans-serif;
  --headingfont: Libertinus Serif, serif;
  --body-textcolor: #052639;
  --body-accentcolor: #B69C4C;
  --body-bordercolor: #0C0C0C;
  --body-linkcolor: #C40F0F;
  --body-menucolor: #ffffff;
}

.mobile-hidden,
.is-layout-flex.mobile-hidden {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.wp-element-button {
  transition: all 0.3s ease;
}

.wp-element-button:hover {
  background-color: var(--body-textcolor) !important;
  color: #fff !important;
}

a {
  text-decoration: none;
}

strong {
  font-weight: 500;
}

/* Adminbar Fix */
#wpadminbar {
  position: fixed;
}

/* Anchor Link Fix - Works with Sticky */
[id] {
  scroll-margin-top: 100px;
}

  .cork-circle-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--body-textcolor);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cork-circle-icon i,
  .cork-circle-icon svg {
    color: #fff;
    font-size: 20px;
  }
}

/*-------------------------------*/
/*- Header Menu -----------------*/
/*-------------------------------*/

.header-menu-wrapper {
  position: relative;
}

.header-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

.header-menu > li {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  position: relative;
} 

.header-menu > li > a {
  position: relative;
  display: block;
  font-family: var(--bodyfont);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  line-height: 40px;
  letter-spacing: 5px;
  height: 40px;
  margin: 0 20px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-menu > li:not(.menu-item-has-children) > a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: all 0.3s ease;
}

#header.is-stuck .header-menu > li > a {
  line-height: 85px;
  height: 85px;
}

#header.is-stuck .header-menu > li > a:after {
  /*background-color: var(--body-textcolor);*/
}

.header-menu > li:first-child > a {
  margin-left: 0;
}

.header-menu > li:last-child > a {
  margin-right: 0;
}

.header-menu > li.menu-item-has-children > a:after {
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%) rotate(180deg);
  content: '\f2ec';
  font: var(--fa-font-sharp-solid);
  font-size: 8px;
}

.header-menu > li > .sub-menu {
  position: absolute;
  left: 20px;
  top: 100%;
  z-index: 999;
  min-width: 220px;
  background-color: rgba(0,0,0,.9);
  text-align: left;
  margin: 0;
  padding: 10px 0;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  box-shadow: rgba(149, 157, 165, 0.25) 0 14px 24px -6px;

  transition: transform 0.25s ease, opacity 0.2s ease;
}

.header-menu > li:first-child > .sub-menu {
  left: 0;
}

.header-menu > li > .sub-menu > li {
  display: block;
  margin: 0;
  padding: 0 13px;
  border-bottom: 1px solid var(--body-bordercolor);
}

.header-menu > li > .sub-menu > li:last-child {
  border-bottom: 0;
}

.header-menu > li > .sub-menu > li > a {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  padding: 10px;
  margin: 0;
  white-space: nowrap;
  transition: all 0.3s ease;
  color: #fff;
}

.header-menu > li:hover > a,
.header-menu > li > .sub-menu > li a:hover {
  color: var(--body-accentcolor);
}

.header-menu > li.current-menu-item > a,
.header-menu > li > .sub-menu > li.current-menu-item > a {
  color: var(--body-accentcolor);
}

.header-menu > li:hover .sub-menu {
  transform: scaleX(1);
  opacity: 1;
  pointer-events: auto;
}

.header-menu > li:not(.menu-item-has-children) > a:hover::before {
  width: 100%;
}

/*-------------------------------*/
/*- Sale Menu -----------------*/
/*-------------------------------*/

.sale-menu {
  display: flex;
}

.sale-menu > li {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  position: relative;
} 

.sale-menu > li > a {
  position: relative;
  display: block;
  font-family: var(--bodyfont);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  line-height: 40px;
  letter-spacing: 5px;
  height: 40px;
  margin: 0;
  padding: 0 30px 0 20px;
  color: var(--body-textcolor);
  text-decoration: none;
  background-color: #fff;
  transition: all 0.3s ease;
}

.sale-menu > li > .sub-menu {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 999;
  min-width: 220px;
  background-color: rgba(0,0,0,.9);
  text-align: left;
  margin: 0;
  padding: 10px 0;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  box-shadow: rgba(149, 157, 165, 0.25) 0 14px 24px -6px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.sale-menu > li.menu-item-has-children > a:after {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) rotate(180deg);
  content: '\f2ec';
  font: var(--fa-font-sharp-solid);
  font-size: 8px;
}

.sale-menu > li > .sub-menu > li {
  display: block;
  margin: 0;
  padding: 0 13px;
  border-bottom: 1px solid var(--body-bordercolor);
}

.sale-menu > li > .sub-menu > li:last-child {
  border-bottom: 0;
}

.sale-menu > li > .sub-menu > li > a {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  padding: 10px;
  margin: 0;
  white-space: nowrap;
  transition: all 0.3s ease;
  color: #fff;
}

.sale-menu > li:hover .sub-menu {
  transform: scaleX(1);
  opacity: 1;
  pointer-events: auto;
}

.sale-menu > li > .sub-menu > li a:hover {
  color: var(--body-accentcolor);
}

.sale-menu > li > .sub-menu > li.current-menu-item > a {
  color: var(--body-accentcolor);
}

/*-------------------------------*/
/*- Mobile Menu -----------------*/
/*-------------------------------*/

.mobile-menu-open {
  font-size: 20px;
  color: #fff;
}

#mobile-menu-container {
  height: 100%;
  width: 100vw; /* Fixed width to match viewport */
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  background-color: #232020;
  overflow-x: hidden;
  transform: translateX(-100%); /* Initially offscreen */
  transition: transform 0.5s ease; /* Delay visibility on slide-out */
  box-sizing: border-box;
  max-width: 100vw; /* Prevent exceeding viewport */
}

#mobile-menu-container.open {
  transform: translateX(0); /* Slide in */
  transition: transform 0.5s ease; /* No delay on slide-in */
}

#mobile-menu-container .closebtn {
  position: absolute; /* Relative to #mobile-menu-container */
  top: 20px;
  right: 20px;
  font-size: 60px;
  color: #fff;
  z-index: 10000;
  padding: 0;
  margin: 0;
}

#mobile-menu-container * {
  max-width: 100%;
  box-sizing: border-box;
}

.mobile-menu-content {
  position: relative;
  top: 50px;
  width: 100%;
  margin-top: 30px;
  transform: translateX(0); /* Ensure content moves with container */
  transition: transform 0.5s ease; /* Sync with container */
}

#mobile-menu-container:not(.open) .mobile-menu-content {
  transform: translateX(-100%); /* Slide out with container */
}

.menu-mobile {
  padding: 0 0 30px 0;
}

.menu-mobile li {
  list-style: none;
  margin: 0;
}

.menu-mobile li:before {
  content: none;
}

.menu-mobile li a {
  position: relative;
  display: block;
  padding: 10px 20px;
  transition: all .3s ease;
  color: var(--body-accentcolor);
}

.menu-mobile li.menu-toggle > a:after {
  position: absolute;
  content: '';
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #aaa;
  border-right: 2px solid #aaa;
  transform: translateY(-50%) rotate(45deg);
}

.menu-mobile li.menu-toggle > a.active:after {
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-135deg);
}

.menu-mobile li a.active {
  color: #fff;
  background: var(--body-accentcolor);
}

.menu-mobile .sub-menu {
  display: none;
  margin: 0;
  padding: 0;
}

.menu-mobile .sub-menu li a {
  padding: 10px 20px 10px 40px;
}

.menu-mobile .sub-menu li .sub-menu li a {
  padding: 10px 20px 10px 60px;
}

.menu-mobile .current-menu-item a {
  color: #fff;
}

@media (max-width: 400px) {
  #mobile-menu-container .closebtn {
    right: 10px; /* Adjust for smaller screens */
    font-size: 40px; /* Smaller font size */
  }
}

/*-------------------------------*/
/*- Footer ----------------------*/
/*-------------------------------*/

.cork-footer {
  position: relative;
}

.cork-footer::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 150px;

  background-image: url('assets/img/gold-mountains-footer.svg');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.cork-footer-intro {
  position: relative;
  z-index: 2;
  padding-top: 100px !important;

  -webkit-mask:
    url('assets/img/mountain-clip-mask-footer.svg')
      top center / 100% auto no-repeat,
    linear-gradient(#000 0 0)
      bottom center / 100% calc(100% - 150px) no-repeat;

  mask:
    url('assets/img/mountain-clip-mask-footer.svg')
      top center / 100% auto no-repeat,
    linear-gradient(#000 0 0)
      bottom center / 100% calc(100% - 150px) no-repeat;
}

/*-------------------------------*/
/*- Footer Menu -----------------*/
/*-------------------------------*/

.mf-footer__image {
  width: 140px !important;
  max-width: 140px;
  flex: 0 0 140px; /* prevents flexbox from shrinking it */
}

.mf-footer__image img {
  width: 100%;
  height: auto;
  max-width: none; /* override WP */
}

.livestockx-logo img {
  height: 20px;
  width: auto;
}

#footer .wp-block-navigation li a {
  transition: all 0.3s ease;
}

#footer .wp-block-navigation li a:hover {
  color: var(--body-accentcolor);
  text-decoration: none;
}

.footer-links a {
  font-size: 12px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--body-accentcolor);
}

.footer-location a {
  font-size: 13px;
  font-weight: 900;
  transition: all 0.3s ease;
}

.footer-location a:hover {
  color: var(--body-accentcolor);
}

/*-------------------------------*/
/*- Header ----------------------*/
/*-------------------------------*/

.wp-block-template-part {
  position: relative;
}

#header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background-color: rgba(255,255,255,0);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

#header.is-stuck {
  position: fixed;
  background-color: #000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#header.is-stuck .top-menu {
  display: none;
}

#header .header-logo img {
  width: auto;
  height: 70px;
  display: block;
}

/*#header.is-stuck .header-logo img {
  content: url('assets/img/logo-black.svg');
}*/

#header.is-stuck .header-menu > li > a {
  color: var(--body-menucolor);
}

#header .header-button .wp-block-button__link:hover {
  border-color: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
}

#header.is-stuck .header-button .wp-block-button__link {
  border-color: #000;
  color: #000 !important;
}

#header.is-stuck .header-button .wp-block-button__link:hover {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

#header.is-stuck .mobile-menu-open {
  color: var(--body-textcolor);
}

/*-------------------------------*/
/*- Gravity Forms ---------------*/
/*-------------------------------*/

.gform-theme--framework .gform_footer button.gform_button {
  border-radius: 0 !important;
  text-transform: uppercase !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 5px !important;
  font-family: var(--bodyfont) !important;
}

/*-------------------------------*/
/*- Hero ------------------------*/
/*-------------------------------*/

.cork-hero {
  position: relative;
  min-height: 100svh;
  height: auto;
  padding-top: 200px;
  padding-bottom: 160px;
  align-items: flex-start;
}

.cork-hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 150px;
  background-image: url(assets/img/gold-mountains.svg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.cork-intro { 
    position: relative; 
    margin-top: -160px !important; 
    padding-top: 100px; 
    z-index: 2; 

    -webkit-mask:
        url('assets/img/mountain-clip-mask.svg') 
            top center / 100% auto no-repeat,
        linear-gradient(#000 0 0)
            bottom center / 100% calc(100% - 160px) no-repeat;

    mask:
        url('assets/img/mountain-clip-mask.svg') 
            top center / 100% auto no-repeat,
        linear-gradient(#000 0 0)
            bottom center / 100% calc(100% - 160px) no-repeat;
}

.cork-bottleneck {
  background-image: url('assets/img/hereford-bull-bg.png');
  background-position: right top;
  background-size: 60% auto;
  background-repeat: no-repeat;
}

.cork-features {
  position: relative;
  z-index: 3;
}

.cork-feature-button a {
  color: var(--body-accentcolor);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  background: none;
}

.small-width {
  max-width: 50px !important;
}

.cork-eyebrow {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cork-eyebrow::after {
    content: "";
    display: block;
    width: 55px;
    height: 2px;
    margin-top: 18px;
    background: var(--wp--preset--color--accent-1);
}

.cork-story-image img {
  filter:
    grayscale(.7)
    saturate(.4)
    contrast(.7)
    brightness(1.2);
  border: 2px solid var(--body-textcolor);
}

.cork-brand {
  overflow: hidden;
}

.cork-brand__cow {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.cork-brand__cow img {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  z-index: 5;
  max-width: none;
}

/*-------------------------------*/
/*- Feature Card Block ----------*/
/*-------------------------------*/

.cork-feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--wp--preset--color--accent-1);
    background: var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--base);
    text-decoration: none;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.cork-feature-card__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.cork-feature-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.cork-feature-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--wp--preset--spacing--30) 20px;
}

.cork-feature-card__heading {
    margin: 0;
}

.cork-feature-card__rule {
    display: block;
    width: 40px;
    height: 1px;
    margin: var(--wp--preset--spacing--30) 0 20px;
    background: var(--wp--preset--color--accent-1);
}

.cork-feature-card__description {
    margin: 0 0 20px;
    font-size: var(--wp--preset--font-size--small);
}

.cork-feature-card__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    font-size: 14px;
    color: var(--body-accentcolor);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cork-feature-card__button i {
    transition: transform 0.3s ease;
}


/* Hover */

.cork-feature-card:hover .cork-feature-card__img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.cork-feature-card:hover .cork-feature-card__button {
  color: #fff;
}

.cork-feature-card:hover .cork-feature-card__button i {
    transform: translateX(5px);
}

/*-------------------------------*/
/*- Gold Circle -----------------*/
/*-------------------------------*/

.cork-gold-circle {
  position: relative;
}

.cork-gold-circle img {
  width: 90px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.cork-gold-circle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 100px;
  height: 100px;
  border: 1px solid var(--body-accentcolor);
  border-radius: 50%;
}

.cork-focus-points {
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 40px !important;
}

.cork-focus-points > .wp-block-group {
  min-width: 250px;
}

/*-------------------------------*/
/*- Breed Card Block ------------*/
/*-------------------------------*/

.cork-breed-grid {
    align-items: center;
}

.cork-breed-grid > *:nth-child(2) {
    margin-top: -25px;
    margin-bottom: -25px;
}

.cork-breed-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 2px solid var(--wp--preset--color--accent-1);
  border-radius: 8px;
  background: #f7f5f1;
  color: var(--wp--preset--color--contrast);
  text-decoration: none;
  overflow: hidden;
}

.cork-breed-card__image {
  position: relative;
  overflow: hidden;
}

.cork-breed-card__image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient(
        to bottom,
        rgba(247, 245, 241, 0) 0%,
        rgba(247, 245, 241, 1) 50%,
        #f7f5f1 100%
    );
    pointer-events: none;
}

.cork-breed-card__img {
    width: 100%;
    height: auto;
    filter:
        /*grayscale(0.65)*/
        /*sepia(0.08)*/
        saturate(0.55)
        contrast(0.90)
        brightness(1.25);

    opacity: 0.88;
}

.cork-breed-card__content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 180px;
    padding: 25px;
    background: #f7f5f1;
}

.cork-breed-card__title {
    margin: 0;
    color: var(--wp--preset--color--contrast);
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.1;
    text-transform: none;
}

.cork-breed-card__rule {
    display: block;
    width: 42px;
    height: 2px;
    margin: 14px 0 20px;
    background: var(--wp--preset--color--accent-1);
}

.cork-breed-card__traits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.cork-breed-card__trait {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
}

.cork-breed-card__trait:not(:last-child)::after {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--wp--preset--color--accent-1);
    flex: 0 0 auto;
}

.cork-breed-card__number {
    position: absolute;
    font-family: var(--headingfont);
    right: 20px;
    bottom: 15px;
    font-size: 50px;
    line-height: 1;
    color: #ded1bc;
    pointer-events: none;
}

/*-------------------------------*/
/*- Spotlight -------------------*/
/*-------------------------------*/

.mf-spotlight__item {
  position: relative;
}

.mf-spotlight__image {
  position: relative;
  display: flex;
  justify-content: flex-end;
  overflow-x: hidden;
  overflow-y: hidden;
}

.mf-spotlight__image img {
  display: block;
  width: auto;
  height: 700px;
  max-width: none;
  object-position: right;
  transform: translateX(100px);
  filter: grayscale(1);
  transition: all 0.3s ease;
}

.mf-spotlight__item:hover .mf-spotlight__image img {
  filter: grayscale(0);
}

.mf-spotlight__image::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.1) 100%     
  );
}

.mf-spotlight__title {
  position: absolute;
  top: 40px;
  left: 40px;
  background-color: var(--body-accentcolor);
  padding: 4px 12px;
  z-index: 3;
  display: inline-block;
  max-width: 60%;
}

.mf-spotlight__title h3 {
  color: #fff;
  font-family: var(--bodyfont);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 3px;
  margin: 0;
  font-weight: 700;
}

.mf-spotlight__footer {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
  justify-content: space-between;
  width: calc(100% - 80px);
}

.mf-spotlight__label span {
  font-family: var(--headingfont);
  font-size: 96px;
  line-height: 93%;
  letter-spacing: -4px;
  font-weight: 400;
  text-transform: uppercase;
}

.mf-spotlight__label p {
  margin: 0;
}

.mf-spotlight__link a {
  text-decoration: underline;
  text-transform: uppercase;
}

/*-------------------------------*/
/*- About Section ---------------*/
/*-------------------------------*/

.mf-about__content {
  padding: 40px 0 0 0;
}

.mf-about__content p {
  max-width: 100%;
  margin: 0 auto;
}

.mf-about__image {
  position: relative;
}

.mf-about__image .wp-block-image {
  position: relative;
  left: -40px;
  bottom: 0;
  overflow: hidden;
  width: calc(100% + 40px);
  height: 600px;
}

.mf-about__image .wp-block-image img {
  position: absolute;
  left: 0;
  top: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/*-------------------------------*/
/*- MF List ---------------------*/
/*-------------------------------*/

.mf-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*.mf-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.mf-list li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background-color: var(--body-accentcolor);
  margin: 0 10px;
}*/

.mf-list li {
  display: block;
  position: relative;
  padding-left: 20px;
}

.mf-list li::before {
  content: "";
  position: absolute;
  display: block;
  width: 4px;
  height: 16px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--body-accentcolor);
}

/*-------------------------------*/
/*- Profile Awards --------------*/
/*-------------------------------*/

.profile-awards {
  columns: 2;
  column-gap: 40px;
}

.profile-award {
  break-inside: avoid;
  margin-bottom: 16px;
}

.profile-award__event {
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--body-accentcolor);
}

.profile-award__placement {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

/*-------------------------------*/
/*- Catalog Owners --------------*/
/*-------------------------------*/

body .catalog-owners {
  list-style: none;
  margin: 0;
  padding: 0;
}

body .catalog-owners li.owner-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 10px;
}

.owner-name {
  width: 100%;
  font-weight: 600;
}

.owner-phone {
  width: 110px;
  border-right: 1px solid var(--body-textcolor);
  line-height: 1;
}

.owner-phone a {
  font-weight: 500;
}

.owner-website {
  padding-left: 10px;
  line-height: 1;
}

.owner-website a {
  color: var(--body-accentcolor);
  font-weight: 500;
}

/*-------------------------------*/
/*- Account Block ---------------*/
/*-------------------------------*/

.frontend-user {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.frontend-user-avatar {
  position: relative;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

.frontend-avatar-initials {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  font-size: 12px;
  color: #fff;
}

/*-------------------------------*/
/*- Herd Profile Block ----------*/
/*-------------------------------*/

.herd-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: #f3f1ed;
  border: 1px solid var(--body-textcolor);
}

.herd-profile-image a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.herd-profile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter .3s ease;
}

.herd-profile-image img:hover {
  filter: grayscale(0);
}

.herd-profile-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 20px;
}

.herd-profile-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 20px;
}

.herd-profile-title h3 {
  margin: 0;
  font-size: 50px;
}

.herd-profile-breed {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--body-accentcolor);
}

.herd-profile-breed::after {
  content: "";
  width: 50px;
  height: 1px;
  background: currentColor;
}

.herd-profile-details {
  display: grid;
  gap: 20px;
}

.herd-profile-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(182, 156, 76, .25);
}

.herd-profile-detail:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.herd-profile-detail-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--body-accentcolor);
  border-radius: 50%;
}

.herd-profile-detail-icon i {
  font-size: 30px;
  color: var(--body-accentcolor);
}

.herd-profile-detail-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.herd-profile-detail-content {
  min-width: 0;
}

.herd-profile-detail-label {
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--body-accentcolor);
}

.herd-profile-detail-value {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.herd-profile-button {
  display: flex;
  justify-content: flex-end;
}

.herd-profile-button a {
  color: var(--body-textcolor);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  transition: color .3s ease;
}

.herd-profile-button a:hover {
  color: var(--body-accentcolor);
}

/*-------------------------------*/
/*- Catalog Card ----------------*/
/*-------------------------------*/

.wp-block-column:has(.catalog-card) {
  display: flex;
  flex-direction: column;
}

body .catalog-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  background-color: none;
  border: 1px solid var(--body-accentcolor);
  box-shadow: none;
  border-radius: 0;
}

body .catalog-card h3 {
  position: relative;
  font-size: 24px;
  border: none;
}

.catalog-card h3::after {
  content: '';
  position: relative;
  display: block;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--body-accentcolor);
}

/*-------------------------------*/
/*- Catalog Card Details --------*/
/*-------------------------------*/

.catalog-card-details {
  display: grid;
  gap: 20px;
}

.catalog-card-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(182, 156, 76, .25);
}

.catalog-card-detail:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.catalog-card-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--body-accentcolor);
  border-radius: 50%;
}

.catalog-card-icon i {
  font-size: 30px;
  color: var(--body-accentcolor);
}

.catalog-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.catalog-card-content {
  min-width: 0;
}

.catalog-card-label {
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--body-accentcolor);
}

.catalog-card-value {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

/*-------------------------------*/
/*- Catalog Card Section --------*/
/*-------------------------------*/

.catalog-card-section {

}

.catalog-card-section h4 {
  font-size: 20px;
}

/*-------------------------------*/
/*- Lineage ---------------------*/
/*-------------------------------*/

body .lineage-name {
  border-bottom: 1px solid var(--body-textcolor);
  font-weight: 500;
}

body .lineage-parent:first-child .lineage-link,
body .lineage-parent:last-child .lineage-name {
  border-right: 1px solid var(--body-textcolor);
}

body .lineage-link a {
  color: var(--body-accentcolor);
  font-weight: 500;
}

/*-------------------------------*/
/*- EPDs ------------------------*/
/*-------------------------------*/

body .catalog-card .epd-list {
  justify-content: space-between;
}

body .catalog-card .epd {
  border: 1px solid var(--body-accentcolor);
}

/*-------------------------------*/
/*- About Intro -----------------*/
/*-------------------------------*/

.about-intro {
  background-image: url('assets/img/bull-cutout-2.png');
  background-repeat: no-repeat;
  background-position: 120% top;
  background-size: 60% auto;
  padding-top: 100px !important;
}

.fill-row-images.wp-block-group.is-layout-grid {
  align-items: stretch;
}

.fill-row-images > .wp-block-image {
  height: 100%;
  max-height: 150px;
  min-width: 0;
  margin: 0;
}

.fill-row-images > .wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*-------------------------------*/
/*- Cork Gallery ----------------*/
/*-------------------------------*/

.cork-gallery {
    display: grid;
    gap: 1.25rem;
}

.cork-gallery__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.cork-gallery__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cork-gallery__caption {
    position: absolute;
    left: 0;
    bottom: 0;

    padding: 1rem 1.25rem;

    background: #bda04b;
    color: #fff;

    font-size: 1rem;
    line-height: 1;
    letter-spacing: .2em;
    text-transform: uppercase;
}

/*-------------------------------*/
/*- Map Block -------------------*/
/*-------------------------------*/

.large-map {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  border: 1px solid #999;
  overflow: hidden;
}

/*-------------------------------*/
/*- Bull Carousel Block ---------*/
/*-------------------------------*/

.single-bull-profile {
  position: relative;
  margin: 0 5px;
}

.single-bull-profile img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}

.single-bull-profile .breed {
  display: block;
  position: absolute;
  bottom: 59px;
  right: 5px;
  font-size: 12px;
  background-color: rgba(0,0,0,.8);
  color: #fff;
  text-transform: uppercase;
  padding: 4px 10px;
}

.single-bull-profile h5 {
  text-align: center;
  margin: 20px;
}

/*-------------------------------*/
/*- Sold Gallery Block ----------*/
/*-------------------------------*/

.sold-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 10px;
  grid-auto-flow: dense;
}

.sold-gallery a {
  display: block;
}

.sold-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.sold-gallery-big {
  position: relative;
  grid-row: span 3;
  grid-column: span 2;
  border: 1px solid #000;
  padding: 10px;
}

.sold-gallery-big .sold-arrow {
  position: relative;
  left: calc(100% - 70px);
  bottom: 70px;
  z-index: 5;
  border-radius: 50%;
  background-color: #fff;
  width: 50px;
  height: 50px;
}

.sold-gallery-big .sold-arrow:before {
  content: '\f061';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font: var(--fa-font-sharp-regular);
  color: #000;
}

.sold-gallery-small {
  position: relative;
}

.sold-gallery-small img {
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.sold-gallery-small img:hover {
  filter: grayscale(0%);
}

.sold-gallery-small .sold-arrow {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

.sold-gallery-small .sold-arrow:before {
  content: '\f061';
  font: var(--fa-font-sharp-regular);
  display: inline-block;
  transform: rotate(325deg);
  color: #fff;
}

/*-------------------------------*/
/*- Sire Highlight Block --------*/
/*-------------------------------*/

.sire-highlight .sire-featured {
  max-width: 1000px;
  margin: auto;
}

.sire-highlight .sire-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.sire-tile {
  width: calc(50% - 10px);
}

.sire-highlight .sire-featured__image img,
.sire-highlight .sire-tile__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border: 1px solid #000;
  padding: 10px;
  filter: 
    grayscale(100%) 
    sepia(20%) 
    brightness(0.9);
  transition: all 0.3s ease;
}



.sire-highlight .sire-featured__image img:hover,
.sire-highlight .sire-tile__image img:hover {
  filter:
    grayscale(0%)
    sepia(0%)
    brightness(1);
}

.sire-highlight .sire-featured__meta,
.sire-highlight .sire-tile__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px 0;
}

.sire-highlight .sire-featured__meta h4,
.sire-highlight .sire-tile__meta h4 {
  font-family: var(--bodyfont);
  font-weight: 800;
  font-size: 24px;
  margin: 0;
}

.sire-highlight .sire-tile__meta h4 {
  font-size: 18px;
}

.sire-highlight .sire-featured__meta .highlight-breed,
.sire-highlight .sire-tile__meta .highlight-breed {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  text-transform: uppercase;
}

.sire-highlight .sire-featured__meta .highlight-breed:before,
.sire-highlight .sire-tile__meta .highlight-breed:before {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: rgba(178, 178, 178, 0.41);
}

.sire-highlight .sire-tile__meta .highlight-breed:before {
  width: 25px;
}

.sire-highlight .sire-featured__meta .highlight-breed:after,
.sire-highlight .sire-tile__meta .highlight-breed:after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background-image: url('assets/img/single-star.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

/*-------------------------------*/
/*- Fancybox Fix ----------------*/
/*-------------------------------*/

.fancybox__caption {
  text-align: center;
}

/*-------------------------------*/
/*- Payment Form ----------------*/
/*-------------------------------*/

.simpay-embedded-heading.simpay-styled .simpay-form-title,
.simpay-embedded-heading.simpay-styled .simpay-form-description {
  text-align: center;
}

.simpay-checkout-form--stripe_checkout-styled.simpay-styled, 
.simpay-checkout-form--embedded.simpay-styled {
  max-width: 100%;
}

.simpay-customer-name-container,
.simpay-text-container {
  width: 100%;
}

.simpay-customer-name-container {
  margin-right: 10px;
}

.simpay-label-wrap label {
  font-size: 14px;
  margin-bottom: .25rem;
}

.simpay-field-wrap input {
  width: 100%;
  border-radius: 5px;
  padding: 0.75rem;
  border: 1px solid #e6e6e6;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  height: 44px;
}

.simpay-field-wrap input:focus {
  outline: 0;
  border-color: #0570de;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02), 0 0 0 3px hsla(210, 96%, 45%, 25%), 0 1px 1px 0 rgba(0, 0, 0, 0.08);
}

.simpay-custom-amount-container .simpay-currency-symbol {
  background-color: #e6e6e6;
  padding: 0 10px !important;
  height: 44px;
  box-sizing: border-box;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  font-size: 12px;
  line-height: 44px;
}

.simpay-field-wrap .simpay-amount-input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.simpay-styled .simpay-custom-amount-container .simpay-custom-amount-input {
  max-width: 100%;
  flex: 1 1 100%;
}

.simpay-field-wrap .simpay-amount-input::placeholder {
    color: #ccc; /* Set your desired color */
}

.simpay-text-container:has(input[name="simpay_field[Company]"]) {
  width: 100%;
}

.simpay-checkout-btn-container {
  display: flex;
  justify-content: flex-end;
}

.Tab--selected {
  border-color: var(--body-accentcolor);
  color: var(--body-accentcolor);
  box-shadow: inset 0 -2px var(--body-accentcolor);
}

.simpay-checkout-btn {
  display: block;
  width: 25%;
  background-color: var(--body-accentcolor);
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

body #simpay-form-955 .simpay-checkout-btn {
  background-color: var(--body-accentcolor) !important;
}

body #simpay-form-955 .simpay-checkout-btn:hover {
  background-color: var(--body-accentcolor) !important;
}

.simpay-subtotal-amount-label,
.simpay-fee-recovery-label,
.simpay-total-amount-label {
  display: flex;
  justify-content: flex-end;
  font-size: 15px;
}

.simpay-subtotal-amount-label span,
.simpay-fee-recovery-label span,
.simpay-total-amount-label span {
  display: block;
}

.simpay-subtotal-amount-value,
.simpay-fee-recovery-amount-value,
.simpay-total-amount-value {
  width: 100px;
  text-align: right;
}

.simpay-total-amount-label,
.simpay-total-amount-value {
  font-weight: 600;
}

/*-------------------------------*/
/*- IVF Report ------------------*/
/*-------------------------------*/

.ivf-report {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
}

.ivf-report caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

.ivf-report tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

.ivf-report th,
.ivf-report td {
  padding: .625em;
  border: 1px solid #ddd;
}

.ivf-report th {
  text-align: center;
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media screen and (max-width: 800px) {
  .ivf-report {
    border: 0;
  }

  .ivf-report caption {
    font-size: 1.3em;
  }
  
  .ivf-report thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  .ivf-report tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  .ivf-report td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  .ivf-report td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .ivf-report td:last-child {
    border-bottom: 0;
  }
}

.visit-box {
  padding: 20px 0 !important;
  aspect-ratio: 1 / 1 !important;
}

/*-------------------------------*/
/*- LiveStockX Changes ----------*/
/*-------------------------------*/ 

/* Breadcrumbs */

.woocommerce-breadcrumb a {
  font-size: 14px;
}

/* Catalog Item */

body .listing .catalog-item,
.listing-item-wrapper .catalog-item {
  border-radius: 0;
  border: 1px solid var(--body-accentcolor);
  margin-bottom: 20px;
  background: none;
}

/* Catalog Title */

.catalog-title {
  font-size: 22px;
  font-weight: 500;
}

.catalog-title span {
  font-size: 16px;
}

.catalog-title span a {
  font-weight: 500;
  text-decoration: none;
  color: var(--body-accentcolor);
}

/* Catalog Categories */

body .catalog-categories li {
  border: 1px solid var(--body-accentcolor);
}

/* Catalog Description */

body .catalog-description a,
body .catalog-details a {
  font-size: 14px;
  font-weight: 600;
}

/* Catalog Action */

body .catalog-status {
  justify-content: center;
}

body .catalog-action-icon {
  background-color: var(--body-accentcolor);
  border-radius: 0;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.3s ease;
}

body .catalog-action-icon:hover {
  background-color: var(--body-textcolor);
}

/* Single Catalog Item - Title */

.catalog-item-title {
  margin: 0;
  font-weight: 500;
  color: #fff;
}

.catalog-item-title span {
  font-size: 28px;
  color: var(--body-accentcolor);
}

.catalog-item-title span a {
  font-weight: 500;
  font-size: 28px;
  color: var(--body-accentcolor);
  text-decoration: none;
}

.single-catalog-title .catalog-categories {
  border-bottom: 0;
}

/* Single Catalog Item - Blocks */

body .catalog-item-gallery-image,
body .catalog-thumb, 
body .favorite-item .catalog-thumb,
body .catalog-thumb img,
body .wp-block-acf-catalog-item, 
body .favorite-item {
  border-radius: 0;
}

body .catalog-item-side-inner .catalog-action-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--body-accentcolor);
  padding: 10px;
  align-self: normal;
  height: auto;
}

body .catalog-categories {
  border-bottom: 1px dashed var(--body-textcolor);
}

/* Sale Events */

.sale-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.sale-contacts li {
  display: block;
  width: 100%;
  padding: 20px 40px;
  text-align: center;
  border: 1px solid #000;
}

.sale-contacts li span {
  display: block;
}

.sale-contacts li a {
  color: var(--body-linkcolor);
}

/* Dashboard Widgets */

body .lex-widget-heading h3 {
  font-family: var(--bodyfont);
  font-weight: 900;
  letter-spacing: 1px;
}

body .lex-widget-button {
  background-color: transparent;
  color: var(--body-textcolor);
  transition: all 0.3s ease;
  border-radius: 0;
  border: 1px solid var(--body-textcolor);
  padding: 8px;
}

body .lex-widget-button:hover {
  background-color: var(--body-textcolor);
  color: #fff;
}

body .lex-widget-tab-header,
body .lex-widget-wrapper,
body #livestockx-account .account-sidebar {
  border-radius: 0;
}

body #livestockx-account input, 
body #livestockx-account select, 
body #livestockx-account textarea {
  border-radius: 0;
}

.woocommerce-MyAccount-navigation-link a {
  color: var(--body-textcolor);
}

.account-submenu a {
  font-size: 16px;
}

.wp-block-acf-sales-contacts h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 400;
}

/*-------------------------------*/
/*- Payment Form ----------------*/
/*-------------------------------*/

body #simpay-embedded-form-wrap-955,
body #simpay-form-955 {
  background: none !important;
} 

#add_payment_method #payment {
  background-color: #ffffff !important; /* White background */
  border-radius: 0 !important; /* Match the 10px border radius from your filter */
}

#livestockx-account #add_payment_method #payment div.payment_box, 
#livestockx-account .woocommerce-cart #payment div.payment_box, 
#livestockx-account .woocommerce-checkout #payment div.payment_box {
  background-color: #f7f7f7;
}

#livestockx-account #add_payment_method #payment div.payment_box::before, 
#livestockx-account .woocommerce-cart #payment div.payment_box::before, 
#livestockx-account .woocommerce-checkout #payment div.payment_box::before {
  border: 1em solid #f7f7f7;
  border-right-color: transparent;
  border-left-color: transparent;
  border-top-color: transparent;
}

#livestockx-account .wc-payment-form {
  border: 0;
}

/*-------------------------------*/
/*- Products --------------------*/
/*-------------------------------*/ 

.wp-block-acf-stock {
  font-size: 12px;
  border: 1px solid #fff;
  padding: 5px 10px;
  text-transform: uppercase;
  color: #fff;
}

.wc-block-components-product-summary,
.wc-block-components-product-summary p {
  margin: 0;
}

.search-filter-component-combobox-base {
  border-radius: 0;
  border-color: var(--);
}

/*.wc-block-components-product-image__inner-container {
  background-color: rgba(0,0,0,.3);
}*/

:where(.wc-block-product-template .wc-block-product)>:not(:last-child) {
  margin-bottom: 0;
}

.taxonomy-product_cat a {
  font-size: 14px;
}

.wp-block-acf-beef-cuts ul {
  padding-inline-start: 0;
  list-style-position: inside;
}

.wc-block-components-product-stock-indicator--in-stock {
  color: green;
}

.wc-block-components-product-stock-indicator--out-of-stock {
  color: red;
}

.wp-block-add-to-cart-form {
  /*display: none;*/
}

.stock-status {
  font-size: 14px;
}

.stock-status.instock {
  color: green;
}

.stock-status.outofstock {
  color: #aaa;
}

.stock-status-variations {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.variation-stock {
  font-size: 14px;
  padding: 2px 5px;
  border-radius: 2px;
}

.variation-stock.instock {
  border: 1px solid #ddd;
  color: var(--body-textcolor);
}

.variation-stock.outofstock {
  border: 1px dashed #ddd;
  color: #ddd;
}

/*-------------------------------*/
/*- Profiles Title --------------*/
/*-------------------------------*/ 

.profile-title {
  font-size: 50px;
  margin: 0;
  color: #fff;
}

.profile-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-meta .profile-breed {
  position: relative;
  text-transform: uppercase;
  color: var(--body-accentcolor);
  font-weight: 600;
  font-size: 20px;
  padding-left: 60px;
}

.profile-meta .profile-breed::before {
  position: absolute;
  display: block;
  content: '';
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--body-accentcolor);
}

.profile-meta .profile-registration {
  color: var(--body-accentcolor);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.profile-meta .profile-registration a {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.profile-meta .profile-registration a:hover {
  color: var(--body-accentcolor);
}

/*-------------------------------*/
/*- Product Grid Mobile Fix -----*/
/*-------------------------------*/ 

@media (max-width: 599px) {
    .wc-block-product-template__responsive {
        grid-template-columns: 1fr !important;
    }
}

/*-------------------------------*/
/*- Product Highlights ----------*/
/*-------------------------------*/ 

.cork-product-highlights {
    border-top: 1px solid #c9a84c;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.cork-product-highlights__title {
    margin: 0 0 1rem;
    font-family: var(--wp--preset--font-family--serif);
    font-size: 1.5rem;
    text-transform: uppercase;
}

.cork-product-highlights__list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cork-product-highlights__item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.cork-product-highlights__icon {
    flex: 0 0 auto;
    color: #b99a3e;
    line-height: 1.5;
}

.cork-product-highlights__text {
    line-height: 1.5;
}

/*-------------------------------*/
/*- Beef Page -------------------*/
/*-------------------------------*/ 

.beef-grid-item {
  width: calc(100% / 3);
}

/*-------------------------------*/
/*- Lineage ---------------------*/
/*-------------------------------*/

.lineage-link a {
  color: var(--body-linkcolor);
}

/*-------------------------------*/
/*- Newsletter Form -------------*/
/*-------------------------------*/

#gform_fields_1 {
  row-gap: 12px;
}

/*-------------------------------*/
/*- Contact Form ----------------*/
/*-------------------------------*/

#gform_wrapper_2 input[type="text"],
#gform_wrapper_2 input[type="email"],
#gform_wrapper_2 input[type="tel"],
#gform_wrapper_2 textarea,
#gform_wrapper_2 select {
    background: rgba(255,255,255,0.2) !important;
    box-shadow: none !important;
}

#gform_wrapper_2 {
    background: transparent !important;
    padding: 0 !important;
}

/* Reduce vertical space between rows */
#gform_wrapper_2 .gform_fields {
    row-gap: 12px !important;
}

/* Remove any field-level vertical spacing */
#gform_wrapper_2 .gfield {
    margin-block: 0 !important;
}

/* Tighten space above submit button */
#gform_wrapper_2 .gform_footer {
    margin-top: 12px !important;
    padding-top: 0 !important;
}

/*-------------------------------*/
/*- Larger Than Phone -----------*/
/*-------------------------------*/ 

@media (min-width: 750px) {

  .cork-hero {
    position: relative;
    max-height: none;
  }

  .cork-hero::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 350px;
    background-image: url(assets/img/gold-mountains.svg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% auto;
  }

  .cork-intro { 
    position: relative; 
    margin-top: -360px !important; 
    padding-top: 200px; 
    z-index: 2; 

    -webkit-mask:
      url('assets/img/mountain-clip-mask.svg') 
        top center / 100% auto no-repeat,
      linear-gradient(#000 0 0)
        bottom center / 100% calc(100% - 360px) no-repeat;

    mask:
      url('assets/img/mountain-clip-mask.svg') 
        top center / 100% auto no-repeat,
      linear-gradient(#000 0 0)
        bottom center / 100% calc(100% - 360px) no-repeat;
  }

  .cork-footer::after {
    height: 350px;  
  }

  .cork-footer-intro {
    padding-top: 150px !important;

    -webkit-mask:
      url('assets/img/mountain-clip-mask-footer.svg')
        top center / 100% auto no-repeat,
      linear-gradient(#000 0 0)
        bottom center / 100% calc(100% - 350px) no-repeat;

    mask:
      url('assets/img/mountain-clip-mask-footer.svg')
        top center / 100% auto no-repeat,
      linear-gradient(#000 0 0)
        bottom center / 100% calc(100% - 350px) no-repeat;
  }

  .cork-brand__cow {
    height: 350px;
  }

  .cork-brand__cow img {
    top: -80px;
  }

  .cork-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .map-section-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
  }

  .herd-profile-image {
    width: 50%;
  }

  .herd-profile-content {
    width: calc(50% - 20px);
  }

  .simpay-customer-name-container,
  .simpay-text-container {
    width: calc(50% - 5px);
    float: left;
  }

  .sale-contacts li { width: calc((100% / 2) - 20px); }

  .sold-gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }

  .sold-gallery-big {
    grid-row: span 3;
    grid-column: span 4;
  }

  .mf-spotlight__image {
    justify-content: center;
  }

  .mf-spotlight__image img {
    display: block;
    width: 100%;
    height: auto;
    object-position: center;
    transform: translateX(0);
  }

  .mf-profile__media {
    width: 60%;
  }

  .mf-profile__content {
    width: 40%;
  }

/*-------------------------------*/
/*- Larger Than iPad ------------*/
/*-------------------------------*/ 

@media (min-width: 1000px) {

  .cork-hero::after {
    height: 170px;
  }  

  .cork-intro { 
    position: relative; 
    margin-top: -200px !important; 
    padding-top: 200px; 
    z-index: 2; 

    -webkit-mask:
      url('assets/img/mountain-clip-mask.svg') 
        top center / 100% auto no-repeat,
      linear-gradient(#000 0 0)
        bottom center / 100% calc(100% - 360px) no-repeat;

    mask:
      url('assets/img/mountain-clip-mask.svg') 
        top center / 100% auto no-repeat,
      linear-gradient(#000 0 0)
        bottom center / 100% calc(100% - 360px) no-repeat;
  }

  .cork-footer-intro {
    padding-top: 150px !important;
  }

  .cork-focus-points > .wp-block-group:not(:last-child) {
    border-right: 1px solid var(--body-accentcolor);
    padding-right: 40px;
  }

  .cork-brand__cow {
    height: 100%;
  }

  .cork-brand__cow img {
    top: -80px;
    left: -80px;
    transform: translateX(0);
    width: auto;
    height: calc(100% + 130px);
  }

  .cork-gallery--count-4 {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));

        gap: 1.5rem;

        /* Controls overall desktop gallery proportions */
        aspect-ratio: 2.35 / 1;
    }

    .cork-gallery--count-4 .cork-gallery__item {
        margin: 0;
        min-width: 0;
        min-height: 0;
        aspect-ratio: auto;
    }

    .cork-gallery--count-4 .cork-gallery__item--1 {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .cork-gallery--count-4 .cork-gallery__item--2 {
        grid-column: 2;
        grid-row: 1;
    }

    .cork-gallery--count-4 .cork-gallery__item--3 {
        grid-column: 2;
        grid-row: 2;
    }

    .cork-gallery--count-4 .cork-gallery__item--4 {
        grid-column: 3;
        grid-row: 1 / 3;
    }

    .cork-gallery--count-4 .cork-gallery__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

  .catalog-item-title {
    font-size: 50px;
  }

  body .catalog-action {
    border-left: 1px solid var(--body-accentcolor);
  }

  .sire-tile {
    width: calc((100% - 60px) / 4);
  }

  .beef-grid-item {
    width: calc(100% / 4);
  }

  .sale-contacts li { width: calc((100% / 3) - 20px); }

  body .catalog-status { justify-content: flex-end; }

  #copyright {
    justify-content: space-between;
  }

  .visit-box {
    padding: 0;
    aspect-ratio: 4 / 3 !important;
  } 

  .mf-brand__cow img {
    right: calc(50% - 60px);
  }

  .fill-row-images > .wp-block-image {
    max-height: 200px;
  }

  .about-intro {
    padding-top: 0 !important;
  }

}

/*-------------------------------*/
/*- Larger Width ----------------*/
/*-------------------------------*/ 

@media (min-width: 1200px) {

  .mobile-menu-open {
    display: none;
  }

  .header-menu, body .mobile-hidden-flex,
  .is-layout-flex.mobile-hidden {
    display: flex;
  }

  .mobile-hidden {
    display: block;
  }
}

/*-------------------------------*/
/*- Full Width ------------------*/
/*-------------------------------*/ 

@media (min-width: 1350px) {

  .cork-hero::after {
    height: 350px;
  }

  .cork-intro { 
    position: relative; 
    margin-top: -360px !important; 
    padding-top: 300px; 
    z-index: 2; 

    -webkit-mask:
      url('assets/img/mountain-clip-mask.svg') 
        top center / 100% auto no-repeat,
      linear-gradient(#000 0 0)
        bottom center / 100% calc(100% - 360px) no-repeat;

    mask:
      url('assets/img/mountain-clip-mask.svg') 
        top center / 100% auto no-repeat,
      linear-gradient(#000 0 0)
        bottom center / 100% calc(100% - 360px) no-repeat;
  }

  .cork-footer-intro {
    padding-top: 250px !important;
  }

  .cork-brand__cow img {
    top: -80px;
    left: -80px;
    width: calc(100% + 80px);
    height: auto;
  }

  .fill-row-images > .wp-block-image {
    max-height: 250px;
  }

}