/* /e-ticaret premium V2 — page-scoped (.ys-ec), loaded only on this page. */

.ys-ec {
  --ec-navy: #071426;
  --ec-navy-2: #0f2340;
  --ec-ink: #15243a;
  --ec-muted: #5b6b82;
  --ec-line: rgba(16, 33, 58, 0.1);
  --ec-line-2: #e4e8ee;
  --ec-soft: #f6f7f9;
  --ec-paper: #ebe8e3;
  --ec-orange: #e67a2e;
  --ec-ok: #1c8c63;
  --ec-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.ys-ec-shop i,
.ys-ec-shop em,
.ys-ec-scene i,
.ys-ec-scene em {
  font-style: normal;
}

.ys-ec-mono {
  font-family: var(--ec-mono);
  letter-spacing: -0.01em;
}

/* Swatch colours (hero, scenes) */
.ys-ec .is-sand, .ys-ec [data-c="sand"] { --sw: #d9c9ae; }
.ys-ec .is-graphite, .ys-ec [data-c="graphite"] { --sw: #3c4048; }
.ys-ec .is-cognac, .ys-ec [data-c="cognac"] { --sw: #a45a2a; }
.ys-ec .is-black, .ys-ec [data-c="black"] { --sw: #1d1f23; }
.ys-ec .is-stone, .ys-ec [data-c="stone"] { --sw: #cdc5b6; }
.ys-ec .is-green, .ys-ec [data-c="green"] { --sw: #51694f; }

/* ------------------------------------------------------------------ */
/* Hero copy: H1 sized to its column so it wraps as                     */
/* "İşinizi Büyüten / E-Ticaret Çözümleri" (no break after "E-").       */
/* ------------------------------------------------------------------ */

.ys-ec .ys-sd-hero__copy {
  container-type: inline-size;
}

.ys-ec .ys-sd-hero h1 {
  max-width: none;
  font-size: clamp(2rem, 9.3cqi, 4.1rem);
}

.ys-ec-nb {
  white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Hero — Vela Atelier demo store (outer size = .ys-sd-ecomviz)         */
/* ------------------------------------------------------------------ */

.ys-ec-shop {
  container: ecshop / size;
  --ec-t: 0.45s;
}

.ys-ec-win {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  grid-template-rows: 2.7em minmax(0, 1fr);
  width: 84%;
  height: 93%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(2, 9, 20, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.03);
  color: var(--ec-ink);
  font-size: clamp(7px, 1.62cqw, 10.5px);
  line-height: 1.35;
}

.ys-ec-chrome {
  display: flex;
  align-items: center;
  gap: 0.6em;
  min-width: 0;
  padding: 0 1em;
  background: #0c1a2e;
}

.ys-ec-dots {
  display: inline-flex;
  gap: 0.4em;
}

.ys-ec-dots i {
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: #ff6159;
}

.ys-ec-dots i:nth-child(2) { background: #ffbd2e; }
.ys-ec-dots i:nth-child(3) { background: #28c941; }

.ys-ec-url {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 0.5em;
  min-width: 0;
  margin-inline: auto;
  padding: 0.3em 1em;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 247, 251, 0.78);
  font-family: var(--ec-mono);
  font-size: 0.85em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-url i {
  color: #5fd39c;
  font-size: 0.9em;
}

.ys-ec-url__path {
  color: rgba(244, 247, 251, 0.45);
}

.ys-ec-demo {
  flex: 0 0 auto;
  padding: 0.2em 0.65em;
  border: 1px solid rgba(230, 122, 46, 0.55);
  border-radius: 999px;
  color: #ffb27a;
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Store header */
.ys-ec-store {
  position: relative;
  display: grid;
  grid-template-rows: 3.7em minmax(0, 1fr);
  min-height: 0;
}

.ys-ec-hdr {
  display: flex;
  align-items: center;
  gap: 1.6em;
  min-width: 0;
  padding: 0 10% 0 4%;
  border-bottom: 1px solid var(--ec-line-2);
}

.ys-ec-logo {
  display: inline-flex;
  flex-direction: column;
  color: #111;
  font-size: 1.25em;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1;
}

.ys-ec-logo small {
  margin-top: 0.3em;
  color: #8a8f98;
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0.42em;
}

.ys-ec-nav {
  display: inline-flex;
  gap: 1.35em;
  min-width: 0;
  overflow: hidden;
  color: #59616e;
  font-size: 0.92em;
  font-weight: 600;
  white-space: nowrap;
}

.ys-ec-nav .is-on {
  color: #111;
  box-shadow: inset 0 -2px 0 #111;
}

.ys-ec-icons {
  display: inline-flex;
  align-items: center;
  gap: 1em;
  margin-inline-start: auto;
  color: #1b1f26;
  font-size: 1.15em;
}

.ys-ec-bag {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.ys-ec-badge {
  position: absolute;
  right: -0.65em;
  top: -0.45em;
  display: grid;
  min-width: 1.35em;
  height: 1.35em;
  place-items: center;
  border-radius: 999px;
  background: var(--ec-orange);
  color: #fff;
  font-size: 0.62em;
  font-weight: 800;
  transform: scale(0);
  transition: transform 0.3s ease;
}

/* Views */
.ys-ec-body {
  position: relative;
  min-height: 0;
  margin: 1.1em 10% 0 4%;
}

.ys-ec-v {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.6em);
  transition: opacity var(--ec-t) ease, transform var(--ec-t) ease, visibility 0s linear var(--ec-t);
}

.ys-ec-shop:is([data-step="reset"], [data-step="shop"], [data-step="pick"]) .ys-ec-v--cat,
.ys-ec-shop:is([data-step="pdp"], [data-step="opt"], [data-step="add"], [data-step="count"], [data-step="cart"]) .ys-ec-v--pdp,
.ys-ec-shop[data-step="pay"] .ys-ec-v--pay,
.ys-ec-shop[data-step="done"] .ys-ec-v--done {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.ys-ec-ph {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ec-paper);
}

.ys-ec-ph img,
.ys-ec-thumb img,
.ys-ec-main img,
.ys-ec-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Catalog */
.ys-ec-v--cat {
  display: grid;
  grid-template-rows: minmax(0, 0.9fr) auto auto;
  align-content: start;
  gap: 0.9em;
}

.ys-ec-banner {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
  border-radius: 0.7em;
  background: var(--ec-paper);
}

.ys-ec-banner__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35em;
  max-width: 62%;
  padding: 0.9em 1.4em;
}

.ys-ec-banner__copy small {
  color: #8b6a43;
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.ys-ec-banner__copy b {
  color: #15181d;
  font-size: 1.55em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ys-ec-banner__btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.45em;
  margin-top: 0.35em;
  padding: 0.45em 0.95em;
  border-radius: 999px;
  background: #15181d;
  color: #fff;
  font-size: 0.82em;
  font-weight: 700;
}

.ys-ec-banner img {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
  aspect-ratio: 1;
}

.ys-ec-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.ys-ec-chips {
  display: inline-flex;
  gap: 0.45em;
  min-width: 0;
  overflow: hidden;
}

.ys-ec-chips i {
  padding: 0.3em 0.85em;
  border: 1px solid var(--ec-line-2);
  border-radius: 999px;
  color: #4a5260;
  font-size: 0.86em;
  font-weight: 600;
  white-space: nowrap;
}

.ys-ec-chips .is-on {
  border-color: #15181d;
  background: #15181d;
  color: #fff;
}

.ys-ec-sort {
  color: #59616e;
  font-size: 0.86em;
  font-weight: 600;
  white-space: nowrap;
}

.ys-ec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9em;
}

.ys-ec-card {
  display: grid;
  gap: 0.35em;
  min-width: 0;
  transition: transform 0.3s ease;
}

.ys-ec-card .ys-ec-ph {
  aspect-ratio: 1;
  border-radius: 0.55em;
  transition: box-shadow 0.3s ease;
}

.ys-ec-card .ys-ec-ph em {
  position: absolute;
  left: 50%;
  bottom: 0.6em;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  background: #fff;
  color: #15181d;
  font-size: 0.78em;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translate(-50%, 0.4em);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ys-ec-card > b {
  overflow: hidden;
  color: #15181d;
  font-size: 0.9em;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ys-ec-card__row em {
  font-size: 0.9em;
  font-weight: 700;
}

.ys-ec-sw,
.ys-ec-sws {
  display: inline-flex;
  gap: 0.3em;
}

.ys-ec-sw i {
  width: 0.75em;
  height: 0.75em;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.ys-ec-shop[data-step="pick"] .ys-ec-card.is-a {
  transform: translateY(-0.25em);
}

.ys-ec-shop[data-step="pick"] .ys-ec-card.is-a .ys-ec-ph {
  box-shadow: 0 10px 22px rgba(15, 20, 30, 0.16);
}

.ys-ec-shop[data-step="pick"] .ys-ec-card.is-a .ys-ec-ph em {
  opacity: 1;
  transform: translate(-50%, 0);
}

.ys-ec-shop[data-step="reset"] .ys-ec-card {
  opacity: 0;
}

.ys-ec-shop.is-live[data-step="shop"] .ys-ec-card {
  animation: ec-rise 0.5s ease both;
}

.ys-ec-shop.is-live[data-step="shop"] .ys-ec-card:nth-child(2) { animation-delay: 0.08s; }
.ys-ec-shop.is-live[data-step="shop"] .ys-ec-card:nth-child(3) { animation-delay: 0.16s; }
.ys-ec-shop.is-live[data-step="shop"] .ys-ec-card:nth-child(4) { animation-delay: 0.24s; }

@keyframes ec-rise {
  from { opacity: 0; transform: translateY(0.8em); }
  to { opacity: 1; transform: none; }
}

/* Product detail */
.ys-ec-v--pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 1.5em;
  align-items: start;
}

.ys-ec-gal {
  display: grid;
  grid-template-columns: 2.9em minmax(0, 1fr);
  gap: 0.6em;
}

.ys-ec-thumbs {
  display: grid;
  align-content: start;
  gap: 0.5em;
}

.ys-ec-thumbs i {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.4em;
  background: var(--ec-paper);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.3s ease;
}

.ys-ec-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ys-ec-thumbs .is-a {
  box-shadow: 0 0 0 1.5px #15181d;
}

.ys-ec-main {
  position: relative;
  display: block;
  aspect-ratio: 1;
  max-height: 100%;
  overflow: hidden;
  border-radius: 0.7em;
  background: var(--ec-paper);
}

.ys-ec-main img {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease;
}

.ys-ec-main .is-b {
  opacity: 0;
}

.ys-ec-main em {
  position: absolute;
  left: 0.7em;
  top: 0.7em;
  padding: 0.2em 0.6em;
  border-radius: 0.35em;
  background: #fff;
  color: #15181d;
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ys-ec-info {
  display: grid;
  gap: 0.55em;
  min-width: 0;
}

.ys-ec-crumb {
  color: #8a8f98;
  font-size: 0.82em;
}

.ys-ec-title {
  color: #111;
  font-size: 1.45em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ys-ec-price {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
}

.ys-ec-price b {
  font-size: 1.3em;
}

.ys-ec-price em {
  padding: 0.12em 0.5em;
  border-radius: 0.3em;
  background: #fff3e8;
  color: #b0561a;
  font-size: 0.74em;
  font-weight: 700;
}

.ys-ec-opt {
  display: grid;
  gap: 0.35em;
}

.ys-ec-opt small {
  color: #59616e;
  font-size: 0.82em;
}

.ys-ec-swap {
  position: relative;
  display: inline-grid;
  color: #15181d;
  font-weight: 700;
}

.ys-ec-swap > span {
  grid-area: 1 / 1;
  transition: opacity 0.3s ease;
}

.ys-ec-swap .is-b {
  opacity: 0;
}

.ys-ec-sws i {
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), 0 0 0 2px #fff, 0 0 0 3px transparent;
  transition: box-shadow 0.3s ease;
}

.ys-ec-v--pdp .ys-ec-sws .is-sand,
.ys-ec-sws .is-sel {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), 0 0 0 2px #fff, 0 0 0 3px #15181d;
}

.ys-ec-sizes {
  display: flex;
  gap: 0.35em;
}

.ys-ec-sizes i {
  display: grid;
  flex: 1 1 0;
  max-width: 2.9em;
  height: 2.2em;
  place-items: center;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.4em;
  color: #2a303a;
  font-size: 0.86em;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ys-ec-sizes .is-out {
  color: #b5bac2;
  background: linear-gradient(to top right, transparent calc(50% - 0.5px), #d5d9df 50%, transparent calc(50% + 0.5px));
}

.ys-ec-add {
  position: relative;
  display: grid;
  height: 2.9em;
  margin-top: 0.2em;
  border-radius: 0.5em;
  background: #15181d;
  color: #fff;
  font-size: 0.95em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.15s ease;
}

.ys-ec-add > span {
  display: inline-flex;
  grid-area: 1 / 1;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  transition: opacity 0.3s ease;
}

.ys-ec-add .is-b {
  opacity: 0;
}

.ys-ec-shipnote {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: #59616e;
  font-size: 0.82em;
}

/* Step states: colour → size → added */
.ys-ec-shop:is([data-step="opt"], [data-step="add"], [data-step="count"], [data-step="cart"]) .ys-ec-main .is-b,
.ys-ec-shop[data-step="pdp"] .ys-ec-main .is-b {
  opacity: 1;
}

.ys-ec-shop[data-step="pdp"] :is(.ys-ec-main .is-b, .ys-ec-swap span, .ys-ec-sws i, .ys-ec-thumbs i) {
  transition-delay: 0.8s;
}

.ys-ec-shop:is([data-step="pdp"], [data-step="opt"], [data-step="add"], [data-step="count"], [data-step="cart"]) .ys-ec-swap .is-a { opacity: 0; }
.ys-ec-shop:is([data-step="pdp"], [data-step="opt"], [data-step="add"], [data-step="count"], [data-step="cart"]) .ys-ec-swap .is-b { opacity: 1; }

.ys-ec-shop:is([data-step="pdp"], [data-step="opt"], [data-step="add"], [data-step="count"], [data-step="cart"]) .ys-ec-v--pdp .ys-ec-sws .is-sand {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), 0 0 0 2px #fff, 0 0 0 3px transparent;
}

.ys-ec-shop:is([data-step="pdp"], [data-step="opt"], [data-step="add"], [data-step="count"], [data-step="cart"]) .ys-ec-v--pdp .ys-ec-sws .is-graphite {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), 0 0 0 2px #fff, 0 0 0 3px #15181d;
}

.ys-ec-shop:is([data-step="pdp"], [data-step="opt"], [data-step="add"], [data-step="count"], [data-step="cart"]) .ys-ec-thumbs .is-a { box-shadow: none; }
.ys-ec-shop:is([data-step="pdp"], [data-step="opt"], [data-step="add"], [data-step="count"], [data-step="cart"]) .ys-ec-thumbs .is-b { box-shadow: 0 0 0 1.5px #15181d; }

.ys-ec-shop:is([data-step="opt"], [data-step="add"], [data-step="count"], [data-step="cart"]) .ys-ec-sizes .is-42 {
  border-color: #15181d;
  background: #15181d;
  color: #fff;
}

.ys-ec-shop[data-step="opt"] .ys-ec-sizes .is-42 {
  transition-delay: 0.8s;
}

.ys-ec-shop:is([data-step="add"], [data-step="count"], [data-step="cart"]) .ys-ec-add {
  background: var(--ec-ok);
}

.ys-ec-shop:is([data-step="add"], [data-step="count"], [data-step="cart"]) .ys-ec-add .is-a { opacity: 0; }
.ys-ec-shop:is([data-step="add"], [data-step="count"], [data-step="cart"]) .ys-ec-add .is-b { opacity: 1; }

.ys-ec-shop[data-step="add"] :is(.ys-ec-add, .ys-ec-add > span) {
  transition-delay: 0.8s;
}

.ys-ec-shop:is([data-step="count"], [data-step="cart"], [data-step="pay"], [data-step="done"]) .ys-ec-badge {
  transform: scale(1);
}

.ys-ec-shop.is-live[data-step="count"] .ys-ec-badge {
  animation: ec-bump 0.5s ease 0.15s both;
}

@keyframes ec-bump {
  0% { transform: scale(0); }
  60% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Fly-to-cart (live only; positions come from JS) */
.ys-ec-fly {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  width: 3.2em;
  height: 3.2em;
  overflow: hidden;
  border-radius: 50%;
  background: var(--ec-paper);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  font-size: clamp(7px, 1.62cqw, 10.5px);
  opacity: 0;
  pointer-events: none;
}

.ys-ec-fly img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ys-ec-shop.is-live[data-step="add"] .ys-ec-fly {
  animation: ec-fly 0.75s cubic-bezier(0.5, 0, 0.4, 1) 0.95s both;
}

@keyframes ec-fly {
  0% { opacity: 0; transform: translate(calc(var(--fx0, 0px) - 50%), calc(var(--fy0, 0px) - 50%)) scale(0.6); }
  15% { opacity: 1; transform: translate(calc(var(--fx0, 0px) - 50%), calc(var(--fy0, 0px) - 120%)) scale(1); }
  100% { opacity: 0.2; transform: translate(calc(var(--fx1, 0px) - 50%), calc(var(--fy1, 0px) - 50%)) scale(0.25); }
}

/* Mini cart */
.ys-ec-mini {
  position: absolute;
  right: 10%;
  top: 3.3em;
  z-index: 3;
  display: grid;
  gap: 0.55em;
  width: 17.5em;
  padding: 1em;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.7em;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 20, 30, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5em);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}

.ys-ec-shop[data-step="cart"] .ys-ec-mini {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0.1s, 0.1s, 0s;
}

.ys-ec-mini__hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--ec-line-2);
}

.ys-ec-mini__hd small {
  color: #8a8f98;
}

.ys-ec-line {
  display: grid;
  grid-template-columns: 3.1em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7em;
}

.ys-ec-line > span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.ys-ec-line b {
  overflow: hidden;
  font-size: 0.92em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-line small {
  color: #8a8f98;
  font-size: 0.8em;
}

.ys-ec-line > em {
  font-size: 0.9em;
  font-weight: 700;
}

.ys-ec-thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.4em;
  background: var(--ec-paper);
}

.ys-ec-row {
  display: flex;
  justify-content: space-between;
  color: #59616e;
  font-size: 0.86em;
}

.ys-ec-row b {
  color: #15181d;
}

.ys-ec-row .is-free {
  color: var(--ec-ok);
}

.ys-ec-row.is-total {
  padding-top: 0.45em;
  border-top: 1px solid var(--ec-line-2);
  color: #15181d;
  font-size: 0.95em;
  font-weight: 700;
}

.ys-ec-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  height: 2.7em;
  border-radius: 0.5em;
  background: #15181d;
  color: #fff;
  font-size: 0.9em;
  font-weight: 700;
  transition: transform 0.15s ease, background-color 0.3s ease;
}

/* Payment (representative) */
.ys-ec-steps {
  display: flex;
  gap: 0.4em;
  counter-reset: ecstep;
}

.ys-ec-steps i {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  gap: 0.45em;
  padding-top: 0.5em;
  border-top: 2px solid var(--ec-line-2);
  color: #9aa1ab;
  font-size: 0.82em;
  font-weight: 700;
  white-space: nowrap;
  counter-increment: ecstep;
}

.ys-ec-steps i::before {
  content: counter(ecstep);
  display: grid;
  width: 1.6em;
  height: 1.6em;
  place-items: center;
  border-radius: 50%;
  background: var(--ec-line-2);
  color: #59616e;
  font-size: 0.85em;
}

.ys-ec-steps .is-done {
  border-color: var(--ec-ok);
  color: #2a303a;
}

.ys-ec-steps .is-done::before {
  content: "✓";
  background: var(--ec-ok);
  color: #fff;
}

.ys-ec-steps .is-on {
  border-color: #15181d;
  color: #15181d;
}

.ys-ec-steps .is-on::before {
  background: #15181d;
  color: #fff;
}

.ys-ec-v--pay {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1em;
}

.ys-ec-pay {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.2em;
  align-items: start;
}

.ys-ec-pay__main,
.ys-ec-pay__sum {
  display: grid;
  gap: 0.55em;
}

.ys-ec-pay__sum {
  padding: 0.9em;
  border-radius: 0.6em;
  background: var(--ec-soft);
}

.ys-ec-h {
  font-size: 1em;
}

.ys-ec-radio {
  display: grid;
  grid-template-columns: 1.2em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7em;
  padding: 0.65em 0.8em;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.55em;
}

.ys-ec-radio > i {
  width: 1.1em;
  height: 1.1em;
  border: 1.5px solid #b5bac2;
  border-radius: 50%;
}

.ys-ec-radio > span {
  display: grid;
  min-width: 0;
}

.ys-ec-radio b {
  font-size: 0.9em;
}

.ys-ec-radio small {
  overflow: hidden;
  color: #8a8f98;
  font-size: 0.76em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-radio > em {
  color: #59616e;
  font-size: 1.15em;
}

.ys-ec-radio.is-on {
  border-color: #15181d;
  box-shadow: inset 0 0 0 1px #15181d;
}

.ys-ec-radio.is-on > i {
  border-color: #15181d;
  background: #15181d;
  box-shadow: inset 0 0 0 0.2em #fff;
}

.ys-ec-note {
  display: flex;
  align-items: center;
  gap: 0.45em;
  color: #59616e;
  font-size: 0.78em;
}

.ys-ec-note i {
  color: var(--ec-ok);
}

.ys-ec-shop.is-live[data-step="pay"] .ys-ec-pay__sum .ys-ec-go,
.ys-ec-shop.is-live[data-step="cart"] .ys-ec-mini .ys-ec-go {
  animation: ec-press 0.35s ease 1.35s both;
}

@keyframes ec-press {
  0%, 100% { transform: none; }
  45% { transform: scale(0.95); background: #2b3240; }
}

/* Order received */
.ys-ec-v--done {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  text-align: center;
}

.ys-ec-ok {
  display: grid;
  width: 3.6em;
  height: 3.6em;
  place-items: center;
  border-radius: 50%;
  background: #e3f4ec;
  color: var(--ec-ok);
  font-size: 1.25em;
  box-shadow: 0 0 0 0.45em rgba(28, 140, 99, 0.08);
}

.ys-ec-shop.is-live[data-step="done"] .ys-ec-v--done .ys-ec-ok {
  animation: ec-pop 0.55s cubic-bezier(0.3, 1.5, 0.5, 1) 0.15s both;
}

@keyframes ec-pop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: none; }
}

.ys-ec-done__t {
  font-size: 1.5em;
  letter-spacing: -0.02em;
}

.ys-ec-done__s {
  color: #59616e;
  font-size: 0.86em;
}

.ys-ec-track {
  display: flex;
  width: min(100%, 30em);
  margin: 0.4em 0;
}

.ys-ec-track i {
  position: relative;
  display: grid;
  flex: 1 1 0;
  justify-items: center;
  gap: 0.4em;
  color: #9aa1ab;
  font-size: 0.8em;
  font-weight: 700;
}

.ys-ec-track i::before {
  content: "";
  position: absolute;
  left: -50%;
  right: 50%;
  top: 0.55em;
  height: 2px;
  background: var(--ec-line-2);
}

.ys-ec-track i:first-child::before {
  display: none;
}

.ys-ec-track em {
  position: relative;
  z-index: 1;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--ec-line-2);
}

.ys-ec-track .is-done,
.ys-ec-track .is-on {
  color: #15181d;
}

.ys-ec-track .is-done em {
  background: var(--ec-ok);
  box-shadow: none;
}

.ys-ec-track .is-on::before {
  background: linear-gradient(90deg, var(--ec-ok), var(--ec-orange));
}

.ys-ec-track .is-on em {
  box-shadow: inset 0 0 0 0.3em var(--ec-orange);
}

.ys-ec-done__item {
  width: min(100%, 24em);
  padding: 0.6em 0.8em;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.6em;
  text-align: start;
}

/* Phone */
.ys-ec-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 23%;
  height: 72%;
  padding: 0.38em;
  border-radius: 1.9em;
  background: #0b1626;
  box-shadow: 0 26px 50px rgba(2, 9, 20, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  font-size: clamp(5.5px, 1.18cqw, 7.6px);
}

.ys-ec-phone__scr {
  position: relative;
  display: grid;
  grid-template-rows: 3.6em minmax(0, 1fr);
  height: 100%;
  overflow: hidden;
  border-radius: 1.55em;
  background: #fff;
  color: var(--ec-ink);
  line-height: 1.3;
}

.ys-ec-phone__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 1.1em 0.55em;
  border-bottom: 1px solid var(--ec-line-2);
}

.ys-ec-phone__bar .ys-ec-logo {
  font-size: 1.15em;
}

.ys-ec-phone__bar .ys-ec-bag {
  font-size: 1.3em;
}

.ys-ec-m {
  position: absolute;
  left: 0;
  right: 0;
  top: 3.6em;
  bottom: 0;
  display: grid;
  align-content: start;
  gap: 0.6em;
  padding: 0.9em;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8%);
  transition: opacity var(--ec-t) ease, transform var(--ec-t) ease, visibility 0s linear var(--ec-t);
}

.ys-ec-shop:is([data-step="reset"], [data-step="shop"], [data-step="pick"]) .ys-ec-m--list,
.ys-ec-shop:is([data-step="pdp"], [data-step="opt"], [data-step="add"], [data-step="count"]) .ys-ec-m--pdp,
.ys-ec-shop:is([data-step="cart"], [data-step="pay"]) .ys-ec-m--cart,
.ys-ec-shop[data-step="done"] .ys-ec-m--done {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0.15s, 0.15s, 0s;
}

.ys-ec-m__search {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 0.8em;
  border-radius: 999px;
  background: var(--ec-soft);
  color: #8a8f98;
}

.ys-ec-m__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7em 0.6em;
}

.ys-ec-m__grid > span {
  display: grid;
  gap: 0.2em;
  min-width: 0;
}

.ys-ec-m__grid .ys-ec-ph {
  aspect-ratio: 1;
  border-radius: 0.5em;
}

.ys-ec-m__grid b,
.ys-ec-m--pdp > b {
  overflow: hidden;
  font-size: 0.95em;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-m__grid em,
.ys-ec-m--pdp > em {
  font-weight: 700;
}

.ys-ec-m__hero {
  aspect-ratio: 1;
  border-radius: 0.6em;
}

.ys-ec-m__hero img {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease;
}

.ys-ec-m__hero .is-b {
  opacity: 0;
}

.ys-ec-shop:is([data-step="pdp"], [data-step="opt"], [data-step="add"], [data-step="count"]) .ys-ec-m__hero .is-b {
  opacity: 1;
}

.ys-ec-shop[data-step="pdp"] .ys-ec-m__hero .is-b {
  transition-delay: 0.8s;
}

.ys-ec-m--pdp .ys-ec-sws i {
  width: 1.6em;
  height: 1.6em;
}

.ys-ec-m--pdp .ys-ec-sws .is-graphite {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), 0 0 0 2px #fff, 0 0 0 3px #15181d;
}

.ys-ec-m--pdp .ys-ec-sizes i {
  height: 2.4em;
  font-size: 0.9em;
}

.ys-ec-m .ys-ec-add {
  height: 3em;
  font-size: 0.95em;
}

.ys-ec-shop:is([data-step="opt"], [data-step="add"], [data-step="count"]) .ys-ec-m .ys-ec-sizes .is-42 {
  border-color: #15181d;
  background: #15181d;
  color: #fff;
}

.ys-ec-m__h {
  font-size: 1.15em;
}

.ys-ec-m--cart .ys-ec-line {
  grid-template-columns: 3.6em minmax(0, 1fr);
}

.ys-ec-m--done {
  justify-items: center;
  padding-top: 2.2em;
  text-align: center;
}

.ys-ec-m--done small {
  color: #8a8f98;
  font-family: var(--ec-mono);
}

.ys-ec-m__track {
  display: grid;
  gap: 0.75em;
  justify-self: stretch;
  margin-top: 0.6em;
  padding: 0.9em;
  border-radius: 0.6em;
  background: var(--ec-soft);
  text-align: start;
}

.ys-ec-m__track i {
  position: relative;
  padding-inline-start: 1.6em;
  color: #9aa1ab;
  font-weight: 600;
}

.ys-ec-m__track i::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #c9ced6;
}

.ys-ec-m__track .is-done,
.ys-ec-m__track .is-on {
  color: #15181d;
}

.ys-ec-m__track .is-done::before {
  background: var(--ec-ok);
  box-shadow: none;
}

.ys-ec-m__track .is-on::before {
  background: var(--ec-orange);
  box-shadow: inset 0 0 0 0.2em #fff, 0 0 0 1.5px var(--ec-orange);
}

/* Cursor + click ring (live only) */
.ys-ec-cur {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  width: 1.15rem;
  height: 1.55rem;
  margin: -0.15rem 0 0 -0.2rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--cx, 60cqw), var(--cy, 82cqh));
  transition: transform 0.7s cubic-bezier(0.45, 0.05, 0.25, 1), opacity 0.3s ease;
}

.ys-ec-cur svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #fff;
  stroke: #0b1626;
  stroke-width: 1.2;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 5px rgba(2, 9, 20, 0.35));
}

.ys-ec-cur::after {
  content: "";
  position: absolute;
  left: -0.55rem;
  top: -0.5rem;
  width: 1.3rem;
  height: 1.3rem;
  border: 2px solid var(--ec-orange);
  border-radius: 50%;
  opacity: 0;
}

.ys-ec-shop.is-live:not([data-step="done"]):not([data-step="reset"]) .ys-ec-cur {
  opacity: 1;
}

.ys-ec-shop.is-live:is([data-step="pick"], [data-step="pdp"], [data-step="opt"], [data-step="add"], [data-step="cart"], [data-step="pay"])[data-tap="a"] .ys-ec-cur::after {
  animation: ec-tap-a 0.5s ease 0.72s both;
}

.ys-ec-shop.is-live:is([data-step="pick"], [data-step="pdp"], [data-step="opt"], [data-step="add"], [data-step="cart"], [data-step="pay"])[data-tap="b"] .ys-ec-cur::after {
  animation: ec-tap-b 0.5s ease 0.72s both;
}

.ys-ec-shop.is-live[data-step="pick"] .ys-ec-cur::after {
  animation-delay: 0.3s;
}

@keyframes ec-tap-a {
  0% { opacity: 0.9; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(1.5); }
}

@keyframes ec-tap-b {
  0% { opacity: 0.9; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* Caption */
.ys-ec-cap {
  position: absolute;
  left: 0.15rem;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 74%;
  height: 7%;
  overflow: hidden;
  color: rgba(244, 247, 251, 0.55);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-cap i {
  flex: 0 0 auto;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--ec-orange);
}

/* Narrow visual (768 two-column hero, phones): browser only */
@container ecshop (max-width: 29.99rem) {
  .ys-ec-win {
    width: 100%;
  }

  .ys-ec-phone {
    display: none;
  }

  .ys-ec-hdr {
    gap: 1.1em;
    padding: 0 4%;
  }

  .ys-ec-nav {
    gap: 0.95em;
  }

  .ys-ec-nav .is-x,
  .ys-ec-chips .is-x,
  .ys-ec-radio.is-x {
    display: none;
  }

  .ys-ec-body {
    margin: 0.9em 4% 0;
  }

  .ys-ec-mini {
    right: 4%;
  }

  .ys-ec-cap {
    max-width: 100%;
  }

  .ys-ec-v--pdp {
    gap: 1.1em;
  }

  .ys-ec-gal {
    grid-template-columns: minmax(0, 1fr);
  }

  .ys-ec-thumbs {
    display: none;
  }

  .ys-ec-demo {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* Article — sections                                                  */
/* ------------------------------------------------------------------ */

.ys-ec-article {
  container: ecart / inline-size;
}

.ys-ec-sec + .ys-ec-sec {
  margin-block-start: 2.1rem;
  padding-block-start: 2.1rem;
  border-block-start: 1px solid var(--ec-line);
}

.ys-ec-article.is-sectioned h2 {
  margin-block: 0 0.9rem;
}

.ys-ec-article.is-sectioned .ys-ec-sec > p:last-child {
  margin-block-end: 0;
}

.ys-ec-sec--intro > p:first-of-type {
  color: #2c3c53;
  font-size: 1.08rem;
}

/* Check lists (why, deliverables, audience) */
.ys-ec-sec--why > ul,
.ys-ec-sec--deliver > ul,
.ys-ec-sec--audience > ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.4rem;
  padding: 0;
  list-style: none;
}

.ys-ec-sec--why > ul > li,
.ys-ec-sec--deliver > ul > li,
.ys-ec-sec--audience > ul > li {
  position: relative;
  padding-inline-start: 1.85rem;
  line-height: 1.6;
}

.ys-ec-sec--why > ul > li::before,
.ys-ec-sec--deliver > ul > li::before,
.ys-ec-sec--audience > ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(28, 140, 99, 0.1);
}

.ys-ec-sec--why > ul > li::after,
.ys-ec-sec--deliver > ul > li::after,
.ys-ec-sec--audience > ul > li::after {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.47rem;
  width: 0.34rem;
  height: 0.58rem;
  border: solid var(--ec-ok);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ys-ec-sec--audience > ul > li::before {
  background: rgba(230, 122, 46, 0.12);
}

.ys-ec-sec--audience > ul > li::after {
  border-color: var(--ec-orange);
}

/* Scope: service chips + closing note */
.ys-ec-sec--scope > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-block: 1.1rem 1.2rem;
  padding: 0;
  list-style: none;
}

.ys-ec-sec--scope > ul > li {
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--ec-line);
  border-radius: 0.55rem;
  background: #fff;
  color: #33445c;
  font-size: 0.9rem;
  line-height: 1.45;
}

.ys-ec-sec--scope > ul > li::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-inline-end: 0.55rem;
  border-radius: 50%;
  background: var(--ec-orange);
  vertical-align: 0.12rem;
}

.ys-ec-sec--scope > ul + p,
.ys-ec-sec--seo > ul + p,
.ys-ec-sec--deliver > ul + p {
  padding: 0.95rem 1.1rem;
  border-inline-start: 3px solid var(--ec-orange);
  border-radius: 0 0.7rem 0.7rem 0;
  background: var(--ec-soft);
  color: #3c4c63;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Technical SEO: compact checklist panel */
.ys-ec-sec--seo > ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-block: 1.2rem 1.3rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--ec-line);
  border-radius: 0.9rem;
  background: #fff;
  list-style: none;
}

