/* PAGE WRAPPER */
.brands-main {
  background-color: #ffffff;
}

/* ============ HERO (FREEPIK STYLE) ============ */

.brands-hero {
  padding: 0;
  margin: 0;
  background: #f5f5f5;
  position: relative;
}

/* Top banner with big background image */
.brands-hero-banner {
  position: relative;
  background-image: url("../img/brands-hero11.jpg"); /* your big food image */
  background-size: cover;
  background-position: center;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.brands-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.1)
  );
}

.hero-banner-inner {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.hero-banner-text {
  max-width: 520px;
  color: #ffffff;
}

.hero-mini {
  font-size: 0.9rem;
  color: #ffc95a;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  font-weight: 600;
}

.hero-banner-text h1 {
  font-size: 2.7rem;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-banner-sub {
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 460px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.hero-banner-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  background: #ff8a00;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-banner-btn:hover {
  background: #ffa433;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
}
.hero-product-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #ffefdb;
  color: #ff8a00;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}


/* White slider-style strip under banner */
.hero-products-strip {
  background: #ffffff;
  border-radius: 30px 30px 0 0;
  margin-top: -40px;        /* pulls it up over banner like Freepik */
  padding-top: 30px;
  padding-bottom: 26px;
   padding-left: 40px;   /* NEW */
  padding-right: 40px; 
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 3;
}

.hero-products-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
 padding: 20px 4px 18px;    /* Super close to left edge */
  overflow: visible; /* remove scrolling */
}


/* individual hero cards */
.hero-product-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

/* bigger hero product images */
.hero-product-img {
  height: 230px;        /* was 150px */
  overflow: hidden;
}

.hero-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* keeps images nicely cropped */
}

.hero-product-body {
  padding: 14px 14px 16px;
}

.hero-product-body h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.hero-product-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ff8a00;
  margin-bottom: 4px;
}

.hero-product-rating {
  font-size: 0.8rem;
  color: #ffb84d;
  margin-bottom: 10px;
}

.hero-product-btn {
  width: 100%;
  padding: 8px 0;
  border-radius: 999px;
  border: none;
  background: #ff8a00;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.hero-product-btn:hover {
  background: #ffa433;
  transform: translateY(-1px);
}

/* fake slider arrow on the right */
.hero-strip-arrow {
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #ff8a00;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.hero-strip-arrow:hover {
  background: #ffa433;
}

.hero-strip-note {
  text-align: center;
  font-size: 0.8rem;
  color: #999;
  margin-top: 10px;
}

/* hide third card on small screens so layout doesn’t crush */
.hero-product-card--hidden-mobile {
  display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-banner-text h1 {
    font-size: 2.3rem;
  }

  .hero-products-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  }

  .hero-product-card--hidden-mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  .brands-hero-banner {
    min-height: 260px;
  }

  .hero-banner-inner {
    padding: 60px 0 60px 2.2rem;
  }

  .hero-products-strip {
    margin-top: -20px;
    border-radius: 20px 20px 0 0;
  }

  .hero-products-inner {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 576px) {
  .hero-products-inner {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .hero-strip-arrow {
    display: none;
  }
}


/* COLOUR STRIP */
.brands-feature-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  font-size: 0.9rem;
}

.feature-tile {
  padding: 26px 10px 22px;
  color: #fff;
}

