

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Fonts
# CSS Variables
# Reset
# General Styles
# Typography
# Navigation
# Footer

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Fonts 
--------------------------------------------------------------*/
/* fonts load in header */


/* page transitions */
@view-transition {
  navigation: auto;
}

/* Header stays in place */
header {
  view-transition-name: --site-header;
}


/*--------------------------------------------------------------
# CSS Variables
--------------------------------------------------------------*/

:root {
    --base-font: 'Roboto', sans-serif !important;
   --accent-font: 'modesto-text', serif !important;
    --headline-font: 'modesto-condensed', serif !important;
    --bs-body-font-family: "modesto-text", serif!important;
    --body-bg:#F4F2ED;
    --white: #FFFFFF;
    --black: #000000;
    --bright-green: #3D8B4C;
    --dark-green: #174D27;
    --mellow-gold: #FFEAB0;
    --light-grey: #9B9B9B;
    --sauce-red: #B20B1D;
    --vinegar-purple: #632D4F;
}

/*--------------------------------------------------------------
# Reset
--------------------------------------------------------------*/

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    padding: 0;
}

html,body {
    font-family: var(--base-font);
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    max-width: 100vw;
    color: (var(--black));
    background: #fff
}

html {
    box-sizing: border-box;
}

/* Basic reset to normalize styles across browsers */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* Remove default margins */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Improve text rendering */
body {
text-rendering: optimizeLegibility;
  line-height: 1.5;
}

/*--------------------------------------------------------------
# General Styles
--------------------------------------------------------------*/

body {
 font-family: var(--base-font) serif;
  color: var(--black);
  background-color: var( --body-bg); 
  font-size: 1.2rem; 
  line-height: 1.6; 
  background-position: top left;
  background-repeat: repeat;
  background-attachment: fixed;
}

a {
  color: var(--dark-green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* for use in WP content blocks */

/* Reusable image hover effect */
.image-hover img {
 
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-hover img:hover {

  filter: brightness(1.20) contrast(1.10);
}

.accent-font {
  font-family: var(--accent-font);
  font-weight: 400;
  font-style: normal;
}
.img-shadow img {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.35);
}

.kb-button, .kt-button, .button, .kt-btn-size-standard {
  font-family: var(--accent-font);
  font-weight: 700;
  font-weight: normal;
}
.products-masthead h3, .recipes-masthead h3 {
    font-size: 3rem;
    margin: 0;
} 
/* this will need to get more specific */
h2.entry-title {
  font-family: var(--accent-font);
  font-weight: 700;
  font-weight: normal;
  text-transform: inherit;
} 
h2.entry-title a:hover {
  color: var(--dark-green)!important;
  text-decoration: none;
}

.kadence-post-image-inner-intrisic, .kadence-post-image-inner-intrisic a {
    overflow: hidden; /* Ensures the scaled image stays within the container's bounds */
    border-radius: 1rem; /* Match the site's border radius */
}

.kadence-post-image-inner-intrisic a img {
    transition: transform 0.3s ease;
}

.kadence-post-image-inner-intrisic a:hover img {
    transform: scale(1.05);
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

h1, h2, h3, h4,h5,h6 {
  font-family: var(--headline-font);
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.2rem, 8vw, 4.3rem);
  line-height: 1;
  color: var(--dark-green);
}

h2 { 
  font-size: 4rem;  
  font-size: clamp(1.8rem, 8vw, 4rem);
  line-height: 1; 
}

@media (max-width: 576px) {
  h2 {
    font-size: 2rem;
  }
}

h3 { font-size: 2.2rem; }
h4 { font-size: 2.2rem; }
h5 { font-size: 1.8rem; font-family: var(--accent-font); }
h6 { font-size: 1.75rem;  font-family: var(--accent-font);  }  

p {
  margin-bottom: 1em;
  font-size: clamp(1rem, 0.85rem + 0.25vw, 1.3rem);
  line-height: 1.4; 
}

p.has-text-align-center.has-small-font-size {
  font-weight: 500;
}

/*--------------------------------------------------------------
# Global Components
--------------------------------------------------------------*/

/* Global Badge Style */
.badge {
  background-color: var(--dark-green);
  color: var(--white);
  font-family: var(--accent-font);
  font-size: .9rem;
  font-style: normal;
  font-weight: 300 !important;
  padding: .5rem 1rem;
  border-radius: .5rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  margin-bottom: 1rem;
}

.badge:hover {
  background-color: var(--dark-green);
  color: var(--white)!important;
  text-decoration: none;
}
/* global button style */
.btn, .btn-sm, [type=submit] {
  text-decoration: none;
  background-color: var(--dark-green);
  border: 1px solid var(--dark-green);
  color:var(--white);
  font-family: var(--accent-font);
}
[type=submit] {
    display: block;
    width: auto;
    padding: .5rem 2rem;
    line-height: 1;
}

.btn:hover, input[type="submit"]:hover  {
  text-decoration: none;
  background-color: var(--bright-green);
  border: 1px solid var(--dark-green);
  color:var(--white);
}

.btn-primary {
  text-decoration: none;
  font-family: var(--accent-font);
  background-color: var(--dark-green);
  border: 1px solid var(--dark-green);
  transition: all 0.3s ease-in-out;
}

.btn-reverse {
  text-decoration: none;
  color: var(--dark-green);
  font-family: var(--headline-font);
  background-color: var(--white);
  border: 1px solid var(--bright-green);
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  font-size: 1.6rem;
}

.btn-reverse:hover {
   color: var(--dark-green);
  background-color: var(--mellow-gold);
}

.story-cta {
  display: none; /* hide these on mobile menu */
}
@media (min-width: 992px) { 

.story-cta, .story-cta:visited {
  display:inline-block;
    background: var(--bright-green);
    display: none !important;
}

 .story-cta:hover, .story-cta:active {
    background: var(--mellow-gold);
    color: var(--black);
}

}

/* Global Button Outline Style */
.btn-outline {
  font-family: var(--accent-font);
  color: var(--dark-green);
  background-color: var(--white);
  border: 2px solid var(--dark-green);
  padding: 8px 20px;
  border-radius: 0.375rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
      background-color: #555;
    border-color: #333;
}

.btn-outline:hover {
  background-color: var(--mellow-gold);
  color: var(--dark-green);
  border: 2px solid var(--dark-green);
  text-decoration: none;
}
/* Custom Button Styles */

.btn-outline-secondary {
  font-family: var(--accent-font);
  color: var(--dark-green);
  background-color:var(--white);
  border-color: var(--bright-green);
  transition: all 0.3s ease-in-out;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
  color: #000;
  background-color: var(--mellow-gold);
  box-shadow: none;
}


/* Glide carousel */

.glide-slide {
  padding: 0 10px;
}

.glide-thumb {
  position: relative;
}

.glide-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 0;
}

.glide-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.glide-image-container:hover img {
  transform: scale(1.05);
}

.glide-slide-title {
  text-align: center;
  padding: 15px 10px;

}

.glide-slide-title a {
  font-size: 1.2rem;
  font-family: var(--accent-font);
  line-height: 1.3;
  color: var(--black);
  text-decoration: none;
  display: block;
}

.glide-slide-title a:hover {
  color: var(--dark-green);
}

.glide__arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  pointer-events: none;
  z-index: 10;
}

