/* ==========================================================
   SAHARAN SUSTENANCE: CUSTOM CSS
   Each numbered section is one change. Order matters:
   later sections override earlier ones.
   ========================================================== */
    
/* ----------------------------------------------------------
   1. HEADER TEXT COLOR
   Dark brown text and icons in the header (theme default override).
   ---------------------------------------------------------- */
.zpdark-header-portion .theme-menu a,
.zpdark-header-portion .theme-topbar-info a,
.zpdark-header-portion .theme-navigation-and-icons svg,
.zpdark-header-portion .theme-topbar-info svg,
.zpdark-header-portion .theme-site-name {
  color: #3b2a1a !important;
  fill: #3b2a1a;
}

/* ----------------------------------------------------------
   2. SHORT HERO BANNER (desktop only)
   Pages whose hero has the "short-hero" class get a 420px banner
   instead of full screen. Tablet and phone sizing is in section 7+.
   ---------------------------------------------------------- */
@media (min-width: 992px) {
  .theme-banner.zphero-full-screen .zphero.short-hero,
  .theme-banner.zphero-full-screen .zphero.short-hero .zphero-slide,
  .theme-banner.zphero-full-screen .zphero.short-hero .zphero-slider-container,
  .theme-banner.zphero-full-screen:has(.short-hero),
  .theme-banner.zphero-full-screen:has(.short-hero) .zpcontent-container {
    height: 420px !important;
    min-height: 420px !important;
  }
}

/* ----------------------------------------------------------
   3. MENU HOVER AND ACTIVE PAGE
   Menu text fades to logo green on hover.
   The current page stays green and semibold.
   ---------------------------------------------------------- */
.theme-menu li > a .theme-menu-name {
  transition: color 0.3s;
}
.theme-menu li > a:hover .theme-menu-name,
.theme-menu li.theme-menu-selected > a .theme-menu-name {
  color: #4f6b1f !important;
}
.theme-menu li.theme-menu-selected > a .theme-menu-name {
  font-weight: 600 !important;
}

/* Underline animation (same as the ITS site): a 2px line
   grows from the center under the menu word on hover,
   and stays under the current page. */
.theme-menu li > a .theme-menu-content {
  position: relative;
  display: inline-block;
}
.theme-menu li > a .theme-menu-content::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 2px;
  background: linear-gradient(#4f6b1f, #4f6b1f) no-repeat center / 0 2px;
  transition: background-size 0.3s;
}
.theme-menu li > a:hover .theme-menu-content::after,
.theme-menu li.theme-menu-selected > a .theme-menu-content::after {
  background-size: 100% 2px;
}

/* ----------------------------------------------------------
   4. TOP CONTACT BAR (email and phone)
   Bold dark brown text (same brown as the headings) so it
   blends with the warm photo and is easy to read.
   ---------------------------------------------------------- */
html body .theme-topbar-info a,
html body .theme-topbar-info a .theme-topbar-info-icon-text {
  color: #3f2a1d !important;
  font-weight: 700 !important;
  text-shadow: none;
}
html body .theme-topbar-info a svg,
html body .theme-topbar-info a svg path {
  fill: #3f2a1d !important;
  color: #3f2a1d !important;
  filter: none;
}

/* ----------------------------------------------------------
   5. PRODUCTS PAGE
   Hide the big "Our Products" heading above the product grid.
   ---------------------------------------------------------- */
.zpstorecollection-container > .theme-section-heading {
  display: none !important;
}

/* ----------------------------------------------------------
   6. DARK TEXT SECTION
   Any section with the "dark-content" class: dark brown text, green icons.
   Used on the Wholesale benefits section (white background).
   ---------------------------------------------------------- */
.dark-content,
.dark-content *:not(svg):not(path) {
  color: #3b2a1a !important;
}
.dark-content svg,
.dark-content svg path {
  fill: #4f6b1f !important;
  color: #4f6b1f !important;
}

/* ----------------------------------------------------------
   7. TABLET AND PHONE (991px and below): HEADER AND SHORT HERO
   Hero grows to fit its text, text is centered and full width,
   smaller heading and paragraph sizes.
   ---------------------------------------------------------- */
