:root {
	--display-font-family: PT Serif;
	--body-font-family: Open Sans;

	--font-size: 18px

	--logo-padding: 9px;
	--logo-height: 110px;

	--header-width: 100%;
	--header-border-position: bottom;
	--header-border-size: 0;
	--header-bg-color: 246 241 237;
	--header-border-color: 255 255 255;

	--brand-color: 61 153 89;
	--brand-color-inverted: 31 52 37;

	--background-color: 255 15 ;
	--text-color: 61 61 61;
	--link-color: 30 31 35;

	--action-color: 61 153 89;
	--action-color-inverted: 255 15 ;

	--announcement-bar-bg-color: 0 0 0;
	--announcement-bar-text-color: 255 255 255;
	--announcement-bar-link-color: 61 61 61;

	--main-navigation-bg-color: transparent;
	--main-navigation-link-color: 0 0 0;
	--main-navigation-link-color-hover: 61 153 89;
	--main-navigation-link-bg-color: 188 104 22;
	--main-navigation-link-font-size: 20px;
	--main-navigation-link-alignment: center;

	--auxiliary-bg-color: transparent;
	--auxiliary-border-color: transparent;
	--auxiliary-link-color: 0 0 0;

	--order-status-bg-color: 62 75 90;
	--order-status-color: 255 255 255;

	--store-menu-bg_color: 61 153 89;
	--store-menu-color: 255 255 255;

	--footer-bg-color: 62 75 90;
	--footer-color: 255 15 ;
	--footer-link-color: 255 15 ;
}

/*Custom Styles*/
/*Custom Fonts */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, legend{
   font-family: "Sorts Mill Goudy", serif;
    font-weight: 400!important;
    font-style: normal;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, legend{
   font-family: "Sorts Mill Goudy", serif;
    font-weight: 400!important;
    font-style: normal;
}
body, .body, p, .p, label, .label, paragraph, .paragraph {
    font-family: "Alegreya Sans", sans-serif;
    font-weight: 400!important;
    font-style: normal;
    font-size:18px;
}
/*Disabling subscription blocks - comment out when ready to launch subscription... #textWidget435, #pageWidget--434, #textWidget422, #pageWidget--423,  */
#pageWidget--14 {
    display:none!important;
}

/*Navigation Font size */
.mainNavigation__list > li > a {
    font-size:22px!important;
}

/*How it works header font*/
.howItWorksWidget__stepHeader {
    font-family:"Sorts Mill Goudy", serif!important;
}

/*Adjusting the buttons*/
.btn-danger, .btn-action, .cta {
    border-radius:50px; /*Rounding the button*/
    padding: 8px 30px 8px 30px; /*Adjusting button padding so it appears centered*/
}

/*Class for large text that's not H1*/
.heading-size, h1, .h1 {
    font-size: 64px !important;
    font-weight:200!important;
    line-height:95%!important;
    margin-bottom:0px;
    font-family: "Sorts Mill Goudy", serif;
}
@media (max-width:786px){
    .heading-size, h1, .h1 {
        font-size: 45px !important;
    }
}
.tw-reset .tw-bg-gray-100 {
    background-color:transparent!important;
}

/* Paper background */
.contentWidget {
    --background_color: transparent!important;
}
.pageWidgets, .siteHeader, :root[data-url^="store"] body  {
    background-image: url("https://s3.amazonaws.com/grazecart/brookfordfarm/images/1741044821_67c63c5564584.jpg") !important;
    background-color:#F6F1ED!important;
    background-repeat: repeat;
    background-size: 100% auto;
}
:root[data-url^="store"] .pageWidgets {
    background-image:none!important;
    background-color:transparent!important;
}

