/* Сценарный лендинг «Список продуктов в магазин».
   Визуалы используют постоянную семью сайта, а экраны — реальные
   скриншоты текущего Flutter-интерфейса. */

.grocery-store-page {
  background:
    radial-gradient(circle at 8% 3%, rgba(255, 207, 74, 0.13), transparent 26rem),
    radial-gradient(circle at 94% 7%, rgba(47, 107, 255, 0.11), transparent 32rem),
    var(--canvas);
}

.grocery-store-page .topbar-left-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.grocery-store-page .store-hero {
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 0.86fr);
  align-items: center;
  background:
    radial-gradient(circle at 5% 0, rgba(255, 207, 74, 0.2), transparent 24rem),
    radial-gradient(circle at 92% 12%, rgba(47, 107, 255, 0.14), transparent 28rem),
    rgba(251, 250, 246, 0.94);
}

.store-hero__copy {
  padding: clamp(4px, 1vw, 16px) 0;
}

.store-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.84);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
}

.store-kicker {
  margin-bottom: 16px;
  padding: 7px 11px;
  background: var(--blue-100);
  letter-spacing: 0.015em;
}

.grocery-store-page .store-hero .hero-title {
  max-width: 12.4ch;
  margin-top: 24px;
}

.grocery-store-page .store-hero .hero-sub {
  max-width: 62ch;
}

.store-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: clamp(22px, 3vw, 34px) 0 24px;
}

.store-fact {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(47, 107, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 26px rgba(28, 39, 70, 0.05);
}

.store-fact span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
}

.store-fact strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.store-hero__visual {
  min-width: 0;
}

.store-family-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 1;
  border: 7px solid rgba(255, 255, 255, 0.92);
  border-radius: 34px;
  background: #eef3ff;
  box-shadow: 0 30px 70px rgba(28, 39, 70, 0.2);
}

.store-family-scene__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-family-scene__glow {
  position: absolute;
  z-index: 1;
  inset: 45% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(36, 94, 242, 0.14));
  pointer-events: none;
}

.store-phone-preview {
  position: absolute;
  z-index: 3;
  bottom: -13%;
  left: 36%;
  width: 29%;
  overflow: hidden;
  border: 7px solid #17223e;
  border-radius: 34px 34px 20px 20px;
  background: #fff;
  box-shadow: 0 25px 54px rgba(18, 27, 52, 0.34);
  transform: rotate(-2deg);
}

.store-phone-preview::before {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 50%;
  width: 42%;
  height: 13px;
  border-radius: 0 0 12px 12px;
  background: #17223e;
  content: "";
  transform: translateX(-50%);
}

.store-phone-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.store-float {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(18, 27, 52, 0.15);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.store-float b {
  color: var(--blue-700);
  font-size: 14px;
}

.store-float--progress {
  right: 4%;
  bottom: 23%;
}

.store-float--category {
  bottom: 7%;
  left: 4%;
  color: #287451;
}

.grocery-store-page .hero-mini strong {
  color: var(--navy);
  font-size: 13px;
}

.store-section,
.store-home,
.store-compare {
  margin-bottom: var(--gap-section);
}

.store-section__head {
  max-width: 820px;
  margin-bottom: clamp(26px, 3vw, 42px);
}

.store-section__head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.store-section__head--center .store-kicker {
  margin-right: auto;
  margin-left: auto;
}

.store-section__head h2,
.store-home__copy h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 690;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.store-section__head p,
.store-home__lead {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
}

.store-section__head--center p {
  margin-right: auto;
  margin-left: auto;
}

.store-app-map {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.store-app-card {
  position: relative;
  grid-column: span 6;
  min-height: 270px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(47, 107, 255, 0.08), transparent 15rem),
    rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
}

.store-app-card--wide {
  grid-column: span 6;
}

.store-app-card__number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(47, 107, 255, 0.26);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.store-app-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  margin-bottom: 18px;
  padding: 0 11px;
  border: 1px solid rgba(47, 107, 255, 0.15);
  border-radius: 15px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 17px;
  font-weight: 760;
}

