:root {
	--display-font-family: Lalezar;
	--body-font-family: Hind;

	--font-size: 16px

	--logo-padding: 20px;
	--logo-height: 175px;

	--header-width: 100%;
	--header-border-position: bottom;
	--header-border-size: 0;
	--header-bg-color: 255 255 255;
	--header-border-color: 245 245 245;

	--brand-color: 61 61 61;
	--brand-color-inverted: 255 15 ;

	--background-color: 255 15 ;
	--text-color: 61 61 61;
	--link-color: 61 61 61;

	--action-color: 44 107 76;
	--action-color-inverted: 255 15 ;

	--announcement-bar-bg-color: 247 246 239;
	--announcement-bar-text-color: 44 107 76;
	--announcement-bar-link-color: 61 61 61;

	--main-navigation-bg-color: 255 255 255;
	--main-navigation-link-color: 61 61 61;
	--main-navigation-link-color-hover: 32 32 32;
	--main-navigation-link-bg-color: 44 81 112;
	--main-navigation-link-font-size: 14px;
	--main-navigation-link-alignment: center;

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

	--order-status-bg-color: 245 245 245;
	--order-status-color: 162 162 162;

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

	--footer-bg-color: 32 32 32;
	--footer-color: 255 15 ;
	--footer-link-color: 255 15 ;
}

/*Custom Styles*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&display=swap');

/* ==========================================================================
   GLOBAL FOODS: compact grocery-store product cards (Whole Foods style),
   phone layout, green buttons.
   One piece for My Site > Theme > Custom CSS (replace everything there with this).
   Two product lists are styled:
     - homepage rows  (.featuredProductsWidget__products): one sideways-scrolling row
     - department pages (.productListing--grid): a tight grid, about 5-6 across
   No !important.
   ========================================================================== */

/* Logo size on desktop (phone sizes are set further down) */
.siteHeader .logo__img { max-height: 80px; }
.siteHeader .logo { padding: 8px 20px; }