.ys-ec-sec--seo > ul > li {
  position: relative;
  padding: 0.8rem 0.95rem 0.8rem 2.1rem;
  border-inline-end: 1px solid var(--ec-line);
  border-block-end: 1px solid var(--ec-line);
  color: #33445c;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ys-ec-sec--seo > ul > li:nth-child(3n) {
  border-inline-end: 0;
}

.ys-ec-sec--seo > ul > li:nth-last-child(-n + 3) {
  border-block-end: 0;
}

.ys-ec-sec--seo > ul > li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.25rem;
  width: 0.5rem;
  height: 0.5rem;
  border: 1.5px solid var(--ec-orange);
  border-radius: 0.15rem;
}

/* Process: vertical rail on the h3 steps */
.ys-ec-sec--process > h3 {
  position: relative;
  margin-block: 1.4rem 0.35rem;
  padding-inline-start: 2.2rem;
}

.ys-ec-sec--process > h3::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.25em;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid var(--ec-orange);
  border-radius: 50%;
  background: #fff;
}

.ys-ec-sec--process > h3 + p {
  position: relative;
  margin: 0;
  padding-inline-start: 2.2rem;
}

.ys-ec-sec--process > h3 + p::before {
  content: "";
  position: absolute;
  left: 0.71rem;
  top: -0.2rem;
  bottom: -1.25rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(230, 122, 46, 0.5), rgba(16, 33, 58, 0.12));
}

