:root {
	--brand_color: #003324;
	--brand_color_inverted: #FFFFFF;
	--background_color: #FFFFFF;
	--text_color: #3D3D3D;
	--link_color: #78b217;
}

body {
	background-color: var(--background_color);
	color: var(--text_color);
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, legend {
	font-family: Lexend;
}

body, p, label, .paragraph {
	font-family: Lexend;
	font-size: 18px;
}

a {
	color: var(--link_color);
}

a:hover {
	text-decoration: underline;
}

.brand {
	background-color: #003324;
	color: #FFFFFF;
	border-color: #003324;
}

.text-brand {
	color: #003324;
}

.text-action {
	color: #78b217;
}

.brand-inverted {
	background-color: #FFFFFF;
	color: #003324;
	border-color: #FFFFFF;
}

.action {
	background-color: #78b217;
	color: #ffffff;
	border-color: #78b217;
}

.action-inverted {
	background-color: #ffffff;
	color: #78b217;
	border-color: #ffffff;
}

/* SiteHeader */

.announcement_bar {
	background-color: #78b217;
	color: #ffffff;
}

.announcement_bar a {
	color: #ffffff;
}

.siteHeader {
	background-color: transparent;
	color: #FFFFFF;
	border-bottom-style: solid;
	border-bottom-width: 0;
	border-bottom-color: #EEEEEE;
}

.siteHeader__container {
	max-width: 100%;
}

/* MainNavigation */

.mainNavigation, .mobileNav {
	background-color: #003324;
}

.mainNavigation__list {
	text-align: center !important;
}

.siteHeader__container--style4 {
	text-align: center;
}

.mainNavigation__list > li > a {
	font-size: 17px;
}

/*Mobile Nav*/
.mobileNav > li > a {
	color: #FFFFFF;
	background-color: #003324;
}

.mobileNav > li > a:hover {
	background-color: #000b00;
}

.mobileNav > li > a:focus {
	background-color: #000b00;
}

/* Custom Link Colors */
	.mainNavigation__list > li > a {
		color: #FFFFFF;
		background-color: #003324;
	}
	.mainNavigation__list > li > a:hover {
		color: #FFFFFF;
		background-color: #034A24;
	}

	.mobileNav > li > a {
		color: #FFFFFF;
		background-color: #003324;
	}

	.mobileNav > li > a:hover {
		color: #FFFFFF;
		background-color: #034A24;
	}

	.mobileNav > li > a:focus {
		color: #FFFFFF;
		background-color: #034A24;
	}

.mainNavigation__list > li > a {
	transition: all 0.2s ease-in-out;
}

/* Auxiliary Navigation (Use this for the account menu, sign up cta, cart, etc,) */

.auxiliaryMenu--block, .auxiliaryMenu__container {
	background-color: transparent;
		border-bottom: none;
	}

.auxiliaryMenu {
	max-width: 100%;
}

		.auxiliaryMenu > li > a {
				color: #;
			}

	.auxiliaryMenu > li > a:hover, .auxiliaryMenu > li > a:focus {
				color: #;
			}
	
.order__delivery_threshold_difference, .order__delivery_threshold_difference-met {
    background-color: #f8f8f8;
    color: #008000;
}

/* OrderStatus */
.orderStatusBar {
	background-color: #f8f8f8;
}

.orderStatus__container {
	color: #008000;
}

.orderStatus__container a {
	border-bottom-color: #ffffff;
	color: #008000;
}

.orderStatus__container a:hover {
	border-bottom-color: #008000;
}

.orderStatus__mobileToggle {
	color: #008000;
}

.orderStatus__mobileToggle a {
	border-bottom-color: #ffffff;
	color: #008000;
}

.orderStatus__mobileToggle a:hover {
	border-bottom-color: #008000;
}

/* Logo */

.logo {
	color: #FFFFFF;
	font-size: 17px;
	padding: 5px;
}

.logo__img {
	max-height: 83px;
}

@media (max-width: 414px) {.logo {padding: 5px;}.logo__img {max-height: 75px;}}

.siteFooter {
	background-color: #ffffff;
	color: #003324;
}

.siteFooter .tw-prose {
	--tw-prose-headings: #003324;
	--tw-prose-body: #003324;
	--tw-prose-p: #003324;
	--tw-prose-a: #003324;
	--tw-prose-bullets: #003324;
}

.siteFooter h1, .siteFooter h2, .siteFooter h3, .siteFooter h4, .siteFooter h5, .siteFooter h6 {
	color: #003324;
}

.siteFooter a {
	--tw-prose-a: #003324;
	color: #003324;
}

.siteFooter a:hover, .siteFooter a:focus {
	color: #001f10;
}

.siteFooter img {
	margin-left: auto;
	margin-right: auto;
}

.backToTopLink__container {
	background-color: #ffffff;
}

.backToTopLink__container a {
	color: #003324;
}

/* Buttons */
.btn-brand, .btn-default, .btn-primary {
	background-color: #003324 !important;
	border-color: #001f10 !important;
	color: #FFFFFF !important;
}

.btn-brand-inverted {
	background-color: #FFFFFF;
	color: #003324;
	border: solid 1px #003324;
}

.btn-brand-inverted:hover {
	background-color: #003324;
	color: #FFFFFF;
	border: solid 1px #003324;
}



.btn-brand:hover, .btn-default:hover, .btn-primary:hover {
		background-color: #285b4c !important;
	border-color: #285b4c !important;
		color: #FFFFFF !important;
}

.btn-danger, .btn-action, .cta {
	background-color: #78b217 !important;
	border-color: #649e03 !important;
	color: #ffffff !important;
}
.btn-danger:hover, .btn-action:hover, .cta:hover {
		background-color: #a0da3f !important;
	border-color: #a0da3f !important;
	
	color: #ffffff !important;
}

.btn-action-inverted {
	background-color: #ffffff;
	color: #78b217;
	border: solid 1px #78b217;
}

.btn-action-inverted:hover {
	background-color: #78b217;
	color: #ffffff;
	border: solid 1px #78b217;
}

.bullet, .confirmation__step-number {
	background-color: #003324;
	color: #FFFFFF;
}

/* Store Menu */
.storeIndex__sideBarList--style2 {
	background-color: #f8f8f8 !important;
	border-color: #f8f8f8 !important;
	color: #777;
}

.storeSearch__input--style2 {
	border-color: #f8f8f8 !important;
}

.storeIndex__sideBarList--style2 > li > a {
	color: #777;
	border-color: #eeeeee !important;
}

.storeIndex__sideBarList--style2 > li > a:hover {
	color: #777;
	background-color: #eeeeee !important;
}

.storeSearch__button--style2 {
	color: #777;
}

.banner__protocols li:before {
    color: #003324
}

/*Custom Styles*/
@media (max-width: 700px){
  #pageWidget--1182 .bannerWidget__innerContainer{
    padding: 50px 0 !important;
  }
}

