/*
Theme Name: Genetics Australia
Theme URI: https://geneticsaustralia.com.au/
Author: Your Name
Description: Custom theme for Genetics Australia
Version: 1.0
*/

@import url('css/fonts.css');

/* Base font-size set to 16px for the entire theme */
html {
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 170px; /* Space for fixed header — measured at ≥1440px */
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1rem; /* 16px base */
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
  width: 100%;
}

/* Fix for horizontal overflow - properties moved to html selector above */

/* Make all tables responsive */
table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

/* Table wrapper for horizontal scrolling on small screens */
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Remove default margins */
h1, h2, h3, h4, h5, h6, p, ul, ol {
  margin-top: 0;
}

/* Container */
.ga-container {
  margin-left: 30px !important;
  margin-right: 30px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* General Page Container - for pages without custom templates */
.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
  box-sizing: border-box;
}

/* General Page Content Wrapper */
.site-main,
.ga-page-content {
  width: 100%;
  background: #fff;
  padding-top: 40px;
  padding-bottom: 60px;
}

/* Page Article Styling */
.ga-page-article {
  margin-bottom: 40px;
}

/* Page Title Styling */
.ga-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #003c71;
  margin-bottom: 30px;
  line-height: 1.2;
}

/* Who We Are (page 258852): inline section heading currently has the
   `genAustGreen` Gutenberg class but no matching CSS rule, so it falls back
   to default H1 colour. Client wants this heading to read in brand navy. */
.page-id-258852 h1.wp-block-heading.genAustGreen,
.page-id-258852 h1.wp-block-heading.entry-header {
  color: #003c71;
}

/* C15: Sire grid card images were being cropped at the legs on mobile because
   `.product-image img` was set to `height: 100%` while its parent was
   `height: auto`. On narrow viewports that combination produced a squat
   container so `object-fit: cover` chopped the bottom of the image. Forcing
   `height: auto` on mobile restores the natural aspect ratio so the whole
   bull is visible. */
@media (max-width: 768px) {
  .australian-sires-product-card .product-image,
  .angus-product-card .product-image,
  .product-card .product-image {
    height: auto;
  }
  .australian-sires-product-card .product-image img,
  .angus-product-card .product-image img,
  .product-card .product-image img {
    height: auto;
    object-fit: contain;
  }
}

/* InfoContainer & ParentInfoContainer - Values/Feature boxes */
.ParentInfoContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 0;
}

.InfoContainer {
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #00407a;
  border-radius: 16px;
  overflow: hidden;
  padding: 30px 20px;
  box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.3);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 0 1 250px;
  min-width: 200px;
  max-width: 280px;
  min-height: 175px;
}

.InfoContainer h2,
.InfoContainer h3,
.InfoContainer h4,
.InfoContainer h5,
.InfoContainer h6 {
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #fff;
  margin: 0 0 10px 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.25rem;
}

.InfoContainer p {
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #fff;
  margin: 0;
  line-height: 1.4;
  font-weight: 400;
}

.InfoContainer > * {
  width: 100%;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .ParentInfoContainer {
    gap: 15px;
    padding: 10px 0;
  }

  .InfoContainer {
    flex: 0 1 100%;
    max-width: 100%;
    min-height: auto;
    padding: 25px 15px;
  }
}

/* Page Entry Content */
.entry-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.entry-content h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #003c71;
  margin-top: 40px;
  margin-bottom: 20px;
}

.entry-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #003c71;
  margin-top: 30px;
  margin-bottom: 15px;
}

.entry-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #003c71;
  margin-top: 25px;
  margin-bottom: 15px;
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.entry-content li {
  margin-bottom: 10px;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
}

.entry-content a {
  color: #00a77e;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.entry-content a:hover {
  color: #003c71;
}