.ys-ec-sec--process > h3 + p:last-child::before {
  display: none;
}

/* Audience: light accent panel */
.ys-ec-sec--audience {
  padding: 1.5rem 1.6rem !important;
  border: 1px solid var(--ec-line) !important;
  border-radius: 1rem;
  background:
    linear-gradient(90deg, var(--ec-orange) 0 3px, transparent 3px),
    #fff;
}

.ys-ec-sec--audience + .ys-ec-sec {
  border-block-start: 0;
}

/* FAQ: native details as an accordion */
.ys-ec-sec--faq details {
  margin: 0.55rem 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ys-ec-sec--faq summary {
  position: relative;
  padding: 0.95rem 3rem 0.95rem 1.15rem;
  list-style: none;
  line-height: 1.45;
}

.ys-ec-sec--faq summary::-webkit-details-marker {
  display: none;
}

.ys-ec-sec--faq summary::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.4rem;
  border: solid #7a889c;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin 0.2s ease;
}

.ys-ec-sec--faq summary:hover {
  color: #a94d16;
}

.ys-ec-sec--faq summary:focus-visible {
  outline: 2px solid var(--ec-orange);
  outline-offset: -2px;
}

.ys-ec-sec--faq details[open] {
  border-color: rgba(230, 122, 46, 0.35);
  box-shadow: 0 10px 26px rgba(7, 20, 38, 0.06);
}