/* ==========================================================
   STICKY HEADER
   Keep above product-card ribbons, but below cart overlays
   ========================================================== */

@media (min-width: 700px){
  .siteHeader{
    position: sticky !important;
    top: 0 !important;
    z-index: 25 !important;
    background-color: #fff !important;
  }
}

/* ==========================================================
   STORE PRODUCT STACKING
   Keep product cards/ribbons below sticky navigation
   without affecting cart drawers or modal overlays
   ========================================================== */

.featuredProductsWidget,
.featuredProductsWidget__products{
  position: relative;
  z-index: 1;
}

.featuredProductsWidget__products > *{
  position: relative;
  z-index: 1;
}


/****Style the custom logo widget: ****/

.badges-flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: auto;
    padding: 24px 16px;
    text-align: center;
}

.img-wrapper {
    width: 107px;
    height: 107px;
}

/* Tablet break point */
@media screen and (min-width: 475px) {
   .img-wrapper {
    width: 140px;
    height: 140px;
   }

   .badges-flex-container {
     padding: 45px 16px;
   }
}

/* Desktop Breakpoint */
@media screen and (min-width: 920px) {
    .img-wrapper {
    width: 150px;
    height: 150px;
    }
}

.img-wrapper img {
    height: 100%;
    width: auto;
    aspect-ratio: 1/1;
}

/**** End logo widget styles ****/


/*** Patch: fix changes to the product images
for continued support of square photos ***/

/* Select the <div> wrapping the <img> and set
its height to match its width aspect-ratio:
HW- 10/03/2023 */

/* Product collection page */
div.tw-aspect-h-3.tw-aspect-w-4.tw-w-full.tw-group {
    --tw-aspect-h: 1;
    --tw-aspect-w: 1;
}

/* Product listing page */
div.tw-aspect-h-2.tw-aspect-w-3.tw-w-full {
    --tw-aspect-h: 1;
    --tw-aspect-w: 1;
}