.storeSearch__container--vertical {
    border-width: thin !important;
    border-color:#3d3d3d!important;
    border-radius:50px!important;
}
/* Grass background on homepage*/
#textWidget343 {
    background-color:transparent;
}
#pageWidget--343 {
    background-image:  url('https://s3.amazonaws.com/grazecart/brookfordfarm/images/1741097292_67c7094c15c8c.png') !important;
    background-repeat: no-repeat;
    background-size:400px auto;
    background-position: left top;
}
#pageWidget--339 {
    background-image:  url('https://s3.amazonaws.com/grazecart/brookfordfarm/images/1741097842_67c70b72316c8.png') !important;
    background-repeat: no-repeat;
    background-size: 400px auto;
    background-position: left bottom;
    z-index:0;
    margin-top:-600px;
    padding-top:600px;
    margin-bottom:-1px;
}

/* Newsletter Widget Adjustments */
.newsletterWidget .btn-default {
    background-color: #3d3d3d!important;
    border-color:transparent!important;
    border-radius:50px;
    color:white!important;
    font-size: 20px!important;
    box-shadow: -1px 4px 3px rgba(0, 0, 0, 0.3);
}

.newsletterWidget .form-control {
    border-radius:50px!important;
}

/* Grid */
/* Main grid container */
.promo-grid {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    gap: 25px 10px;
}


/* Base container - handles width, layout, and default styles */
.quarter-grid__container {
    width: 24%; /* Keeps 4 columns */
    overflow: hidden;
    text-align: center;
}
.half-grid__container {
    width: 46%; /* Keeps 4 columns */
    overflow: hidden;
    text-align: left;
    margin-bottom:40px;
}
.third-grid__container {
    width: 32%; /* Keeps 4 columns */
    overflow: hidden;
    text-align: center;
}
.card {
  background: #fff; 
    border-radius: 8px;
    text-align:left!important;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.plain {
  background: transparent; 
}

/* Modifier class for transparent outlined style */
.promo-grid__transparent {
    background: transparent !important;
    border: 2px solid #3d3d3d;
    box-shadow: none; /* Removes shadow */
    text-align: left;
}

/* Image styling */
.promo-grid__image img {
    width: 100%; 
    height: 180px; 
    object-fit: cover; /* Ensures image maintains aspect ratio */
}
.icon img {
    width: 80px; 
    height: 80px; 
    object-fit: cover; /* Ensures image maintains aspect ratio */
}

/* Text styling */
.promo-grid__text {
    padding: 25px;
}

.promo-grid__text h2 {
    font-size:24px;
    color:#3d3d3d;
    margin-bottom: 10px;
}

.promo-grid__text p {
    font-size: 16px;
    color: #3d3d3d;
}

/* Button styling */
.promo-grid__btn {
    background: #3a853c;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    margin-top: 20px;
}

/* Button hover effect */
.promo-grid__btn:hover {
    background: #2e6b2e;
}

/* Transparent outlined button */
.promo-grid__transparent .promo-grid__btn {
    background: transparent;
    color: #3d3d3d;
    border: 2px solid #3d3d3d;
}

/* Hover effect for transparent button */
.promo-grid__transparent .promo-grid__btn:hover {
    background: #3d3d3d;
    color: white;
}

/* Responsive Layout */
@media (max-width: 1024px) {
    .quarter-grid__container, .half-grid__container  {
        width: 48%; /* Two per row */
    }
}

@media (max-width: 768px) {
    .quarter-grid__container, .third-grid__container , .half-grid__container  {
        width: 100%; /* One per row */
    }
}
/* Marquee container */
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: #C1DCC2;
    padding: 10px 0;
    position: relative;
}

/* Marquee content (moving text) */
.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 45s linear infinite;
}

/* Marquee animation */
@keyframes marquee {
    from { transform: translateX(0%); }
    to { transform: translateX(-50%); }
}

/* Text styling */
.marquee-content span {
    color: #0C090D;
    font-size: 1.2em;
    font-weight: 400;
    padding-right: 0px; /* Space between repeats */
}
/* Wrapper div to control size */
.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin-left:-40px;
}