/* 1. Homepage rows: cards sit in one line and scroll sideways */
.tw-reset.featuredProductsWidget.featuredProductsWidget {
  padding-block: 10px 26px;
}
/* same width as the headings above each row (matches the hero widget) */
.featuredProductsWidget > .tw-mx-auto {
  width: min(1280px, calc(100% - 56px));
  max-width: none;
  padding-inline: 0;
}
@media (max-width: 850px) {
  .featuredProductsWidget > .tw-mx-auto { width: calc(100% - 36px); }
}
@media (max-width: 580px) {
  .featuredProductsWidget > .tw-mx-auto { width: calc(100% - 28px); }
}
.featuredProductsWidget .featuredProductsWidget__products {
  display: flex;
  gap: 14px;
  margin-block: 14px 8px;
  padding: 4px 2px 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.featuredProductsWidget .featuredProductsWidget__products::-webkit-scrollbar { display: none; }
.featuredProductsWidget .featuredProductsWidget__products > section {
  flex: 0 0 188px;
  scroll-snap-align: start;
}

/* 2. Department pages: tight grid */
.storeIndex__productsListingContainer .productListing--grid {
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 24px 14px;
  padding-inline: 0;
}

/* 3. The card itself (both places): flat, no shadow, square photo, small type */
:is(.featuredProductsWidget .featuredProductsWidget__products, .storeIndex__productsListingContainer .productListing--grid) > section {
  display: flex;
  flex-direction: column;
  width: auto;
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
/* square photo with a thin outline */
:is(.featuredProductsWidget .featuredProductsWidget__products, .storeIndex__productsListingContainer .productListing--grid) > section .tw-aspect-h-3 {
  --tw-aspect-w: 1;
  --tw-aspect-h: 1;
  overflow: hidden;
  border: 1px solid #e6ebe4;
  border-radius: 10px;
  background: #fff;
}
:is(.featuredProductsWidget .featuredProductsWidget__products, .storeIndex__productsListingContainer .productListing--grid) > section .tw-aspect-h-3 img {
  padding: 10%;
  border-radius: 0;
  background: #fff;
  object-fit: contain;
}
/* the grey tint on the "no photo yet" placeholder */
:is(.featuredProductsWidget .featuredProductsWidget__products, .storeIndex__productsListingContainer .productListing--grid) > section .tw-bg-gray-900 {
  display: none;
}
/* name: small, two lines at most */
:is(.featuredProductsWidget .featuredProductsWidget__products, .storeIndex__productsListingContainer .productListing--grid) > section > div:nth-child(2) {
  margin-top: 8px;
  padding: 0;
}
:is(.featuredProductsWidget .featuredProductsWidget__products, .storeIndex__productsListingContainer .productListing--grid) > section h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #1b2b21;
  font-family: 'Hind', Arial, sans-serif;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.3;
}
:is(.featuredProductsWidget .featuredProductsWidget__products, .storeIndex__productsListingContainer .productListing--grid) > section h3:hover {
  color: #2c6b4c;
}
/* the long description is dropped; the product page still has it */
:is(.featuredProductsWidget .featuredProductsWidget__products, .storeIndex__productsListingContainer .productListing--grid) > section [itemprop="description"] p {
  display: none;
}
/* price: bold, tight under the name */
:is(.featuredProductsWidget .featuredProductsWidget__products, .storeIndex__productsListingContainer .productListing--grid) > section .productListing__price--grid {
  margin: 0;
  padding: 0;
}
:is(.featuredProductsWidget .featuredProductsWidget__products, .storeIndex__productsListingContainer .productListing--grid) > section .productListing__price--grid .tw-text-left {
  padding: 2px 0 0;
}
:is(.featuredProductsWidget .featuredProductsWidget__products, .storeIndex__productsListingContainer .productListing--grid) > section .productListing__price--grid .tw-text-lg {
  font-family: 'Manrope', 'Hind', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}
:is(.featuredProductsWidget .featuredProductsWidget__products, .storeIndex__productsListingContainer .productListing--grid) > section .productListing__priceContainer--grid .tw-mr-1 {
  margin-right: 0;
  padding-right: 0;
}

/* 4. Add button: small round "+ Add" pill, green outline, fills green on hover */
:is(.featuredProductsWidget .featuredProductsWidget__products, .storeIndex__productsListingContainer .productListing--grid) > section .productListing__addToCart--grid {
  margin-top: 6px;
}
.productListing__addToCartContainer--grid .productListing__addToCartButton--grid {
  min-height: 34px;
  padding: 0 14px;
  border: 1.5px solid #2c6b4c;
  border-radius: 999px;
  background: #fff;
  color: #2c6b4c;
  font-size: 0;
  line-height: 1;
}
.productListing__addToCartContainer--grid .productListing__addToCartButton--grid::before {
  content: "+ Add";
  font-family: 'Hind', Arial, sans-serif;
  font-size: .85rem;
  font-weight: 700;
}
.productListing__addToCartContainer--grid .productListing__addToCartButton--grid:not([disabled]):hover,
.productListing__addToCartContainer--grid .productListing__addToCartButton--grid:not([disabled]):focus-visible {
  border-color: #2c6b4c;
  background: #2c6b4c;
  color: #fff;
}
.productListing__addToCartContainer--grid .productListing__addToCartButton--grid[disabled] {
  border-color: #dde4da;
  background: #f4f6f3;
  color: #7b867d;
}
.productListing__addToCartContainer--grid .productListing__addToCartButton--grid[disabled]::before {
  content: "Sold out";
  font-weight: 600;
}
/* NOTE: the red "Create Account" / "Sign In" buttons are GrazeCart's own theme
   color (forced with !important), so they cannot be changed from CSS without
   !important. Change the red theme color in My Site > Theme instead. */

/* 5. Row arrows (the buttons themselves are added by the footer widget script).
   Shown only on computers with a mouse; phones and tablets just swipe. */
.gf-rowwrap { position: relative; }
.gf-rowarrow {
  display: none;
  position: absolute;
  top: 98px;
  z-index: 3;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #cdd8ca;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(21, 61, 44, .18);
  color: #153d2c;
  cursor: pointer;
  place-items: center;
}
.gf-rowarrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gf-rowarrow:hover { border-color: #2c6b4c; background: #2c6b4c; color: #fff; }
.gf-rowarrow--prev { left: -6px; }
.gf-rowarrow--next { right: -6px; }
.gf-rowarrow[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
  .gf-rowarrow:not([hidden]) { display: grid; }
}

/* 6. Phones: smaller cards in the rows, two across on department pages, one-row header */
@media (max-width: 767px) {
  .siteHeader {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e1e8de;
  }
  .siteHeader .siteHeader__container {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
  }
  .siteHeader .logo {
    padding: 6px 14px;
  }
  .siteHeader .logo__img {
    width: auto;
    height: 50px;
  }
  .siteHeader .mobileNav {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    width: auto;
    height: auto;
    margin: 0 0 0 auto;
    padding: 0 6px;
  }
  .siteHeader .mobileNav li {
    flex: 0 0 auto;
    width: auto;
  }
  .siteHeader .mobileNav a {
    height: auto;
    padding: 4px 10px;
    font-size: .7rem;
    line-height: 1.25;
  }
  .mobileStoreMenuToggle {
    padding: 12px 16px;
    font-size: .9rem;
  }
  .featuredProductsWidget .featuredProductsWidget__products {
    gap: 10px;
  }
  .featuredProductsWidget .featuredProductsWidget__products > section {
    flex-basis: 150px;
  }
  .storeIndex__productsListingContainer .productListing--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
    padding-inline: 14px;
  }
  .productListing__addToCartContainer--grid .productListing__addToCartButton--grid {
    min-height: 38px;
  }
}

/* 7. In-between widths (about 581 to 740px): let the hero fill the full row */
@media (max-width: 740px) {
  .gf-commerce .gf-carousel {
    max-width: none;
  }
}

/* 8. White page, like the Whole Foods mockup. Pastel backgrounds removed;
   the hero keeps a very light green tint and the dark green pantry banner stays
   as the one strong block. "background-color" (not "background") so photos stay. */
.gf-commerce .gf-storefront.gf-storefront {
  background-color: #fff;
}
.gf-commerce .gf-storefront .gf-carousel-viewport,
.gf-commerce .gf-storefront .gf-slide {
  background-color: #f4f7f2;
}
.gf-commerce .gf-quick-promo.gf-quick-promo {
  border: 1px solid #e6ebe4;
  background-color: #fff;
}
.gf-commerce .gf-quick-promo.gf-quick-promo:hover {
  border-color: #2c6b4c;
  background-color: #f4f7f2;
}
.gf-commerce .gf-commerce-banner.gf-commerce-banner--gold {
  background-color: #f4f7f2;
}
.gf-scope.gf-commerce.gf-fullbleed {
  background-color: #fff;
}

/* 9. Store and department grids: in-stock products with photos first, then
   products still waiting for a photo, then Sold out. Reorders only within each
   page of 30 (GrazeCart sorts A to Z across pages). Homepage rows are untouched. */
.storeIndex__productsListingContainer .productListing--grid > section:not(:has(img[itemprop="image"])) {
  order: 1;
}
.storeIndex__productsListingContainer .productListing--grid > section:has(.productListing__addToCartButton--grid[disabled]) {
  order: 2;
}

/* 10. Filter chips on department pages (All, On Sale, Bread & Pita ...): white
   outline pills that fill green on hover. GrazeCart forces the dark grey chip
   color with !important, so these two lines need it too. */
.productTags .productTags__tag a {
  padding: 6px 14px;
  border: 1.5px solid #cdd8ca;
  border-radius: 999px;
  background-color: #fff !important;
  color: #1b2b21 !important;
  font-size: .85rem;
  font-weight: 500;
}
.productTags .productTags__tag a:hover,
.productTags .productTags__tag a:focus-visible {
  border-color: #2c6b4c;
  background-color: #2c6b4c !important;
  color: #fff !important;
  text-decoration: none;
}

/* 11. Hide the "Spice Rack & Pantry" collection from the store category list
   (it is a homepage collection, not a department). It still works by link. */
.storeIndex__sideBarList > li:has(> a[href$="/store/spice-rack-pantry"]) {
  display: none;
}

/* 12. Headings use the same font as the homepage (Manrope) instead of Lalezar */
body :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, legend) {
  font-family: 'Manrope', 'Hind', Arial, sans-serif;
  letter-spacing: -.02em;
}
body h1 {
  font-weight: 800;
}