.glide__arrow {
  position: absolute;
  background: var(--bright-green);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: white;
  cursor: pointer;
  pointer-events: all;
  transition: background 0.3s ease;
  top: -25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glide__arrow img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.glide__arrow:hover {
  background: var(--dark-green);
}

.glide__arrow--left {
  left: -25px;
}

.glide__arrow--right {
  right: -25px;
}

.glide__bullets {
  text-align: center;
  margin-top: 30px;
}

.glide__bullet {
  background: #ccc;
  border: none;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.glide__bullet--active {
  background: var(--mellow-gold, #f4d03f);
}

@media (max-width: 768px) {
  .glide__arrow {
    display: none;
  }
}

/* Kadence Blocks Slider (Splide) Styling to Match Glide Arrows */
.splide__arrows {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 100%;
  pointer-events: none;
  z-index: 10;
}

.splide__arrow {
  position: absolute;
  background: var(--bright-green) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  color: white !important;
  cursor: pointer;
  pointer-events: all;
  transition: background 0.3s ease !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  padding: 0 !important;
}

.splide__arrow svg {
  width: 20px !important;
  height: 20px !important;
  fill: white !important;
  filter: brightness(0) invert(1) !important;
  transform: scale(0.7) !important;
}

.splide__arrow:hover {
  background: var(--dark-green) !important;
}

.splide__arrow--prev {
  left: -25px !important;
}

.splide__arrow--next {
  right: -25px !important;
}

/* Fix the arrow direction for previous button */
.splide__arrow--prev svg {
  transform: scale(0.7) rotate(180deg) !important;
}
/*
@media (max-width: 768px) {
  .splide__arrow {
    display: none !important;
  }
}*/
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/


.navbar {
    background-color:#000000;
    margin: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: padding 0.3s ease-in-out;
    color: white;
    position: sticky !important;
    transition: all 0.3s ease;
    top: 0;
    width: 100%;
    z-index: 1030;
    border-bottom:1px solid var(--white);
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        align-items: center;
    }
    .navbar {
      border-bottom:4px solid var(--white);
  } 
}

/* --- Navbar Scrolled State --- */
.navbar.scrolled {
padding-top: 0;
padding-bottom: 0;
/* Add other scrolled styles here, e.g., background-color: #333; */
}

/* --- Logo Container (#logo) --- */
#logo {
position: relative; /* Crucial: Establishes positioning context for absolute children */
display: block;
/* Set initial dimensions for the logo container based on the LARGE logo */
width: 250px; /* Match largest logo width */
height: 100px; /* Large state height */
overflow: hidden; /* Hide any overflow during transitions */
margin: 0;
padding: 0;
transition: height 0.3s ease-in-out, width 0.3s ease-in-out; /* Smooth transition for container size */
}

/* --- Logo Container Scrolled State --- */
.navbar.scrolled #logo {
width: 130px; 
height: 50px; 
}

/* --- Base Styles for Both Logo Images --- */
.logo-img {
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%); 
  object-fit: contain; /* Scales image down to fit, maintaining aspect ratio */
  will-change: opacity;
  backface-visibility: hidden;
  transition: opacity 0.3s ease-in-out; 
  /* Initial width/height will be determined by the #logo container and object-fit */
  width: 100%;
  height: 100%;
}

/* --- Specific Logo States --- */

.logo-large {
    opacity: 1;
}

.logo-small {
    opacity: 0;
}

/* Desktop scrolled state */
.navbar.scrolled #logo .logo-large {
    opacity: 0;
}

.navbar.scrolled #logo .logo-small {
    opacity: 1;
}

/* Mobile - always show small logo */
@media (max-width: 991.98px) {
    .logo-large {
        opacity: 0;
    }
    .logo-small {
        opacity: 1;
    }
    #logo {
        width: 130px !important;
        height: 50px !important;
    }
}
.navbar.scrolled .nav-link {
  font-size: .8rem;
}
  /* Remove the py-4 class from the navbar element and use these CSS padding settings instead */
  .navbar.py-4 {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
  }

.navbar-toggler {
  background-color:black !important;
      padding: 4px 8px;
}

/* Base styles for the hamburger lines */
.navbar-toggler .line {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--mellow-gold); /* Color of the lines */
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Position and styles for the open "X" state */
.navbar-toggler:not(.collapsed) .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.navbar-toggler:not(.collapsed) .line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
}

.navbar-toggler:focus {
    outline: none !important; /* Remove default outline */
    box-shadow: 0 0 0 0.1rem #c6ae8c; /* Use a subtle box-shadow */
}
.navbar .nav-link {
  font-family: var(--accent-font);
}

  .navbar .nav-link:hover {
    color: var(--mellow-gold) !important;
    text-decoration: none;
  }
  
  .mega-menu  h5, .mega-menu h6 {
    text-transform:uppercase;
    color:var(--mellow-gold);
}