.ys-ec-sec--faq details[open] summary {
  margin: 0;
}

.ys-ec-sec--faq details[open] summary::after {
  margin-top: -0.15rem;
  border-color: var(--ec-orange);
  transform: rotate(-135deg);
}

.ys-ec-sec--faq details > :not(summary) {
  margin: 0;
  padding: 0 1.15rem 1rem;
}

/* ------------------------------------------------------------------ */
/* Scenes — shared frame                                               */
/* ------------------------------------------------------------------ */

.ys-ec-scene {
  margin: 1.5rem 0 0;
  padding: 1.1rem;
  border: 1px solid var(--ec-line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 16px 36px rgba(7, 20, 38, 0.05);
  color: var(--ec-ink);
}

.ys-service-article .ys-ec-scene img {
  max-width: none;
  margin: 0;
  border-radius: 0;
}

.ys-ec-scene figcaption {
  margin-block-start: 0.85rem;
  color: #7a889c;
  font-size: 0.76rem;
  line-height: 1.5;
}

.ys-ec-scene__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-block-end: 0.9rem;
}

.ys-ec-scene-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ec-navy-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ys-ec-scene-tag i {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border-radius: 0.5rem;
  background: rgba(230, 122, 46, 0.1);
  color: var(--ec-orange);
  font-size: 0.85rem;
  letter-spacing: 0;
}

.ys-ec-scene__hint {
  color: #8693a6;
  font-size: 0.74rem;
  font-weight: 600;
}

.ys-ec-scene button {
  font: inherit;
  cursor: pointer;
}

.ys-ec-scene button:focus-visible {
  outline: 2px solid var(--ec-orange);
  outline-offset: 2px;
}

.ys-ec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.18em 0.6em;
  border-radius: 999px;
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.ys-ec-pill::before {
  content: "";
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: currentColor;
}

.ys-ec-pill.is-live { background: #e3f4ec; color: #157a55; }
.ys-ec-pill.is-draft { background: #eef0f4; color: #5b6676; }

.ys-ec-dot {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}

/* ------------------------------------------------------------------ */
/* Scene A — product & category management                             */
/* ------------------------------------------------------------------ */

.ys-ec-cat {
  container: eccat / inline-size;
}

/* One product / variant visible at a time */
.ys-ec-cat[data-prod="run"] [data-p]:not([data-p~="run"]),
.ys-ec-cat[data-prod="tote"] [data-p]:not([data-p~="tote"]),
.ys-ec-cat[data-prod="shirt"] [data-p]:not([data-p~="shirt"]),
.ys-ec-cat[data-prod="watch"] [data-p]:not([data-p~="watch"]),
.ys-ec-cat[data-pv="run-a"] [data-pv]:not([data-pv~="run-a"]),
.ys-ec-cat[data-pv="run-b"] [data-pv]:not([data-pv~="run-b"]),
.ys-ec-cat[data-pv="tote-a"] [data-pv]:not([data-pv~="tote-a"]),
.ys-ec-cat[data-pv="tote-b"] [data-pv]:not([data-pv~="tote-b"]),
.ys-ec-cat[data-pv="shirt-a"] [data-pv]:not([data-pv~="shirt-a"]),
.ys-ec-cat[data-pv="watch-a"] [data-pv]:not([data-pv~="watch-a"]) {
  display: none !important;
}

.ys-ec-cat [data-pv] {
  animation: ec-fade 0.35s ease both;
}

@keyframes ec-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ys-ec-adm {
  overflow: hidden;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.85rem;
  background: var(--ec-soft);
  font-size: 0.8rem;
  line-height: 1.35;
}

.ys-ec-adm__top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--ec-line-2);
  background: #fff;
}

.ys-ec-adm__brand {
  color: #59616e;
  font-weight: 600;
  white-space: nowrap;
}

.ys-ec-adm__brand b {
  color: #111;
  letter-spacing: 0.18em;
}

.ys-ec-adm__search {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.45rem;
  max-width: 18rem;
  min-width: 0;
  padding: 0.4rem 0.7rem;
  overflow: hidden;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.5rem;
  color: #8a8f98;
  white-space: nowrap;
}

.ys-ec-adm__new {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-inline-start: auto;
  padding: 0.42rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--ec-navy-2);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.ys-ec-adm__body {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr) minmax(14.5rem, 0.82fr);
  grid-template-areas:
    "nav list edit"
    "nav prev edit";
  grid-template-rows: auto minmax(0, 1fr);
}

.ys-ec-adm__nav {
  display: flex;
  flex-direction: column;
  grid-area: nav;
  gap: 0.35rem;
  padding: 0.7rem 0.45rem;
  border-inline-end: 1px solid var(--ec-line-2);
  background: #fff;
}

.ys-ec-adm__nav i {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 0.45rem;
  color: #8a93a2;
}

.ys-ec-adm__nav .is-on {
  background: rgba(230, 122, 46, 0.12);
  color: var(--ec-orange);
}

.ys-ec-adm__list {
  display: grid;
  grid-area: list;
  align-content: start;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.75rem;
}

.ys-ec-adm__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.25rem;
}

.ys-ec-adm__tabs i {
  padding: 0.22rem 0.55rem;
  border-radius: 0.4rem;
  color: #59616e;
  font-weight: 600;
  white-space: nowrap;
}

.ys-ec-adm__tabs b {
  color: #8a8f98;
  font-weight: 600;
}

.ys-ec-adm__tabs .is-on {
  background: #fff;
  color: #111;
  box-shadow: 0 1px 2px rgba(15, 20, 30, 0.08), inset 0 0 0 1px var(--ec-line-2);
}