.feature-icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.feature-tile h3 {
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.feature-tile p {
  font-size: 0.78rem;
  opacity: 0.95;
}

/* strip colours similar to reference */
.tile-1 { background: #7ac943; }
.tile-2 { background: #ffb84d; }
.tile-3 { background: #ff7f50; }
.tile-4 { background: #ff5252; }
.tile-5 { background: #2bb3c0; }

/* PRODUCTS */
.brands-products {
  padding: 60px 0 70px;
}

.section-header-center {
  text-align: center;
}

.section-header-center h2 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.section-intro {
  max-width: 580px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #666;
}

.product-row {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  position: relative;
  text-align: center;
}

.product-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #f7f7f7;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* --- FIX FAVOURITES CIRCLE IMAGES --- */
.product-img {
  width: 190px;              /* bigger circle */
  height: 190px;
  border-radius: 50%;
  background: #ffffff;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;          /* hide anything outside the circle */
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* fills the circle nicely */
  border-radius: 50%;        /* so corners don’t show */
  display: block;
}


.price-tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -40%);
  background: #7ac943;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.product-card h3 {
  font-size: 1rem;
  margin-top: 8px;
  margin-bottom: 4px;
}

.product-desc {
  font-size: 0.86rem;
  color: #777;
  margin-bottom: 8px;
}

.rating {
  font-size: 0.8rem;
  color: #ffb84d;
  margin-bottom: 10px;
}

.product-btn {
  border-radius: 999px;
  border: 2px solid #7ac943;
  background: #fff;
  color: #7ac943;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-btn:hover {
  background: #7ac943;
  color: #fff;
}

/* ABOUT + OFFER */
.brands-about {
  background: #f7f8f9;
  padding: 60px 0 70px;
}

.brands-about-layout {
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap: 32px;
}

.about-card {
  background: #fff;
  padding: 32px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.about-card h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.94rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 10px;
}

.about-signoff {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.avatar-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffb84d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1f1f1f;
}

.signoff-name {
  font-size: 1rem;
  margin-bottom: 2px;
}

.signoff-role {
  font-size: 0.8rem;
  color: #777;
}

/* offer card */
.offer-card {
  background: #7ac943;
  color: #fff;
  padding: 28px 24px;
  border-radius: 6px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.offer-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.35);
}

.offer-card h3 {
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.offer-sub {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  margin-bottom: 18px;
}

.offer-price {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  margin-bottom: 8px;
}

.offer-price .currency {
  font-size: 1.2rem;
}

.offer-price .amount {
  font-size: 2.4rem;
  font-weight: 700;
}

.offer-text {
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.offer-btn {
  padding: 8px 20px;
  border-radius: 30px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.offer-btn:hover {
  background: #fff;
  color: #7ac943;
}

/* BLOG / STORIES */
.brands-blog {
  background: #202020;
  color: #fff;
  padding: 60px 0 70px;
}

.blog-header h2 {
  color: #fff;
}

.blog-header .section-intro {
  color: #ccc;
}

.blog-row {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.blog-card {
  background: #fff;
  color: #333;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-img img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.blog-body {
  padding: 16px 14px 14px;
}

.blog-body h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.blog-link {
  font-size: 0.86rem;
  color: #7ac943;
  text-decoration: none;
}

.blog-link:hover {
  text-decoration: underline;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SCROLL-UP BUTTON (orange with animation) */
.scroll-up-btn {
  position: fixed;
  right: 20px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #ff8a00;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 40;
}

.scroll-up-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  animation: scroll-bounce 1.2s ease-in-out infinite alternate;
}

@keyframes scroll-bounce {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1100px) {
  .brands-feature-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brands-about-layout {
    grid-template-columns: 2fr 1.3fr;
  }
}

@media (max-width: 768px) {
  .brands-hero {
    padding: 90px 0 70px;
  }

  .brands-hero-bg-left,
  .brands-hero-bg-right {
    opacity: 0.4;
  }

  .brands-feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-row {
    grid-template-columns: 1fr 1fr;
  }

  .brands-about-layout {
    grid-template-columns: 1fr;
  }

  .offer-card {
    max-width: 320px;
    justify-self: center;
  }

  .blog-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brands-feature-strip {
    grid-template-columns: 1fr;
  }

  .product-row {
    grid-template-columns: 1fr;
  }

  .brands-hero h1 {
    font-size: 2.2rem;
  }
}
/* paste near the brands-hero section in brands.css */
@media (min-width: 992px) {
  .hero-banner-inner {
    max-width: 1040px;    /* keeps it same width as other sections */
    margin-left: 0;       /* ensure no auto-centering */
    padding-left: 60px;   /* ← change this number to move further left/right */
    padding-right: 0;
  }

  /* if you want the textual column narrower so it doesn't touch the image */
  .hero-banner-text {
    max-width: 520px;
  }
}

/* --- HERO PRODUCT STRIP: layout & arrows --- */

.hero-products-strip {
  position: relative; /* for absolute arrows */
}

.hero-products-inner {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 40px 18px; /* little padding so cards don't touch edges */
}

/* hide scrollbar but keep it scrollable */
.hero-products-inner::-webkit-scrollbar {
  height: 6px;
}
.hero-products-inner::-webkit-scrollbar-track {
  background: transparent;
}
.hero-products-inner::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 999px;
}

/* ENHANCED CARD BACKGROUND (no more plain white) */
.hero-product-card {
  background: radial-gradient(circle at top left, #fff6e8 0, #ffffff 52%);
  border-radius: 16px;
  border: 1px solid rgba(255, 138, 0, 0.06);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 280px;
}

/* keep existing image/body styles but ensure they work with flex width */
/* bigger hero product images */
.hero-product-img {
  height: 230px;        /* was 150px */
  overflow: hidden;
}

.hero-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* keeps images nicely cropped */
}


/* arrows left & right – same style as your current right one */
.hero-strip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #ff8a00;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-strip-arrow:hover {
  background: #ffa433;
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

.hero-strip-arrow--left {
  left: 20px;
}

.hero-strip-arrow--right {
  right: 20px;
}

/* small screens */
@media (max-width: 600px) {
  .hero-products-inner {
    padding: 16px 16px 14px;
  }

  .hero-strip-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .hero-strip-arrow--left {
    left: 8px;
  }

  .hero-strip-arrow--right {
    right: 8px;
  }

  .hero-product-card {
    min-width: 230px;
  }
}
/* ---------------------------
   GLASS BACKGROUND FOR FAVOURITES SECTION
---------------------------- */

.glass-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0 90px;
  /* background image lives on the section now */
  background-image: url("../img/story-kitchen.jpg"); /* café / cereal bg */
  background-size: cover;
  background-position: center;
}

/* slight darkening / soft vignette so text is readable */
.glass-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.25), transparent 55%)
              ,rgba(0, 0, 0, 0.18);
  mix-blend-mode: multiply;
  opacity: 0.4;
  z-index: 0;
}

/* central glass card, like the Freepik layout */
.glass-section::after {
  content: "";
  position: absolute;
  top: 55px;
  bottom: 55px;
  left: 50%;
  width: min(1100px, 92%);
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

/* keep all existing content above the glass card */
.glass-section > * {
  position: relative;
  z-index: 2;
}

/* small screens: card a bit closer to edges */
@media (max-width: 768px) {
  .glass-section {
    padding: 60px 0 70px;
  }

  .glass-section::after {
    top: 40px;
    bottom: 40px;
    width: 94%;
    border-radius: 18px;
  }
}
/* ========== RIGHT STATS CARD (REPLACES SPECIAL OFFER) ========== */

.about-stats-card {
  background: #7ac943;
  color: #ffffff;
  padding: 28px 24px 26px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.about-stats-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.35);
}

.about-stats-card h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.stats-sub {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  margin-bottom: 18px;
  opacity: 0.9;
}

/* three stats in a row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.stat-item {
  text-align: left;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  opacity: 0.9;
}

.stats-text {
  font-size: 0.9rem;
  margin: 12px 0 18px;
}

.stats-link {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.stats-link:hover {
  background: #ffffff;
  color: #7ac943;
}

/* responsive tweaks */
@media (max-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}
/* =========================
   WHY SUNRISE CEREALS SECTION
   (inspired by "Why you should buy local products")
   ========================= */

.brands-why-sunrise {
  position: relative;
  background: #0f7d63; /* deep green */
  color: #ffffff;
  padding: 80px 0 90px;
  overflow: hidden;
}

/* scalloped white top */
.why-scallop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 46px;
  background:
    radial-gradient(circle at 25px 25px, #0f7d63 24px, transparent 25px) 0 20px / 50px 50px repeat-x,
    #ffffff;
  z-index: 1;
}

/* bring content below scallop */
.brands-why-inner {
  position: relative;
  z-index: 2;
}

/* subtle circles in background like infographic */
.brands-why-sunrise::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.15) 0, transparent 60%),
    radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.04) 0, transparent 55%);
  opacity: 0.9;
  z-index: 0;
}