.menu-main-navigation li.nav-item {
  font-family: var(--accent-font);
}
  .navbar .nav-link {
    color: white !important;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.2rem;
    transition: font-size 0.3s ease-in-out;
  }

  .nav-link-border {
    border: 1px solid var(--mellow-gold);
    padding: 6px 12px;
   
}
.view-all-link {
  font-family: var(--accent-font);
}
  /* Mobile menu fixes for proper dropdown behavior */
  @media (max-width: 991.98px) {
    /* Fix for navbar-collapse height */
    .navbar-collapse {
      max-height: calc(100vh - 80px);
      overflow-y: auto;
      padding-bottom: 1rem;
    }
    
    /* Fix dropdown menus taking up space when closed */
    .dropdown-menu.mega-menu {
      position: absolute;
      height: 0;
      overflow: hidden;
      padding: 0;
      margin: 0;
      border: 0;
      display: none; /* Hide completely when not active */
    }
    
    /* Only show dropdown when actually open */
    .dropdown-menu.mega-menu.show {
      position: static;
      height: auto;
      overflow: visible;
      display: block;
    }
    
    /* Hide story descriptions on mobile to save space */
    .story-description {
      display: none;
    }
    
    /* Ensure the menu doesn't shift when toggling dropdowns */
    .navbar-nav .dropdown {
      position: relative;
    }
    
    /* Adjust flex layout on mobile */
    .d-flex.w-100.justify-content-between.align-items-center {
      flex-direction: column;
      align-items: flex-start !important;
    }
    
    /* Center the menu when expanded on mobile */
    .navbar-nav.mx-auto {
      margin-left: 0 !important;
      margin-right: 0 !important;
      width: 100%;
    }
  }
/* client request for a line over traceability link */
  .line-above {
    border-top: 2px solid var(--mellow-gold);
    display: block;
    width: 70%;
    margin-top:5px;
    padding-top:5px;
  }

  /* Dropdown menu with fade animation */
  .dropdown-menu.mega-menu {
    display: block;
    /* Required for fade transition */
    opacity: 0;
    visibility: hidden;
    /* Hide it initially but keep the space */
    transition: opacity 0.3s ease;
    border: none;
    padding-top: 0;
    padding-bottom: 0;
    left: 0;
    right: 0;
    background-color: transparent !important;
  }

  @media (min-width: 992px) {
  .dropdown-menu.mega-menu .container {
    background-color: var(--dark-green);
    border-radius: 0 0 1rem 1rem;
    padding-bottom: .75rem;
    border: 1px solid var(--mellow-gold);
    border-top: 0px;
    }
  }

  .dropdown-menu.mega-menu.show {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    ;
  }

  /* Tab content transitions */
  .tab-pane {
    transition: opacity 0.3s ease-in-out;
  }

  .tab-pane:not(.show) {
    opacity: 0;
  }

  .tab-pane.show {
    opacity: 1;
  }

    @media (min-width: 992px) {

  .product-menu-container {
    column-count: 2;
    column-gap: 2rem;
    padding: 1rem;
  }
}

  .product-category {
    break-inside: avoid; /* Prevents a category from splitting across columns */
    page-break-inside: avoid; /* For older browsers */
    margin-bottom: 1.5rem;
  }

  /* Make navbar container wider on desktop */
  @media (min-width: 1400px) {
    .navbar-container-wide {
      width: 90vw;
      margin: 0 auto;
      padding: 0 1rem;
    }
  }

  /* Product tabs styling */
  .product-tabs .nav-link {
    color: var(--mellow-gold);
    text-transform: none !important;
    font-weight: normal !important;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    border: none;
    background: none;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .product-tabs .nav-link:hover,
  .product-tabs .nav-link.active {
    color: #174D27 !important;
    background-color:  var(--mellow-gold);
    /* Light green background for active state */
    font-weight: 500;
  }
  .mega-menu  h5, .mega-menu h6 {
    text-transform:uppercase;
    color:var(--mellow-gold);
    font-size: 1.2rem;
}
  /* Dropdown item styling - this will now apply to all dropdown items */
  .mega-menu .dropdown-item {
    color: #ffffff;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
    display: block;
    text-decoration: none;
    white-space: normal;
  }

  .mega-menu .dropdown-item:hover,
  .mega-menu .dropdown-item:focus {
    background: none;
     color:var(--mellow-gold);
    text-decoration: none;
  }

  /* Specific dropdown-item override for story links */
  .story-link.dropdown-item {
    padding: 0;
    margin-bottom: 0.25rem;
  }
  

/* optional: two column layout for story items */
/*.mega-menu-col-2 ul.list-unstyled.mega-submenu {
  display: flex;
    display: flex;

}

.mega-menu-col-2 ul.list-unstyled.mega-submenu li.story-item {
  flex: 0 0 50%;
  max-width: 50%;
}
*/

.mega-menu-col {
margin:1rem 0
}

  .mega-menu .tab-column {
  /*  background-color: rgba(244, 242, 237, 1);*/

    padding: 1rem;
    padding-bottom: 1rem;
    border-radius:  0 0 0 10px;
  }

  ul.nav.nav-pills.flex-column.product-tabs li {
    line-height: 1.5rem;
    margin: .1rem 0;
  }


  .featured-product-container img {
    border-radius: 10px;
    margin-bottom: 1rem;

  }

.featured-product-inner {

    /*make this acf */
    background-color: #C6AF8A;
    border-radius: .75rem;
}

.featured-product-inner h6 {
    text-transform: initial;
    color: #000000;
}

  /* Our Story menu section styling */
  .story-nav-link {
    font-weight: 500 !important;
    margin-bottom: 0.25rem;
  }
  
  .menu-item-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    font-weight: normal;
  }
  
  /* Special styling for Our Story section */
  .mega-menu .story-section {
    padding: 1.5rem;
  }
  
  .mega-menu .story-section h5 {
    margin-bottom: 1.5rem;
    display: inline-block;
  }
  
  /* Three-column layout for Our Story */
  .story-columns {
    display: flex;
    flex-wrap: wrap;
  }

  /* classes for links with desc active */
  .story-link:hover {
    text-decoration: none;
  }
  
  .story-description {
    color: white;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0;
  }

  /* Mobile-only story link arrows */ /* TODO: add this to .dropdown-item as well */
  @media (max-width: 991.98px) {
   /* .story-item a:nth-of-type(2) {
    border-bottom: 1px solid #333;
    width: 100%;
    display: block;
    padding-bottom: 6px;
    }
    
    .story-item a:nth-of-type(2)::after {
      content: "❯";
      display: inline-block;
      width: 16px;
      height: 16px;
      margin-left: 0.5rem;
      vertical-align: top;
      color: var(--white);
      padding-bottom: 6px;
      transition: transform 0.2s ease;
    }
    
    .story-item a:nth-of-type(2):hover::after {
      transform: translateX(4px);
    }*/
  }

  /* Horizontal scrolling for Shop By Category items on mobile */
  @media (max-width: 991.98px) {
    .category-scroll-container {
      display: flex;
      flex-wrap: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE and Edge */
      padding: 0.5rem 1rem;
      margin: 0 -1rem;
    }
    
    .category-scroll-container::-webkit-scrollbar {
      display: none; /* Chrome, Safari and Opera */
    }
    
    .category-item {
      flex: 0 0 auto;
      width: auto;
      margin-right: 1rem;
      white-space: nowrap;
    }
    
    /* Subtle indicator that there's more to scroll */
    .category-scroll-container::after {
      content: '';
      flex: 0 0 1rem;
    }

      .nav-pills {
        white-space: nowrap; /* Prevents text from wrapping */
        flex-wrap: nowrap;   /* Prevents flex items from wrapping in a flex container */
          overflow-x: auto; /* Adds a horizontal scrollbar when content overflows */
        -webkit-overflow-scrolling: touch; /* Improves scrolling performance on touch devices */
    
    }
  }