/* Image Slider */
.image-slider {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.small-slider {
    max-height: 300px!important; /* Adjust height as needed */
}
.big-slider {
    max-height: 500px!important; /* Adjust height as needed */
}
.small-wrapper {
    max-width: 500px!important;
    margin-left:-40px!important;
}
.big-wrapper {
    max-width: 1120px!important;
    margin:auto!important;
}
/* Image Container */
.image-container {
    max-height: inherit;
    width:auto;
    display: flex;
    overflow: hidden;
}

/* Image Track (Fixed to Fit One Image at a Time) */
.image-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%; /* Ensures only one image shows at a time */
}

/* Ensures Each Image is Centered and Scaled Properly */
.image-track img {
    height: 100%;
    width:auto;
    object-fit: contain; /* Ensures images fit without distortion */
    display: block;
}

/* Navigation Buttons */
.prev-btn, .next-btn {
    background-color: transparent;
    color: #0C090D;
    border-radius: 50%;
    padding: 10px;
    border:none;
    cursor: pointer;
    font-size: 24px;
    position: relative;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    color:green;
}
/* Hide Buttons When Disabled */
.prev-btn.shy, .next-btn.shy {
    opacity: 0;
    pointer-events: none;
}
/* Responsive styles for the farmers note section */
@media screen and (max-width: 1040px) {
  .full-page-html {
    grid-template-columns: 100% !important;
    max-width: 100% !important;
    gap: 30px !important;
    margin: 60px 20px !important;
  }
  
  .slider-wrapper {
    margin-left: 0;
    max-width: 100%;
}
}

@media screen and (max-width: 1160px) {
  .slider-wrapper {
    margin-left:0px;
  }
  
  
}

/* Add additional breakpoint for very small screens */
@media screen and (max-width: 480px) {
  .full-page-html {
    margin: 40px 15px !important;
  }
  
  .image-slider {
    max-height: 250px;
  }
}

/* Responsive */
@media (max-width: 768px) {
    .slider-wrapper { max-width: 100%; }
    .image-slider { height: 300px; } /* Adjust height for smaller screens */
    /*Event page header*/
    #bannerWidget397 .bannerWidget__innerContainer {
        padding-top:50px;
        padding-bottom:250px;
    }
    #bannerWidget375 .bannerWidget__innerContainer {
        padding-top:100px!important;
        padding-bottom:100px!important;
        min-height: 250px;
    }
    .storeSearch__container {
        display:inline;
    }
}
@media (min-width: 769px) {
    #store-search-mobile{
        display:none!important;
    }
    
}

/*About page */
#pageWidgetRow--365 .pageWidget__rowInnerContainer, #pageWidgetRow--357 .pageWidget__rowInnerContainer {
    max-width:1140px!important;
}
@media (max-width:1160px){
    
    .full-page-html {
        margin-right:20px!important;
        margin-left: 20px!important;
        }
}

/* Footer */
.siteFooter .textWidget {
    padding-top:30px!important;
}

#textWidget344{
    width:300px;
    margin-right:10px!important;
}
#textWidget345 {
    padding:0px!important;
    margin-top:-80px!important;
}
.footerAccreditation, .accreditation, .accreditation a, #goodroots, #goodroots a {
    background-color: #3E4B5A!important;
    color: #fff!important;
    text-align:center;
    font-size:11px;
}
#goodroots {
    padding-bottom:20px!important;
}
.backToTopLink__container{
    background-color: #3E4B5A!important;
}

