/* ========== DMEX AI eBook Product Detail — File → Digital Book → Viewer ========== */

.eb-page {
  --eb-ink: #151B2E;
  --eb-muted: #5B647A;
  --eb-line: #E6E9F2;
  --eb-soft: #F7F8FC;
  --eb-cyan: #98FFFF;
  --eb-blue: #6471F6;
  background: #fff;
  color: var(--eb-ink);
  overflow-x: clip;
}

/* Typography scale — align body/lead with Home readability (scoped to eBook) */
.eb-page .v2-lead {
  font-size: 1.85rem;
  line-height: 1.65;
}

.eb-page .dmex-hero__sub {
  font-size: 1.85rem;
  line-height: 1.65;
}

.eb-page .eb-section--tight.v2-section {
  padding-top: 7.2rem;
  padding-bottom: 7.2rem;
}

.eb-section--soft {
  background: var(--eb-soft);
  border-top: 1px solid var(--eb-line);
}

.eb-section + .eb-section--soft,
.eb-section--soft + .eb-section {
  border-top: 1px solid var(--eb-line);
}

.eb-page [data-reveal] {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.eb-page [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ----- Hero ----- */
.eb-hero {
  position: relative;
  margin-top: -15.2rem;
  padding: 18rem 0 6.4rem;
  background:
    radial-gradient(ellipse 48% 42% at 82% 28%, rgba(100, 113, 246, 0.24), transparent 58%),
    radial-gradient(ellipse 36% 32% at 14% 72%, rgba(152, 255, 255, 0.1), transparent 52%),
    linear-gradient(165deg, #0F172A 0%, var(--pilot-navy) 48%, #121A31 100%);
  color: var(--pilot-text);
  overflow: hidden;
}

.eb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 2.8rem;
  align-items: center;
}

.eb-hero__copy .dmex-hero__title {
  color: #fff;
}

.eb-hero__stage {
  display: grid;
  gap: 1.2rem;
}

.eb-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.eb-flow__node {
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #E8ECF8;
}

.eb-flow__node.is-peak {
  background: rgba(152, 255, 255, 0.14);
  border-color: rgba(152, 255, 255, 0.4);
  color: var(--eb-cyan);
}

.eb-flow em {
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(152, 255, 255, 0.15), rgba(152, 255, 255, 0.55));
}

.eb-hero__viewer {
  margin: 0;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2.4rem 5.6rem rgba(0, 0, 0, 0.35);
  background: #121621;
}

.eb-hero__viewer img {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- Before / After (visual-first transformation) ----- */
.eb-ba {
  margin-top: 3.6rem;
  display: grid;
  grid-template-columns: 1fr auto 1.15fr;
  gap: 2rem;
  align-items: center;
}

.eb-ba__before,
.eb-ba__after {
  display: grid;
  gap: 1.4rem;
  align-content: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  border-radius: 0;
}

.eb-ba__visual {
  margin: 0;
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid var(--eb-line);
  background: #EEF0F5;
  box-shadow: 0 1.6rem 3.6rem rgba(15, 23, 42, 0.1);
}

.eb-ba__after .eb-ba__visual {
  background: #121621;
  border-color: rgba(25, 35, 63, 0.35);
  box-shadow: 0 2rem 4.8rem rgba(15, 23, 42, 0.16);
}

.eb-ba__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.eb-ba__meta {
  display: grid;
  gap: 0.7rem;
  padding: 0 0.4rem;
}

.eb-ba__meta p {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--eb-blue);
}

.eb-ba__after .eb-ba__meta p {
  color: var(--eb-blue);
}

.eb-ba__meta strong {
  font-size: 2rem;
  line-height: 1.35;
  word-break: keep-all;
}

.eb-ba__meta ul {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.eb-ba__meta li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 1.65rem;
  line-height: 1.5;
  color: var(--eb-muted);
  word-break: keep-all;
}

.eb-ba__meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--eb-blue);
}

.eb-ba__arrow {
  width: auto;
  min-width: 8.8rem;
  height: auto;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(100, 113, 246, 0.35);
  background: linear-gradient(135deg, rgba(100, 113, 246, 0.08), #fff);
  position: relative;
}

.eb-ba__arrow::after {
  display: none;
}

.eb-ba__arrow em {
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--eb-blue);
}

/* ----- Signature ----- */
.eb-sig {
  margin-top: 3.6rem;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.4rem;
}