/* Add padding to the body when the navbar is sticky */
body.navbar-is-sticky {
  padding-top: 80px; /* Adjust this value as needed to prevent content overlap */
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
	footer {
		background-color: var(--black);
		color: var(--white);
	}

	footer a:link,
	footer a:visited {
		color: var(--mellow-gold);
		text-decoration: none;
	}

	footer a:hover,
	footer a:active {
		color: var(--white);
		text-decoration: none;
	}

	footer .row-styled {
		border-top: 1px solid #666666;
		border-bottom: 1px solid #666666;
    max-width: 70vw;
   /* min-width: 680px;*/
	}
	
	@media (max-width: 767.98px) {
		footer .row-styled {
			max-width: 90vw;
			margin-left: auto;
			margin-right: auto;
		}
	}

	@media (min-width: 768px) {
		footer .row-styled {
			max-width: 40vw;
			min-width: 680px;
		}
	}

	/* Footer menus - center on mobile, left-align on desktop */
	@media (max-width: 767.98px) {
		footer .row-styled h5 {
			text-align: center;
			margin-bottom: 0.5rem;
		}
		
		footer .row-styled ul.list-unstyled {
			display: flex;
			flex-direction: column;
			align-items: center;
			text-align: center;
		}
		
		footer .row-styled ul.list-unstyled li {
			margin-top: 0.25rem;
			margin-bottom: 0.25rem;
		}
		
		footer .row-styled .col-12 {
			margin-bottom: 1.5rem;
		}
	}

	footer ul li {
		margin-top: .5rem;
		margin-bottom: .5rem;
		font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.2rem);
	}
	
	footer .row-styled ul.list-unstyled li a {
		font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.2rem);
	}

	footer h5, .footer-heading {
		color: var(--white);
    font-family: var(--headline-font);
    font-size: 1.8rem;
    text-transform: uppercase;
	}
.footer-contact {
    display: block;
    width: fit-content;
    font-family: var(--accent-font);
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    margin: 1rem auto;
}
	.btn-dark {
		background-color: #C6AF8A !important;
		border-color: #C6AF8A !important;
		color: var(--black) !important;
	}

	.btn-dark:hover,
	.btn-dark:focus,
	.btn-dark:active {
		background-color: var(--mellow-gold) !important;
		border-color: var(--mellow-gold) !important;
	}

	.footer-tagline {
	    max-width: 80vw;
    margin: 0 auto 1rem auto;
    color: var(--mellow-gold);
		
}
.footer-links {
		display: flex;
		flex-wrap: wrap;
		justify-content: center; 
	}

	.footer-links li {
		margin:0; 
	}

	.footer-links a {
		color: var(--mellow-gold);
		text-decoration: none;
    text-transform: uppercase;
		font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.2rem);
	}

	.footer-links a:hover {
		text-decoration: underline;
	}
.foodservice-cta p {
    margin: 0;
    font-family: var(--accent-font);
    font-size: 1.2rem;
    color: var(--white);
    max-width: 70%;
    margin: auto;
    margin-bottom: 1rem;
}
@media (max-width: 900px) {
 .foodservice-cta a {
  display:block;
 margin-top:1rem;
  }
}

.footer-below.row.text-center.my-4 {
    font-size: .66rem;
    color: #888;
}
/* Social Icons */
.social-icon-row a img, 
.footer-icons li a img {
    transition: transform 0.3s ease; /* Smooth transition */
}

.social-icon-row a:hover img, .footer-icons li a:hover img,
.footer-icons li a:focus img,
.footer-icons li a:active img {
    transform: scale(1.2); /* Scale up on hover/focus/active */
}

/*--------------------------------------------------------------
# Blog post (how to's
--------------------------------------------------------------*/

  .breadcrumb-item {
    font-family: var(--accent-font);
    font-size: .95rem;

  }

  .breadcrumb-item a:link {
    color: var(--dark-green);
    text-decoration: none;
  }

  .breadcrumb-item .active {
    color: var(--dark-green);
    font-weight: 700;
  }

  .how-to-container, .recipe-container {
    background-color: var(--white);
  }
  