/* Make the header container full width */
@media (min-width: 769px){
    .siteHeader__container--style4 {
        width: 100%;
        max-width: 100%;
    }
    
    /* Change the alignment container to be full width */
    .siteHeader__alignmentContainer--style4 {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 0 20px; /* Add some padding on sides */
    }
    
    /* Adjust the flex container to distribute content */
    .siteHeader__flexContainer--style4 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    /* Ensure the logo doesn't take too much space */
    .logo--style4 {
        flex: 0 0 auto;
    }
    .logo__img {
        margin-top:-30px;
        margin-bottom:30px;
    }
    
    /* Make the navigation take up available space */
    .mainNavigation--style4 {
        flex: 1;
        display: flex;
        justify-content: center;
    }
    
    /* Adjust the navigation list to be more flexible */
    .mainNavigation__list {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    /* Space out navigation items */
    .mainNavigation__list > li {
        margin: 0 5%;
    }
    /* Make the last navigation item appear as a button */
    .mainNavigation__list > li:last-child > a {
        background-color: #3d9959 !important;
        border-color: #298545 !important;    
        color: white !important; /* Button text color */
        border-radius:50px; /*Rounding the button*/
        padding: 8px 30px 4px 30px ; /*Adjusting button padding so it appears centered*/
    }
    
    /* Hover effect for the button */
    .mainNavigation__list > li:last-child > a:hover {
        background-color: #65c181 !important;
        border-color: #65c181 !important;
    }
}
@media (max-width:1004px) AND (min-width:769px){
    .mainNavigation__list > li {
        margin: 0 1%;
    }
}
/* Drop down responsive FAQs */

.faq {
  width: 80%;
  max-width:920px;
  margin: 0 auto;
}

.question {
  color:#000000;
  font-size: 18px;
  font-weight: normal;
  position: relative;
  margin: 0 auto;
  padding: 10px 10px 10px 50px;
  display: block;
  cursor: pointer;
}

.answers {
  padding: 0 15px;
  margin: 0 0 7px 0;
  height: 0;
  overflow: hidden;
  position: relative;
  opacity: 0;
  -webkit-transition: .7s ease;
  -moz-transition: .7s ease;
  -o-transition: .7s ease;
  transition: .7s ease;
}
:root[data-url="pick-your-own"] .answers {
    background-color: #3E4B5A!important;
    color:white!important;
}
:root[data-url="events"] .answers {
    background-color: #C1DCC2!important;
    color:#3d3d3d!important;
}

.questions:checked ~ .answers{
  height: auto;
  opacity: 1;
  padding: 15px;
}

.plus {
  position: absolute;
  margin-left: 10px;
  margin-top:5px;
  z-index: 5;
  font-size: 1.8em;
  line-height: 100%;
  -webkit-user-select: none;    
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  -webkit-transition: .3s ease;
  -moz-transition: .3s ease;
  -o-transition: .3s ease;
  transition: .3s ease;
}

.questions:checked ~ .plus {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.questions {
  display: none;
}
/*About page*/
@media (min-width:768px){
    #textWidget378 {
        margin-left:0px; /*Intro paragraph alignment */
    }
}

/*Bulk Meat Page */
.howItWorksWidget .bullet {
    background-color: transparent !important;
    border-width: 1px;
    border-color: #3d3d3d;
    height:70px;
    width:70px;
}
/*Subscribe and save page */
#textWidget411, #pageWidgetRow--411 .pageWidget__rowInnerContainer, #textWidget454, #pageWidgetRow--453 .pageWidget__rowInnerContainer {
    padding: 0px !important;
    margin: 0px !important;
    max-width: 2000px !important;
}
@media (min-width:769px) and (max-width:932px) {
#textWidget411 div {
    height:900px!important;
}
}
/*CSA page*/
#howItWorksWidget423 .howItWorksWidget__step:last-of-type .bullet, #howItWorksWidget410 .howItWorksWidget__step:last-of-type .bullet,  #howItWorksWidget434 .howItWorksWidget__step:last-of-type .bullet {
    background-color: transparent;
    background-image:url(http://s3.amazonaws.com/grazecart/brookfordfarm/images/1741909239_67d36cf7ee80c.png);
    background-size: 42px 42px;
    background-repeat:no-repeat;
    background-position:center;
}
#howItWorksWidget423 .howItWorksWidget__step:first-of-type .bullet, #howItWorksWidget410 .howItWorksWidget__step:nth-child(2) .bullet,  #howItWorksWidget434 .howItWorksWidget__step:nth-child(2) .bullet {
    background-color: transparent;
    background-image:url(http://s3.amazonaws.com/grazecart/brookfordfarm/images/1741909284_67d36d24978f5.png);
    background-size: 42px 42px;
    background-repeat:no-repeat;
    background-position:center;
}

