
    :root {
      --green: #0f4f32;
      --green-dark: #073522;
      --red: #c8322b;
      --cream: #fffdf7;
      --text: #222;
      --border: #ddd;
      --bg: #f5f5f5;
    }

    * { box-sizing: border-box; }

    html,
    body {
    height: 100%;
    }

    body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    }

    a { color: inherit; }

    .topbar {
      background: var(--cream);
      border-bottom: 1px solid var(--border);
      padding: 3px 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 36px;
      position: relative;
      z-index: 2000;
    }

    .logo-img {
      width: 180px;
      height: auto;
      display: block;
    }

    .header-right {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 22px;
    }

    .utility-nav,
    .main-nav {
      display: flex;
      align-items: center;
    }

    .utility-nav {
      gap: 34px;
      font-size: 13px;
      font-weight: 700;
    }

    .main-nav {
      gap: 34px;
      font-size: 16px;
      font-weight: 800;
    }

    .utility-nav a,
    .main-nav a {
      color: var(--green);
      text-decoration: none;
    }

    .main-nav a.active {
      color: var(--red);
      border-bottom: 3px solid var(--red);
      padding-bottom: 5px;
    }

    .order-btn {
      background: var(--red);
      color: #fff !important;
      padding: 10px 32px;
      border-radius: 4px;
      box-shadow: 0 8px 18px rgba(200, 50, 43, .18);
    }

    .hero {
      position: relative;
      z-index: 10;
      padding: 15px 42px;
      color: #fff;
      background: linear-gradient(90deg, rgba(8,70,44,.98) 0%, rgba(7,53,34,.98) 45%, rgba(7,53,34,.92) 100%);
      overflow: hidden;
      border-bottom: 1px solid #ccc;
      min-height: 50px;
    }

    .hero-donut {
      position: absolute;
      right: 0;
      top: 50%;
      z-index: 1;
      width: 320px;
      height: 180px;
      background: url("../images/glazed-sprinkles-small.png") center / cover no-repeat;transform: translateY(-50%);
      pointer-events: none;
    }

    .hero-inner {
      max-width: 1500px;
      margin: 0 auto;
      position: relative;
      z-index: 2;
    }

    .hero h1 {
      margin: 0;
      font-family: Georgia, "Times New Roman", serif;
      font-style: italic;
      letter-spacing: .1em;
      font-size: 22px;
      color: #fff;
      padding: 0 !important;
      font-weight: 500;
      text-shadow: 0 2px 8px rgba(0,0,0,.16);
    }

    .hero p {
      margin: 0;
      max-width: 680px;
      color: rgba(255,255,255,.94);
      font-size: 16px;
      line-height: 1.3;
    }

    .map-shell {
      position: relative;
      background: #dfeee5;
      overflow: hidden;
    }

    #map {
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    .leaflet-container {
      font-family: Arial, Helvetica, sans-serif;
      background: #e8f0ea;
    }

    .leaflet-control-attribution { font-size: 10px; }

    .leaflet-control-zoom {
      border: 0 !important;
      box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
    }

    .leaflet-control-zoom a {
      width: 42px !important;
      height: 42px !important;
      line-height: 42px !important;
      color: #222 !important;
      border-color: #e4e4e4 !important;
    }

    .marker-cluster-small,
    .marker-cluster-medium,
    .marker-cluster-large {
      background: rgba(200, 50, 43, .24);
    }

    .marker-cluster-small div,
    .marker-cluster-medium div,
    .marker-cluster-large div {
      background: var(--red);
      color: #fff;
      font-weight: 900;
      box-shadow: 0 8px 18px rgba(0,0,0,.2);
    }

    .donut-marker {
      position: relative;
      width: 62px;
      height: 82px;
    }

    .donut-marker .pin-body {
      position: absolute;
      left: 50%;
      top: 0;
      width: 60px;
      height: 60px;
      transform: translateX(-50%) rotate(-45deg);
      background: var(--green);
      border-radius: 50% 50% 50% 0;
      border: 4px solid #083d2a;
      box-shadow: 0 9px 20px rgba(0,0,0,.30);
    }

    .donut-marker .logo-dot {
      position: absolute;
      left: 50%;
      top: 8px;
      width: 42px;
      height: 42px;
      transform: translateX(-50%);
      border-radius: 999px;
      z-index: 2;
      background: #fffdf7;
      border: 3px solid #fff;
      box-shadow: 0 3px 8px rgba(0,0,0,.2);
      display: grid;
      place-items: center;
      overflow: hidden;
    }

    .donut-marker .logo-dot img {
      width: 38px;
      height: 38px;
      object-fit: cover;
      object-position: left center;
      transform: scale(1.22);
    }

    .donut-marker.active .pin-body {
      background: var(--red);
      border-color: #9e241f;
      box-shadow: 0 12px 28px rgba(200,50,43,.44);
    }

    .pin-count {
      position: absolute;
      right: -8px;
      top: 19px;
      width: 27px;
      height: 27px;
      border-radius: 999px;
      background: var(--red);
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 13px;
      font-weight: 900;
      z-index: 3;
      border: 2px solid #fff;
    }

    .pin-count {
      display: none;
    }

    .store-card {
      position: absolute;
      left: 210px;
      bottom: 30px;
      z-index: 500;
      width: 430px;
      background: rgba(255,255,255,.98);
      border-radius: 10px;
      box-shadow: 0 22px 70px rgba(0,0,0,.28);
      overflow: hidden;
      border: 1px solid rgba(0,0,0,.08);
    }

    .store-card-photo {
    height: 230px;
    position: relative;
    overflow: hidden;
    background: #ddd;
    }

    .store-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    }

    .close-card {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 42px;
      height: 42px;
      border: 0;
      border-radius: 999px;
      background: rgba(255,255,255,.95);
      color: #222;
      font-size: 26px;
      font-weight: 400;
      line-height: 1;
      cursor: pointer;
      z-index: 3;
      box-shadow: 0 4px 14px rgba(0,0,0,.18);

      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
    }

    .store-card-body {
      padding: 22px 24px 24px;
    }

    .store-title-row {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: center;
      margin-bottom: 12px;
    }

    .store-card h2 {
      margin: 0;
      color: var(--green);
      font-size: 28px;
      letter-spacing: -.04em;
    }

    .status {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--green);
      background: #e8f4e7;
      border-radius: 999px;
      padding: 8px 12px;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

    .status::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #198f44;
    }

    .detail-row {
      display: grid;
      grid-template-columns: 22px 1fr;
      gap: 12px;
      margin: 14px 0;
      color: #444;
      font-size: 16px;
      line-height: 1.45;
    }

    .detail-icon {
      color: var(--green);
      font-weight: 900;
      font-size: 18px;
      text-align: center;
    }

    .card-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 22px;
    }

    .card-actions a {
      text-decoration: none;
      text-align: center;
      border-radius: 5px;
      padding: 15px 14px;
      font-size: 14px;
      font-weight: 900;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .card-actions a:first-child {
      background: var(--red);
      color: #fff;
    }

    .card-actions a:last-child {
      border: 1px solid var(--green);
      color: var(--green);
      background: #fff;
    }

    .card-actions a:last-child:hover {
      background: var(--green);
      color: #fff;
      transform: translateY(-1px);
    }

    .fresh-badge {
      position: absolute;
      left: 74px;
      bottom: 22px;
      z-index: 510;
      width: 112px;
      height: 112px;
      border-radius: 999px;
      background: var(--red);
      color: #fff;
      display: grid;
      place-items: center;
      text-align: center;
      box-shadow: 0 14px 32px rgba(0,0,0,.18);
      border: 3px dotted rgba(255,255,255,.72);
      transform: rotate(-8deg);
      font-family: Georgia, serif;
      font-style: italic;
      font-size: 24px;
      line-height: .95;
    }

    .fresh-badge span {
      display: block;
      font-family: Arial, sans-serif;
      font-style: normal;
      font-size: 10px;
      letter-spacing: .18em;
      text-transform: uppercase;
      margin-bottom: 3px;
    }

    .map-footer {
      width: 100%;
      z-index: 12;
      padding: 15px 0;
      background:
        linear-gradient(90deg, rgba(8,70,44,.98), rgba(7,53,34,.98)),
        var(--green-dark);
      color: #fff;
      display: grid;
      place-items: center;
      overflow: hidden;
      border-top: 1px solid rgba(0,0,0,.18);
    }

    .map-footer p {
      position: relative;
      z-index: 2;
      margin: 0;
      font-family: Georgia, serif;
      font-style: italic;
      font-size: 17px;
      letter-spacing: .02em;
      color: rgba(255,255,255,.96);
    }


    html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.topbar,
.hero,
.map-footer {
  flex: 0 0 auto;
}

.map-shell {
  position: relative;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  background: #dfeee5;
  overflow: hidden;
}

.map-footer {
  position: relative;
  width: 100%;
  z-index: 12;
  padding: 15px 0;
}

.store-card {
  transition: opacity .22s ease, transform .22s ease;
}

.store-card.slide-out {
  opacity: 0;
  transform: translateY(36px);
}

.store-card.slide-in {
  opacity: 0;
  transform: translateY(-36px);
}



.demo-modal[hidden] {
  display: none;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 44, 29, 0.62);
  backdrop-filter: blur(4px);
}