@media (min-width: 500px) {
    .how-to-container, .recipe-container { 
   padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
  }

  

  .how-to-container p,  .recipe-container p {
    font-size: 1.2rem;
  }
    .how-to-container p strong, .recipe-container p strong {
    color: var(--dark-green);
    font-weight: 700;
  }

  .how-to-container p a:link, .how-to-container p a:visited,
  .how-to-container h1 a:link, .how-to-container h1 a:visited,
  .how-to-container h2 a:link, .how-to-container h2 a:visited,
  .how-to-container h3 a:link, .how-to-container h3 a:visited {
    font-weight: 700;
    transition: color 0.3s ease;
  }
  .how-to-container p a:hover, .how-to-container p a:focus,
  .how-to-container h1 a:hover, .how-to-container h1 a:focus,
  .how-to-container h2 a:hover, .how-to-container h2 a:focus,
  .how-to-container h3 a:hover, .how-to-container h3 a:focus {
    color: var(--bright-green);
  }

.howto-intro-paragraph {
  font-family: var(--accent-font);
  margin-bottom: 2rem; 
  padding-bottom: 1.5rem; 
  border-bottom: 1px solid var(--light-grey);
}

.howto-intro-paragraph  p {
  font-size: 1.4rem; 
  text-align: center;
  font-weight: 500; 
  line-height: 1.6; 
}

  /* How-To Detail Page - Related Content */
  .sticky-related {
    position: sticky;
    top: 60px;
    padding: 20px;
    background-color: #eee;
    border: 1px solid #eee;
    border-radius: 5px;
}

.sticky-related  h3 {
    font-family: var(--accent-font);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
ul.related-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;  
}

.related-post {
    margin-bottom: 20px;
}

.related-post img {
    border-radius: 5px;
    margin-bottom: 10px;
}
 .related-post h4 {
    font-family: var(--accent-font);
    text-transform: initial;
    margin-bottom: .5rem;
    font-size: clamp(1rem, 0.85rem + 0.25vw, 1.3rem);
    line-height: 1.4;
}

.related-post a {
    text-decoration: none;
    color: var(--black);
}

.related-post a:hover {
    color: var(--bright-green);
}

.related-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--mellow-gold);
    color: var(--dark-green);
    font-family: var(--accent-font);

    padding: 0.25rem 0.5rem;
    border-radius: .4rem;
    font-size: 1rem;
    line-height: 1;
    max-width: 50%;
    z-index: 1;
}

.related-post .related-post-image {
    width: 100%;
    height: 200px; 
    border-radius: 1rem;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* For positioning the category */
    overflow: hidden; /* Ensure scaled background doesn't overflow */
}

.related-post .related-post-image a {
    display: block;
    width: 100%;
    height: 100%;
    text-indent: -9999px; /* Hide link text */
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: .5rem;
    transition: transform 0.3s ease; /* Smooth transition for zoom effect */
}

.related-post .related-post-image a:hover {
    transform: scale(1.05); /* Zoom in effect using transform for smoother animation */
}





/* Force centering and rounded corners on alignnone images in blog posts */
.text-left img.alignnone {
    display: block; /* Make it a block-level element */
    margin: 0 auto; /* Center horizontally */
    border-radius: 1rem; /* Apply rounded corners */
}

/* Recipe Collection Masthead */
.recipe-collection-masthead {
    min-height: 60vh;
    background-color: var(--dark-green);
    position: relative;
}

.recipe-collection-masthead .masthead-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.recipe-collection-masthead .masthead-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(23,77,39,0.85) 0%, rgba(23,77,39,0.4) 100%);
}

.recipe-collection-masthead .masthead-content {
    color: var(--white);
    padding: 4rem 0;
}

.recipe-collection-masthead h1 {
    color: var(--mellow-gold);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.recipe-collection-masthead .lead {
    font-family: var(--accent-font);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.recipe-collection-masthead .collection-meta {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(5px);
}

.recipe-collection-masthead .recipe-count {
    color: var(--mellow-gold);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .recipe-collection-masthead {
        min-height: 50vh;
    }
    
    .recipe-collection-masthead .masthead-content {
        padding: 3rem 0;
        text-align: center;
    }
}




/*--------------------------------------------------------------
# HOW TO archive Template
--------------------------------------------------------------*/
/*  category tabs */
.blog-main-nav {
 position: relative;
 border-bottom: 3px solid #cccccc;
 display: grid;
 grid-template-columns: auto 1fr auto;
 align-items: center;
 gap: 6px;
}

/* Gradient overflow hints */
.blog-main-nav::before, .blog-main-nav::after {
 content: "";
 position: absolute;
 top: 0; bottom: 0; width: 18px;
 pointer-events: none; z-index: 3; display: none;
}
.blog-main-nav.has-overflow::before {
 left: 0;
 background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
 display: block;
}
.blog-main-nav.has-overflow::after {
 right: 0;
 background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
 display: block;
}

.cat-arrow {
 background: none; border: 0; color: var(--dark-green);
 font-size: 1.25rem; padding: .25rem .5rem; cursor: pointer;
}
.cat-arrow[hidden] { display: none !important; }

.cat-scroller {
 position: relative;
 overflow-x: auto; overflow-y: hidden;
 overscroll-behavior-x: contain;
 -webkit-overflow-scrolling: touch;
 scrollbar-width: none;
 touch-action: pan-x pan-y;
}
.cat-scroller::-webkit-scrollbar { display: none; }

#main-category-tabs {
 display: flex; gap: 8px;
 flex-wrap: nowrap; white-space: nowrap;
 min-width: max-content;
 padding: 6px 0; margin: 0;
 position: relative;
}

/* Visible underline that moves with the active tab */
#main-category-tabs .active-underline {
 position: absolute;
 bottom: -3px; left: 0;
 height: 3px; width: 0;
 background-color: var(--bright-green);
 border:3px solid var(--bright-green);
 transform: translateX(0);
 transition: transform .25s ease, width .25s ease;
 z-index: 2;
}

/* Tab look */
.blog-main-nav .nav-pills .nav-link {
 color: black; background: none; border: 0; border-radius: 0;
 padding: 10px 12px; text-transform: uppercase;
 font-size: 1rem; font-family: var(--accent-font);
 transition: color .3s ease;
}
.blog-main-nav .nav-pills .nav-link:hover,
.blog-main-nav .nav-pills .nav-link.active {
 color: var(--dark-green);
 text-decoration: none;
}

/* Controls row */
.blog-controls {
 margin: 30px 0;
 align-items: center;
}
.sort-controls {
 display: flex;
 align-items: center;
 gap: 10px;
 justify-content: flex-end;
}
.sort-controls label {
 font-weight: 600;
 margin: 0;
 color: var(--dark-green);
}
/* Scope select width so it doesn't affect other form controls */
.blog-controls .form-control { width: auto; min-width: 180px; }
@media (max-width: 576px) {
 .blog-controls .form-control { width: 100%; min-width: 0; }
}