.eb-sig__rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.eb-sig__rail li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.25rem;
  padding: 1.4rem 1.6rem;
  border-radius: 1.6rem;
  border: 1px solid var(--eb-line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.eb-sig__rail li.is-on {
  border-color: rgba(100, 113, 246, 0.45);
  background: linear-gradient(135deg, rgba(100, 113, 246, 0.08), #fff);
  box-shadow: 0 1.2rem 2.8rem rgba(25, 35, 63, 0.08);
}

.eb-sig__rail em {
  grid-row: 1 / span 2;
  align-self: center;
  font-style: normal;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--eb-blue);
}

.eb-sig__rail strong {
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.eb-sig__rail span {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 500;
  color: #4A5368;
}

.eb-sig__stage {
  min-height: 0;
  border-radius: 2.4rem;
  padding: 2.4rem;
  background:
    radial-gradient(ellipse 50% 40% at 80% 12%, rgba(100, 113, 246, 0.18), transparent 55%),
    linear-gradient(165deg, #0F172A, #19233F);
  color: #fff;
}

.eb-sig__panel {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.eb-sig__panel[hidden] {
  display: none !important;
}

.eb-sig__label {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--eb-cyan);
  letter-spacing: 0.04em;
}

.eb-sig__panel > strong {
  font-size: 2.2rem;
  line-height: 1.35;
  word-break: keep-all;
}

.eb-sig__visual {
  margin: 0;
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0B1220;
}

.eb-sig__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.eb-sig__note {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.55;
  color: rgba(232, 236, 248, 0.78);
  word-break: keep-all;
}

/* ----- Viewer Experience (REAL Product Proof) ----- */
.eb-viewer-real {
  margin-top: 3.2rem;
  display: grid;
  gap: 2rem;
}

.eb-viewer-real__shot {
  margin: 0;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid var(--eb-line);
  background: #EEF0F5;
  box-shadow: 0 2.4rem 5.6rem rgba(15, 23, 42, 0.14);
}

.eb-viewer-real__img {
  display: block;
  width: 100%;
  height: auto;
}

.eb-viewer-real__img.is-mobile {
  display: none;
}

.eb-viewer-real__caps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.eb-viewer-real__caps li {
  padding: 1.5rem 1.6rem;
  border-radius: 1.4rem;
  border: 1px solid var(--eb-line);
  background: #fff;
  display: grid;
  gap: 0.45rem;
}

.eb-viewer-real__caps em {
  font-style: normal;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--eb-blue);
}

.eb-viewer-real__caps span {
  font-size: 1.55rem;
  line-height: 1.45;
  color: var(--eb-ink);
  word-break: keep-all;
}

/* ----- Proof ----- */
.eb-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3.2rem;
  align-items: center;
}

.eb-proof__tools {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.eb-proof__tools li {
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--eb-line);
  background: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

.eb-proof__frame {
  margin: 0;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid var(--eb-line);
  background: #EEF0F5;
  box-shadow: 0 2rem 4.8rem rgba(15, 23, 42, 0.14);
}

.eb-proof__frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- Use Cases ----- */
.eb-use {
  margin-top: 3.6rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.2rem;
}

.eb-use__item {
  padding: 2.4rem;
  border-radius: 2rem;
  border: 1px solid var(--eb-line);
  background: #fff;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.eb-use__thumb {
  margin: 0 0 0.4rem;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--eb-line);
  aspect-ratio: 16 / 10;
  display: grid;
  align-content: end;
  gap: 0.4rem;
  padding: 1.6rem;
  box-sizing: border-box;
}

.eb-use__thumb em {
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.eb-use__thumb strong {
  font-size: 2rem;
  line-height: 1.25;
}

.eb-use__thumb span {
  font-size: 1.3rem;
  opacity: 0.78;
}

.eb-use__thumb--brochure {
  background:
    linear-gradient(160deg, rgba(15, 23, 42, 0.2), transparent 45%),
    linear-gradient(145deg, #19233F, #2A3A6A);
  color: #fff;
  border-color: transparent;
}

.eb-use__thumb--brochure em {
  color: var(--eb-cyan);
}

.eb-use__thumb--edu {
  background:
    radial-gradient(circle at 88% 18%, rgba(100, 113, 246, 0.2), transparent 40%),
    linear-gradient(180deg, #F4F6FF, #EEF1FB);
  color: var(--eb-ink);
}

.eb-use__thumb--edu em {
  color: var(--eb-blue);
}

.eb-use__thumb--report {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F7F8FC 55%, #EAEFF8 100%);
  color: var(--eb-ink);
  border-style: dashed;
}

.eb-use__thumb--report em {
  color: #3D4F7A;
}

.eb-use__item.is-focus {
  background: linear-gradient(160deg, #19233F, #243156);
  border-color: transparent;
  color: #fff;
  min-height: 0;
}

.eb-use__item.is-focus .eb-use__thumb {
  border-color: rgba(255, 255, 255, 0.12);
}

.eb-use__item > p {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--eb-blue);
}

.eb-use__item.is-focus > p {
  color: var(--eb-cyan);
}

.eb-use__item strong {
  font-size: 2rem;
  line-height: 1.4;
  word-break: keep-all;
}

.eb-use__item > span {
  font-size: 1.65rem;
  line-height: 1.5;
  color: var(--eb-muted);
  word-break: keep-all;
}

.eb-use__item.is-focus > span {
  color: rgba(232, 236, 248, 0.78);
}

/* ----- Cross / Biz ----- */
.eb-cross {
  max-width: 76rem;
}

.eb-cross__links {
  margin-top: 2.4rem;
}

.eb-biz {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.2rem;
  align-items: center;
}

.eb-biz__evidence {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.eb-biz__evidence li {
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--eb-line);
  background: var(--eb-soft);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--eb-ink);
}

.eb-biz__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.eb-biz__cta .btn-ghost-pilot.is-dark,
.eb-cross__links .btn-ghost-pilot.is-dark {
  color: var(--pilot-navy);
  border-color: rgba(25, 35, 63, 0.2);
}

.eb-biz__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.8rem;
  align-items: stretch;
  padding: 2.4rem 1.8rem;
  border-radius: 2.4rem;
  background:
    radial-gradient(ellipse 55% 60% at 82% 35%, rgba(100, 113, 246, 0.22), transparent 55%),
    linear-gradient(145deg, #0F172A, #19233F);
}

.eb-biz__obj {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.6rem 1.4rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #E8ECF8;
  min-height: 16rem;
}

.eb-biz__obj p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: rgba(232, 236, 248, 0.7);
}

.eb-biz__obj strong {
  font-size: 1.7rem;
  line-height: 1.3;
}

.eb-biz__obj span {
  display: inline-block;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.2rem;
  font-weight: 700;
}

.eb-biz__obj.is-mid {
  border-color: rgba(100, 113, 246, 0.45);
  background: rgba(100, 113, 246, 0.14);
}

.eb-biz__obj.is-peak {
  border-color: rgba(152, 255, 255, 0.45);
  background: rgba(152, 255, 255, 0.12);
  box-shadow: 0 1.2rem 2.8rem rgba(0, 0, 0, 0.18);
}

.eb-biz__obj.is-peak p,
.eb-biz__obj.is-peak strong {
  color: var(--eb-cyan);
}

.eb-biz__obj--viewer {
  gap: 0.7rem;
}

.eb-biz__dest {
  margin: 0.2rem 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #EEF0F5;
}

.eb-biz__dest img {
  display: block;
  width: 100%;
  height: auto;
}

.eb-biz__arrow {
  width: 1.8rem;
  height: 1px;
  align-self: center;
  background: linear-gradient(90deg, rgba(152, 255, 255, 0.15), rgba(152, 255, 255, 0.7));
}

/* ----- Family ----- */
.eb-family {
  list-style: none;
  margin: 3.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.eb-family li {
  padding: 2.2rem;
  border-radius: 1.8rem;
  border: 1px solid var(--eb-line);
  background: #fff;
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.eb-family p {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--eb-blue);
}

.eb-family strong {
  font-size: 1.75rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--eb-ink);
  word-break: keep-all;
}

.eb-family a {
  margin-top: 0.4rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--pilot-navy);
  text-decoration: none;
}

.eb-family a:hover {
  color: var(--eb-blue);
}

.eb-family__soon {
  margin-top: 0.4rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--eb-muted);
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .eb-hero__grid,
  .eb-sig,
  .eb-proof,
  .eb-biz {
    grid-template-columns: 1fr;
  }

  .eb-ba {
    grid-template-columns: 1fr;
  }

  .eb-ba__arrow {
    width: auto;
    min-width: 0;
    height: auto;
    justify-self: center;
    background: linear-gradient(135deg, rgba(100, 113, 246, 0.08), #fff);
  }

  .eb-ba__arrow::after {
    display: none;
  }

  .eb-viewer-proof__frame {
    padding: 3.2rem 1.2rem 3.6rem;
  }

  .eb-viewer-real__caps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eb-biz__flow {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .eb-biz__arrow {
    width: 1px;
    height: 1.8rem;
    justify-self: center;
    background: linear-gradient(180deg, rgba(152, 255, 255, 0.15), rgba(152, 255, 255, 0.7));
  }

  .eb-biz__obj {
    min-height: 0;
  }

  .eb-use {
    grid-template-columns: 1fr;
  }

  .eb-use__item.is-focus {
    min-height: 0;
  }

  .eb-family {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .eb-hero {
    margin-top: -7.2rem;
    padding: 10.8rem 0 4.4rem;
  }

  .eb-page .eb-section--tight.v2-section {
    padding-top: 4.4rem;
    padding-bottom: 4.4rem;
  }

  #signature.eb-section--tight.v2-section,
  #viewer.eb-section--tight.v2-section,
  #usecases.eb-section--tight.v2-section,
  #biz-cta.eb-section--tight.v2-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .eb-page .v2-lead,
  .eb-page .dmex-hero__sub {
    font-size: 1.6rem;
  }

  .eb-hero__viewer {
    border-radius: 1.4rem;
  }

  .eb-ba__meta strong {
    font-size: 1.85rem;
  }

  .eb-ba__meta li {
    font-size: 1.5rem;
  }

  .eb-sig__stage {
    min-height: 0;
    padding: 1.4rem;
  }

  .eb-sig__visual {
    border-radius: 1.1rem;
  }

  .eb-sig__visual img {
    max-height: 22rem;
    width: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .eb-sig__rail {
    gap: 0.6rem;
  }

  .eb-sig__rail li {
    padding: 1.1rem 1.3rem;
  }

  .eb-sig__rail span {
    font-size: 1.45rem;
  }

  .eb-sig__panel {
    gap: 0.9rem;
  }

  .eb-sig__panel > strong {
    font-size: 1.85rem;
  }

  .eb-sig__note {
    font-size: 1.45rem;
  }

  .eb-viewer-proof__frame {
    padding: 0;
  }

  .eb-viewer-proof__pin {
    display: none;
  }

  .eb-viewer-proof__img.is-desktop {
    display: none;
  }

  .eb-viewer-proof__img.is-mobile {
    display: block;
  }

  .eb-viewer-proof__shot {
    border-radius: 1.4rem;
  }

  .eb-viewer-real__img.is-desktop {
    display: none;
  }

  .eb-viewer-real__img.is-mobile {
    display: block;
  }

  .eb-viewer-real__shot {
    border-radius: 1.4rem;
  }

  .eb-viewer-real__caps {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .eb-viewer-real__caps li {
    padding: 1.2rem 1.3rem;
  }

  .eb-viewer-real__caps span {
    font-size: 1.4rem;
  }

  .eb-use {
    gap: 1rem;
  }

  .eb-use__item {
    padding: 1.8rem;
    gap: 0.8rem;
  }

  .eb-use__thumb {
    aspect-ratio: 16 / 9;
    padding: 1.3rem;
  }

  .eb-use__item strong {
    font-size: 1.85rem;
  }

  .eb-use__item > span {
    font-size: 1.5rem;
  }

  #proof.eb-section--tight.v2-section {
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
  }

  .eb-proof {
    gap: 2rem;
  }

  .eb-family {
    grid-template-columns: 1fr;
  }

  .eb-family strong {
    font-size: 1.65rem;
  }

  .eb-biz__flow {
    padding: 1.6rem 1.2rem;
    gap: 0.7rem;
  }

  .eb-biz__obj {
    padding: 1.2rem 1.2rem;
    gap: 0.4rem;
  }

  .eb-biz__obj strong {
    font-size: 1.55rem;
  }

  .eb-biz__evidence {
    margin-top: 1.4rem;
    gap: 0.55rem;
  }

  .eb-biz__evidence li {
    font-size: 1.3rem;
    padding: 0.6rem 1rem;
  }

  .eb-family {
    margin-top: 2.4rem;
    gap: 0.8rem;
  }

  .eb-family li {
    padding: 1.6rem;
    gap: 0.55rem;
  }

  .eb-use__item {
    padding: 1.6rem;
  }

  .eb-use__thumb {
    aspect-ratio: 2 / 1;
    padding: 1.1rem;
  }

  .eb-use__thumb strong {
    font-size: 1.7rem;
  }

  #with-chatbook.eb-section--tight.v2-section,
  #family.eb-section--tight.v2-section {
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
  }

  .eb-biz__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .eb-biz__cta .btn-base,
  .eb-biz__cta .btn-ghost-pilot {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eb-page [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

html:has(main.eb-page) .header-m {
  right: 0;
  width: 0;
  overflow: hidden;
  transform: none;
  transition: width 0.2s ease-in;
  pointer-events: none;
}

html:has(main.eb-page)[data-nav="open"] .header-m {
  width: min(28.8rem, 100vw);
  pointer-events: auto;
}

html:has(main.eb-page) .header-m-wrap {
  width: min(28.8rem, 100vw);
  min-width: min(28.8rem, 100vw);
  box-sizing: border-box;
}

html:has(main.eb-page) .header-m-scroll {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

html:has(main.eb-page) .header-m .header-language {
  transform: none;
  max-width: 100%;
}
