  /* ================================
     CheapWay Gas Station - Styles
     ================================ */
  /* -------- CSS Reset & Base -------- */
  *,
  *::before,
  *::after { box-sizing: border-box; }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
  }

  :root{
    /* Brand */
    --brand: #006400;
    --brand-600: #055c00;
    --brand-700: #024800;
    --accent: #ffb300;

    /* Neutrals */
    --bg: #ffffff;
    --bg-alt: #f4f4f4;
    --text: #1f1f1f;
    --muted: #6b7280;
    --border: #e5e7eb;

    /* States */
    --ok: #16a34a;
    --warn: #f59e0b;
    --danger: #dc2626;

    /* Effects */
    --shadow-1: 0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.08);
    --shadow-2: 0 6px 16px rgba(0,0,0,.12);

    /* Layout */
    --radius: 8px;
    --radius-sm: 6px;
    --radius-lg: 12px;
    --container: 1200px;
    --gap: 20px;
  }

  .cheapway{
      text-align: center;
      padding: 20px;
  }
  .logo{
      display: block;
      margin: 0 auto; /* Centers block-level image */
  }

  @media (prefers-color-scheme: dark){
    :root{
      --bg: #0b0b0b;
      --bg-alt: #151515;
      --text: #f3f4f6;
      --muted: #9ca3af;
      --border: #262626;
      --shadow-1: 0 1px 2px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.6);
      --shadow-2: 0 8px 22px rgba(0,0,0,.55);
    }
  }

  body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
  }

  /* Accessible focus ring */
  :where(a, button, [role="button"], input, select, textarea):focus-visible {
    outline: 3px solid color-mix(in oklab, var(--brand) 70%, white);
    outline-offset: 2px;
    border-radius: 6px;
  }

  /* Utility */
  .container{
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
  }
  .center { text-align: center; }
  .mt-0 { margin-top: 0; }
  .mb-0 { margin-bottom: 0; }

  /* -------- Header -------- */
  header {
    background: var(--brand);
    color: #fff;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-1);
  }
  header .container{
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between; /* keep brand left, nav/hamburger right */
  }
  header img.logo { height:auto; max-height: 50px; max-width: 100%; border-radius: 6px; flex-shrink:0;}
  header h1 {
    margin: 0;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    letter-spacing: .3px;
  }
  .container-header-bar{
      max-width: 1200px;
      margin: 0 auto;
      padding: 12px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #fff;  
  }

  /* === Hamburger Nav (JS-free) ============================================ */
  /* hide the checkbox control */
  .nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  /* hamburger button (hidden on desktop) */
  .hamburger{
    display: none;                /* shown only on mobile via media query */
    width: 40px; height: 40px;
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .hamburger span{
    position: absolute; 
    left: 8px; 
    right: 8px;
    height: 2px; 
    background: #fff; 
    border-radius: 2px;
    top: 12px;
    transition: transform .18s ease, opacity .18s ease, top .18s ease;
  }
  .hamburger span:nth-child(2){ top: 19px; }
  .hamburger span:nth-child(3){ top: 26px; }

  /* desktop nav: inline */
  .site-nav{
    display: flex;
    gap: 16px;
  }
  .site-nav a{
    color: #fff;
    text-decoration: none;
    padding: 8px 10px;
  }
  .site-nav a:hover{ text-decoration: underline; }

  /* -------- Mobile layout -------- */
  @media (max-width: 1043px){
    /* show hamburger; collapse nav */
    .hamburger{ display: block; }

    .site-nav{
      position: absolute;
      top: calc(100% + 8px);           /* just below header */
      display:none;                 /* hidden until toggled */
      flex-direction: column;
      gap: 4px;
      background: var(--bg);
      color: var(--text);
      border: 1px solid var(--border);
      border-radius: 12px;
      box-shadow: var(--shadow-2);
      padding: 8px;
      min-width: 220px;
      z-index: 60;
      text-align: center;
    }
    .site-nav a{
      color: var(--text);
      padding: 10px 12px;
      border-radius: 8px;
    }
    .site-nav a:hover{
      background: color-mix(in oklab, var(--brand) 12%, transparent);
      text-decoration: none;
    }

    /* when checked, reveal menu */
    .nav-toggle:checked ~ .site-nav { display: flex; }

    /* animate hamburger to "X" */
    .nav-toggle:checked ~ .hamburger span:nth-child(1){
      top: 19px; transform: rotate(45deg);
    }
    .nav-toggle:checked ~ .hamburger span:nth-child(2){
      opacity: 0;
    }
    .nav-toggle:checked ~ .hamburger span:nth-child(3){
      top: 19px; transform: rotate(-45deg);
    }
  }
  /*streetview*/
  .streetview-embed {
    width: 100%;
    height: 100%; /* larger, as requested earlier */
    border-radius: 12px;
    overflow: hidden;
  }

  /* -------- Hero -------- */
  .hero {
    text-align: center;
    padding: 60px 0;
    background: var(--bg-alt);
  }
  .hero{
    border-radius: var(--radius-lg);
    margin: 0 auto 10px;
    position: relative;
    overflow: hidden;
  }
  .hero h2 {
    margin: 10px 0 6px;
    font-size: clamp(1.4rem, 3vw, 2rem);
  }
  .hero p {
    margin: 0  auto 20px;
    max-width: 720px;
    color: var(--muted);
  }
  .hero .store-image {
    border-radius: var(--radius-lg);
  }
  .hero .store-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;          /* fill the hero area */
    border-radius: var(--radius-lg);
  }

  /* -------- Images -------- */
  .images {
    background: linear-gradient(135deg, #cfcfcf, #dcdcdc);
    color: #555;
    font-size: 1.05rem;
    border: 1px dashed color-mix(in oklab, var(--border) 80%, #999);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;           /* fixed gray box size for all */
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    text-align: center;
  }
  .images img {
    width: 100%;
    height: 100%;
    object-fit: contain;      /* keep whole image visible */
    display: block;
    border-radius: var(--radius);
  }

  /* -------- Sections -------- */
  .section {
    padding: 5px 0;
  }
  .section .section-title{
    text-align: center;
    margin-bottom: 8px;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  }
  .section .section-subtitle{
    text-align: center;
    margin: 0 auto 20px;
    max-width: 720px;
    color: black;
  }

  /* -------- Product & Promo Grid -------- */
  .product-grid {
    display: flex;
    justify-content: center;  /* center row horizontally */
    flex-wrap: wrap;          /* allow wrapping on smaller screens */
    gap: var(--gap);
    padding: 10px 0;
  }

  .product-card, .promo-card {
    flex: 0 1 300px;          /* equal width for all cards */
    height: 220px;            /* equal height */
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    box-shadow: var(--shadow-1);
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* center content vertically */
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .product-card:hover, .promo-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in oklab, var(--brand) 25%, var(--border));
    box-shadow: var(--shadow-2);
  }

  .product-card h3, .promo-card h3 {
    margin: 6px 0 4px;
    font-size: 1.05rem;
    color: var(--accent);
  }
  .product-card p, .promo-card p {
    margin: 0;
    color: var(--muted);
  }
  /* -------- Buttons -------- */
  .button, button, .btn {
    appearance: none;
    border: none;
    cursor: pointer;
    background: none;
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    box-shadow: var(--shadow-1);
    transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  }
  .button:hover, button:hover, .btn:hover { background: var(--brand-600); }
  .button:active, button:active, .btn:active { transform: translateY(1px) scale(0.995); }

  /* Variant */
  .btn-outline{
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
  }
  .btn-outline:hover{ background: color-mix(in oklab, var(--brand) 12%, transparent); }

  /* -------- Location Finder -------- */
  .map-shell {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    box-shadow: var(--shadow-1);
  }
  .location-meta {
    text-align: center;
    margin-top: 16px;
    color: var(--muted);
  }
  .location-meta p { margin: 4px 0; }

  /* -------- Footer -------- */
  footer {
    background: #222;
    color: #eee;
    text-align: center;
    padding: 24px 12px;
    margin-top: 30px;
    border-top: 1px solid #000;
    font-size: .95rem;
  }
  footer p { margin: 6px 0; }
  footer p:last-child { color: #bbb; font-size: .82rem; }

  /* -------- Responsive Layout -------- */
  @media (max-width: 1024px){
    /* grid-column rules no longer used (we're flex-based) */
  }

  @media (max-width: 640px){
    header .container{ flex-direction: column; align-items: center; text-align: center; }
    .hero{ padding: 36px 0; }
    .section{ padding: 15px 0; }
    .images { height: 160px; }
  }

  /* Improve tap targets on mobile */
  @media (pointer: coarse){
    .button, button, .btn { padding: 12px 16px; }
    input, textarea { padding: 14px 16px; }
  }

  /* -------- Small Enhancements -------- */
  .badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--brand) 85%, white);
    color: white;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .3px;
  }

  .card-cta {
    margin-top: auto;
    display: flex;
    gap: 10px;
    justify-content: center;
  }

  /* Hover lift utility for cards */
  .hover-lift{ transition: transform .18s ease, box-shadow .18s ease; }
  .hover-lift:hover{ transform: translateY(-3px); box-shadow: var(--shadow-2); }

  /* Print styles */
  @media print{
    header, .hero, .age-gate, .map-shell, .images { display: none !important; }
    body{ color: #000; background: #fff; }
    a::after{ content: " (" attr(href) ")"; font-size: .8em; }
  }