/* Single-yard store page — app-like on mobile */

.page-stores,
.page-project {
  background: #F0F4F8;
}

.page-stores .site-header,
.page-stores .avg-top-marquee,
.page-stores .mobile-nav-tabs,
.page-stores .category-circles-bar,
.page-project .avg-top-marquee,
.page-project .mobile-nav-tabs,
.page-project .category-circles-bar {
  display: none !important;
}

@media (max-width: 991.98px) {
  .page-stores #main-content,
  .page-project #main-content {
    padding-top: 0 !important;
  }

  .page-project .site-header {
    display: none !important;
  }
}

.avg-store {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 0 calc(88px + env(safe-area-inset-bottom, 0px));
}

.avg-store-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(11, 37, 69, 0.06);
}

.avg-store-back,
.avg-store-call {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #0B2545;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.avg-store-bar h1 {
  flex: 1;
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0B2545;
}

.avg-store-hero {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0B2545;
}

.avg-store-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avg-store-hero-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 18px 16px;
  background: linear-gradient(transparent, rgba(6, 22, 40, 0.88));
  color: #fff;
}

.avg-store-hero-copy p {
  margin: 0 0 4px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.avg-store-hero-copy h2 {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.25;
}

.avg-store-card {
  margin: -22px 14px 14px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 20px 18px 16px;
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.1);
}

.avg-store-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.avg-store-card h3 {
  margin: 0 0 6px;
  font-family: Montserrat, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0B2545;
}

.avg-store-addr,
.avg-store-meta {
  margin: 0 0 12px;
  color: #5B6B7C;
  font-size: 0.9rem;
  line-height: 1.5;
}

.avg-store-meta {
  list-style: none;
  padding: 0;
}

.avg-store-meta li + li {
  margin-top: 2px;
}

.avg-store-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.avg-store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  padding: 8px;
}

.avg-store-btn--navy {
  background: #0B2545;
  color: #fff;
}

.avg-store-btn--wa {
  background: #25D366;
  color: #fff;
}

.avg-store-dir {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: #D0122A;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.avg-store-map {
  margin: 0 14px 14px;
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
  border: 1px solid #E2E8F0;
}

.avg-store-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.avg-store-points {
  margin: 0 14px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 16px;
  list-style: none;
  color: #0B2545;
  font-size: 0.9rem;
  font-weight: 600;
}

.avg-store-points li + li {
  margin-top: 8px;
}

@media (min-width: 992px) {
  .page-stores .site-header,
  .page-project .site-header {
    display: block !important;
  }

  .page-project .avg-store-bar {
    display: none;
  }

  .avg-store {
    max-width: 720px;
    padding: 24px 0 48px;
  }

  .avg-store-bar {
    display: none;
  }

  .avg-store-hero {
    border-radius: 20px;
    margin: 0 0 0;
  }

  .avg-store-card {
    margin-left: 0;
    margin-right: 0;
  }

  .avg-store-map,
  .avg-store-points {
    margin-left: 0;
    margin-right: 0;
  }
}

.avg-project-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 16px calc(88px + env(safe-area-inset-bottom, 0px));
}

.avg-project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}

.avg-proj-card {
  background: transparent;
}

.avg-proj-shot {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: linear-gradient(180deg, #eef2f6 0%, #dbe3ec 100%);
  box-shadow:
    0 10px 8px -8px rgba(11, 37, 69, 0.18),
    0 18px 36px -12px rgba(11, 37, 69, 0.28);
  overflow: hidden;
}

.avg-proj-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f3f6f9;
}

.avg-proj-shot.is-blank {
  box-shadow:
    0 8px 6px -6px rgba(11, 37, 69, 0.14),
    0 16px 28px -14px rgba(11, 37, 69, 0.18);
}

.avg-proj-veil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(transparent, rgba(6, 18, 34, 0.72));
  color: #fff;
}

.avg-proj-veil h2 {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.avg-proj-veil p {
  margin: 4px 0 0;
  font-size: 0.7rem;
  line-height: 1.35;
  opacity: 0.92;
}

.avg-project-enquiry {
  margin: 18px 0 8px;
}

@media (min-width: 768px) {
  .avg-project-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .avg-proj-shot {
    aspect-ratio: 1 / 1;
  }

  .avg-proj-veil h2 {
    font-size: 1rem;
  }
}

@media (min-width: 992px) {
  .avg-project-page {
    padding: 28px 20px 56px;
  }

  .avg-project-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