/* 13. Product page photo: square, whole product visible, not cropped and blown up */
.product-gallery {
  max-width: 460px;
  margin-inline: auto;
}
.product-gallery .product-gallery__main {
  --tw-aspect-w: 1;
  --tw-aspect-h: 1;
  overflow: hidden;
  border: 1px solid #e6ebe4;
  border-radius: 10px;
  background: #fff;
}
.product-gallery .product-gallery__main img {
  padding: 6%;
  border-radius: 0;
  object-fit: contain;
}

/* 14. Phones, department pages: title and chips line up with the product cards
   (no grey title box, 14px side margin) */
@media (max-width: 767px) {
  .storeIndex__productsListingContainer .textBanner.textBanner {
    padding: 4px 14px;
    background-color: transparent;
  }
  .productTags .productTags__list {
    padding-inline: 14px;
  }
}

/* 15. Fewer store photos: the hero shows the front door (set in homepage widget 1),
   so the spice and candy shelf photos in the two banners and the second door photo
   in the Visit strip are hidden. The banners and the Visit strip become clean text strips. */
.gf-commerce .gf-commerce-banner figure,
.gf-commerce .gf-neighborhood-main > figure {
  display: none;
}
.gf-commerce .gf-commerce-banner.gf-commerce-banner {
  grid-template-columns: minmax(0, 1fr);
}
.gf-commerce .gf-neighborhood-main.gf-neighborhood-main {
  grid-template-columns: minmax(0, 1fr) auto;
}
@media (max-width: 850px) {
  .gf-commerce .gf-neighborhood-main.gf-neighborhood-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .gf-commerce .gf-neighborhood-main > .gf-btn {
    grid-column: auto;
    justify-self: start;
  }
}