/* Isotope container */
.isotope-container {
  max-width: 1320px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.isotope {
  margin: 0 -15px;
  display: block;
  visibility: hidden;
  /* hide until ready */
  min-height: 400px;
  /* Adjust this value as needed */
  /* This min-height should be roughly the height of 1-2 rows of your cards */
  /* You might need to make it responsive with media queries */
  position: relative;
  /* Ensure loading indicator can be positioned relative to it */
}

.isotope.isotope-ready {
  visibility: visible;
}

#loading-indicator {
  position: absolute;
  /* Position relative to .isotope */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  /* Ensure it's above other content */
  background-color: rgba(255, 255, 255, 0.8);
  /* Semi-transparent background */
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.2em;
  color: #333;
  white-space: nowrap;
  /* Prevent "Loading..." from wrapping */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Cards grid */
.blog-card-item {
  width: 33.333%;
  padding: 0 15px 30px 15px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.blog-card-item.loaded {
  opacity: 1;
}

/* Responsive container widths matching Bootstrap */
@media (max-width: 1199.98px) {
 .isotope-container { max-width: 960px; }
}
@media (max-width: 991.98px) {
 .isotope-container { max-width: 720px; }
}
@media (max-width: 767.98px) {
 .isotope-container { max-width: 540px; }
}
@media (max-width: 575.98px) {
 .isotope-container { max-width: none; }
}

/* Card styles */
.blog-card {
 background: white;
 border-radius: 12px;
 overflow: hidden;
 box-shadow: 0 2px 15px rgba(0,0,0,0.1);
 transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.6s ease;
 height: 100%;
 display: flex;
 flex-direction: column;
 min-height: 500px;
 content-visibility: auto;
 contain-intrinsic-size: 500px 600px;
}

.blog-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 5px 25px rgba(0,0,0,0.15);
 background: var(--mellow-gold);
}

.blog-card-image {
 position: relative;
 height: 240px;
 overflow: hidden;
}

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

.placeholder-image {
 width: 100%;
 height: 100%;
 background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
 display: flex;
 align-items: center;
 justify-content: center;
 color: #6c757d;
 font-size: 18px;
 position: relative;
}

.placeholder-image::after {
 content: "No Image";
 font-family: var(--accent-font);
}

.blog-card-image:hover img {
 transform: scale(1.05);
}
.card-badges {
 position: absolute;
 top: 15px;
 left: 15px;
 display: flex;
 gap: 8px;
}

.card-badges .badge {
 padding: 6px 12px;
 font-size: 1.2rem;
 font-weight: 600;
 border-radius: 15px;
}

.badge-trending {
 background: #ff6b35;
 color: white;
}

.badge-seasonal {
 background: var(--bright-green);
 color: white;
}

.blog-card-content {
 padding: 1rem;
 display: flex;
 flex-direction: column;
 flex: 1;
 justify-content: space-between;
}

.blog-card-title {
  font-size: clamp(1rem, 0.85rem + 0.25vw, 1.3rem);
 font-family: var(--accent-font);
 line-height: 1.4;
 margin-bottom: 1rem;
}

h3.blog-card-title {
 text-transform: capitalize;
}

.blog-card-title a {
 color: var(--black);
 text-decoration: none;
}

.blog-card-title a:hover {
 color: var(--dark-green);
}

.blog-card-description {
 color: black;
 line-height: 1.6;
 margin-bottom: 20px;
}

.blog-card-meta {
 display: flex;
 justify-content: space-between;
 align-items: flex-end;
 margin-top: auto;
}


.recipe-card .recipe-meta .meta-item {
    font-size: .8rem;
    color: #333;
    background: #f5f5f5;
    padding:.25rem .75rem;
    border-radius: .75rem
}

.card-tags {
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
}
.tag-pill-small {
 background: #f8f9fa;
 border: 1px solid #e0e0e0;
 border-radius: 12px;
 padding: 4px 10px;
 font-size: 12px;
 color: black;
}
.view-count {
 font-size: 12px;
 color: #999;
 white-space: nowrap;
}
.load-more-container {
    text-align: center;
    margin: 2rem auto;
}
/* Grid responsive breaks */
@media (max-width: 992px) {
 .blog-card-item { width: 50%; }
}
@media (max-width: 576px) {
 .blog-card-item { width: 100%; }
 .blog-controls { flex-direction: column; align-items: stretch; }
 .sort-controls { justify-content: flex-start; margin-top: 20px; }
}
/*--------------------------------------------------------------
# Recipes Template
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Product Template
--------------------------------------------------------------*/

/* Product taxonomy archive styling */
.product-landing-container {
margin-top:3rem;

}
.portfolio-item .product-image img,
.portfolio-item .product-image .product-thumbnail {
  max-width: 100px;
  height: auto;
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}

.portfolio-item .product-image .product-desc {
  position: relative;
  width: auto;
  margin-left: 0;
  min-height: auto;
  overflow: hidden;
}

.portfolio-item .product-link .product-bg-main-olive-oil,
.portfolio-item .product-link .product-bg-main,
.portfolio-item .product-link .product-bg-main-vinegars,
.portfolio-item .product-link .product-bg-main-balsamic-glazes,
.portfolio-item .product-link .product-bg-main-glazes,
.portfolio-item .product-link .product-bg-main-pestos {
  min-height: auto !important;
  overflow: hidden;
  padding: 15px;
}

.main-title-copy {
    font-family: var(--accent-font);
    font-size: 1.2rem;
    color:black;
}
.main-title-legal{
    border: 1px solid var(--bright-green);
    padding: 1rem;
    border-radius: 1rem;
    font-size: .9rem;
    color: black;
    margin: 1rem 0;
}
.main-title-legal img {
   max-width:60px !important;
   
}
/* Timeless Taste Section */
.bg-dark-green {
    background-color: var(--dark-green);
    background-image: url('../images/olive-pattern.svg');
    background-repeat: repeat;
    background-position: center;
    background-size: 800px;
}

.play-button {
    transition: transform 0.2s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-container {
    border-radius: 10px;
    overflow: hidden;
}


/* Search Overlay Styles */
#search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* Black with slight transparency */
  z-index: 1050; /* Higher than navbar */
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#search-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--mellow-gold);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

#search-close:hover {
  color: var(--white);
}

.search-overlay-content {
  max-width: 400px;
}

.search-form {
  position: relative;
  width: 360px;
}

.search-field {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--mellow-gold);
  color: var(--white);
  font-size: 1rem;
  line-height: 1.4;  
  box-sizing: border-box; 
  padding: 0.3rem 4rem 0.5rem 0;
  outline: none;
  font-family: var(--accent-font);
  min-width: 360px;
}

.search-field::placeholder {
  color: var(--mellow-gold);
  opacity: 1;
  line-height: 1.4; /* Ensure placeholder inherits the same line-height */
}