.demo-modal-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 34px;
  border-radius: 24px;
  background: #fff;
  color: #123522;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.demo-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: transparent;
  color: #123522;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.demo-modal-kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-modal-card h2 {
  margin: 0 0 14px;
  color: #123522;
  font-size: 1.8rem;
  line-height: 1.05;
}

.demo-modal-card p {
  margin: 0 0 20px;
  color: #55685e;
  line-height: 1.55;
}

.demo-modal-button {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.demo-modal-button:hover {
  filter: brightness(0.95);
}

.mobile-menu-toggle {
  display: none;
}


.locator-view-control {
      position: absolute;
      top: 22px;
      left: 22px;
      z-index: 900;
      width: min(380px, calc(100% - 44px));
      font-family: inherit;
    }

    .locator-toggle {
      display: inline-flex;
      gap: 6px;
      padding: 6px;
      background: rgba(255, 255, 255, 0.96);
      border-radius: 999px;
      box-shadow: 0 12px 30px rgba(58, 33, 13, 0.18);
      border: 1px solid rgba(88, 52, 26, 0.12);
      backdrop-filter: blur(8px);
    }

    .locator-toggle button {
      border: 0;
      border-radius: 999px;
      padding: 10px 16px;
      background: transparent;
      color: #5f351d;
      font-weight: 800;
      cursor: pointer;
      white-space: nowrap;
    }

    .locator-toggle button.is-active {
      background: #5f351d;
      color: #fff7ed;
    }

    .address-panel {
      display: none;
      margin-top: 12px;
      max-height: min(62vh, 560px);
      overflow: auto;
      background: rgba(255, 255, 255, 0.97);
      border-radius: 22px;
      box-shadow: 0 18px 44px rgba(58, 33, 13, 0.22);
      border: 1px solid rgba(88, 52, 26, 0.12);
      overflow: hidden;
  border-radius: 22px;
    }

    .address-panel.is-open {
      display: block;
    }

    .address-panel-header {
      padding: 18px 20px 12px;
      border-bottom: 1px solid rgba(88, 52, 26, 0.1);
    }

    .address-panel-header h2 {
      margin: 0 0 5px;
      font-size: 1.25rem;
      color: #3b2113;
    }

    .address-panel-header p {
      margin: 0;
      color: #7a604c;
      font-size: 0.92rem;
      line-height: 1.35;
    }

    .address-list {
      display: grid;
      gap: 10px;
      padding: 14px;
      max-height: min(46vh, 460px);
  overflow-y: auto;
  padding: 14px 18px 14px 14px;
  scrollbar-gutter: stable;
    }

    .address-location {
      width: 100%;
      display: grid;
      grid-template-columns: 38px 1fr;
      gap: 12px;
      align-items: start;
      padding: 13px;
      border: 1px solid rgba(88, 52, 26, 0.1);
      border-radius: 16px;
      background: #fffaf3;
      color: #3b2113;
      text-align: left;
      cursor: pointer;
    }

    .address-location:hover,
    .address-location.is-selected {
      border-color: rgba(95, 53, 29, 0.42);
      background: #fff3df;
    }

    .address-location-number {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: #5f351d;
      color: #fff7ed;
      font-weight: 900;
      font-size: 0.9rem;
    }

    .address-location-name {
      display: block;
      font-weight: 900;
      margin-bottom: 4px;
    }

    .address-location-address {
      color: #6e5543;
      line-height: 1.3;
      font-size: 0.92rem;
    }

    .mobile-only {
      display: none;  
    }

    .store-card {
      display: none;
      top: 50px;
      right: 80px;
      left: auto;
      bottom: auto;
    }

    .address-panel {
      overflow: hidden;
      border-radius: 22px;
    }

    .address-list {
      max-height: min(46vh, 460px);
      overflow-y: auto;
      padding: 14px 18px 14px 14px;
      scrollbar-gutter: stable;
    }

    .address-list::-webkit-scrollbar {
      width: 8px;
    }

    .address-list::-webkit-scrollbar-thumb {
      border-radius: 999px;
      background: rgba(95, 53, 29, 0.35);
}



@media (max-width: 1000px) {
  .topbar {
    position: relative;
    flex-direction: row;
    align-items: center;
    padding: 14px 24px;
  }

  .logo-img {
    width: 150px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
  }

  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    margin: 0 auto;
    border-radius: 999px;
    background: #fff;
  }

  .header-right {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    z-index: 2100;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding: 22px;
    border-radius: 22px;
    background: var(--cream);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
  }

  .header-right.is-open {
    display: grid;
    gap: 18px;
  }

  .utility-nav,
  .main-nav {
    display: grid;
    gap: 14px;
  }

  .utility-nav {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(15, 79, 50, .16);
    font-size: 14px;
  }

  .main-nav {
    font-size: 16px;
  }

  .utility-nav a,
  .main-nav a {
    display: block;
    padding: 6px 0;
  }

  .main-nav a.active {
    width: fit-content;
    padding-bottom: 5px;
  }

  .order-btn {
    width: fit-content;
    padding: 12px 22px !important;
  }


  .fresh-badge {
    display: none;
  }

  .store-card {
    top: 70px;
    right: 24px;
    left: 24px;
    width: min(430px, calc(100% - 48px));
  }
}