@media (max-width: 991px) {
  .theme-header .theme-site-name {
    font-size: 18px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }
  .theme-header .zpcontainer {
    padding: 0 16px !important;
  }
  .theme-banner:has(.short-hero),
  .theme-banner:has(.short-hero) .zpcontent-container,
  .zphero.short-hero {
    min-height: 0 !important;
    height: auto !important;
  }
  .zphero.short-hero .zphero-slide.curslide,
  .zphero.short-hero .zphero-slide.curslide .zphero-slider-container {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .zphero.short-hero .zprow {
    padding: 120px 16px 40px !important;
  }
  .zphero.short-hero .zpelem-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .zphero.short-hero .zptext,
  .zphero.short-hero .zptext * {
    text-align: center !important;
  }
  .zphero.short-hero h1,
  .zphero.short-hero h2 {
    font-size: 30px !important;
    line-height: 1.25 !important;
  }
  .zphero.short-hero p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  .theme-content-area .zprow {
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* ----------------------------------------------------------
   8. PHONE (767px and below): WHOLESALE PRODUCTS AND TEXT SPACING
   2 products per row, no slider arrows, tighter side padding on text.
   ---------------------------------------------------------- */
@media (max-width: 767px) {
  .zpelem-storecategory .zpfilmstrip .zprow {
    width: 100% !important;
    flex-wrap: wrap !important;
    transform: none !important;
    left: 0 !important;
    margin-left: 0 !important;
  }
  .zpelem-storecategory .zpfilmstrip .theme-prod-box {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    margin-bottom: 24px;
  }
  .zpelem-storecategory .zpcarousel-arrows-container {
    display: none !important;
  }
  .theme-content-area .zpelem-text {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* ----------------------------------------------------------
   9. TABLET AND PHONE: HERO PHOTO AND SPACING
   Keeps the hero background photo filling the banner,
   and shrinks large page headings on phones.
   ---------------------------------------------------------- */
@media (max-width: 991px) {
  .zphero.short-hero .zprow {
    padding-top: 150px !important;
  }
  .zphero.short-hero .zpslider-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: auto !important;
  }
  .zphero.short-hero .zphero-slider-container > *:not(.zpslider-img) {
    position: relative;
  }
}
@media (max-width: 767px) {
  .theme-content-area h1.zpheading,
  .theme-content-area h2.zpheading {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
}

/* ----------------------------------------------------------
   10. TABLET AND PHONE: HEADER LOGO ON ONE LINE, ALL HEROES
    Logo and "Saharan Sustenance" side by side and centered.
    Every hero (including Home) sizes to its content.
   ---------------------------------------------------------- */
@media (max-width: 991px) {
  .theme-header .theme-branding-info {
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 0 !important;
  }
  .theme-header .theme-logo-parent {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }
  .theme-header .theme-logo-parent,
  .theme-header .theme-logo-parent a,
  .theme-header .theme-logo-parent img {
    width: 44px !important;
    height: 44px !important;
  }
  .theme-header .theme-site-name-caption {
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  .theme-header .theme-site-name {
    font-size: 18px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }
  .theme-banner,
  .theme-banner .zpcontent-container,
  .zphero {
    min-height: 0 !important;
    height: auto !important;
  }
  .zphero .zphero-slide.curslide,
  .zphero .zphero-slide.curslide .zphero-slider-container {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .zphero .zpslider-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: auto !important;
  }
  .zphero .zphero-slider-container > *:not(.zpslider-img) {
    position: relative;
  }
  .theme-banner .zphero .zprow {
    padding: 110px 20px 48px !important;
  }
}
@media (max-width: 480px) {
  .theme-header .theme-logo-parent,
  .theme-header .theme-logo-parent a,
  .theme-header .theme-logo-parent img {
    width: 36px !important;
    height: 36px !important;
  }
  .theme-header .theme-site-name {
    font-size: 16px !important;
  }
  .theme-header .theme-branding-info {
    gap: 8px !important;
  }
}
@media (max-width: 767px) {
  .theme-banner .zphero h1,
  .theme-banner .zphero h2 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
}

/* ----------------------------------------------------------
   11. PRODUCT GRIDS (Wholesale and Products pages)
    4 per row on desktop, 240px images, centered name and price,
    descriptions hidden, short last row centered.
   ---------------------------------------------------------- */
@media (min-width: 992px) {
  :is(.zpelem-storecategory, .zpelem-storecollection) .theme-prod-box {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
  }
}
:is(.zpelem-storecategory, .zpelem-storecollection) .theme-product-box-content {
  max-width: 260px;
  margin: 0 auto !important;
}
:is(.zpelem-storecategory, .zpelem-storecollection) .theme-product-image-area,
:is(.zpelem-storecategory, .zpelem-storecollection) .theme-product-image-area a,
:is(.zpelem-storecategory, .zpelem-storecollection) .theme-product-image-area picture {
  height: 240px !important;
}
:is(.zpelem-storecategory, .zpelem-storecollection) .theme-product-image-area img {
  height: 240px !important;
  width: 100% !important;
  object-fit: contain !important;
}
:is(.zpelem-storecategory, .zpelem-storecollection) .theme-product-short-description {
  display: none !important;
}
:is(.zpelem-storecategory, .zpelem-storecollection) .theme-product-details-area,
:is(.zpelem-storecategory, .zpelem-storecollection) .theme-product-name-rating-price,
:is(.zpelem-storecategory, .zpelem-storecollection) .theme-product-name,
:is(.zpelem-storecategory, .zpelem-storecollection) [class*=theme-product-price] {
  text-align: center !important;
  justify-content: center !important;
  align-items: center !important;
}
:is(.zpelem-storecategory, .zpelem-storecollection) .theme-product-name a {
  font-size: 16px !important;
  font-weight: 600 !important;
}
:is(.zpelem-storecategory, .zpelem-storecollection) .zprow:has(> .theme-prod-box) {
  justify-content: center !important;
}

 /* ------------------------------------------------------------
12. TOP BAR SA TERMS AT PRIVACY PAGE
Walang hero picture ang dalawang page na ito, kaya puti ang
letra sa puting background at hindi mabasa. Dito lang ginawang
dark brown ang top bar. Hindi apektado ang ibang page.
------------------------------------------------------------ */
body:has([data-element-id="elm_1Oo8DGAnT6Cnm_iNZtcKog"]) .theme-header-topbar .theme-topbar-info a, body:has([data-element-id="elm_0N1Bm2LATnGoK8nICbXxWA"]) .theme-header-topbar .theme-topbar-info a, body:has([data-element-id="elm_1Oo8DGAnT6Cnm_iNZtcKog"]) .theme-header-topbar .theme-topbar-info svg, body:has([data-element-id="elm_0N1Bm2LATnGoK8nICbXxWA"]) .theme-header-topbar .theme-topbar-info svg { color: #3b2a1a !important; fill: #3b2a1a !important; text-shadow: none !important; }


/* 13. REVIEWS SECTION SA HOME. Tinago ang template icon at Read More button. */
[data-element-id="elm_EcFG_HZwYYsdlkz5I_vt6Q"] .zpicon-container .zpicon-common, [data-element-id="elm_EcFG_HZwYYsdlkz5I_vt6Q"] [data-element-type="buttonicon"] { display: none !important; }

/* 16. REVIEWS SUNOD-SUNOD NA FADE UP (Home, What Our Customers Say). 0.3s pagitan bawat review.
   Para bilisan o bagalan, palitan ang mga delay (0s, 0.3s, 0.6s, 0.9s). */
#main-content [data-element-id="elm_hQzo9aEzMyuPeksBR-9SeA"] { animation-delay: 0s !important; animation-fill-mode: both !important; }
#main-content [data-element-id="elm_iq3-pop11lVH4xFuZ2cCIw"] { animation-delay: 0.3s !important; animation-fill-mode: both !important; }
#main-content [data-element-id="elm_bbl0mQYNA_498w5xGySClQ"] { animation-delay: 0.6s !important; animation-fill-mode: both !important; }
#main-content [data-element-id="elm_GS4YJGeYgbo5kY-PDpLs6Q"] { animation-delay: 0.9s !important; animation-fill-mode: both !important; }

/* 17. HOME "Tired of Artificial Sweeteners" heading. Tamang laki at line spacing (hindi magulo kahit mag-wrap). */
#main-content [data-element-id="elm_YVCS-oDCFd_qcJnwWVlijg"] h2, #main-content [data-element-id="elm_YVCS-oDCFd_qcJnwWVlijg"] h2 * { font-size: 32px !important; line-height: 1.25 !important; }
@media (max-width: 767px) { #main-content [data-element-id="elm_YVCS-oDCFd_qcJnwWVlijg"] h2, #main-content [data-element-id="elm_YVCS-oDCFd_qcJnwWVlijg"] h2 * { font-size: 26px !important; } }

/* 18. H2 BASE SIZE. Default ng theme ay 64px (sobrang laki). Mababang priority: kapag nag-set ka ng size sa builder per element, iyon ang masusunod. */
:where(#main-content) h2 { font-size: 40px; line-height: 1.2; }
@media (max-width: 767px) { :where(#main-content) h2 { font-size: 30px; } }
/* FOOTER COPYRIGHT LINE: show text hidden by platform CSS */
.theme-footer-area .zpelem-text.zp-hidden-md.zp-hidden-sm.zp-hidden-xs { display: block !important; }