.ys-ec-adm__th,
.ys-ec-prow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.6rem 2.6rem 4.6rem;
  align-items: center;
  gap: 0.6rem;
}

.ys-ec-adm__th {
  padding: 0 0.55rem;
  color: #8a8f98;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ys-ec-prow {
  grid-template-columns: 2.3rem minmax(0, 1fr) 4.6rem 2.6rem 4.6rem;
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  background: #fff;
  color: inherit;
  text-align: start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ys-ec-adm__th > span:first-child {
  padding-inline-start: 2.9rem;
}

.ys-ec-prow:hover {
  border-color: rgba(230, 122, 46, 0.35);
}

.ys-ec-prow[aria-pressed="true"] {
  border-color: rgba(230, 122, 46, 0.6);
  box-shadow: 0 6px 16px rgba(7, 20, 38, 0.07);
}

.ys-ec-prow .ys-ec-thumb {
  width: 2.3rem;
}

.ys-ec-prow__n {
  display: grid;
  min-width: 0;
}

.ys-ec-prow__n b {
  overflow: hidden;
  color: #15181d;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-prow__n small {
  overflow: hidden;
  color: #8a8f98;
  font-size: 0.72rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-prow .ys-ec-col-cat {
  color: #59616e;
}

.ys-ec-prow__s {
  font-family: var(--ec-mono);
  font-weight: 700;
}

.ys-ec-prow__s.is-low { color: #b8650a; }
.ys-ec-prow__s.is-out { color: #c2384f; }

/* Edit panel */
.ys-ec-edit {
  display: grid;
  grid-area: edit;
  align-content: start;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.85rem;
  border-inline-start: 1px solid var(--ec-line-2);
  background: #fff;
}

.ys-ec-edit__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ys-ec-edit__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0.6rem;
  background: var(--ec-paper);
}

.ys-ec-edit__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ys-ec-edit__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.ys-ec-field {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.45rem;
}

.ys-ec-field--wide {
  grid-column: 1 / -1;
}

.ys-ec-field small,
.ys-ec-vars > small,
.ys-ec-stock > small {
  color: #8a8f98;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ys-ec-field small em {
  margin-inline-start: 0.3rem;
  padding: 0 0.3rem;
  border-radius: 0.25rem;
  background: #fff3e8;
  color: #b0561a;
  letter-spacing: 0;
  text-transform: none;
}

.ys-ec-field b {
  overflow: hidden;
  color: #15181d;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-vars,
.ys-ec-stock {
  display: grid;
  gap: 0.35rem;
}

.ys-ec-vars__row {
  display: flex;
  gap: 0.4rem;
}

.ys-ec-vars button {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.42rem 0.6rem;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.5rem;
  background: #fff;
  color: #2a303a;
  font-weight: 650;
  white-space: nowrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ys-ec-vars button[aria-pressed="true"] {
  border-color: #15181d;
  box-shadow: inset 0 0 0 1px #15181d;
}

.ys-ec-vars button:disabled {
  border-style: dashed;
  color: #8a8f98;
  cursor: default;
}

.ys-ec-vars .ys-ec-dot {
  width: 0.95rem;
  height: 0.95rem;
}

.ys-ec-stock__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(2.6rem, 1fr));
  gap: 0.3rem;
}

.ys-ec-stock__grid i {
  display: grid;
  justify-items: center;
  padding: 0.3rem 0.2rem;
  border-radius: 0.4rem;
  background: var(--ec-soft);
  color: #15181d;
  font-family: var(--ec-mono);
  font-weight: 700;
}

.ys-ec-stock__grid i b {
  color: #8a8f98;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
}

.ys-ec-stock__grid .is-one {
  grid-column: 1 / -1;
  grid-template-columns: auto auto;
  justify-content: space-between;
  padding-inline: 0.6rem;
}

.ys-ec-stock__grid .is-low { background: #fff3e0; color: #a35f00; }
.ys-ec-stock__grid .is-out { background: #fdecef; color: #b42344; }

/* Store preview */
.ys-ec-prev {
  display: grid;
  grid-area: prev;
  align-content: start;
  gap: 0.4rem;
  padding: 0 0.75rem 0.75rem;
}

.ys-ec-prev > small {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #8a8f98;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ys-ec-prev__card {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 0.25rem 0.8rem;
  padding: 0.6rem;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.7rem;
  background: #fff;
}

.ys-ec-prev__ph {
  position: relative;
  display: block;
  grid-row: 1 / 4;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--ec-paper);
}

.ys-ec-prev__ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ys-ec-prev__draft {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.15rem;
  padding: 0.3rem;
  background: rgba(240, 242, 246, 0.82);
  color: #4a5464;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.ys-ec-prev__flag {
  position: absolute;
  left: 0.3rem;
  top: 0.3rem;
  padding: 0.1rem 0.35rem;
  border-radius: 0.3rem;
  background: #fff;
  color: #a35f00;
  font-size: 0.62rem;
  font-weight: 800;
}

.ys-ec-prev__card > b {
  overflow: hidden;
  color: #15181d;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-prev__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ys-ec-prev__row em {
  font-weight: 700;
}

.ys-ec-prev__row .ys-ec-sws {
  gap: 0.25rem;
}

.ys-ec-prev__btn {
  align-self: end;
  justify-self: start;
  padding: 0.3rem 0.75rem;
  border-radius: 0.4rem;
  background: #15181d;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
}

.ys-ec-cat[data-prod="watch"] .ys-ec-prev__btn {
  background: #d5d9df;
  color: #59616e;
}

.ys-ec-cat[data-prod="watch"] .ys-ec-prev__ph img {
  filter: grayscale(0.4);
}

@container eccat (max-width: 43.99rem) {
  .ys-ec-adm__body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "list"
      "edit";
  }

  .ys-ec-adm__nav,
  .ys-ec-prev {
    display: none;
  }

  .ys-ec-edit {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border-inline-start: 0;
    border-block-start: 1px solid var(--ec-line-2);
  }

  .ys-ec-edit__hd,
  .ys-ec-vars,
  .ys-ec-stock {
    grid-column: 1 / -1;
  }

  .ys-ec-edit__media {
    aspect-ratio: 1;
  }

  .ys-ec-edit__fields {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }

  .ys-ec-field--wide {
    grid-column: auto;
  }
}

@container eccat (max-width: 33.99rem) {
  .ys-ec-adm__search {
    display: none;
  }

  .ys-ec-col-cat {
    display: none;
  }

  .ys-ec-adm__th {
    grid-template-columns: minmax(0, 1fr) 2.2rem 4.4rem;
    gap: 0.5rem;
  }

  .ys-ec-adm__th > span:first-child {
    padding-inline-start: 2.8rem;
  }

  .ys-ec-prow {
    grid-template-columns: 2.3rem minmax(0, 1fr) 2.2rem 4.4rem;
    gap: 0.5rem;
  }

  .ys-ec-edit {
    gap: 0.6rem;
    padding: 0.7rem;
  }
}

/* ------------------------------------------------------------------ */
/* Scene B — order & delivery flow                                      */
/* ------------------------------------------------------------------ */

.ys-ec-ord {
  container: ecord / inline-size;
}

.ys-ec-ord__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  margin-block-end: 0.9rem;
}

.ys-ec-ord__steps button {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.3rem 0.55rem;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.7rem;
  background: #fff;
  color: #7a8597;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.ys-ec-ord__steps button i {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--ec-soft);
  font-size: 0.95rem;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.ys-ec-ord__steps button:hover {
  border-color: rgba(230, 122, 46, 0.4);
}

.ys-ec-ord__steps button.is-done {
  color: #2a3a50;
}

.ys-ec-ord__steps button.is-done i {
  background: rgba(28, 140, 99, 0.12);
  color: var(--ec-ok);
}

.ys-ec-ord__steps button[aria-pressed="true"] {
  border-color: var(--ec-orange);
  background: #fff8f2;
  color: var(--ec-navy-2);
}

.ys-ec-ord__steps button[aria-pressed="true"] i {
  background: var(--ec-orange);
  color: #fff;
}

.ys-ec-ord__app {
  display: grid;
  grid-template-columns: minmax(12.5rem, 0.72fr) minmax(0, 1.5fr);
  overflow: hidden;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.85rem;
  background: var(--ec-soft);
  font-size: 0.8rem;
  line-height: 1.4;
}

.ys-ec-ord__list {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  padding: 0.75rem;
  border-inline-end: 1px solid var(--ec-line-2);
}

.ys-ec-ord__lh {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.ys-ec-ord__lh small {
  color: #8a8f98;
}

.ys-ec-ord__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  background: #fff;
}

.ys-ec-ord__row.is-sel {
  border-color: rgba(230, 122, 46, 0.55);
  box-shadow: 0 6px 16px rgba(7, 20, 38, 0.06);
}

.ys-ec-ord__row > span:first-child {
  display: grid;
  min-width: 0;
}

.ys-ec-ord__row b {
  font-family: var(--ec-mono);
  font-size: 0.78rem;
}

.ys-ec-ord__row small {
  color: #8a8f98;
  font-size: 0.72rem;
}

.ys-ec-ord__rs {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
}

.ys-ec-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.ys-ec-tag[data-tag="alindi"] { background: #eef2f7; color: #475569; }
.ys-ec-tag[data-tag="odeme"] { background: #fff2dc; color: #a35f00; }
.ys-ec-tag[data-tag="hazir"] { background: #ecedfd; color: #4650b8; }
.ys-ec-tag[data-tag="kargo"] { background: #e8f0fb; color: #2462a8; }
.ys-ec-tag[data-tag="teslim"] { background: #def3e9; color: #0f6b52; }

.ys-ec-ord .ys-ec-tag:not(.is-static),
.ys-ec-ord .ys-ec-notify__msg,
.ys-ec-ord .ys-ec-ship__st {
  display: none;
}

.ys-ec-ord[data-st="alindi"] [data-tag="alindi"]:not(.is-static),
.ys-ec-ord[data-st="odeme"] [data-tag="odeme"]:not(.is-static),
.ys-ec-ord[data-st="hazir"] [data-tag="hazir"]:not(.is-static),
.ys-ec-ord[data-st="kargo"] [data-tag="kargo"]:not(.is-static),
.ys-ec-ord[data-st="teslim"] [data-tag="teslim"]:not(.is-static) {
  display: inline-flex;
  animation: ec-fade 0.35s ease both;
}

.ys-ec-ord__detail {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.85rem 0.95rem;
  background: #fff;
}

.ys-ec-ord__dh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.ys-ec-ord__dh > span {
  display: grid;
  min-width: 0;
}

.ys-ec-ord__dh b {
  font-size: 0.92rem;
}

.ys-ec-ord__dh small {
  color: #8a8f98;
}

.ys-ec-ord__dh .ys-ec-tag {
  font-size: 0.76rem;
}

.ys-ec-ord__item {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.6rem;
  background: var(--ec-soft);
}

.ys-ec-ord__item > span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.ys-ec-ord__item small {
  color: #8a8f98;
}

.ys-ec-ord__item em {
  font-weight: 700;
}

.ys-ec-ord__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.9rem;
}

.ys-ec-ord__lbl {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.15rem;
  color: #8a8f98;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ys-ec-ord__hist,
.ys-ec-ord__side {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.ys-ec-hist {
  position: relative;
  display: grid;
  padding-inline-start: 1.35rem;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.ys-ec-hist > i {
  position: absolute;
  left: 0;
  top: 0.22rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #c3cad4;
}

.ys-ec-hist:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 1.1rem;
  bottom: -0.5rem;
  width: 1px;
  background: var(--ec-line-2);
}

.ys-ec-hist b {
  font-size: 0.8rem;
}

.ys-ec-hist small {
  color: #8a8f98;
  font-size: 0.7rem;
}

/* history: done (≤ current) and current */
.ys-ec-ord:is([data-st="odeme"], [data-st="hazir"], [data-st="kargo"], [data-st="teslim"]) .ys-ec-hist[data-h="1"],
.ys-ec-ord:is([data-st="hazir"], [data-st="kargo"], [data-st="teslim"]) .ys-ec-hist[data-h="2"],
.ys-ec-ord:is([data-st="kargo"], [data-st="teslim"]) .ys-ec-hist[data-h="3"],
.ys-ec-ord[data-st="teslim"] .ys-ec-hist:is([data-h="4"], [data-h="5"]) {
  opacity: 1;
}

.ys-ec-ord:is([data-st="odeme"], [data-st="hazir"], [data-st="kargo"], [data-st="teslim"]) .ys-ec-hist[data-h="1"] > i,
.ys-ec-ord:is([data-st="hazir"], [data-st="kargo"], [data-st="teslim"]) .ys-ec-hist[data-h="2"] > i,
.ys-ec-ord:is([data-st="kargo"], [data-st="teslim"]) .ys-ec-hist[data-h="3"] > i,
.ys-ec-ord[data-st="teslim"] .ys-ec-hist:is([data-h="4"], [data-h="5"]) > i {
  background: var(--ec-ok);
  box-shadow: none;
}

.ys-ec-ord[data-st="alindi"] .ys-ec-hist[data-h="1"],
.ys-ec-ord[data-st="odeme"] .ys-ec-hist[data-h="2"],
.ys-ec-ord[data-st="hazir"] .ys-ec-hist[data-h="3"],
.ys-ec-ord[data-st="kargo"] .ys-ec-hist[data-h="4"] {
  opacity: 1;
}

.ys-ec-ord[data-st="alindi"] .ys-ec-hist[data-h="1"] > i,
.ys-ec-ord[data-st="odeme"] .ys-ec-hist[data-h="2"] > i,
.ys-ec-ord[data-st="hazir"] .ys-ec-hist[data-h="3"] > i,
.ys-ec-ord[data-st="kargo"] .ys-ec-hist[data-h="4"] > i {
  box-shadow: inset 0 0 0 0.22rem var(--ec-orange), 0 0 0 0.25rem rgba(230, 122, 46, 0.15);
}

.ys-ec-ord .ys-ec-ship,
.ys-ec-notify {
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.6rem;
  font-size: 0.78rem;
}

.ys-ec-ship__wait {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #8a8f98;
}

.ys-ec-ship__info {
  display: none;
  gap: 0.3rem;
}

.ys-ec-ship__info small {
  color: #59616e;
}

.ys-ec-ship__bar {
  display: block;
  height: 0.3rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--ec-line-2);
}

.ys-ec-ship__bar i {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2462a8, var(--ec-orange));
  transition: width 0.5s ease;
}

.ys-ec-ord:is([data-st="kargo"], [data-st="teslim"]) .ys-ec-ship__wait {
  display: none;
}

.ys-ec-ord:is([data-st="kargo"], [data-st="teslim"]) .ys-ec-ship__info {
  display: grid;
  animation: ec-fade 0.35s ease both;
}

.ys-ec-ord[data-st="teslim"] .ys-ec-ship__bar i {
  width: 100%;
  background: var(--ec-ok);
}

.ys-ec-notify {
  background: #fbfcfd;
}

.ys-ec-notify__msg {
  padding: 0.5rem 0.6rem;
  border-radius: 0.2rem 0.6rem 0.6rem 0.6rem;
  background: #fff;
  color: #2a3a50;
  box-shadow: inset 0 0 0 1px var(--ec-line-2);
}

.ys-ec-ord[data-st="alindi"] .ys-ec-notify__msg[data-tag="alindi"],
.ys-ec-ord[data-st="odeme"] .ys-ec-notify__msg[data-tag="odeme"],
.ys-ec-ord[data-st="hazir"] .ys-ec-notify__msg[data-tag="hazir"],
.ys-ec-ord[data-st="kargo"] .ys-ec-notify__msg[data-tag="kargo"],
.ys-ec-ord[data-st="teslim"] .ys-ec-notify__msg[data-tag="teslim"],
.ys-ec-ord[data-st="kargo"] .ys-ec-ship__st[data-tag="kargo"],
.ys-ec-ord[data-st="teslim"] .ys-ec-ship__st[data-tag="teslim"] {
  display: block;
  animation: ec-fade 0.35s ease both;
}

.ys-ec-notify__ch {
  color: #8a8f98;
  font-size: 0.7rem;
}

@container ecord (max-width: 41.99rem) {
  .ys-ec-ord__app {
    grid-template-columns: minmax(0, 1fr);
  }

  .ys-ec-ord__list {
    display: none;
  }
}

@container ecord (max-width: 33.99rem) {
  .ys-ec-ord__steps {
    gap: 0.25rem;
  }

  .ys-ec-ord__steps button {
    padding: 0.5rem 0.15rem;
    font-size: 0.66rem;
  }

  .ys-ec-ord__steps button i {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.82rem;
  }

  .ys-ec-ord__cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .ys-ec-ord__dh {
    flex-wrap: wrap;
  }
}

/* ------------------------------------------------------------------ */
/* Scene C — mobile shopping                                            */
/* ------------------------------------------------------------------ */

.ys-ec-mob {
  container: ecmob / inline-size;
}

.ys-ec-seg {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 0.65rem;
  background: var(--ec-soft);
  box-shadow: inset 0 0 0 1px var(--ec-line-2);
}

.ys-ec-seg button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #59616e;
  font-size: 0.8rem;
  font-weight: 700;
}

.ys-ec-seg button[aria-pressed="true"] {
  background: #fff;
  color: var(--ec-navy-2);
  box-shadow: 0 1px 3px rgba(7, 20, 38, 0.12);
}

.ys-ec-mob__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-block-end: 1rem;
}

.ys-ec-mob__tabs button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem 0.38rem 0.4rem;
  border: 1px solid var(--ec-line-2);
  border-radius: 999px;
  background: #fff;
  color: #4a5464;
  font-size: 0.8rem;
  font-weight: 650;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.ys-ec-mob__tabs b {
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--ec-soft);
  font-size: 0.68rem;
}

.ys-ec-mob__tabs button:hover {
  border-color: rgba(230, 122, 46, 0.4);
}

.ys-ec-mob__tabs button[aria-pressed="true"] {
  border-color: var(--ec-navy-2);
  background: var(--ec-navy-2);
  color: #fff;
}

.ys-ec-mob__tabs button[aria-pressed="true"] b {
  background: var(--ec-orange);
  color: #fff;
}

.ys-ec-mob__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.6rem;
  padding: 1.2rem 1.4rem;
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(230, 122, 46, 0.08), transparent 45%),
    var(--ec-soft);
}

/* Phone */
.ys-ec-mob__phone {
  position: relative;
  display: grid;
  grid-template-rows: 1.7rem 2.5rem minmax(0, 1fr) 2.7rem;
  width: 15.5rem;
  height: 31rem;
  overflow: hidden;
  border: 0.42rem solid #0d1a2c;
  border-radius: 2.1rem;
  background: #fff;
  box-shadow: 0 24px 48px rgba(7, 20, 38, 0.2);
  color: var(--ec-ink);
  font-size: 0.72rem;
  line-height: 1.35;
}

.ys-ec-mob__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.1rem;
  font-size: 0.66rem;
}

.ys-ec-mob__status span {
  display: inline-flex;
  gap: 0.25rem;
}

.ys-ec-mob__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.85rem;
  border-bottom: 1px solid var(--ec-line-2);
  font-size: 1rem;
}