@media (max-width: 760px) {
    
      .hero {
        padding: 15px 24px;
        background:
          linear-gradient(90deg, rgba(8,70,44,.98), rgba(7,53,34,.98)),
          #0b4f32;
      }

      .map-shell {
        height: calc(100vh - 330px);
        min-height: 460px;
      }


  .store-card-photo {
    height: 180px;
  }

  .store-card-body {
    padding: 22px 24px 28px;
  }

  .card-actions {
    grid-template-columns: 1fr;
    padding-bottom: 8px;
  }

  .close-card {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

   .locator-toggle {
    width: 100%;
  }

   .locator-toggle button {
    flex: 1;
  }

  .store-card {
    top: 100px !important;
    left: 24px !important;
    right: 24px !important;
    bottom: auto !important;
    width: auto !important;
    max-height: calc(100dvh - 190px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    transform: none !important;
  }

   .address-panel {
    height: calc(760px - 96px);
    max-height: none;
    display: none;
  }

   .address-list {
    flex: 1 1 auto;
    max-height: none;
    overflow-y: auto;
    padding-bottom: 40px;
  }

  .address-panel.is-open {
    display: flex;
    flex-direction: column;
  }

  .address-panel-header {
    flex: 0 0 auto;
  }

  .map-shell {
    height: 760px;
    min-height: 760px;
  }

  .locator-view-control {
    top: 10px;
    left: 14px;
    width: calc(100% - 28px);
  }

  .mobile-only {
    display: block;
  }

  .address-panel-header p {
    display: none;
  }

  .address-panel-header {
    padding-bottom: 14px;
    text-align: center;
  }

  .map-footer {
    display: none;
  }

  .leaflet-bottom .leaflet-control {
    margin-bottom: 40px;
  }

  .hero-inner h1 {
    display: none;
  }

  .hero-donut {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 320px;
    height: 180px;
    background: url("../images/glazed-sprinkles-small.png") center / cover no-repeat;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }



  .mobile-only {
    display: block;
  }
  
  .locator-view-control {
    top: 10px;
    left: 14px;
    width: calc(100% - 28px);
  }

  .locator-toggle {
    width: 100%;
  }

  .locator-toggle button {
    flex: 1;
  }

  .address-panel {
    max-height: 60vh;
  }

  .address-panel-header p {
    display: none;
  }

  .address-panel-header {
    padding-bottom: 14px;
    text-align: center;
  }
}


@media (max-width: 600px) {
  
  .hero h1 {
    font-size: 18px;
    text-align: center;
  }
  
  .hero::after {
    display: none;
  }

  .map-footer {
    padding: 10px;
  }

  .map-footer p {
    text-align: center;
    font-size: 12px;
  }
}