.store-app-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.store-app-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.store-ui-strip,
.store-item-demo {
  border: 1px solid rgba(47, 107, 255, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(28, 39, 70, 0.08);
}

.store-ui-strip {
  display: grid;
  grid-template-columns: 34px 34px minmax(0, 1fr) 34px 34px;
  gap: 5px;
  align-items: center;
  margin-top: 20px;
  padding: 10px;
  border-radius: 16px;
  color: var(--blue-600);
  text-align: center;
}

.store-ui-strip b {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-item-demo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 11px;
  align-items: center;
  margin-top: 20px;
  padding: 13px;
  border-radius: 18px;
}

.store-item-demo__check {
  width: 27px;
  height: 27px;
  border: 3px solid var(--blue-600);
  border-radius: 50%;
}

.store-item-demo b,
.store-item-demo small {
  display: block;
}

.store-item-demo b {
  color: var(--ink);
  font-size: 13px;
}

.store-item-demo small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.store-item-demo__tag {
  padding: 6px 8px;
  border: 1px solid #9dd8ee;
  border-radius: var(--r-pill);
  background: #e6f7fd;
  color: #43859d;
  font-size: 9px;
  font-weight: 700;
}

.store-item-demo__chat {
  color: var(--blue-600);
  font-size: 21px;
}

.store-home {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  background:
    radial-gradient(circle at 2% 100%, rgba(255, 207, 74, 0.2), transparent 20rem),
    rgba(251, 250, 246, 0.9);
  box-shadow: var(--shadow);
}

.store-home__media {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 1;
  border: 6px solid rgba(255, 255, 255, 0.92);
  border-radius: 31px;
  box-shadow: 0 25px 54px rgba(28, 39, 70, 0.17);
}

.store-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-home__media figcaption {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(18, 27, 52, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.store-home__media figcaption {
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 11px 13px;
  border-radius: 15px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
  text-align: center;
}

.store-home__badge {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(18, 27, 52, 0.07);
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 750;
}

.store-home__lead {
  margin-bottom: 28px;
}

.store-timeline {
  display: grid;
  gap: 10px;
  list-style: none;
}

.store-timeline li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(47, 107, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.store-timeline li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  box-shadow: 0 9px 18px rgba(47, 107, 255, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 780;
}

.store-timeline strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 15px;
}

.store-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.store-compare {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: end;
}

.store-compare .store-section__head {
  margin-bottom: 0;
}

.store-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.store-compare__card {
  padding: 24px;
  border: 1px solid rgba(47, 107, 255, 0.18);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(237, 242, 255, 0.95), rgba(255, 255, 255, 0.92));
  box-shadow: var(--shadow-card);
}

.store-compare__card--muted {
  border-color: rgba(113, 119, 131, 0.13);
  background: rgba(255, 255, 255, 0.64);
}

.store-compare__label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: var(--r-pill);
  background: rgba(113, 119, 131, 0.1);
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.store-compare__label--blue {
  background: var(--blue-100);
  color: var(--blue-700);
}

.store-compare__card ul {
  display: grid;
  gap: 12px;
}

.store-compare__card li {
  position: relative;
  padding-left: 23px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.store-compare__card li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--blue-600);
  content: "✓";
  font-weight: 820;
}

.store-compare__card--muted li::before {
  color: #9aa0aa;
  content: "–";
}

.store-cta .store-kicker {
  margin-right: auto;
  margin-left: auto;
}

.store-cta .lp-cta__actions {
  margin-top: 26px;
}

@media (max-width: 1180px) {
  .grocery-store-page .store-hero {
    grid-template-columns: minmax(0, 1fr) minmax(440px, 0.86fr);
  }

  .store-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .store-compare {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 940px) {
  .grocery-store-page .store-hero,
  .store-home {
    grid-template-columns: minmax(0, 1fr);
  }

  .store-hero__visual {
    width: min(100%, 680px);
    margin: 0 auto;
  }

  .store-app-card,
  .store-app-card--wide {
    grid-column: span 6;
  }

  .store-home__visual {
    width: min(100%, 650px);
    margin: 0 auto;
  }

}

@media (max-width: 700px) {
  .store-facts,
  .store-compare__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .store-app-card,
  .store-app-card--wide {
    grid-column: span 12;
    min-height: auto;
    padding: 21px;
  }

  .store-home {
    padding: 20px;
    border-radius: 28px;
  }

}

@media (max-width: 520px) {
  .store-family-scene {
    border-width: 4px;
    border-radius: 24px;
  }

  .store-phone-preview {
    bottom: -14%;
    left: 34%;
    width: 32%;
    border-width: 4px;
    border-radius: 23px 23px 14px 14px;
  }

  .store-float {
    padding: 7px 9px;
    font-size: 9px;
  }

  .store-float--progress {
    right: 2%;
  }

  .store-float--category {
    bottom: 4%;
    left: 2%;
  }

  .store-ui-strip {
    grid-template-columns: 28px 28px minmax(0, 1fr) 28px 28px;
  }

  .store-item-demo {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .store-item-demo__tag {
    display: none;
  }

  .store-home__media figcaption {
    display: none;
  }

  .store-timeline li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .store-timeline li > span {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-phone-preview {
    transform: none;
  }
}