.ys-ec-mob__bar .ys-ec-logo {
  font-size: 0.95rem;
}

.ys-ec-mob .ys-ec-badge,
.ys-ec-mob__desk .ys-ec-badge {
  transform: none;
}

.ys-ec-mob__screens {
  position: relative;
  min-height: 0;
}

.ys-ec-ms {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 0.7rem 0.75rem;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6%);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
}

.ys-ec-mob[data-scr="liste"] .ys-ec-ms--list,
.ys-ec-mob[data-scr="filtre"] .ys-ec-ms--list,
.ys-ec-mob[data-scr="detay"] .ys-ec-ms--pdp,
.ys-ec-mob[data-scr="sepet"] .ys-ec-ms--cart,
.ys-ec-mob[data-scr="ozet"] .ys-ec-ms--sum {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.ys-ec-ms__search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--ec-soft);
  color: #8a8f98;
}

.ys-ec-ms__chips {
  display: flex;
  gap: 0.3rem;
  overflow: hidden;
}

.ys-ec-ms__chips i {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--ec-line-2);
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.ys-ec-ms__chips .is-on {
  border-color: #15181d;
  background: #15181d;
  color: #fff;
}

.ys-ec-ms__tools {
  display: flex;
  justify-content: space-between;
  font-weight: 650;
}

.ys-ec-ms__tools span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ys-ec-ms__tools b {
  display: grid;
  width: 1.1rem;
  height: 1.1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--ec-orange);
  color: #fff;
  font-size: 0.6rem;
}

.ys-ec-ms__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 0.5rem;
}

.ys-ec-ms__grid > span {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.ys-ec-ms__grid .ys-ec-ph {
  aspect-ratio: 1;
  border-radius: 0.5rem;
}

.ys-ec-ms__grid .ys-ec-ph i {
  position: absolute;
  right: 0.35rem;
  top: 0.3rem;
  color: #4a5464;
}

.ys-ec-ms__grid b {
  overflow: hidden;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-ms__grid em {
  font-weight: 700;
}

/* Filter bottom sheet */
.ys-ec-ms--list::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 38, 0.38);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.ys-ec-ms__sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem 0.85rem;
  border-radius: 1rem 1rem 0 0;
  background: #fff;
  box-shadow: 0 -12px 30px rgba(7, 20, 38, 0.18);
  transform: translateY(102%);
  transition: transform 0.45s cubic-bezier(0.3, 0.8, 0.3, 1);
}