/* Responsive Design for General Pages */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
  }

  .ga-page-title {
    font-size: 2.25rem;
  }

  .entry-content h2 {
    font-size: 1.75rem;
  }

  .entry-content h3 {
    font-size: 1.35rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-main,
  .ga-page-content {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .ga-page-title {
    font-size: 1.875rem;
    margin-bottom: 20px;
  }

  .entry-content {
    font-size: 0.9375rem;
  }

  .entry-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
  }

  .entry-content h3 {
    font-size: 1.25rem;
    margin-top: 25px;
  }

  .entry-content h4 {
    font-size: 1.125rem;
  }

  .entry-content ul,
  .entry-content ol {
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .site-main,
  .ga-page-content {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .ga-page-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .entry-content {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .entry-content h2 {
    font-size: 1.25rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .entry-content h3 {
    font-size: 1.125rem;
    margin-top: 20px;
    margin-bottom: 12px;
  }

  .entry-content h4 {
    font-size: 1rem;
  }

  .entry-content p {
    margin-bottom: 15px;
  }

  .entry-content img {
    margin: 20px 0;
  }
}

/* Header Styles - Sticky header stays at top when scrolling */
.ga-header {
  width: 100%;
  z-index: 5000;
  position: fixed !important;
  top: 0;
  margin-top: 0;
  padding-top: 0;
  overflow: visible;
  box-sizing: border-box;
  background: #fff;
  margin-bottom: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Mobile header hidden by default */
.ga-header-mobile {
  display: none;
}

/* Fixed Header Styles */
.ga-fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ga-fixed-header .ga-header-top {
  display: none;
}

.ga-fixed-header .ga-secondary-nav-container {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Scrolled Header Styles - Compact Header */
.ga-header-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 5000;
}

.ga-header-scrolled .ga-header-top {
  display: block;
  background-color: #fff;
  padding: 0;
  margin: 0;
}


.ga-header-scrolled .ga-logo-container {
  width: 180px;
}

.ga-header-scrolled .ga-logo-box {
  min-height: 100px;
  min-width: 160px;
  padding: 10px 20px;
  border-bottom-right-radius: 30px;
}

.ga-header-scrolled .ga-logo {
  max-height: 120px;
  max-width: 150px;
}

.ga-header-scrolled .ga-header-search,
.ga-header-scrolled .ga-header-phone {
  display: none;
}

.ga-header-scrolled .ga-primary-nav-container {
  margin-top: 0;
  padding-bottom: 0;
}

.ga-header-scrolled .ga-nav-right {
  margin-top: -10px;
  padding-right: 45px;
}

.ga-header-scrolled .ga-secondary-nav-container {
  margin-top: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ga-header-scrolled .ga-secondary-nav {
  padding-left: 220px;
}

/* Smooth transitions for scrolled header */
.ga-header {
  transition: all 0.3s ease;
}

.ga-logo-box {
  transition: all 0.3s ease;
}

.ga-logo {
  transition: all 0.3s ease;
}

.ga-header-search,
.ga-header-phone {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ga-header-top-inner {
  transition: height 0.3s ease, padding 0.3s ease;
}

.ga-logo-container {
  transition: width 0.3s ease;
}

.ga-primary-nav-container {
  transition: margin-top 0.3s ease;
}

.ga-nav-right {
  transition: margin-top 0.3s ease, padding 0.3s ease;
}

/* Mobile responsive styles for scrolled header */
@media (max-width: 768px) {
  .ga-header-scrolled .ga-header-top-inner {
    height: 50px;
    padding-left: 0;
    padding-right: 15px;
    flex-direction: row;
    justify-content: space-between;
  }

  .ga-header-scrolled .ga-logo-container {
    width: 150px;
    position: relative;
    margin-bottom: 0;
  }

  .ga-header-scrolled .ga-logo-box {
    min-height: 50px;
    min-width: 120px;
    padding: 8px 15px;
    border-bottom-right-radius: 20px;
  }

  .ga-header-scrolled .ga-logo {
    max-height: 35px;
    max-width: 10px;
  }

  .ga-header-scrolled .ga-primary-nav-container {
    display: none;
  }

  .ga-header-scrolled .ga-secondary-nav {
    padding-left: 15px;
    padding-right: 15px;
    min-height: 40px;
  }

  .ga-header-scrolled .ga-secondary-menu li a {
    padding: 10px 5px;
    font-size: 12px;
  }

  .ga-header-scrolled .ga-secondary-menu > li {
    margin-left: 15px;
  }
}

/* Top Header Section */
.ga-header-top {
  background-color: #fff;
  position: relative;
  padding-bottom: 0;
  margin-top: 0;
  z-index: 5000;
  overflow: visible;
}

.ga-header-top-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  height: auto;
  padding-left: 0px;
  padding-right: 60px;
  overflow: visible;
}

/* Logo Container */
.ga-logo-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  width: 280px;
}

/* Logo Box */
.ga-logo-box {
  background: #fff;
  padding: 0px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  min-height: 100px;
  position: relative;
  z-index: 3001;
  transition: all 0.3s ease;
  margin-left:20px;
  padding-top: 5px;
}

.ga-logo {
  max-height: auto;
  max-width: 180px;
}

/* Right Side Header Content */
.ga-header-right {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex: 1;
  padding-right: 0;
  padding-top: 0;
  min-width: 0;
  gap: 15px;
}

/* Search Box */
.ga-header-search {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 25px;
  padding-top: 10px;
}

.ga-search-form {
  display: flex;
  align-items: center;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  overflow: visible;
  background: #fff;
  position: relative;
}

.ga-search-input {
  padding: 10px 15px;
  border: none;
  outline: none;
  width: 220px;
  font-size: 0.875rem; /* 14px based on 16px base */
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: transparent;
  flex: 1;
}

.ga-search-input::placeholder {
  color: #999;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ga-search-button {
  padding: 10px 12px;
  border: none;
  background: #00b386;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.ga-search-button:hover {
  background: #008a6f;
}

.ga-search-button svg {
  width: 16px;
  height: 16px;
}

/* Search Results Dropdown */
.ga-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d1d1d1;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 999999 !important;
  max-height: 300px;
  overflow-y: auto;
  display: none;
}

/* Ensure header search container has proper z-index */
.ga-header-search {
  position: relative;
  z-index: 999999 !important;
}

.ga-search-result-item {
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.ga-search-result-item:last-child {
  border-bottom: none;
}

.ga-search-result-item:hover,
.ga-search-result-item.active {
  background-color: #f8f9fa;
}

.ga-search-result-item a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  gap: 12px;
}

.ga-search-result-image {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ga-search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.ga-search-result-image img[loading="lazy"] {
  opacity: 0;
}

.ga-search-result-image img[loading="lazy"].loaded {
  opacity: 1;
}

.ga-search-result-content {
  flex: 1;
  min-width: 0;
}

.ga-search-result-title {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.3;
}

.ga-search-result-sku {
  font-size: 12px;
  color: #666;
  margin-bottom: 2px;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ga-search-result-price {
  font-size: 13px;
  color: #00a77e;
  font-weight: 600;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ga-search-loading,
.ga-search-error,
.ga-search-no-results {
  padding: 15px;
  text-align: center;
  color: #666;
  font-size: 14px;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ga-search-error {
  color: #e74c3c;
}

/* Search Results Responsive */
@media (max-width: 768px) {
  .ga-search-results {
    left: -15px;
    right: -15px;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .ga-search-result-item a {
    padding: 10px 15px;
  }

  .ga-search-result-image {
    width: 40px;
    height: 40px;
  }

  .ga-search-result-title {
    font-size: 13px;
  }
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Phone Number - Matching Live Site Style with Dark Container */
.ga-header-phone {
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.4em;
  line-height: 2.3em;
  background-color: #404041;
  border-radius: 0 0 30px 0;
  overflow: hidden;
  height: 42px;
  color: #fff;
  padding: 0 15px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.ga-header-phone a {
  color: #fff;
  text-decoration: none;
  font-weight: normal;
  font-size: inherit;
  display: inline;
  line-height: inherit;
}

.ga-header-phone a:hover {
  color: #f0f0f0;
  text-decoration: none;
}

/* Primary Navigation Container */
.ga-primary-nav-container {
  background-color: transparent;
  border-bottom: none;
  margin-top: 20px;
  position: relative;
  z-index: 300;
  padding-bottom: 5px;
  overflow: visible;
  max-width: 100%;
  padding-left: 300px;
  padding-right: 45px;
}

/* Primary Navigation */
.ga-primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 40px;
  width: 100%;
}

/* Right Navigation */
.ga-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 9998;
  margin-top: 0;
  width: 100%;
  padding-right: 0;
  max-width: 100%;
  overflow: visible;
}

/* Primary Menu */
.ga-primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 1;
  overflow: visible; /* Changed from hidden to visible for dropdown menus */
}

.ga-primary-menu > li {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 25px;
  white-space: nowrap;
}

.ga-primary-menu > li:first-child {
  margin-left: 0;
}

.ga-primary-menu > li > a {
  color: #00a77e;
  text-decoration: none;
  font-weight: 400;
  font-size: 1.25rem; /* 20px based on 16px base */
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: color 0.3s ease;
  background: transparent;
  padding: 8px 12px;
  display: inline-block;
  line-height: 1.4;
}

.ga-primary-menu > li > a:hover {
  color: #00a77e;
  text-decoration: none;
}

.ga-primary-menu > li.current-menu-item > a,
.ga-primary-menu > li.current-menu-ancestor > a {
  color: #003c71;
  text-decoration: none;
}

.ga-primary-menu li.menu-item-has-children > a:after {
  content: '\25BC';
  font-size: 10px;
  margin-left: 8px;
  vertical-align: middle;
  color: #00a77e;
  display: none; /* Hide default arrow since we're using toggle button */
  transition: color 0.3s ease;
}

/* Submenu Toggle Button */
.ga-submenu-toggle {
  background: none;
  border: none;
  color: #00a77e;
  font-size: 12px;
  margin-left: 5px;
  padding: 0;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  vertical-align: middle;
}

.ga-submenu-toggle:hover {
  color: #003c71;
}

/* Desktop submenu toggle rotation */
.ga-primary-nav-container .ga-submenu-toggle[aria-expanded="true"],
.ga-secondary-nav-container .ga-submenu-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}

.ga-primary-menu li.current-menu-item .ga-submenu-toggle,
.ga-primary-menu li.current-menu-ancestor .ga-submenu-toggle {
  color: #003c71;
}

/* Submenu */
.ga-primary-menu ul.sub-menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 8px 0;
  min-width: 220px;
  z-index: 9999 !important;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  list-style: none !important;
}

.ga-primary-menu li.menu-item-has-children:hover > ul.sub-menu,
.ga-primary-menu li.menu-item-has-children.submenu-open > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Ensure hover works for specific menu classes */
.ga-primary-menu li.about-us-menu:hover > ul.sub-menu,
.ga-primary-menu li.resources-menu:hover > ul.sub-menu,
.ga-primary-menu li.cooperative-menu:hover > ul.sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
  pointer-events: auto;
}

/* Additional hover support for desktop */
@media (min-width: 769px) {
  .ga-primary-menu li.menu-item-has-children:hover > ul.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* Keep submenu open when hovering over submenu items */
  .ga-primary-menu li.menu-item-has-children:hover > ul.sub-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

.ga-primary-menu ul.sub-menu li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

.ga-primary-menu ul.sub-menu li:before {
  content: none !important;
}

.ga-primary-menu ul.sub-menu li a {
  color: #00a77e;
  font-size: 14px;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 10px 18px;
  display: block;
  white-space: nowrap;
  background: transparent;
  border: none;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
  line-height: 1.4;
  position: relative;
  z-index: 10000;
}

.ga-primary-menu ul.sub-menu li a:hover {
  background: #f8f9fa;
  color: #00a77e;
}

/* Cart Icon */
.ga-cart-icon {
  display: flex !important;
  align-items: center;
  color: #00a77e;
  margin-left: 15px;
  margin-right: 10px;
  position: relative;
  text-decoration: none;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 9999;
  flex-shrink: 0;
}

.ga-cart-icon svg {
  display: block !important;
  width: 24px;
  height: 24px;
  stroke: #00a77e;
  fill: none;
  stroke-width: 2;
  visibility: visible !important;
  transition: stroke 0.3s ease;
}

.ga-cart-icon:hover {
  color: #003c71;
  background-color: rgba(0, 167, 126, 0.1);
}

.ga-cart-icon:hover svg {
  stroke: #003c71;
}

/* Cart count badge */
.ga-cart-count {
  position: absolute;
  top: -8px;
  right: -4px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  min-width: 18px;
  z-index: 10000;
}

.ga-cart-count:empty {
  display: none;
}

/* Ensure cart icon is always visible - override any WooCommerce hiding */
.woocommerce .ga-cart-icon,
.woocommerce-page .ga-cart-icon,
a.ga-cart-icon {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Clean cart icon styling */
.ga-cart-icon {
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

/* Secondary Navigation Container */
.ga-secondary-nav-container {
  background-color: #003c71;
  padding: 0;
  position: relative;
  z-index: 200;
  margin-top: -10px;
  margin-bottom: 0;
}

/* Secondary Navigation */
.ga-secondary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 50px;
  padding-left: 0px; /* Make space for the logo */
  padding-right: 80px;
  padding-top: 10px;
}

/* Secondary Menu */
.ga-secondary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.ga-secondary-menu > li {
  position: relative;
  margin-left: 30px;
  white-space: nowrap;
}

.ga-secondary-menu > li:first-child {
  margin-left: 0;
}

.ga-secondary-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 15px 5px;
  display: inline-block;
}

.ga-secondary-menu li a:hover {
  text-decoration: underline;
}

.ga-secondary-menu li.menu-item-has-children > a:after {
  content: '\25BC';
  font-size: 8px;
  margin-left: 5px;
  vertical-align: middle;
  color: #fff;
  display: inline-block;
}

/* Mobile Menu Toggle */
.ga-mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
  margin-right: 15px;
  padding: 0;
}

.ga-mobile-menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.ga-mobile-menu-toggle span:nth-child(1) {
  top: 6px;
}

.ga-mobile-menu-toggle span:nth-child(2) {
  top: 14px;
}

.ga-mobile-menu-toggle span:nth-child(3) {
  top: 22px;
}

.ga-mobile-menu-toggle.active span:nth-child(1) {
  top: 14px;
  transform: rotate(135deg);
}

.ga-mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.ga-mobile-menu-toggle.active span:nth-child(3) {
  top: 14px;
  transform: rotate(-135deg);
}

/* Three Box Navigation Section */
.ga-three-box-nav {
  background: #f9f9f9;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.ga-three-box-container {
  display: flex;
  max-width: 1200px;
  margin: 20px auto;
  gap: 20px;
}

.ga-nav-box {
  position: relative;
  background: #00a77e;
  flex: 1;
  height: auto;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.ga-nav-box-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 10px 20px;
}

.ga-nav-box-image img {
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Remove the filter to show original images */
}

.ga-nav-box-footer {
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
}

.ga-nav-box-title {
  color: #333;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ga-nav-box-arrow {
  color: #333;
  font-size: 12px;
  font-weight: bold;
}

.ga-nav-box-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  text-decoration: none;
}

/* Hover Effects */
.ga-nav-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* International Sires Special Hover (Blue Background on Footer Only) */
.ga-international-sires-box:hover .ga-nav-box-footer {
  background: #003c71;
}

/* Australian Sires Special Hover (Blue Background on Footer Only) */
.ga-australian-sires-box:hover .ga-nav-box-footer {
  background: #003c71;
}

/* Beef Sires Special Hover (Blue Background on Footer Only) */
.ga-beef-sires-box:hover .ga-nav-box-footer {
  background: #003c71;
}

/* Merchandise Special Hover (Blue Background on Footer Only) */
.ga-merchandise-box:hover .ga-nav-box-footer {
  background: #003c71;
}

/* Dairy Sires Special Hover (Blue Background on Footer Only) */
.ga-dairy-sires-box:hover .ga-nav-box-footer {
  background: #003c71;
}

.ga-australian-sires-box:hover .ga-nav-box-title {
  color: #fff;
}

.ga-beef-sires-box:hover .ga-nav-box-title {
  color: #fff;
}

.ga-international-sires-box:hover .ga-nav-box-title {
  color: #fff;
}

.ga-merchandise-box:hover .ga-nav-box-title {
  color: #fff;
}

.ga-dairy-sires-box:hover .ga-nav-box-title {
  color: #fff;
}

/* Three Box Navigation Responsive Styles */
@media (max-width: 768px) {
  .ga-three-box-container {
    flex-direction: column;
    max-width: 100%;
  }

  .ga-nav-box {
    height: 150px;
  }

  .ga-nav-box-image {
    padding: 20px 15px 15px 15px;
  }

  .ga-nav-box-image img {
    max-width: 80px;
    max-height: 60px;
  }

  .ga-nav-box-title {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .ga-nav-box {
    height: 120px;
  }

  .ga-nav-box-image {
    padding: 15px 10px 10px 10px;
  }

  .ga-nav-box-image img {
    max-width: 60px;
    max-height: 45px;
  }

  .ga-nav-box-footer {
    padding: 8px 15px;
  }

  .ga-nav-box-title {
    font-size: 12px;
  }

  .ga-nav-box-arrow {
    font-size: 10px;
  }
}

/* Responsive Styles */
@media (max-width: 1440px) {
  .ga-container {
    margin-left: 30px !important;
    margin-right: 30px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .ga-primary-menu > li {
    margin-left: 15px;
  }

  .ga-primary-menu > li > a {
    font-size: 1.125rem; /* 18px based on 16px base */
  }

  .ga-nav-link {
    font-size: 0.9375rem; /* 15px based on 16px base */
    margin-left: 15px;
  }

  .ga-secondary-menu > li {
    margin-left: 20px;
  }

  .ga-primary-nav-container {
    padding-left: 250px;
    padding-right: 20px;
  }

  .ga-nav-right {
    padding-right: 0;
  }

  .ga-secondary-nav {
    padding-right: 10px;
  }
}

/* Mobile Header Styles - Below 996px */
@media (max-width: 996px) {
  /* Hide desktop header, show mobile header */
  .ga-header-desktop {
    display: none;
  }

  .ga-header-mobile {
    display: block;
    background-color: #003c71;
    padding: 15px 0;
    position: relative;
    z-index: 5000;
  }

  .ga-mobile-header-inner {
    display: flex;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Mobile Left Section */
  .ga-mobile-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 110px;
    min-width: 110px;
  }

  /* Mobile Menu Toggle (Hamburger) */
  .ga-mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
  }

  .ga-mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .ga-mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .ga-mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .ga-mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Mobile Logo - Center Section */
  .ga-mobile-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .ga-mobile-logo-img {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
  }

  /* Mobile Icons - Right Section */
  .ga-mobile-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 110px;
    min-width: 110px;
    justify-content: flex-end;
  }

  .ga-mobile-cart-icon,
  .ga-mobile-account-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
  }

  .ga-mobile-cart-icon:hover,
  .ga-mobile-account-icon:hover {
    color: #00a77e;
  }

  .ga-mobile-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #00a77e;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }

  /* Mobile Navigation Menu - Optimized for Speed */
  .ga-mobile-nav-container {
    display: none;
    background-color: #003c71;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 4999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ga-mobile-nav-container.active {
    display: block !important;
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

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

  .ga-mobile-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
  }

  /* Ensure parent menu items with children have proper positioning */
  .ga-mobile-menu li.menu-item-has-children {
    position: relative;
  }

  .ga-mobile-menu li:last-child {
    border-bottom: none;
  }

  .ga-mobile-menu a {
    display: block;
    padding: 16px 20px;
    color: #fff;
    text-decoration: none;
    font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: background-color 0.2s ease, color 0.2s ease;
    position: relative;
  }

  .ga-mobile-menu li.menu-item-has-children > a {
    padding-right: 50px;
    position: relative;
  }

  .ga-mobile-menu a:hover,
  .ga-mobile-menu a:focus {
    background-color: rgba(255,255,255,0.1);
    color: #00a77e;
    outline: none;
  }

  /* Mobile Submenu Toggle Button - Fixed positioning */
  .ga-mobile-nav-container .ga-submenu-toggle {
    position: absolute !important;
    right: 15px !important;
    top: 16px !important; /* Fixed position from top instead of 50% */
    transform: none !important; /* Remove transform to avoid positioning issues */
    background: none !important;
    border: none !important;
    color: #00a77e !important;
    cursor: pointer !important;
    padding: 8px !important;
    border-radius: 4px !important;
    transition: background-color 0.2s ease !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    z-index: 10 !important;
    margin: 0 !important;
  }

  .ga-mobile-nav-container .ga-submenu-toggle:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: #00a77e !important;
  }

  .ga-mobile-nav-container .ga-submenu-toggle span {
    transition: transform 0.3s ease !important;
    display: block !important;
    color: #00a77e !important;
    font-weight: bold !important;
    line-height: 1 !important;
    transform-origin: center !important;
  }

  /* Mobile submenu toggle rotation - only rotate the span, keep button position fixed */
  .ga-mobile-nav-container .ga-submenu-toggle[aria-expanded="true"] {
    position: absolute !important;
    right: 15px !important;
    top: 16px !important; /* Same fixed position as collapsed state */
    transform: none !important; /* No transform to avoid positioning issues */
  }

  .ga-mobile-nav-container .ga-submenu-toggle[aria-expanded="true"] span {
    transform: rotate(180deg) !important;
  }

  /* Mobile Submenus */
  .ga-mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: rgba(0,0,0,0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .ga-mobile-submenu.active {
    max-height: 500px;
  }

  .ga-mobile-submenu li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .ga-mobile-submenu li:last-child {
    border-bottom: none;
  }

  .ga-mobile-submenu a {
    padding: 12px 20px 12px 40px;
    font-size: 15px;
    color: rgba(255,255,255,0.9);
  }

  .ga-mobile-submenu a:hover,
  .ga-mobile-submenu a:focus {
    background-color: rgba(255,255,255,0.1);
    color: #00a77e;
  }

  /* Third level submenus (sub-submenus) */
  .ga-mobile-submenu-level-2 {
    background-color: rgba(0,0,0,0.3);
  }

  .ga-mobile-submenu-level-2 li {
    border-bottom: 1px solid rgba(255,255,255,0.03);
  }

  .ga-mobile-submenu-level-2 a {
    padding: 10px 20px 10px 60px; /* Extra indentation for third level */
    font-size: 14px;
    color: rgba(255,255,255,0.8);
  }

  .ga-mobile-submenu-level-2 a:hover,
  .ga-mobile-submenu-level-2 a:focus {
    background-color: rgba(255,255,255,0.1);
    color: #00a77e;
  }

  /* Submenu toggle buttons for second level items */
  .ga-mobile-submenu .ga-submenu-toggle {
    position: absolute !important;
    right: 15px !important;
    top: 12px !important; /* Slightly adjusted for smaller submenu items */
    transform: none !important;
    background: none !important;
    border: none !important;
    color: #00a77e !important;
    cursor: pointer !important;
    padding: 6px !important;
    border-radius: 4px !important;
    transition: background-color 0.2s ease !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    z-index: 10 !important;
    margin: 0 !important;
  }

  .ga-mobile-submenu .ga-submenu-toggle:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: #00a77e !important;
  }

  .ga-mobile-submenu .ga-submenu-toggle span {
    transition: transform 0.3s ease !important;
    display: block !important;
    color: #00a77e !important;
    font-weight: bold !important;
    line-height: 1 !important;
    transform-origin: center !important;
  }

  .ga-mobile-submenu .ga-submenu-toggle[aria-expanded="true"] {
    position: absolute !important;
    right: 15px !important;
    top: 12px !important;
    transform: none !important;
  }

  .ga-mobile-submenu .ga-submenu-toggle[aria-expanded="true"] span {
    transform: rotate(180deg) !important;
  }

  /* Ensure submenu items with children have proper spacing for toggle button */
  .ga-mobile-submenu li.menu-item-has-children > a {
    padding-right: 45px !important;
    position: relative !important;
  }

  /* Hide desktop navigation on mobile */
  .ga-primary-nav-container,
  .ga-secondary-nav-container {
    display: none;
  }
}

/* Show desktop header above 996px */
@media (min-width: 997px) {
  .ga-header-mobile,
  .ga-mobile-nav-container {
    display: none !important;
  }

  .ga-header-desktop {
    display: block;
  }
}

@media (max-width: 992px) {
  .ga-header-desktop .ga-header-top {
    height: 100px;
  }

  .ga-header-desktop .ga-logo-container {
    width: 220px;
  }

  .ga-header-desktop .ga-logo-box {
    padding: 15px 30px;
    min-height: 80px;
  }

  .ga-header-desktop .ga-logo {
    max-height: 60px;
  }

  .ga-header-desktop .ga-search-input {
    width: 180px;
  }

  .ga-header-desktop .ga-primary-menu > li {
    margin-left: 10px;
  }

  .ga-header-desktop .ga-primary-menu > li > a {
    font-size: 16px;
    padding: 12px 5px;
  }

  .ga-header-desktop .ga-nav-link {
    font-size: 14px;
  }

  .ga-header-desktop .ga-secondary-menu li a {
    font-size: 13px;
  }

  .ga-header-desktop .ga-primary-nav-container {
    padding-left: 240px;
    padding-right: 15px;
  }

  .ga-header-desktop .ga-nav-right {
    padding-right: 0;
  }

  .ga-header-desktop .ga-secondary-nav {
    padding-right: 10px;
  }
}

@media (max-width: 768px) {
  .ga-header {
    margin-top: 0;
    padding-top: 0;
  }

  .ga-header-top {
    padding-top: 0;
    margin-top: 0;
  }

  .ga-header-top-inner {
    flex-direction: column;
    height: auto;
    padding: 0;
    margin-top: 0;
  }

  .ga-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    margin-top: 0;
  }

  .ga-logo-box {
    position: relative;
    border-radius: 0 0 25px 25px;
    padding: 15px;
    min-height: 120px;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-top: 0;
  }

  .ga-logo {
    max-height: 100px;
  }

  .ga-header-right {
    width: 100%;
    justify-content: center;
    padding: 15px 0;
  }

  /* Mobile Menu Toggle */
  .ga-mobile-menu-toggle {
    display: block;
    position: absolute;
    left: 15px;
    top: 10px;
    z-index: 2051;
  }

  .ga-primary-nav-container {
    position: relative;
    margin-top: 0;
    background-color: #f5f5f5;
    padding: 10px 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .ga-primary-nav {
    flex-direction: column;
    padding: 10px 0;
  }

  .ga-nav-right {
    width: 100%;
    margin-top: 0;
  }

  .ga-primary-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 10px 0;
  }

  .ga-primary-nav-container.menu-open .ga-primary-menu {
    display: flex;
  }

  .ga-primary-menu > li {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .ga-primary-menu > li > a {
    padding: 12px 15px;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .ga-primary-menu ul.sub-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    background: rgba(0,0,0,0.05);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease;
  }

  .ga-primary-menu li.menu-item-has-children.submenu-open > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }

  .ga-primary-menu ul.sub-menu li a {
    padding: 10px 15px;
    text-align: center;
  }



  .ga-primary-menu > li {
    position: relative;
  }

  .ga-primary-menu > li > a {
    padding-right: 50px; /* Make room for toggle button */
  }

  .ga-cart-icon {
    position: absolute;
    top: 10px;
    right: 15px;
    margin: 0;
  }

  .ga-secondary-nav-container {
    background-color: #003c71;
    margin-top: 0;
  }

  .ga-secondary-nav {
    padding-left: 0;
    padding-right: 15px;
  }

  .ga-secondary-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ga-secondary-menu > li {
    margin: 5px 10px;
  }

  .ga-secondary-menu li a {
    padding: 8px 5px;
  }
}

/* Mega Menu Styles */
.ga-mega-menu-container {
  position: relative;
  z-index: 9999;
}

.ga-mega-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 9998;
  pointer-events: none;
}