/* ============================================================
   GRAZECART PRODUCT PAGE — CLEAN CONSOLIDATED PATCH (FINAL)
   ============================================================ */

/* -------- Main row: compact, predictable gaps -------- */
.productPage__productDetailsRow {
  align-items: start !important;
  column-gap: 16px !important;
  row-gap: 8px !important;
  overflow: visible !important;
}

/* --------------------------- Left photo column --------------------------- */

.productPage__photo {
  max-width: 640px;
  width: 100%;
  justify-self: start;
  box-sizing: border-box;
  margin-bottom: 0 !important;
  position: relative !important;
  z-index: 0 !important;
}

/* Gallery flows top to bottom */
.productPage__photo .product-gallery {
  display: flex;
  flex-direction: column;
  overflow: visible !important;
}

/* Kill Tailwind aspect-ratio shim on hero wrapper */
.product-gallery__main {
  position: relative !important;
  height: auto !important;
  aspect-ratio: auto !important;
  margin-bottom: 8px !important;
  z-index: 0 !important;
}

.product-gallery__main::before {
  content: none !important;
  padding-top: 0 !important;
}

/* Hero image */
#main-product-image {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  object-position: center;
  border-radius: 8px;
  position: relative !important;
  z-index: 0 !important;
}

#main-product-image.tw-object-cover {
  object-fit: contain !important;
}

.productPage__photo .product-gallery .tw-h-full {
  height: auto !important;
}

/* Thumbnails */
.productPage__photo .product-gallery__thumbnails,
.productPage__photo .product-thumbnails,
.productPage__photo .thumbnails,
.productPage__photo .product-gallery__thumbs,
.productPage__photo .product__thumbnails {
  position: relative !important;
  z-index: 3 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 8px !important;
  clear: both;
}


/* -------------------------- Right details column ------------------------- */

.productPage__details {
  min-width: 320px;
  position: relative !important;
  z-index: 2 !important;
  margin-top: 0 !important;
}

/* Remove hidden Tailwind vertical spacing */
.productPage__details[class*="tw-space-y-"] > * + *,
.productPage__details [class*="tw-space-y-"] > * + * {
  margin-top: 0 !important;
}

.productPage__details[class*="tw-mt-"],
.productPage__details [class*="tw-mt-"],
.productPage__details > *:first-child {
  margin-top: 0 !important;
}

/* Pages without trust badges */
.productPage__productDetailsRow + * {
  clear: both;
  margin-top: 12px;
}

/* Trust badges */
.badges-flex-container {
  grid-column: 1 / -1;
  margin-top: 12px;
  clear: both;
}


/* ------------------------------ Responsive ------------------------------- */

/* Tablet */
@media (min-width: 641px) and (max-width: 1024px) {

  .productPage__photo {
    max-width: 100% !important;
  }

  #main-product-image {
    max-height: 60vh;
  }
}

/* Phone */
@media (max-width: 640px) {

  .productPage__productDetailsRow {
    display: block !important;
    column-gap: 0 !important;
    row-gap: 8px !important;
  }

  .product-gallery__main {
    margin-bottom: 8px !important;
  }

  #main-product-image {
    max-height: 60vh;
    border-radius: 12px;
  }

  .productPage__details {
    clear: both !important;
    margin-top: 8px !important;
    z-index: 2 !important;
  }

  .productPage__photo .product-gallery__thumbnails,
  .productPage__photo .product-thumbnails,
  .productPage__photo .thumbnails,
  .productPage__photo .product-gallery__thumbs,
  .productPage__photo .product__thumbnails {
    margin-top: 8px !important;
    z-index: 3 !important;
  }
}


/* ---------------- Listing/Collection ---------------- */

div.tw-aspect-h-3.tw-aspect-w-4.tw-w-full.tw-group {
  --tw-aspect-h: 1;
  --tw-aspect-w: 1;
}

div.tw-aspect-h-2.tw-aspect-w-3.tw-w-full {
  --tw-aspect-h: 1;
  --tw-aspect-w: 1;
}


/* Kill remaining Tailwind aspect shim */
.product-gallery__main {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  --tw-aspect-h: initial !important;
  --tw-aspect-w: initial !important;
}

.product-gallery__main::before,
.product-gallery__main::after {
  content: none !important;
  display: none !important;
  padding-top: 0 !important;
  clear: none !important;
  float: none !important;
}


/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