.search-submit {
  position: absolute;
  right: 0.25rem; 
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  width: 36px; /* Icon size */
  height: 36px; /* Icon size */
  padding: 0;
}

.search-submit img {
  width: 100%;
  height: 100%;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Search Icon in Nav */
#searchToggle .search-icon-container {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

#searchToggle .search-icon-default,
#searchToggle .search-icon-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.2s ease-in-out;
}

#searchToggle .search-icon-hover {
    opacity: 0;
}

#searchToggle:hover .search-icon-default,
#searchToggle:focus .search-icon-default {
    opacity: 0;
}

#searchToggle:hover .search-icon-hover,
#searchToggle:focus .search-icon-hover {
    opacity: 1;
}





/* home footer social */
.home section#home-footer-social { background-color:var(--mellow-gold);}
.home section#home-footer-social img {
    border-radius: 1rem;
}

.suspack_container p {
    font-size: .8rem;
    margin: 1rem auto 0 auto;
  }

  .nutrition-accordion-btn {
    background-color: var(--white);
    color: var(--dark-green);
   font-family: var(--headline-font);
    font-size: 1.5rem;
   text-transform: uppercase; 
    padding: 1rem 1.5rem;
    width: 100%;
    text-align: left;
    border: none;
    border-radius: .75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
  }
  .nutrition-accordion-btn:hover {
    background-color: #f8f8f8;
  }

  .nutrition-accordion-btn .arrow {
    transition: transform 0.3s ease;
  }

  .nutrition-accordion-btn[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
  }

  .nutrition-accordion-content {
    background-color: var(--white);
    border-radius: .75rem;
    margin-top: 0px;
    padding: 1.5rem;
  }
  .nutrition_facts tbody tr {
    text-align: left;
  }
    .nutrition_facts tbody td {
      font-size: .8rem;
      text-align: left;
      padding: 1%;  
}

  .nutrition_facts tbody tr:nth-child(odd) {
    background-color: #e8e8e8;
  }

  .nutrition_facts tbody td:last-child {
    text-align: right;
  }

  .nutrition_facts thead .tbl_serving td,
  .nutrition_facts thead .tbl_amtserv td,
  .nutrition_facts thead .tbl_amtserv + tr td,
  .nutrition_facts thead .tbl_amtserv + tr + tr td {
    text-align: left;
  }

#product-masthead {
  position: relative;
  padding-right: 32vw; /* Make room for bottle image on desktop */
  padding-bottom: 8vw; /* Add space below for bottle image */
}

.product-masthead-image {
  position: absolute !important;
  right: 10vw;
  top: -5%;
  transform: none !important;
  z-index: 2;
  max-width: 280px;
  width: 280px;
  pointer-events: none;
}


@media (max-width: 991.98px) {
  #product-masthead {
    padding-right: 0;
    padding-bottom: 0;
  }
  .product-masthead-image {
    position: static !important;
    max-width: 240px;
    width: 60vw;
    margin: 2rem auto 0 auto;
    display: block;
    pointer-events: auto;
  }
}
@media (min-width: 992px) {
#product-description {
    margin-right: 100px; /* allow space to the right of desc for image overlap*/
}
}
    /* product image modal */
            .size-gallery-modal {
              position: fixed;
              z-index: 2000;
              left: 0; top: 0; width: 100vw; height: 100vh;
              display: flex;
              align-items: center;
              justify-content: center;
              background: none;
            }
            .size-gallery-modal-backdrop {
              position: absolute;
              left: 0; top: 0; width: 100vw; height: 100vh;
              background: rgba(0,0,0,0.45);
              z-index: 1;
            }
            .size-gallery-modal-content {
              position: relative;
              z-index: 2;
              background: #fff;
              border-radius: 1rem;
              box-shadow: 0 8px 32px rgba(0,0,0,0.18);
              padding: 1.5rem;
              max-width: 95vw;
              max-height: 90vh;
              display: flex;
              align-items: center;
              justify-content: center;
            }
            .size-gallery-modal-content img {
              max-width: 400px;
              max-height: 86vh;
              width: auto;
              height: auto;
              cursor: pointer;
            }
            @media (max-width: 600px) {
              .size-gallery-modal-content img {
                max-width: 90vw;
              }
              .additional-sizes-thumbs {
                gap: 0.7rem;
              }
            }
          
.page-template-default .entry-title {
  display: none;
}

/* basic forms */

label {
    font-family: var(--accent-font);
    color: var(--dark-green);
    font-weight: 500;
}
input, select, textarea {
    border-radius: 4px;
    padding: 3px;
    padding-left: 10px;
    border: 1px solid #aaa;
    width: 100%;
    height: 40px;
    margin: .5rem 0;
    max-width: 380px;
}
textarea {
height:auto;
}



.category-nav-sub {
  list-style: none;
  margin: 0 0 0 2.5rem;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0.0, 0.2, 1);
  display: block;
}

.category-nav-sub.show {
  max-height: 600px;
  /* Large enough for all items, adjust as needed */
}

  /* FAQ accordion button style (uses accent font, no uppercase) */
  .faq-accordion-btn {
    background-color: var(--white);
    color: var(--dark-green);
    font-family: var(--accent-font);
    font-size: 1.5rem;
    padding: 1rem 1.5rem;
    width: 100%;
    text-align: left;
    border: none;
    border-radius: .75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
  }
  .faq-accordion-btn:hover {
    background-color: #f8f8f8;
  }
  .faq-accordion-btn .arrow {
    transition: transform 0.3s ease;
  }
  .faq-accordion-btn[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
  }
.nav-item.dropdown.position-static.me-lg-4  > ul.list-unstyled.mega-submenu {
  display: none;
}

/* standized video embeds in theme files */
    .video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    max-width: 100%;
    height: auto;
    margin: 0 0 30px 0;
}

    /* Make embedded iframes responsive within the container */
    .video-embed iframe,
    .video-embed embed,
    .video-embed object,
    .video-embed video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
     
        border: none;
    }
    
    /* Style for the video captions */
    .video-embed-captions {
        margin-bottom: 10px;
        color: var(--dark-green);
        font-family: var(--accent-font);
        font-size: 1.2rem;
    } 