/* 16. The text in the dark "Stock the pantry" banner was too dim to read */
.gf-commerce .gf-commerce-banner:not(.gf-commerce-banner--gold) .gf-commerce-banner-copy p {
  color: #d9e6dc;
}

/* 17. Hero: more room for the front-door photo.
   Wide screens: the photo column is wider (about 559px instead of 480px).
   In-between widths (851 to 1100px): text on top, photo full width below.
   Phones are unchanged (already stacked). */
@media (min-width: 1101px) {
  .gf-commerce .gf-storefront .gf-slide {
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  }
}
@media (min-width: 851px) and (max-width: 1100px) {
  .gf-commerce .gf-storefront .gf-slide {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }
  .gf-commerce .gf-storefront .gf-mast-photo {
    min-height: 260px;
  }
}

/* 18. Shorter top of the homepage on computers (1101px and wider).
   The hero was 575px tall only to match the long category list. Now the list rows are
   tighter (38px instead of 47px) and the hero is 450px, so the whole list, the hero,
   the three tiles and the info strip fit on one screen and the product rows start
   about 120px higher. The doubled class names make these win over the widget's own CSS. */
@media (min-width: 1101px) {
  .gf-commerce .gf-storefront .gf-slide.gf-slide {
    min-height: 450px;
  }
  .gf-commerce .gf-catalog-side .gf-catalog-item {
    min-height: 0;
  }
  .gf-commerce .gf-catalog-side .gf-catalog-item > a.gf-cat-name {
    min-height: 0;
    padding-block: 10px;
  }
}

/* 19. About and FAQs: no shelf photos (they were 1.3 MB and left a blank panel until they
   loaded). The intro goes full width, the FAQ list is centered, and the pale cream header
   becomes the same light green tint as the homepage. */
.gf-scope figure.gf-page-photo,
.gf-scope .gf-faq-photo {
  display: none;
}
.gf-scope:not(.gf-locate) .gf-page-split.gf-page-split {
  grid-template-columns: minmax(0, 1fr);
}
.gf-scope:not(.gf-locate) .gf-page-intro .gf-page-split h1 {
  max-width: 30ch;
}
.gf-scope .gf-faq-layout.gf-faq-layout {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}
.gf-scope .gf-page-intro.gf-page-intro {
  background-color: #f4f7f2;
}

/* 20. Sign in, Contact, Register and other GrazeCart system pages: green buttons
   (GrazeCart forces dark grey with !important, so these need it too) and softer form fields */
.btn.btn-default,
.btn.btn-primary,
.btn.btn-brand {
  border-color: #2c6b4c !important;
  border-radius: 8px;
  background-color: #2c6b4c !important;
  color: #fff !important;
  font-weight: 700;
}
.btn.btn-default:hover,
.btn.btn-default:focus-visible,
.btn.btn-primary:hover,
.btn.btn-primary:focus-visible,
.btn.btn-brand:hover {
  border-color: #153d2c !important;
  background-color: #153d2c !important;
  color: #fff !important;
}
.form-control.form-control {
  height: auto;
  padding: 10px 14px;
  border: 1.5px solid #cdd8ca;
  border-radius: 8px;
  box-shadow: none;
}
.form-control.form-control:focus {
  border-color: #2c6b4c;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(44, 107, 76, .18);
}