.ys-ec-mob[data-scr="filtre"] .ys-ec-ms--list::after {
  opacity: 1;
}

.ys-ec-mob[data-scr="filtre"] .ys-ec-ms__sheet {
  transform: none;
}

.ys-ec-ms__grab {
  justify-self: center;
  width: 2.2rem;
  height: 0.22rem;
  border-radius: 999px;
  background: #d5d9df;
}

.ys-ec-ms__sh {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.95em;
}

.ys-ec-ms__sh small {
  color: var(--ec-orange);
  font-weight: 700;
}

.ys-ec-ms__lbl {
  color: #8a8f98;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ys-ec-ms__range {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  color: #59616e;
}

.ys-ec-ms__range i {
  position: absolute;
  left: 0;
  right: 0;
  top: 0.25rem;
  height: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ec-line-2) 12%, #15181d 12% 78%, var(--ec-line-2) 78%);
}

.ys-ec-ms__range i::before,
.ys-ec-ms__range i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.75rem;
  height: 0.75rem;
  margin-top: -0.375rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px #15181d;
}

.ys-ec-ms__range i::before { left: calc(12% - 0.375rem); }
.ys-ec-ms__range i::after { left: calc(78% - 0.375rem); }

.ys-ec-ms .ys-ec-sizes i,
.ys-ec-dk .ys-ec-sizes i {
  height: 1.9rem;
  font-size: 0.68rem;
}

.ys-ec-mob .ys-ec-sizes .is-42 {
  border-color: #15181d;
  background: #15181d;
  color: #fff;
}

.ys-ec-ms .ys-ec-sws i,
.ys-ec-dk .ys-ec-sws i {
  width: 1.2rem;
  height: 1.2rem;
}

.ys-ec-ms .ys-ec-go,
.ys-ec-dk .ys-ec-go {
  height: 2.3rem;
  font-size: 0.74rem;
}

/* Mobile PDP */
.ys-ec-ms--pdp {
  gap: 0.4rem;
  padding-bottom: 3.6rem;
}

.ys-ec-ms__hero {
  aspect-ratio: 1.6;
  border-radius: 0.6rem;
}

.ys-ec-ms__dots {
  position: absolute;
  left: 50%;
  bottom: 0.45rem;
  display: flex;
  gap: 0.25rem;
  transform: translateX(-50%);
}

.ys-ec-ms__dots i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(21, 24, 29, 0.25);
}

.ys-ec-ms__dots .is-on {
  width: 0.9rem;
  border-radius: 999px;
  background: #15181d;
}

.ys-ec-ms__crumb {
  color: #8a8f98;
}

.ys-ec-ms__t {
  font-size: 1.02rem;
  line-height: 1.2;
}

.ys-ec-ms__price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.ys-ec-ms__price b {
  font-size: 1rem;
}

.ys-ec-ms__price em {
  padding: 0.05rem 0.4rem;
  border-radius: 0.3rem;
  background: #fff3e8;
  color: #b0561a;
  font-size: 0.62rem;
  font-weight: 700;
}

.ys-ec-ms__sticky {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.75rem;
  border-top: 1px solid var(--ec-line-2);
  background: #fff;
}

.ys-ec-ms__sticky > span:first-child {
  display: grid;
}

.ys-ec-ms__sticky small {
  color: #8a8f98;
  font-size: 0.6rem;
}

/* Mobile cart / summary */
.ys-ec-ms__h {
  font-size: 1rem;
}

.ys-ec-ms__h small {
  color: #8a8f98;
  font-size: 0.7rem;
  font-weight: 600;
}

.ys-ec-ms__line {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.55rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ec-line-2);
}

.ys-ec-ms__line > span:nth-child(2) {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.ys-ec-ms__line b {
  overflow: hidden;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-ms__line small {
  color: #8a8f98;
}

.ys-ec-ms__line em {
  font-weight: 700;
}

.ys-ec-qty {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.55rem;
  margin-top: 0.15rem;
  padding: 0.05rem 0.45rem;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.4rem;
  font-weight: 700;
}

.ys-ec-qty i {
  color: #8a8f98;
}

.ys-ec-ms__coupon {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  border: 1px dashed #c9ced6;
  border-radius: 0.5rem;
  color: #59616e;
  font-weight: 600;
}

.ys-ec-ms .ys-ec-row,
.ys-ec-dk .ys-ec-row {
  font-size: 0.72rem;
}

.ys-ec-ms .ys-ec-steps i,
.ys-ec-dk .ys-ec-steps i {
  font-size: 0.66rem;
}

.ys-ec-ms__card {
  display: grid;
  gap: 0.1rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.55rem;
}

.ys-ec-ms__card small {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #8a8f98;
}

.ys-ec-ms__card b {
  font-weight: 650;
}

.ys-ec-ms__fine {
  color: #8a8f98;
  font-size: 0.6rem;
  text-align: center;
}

.ys-ec-mob__tabbar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--ec-line-2);
  color: #9aa1ab;
  font-size: 0.95rem;
}

.ys-ec-mob__tabbar .is-on {
  color: #15181d;
}

/* Note */
.ys-ec-mob__note {
  display: grid;
  align-content: center;
  max-width: 21rem;
}

.ys-ec-mob__note > span {
  display: none;
  gap: 0.35rem;
  color: #4f6077;
  font-size: 0.92rem;
  line-height: 1.6;
}

.ys-ec-mob__note b {
  color: var(--ec-navy-2);
  font-size: 1.05rem;
}

.ys-ec-mob[data-scr="liste"] .ys-ec-mob__note [data-s="liste"],
.ys-ec-mob[data-scr="filtre"] .ys-ec-mob__note [data-s="filtre"],
.ys-ec-mob[data-scr="detay"] .ys-ec-mob__note [data-s="detay"],
.ys-ec-mob[data-scr="sepet"] .ys-ec-mob__note [data-s="sepet"],
.ys-ec-mob[data-scr="ozet"] .ys-ec-mob__note [data-s="ozet"] {
  display: grid;
  animation: ec-fade 0.35s ease both;
}

/* Desktop browser */
.ys-ec-mob__desk {
  display: none;
  container: ecdesk / inline-size;
}

.ys-ec-mob[data-dev="masaustu"] .ys-ec-mob__phone {
  display: none;
}

.ys-ec-mob[data-dev="masaustu"] .ys-ec-mob__stage {
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.ys-ec-mob[data-dev="masaustu"] .ys-ec-mob__desk {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--ec-line-2);
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 20px 44px rgba(7, 20, 38, 0.14);
  color: var(--ec-ink);
  animation: ec-fade 0.35s ease both;
}

.ys-ec-mob[data-dev="masaustu"] .ys-ec-mob__note {
  max-width: none;
}

.ys-ec-mob__desk > * {
  font-size: clamp(6.5px, 1.45cqw, 10.5px);
}

.ys-ec-mob__desk .ys-ec-chrome {
  height: 2.6em;
}

.ys-ec-mob__desk .ys-ec-url {
  margin-inline: auto;
}

.ys-ec-mob__desk .ys-ec-hdr {
  height: 3.6em;
  padding: 0 3%;
}

.ys-ec-dk {
  display: grid;
  grid-template-columns: 11em minmax(0, 1fr);
  gap: 1.6em;
  aspect-ratio: 16 / 8.2;
  padding: 1.2em 3%;
}