/* Horizontal scrolling recipe grid for mobile */
@media (max-width: 767px) {
  .wp-block-kadence-postgrid {
    position: relative;
  }

  .wp-block-kadence-postgrid .kt-post-grid-layout-grid-wrap {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll; /* Changed from auto to scroll to always show scrollbar */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: auto; /* Changed from thin to auto for Firefox */
    scrollbar-color: var(--bright-green) #f1f1f1; /* Color format: thumb track */
    padding-bottom: 15px; /* Increased padding to ensure space for scrollbar */
    padding-top: 10px; /* Even spacing */
    margin: 0 -5px; /* Reduced negative margin */
  }
  
  /* Show a thicker, always visible scrollbar in WebKit browsers */
  .wp-block-kadence-postgrid .kt-post-grid-layout-grid-wrap::-webkit-scrollbar {
    height: 8px; /* Increased from 6px to 8px for more visibility */
    background-color: #f1f1f1;
    display: block; /* Always show the scrollbar */
  }
  
  .wp-block-kadence-postgrid .kt-post-grid-layout-grid-wrap::-webkit-scrollbar-thumb {
    background-color: var(--bright-green); /* Changed to bright green for better visibility */
    border-radius: 4px;
    min-height: 40px; /* Ensures minimum grab area */
  }
  
  .wp-block-kadence-postgrid .kt-post-grid-layout-grid-wrap .kt-blocks-post-grid-item {
    scroll-snap-align: center;
    flex: 0 0 240px; /* Smaller width for more items visible */
    min-width: 240px;
    max-width: 240px;
    width: 240px !important;
    margin-right: 10px; /* Reduced gap */
  }
  
  /* Center first item by adding left padding */
  .wp-block-kadence-postgrid .kt-post-grid-layout-grid-wrap {
    padding-left: calc(50% - 120px); /* Half of viewport minus half item width */
    padding-right: 20px; /* Space at the end */
  }
  
  /* Remove scroll text indicator since we now show scrollbar */
  .wp-block-kadence-postgrid::before {
    content: none;
  }
  
  /* Improve title readability in mobile scroll */
  .wp-block-kadence-postgrid .kt-blocks-post-grid-item .entry-title {
    font-size: 1rem;
    line-height: 1.3;
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  /* Better scroll performance */
  .wp-block-kadence-postgrid .kt-post-grid-layout-grid-wrap {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

  /*home-footer-social template part */
  #social-feed-col {
    min-height: 400px;
    background-position: top center;
    background-size: cover; 
    background-position: top center; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    padding-bottom: 20px; 
    opacity: 0; 
    transition: opacity 1s ease-in-out;
  }

/* Horizontal scrolling social feed for mobile */
@media (max-width: 767px) {
  /* Fix for Instagram feed container */
  .sbi_images_wrap {
    overflow: visible !important;
  }
  
  #sbi_images {
    position: relative;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: scroll !important;
    grid-template-columns: none !important;
    grid-gap: 0 !important;
    gap: 10px !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: auto;
    scrollbar-color: var(--bright-green) #f1f1f1;
    padding-bottom: 15px !important;
    padding-top: 10px !important;
    margin: 0 -5px !important;
    width: auto !important;
    max-width: none !important;
  }
  
  /* Show the scrollbar in WebKit browsers */
  #sbi_images::-webkit-scrollbar {
    height: 8px;
    background-color: #f1f1f1;
    display: block;
  }
  
  #sbi_images::-webkit-scrollbar-thumb {
    background-color: var(--bright-green);
    border-radius: 4px;
    min-height: 40px;
  }
  
  /* Social feed items */
  #sbi_images .sbi_item {
    scroll-snap-align: center;
    flex: 0 0 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    width: 280px !important;
    margin-right: 10px !important;
    height: auto !important;
    aspect-ratio: 1/1 !important; /* Keep square aspect ratio */
  }
  
  /* Ensure photo wrap inside items maintains correct proportions */
  #sbi_images .sbi_item .sbi_photo_wrap {
    width: 100% !important;
    height: 100% !important;
  }
  
  /* Make sure images fit properly */
  #sbi_images .sbi_photo {
    height: 100% !important;
    width: 100% !important;
  }
  
  /* Center alignment and performance */
  #sbi_images {
    padding-left: calc(50% - 140px) !important;
    padding-right: 20px !important;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  
  /* Horizontal scrolling for Kadence Row Layout on mobile */
  #stand-for-inner .kt-row-column-wrap {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll !important; /* Always show scrollbar */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: auto;
    scrollbar-color: var(--white);
    padding-bottom: 15px;
    padding-top: 10px;
    margin: 0 -5px;
   
  }
  

#stand-for-inner .kt-row-column-wrap::-webkit-scrollbar-track {
  background: var(--dark-green) !important; /* Force track color */
}


  #stand-for-inner .kt-row-column-wrap::-webkit-scrollbar {
    height: 12px;
    background-color: #fff;
    display: block !important; /* Force display of scrollbar */
    visibility: visible !important; /* Ensure visibility */
      background: var(--dark-green) !important; /* Ensure track background is set */
  }
  
  #stand-for-inner .kt-row-column-wrap::-webkit-scrollbar-thumb {
      background-color: #fff; /* White thumb for contrast */
      border-radius: 4px;
      min-height: 40px;
  }

    /* Set scrollbar track color to --dark-green for all scrollbars in #stand-for-inner (WebKit) */
    #stand-for-inner ::-webkit-scrollbar-track {
      background-color: var(--dark-green) !important;
    }

    /* Set scrollbar base color to --dark-green for all scrollbars in #stand-for-inner (WebKit) */
    #stand-for-inner ::-webkit-scrollbar {
       height: 12px;
      background: var(--dark-green) !important;
    }

    #stand-for-inner {
       height: 12px;
      scrollbar-color: #fff var(--dark-green); /* thumb track for Firefox: white thumb, dark-green track */
    }
  
  #stand-for-inner .kt-row-column-wrap .wp-block-kadence-column {
    scroll-snap-align: center;
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px !important;
    width: 280px !important;
    margin-right: 15px;
  }
  
  #stand-for-inner .kt-row-column-wrap {
    padding-left: calc(50% - 140px);
    padding-right: 20px;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Remove underline from product-link and add outline on hover */
.product-link {
  text-decoration: none !important;
  border: 1px solid transparent;
  display: block;
  border-radius: .25rem;
  transition: border-color 0.5s ease;
}

.product-link:hover, .product-link:focus {
  text-decoration: none !important;
  border: 1px solid var(--light-grey);
}
