/* ==========================================
   BASE RESETS & CONTAINER STYLES
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Full-Width Main Container */
.local-shopping-section {
  width: 100%;
  margin: 0 auto;
  color: #1a1a1a;
}

/* ==========================================
   1. FULL-WIDTH TOP BANNER STYLES
   ========================================== */
.banner-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* border-bottom: 1.5px solid #2d70ae; */
}

.banner-graphic {
  display: block;
  width: 100%;
  height: auto;
}

/* Desktop Text Overlay Positioning */
.banner-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 6%;
  pointer-events: none;
  /* border: none; */
}

.banner-text {
  pointer-events: auto;
  max-width: 38%;
}

.banner-text h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.05;
  color: #111;
  margin-bottom: 18px;
}

.banner-text h2 .highlight {
  font-weight: 400;
  display: block;
}

.banner-text p {
  font-size: clamp(0.95rem, 1.4vw, 1.35rem);
  color: #333;
  line-height: 1.35;
}

/* ==========================================
   2. PROCESS SECTION ("HOW IT WORKS")
   ========================================== */
.process-container {
  margin-top: 50px;
  text-align: center;
  max-width: 1100px; /* Keeps process steps readable & centered on wide screens */
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.process-container h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #111;
  margin-bottom: 30px;
}

.process-desktop-layout {
  display: block;
}

.process-mobile-layout {
  display: none;
}

.process-graphic img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0 9%;
}

.process-text-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.step-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #111;
  margin-bottom: 6px;
}

.step-text p {
  font-size: 0.82rem;
  color: #444;
  line-height: 1.35;
  max-width: 170px;
}

/* ==========================================
   3. MOBILE RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 768px) {
  .local-shopping-section {
    padding: 0 12px;
  }

  /* Mobile Banner Overlay Adjustments */
  .banner-overlay-content {
    align-items: flex-start; /* Positions text near top of the card */
    padding: 6.5% 6% 0 6%;
  }

  .banner-text {
    max-width: 100%; /* Spans full width above the images */
  }

  .banner-text h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    margin-bottom: 10px;
  }

  .banner-text p {
    font-size: clamp(0.8rem, 3.2vw, 1rem);
    max-width: 85%;
  }

  /* Toggle Process Section View */
  .process-desktop-layout {
    display: none;
  }

  .process-mobile-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 340px;
    margin: 0 auto;
  }

  .process-container h3 {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .row-graphic {
    width: 100%;
    height: auto;
    display: block;
    /* left: 1%; */
    /* position: relative; */
  }
  .process-row:nth-of-type(1) .row-graphic{
    position:relative;
    left: 13%;
  }
  .process-row:nth-of-type(2) .row-graphic{
    position:relative;
    right: 16%;
  }
  .row-text-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 10px;
  }

  .step-text h4 {
    font-size: 0.9rem;
  }

  .step-text p {
    font-size: 0.78rem;
    max-width: 135px;
  }
}