.ys-ec-dk__side {
  display: grid;
  align-content: start;
  gap: 0.45em;
  padding: 0.8em;
  border: 1px solid transparent;
  border-radius: 0.6em;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.ys-ec-dk__side > small {
  margin-top: 0.4em;
  color: #8a8f98;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ys-ec-dk__opt {
  display: flex;
  align-items: center;
  gap: 0.4em;
  color: #59616e;
}

.ys-ec-dk__opt.is-on {
  color: #15181d;
  font-weight: 700;
}

.ys-ec-dk .ys-ec-sizes i {
  height: 2.2em;
  font-size: 0.8em;
}

.ys-ec-dk .ys-ec-sws i {
  width: 1.5em;
  height: 1.5em;
}

.ys-ec-dk .ys-ec-ms__range {
  padding-top: 0.9em;
}

.ys-ec-mob[data-scr="filtre"] .ys-ec-dk__side {
  border-color: rgba(230, 122, 46, 0.55);
  background: #fff8f2;
  box-shadow: 0 8px 20px rgba(230, 122, 46, 0.12);
}

.ys-ec-dk__main {
  position: relative;
  min-height: 0;
}

.ys-ec-dk__v {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 0.9em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.ys-ec-mob[data-scr="liste"] .ys-ec-dk__v--list,
.ys-ec-mob[data-scr="filtre"] .ys-ec-dk__v--list,
.ys-ec-mob[data-scr="detay"] .ys-ec-dk__v--pdp,
.ys-ec-mob[data-scr="sepet"] .ys-ec-dk__v--cart,
.ys-ec-mob[data-scr="ozet"] .ys-ec-dk__v--sum {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.ys-ec-dk__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 1.1em;
}

.ys-ec-dk__bar small {
  color: #8a8f98;
  font-size: 0.75em;
}

.ys-ec-dk__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1em;
}

.ys-ec-dk__grid > span {
  display: grid;
  gap: 0.3em;
  min-width: 0;
}

.ys-ec-dk__grid .ys-ec-ph {
  aspect-ratio: 1;
  border-radius: 0.55em;
}

.ys-ec-dk__grid b {
  overflow: hidden;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-dk__grid em {
  font-weight: 700;
}

.ys-ec-dk__v--pdp {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.6em;
}

.ys-ec-dk__v--pdp > .ys-ec-ph {
  aspect-ratio: 1;
  max-height: 100%;
  border-radius: 0.7em;
}

.ys-ec-dk__info {
  display: grid;
  align-content: start;
  gap: 0.55em;
}

.ys-ec-dk__info > small {
  color: #8a8f98;
}

.ys-ec-dk__t {
  font-size: 1.5em;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ys-ec-dk .ys-ec-ms__price b {
  font-size: 1.25em;
}

.ys-ec-dk .ys-ec-ms__price em {
  font-size: 0.75em;
}

.ys-ec-dk .ys-ec-go {
  height: 2.9em;
  font-size: 0.95em;
}

.ys-ec-dk__v--cart,
.ys-ec-dk__v--sum {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.4em;
}

.ys-ec-dk__lines,
.ys-ec-dk__sum {
  display: grid;
  align-content: start;
  gap: 0.7em;
}

.ys-ec-dk__sum {
  padding: 1em;
  border-radius: 0.6em;
  background: var(--ec-soft);
}

.ys-ec-dk .ys-ec-ms__line {
  grid-template-columns: 4em minmax(0, 1fr) auto;
}

.ys-ec-dk .ys-ec-row {
  font-size: 0.9em;
}

.ys-ec-dk .ys-ec-steps i {
  font-size: 0.82em;
}

.ys-ec-dk .ys-ec-ms__fine {
  font-size: 0.75em;
}

@container ecmob (max-width: 33.99rem) {
  .ys-ec-mob__stage {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1rem;
    padding: 1rem 0.75rem;
  }

  .ys-ec-mob__note {
    max-width: none;
    text-align: center;
  }

  .ys-ec-mob__note > span {
    font-size: 0.86rem;
  }

  .ys-ec-mob__tabs {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .ys-ec-mob__phone {
    width: min(15.5rem, 100%);
    height: 30rem;
  }

  .ys-ec-mob[data-dev="masaustu"] .ys-ec-mob__desk {
    justify-self: stretch;
  }
}

@container ecdesk (max-width: 33.99rem) {
  .ys-ec-dk {
    grid-template-columns: minmax(0, 1fr);
    aspect-ratio: 16 / 11;
  }

  .ys-ec-dk__side {
    display: none;
  }

  .ys-ec-mob__desk .ys-ec-nav span:nth-child(n + 4) {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* Sidebar (compact, fits the viewport, never runs past the article)   */
/* ------------------------------------------------------------------ */

.ys-ec .ys-sd-summary {
  top: 6.5rem;
  padding: 1.05rem 1.1rem 1.1rem;
  border-radius: 1.1rem;
}

.ys-ec .ys-sd-summary__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-block-end: 0.6rem;
  padding-block-end: 0.75rem;
  border-block-end: 1px solid rgba(16, 33, 58, 0.08);
}

.ys-ec-summary__ico {
  display: grid;
  flex: 0 0 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(230, 122, 46, 0.3);
  border-radius: 0.75rem;
  background: rgba(230, 122, 46, 0.1);
  color: var(--ec-orange);
  font-size: 1.1rem;
}

.ys-ec .ys-sd-summary__list li {
  min-height: 2.05rem;
  font-size: 0.89rem;
}

.ys-ec .ys-sd-summary__related {
  margin-block-start: 0.5rem;
  padding-block-start: 0.75rem;
}

.ys-ec .ys-sd-summary__related-label {
  margin-bottom: 0.5rem !important;
}

.ys-ec .ys-sd-relink {
  padding: 5px 10px;
  border-color: transparent;
  background: var(--ec-soft);
  font-size: 0.86rem;
}

.ys-ec .ys-sd-relink + .ys-sd-relink {
  margin-block-start: 0.3rem;
}

.ys-ec .ys-sd-relink:hover {
  border-color: rgba(230, 122, 46, 0.3);
  background: #fff;
}

.ys-ec .ys-sd-relink__icon {
  flex-basis: 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.85rem;
}

.ys-ec .ys-sd-summary__cta,
.ys-ec .ys-sd-summary__cta:visited,
.ys-ec .ys-sd-summary__cta:focus {
  margin-block-start: 0.85rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--ec-orange);
  color: #fff;
  transition: background-color 0.2s ease;
}

.ys-ec .ys-sd-summary__cta:hover {
  background: var(--ec-navy-2);
  color: #fff;
}

.ys-ec .ys-sd-summary__cta i {
  color: inherit;
}

@media (max-height: 879.98px) {
  .ys-ec .ys-sd-summary {
    position: static;
  }
}

/* ------------------------------------------------------------------ */
/* Scope, process rail, deliverables, references CTA                   */
/* ------------------------------------------------------------------ */

.ys-ec .ys-ec-caps .ys-sd-capability {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.85rem;
}

.ys-ec .ys-ec-caps .ys-sd-capability > span {
  position: absolute;
  right: 1.3rem;
  top: 1.35rem;
  z-index: 1;
  font-family: var(--ec-mono);
  opacity: 0.8;
}

.ys-ec .ys-ec-caps__ico {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ec-orange);
  font-size: 1.1rem;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.ys-ec .ys-ec-caps .ys-sd-capability:hover .ys-ec-caps__ico {
  border-color: rgba(230, 122, 46, 0.5);
  background: rgba(230, 122, 46, 0.14);
}

.ys-ec .ys-ec-rail {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2.4rem 0;
}

.ys-ec .ys-ec-rail li {
  padding-inline-end: 1.2rem;
}

.ys-ec .ys-ec-rail li:not(:last-child)::before {
  left: 2.85rem;
  top: 1.3rem;
}

.ys-ec .ys-ec-rail .ys-ec-rail__dot {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-block-end: 0.9rem;
  place-items: center;
  border: 1px solid rgba(230, 122, 46, 0.4);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--ec-orange);
  font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(7, 20, 38, 0.06);
}

.ys-ec .ys-ec-rail .ys-ec-rail__no {
  position: absolute;
  left: 3.3rem;
  top: 0;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0 0.35rem;
  border: 0;
  border-radius: 0;
  background: #f3f6fa;
  color: var(--ec-orange);
  font-family: var(--ec-mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.ys-ec .ys-ec-rail h3 {
  min-height: 0;
  margin-block-end: 0.4rem;
}

.ys-ec .ys-ec-delivery {
  margin-block-start: clamp(2.25rem, 4vw, 3.25rem);
  padding-block-start: clamp(2rem, 3.5vw, 2.75rem);
}

.ys-ec .ys-ec-delivery .ys-sd-deliverables__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  border: 0;
}

.ys-ec .ys-ec-delivery .ys-sd-deliverables__grid article,
.ys-ec .ys-ec-delivery .ys-sd-deliverables__grid article:nth-child(odd) {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--ec-line);
  border-radius: 0.9rem;
  background: #fff;
}

.ys-ec .ys-ec-delivery .ys-sd-deliverables__grid article > span {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.65rem;
  border-color: rgba(28, 140, 99, 0.35);
  background: rgba(28, 140, 99, 0.08);
  color: var(--ec-ok);
  font-size: 0.95rem;
}

.ys-ec .ys-ec-refcta {
  grid-template-columns: auto minmax(0, 7fr) minmax(14rem, 3fr);
  border-color: rgba(230, 122, 46, 0.25);
  background:
    radial-gradient(circle at 100% 0%, rgba(230, 122, 46, 0.08), transparent 40%),
    #fff;
}

.ys-ec-refcta__ico {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  border-radius: 1rem;
  background: var(--ec-navy-2);
  color: var(--ec-orange);
  font-size: 1.4rem;
  box-shadow: 0 12px 26px rgba(7, 20, 38, 0.18);
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1199.98px) {
  .ys-ec .ys-sd-hero .ys-sd-breadcrumb {
    margin-block-end: 1.4rem;
  }

  .ys-ec .ys-sd-hero__lead {
    font-size: 1rem;
  }

  .ys-ec .ys-ec-delivery .ys-sd-deliverables__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ys-ec .ys-ec-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ys-ec .ys-ec-rail li:nth-child(3n)::before {
    display: none;
  }
}

@media (max-width: 1023.98px) {
  .ys-ec .ys-ec-refcta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ys-ec .ys-ec-refcta .ys-sd-btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .ys-ec .ys-sd-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.86fr);
  }
}

@media (max-width: 767.98px) {
  .ys-ec .ys-ec-shop {
    height: 21rem;
  }

  .ys-ec .ys-ec-rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .ys-ec .ys-ec-rail li {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 0 0.9rem;
    padding: 0 0 1.1rem;
  }

  .ys-ec .ys-ec-rail li:not(:last-child)::before,
  .ys-ec .ys-ec-rail li:nth-child(3n):not(:last-child)::before {
    display: block;
    left: 1.3rem;
    right: auto;
    top: 2.8rem;
    bottom: 0.2rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(230, 122, 46, 0.55), rgba(16, 33, 58, 0.12));
  }

  .ys-ec .ys-ec-rail .ys-ec-rail__dot {
    grid-row: 1 / span 3;
    margin: 0;
  }

  .ys-ec .ys-ec-rail .ys-ec-rail__no {
    position: static;
    padding: 0;
    background: none;
  }

  .ys-ec .ys-ec-rail h3,
  .ys-ec .ys-ec-rail p {
    grid-column: 2;
  }

  .ys-ec .ys-ec-delivery .ys-sd-deliverables__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem;
  }

  .ys-ec .ys-ec-delivery .ys-sd-deliverables__grid article,
  .ys-ec .ys-ec-delivery .ys-sd-deliverables__grid article:nth-child(odd) {
    gap: 0.8rem;
    padding: 0.85rem 0.95rem;
  }

  .ys-ec .ys-ec-caps .ys-sd-capability {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    align-items: start;
  }

  .ys-ec .ys-ec-refcta {
    grid-template-columns: minmax(0, 1fr);
  }

  .ys-ec-sec + .ys-ec-sec {
    margin-block-start: 1.6rem;
    padding-block-start: 1.7rem;
  }

  .ys-ec-scene {
    padding: 0.9rem;
  }

  .ys-ec-sec--audience {
    padding: 1.2rem 1.15rem !important;
  }
}

@media (max-width: 575.98px) {
  .ys-ec .ys-sd-hero {
    padding-block: 2.5rem 2.25rem;
  }

  .ys-ec .ys-sd-hero__grid {
    gap: 2rem;
  }

  .ys-ec .ys-ec-shop {
    height: 19rem;
  }

  .ys-ec .ys-sd-hero .ys-sd-breadcrumb {
    margin-block-end: 1rem;
  }

  .ys-ec .ys-sd-hero h1 {
    margin-block-end: 1rem;
  }

  .ys-ec .ys-sd-hero__lead {
    margin-block-end: 1.25rem;
  }
}

@container ecart (max-width: 37.99rem) {
  .ys-ec-sec--why > ul,
  .ys-ec-sec--deliver > ul,
  .ys-ec-sec--audience > ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .ys-ec-sec--seo > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ys-ec-sec--seo > ul > li:nth-child(3n) {
    border-inline-end: 1px solid var(--ec-line);
  }

  .ys-ec-sec--seo > ul > li:nth-child(2n) {
    border-inline-end: 0;
  }

  .ys-ec-sec--seo > ul > li:nth-last-child(-n + 3) {
    border-block-end: 1px solid var(--ec-line);
  }

  .ys-ec-sec--seo > ul > li:last-child {
    border-block-end: 0;
  }

  .ys-ec-sec--scope > ul > li {
    font-size: 0.86rem;
  }
}

@container ecart (max-width: 25rem) {
  .ys-ec-sec--seo > ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .ys-ec-sec--seo > ul > li {
    border-inline-end: 0 !important;
    border-block-end: 1px solid var(--ec-line) !important;
  }

  .ys-ec-sec--seo > ul > li:last-child {
    border-block-end: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ys-ec *,
  .ys-ec *::before,
  .ys-ec *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
  }
}
