/* Ecommerce page only (ecommerce.html) */

/* ---------- Hero: storefront mock + floating cards ---------- */
.eco-hero .mock-store { left: 6%; top: 9%; width: 64%; }
.eco-store__banner {
  display: grid; gap: 8px; align-content: center; min-height: 92px; margin: 14px 16px 0; padding: 16px 18px; border-radius: 12px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(200, 241, 105, 0.55), transparent 55%),
    linear-gradient(120deg, var(--c-forest), var(--c-teal));
}
.eco-store__banner b { display: block; width: 72px; height: 22px; border-radius: 6px; background: var(--c-lime); margin-top: 4px; }
.eco-store__cats { display: flex; gap: 6px; padding: 12px 16px 0; }
.eco-store__cats span { height: 18px; width: 52px; border-radius: 99px; background: var(--c-mist); border: 1px solid var(--c-line); }
.eco-store__cats span:first-child { background: var(--c-black); border-color: var(--c-black); }
.eco-hero .mock-store__grid { padding-top: 12px; }
.eco-hero__type { right: 4%; min-width: 0; max-width: 262px; }
.eco-hero__chips { gap: 6px; }
.eco-hero__ready { width: 272px; }

/* ---------- Scope panel mocks ---------- */
/* 1. Page flow: home → collection → product → cart → checkout */
.eco-flow {
  position: absolute; left: 6%; right: 6%; top: 15%;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: start;
}
.eco-flow::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 36%; z-index: -1;
  border-top: 2px dashed rgba(24, 58, 48, 0.28);
}
.eco-flow__page {
  position: relative; display: grid; gap: 7px; padding: 10px 10px 12px; border-radius: 12px;
  background: #fff; box-shadow: var(--shadow-soft);
}
.eco-flow__page:nth-child(even) { margin-top: 28px; }
.eco-flow__page i { display: block; aspect-ratio: 4 / 5; border-radius: 8px; background: linear-gradient(140deg, #eaf5d2, #cfe7b1); }
.eco-flow__page i.eco-flow__grid {
  background:
    linear-gradient(90deg, transparent 47%, #fff 47% 53%, transparent 53%),
    linear-gradient(transparent 47%, #fff 47% 53%, transparent 53%),
    linear-gradient(140deg, #e5ece6, #c9d8cf);
}
.eco-flow__page i.eco-flow__list { background: repeating-linear-gradient(180deg, #e9ede8 0 20%, #fff 20% 28%); }
.eco-flow__page i.eco-flow__form {
  background: repeating-linear-gradient(180deg, #fff 0 12%, #e3ecdc 12% 24%), #fff;
  border: 1px solid var(--c-line);
}
.eco-flow__page--end { box-shadow: 0 0 0 2px var(--c-lime), var(--shadow-soft); }
.eco-flow__page em {
  font-style: normal; font-size: 12px; font-weight: 600; color: var(--c-text); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 2. Product information sheet */
.eco-sheet {
  position: absolute; left: 7%; top: 12%; width: 62%;
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 18px;
  padding: 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-card);
}
.eco-sheet__img { display: grid; gap: 8px; align-content: start; }
.eco-sheet__img b { display: block; aspect-ratio: 1; border-radius: 12px; background: linear-gradient(140deg, #eaf5d2, #cfe7b1); }
.eco-sheet__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.eco-sheet__thumbs i { aspect-ratio: 1; border-radius: 6px; background: var(--c-mist-2); }
.eco-sheet__thumbs i:first-child { outline: 2px solid var(--c-lime); outline-offset: 1px; background: #dcefc0; }
.eco-sheet__fields { display: grid; gap: 12px; align-content: start; }
.eco-sheet__field { display: grid; gap: 6px; padding-bottom: 11px; border-bottom: 1px solid var(--c-line); }
.eco-sheet__field:last-child { border-bottom: 0; padding-bottom: 0; }
.eco-sheet__field em {
  font-style: normal; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.eco-sheet__pills { display: flex; gap: 6px; }
.eco-sheet__pills i { height: 18px; width: 44px; border-radius: 99px; background: var(--c-mint); }
.eco-sheet__pills i:nth-child(2) { width: 56px; background: var(--c-mist-2); }

/* ---------- Ways to work ---------- */
.eco-way { gap: 12px; }
.eco-way__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.eco-way__people { display: flex; }
.eco-way__people .ui-ico { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--c-panel); }
.eco-way__people .ui-ico svg { width: 20px; height: 20px; }
.eco-way__people .ui-ico + .ui-ico { margin-left: -12px; }
.eco-way__people .ui-ico:nth-child(2) { background: #d5ecc0; }
.eco-way__people .ui-ico:nth-child(3) { background: var(--c-lime); color: var(--c-lime-ink); }
.eco-way__people .ui-ico--dark { border-radius: 13px; background: var(--c-lime); color: var(--c-lime-ink); }
.eco-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 20px; padding: 20px 24px;
  border-radius: var(--r-md); border: 1px solid var(--c-line-d);
  background: linear-gradient(90deg, rgba(200, 241, 105, 0.08), transparent 60%);
}
.eco-note__ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(200, 241, 105, 0.14); color: var(--c-lime); }
.eco-note__ico svg { width: 20px; height: 20px; }
.eco-note p { flex: 1 1 320px; font-size: 16px; color: var(--c-text-d); }
.eco-note .link-arrow { color: var(--c-lime); }

/* ---------- Specialist cards ---------- */
.spec-card { gap: 12px; }
.spec-card .card__icon { margin-bottom: 6px; }
.spec-card__skills { font-family: var(--font-mono); font-size: 12px; line-height: 1.5; letter-spacing: 0.02em; color: var(--c-teal); }
.spec-help {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 20px 24px;
  border-radius: 16px; border: 1px dashed #c9d3cc;
}
.spec-help p { font-size: 16px; font-weight: 500; }

/* ---------- What to prepare ---------- */
.prep-wrap { position: relative; padding-bottom: 44px; }
.prep-card {
  position: relative; background: #fff; color: var(--c-text); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.prep-card .ui-card__head { margin-bottom: 8px; }
.prep-card .ui-card__title { font-size: 16px; }
.prep-card__list li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 36px; gap: 14px; align-items: center;
  padding: 18px 0; border-top: 1px solid var(--c-line); font-size: 16.5px; font-weight: 500; line-height: 1.45;
}
.prep-card__num { font-family: var(--font-mono); font-size: 13px; color: var(--c-muted); }
.prep-card__ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--c-mint); color: var(--c-forest); }
.prep-card__ico svg { width: 18px; height: 18px; }
.prep-float { left: -32px; bottom: 0; width: 232px; }

/* ---------- Process & FAQ ---------- */
.eco-process__more { margin-top: 28px; }
.eco-faq { align-items: start; }
.eco-faq > .stack { position: sticky; top: calc(var(--header-h) + 40px); }

/* ---------- Responsive ---------- */
@media (min-width: 1024px) and (max-width: 1180px) {
  .eco-hero__ready .ui-row:last-child { display: none; }
}
@media (max-width: 1023px) {
  .prep-float { left: 16px; }
  .eco-faq > .stack { position: static; }
}
@media (max-width: 640px) {
  .eco-hero .mock-store { width: 80%; top: 7%; }
  .eco-hero__type { display: none; }
  .eco-hero__ready { width: 214px; }
  .eco-hero__ready .ui-row:last-child { display: none; }
  .eco-store__banner { min-height: 0; margin: 8px 10px 0; padding: 10px 12px; }
  .eco-store__cats { display: none; }
  .eco-hero .mock-store__grid { padding: 10px; gap: 8px; }

  .eco-flow { top: 10%; left: 4%; right: 4%; gap: 7px; }
  .eco-flow__page { padding: 5px; gap: 4px; border-radius: 8px; }
  .eco-flow__page:nth-child(even) { margin-top: 14px; }
  .eco-flow__page em { font-size: 9.5px; }
  .eco-sheet { width: 84%; left: 5%; top: 8%; padding: 10px; gap: 10px; }
  .eco-sheet__thumbs { display: none; }
  .eco-sheet__field:nth-child(n+3) { display: none; }
  .stabs__panel .media .ui-card .ui-row:nth-child(4) { display: none; }

  .eco-way__people .ui-ico { width: 40px; height: 40px; }
  .prep-card__list li { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; font-size: 15.5px; }
  .prep-card__ico { display: none; }
  .prep-float { width: 200px; }
  .spec-help { padding: 18px; }
}

/* Daily operations: keep the full operations and analytics scene visible. */
#eco-ops .eco-ops-photo { width: 100%; aspect-ratio: auto; padding: 0; }
#eco-ops .eco-ops-photo > img { display: block; width: 100%; height: auto; object-fit: contain; }