#howItWorksWidget423 .howItWorksWidget__step:first-of-type .bullet, #howItWorksWidget410 .howItWorksWidget__step:last-of-type .bullet,  #howItWorksWidget434 .howItWorksWidget__step:nth-child(2) .bullet {
    background-color: transparent;
    background-image:url(http://s3.amazonaws.com/grazecart/brookfordfarm/images/1741909284_67d36d24978f5.png);
    background-size: 42px 42px;
    background-repeat:no-repeat;
    background-position:center;
}

.bullet .fa-smile, .bullet .fa-calendar-alt, .bullet .fa-shopping-basket, .bullet .fa-thumbs-up  {
    display:none;
}
/*Career Opportunities */
#howItWorksWidget459 .howItWorksWidget__step .bullet, #howItWorksWidget460 .howItWorksWidget__step .bullet, #howItWorksWidget469 .howItWorksWidget__step .bullet {
    background-color: transparent;
    background-size: 42px 42px;
    background-repeat:no-repeat;
    background-position:center;
}
#howItWorksWidget459 .howItWorksWidget__step:first-of-type .bullet {
    background-image:url(http://s3.amazonaws.com/grazecart/brookfordfarm/images/1742922127_67e2e18f240a1.png);
}
#howItWorksWidget459 .howItWorksWidget__step:nth-child(2) .bullet {
    background-image:url(http://s3.amazonaws.com/grazecart/brookfordfarm/images/1742922127_67e2e18f1e017.png);
}
#howItWorksWidget459 .howItWorksWidget__step:last-of-type .bullet, #howItWorksWidget469 .howItWorksWidget__step:last-of-type .bullet {
    background-image:url(http://s3.amazonaws.com/grazecart/brookfordfarm/images/1742922126_67e2e18ed0a61.png);
}
#howItWorksWidget460 .howItWorksWidget__step:first-of-type .bullet {
    background-image:url(http://s3.amazonaws.com/grazecart/brookfordfarm/images/1742922126_67e2e18eb85a3.png);
}
#howItWorksWidget460 .howItWorksWidget__step:nth-child(2) .bullet {
    background-image:url(http://s3.amazonaws.com/grazecart/brookfordfarm/images/1742922126_67e2e18e736bb.png);
}
#howItWorksWidget460 .howItWorksWidget__step:last-of-type .bullet {
    background-image:url(http://s3.amazonaws.com/grazecart/brookfordfarm/images/1742922126_67e2e18e7290f.png);
}

/*Wholesale*/
:root[data-url^="store-wholesale"] .storeIndex__sideBar--style1 {
    display:none!important;
}
/*What we offer widgets*/
.photoGridWidget__listCaption {
        background-color: rgba(0, 0, 0, .36)!important;
}
.photoGridWidget__listCaption:hover{
    background-color:rgba(0, 0, 0, .56)!important;
}

.no-underline:hover {
    background-color:#3e4b5a!important;
    color:fff;
}
@media (min-width:1024px){
.productPage__descriptionText {
    width: 53%!important;
}
}
@media (min-width:768px){
    /* Make the row a flex container with equal height columns */
    .pageWidget__row {
      display: flex;
    }
    
    .pageWidget__rowInnerContainer {
      display: flex;
      width: 100%;
    }
    
    /* Make each half take up 50% of the width */
    .pageWidget__slot--half-width {
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    
    /* Make the image container fill the available height */
    .textWidget--454 {
      height: 100%;
      display: flex;
    }
    
    /* Make the figure and image fill the available space */
    .textWidget--454 figure {
      margin: 0;
      height: 100%;
      width: 100%;
      display: flex;
    }
    
    .textWidget--454 img {
      width: 100%;
      height: 100%;
      object-fit: cover; /* This maintains aspect ratio while filling the space */
      max-height: none; /* Remove any max-height restriction */
    }
}
@media (max-width: 768px) {
    #textWidget367 {
        background-image: url(https://s3.amazonaws.com/grazecart/brookfordfarm/images/1743614885_67ed73a58578b.png);
        background-size: contain;
        background-repeat: no-repeat;
        height: calc(106vw);
    }
    #textWidget367 img {
        display: none;
    }
}