.ga-mega-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ga-mega-menu-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 30px;
}

.ga-mega-menu-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: color 0.3s ease, background-color 0.3s ease;
  z-index: 10000;
}

.ga-mega-menu-close:hover {
  color: #003c71;
  background-color: #f5f5f5;
}

.ga-mega-menu-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.ga-mega-menu-column {
  text-align: left;
}

.ga-mega-menu-title {
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #003c71;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #00a77e;
  text-decoration: none;
}

.ga-mega-menu-title a {
  text-decoration: none;
  color: #003c71;
}

.ga-mega-menu-section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.ga-mega-menu-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ga-mega-menu-image img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.ga-mega-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
}

.ga-mega-menu-list li {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.ga-mega-menu-list li:before {
  content: none !important;
}

.ga-mega-menu-list li a {
  display: block;
  padding: 8px 0;
  color: #003c71;
  text-decoration: none;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.ga-mega-menu-list li a:hover {
  color: #00a77e;
  text-decoration: none;
}

.ga-mega-menu-list li.ga-mega-menu-subheading {
  font-weight: 600;
  color: #003c71;
  padding: 12px 0 8px 0;
  font-size: 16px;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ga-mega-menu-list li.ga-mega-menu-subheading:not(:first-child) {
  margin-top: 10px;
}

.ga-mega-menu-list li.ga-mega-menu-last {
  border-bottom: 1px solid #A7A9AB;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

/* Mega Menu Positioning - Dynamic positioning handled by JavaScript */
.ga-mega-menu {
  top: 140px; /* Default fallback position */
}

/* Ensure mega menu appears above other content */
.ga-mega-menu-container {
  z-index: 9999 !important;
}

.ga-mega-menu {
  z-index: 9998 !important;
}

/* Responsive Mega Menu */
@media (max-width: 1200px) {
  .ga-mega-menu-content {
    gap: 40px;
  }

  .ga-mega-menu-inner {
    padding: 30px 20px;
  }
}

@media (max-width: 992px) {
  .ga-mega-menu-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ga-mega-menu-inner {
    padding: 20px 15px;
  }

  .ga-mega-menu-title {
    font-size: 20px;
  }

  .ga-mega-menu-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ga-mega-menu-image {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }

  .ga-mega-menu-list {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .ga-mega-menu {
    display: none; /* Hide mega menu on mobile - will implement mobile version later */
  }
}

/* Secondary Menu Hover States for Mega Menu */
.ga-secondary-menu > li:hover > a {
  color: #00a77e !important;
  text-decoration: none !important;
}

.ga-secondary-menu > li.mega-menu-active > a {
  color: #00a77e !important;
  text-decoration: none !important;
}

/* Prevent body scroll when mega menu is open */
body.mega-menu-open {
  overflow-x: hidden;
}

/* Mega Menu Overlay */
.ga-mega-menu::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.1);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ga-mega-menu.active::before {
  opacity: 1;
}

/* Services Mega Menu Styles */
.ga-services-menu-content {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: flex-start;
}

.ga-service-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ga-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ga-service-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.ga-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ga-service-image:hover img {
  transform: scale(1.05);
}

.ga-service-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ga-service-content h3 {
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #003c71;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.ga-service-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.ga-service-button {
  display: inline-block;
  background: #00a77e;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.ga-services-page-content.ga-service-button a.wp-block-button__link.wp-element-button {
display: inline-block;
  background: #00a77e;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.ga-green-button a.wp-block-button__link.wp-element-button {
  background-color:transparent;
}

.ga-service-button:hover {
  background: #008a6a;
  color: #ffffff !important;
  text-decoration: none !important;
}

.ga-green-button {
  display: inline-block;
  background: #00b386;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.ga-green-button:hover {
  background: #008a6a;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Services Menu Responsive */
@media (max-width: 1200px) {
  .ga-services-menu-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .ga-services-menu-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .ga-service-content h3 {
    font-size: 16px;
  }

  .ga-service-content p {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .ga-services-menu-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .ga-service-image {
    height: 120px;
  }

  .ga-service-content {
    padding: 15px;
  }
}

/* Services Page Styles (full page version) */
.page-template-page-services .site-main .container {
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 30px;
  padding-right: 30px;
  box-sizing: border-box;
}

.ga-services-page-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 100%;
}

.ga-services-page-content .ga-service-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ga-services-page-content .ga-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ga-services-page-content .ga-service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.ga-services-page-content .ga-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ga-services-page-content .ga-service-image:hover img {
  transform: scale(1.05);
}

.ga-services-page-content .ga-service-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ga-services-page-content .ga-service-content h3 {
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #003c71;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.ga-services-page-content .ga-service-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.ga-services-page-content .ga-service-button {
  display: inline-block;
  background: #00a77e;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: background 0.3s ease;
  margin-top: auto;
  align-self: flex-start;
}

.ga-services-page-content .ga-service-button:hover {
  background: #008a6a;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Services Hero Section */
.services-hero {
  background-image: url('/wp-content/uploads/MVP-necktag-in-hand-Lemstra-1.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 80px 0;
  margin-bottom: 60px;
  min-height: 500px;
  padding: 0px 15%;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.services-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 40px;
  color: #ffffff;
  margin-bottom: 30px;
}

.services-hero h2 {
  color: #ffffff;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.3;
}

.services-hero p {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.services-hero-btn {
  display: inline-block;
  background-color: #00a77e;
  color: #ffffff !important;
  padding: 14px 32px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
}

.services-hero-btn:hover {
  background-color: #008a6a;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
}

/* Services Page Responsive */
@media (max-width: 992px) {
  .ga-services-page-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .services-hero h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .ga-services-page-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ga-services-page-content .ga-service-image {
    height: 180px;
  }

  .ga-services-page-content .ga-service-content {
    padding: 20px;
  }

  .ga-services-page-content .ga-service-content h3 {
    font-size: 20px;
  }

  .services-hero {
    min-height: 400px;
    padding: 40px 5%;
  }

  .services-hero .hero-content {
    padding: 20px;
  }

  .services-hero h2 {
    font-size: 24px;
  }
}

/* Shop Mega Menu Styles */
.ga-shop-menu-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
}

.ga-shop-section {
  display: flex;
  flex-direction: column;
}

.ga-shop-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.ga-shop-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ga-shop-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ga-shop-title {
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #003c71;
  margin: 0;
  text-decoration: none;
}

.ga-shop-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.ga-shop-column {
  display: flex;
  flex-direction: column;
}

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

.ga-shop-list li {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.ga-shop-list li:before {
  content: none !important;
}

.ga-shop-list li a {
  display: block;
  padding: 8px 0;
  color: #003c71;
  text-decoration: none;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.ga-shop-list li a:hover {
  color: #00a77e;
  text-decoration: none;
}

.ga-shop-list li.ga-shop-subheading {
  font-weight: 600;
}

.ga-shop-list li.ga-shop-subheading a {
  font-weight: 600;
}

.ga-shop-list li.ga-shop-last {
  border-bottom: 1px solid #A7A9AB;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

/* Shop Menu Responsive */
@media (max-width: 992px) {
  .ga-shop-menu-content {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 600px;
  }

  .ga-shop-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ga-shop-title {
    font-size: 20px;
  }

  .ga-shop-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .ga-shop-menu-content {
    gap: 30px;
  }

  .ga-shop-header {
    gap: 10px;
  }

  .ga-shop-title {
    font-size: 18px;
  }

  .ga-shop-icon {
    width: 40px;
    height: 40px;
  }

  .ga-shop-list li a {
    font-size: 14px;
  }
}

/* Specials & Newsletter Mega Menu Styles */
.ga-specials-menu-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  align-items: flex-start;
}

.ga-catalogue-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ga-catalogue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ga-catalogue-image {
  width: auto;
  height: 305px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.ga-catalogue-image img {
  width: auto;
  height: 305px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ga-catalogue-image:hover img {
  transform: scale(1.05);
}

.ga-catalogue-button {
  display: block;
  background: #00a77e;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 12px 20px;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.875rem; /* 14px based on 16px base */
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.ga-catalogue-button:hover {
  background: #008a6a;
  color: #ffffff !important;
  text-decoration: none !important;
}

.ga-newsletter-section {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ga-newsletter-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.ga-newsletter-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.ga-newsletter-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ga-newsletter-content h3 {
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #003c71;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.ga-newsletter-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.ga-newsletter-button {
  display: inline-block;
  background: #00a77e;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.ga-newsletter-button:hover {
  background: #008a6a;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Specials Menu Responsive */
@media (max-width: 1200px) {
  .ga-specials-menu-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .ga-specials-menu-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .ga-catalogue-image {
    height: 150px;
  }

  .ga-newsletter-content h3 {
    font-size: 1rem; /* 16px - matches base */
  }

  .ga-newsletter-content p {
    font-size: 0.8125rem; /* 13px based on 16px base */
  }
}

@media (max-width: 768px) {
  .ga-specials-menu-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .ga-catalogue-image {
    height: 180px;
  }

  .ga-newsletter-image {
    height: 100px;
  }

  .ga-newsletter-content {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .ga-header-top {
    padding: 0;
  }

  .ga-logo-box {
    min-width: 150px;
    padding: 10px;
  }

  .ga-logo {
    max-height: 50px;
  }

  .ga-header-search {
    margin-right: 10px;
  }

  .ga-search-input {
    width: 140px;
    font-size: 0.75rem; /* 12px based on 16px base */
    padding: 8px 10px;
  }

  .ga-search-button {
    font-size: 0.75rem; /* 12px based on 16px base */
    padding: 8px 10px;
  }

  .ga-header-phone {
    font-size: 1.1em; /* Keep em unit for relative scaling */
    height: 36px;
    padding: 0 12px;
    border-radius: 0 0 20px 0;
  }

  .ga-header-phone a {
    font-size: inherit;
  }

  .ga-primary-menu > li > a {
    font-size: 0.8125rem; /* 13px based on 16px base */
    padding: 8px 5px;
  }

  .ga-nav-link {
    font-size: 0.8125rem; /* 13px based on 16px base */
    margin-left: 10px;
  }

  .ga-secondary-menu li a {
    font-size: 0.75rem; /* 12px based on 16px base */
  }
}

/* Hero Slider */
.ga-hero-slider {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
  z-index: 1;
  margin-top: 0;
}

.ga-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.ga-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.ga-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 65, 112, 0.4); /* Dark blue overlay with 40% opacity */
  z-index: 1;
}

.ga-slide.active {
  opacity: 1;
  z-index: 1;
}

.ga-slide-content {
  position: absolute;
  bottom: 80px;
  left: 300px;
  color: #fff;
  max-width: 600px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  z-index: 2; /* Ensure content appears above the overlay */
}

.ga-slide-content h2 {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 700;
}

.ga-slide-content p {
  font-size: 18px;
  margin: 0;
}

/* Slider Button */
.ga-slide-button {
  display: inline-block;
  padding: 12px 24px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 15px;
  cursor: pointer;
  z-index: 3;
  position: relative;
}

.ga-slide-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  filter: brightness(1.1);
}

/* Conference Button Link Text - override .entry-content a */
.entry-content .wp-block-button.ga-slide-button.conferenceButton a,
.entry-content #ConferenceProgram a {
  color: #ffffff !important;
}

/* Beef Forum page buttons - match conference button style */
.page-id-10319219 .wp-block-buttons .wp-block-button__link {
  color: #ffffff !important;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  background-color: #00a77e;
  padding: 12px 24px;
  border-radius: 4px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-id-10319219 .wp-block-buttons .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  filter: brightness(1.1);
}

/* Slider Navigation */
.ga-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.3);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.ga-slider-arrow:hover {
  background: rgba(0,0,0,0.6);
}

.ga-slider-prev {
  left: 20px;
}

.ga-slider-next {
  right: 20px;
}

/* Slider Indicators */
.ga-slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.ga-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.ga-indicator.active,
.ga-indicator:hover {
  background: #fff;
}

/* Responsive Slider Styles */
@media (max-width: 768px) {
  .ga-hero-slider {
    height: 400px;
  }

  .ga-slide-content {
    bottom: 50px;
    left: 30px;
    max-width: 80%;
  }

  .ga-logo-container {
    position: relative;
    width: 100%;
  }

  .ga-logo-box {
    min-height: 100px;
    border-bottom-right-radius: 20px;
  }

  .ga-header-top-inner {
    padding-left: 0;
    flex-direction: column;
    height: auto;
  }

  .ga-slide-content h2 {
    font-size: 28px;
  }

  .ga-slide-content p {
    font-size: 16px;
  }

  .ga-slide-button {
    font-size: 14px;
    padding: 10px 20px;
  }
}

@media (max-width: 576px) {
  .ga-hero-slider {
    height: 300px;
  }

  .ga-slide-content {
    bottom: 30px;
    left: 20px;
  }

  .ga-slide-content h2 {
    font-size: 24px;
  }

  .ga-slide-content p {
    font-size: 14px;
  }

  .ga-slide-button {
    font-size: 13px;
    padding: 8px 16px;
  }

  .ga-slider-arrow {
    width: 40px;
    height: 40px;
  }

  /* Homepage carousel — taller sire image on mobile */
  .ga-sires-carousel .ga-sire-image {
    height: 200px;
  }
}

/* Featured Products Header Section */
.ga-featured-products-header {
  background-color: #003c71;
  padding: 20px 0;
  width: 100%;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.ga-featured-products-header h2 {
  text-transform: uppercase;
  font-size: 32px;
  color: #FFFFFF !important;
  text-align: left;
  margin: 0;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
}

/* Australian Dairy Sires Section */
.ga-dairy-sires {
  padding: 40px 0;
  background-color: #fff;
}

.ga-section-title {
  font-size: 22px;
  color: #333;
  margin-bottom: 25px;
  font-weight: 600;
  text-align: left;
}

/* Section Header with Buttons */
.ga-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.ga-section-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ga-section-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.ga-view-all-btn {
  background: #003c71;
  color: #fff;
}

.ga-view-all-btn:hover {
  background: #002a50;
}

.ga-view-video-btn {
  background: #00a77e;
  color: #fff;
}

.ga-view-video-btn:hover {
  background: #008a6f;
}

/* Carousel Styles */
.ga-sires-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Scroll-snap carousel: the wrapper IS the scroll container. The browser
   handles touch momentum, snap-to-card, and resize for free. JS only
   handles arrow clicks (homepage-carousel.js). */
.ga-carousel-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
  scroll-snap-type: x mandatory;  /* lock to card edges */
  scroll-behavior: smooth;        /* fallback when JS hasn't loaded */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch; /* iOS momentum */
}

.ga-carousel-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}

.ga-carousel-track {
  display: flex;
  gap: 15px;
  padding: 10px 0;
  margin: 0;
  box-sizing: border-box;
}

/* flex: 0 0 270px stops the cards shrinking so the row ALWAYS overflows
   when there are enough cards, which is what makes the wrapper scroll.
   scroll-snap-align: start anchors each card to the wrapper's left edge. */
.ga-carousel-track .ga-sire-card {
  flex: 0 0 270px;
  max-width: 270px;
  min-width: 270px;
  scroll-snap-align: start;
  box-sizing: border-box;
}

/* Carousel Navigation Buttons */
.ga-carousel-prev,
.ga-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 60, 113, 0.8);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease;
}

.ga-carousel-prev:hover,
.ga-carousel-next:hover {
  background: rgba(0, 60, 113, 1);
}

.ga-carousel-prev {
  left: 10px;
}

.ga-carousel-next {
  right: 10px;
}

.ga-sires-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;

}

/* Large Desktop - 1620px+ */
@media (min-width: 1620px) {
  .ga-sires-grid {
    grid-template-columns: repeat(6, 1fr);
    padding: 0px 50px 0px 0px;
  }
}

/* Large Desktop - 1375px to 1619px */
@media (min-width: 1375px) and (max-width: 1619px) {
  .ga-sires-grid {
    grid-template-columns: repeat(5, 1fr);
    padding: 0px 50px 0px 0px;
  }

  /* Hide 6th bull card */
  .ga-sires-grid .ga-sire-card:nth-child(6) {
    display: none;
  }
}

/* Bull Card Styling - Optimized for Performance */
/* Card link wrapper - makes entire card clickable */
.ga-sire-card-link,
.ga-sire-card-link:hover,
.ga-sire-card-link:focus,
.ga-sire-card-link:active,
.ga-sire-card-link * {
  text-decoration: none !important;
  color: inherit;
}

.ga-sire-card-link {
  display: block;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ga-sire-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ga-sire-card-link:hover .ga-select-options {
  background-color: #002a52;
  color: #ffffff !important;
}

.ga-sire-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card Header */
/* Header holds the product title, which wraps to 2 lines on longer names
   (e.g. "PREGNANCY SCANNER – DRAMINSKI ISCAN 2 MULTI") and stays 1 line
   on shorter ones. min-height fits the 2-line case so all cards in a row
   have the same header height; flex centring keeps single-line titles
   visually centred instead of pinned to the top. */
.ga-sire-header {
  padding: 8px 6px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ga-sire-header h3 {
  color: #003c71;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Card Image */
.ga-sire-image {
  height: 160px;
  overflow: hidden;
  border-bottom: 1px solid #e0e0e0;
}

.ga-sire-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Price and Button Row */
/* min-height fits the tallest variant: variable products render a price
   range plus a separate "(inc. GST)" line. Single-price products and
   products with no visible price still take up the same vertical space
   so every card lines up. */
.ga-sire-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-bottom: 1px solid #e0e0e0;
  min-height: 44px;
}

.ga-sire-price {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  flex: 1;
  letter-spacing: -0.5px;
}

.ga-sire-price .amount {
  font-weight: 600;
}

.woocommerce-price-suffix {
  font-size: 12px;
}

.ga-sire-price .woocommerce-price-suffix {
  font-size: 11px;
  margin-left: 2px;
}

.ga-sire-button {
  flex-shrink: 0;
}

.ga-select-options {
  display: inline-block;
  background: #fff;
  color: #003c71;
  padding: 6px 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  border: 1px solid #003c71;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  transition: background-color 0.2s ease;
}

.ga-select-options:hover {
  background: #f5f5f5;
}

/* News Card Specific Styles */
.ga-news-date {
  background: #003c71;
  color: #fff;
  padding: 8px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ga-news-excerpt {
  padding: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  min-height: 90px;
  flex-grow: 1;
}

/* Remove borders and styling from news card elements */
.ga-news-card .ga-sire-header {
  order: 1;
  padding: 12px;
  border-bottom: none;
  background: transparent;
  height:50px;
}

.ga-news-card .ga-sire-header h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #003c71;
}

.ga-news-card .ga-news-date {
  order: 0;
}

.ga-news-card .ga-sire-image {
  order: 2;
  border-bottom: none;
  height: 180px !important;
  flex-shrink: 0;
  overflow: hidden;
}

.ga-news-card .ga-sire-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.ga-news-card .ga-news-excerpt {
  order: 3;
}

.ga-news-card .ga-sire-price-row {
  order: 4;
  padding: 0;
  border-bottom: none;
  display: block;
}

.ga-news-card .ga-sire-button {
  width: 100%;
}

.ga-news-card .ga-select-options {
  display: block;
  width: 100%;
  background: #003c71;
  color: #fff;
  border: none;
  padding: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 0;
}

.ga-news-card .ga-select-options:hover {
  background: #002a50;
}

/* Sire Information - Full Width Light Grey */
.ga-sire-info {
  padding: 0;
}

/* Sire-name row holds either "Sire: <name>" (one line) or a promo banner
   (one line for short messages, two lines for member-only deals). The
   min-height + flex centering equalises card heights across all three
   cases, so the data grid below always starts at the same Y. */
.ga-sire-name {
  padding: 8px 10px;
  font-size: 13px;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.ga-info-label {
  font-weight: 600;
  color: #333;
  margin-right: 5px;
}

.ga-info-value {
  font-weight: normal;
  color: #333;
}

/* Data Grid - 3 Columns with Alternating Colors */
.ga-sire-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ga-detail-item {
  padding: 8px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
}

/* Alternating Background Colors */
.ga-detail-item.a2 {
  background: #b9d7f8;
}

.ga-detail-item.bpi {
  background: #9fdacc;
}

.ga-detail-item.sustainability {
  background: #b9d7f8;
}

.ga-detail-label {
  font-weight: 600;
  color: #333;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 4px;
  line-height: 1.2;
}

.ga-detail-value {
  font-size: 16px;
  font-weight: 700;
  color: #003c71;
  line-height: 1.1;
}

/* Specific Value Colors */
.ga-detail-item.bpi .ga-detail-value {
  color: #0a6e3f;
}

/* Beef Sires Section */
.ga-beef-sires {
  padding: 40px 0;
  background: #fff;
  margin-top: 40px;
}

.ga-beef-sires .ga-section-title {
  color: #333;
}

/* Beef Sires Data Fields - Alternating Colors */
.ga-beef-sires .ga-detail-item.cw {
  background: #b9d7f8;
}

.ga-beef-sires .ga-detail-item.ema {
  background: #9fdacc;
}

.ga-beef-sires .ga-detail-item.imf {
  background: #b9d7f8;
}

/* Beef Sires Value Colors */
.ga-beef-sires .ga-detail-item.cw .ga-detail-value {
  color: #003c71;
}

.ga-beef-sires .ga-detail-item.ema .ga-detail-value {
  color: #0a6e3f;
}

.ga-beef-sires .ga-detail-item.imf .ga-detail-value {
  color: #003c71;
}

/* Merchandise Section */
.ga-merchandise {
  padding: 40px 0;
  background: #fff;
  margin-top: 40px;
}

.ga-merchandise .ga-section-title {
  color: #333;
}

/* Responsive Grid Layout */
/* Medium Desktop - 1130px to 1374px */
@media (min-width: 1130px) and (max-width: 1374px) {
  .ga-sires-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0px 50px 0px 0px;
  }

  /* Hide 5th and 6th bull cards */
  .ga-sires-grid .ga-sire-card:nth-child(n+5) {
    display: none;
  }
}

/* Small Desktop - 900px to 1130px */
@media (min-width: 900px) and (max-width: 1130px) {
  .ga-sires-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0px 50px 0px 0px;
  }
}

/* Large Tablet - 768px to 900px */
@media (min-width: 768px) and (max-width: 900px) {
  .ga-sires-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0px 60px 0px 0px;
  }

  .ga-sire-header h3 {
    font-size: 15px;
  }

  .ga-detail-value {
    font-size: 16px;
  }
}

/* Small Tablet - 570px to 768px */
@media (min-width: 570px) and (max-width: 768px) {
  .ga-sires-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0px 0px 0px 0px;
  }

  .ga-sire-header h3 {
    font-size: 15px;
  }

  .ga-detail-value {
    font-size: 16px;
  }
}

/* Mobile - Below 570px */
@media (max-width: 570px) {
  .ga-sires-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0px 0px 0px 0px;
  }

  .ga-section-title {
    font-size: 1.25rem; /* 20px based on 16px base */
    margin-bottom: 20px;
  }

  .ga-dairy-sires,
  .ga-beef-sires,
  .ga-merchandise {
    padding: 30px 0;
  }

  .ga-sire-price-row {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .ga-detail-item {
    min-height: 50px;
    padding: 10px 5px;
  }

  .ga-detail-value {
    font-size: 1rem; /* 16px - matches base */
  }
}

/* Footer Styles */
.ga-footer {
  background: #004071;
  color: #ffffff;
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ga-footer-main {
  padding: 30px;
}

/* Override any width constraints on footer containers */
.ga-footer .ga-footer-bottom .ga-container {
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Override any width constraints on footer containers */
.ga-footer .ga-footer-main .ga-container {
  width: auto !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}



.ga-footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.5fr;
  gap: 30px;
}

.ga-footer-column {
  color: #ffffff;
}

.ga-footer-heading {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 0px 0;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ga-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ga-footer-links li {
  margin-bottom: 8px;
}

.ga-footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.ga-footer-links a:hover {
  color: #00a77e;
}

.ga-footer-company {
  grid-column: span 1;
  text-align: right;
}

.ga-footer-company-logo {
  margin-bottom: 20px;
}

.ga-footer-company-logo img {
  max-width: 200px;
  height: auto;
  display: block;
  margin-left: auto;
}

.ga-footer-company-info {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.ga-footer-company-info p {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #ffffff;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.ga-footer-company-info p:first-child {
  font-weight: 600;
  margin-bottom: 16px;
}

.ga-footer-company-info a {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.ga-footer-company-info a:hover {
  color: #00a77e;
}

.ga-footer-bottom {
  background: #004071;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.ga-footer-logo img {
  height: 40px;
  width: auto;
}

.ga-footer-social {
  display: flex;
  gap: 15px;
}

.ga-footer-social a {
  color: #ffffff;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ga-footer-social a:hover {
  background: #00a77e;
  transform: translateY(-2px);
}

.ga-footer-social svg {
  width: 20px;
  height: 20px;
}

.ga-footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ga-footer-copyright p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.ga-footer-copyright a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.ga-footer-copyright a:hover {
  color: #00a77e;
}

/* Footer Responsive Styles */
@media (max-width: 1024px) {
  .ga-footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .ga-footer-company {
    grid-column: span 2;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .ga-footer-main {
    padding: 40px 0 30px;
  }

  /* Mobile breathing room on footer containers */
  .ga-footer .ga-footer-main .ga-container,
  .ga-footer .ga-footer-bottom .ga-container {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  /* Mobile: stack everything into a single centred column with
     larger, more thumb-friendly text. Each footer column becomes a
     full-width section with its own breathing room. */
  .ga-footer-columns {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ga-footer-column {
    text-align: center;
  }

  .ga-footer-heading {
    font-size: 22px;
    margin-bottom: 12px;
  }

  /* Bump up the second heading inside the Bulls column (PRODUCTS)
     so it gets visible separation when stacked on mobile. */
  .ga-footer-heading + .ga-footer-links + .ga-footer-heading {
    margin-top: 24px;
  }

  .ga-footer-links a {
    font-size: 18px;
    line-height: 1.6;
  }

  .ga-footer-links li {
    margin-bottom: 12px;
  }

  /* Company column spans the single column too. Right-alignment from
     desktop is reset so the contact block reads centred like the rest. */
  .ga-footer-company {
    grid-column: span 1;
    text-align: center;
  }

  .ga-footer-company-logo img {
    margin-left: auto;
    margin-right: auto;
  }

  .ga-footer-company-info p {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .ga-footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .ga-footer-social {
    justify-content: center;
  }
}

/* Force container styles to override inline CSS */
body .ga-container,
html body .ga-container,
div.ga-container {
  margin-left: 30px !important;
  margin-right: 30px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

/* Responsive body padding for fixed header */
@media (max-width: 1439px) {
  body {
    padding-top: 160px !important; /* Header collapses below 1440px */
  }
}

@media (max-width: 996px) {
  body {
    padding-top: 70px !important; /* Mobile header */
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px !important; /* Very small screens */
  }
}


ul#menu-secondary-menu.ga-secondary-menu li.ga2024conferencemenu a:hover {
  border: solid 1px lightblue;
  border-radius: 10px;
  padding: 10px 5px;
}

/* Board Members 3-Column Layout Fix */
#tab-board .wp-block-columns.is-layout-flex,
.ga-tab-content .wp-block-columns.is-layout-flex {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2em !important;
  align-items: flex-start !important;
  margin-bottom: 2em !important;
}

/* Default: flexible columns that auto-size */
.ga-tab-content .wp-block-columns.is-layout-flex .wp-block-column {
  flex: 1 !important;
  flex-grow: 1 !important;
  flex-shrink: 1 !important;
  min-width: 0 !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Board tab specifically: 3 columns */
#tab-board .wp-block-columns.is-layout-flex .wp-block-column {
  flex-basis: calc(33.333% - 1.5em) !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  width: calc(33.333% - 1.5em) !important;
  max-width: calc(33.333% - 1.5em) !important;
}

#tab-board .wp-block-column .wp-block-image,
.ga-tab-content .wp-block-column .wp-block-image {
  margin-bottom: 1em !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

#tab-board .wp-block-column .wp-block-image.imageRounded,
.ga-tab-content .wp-block-column .wp-block-image.imageRounded {
  border-radius: 0 !important;
}

#tab-board .wp-block-column .wp-block-image.BoxShadow,
.ga-tab-content .wp-block-column .wp-block-image.BoxShadow {
  box-shadow: none !important;
}

#tab-board .wp-block-column .wp-block-image.grayscale,
.ga-tab-content .wp-block-column .wp-block-image.grayscale {
  filter: none !important;
  -webkit-filter: none !important;
}

#tab-board .wp-block-column .wp-block-image img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
  box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3) !important;
  filter: grayscale(100%) !important;
  -webkit-filter: grayscale(100%) !important;
  transition: filter 0.3s ease !important;
}

.ga-tab-content .wp-block-column .wp-block-image img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
  box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3) !important;
}

#tab-board .wp-block-column .wp-block-image img:hover {
  filter: grayscale(0%) !important;
  -webkit-filter: grayscale(0%) !important;
}

/* Cooperative tab buttons — front-end equivalents of editor-style.css rules.
   The editor scopes its button styles to .editor-styles-wrapper so they don't
   ship to the live page, leaving wp-block-library's default dark pill in place
   (#32373c, border-radius: 9999px). These rules give tab-injected buttons the
   same green/rectangular look the author sees in the editor. */
.ga-tab-content .wp-block-button__link {
  background-color: #00b386 !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background-color 0.3s ease !important;
}

.ga-tab-content .wp-block-button__link:hover {
  background-color: #008a6a !important;
  color: #ffffff !important;
}

.ga-tab-content .wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent !important;
  color: #00b386 !important;
  border: 2px solid #00b386 !important;
}

.ga-tab-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: #00b386 !important;
  color: #ffffff !important;
}

/* The injected content lives inside <a class="ga-tab-content"> markup that
   inherits the green link colour — but that overrides the button-link's white
   text. Re-assert white inside the button. */
.ga-tab-content a.wp-block-button__link {
  color: #ffffff !important;
}
.ga-tab-content .wp-block-button.is-style-outline a.wp-block-button__link {
  color: #00b386 !important;
}

/* Co-operative Information Page Container */
.ga-cooperative-page .ga-container,
body .ga-cooperative-page .ga-container,
html body .ga-cooperative-page .ga-container,
div.ga-cooperative-page .ga-container {
  max-width: 1440px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

.ga-cooperative-page .ga-cooperative-content {
  max-width: 100% !important;
  width: 100% !important;
}

.ga-cooperative-page .ga-tab-content {
  max-width: 100% !important;
  width: 100% !important;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
  #tab-board .wp-block-columns.is-layout-flex,
  .ga-tab-content .wp-block-columns.is-layout-flex {
    flex-direction: column !important;
  }

  #tab-board .wp-block-columns.is-layout-flex .wp-block-column,
  .ga-tab-content .wp-block-columns.is-layout-flex .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 2em !important;
  }

  .ga-cooperative-page .ga-container,
  body .ga-cooperative-page .ga-container,
  html body .ga-cooperative-page .ga-container,
  div.ga-cooperative-page .ga-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Hide shipping calculator on cart page */
.woocommerce-cart .cart_totals .shipping,
.woocommerce-cart .woocommerce-shipping-calculator,
.woocommerce-cart-form .shipping-calculator-button {
  display: none !important;
}

/* Hide "Pick up from Selected Resellers" shipping option on checkout */
/* Note: Can be easily restored by removing this rule */
.woocommerce-checkout #shipping_method li:has(label:contains("Pick up from Selected Resellers")),
.woocommerce-checkout #shipping_method li label[for*="local_pickup"],
.woocommerce-checkout #shipping_method li input[value*="local_pickup"],
.woocommerce-checkout #shipping_method li:has(input[value*="local_pickup"]) {
  display: none !important;
}.entry-content .wp-block-group.ParentInfoContainer{display:flex!important;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:20px;width:100%;max-width:1440px;margin:0 auto;padding:20px 0}
.entry-content .wp-block-group.InfoContainer{background-color:#00407a!important;border-radius:16px!important;overflow:hidden;padding:30px 20px!important;box-shadow:0 2px 18px rgba(0,0,0,.3);color:#fff!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;flex:0 1 250px;min-width:200px;max-width:280px;min-height:175px}
.entry-content .wp-block-group.InfoContainer h2,.entry-content .wp-block-group.InfoContainer h3,.entry-content .wp-block-group.InfoContainer h4{color:#fff!important;margin:0 0 10px;font-weight:700;text-transform:uppercase;letter-spacing:1px;font-size:1.25rem}
.entry-content .wp-block-group.InfoContainer p{color:#fff!important;margin:0;line-height:1.4}
.entry-content .wp-block-group.InfoContainer>*{width:100%;padding:0 10px}

/* Fix bull product card image gap and consistent height */
.australian-sires-product-card .product-image,
.australian-sires-product-card .grid-view-image {
    overflow: hidden;
}
.australian-sires-product-card .product-image img,
.australian-sires-product-card .grid-view-image img {
    display: block !important;
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
}
@media (max-width: 768px) {
    .australian-sires-product-card .product-image img,
    .australian-sires-product-card .grid-view-image img {
        height: 200px !important;
    }
}

/* Override: show full bull image, no cropping */
.australian-sires-product-card .product-image img,
.australian-sires-product-card .grid-view-image img {
    object-fit: contain !important;
    background: #f0f2f0;
}

/* Override: natural aspect ratio, no cropping, no gaps */
.australian-sires-product-card .product-image img,
.australian-sires-product-card .grid-view-image img {
    height: auto !important;
    object-fit: fill !important;
    background: none !important;
}
.australian-sires-product-card .product-image,
.australian-sires-product-card .grid-view-image {
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, #e8ede8 0%, #d5ddd5 100%);
}

/* Card flex layout: product-sire absorbs extra space */
.australian-sires-product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
}
.australian-sires-product-card .product-sire {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px;
}

/* Fix Genomic/Conventional label visibility in product title */
.australian-sires-product-card h3 span {
    color: #666 !important;
}

/* Revert: keep Genomic label white (dark blue header background) */
.australian-sires-product-card h3 span {
    color: #fff !important;
}

/* Ensure product-header has dark blue background on all pages */
.australian-sires-product-card .product-header {
    background: #003c71 !important;
    padding: 12px 15px;
    text-align: center;
}
.australian-sires-product-card .product-header h3 {
    color: #fff !important;
    margin: 0;
    font-weight: 700;
}
.australian-sires-product-card .product-header-link {
    text-decoration: none;
}

/* Cart page tweaks */
.shop_table.cart .product-thumbnail img {
    width: auto;
}
.woocommerce-page table.cart td.actions .input-text {
    width: 200px;
}

/* ============================================================
   Global Gutenberg button — brand green pill (canonical #00A77E).
   Replaces WordPress core's default dark pill so authors get the
   GENAUST look on every standard button. Page-scoped overrides
   higher up in this file (.page-id-10319219, .ga-tab-content,
   .ga-services-page-content) have greater specificity and keep
   their bespoke styling.
   ============================================================ */
.wp-block-button > .wp-block-button__link {
    background-color: #00A77E;
    color: #ffffff;
    border: 0px solid #00A77E;
    border-radius: 999px;
    padding: 14px 32px;
    font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.wp-block-button > .wp-block-button__link:hover,
.wp-block-button > .wp-block-button__link:focus-visible {
    background-color: #008a6a;
    border-color: #008a6a;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Outline variant — green border, transparent fill, fills in on hover */
.wp-block-button.is-style-outline > .wp-block-button__link {
    background-color: transparent;
    color: #00A77E;
    border-color: #00A77E;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
    background-color: #00A77E;
    color: #ffffff;
}