/* header */
.why-header {
  max-width: 620px;
  margin-bottom: 40px;
}

.why-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
  opacity: 0.9;
}

.why-header h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.why-intro {
  font-size: 0.98rem;
  line-height: 1.8;
  opacity: 0.95;
}

/* grid of 4 reasons */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 70px;
  position: relative;
}

/* connecting lines between items (simple version) */
.why-grid::before,
.why-grid::after {
  content: "";
  position: absolute;
  border-radius: 30px;
  border: 1px solid rgba(0, 255, 200, 0.4);
}

.why-grid::before {
  top: 34px;
  bottom: 34px;
  left: 22px;
  width: 2px;
}

.why-grid::after {
  top: 50%;
  left: 22px;
  right: 40%;
  height: 2px;
}

/* item */
.why-item {
  position: relative;
  padding-left: 48px;
}

/* numbered circles */
.why-number {
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffb84d;
  color: #0f3d2a;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.35);
}

/* item text */
.why-copy h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #ffd86a;
}

.why-copy p {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.95;
}

/* responsive tweaks */
@media (max-width: 900px) {
  .why-grid {
    gap: 28px 40px;
  }

  .why-grid::before,
  .why-grid::after {
    display: none; /* hide lines on medium screens if they look messy */
  }
}

@media (max-width: 640px) {
  .brands-why-sunrise {
    padding: 60px 0 70px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-item {
    padding-left: 44px;
  }

  .why-header h2 {
    font-size: 1.8rem;
  }
}
/* ========== FROM OUR BOWLS & BEYOND (enhanced) ========== */

.brands-blog {
  position: relative;
  background: radial-gradient(circle at top left, #147a5d 0, #111111 40%, #050505 100%);
  color: #ffffff;
  padding: 70px 0 80px;
  overflow: hidden;
}

/* subtle top accent line (you already have similar colour in site) */
.brands-blog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(to right, #7ac943, #ffb84d, #ff7f50, #2bb3c0);
}

/* soft circular glows in background */
.brands-blog::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 80%, rgba(255, 184, 77, 0.18) 0, transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(122, 201, 67, 0.18) 0, transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.brands-blog .container {
  position: relative;
  z-index: 1; /* above background effects */
}

.blog-header h2 {
  color: #ffffff;
  letter-spacing: 0.18em;
}

.blog-header .section-intro {
  color: #d5d5d5;
}

/* cards layout */
.blog-row {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* individual card */
.blog-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

/* image area */
.blog-img {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.blog-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* slight dark gradient at bottom for readability */
.blog-img::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  pointer-events: none;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

/* content area */
.blog-body {
  padding: 18px 18px 16px;
}

.blog-body h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  color: #222222;
}

/* “read more” link styled like the reference bar */
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: #ff8a00;
  position: relative;
}

.blog-link::after {
  content: "";
  height: 2px;
  width: 36px;
  background: #ff8a00;
  border-radius: 999px;
  transition: width 0.2s ease;
}

.blog-card:hover .blog-link::after {
  width: 60px;
}

/* small arrow icon using ::before for a bit of polish */
.blog-link::before {
  content: "›";
  font-size: 1rem;
  transform: translateY(1px);
}

/* responsive */
@media (max-width: 900px) {
  .blog-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-row {
    grid-template-columns: 1fr;
  }
}
/* ==== Brands hero: increase height so the background image fits nicely ==== */

.brands-hero-banner {
  /* increase base height to show more of the image */
  min-height: 420px;          /* desktop default */
  background-size: cover;     /* keep cover but show more by raising min-height */
  background-position: calc(50% + 6%) center; /* nudge image to the right slightly */
  display: flex;
  align-items: center;        /* vertically center inner content */
}

/* larger screens — show even more of the image */
@media (min-width: 1200px) {
  .brands-hero-banner {
    min-height: 520px;
    background-position: calc(50% + 8%) center;
  }
}

/* medium screens tweak */
@media (min-width: 992px) and (max-width: 1199px) {
  .brands-hero-banner {
    min-height: 480px;
    background-position: calc(50% + 7%) center;
  }
}

/* small screens — reduce height so hero doesn't dominate the viewport */
@media (max-width: 767px) {
  .brands-hero-banner {
    min-height: 300px;
    background-position: center center;
    padding: 40px 0;
  }

  .hero-banner-text h1 {
    font-size: 2rem; /* keep heading readable on small screens */
  }
}
/* ===== Align hero product cards flush with white strip edges ===== */
.hero-products-strip {
  /* outer white strip: control the visible left/right inside gap here */
  padding-left: 2.5rem;   /* adjust this to match hero text (2rem / 2.5rem etc) */
  padding-right: 2.5rem;
  padding-top: 30px;
  padding-bottom: 26px;
  border-radius: 30px 30px 0 0;
  background: #fff;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.18);
  position: relative;
  z-index: 3;
}

/* inner scroller: remove additional left padding so cards begin near left padding of strip */
.hero-products-inner {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0 18px;   /* left/right padding removed here */
  align-items: flex-start;
  justify-content: flex-start; /* ensure cards start from left */
}

/* small tweak so first/last cards don't have extra margin from flex behavior */
.hero-products-inner > .hero-product-card {
  margin: 0;            /* reset any margin pushed on cards */
  min-width: 260px;     /* keep card sizing consistent */
}

/* Keep arrows outside the white strip (optional tweak if arrows overlap) */
.hero-strip-arrow--left {
  left: 8px;   /* move arrow slightly inside viewport */
}
.hero-strip-arrow--right {
  right: 8px;
}

/* Responsive: on small screens keep some side breathing room */
@media (max-width: 768px) {
  .hero-products-strip {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .hero-products-inner {
    padding: 16px 0 14px;
  }
}
/* ---------- show 4 cards in view and keep arrows visible ---------- */

/* Outer white strip: keep left/right breathing room for text alignment */
.hero-products-strip {
  padding-left: 3rem;   /* adjust to match hero left spacing */
  padding-right: 3rem;
  padding-top: 30px;
  padding-bottom: 26px;
}

/* Inner scroller (flex row): remove horizontal padding so the cards align with strip padding */
.hero-products-inner {
  display: flex;
  gap: 22px;            /* gap between cards */
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 18px 0;      /* no left/right padding here */
  align-items: flex-start;
  justify-content: flex-start;
}

/* Make each product card take approx 1/4 of the visible area */
.hero-products-inner > .hero-product-card {
  flex: 0 0 22.5%;      /* ~4 cards per row (22.5% + gaps) */
  max-width: 22.5%;
  box-sizing: border-box;
  margin: 0;
  min-width: 220px;     /* prevents cards getting too small on narrow screens */
}

/* Keep image height and internal spacing consistent */
.hero-product-img { height: 210px; }   /* slightly reduced so 4 fit vertically */

/* Make arrows float over the strip and stay visible */
.hero-strip-arrow--left,
.hero-strip-arrow--right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 46px;
  height: 46px;
}

/* place arrows just outside the strip padding so they don't overlap cards */
.hero-strip-arrow--left  { left: 14px;  } /* move left arrow closer to left edge */
.hero-strip-arrow--right { right: 14px; } /* move right arrow closer to right edge */

/* subtle shadow & bigger hit area on arrows */
.hero-strip-arrow { box-shadow: 0 10px 26px rgba(0,0,0,0.2); }

/* ---------- Responsive fallbacks ---------- */

/* 3 cards on medium screens */
@media (max-width: 1100px) {
  .hero-products-inner > .hero-product-card { flex: 0 0 30.5%; max-width: 30.5%; min-width: 240px; }
  .hero-products-strip { padding-left: 2rem; padding-right: 2rem; }
  .hero-product-img { height: 200px; }
}

/* 2 cards on tablets / small laptops */
@media (max-width: 820px) {
  .hero-products-inner > .hero-product-card { flex: 0 0 47%; max-width: 47%; min-width: 260px; }
  .hero-products-strip { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero-product-img { height: 190px; }
}

/* 1 card on narrow phones */
@media (max-width: 520px) {
  .hero-products-inner > .hero-product-card { flex: 0 0 92%; max-width: 92%; min-width: auto; }
  .hero-products-inner { gap: 16px; padding: 14px 0; }
  .hero-strip-arrow--left  { left: 8px;  }
  .hero-strip-arrow--right { right: 8px; }
  .hero-product-img { height: 180px; }
}
/* brands-hero-fix.css — include AFTER base.css and brands.css */

/* 1) Ensure header doesn't create extra flow margin */
.site-header {
  margin-bottom: 0 !important;
}

/* 2) Make hero sit flush under header on all sizes */
.brands-hero-banner {
  margin-top: 0 !important;       /* remove any unexpected margin */
  padding-top: 0 !important;      /* remove extra top padding */
  /* keep min-height rules from your original CSS for large screens */
}

/* 3) Reduce inner hero padding on small screens (mobile fix) */
@media (max-width: 768px) {
  .brands-hero-banner {
    /* match the smaller mobile hero in your existing rules but ensure flush */
    min-height: 260px;            /* your mobile min-height */
    background-position: center center;
  }

  /* hero inner container often adds spacing — collapse it */
  .hero-banner-inner,
  .hero-banner-text {
    padding-top: 12px !important;     /* small breathing room but no gap */
    padding-bottom: 12px !important;
  }

  /* If your hero heading is getting pushed down, reduce its top margin */
  .hero-banner-text h1,
  .hero-banner-text .lead {
    margin-top: 0 !important;
  }

  /* If there is a white strip below hero that needs to overlap a bit,
     keep the negative margin you used but smaller so mobile looks tidy */
  .hero-products-strip {
    margin-top: -12px !important;     /* reduce overlap so hero and strip are flush */
    border-radius: 16px 16px 0 0 !important;
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
}

/* 4) Accessibility / layering: ensure header stays above hero */
.site-header {
  position: sticky;   /* already set, but ensure */
  top: 0;
  z-index: 60;        /* higher than hero background */
}

/* 5) Optional: if your hero uses a top padding from a global .container or .page wrapper */
.page-main > .brands-hero-banner,
.brands-hero-banner.container {
  padding-top: 0 !important;
}
/* ===== quick mobile flush fix (paste at end of brands.css) ===== */

/* Remove extra top spacing on small screens so hero sits directly under sticky header */
@media (max-width: 768px) {
  /* collapse any outer section padding that was added for mobile */
  .brands-hero {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* make hero banner itself flush */
  .brands-hero-banner {
    margin-top: 0 !important;
    padding-top: 0 !important;
    min-height: 260px; /* keep a reasonable mobile height */
    background-position: center top !important;
  }

  /* reduce the inner content padding so it doesn't push the banner down */
  .hero-banner-inner {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  /* reduce heading top spacing if present */
  .hero-banner-text h1,
  .hero-banner-text .hero-mini {
    margin-top: 0 !important;
  }

  /* soften the overlap of the white product strip so it doesn't create visual gap */
  .hero-products-strip {
    margin-top: -14px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    border-radius: 16px 16px 0 0 !important;
  }
}

/* Safety: ensure header stays on top of hero */
.site-header {
  z-index: 90;
}
/* ===== mobile hero-image visibility fixes (paste at end of brands.css) ===== */

/* make the background behave more like a "taller" image on small screens so
   the important top/center of the photo remains visible */
@media (max-width: 768px) {
  .brands-hero-banner {
    /* show more of the image height-wise (less aggressive cover cropping) */
    background-size: auto 130% !important;    /* scale by height so image shows more */
    background-position: center 18% !important; /* nudge the focal area down slightly */
    min-height: 320px !important;              /* increase vertical space so the image is visible */
    padding: 0 !important;
  }

  /* Overlay: reduce darkness so image details are clearer on mobile */
  .brands-hero-overlay {
    background: linear-gradient(
      to right,
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.28),
      rgba(0,0,0,0.06)
    ) !important;
  }

  /* keep inner content compact so it doesn't cover the image area */
  .hero-banner-inner {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    max-width: 96% !important;
  }

  /* Slightly reduce headline size so it fits without pushing the image out of view */
  .hero-banner-text h1 {
    font-size: 1.55rem !important;
    line-height: 1.06 !important;
    margin-bottom: 10px !important;
  }
}

/* For slightly larger phones / narrow tablets use a gentler scale */
@media (min-width: 521px) and (max-width: 992px) {
  .brands-hero-banner {
    background-size: auto 115% !important;
    background-position: center 15% !important;
    min-height: 360px !important;
  }
  .hero-banner-inner { padding: 26px 0 !important; }
}
/* ===== final mobile hero visibility fix — paste at end of brands.css ===== */

@media (max-width: 768px) {
  /* ensure header height is accounted for so the image isn't hidden behind it */
  /* tweak 60px if your header is taller/shorter on mobile (try 56px or 64px if needed) */
  .brands-hero-banner {
    /* keep cover so it scales nicely, but give vertical space */
    background-size: cover !important;
    background-position: center 30% !important; /* show slightly lower focal point */
    padding-top: 60px !important;    /* pushes image down so header no longer covers the important top */
    min-height: 360px !important;    /* increase so the image area is visible */
    box-sizing: border-box !important;
  }

  /* reduce overlay darkness so the image reads clearer */
  .brands-hero-overlay {
    background: linear-gradient(
      to right,
      rgba(0,0,0,0.42),
      rgba(0,0,0,0.28),
      rgba(0,0,0,0.06)
    ) !important;
  }

  /* keep the textual content compact (so it doesn't push the image further down) */
  .hero-banner-inner {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    max-width: 96% !important;
    margin: 0 auto !important;
  }

  /* slightly smaller headline so it fits without forcing extra height */
  .hero-banner-text h1 {
    font-size: 1.6rem !important;
    line-height: 1.06 !important;
    margin: 0 0 8px !important;
  }

  /* reduce the overlap amount of white product strip to avoid hiding the bottom part */
  .hero-products-strip {
    margin-top: -18px !important;
  }

  /* if the header still visually covers a part of the image, reduce padding-top slightly (e.g. 56px)
     or increase it (e.g. 64px) depending on how much of the header is translucent */
}

/* ========== Mobile: show full product image in hero cards ========== */
@media (max-width: 520px) {
  /* let the image scale inside its container (no more heavy cropping) */
  .hero-product-img {
    /* keep the container height flexible so the image can fit */
    height: auto !important;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px !important;   /* small breathing room */
    box-sizing: border-box;
    overflow: hidden;
    background: transparent; /* avoid visible background color blocks */
  }

  /* show the entire image, keep aspect ratio, limit max height */
  .hero-product-img img {
    width: 100% !important;        /* fill card width */
    height: auto !important;       /* preserve aspect ratio (no crop) */
    max-height: 210px !important;  /* prevents huge images pushing layout */
    object-fit: contain !important;/* ensure whole image is visible */
    object-position: center top !important; /* prioritise top area if needed */
    display: block;
    border-radius: 8px 8px 0 0;    /* keep rounded corners matching the card */
  }

  /* slightly reduce spacing inside the card so the card height stays reasonable */
  .hero-product-body {
    padding: 10px !important;
  }

  /* keep cards wide enough for good cropping fallback on slightly wider phones */
  .hero-product-card {
    min-width: 86% !important;
    max-width: 92% !important;
  }
}
/* ===============================
   FINAL MOBILE HERO ALIGNMENT FIX
   (Place at END of brands.css)
   =============================== */
@media (max-width: 768px) {

  /* Stop ALL earlier rules from pushing the hero down */
  .brands-hero-banner {
    padding-top: 12px !important;    /* small space, not huge gap */
    min-height: 300px !important;    /* balanced height */
    background-position: center top !important;
    background-size: cover !important;
  }

  /* Remove extreme padding that pushes text down */
  .hero-banner-inner {
    padding: 10px 1rem 14px !important;
  }

  /* Eyebrow + heading should start near top */
  .hero-banner-text .hero-mini {
    margin-top: 0 !important;
  }

  .hero-banner-text h1 {
    margin-top: 4px !important;
    font-size: 1.8rem !important;
    line-height: 1.15 !important;
  }

  /* Reduce overlap from product strip so it doesn’t push hero further down */
  .hero-products-strip {
    margin-top: -10px !important;
  }
}



/* show ONLY one card at a time */
.hero-products-inner {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  padding: 0; 
}
.hero-product-card {
  flex: 0 0 100%;
  max-width: 100%;
  scroll-snap-align: start;
}
