:root {
	--display-font-family: Lexend;
	--body-font-family: Lexend;

	--font-size: 18px

	--logo-padding: 5px;
	--logo-height: 83px;

	--header-width: 100%;
	--header-border-position: bottom;
	--header-border-size: 0;
	--header-bg-color: transparent;
	--header-border-color: 238 238 238;

	--brand-color: 0 51 36;
	--brand-color-inverted: 255 255 255;

	--background-color: 255 255 255;
	--text-color: 61 61 61;
	--link-color: 120 178 23;

	--action-color: 120 178 23;
	--action-color-inverted: 255 255 255;

	--announcement-bar-bg-color: 120 178 23;
	--announcement-bar-text-color: 255 255 255;
	--announcement-bar-link-color: 255 255 255;

	--main-navigation-bg-color: 0 51 36;
	--main-navigation-link-color: 255 255 255;
	--main-navigation-link-color-hover: 255 255 255;
	--main-navigation-link-bg-color: 0 51 36;
	--main-navigation-link-font-size: 17px;
	--main-navigation-link-alignment: center;

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

	--order-status-bg-color: 248 248 248;
	--order-status-color: 0 128 0;

	--store-menu-bg_color: 248 248 248;
	--store-menu-color: 119 7 ;

	--footer-bg-color: 255 255 255;
	--footer-color: 0 51 36;
	--footer-link-color: 0 51 36;
}

/*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;
  }
}