/* Headings: Belanosima */

h1,
h2,
h3,
h4,
h5,
h6,
.bannerWidget__heading,
.product-weight,
.bundle-weight,
.product-title,
nav a,
.nav-link,
.btn,
.btn-danger,
.btn-break,
.section-title,
.hero-title {
  font-family: 'Belanosima', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-weight: 500;
}


/* Body copy: Work Sans */

body,
p,
li,
.bannerWidget__subheading,
.process-step p,
.hero-text p,
.product-description,
.page-content p {
  font-family: 'Work Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-weight: 400;
  line-height: 1.6;
}


/* ==========================================================
   PRODUCT ACCORDION
   ========================================================== */

.rr-product-accordion details{
  margin: 0 0 14px 0;
}

.rr-product-accordion summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #F1EFE9;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 700;
  color: #003324;
}

.rr-product-accordion summary::-webkit-details-marker{
  display: none;
}

.rr-product-accordion summary::after{
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #003324;
  border-bottom: 2px solid #003324;
  transform: rotate(45deg);
  transition: 0.2s;
  margin-left: 12px;
  flex-shrink: 0;
}

.rr-product-accordion details[open] summary::after{
  transform: rotate(-135deg);
}

.rr-product-accordion .rr-product-content{
  background: #F1EFE9;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  line-height: 1.55;
  color: #000;
}

.rr-product-accordion .rr-product-content p{
  margin: 8px 0;
}

.rr-product-accordion .rr-product-content ul{
  margin: 4px 0 0 18px;
  padding: 0;
}

.rr-product-accordion .rr-product-content a{
  color: #003324;
  font-weight: 700;
}


/* Subscribe & Save alignment */

.rr-product-accordion .rr-subscribe-content{
  display: flex;
  align-items: center;
  gap: 12px;
}

.rr-product-accordion .rr-subscribe-content img{
  width: 50px;
  height: 50px;
  min-width: 32px;
  min-height: 32px;
  flex-shrink: 0;
  display: block;
}

.rr-product-accordion .rr-subscribe-content p{
  margin: 0;
  line-height: 1.4;
}


/* Mobile optimization */

@media (max-width: 560px){

  .rr-product-accordion .rr-subscribe-content img{
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }
}


/* ==========================================================
   RR BADGES
   ========================================================== */

.rr-badge-container,
.rr-badge-container *,
.rr-badge-list,
.rr-badge-list * {
  margin: 0 !important;
  padding: 0 !important;
}

.rr-badge-list {
  display: block;
}

.rr-badge-item {
  display: flex;
  align-items: center;
  line-height: 1.2;
}

.rr-badge-item + .rr-badge-item {
  margin-top: 4px !important;
}

.rr-badge-item img {
  width: 16px;
  height: 16px;
  display: block;
  margin-right: 6px !important;
  flex-shrink: 0;
}

.rr-badge-item strong {
  font-size: 16px;
  line-height: 1.2;
}

div.rr-product-content > figure{
  margin: 0 !important;
}


/* Hide footer accreditation */

.footerAccreditation {
  display: none !important;
}


/* ==========================================================
   LIVE PRODUCT MODULE IN HERO
   ========================================================== */

.rr-favorites-hero__product-area {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 28px clamp(22px, 3vw, 48px);

  background: #F5EBE3;
}


/* GrazeCart product widget after it is moved into the hero */

#rr-favorites-product-slot {
  width: 100%;
  max-width: 440px;
}


/* Remove GrazeCart's large outer-page spacing */

#rr-favorites-product-slot .featuredProductsWidget {
  width: 100%;
}

#rr-favorites-product-slot .featuredProductsWidget > div {
  width: 100%;
  max-width: none;

  margin: 0;
  padding: 0;
}

#rr-favorites-product-slot .featuredProductsWidget__products {
  width: 100%;
  max-width: none;

  margin: 0;
}


/* Actual product card */

#rr-favorites-product-slot #product_ramstead-ranch-favorites-2 {
  width: 100%;
  max-width: 100%;

  margin: 0;
}


/* Keep product image proportional */

#rr-favorites-product-slot
#product_ramstead-ranch-favorites-2 img {
  width: 100%;
  object-fit: cover;
}


/* MOBILE */

@media (max-width: 850px) {

  .rr-favorites-hero__product-area {
    height: auto;

    padding: 18px 16px;
  }

  #rr-favorites-product-slot {
    max-width: 420px;
  }
}
