:root {
  --eroxen-ink: #131a24;
  --eroxen-surface: #ffffff;
  --eroxen-canvas: #edf1f4;
  --eroxen-line: #d9e0e6;
  --eroxen-soft: #f5f7f9;
  --eroxen-accent: #d93a00;
  --eroxen-accent-dark: #a92d08;
  --eroxen-gold: #d8ae45;
}

body {
  background: var(--eroxen-canvas);
  color: var(--eroxen-ink);
}

.reddit-header {
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.18);
}

main {
  max-width: 880px;
  padding-top: 24px;
}

shreddit-post {
  display: block;
  overflow: hidden;
  background: var(--eroxen-surface);
  border: 1px solid var(--eroxen-line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(22, 34, 47, 0.1);
}

shreddit-post:not(*) [slot="title"],
.main-title {
  margin-inline: 28px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--eroxen-line);
  color: #111827;
  font-size: 32px;
  line-height: 1.16;
}

.post-content > .md {
  padding: 8px 28px 34px;
}

.post-content h3 {
  margin-top: 34px;
  padding: 15px 18px;
  border-left: 5px solid var(--eroxen-accent);
  background: var(--eroxen-soft);
  color: #182231;
  line-height: 1.25;
}

.post-content p {
  line-height: 1.65;
}

.post-content p.mark {
  margin-block: 22px;
  padding: 18px 20px;
  border: 1px solid #ead9ce;
  border-left: 5px solid var(--eroxen-accent);
  background: #fff8f3;
  border-radius: 4px;
}

.effects,
.graph,
.forfotoblock {
  margin-block: 24px;
  padding: 20px;
  border: 1px solid var(--eroxen-line);
  border-radius: 8px;
  background: var(--eroxen-soft);
}

.secret_box {
  box-sizing: border-box;
  width: 100%;
  margin-block: 28px;
  padding: 24px 28px;
  border: 1px solid #344154;
  border-radius: 8px;
  background: #182231;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.post-content .secret_box h3 {
  margin: 0 0 18px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #ffffff;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
}

.layers {
  margin-block: 28px;
  padding: 24px;
  border: 1px solid var(--eroxen-line);
  border-radius: 8px;
  background: var(--eroxen-soft);
}

.typicallist li {
  list-style-image: none;
}

.comeback_container {
  background: #ffffff !important;
}

.left_box {
  overflow: hidden;
  width: 48%;
  margin: 0 24px 18px 0;
  padding-top: 24px;
  outline: 0;
  border: 1px solid #303c4d;
  border-radius: 8px;
  background: #111927;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2);
}

.left_box img[src*="Eroxen"] {
  width: auto !important;
  height: 260px;
  max-width: 82% !important;
  margin: 0 auto 22px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.32));
}

.left_box p {
  margin: 0;
  padding: 16px 20px;
  border-top: 1px solid #344154;
  background: #1c2738;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.45;
}

#lead-form-wrap {
  max-width: 720px;
  margin: 42px auto !important;
  overflow: hidden;
  border: 1px solid #cdd6df !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 22px 58px rgba(22, 34, 47, 0.18) !important;
}

#lead-form-wrap > div:first-child {
  height: 7px !important;
  background: var(--eroxen-accent) !important;
}

#lead-form-wrap > div:nth-child(2) {
  padding: 32px !important;
}

#lead-form-wrap > div:nth-child(2) > div:nth-of-type(2) {
  min-height: 154px;
  padding: 18px 22px !important;
  gap: 24px !important;
  border: 1px solid #2f3b4d !important;
  border-radius: 8px !important;
  background: #111927 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

#lead-form-wrap > div:nth-child(2) > div:nth-of-type(2) img[src*="Eroxen"] {
  width: 102px !important;
  height: 124px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain !important;
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.35));
}

#lead-form-wrap > div:nth-child(2) > div:nth-of-type(2) > div > p:first-child {
  color: #ffffff !important;
  font-size: 24px !important;
}

#lead-form-wrap input[type="text"],
#lead-form-wrap input[type="tel"] {
  min-height: 52px;
  background: #f8fafb !important;
}

#lead-form-wrap input[type="text"] {
  border-color: #bac5cf !important;
}

#phone-wrap {
  min-height: 52px;
  border-color: #bac5cf !important;
  background: #f8fafb !important;
}

#lead-submit-btn {
  min-height: 56px;
  background: var(--eroxen-accent) !important;
  box-shadow: 0 10px 24px rgba(217, 58, 0, 0.26) !important;
  white-space: nowrap;
}

#lead-submit-btn:hover {
  background: var(--eroxen-accent-dark) !important;
}

.course-cta {
  box-sizing: border-box;
  display: inline-flex;
  width: min(100%, 560px);
  max-width: 100%;
  min-height: 56px;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: 16px 20px !important;
  background: #f5a623 !important;
  color: #151b25 !important;
  line-height: 1.2;
  white-space: nowrap;
}

.course-cta:hover {
  background: #e3940f !important;
}

.order-phone-error {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border-left: 4px solid #d92d20;
  border-radius: 4px;
  background: #fff1f0;
  color: #9f1c14;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

#phone-wrap.phone-has-error {
  border-color: #d92d20 !important;
  background: #fffafa !important;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}

body.order-validation-visible #floating-footer {
  transform: translateY(100%) !important;
  pointer-events: none;
}

body.comment-moderation-visible #floating-footer {
  transform: translateY(100%) !important;
  pointer-events: none;
}

.forfoto {
  width: auto;
  margin: 14px 0;
  padding: 18px 18px 44px;
  border: 1px solid var(--eroxen-line);
  border-top: 1px solid var(--eroxen-line);
  border-radius: 8px;
  background: #fbfcfd;
}

.send-message {
  margin: 24px 0 0;
  padding: 18px;
  border: 1px solid var(--eroxen-line);
  border-radius: 8px;
  background: var(--eroxen-soft);
}

.send-message .custom-form__top-field {
  display: block;
}

.send-message .custom-form__name {
  width: 100%;
  max-width: none;
  border-color: #bac5cf;
  background: #ffffff;
}

.send-message .textarea {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-color: #bac5cf;
  border-radius: 8px;
  background: #ffffff;
}

.send-message .custom-form__message {
  min-height: 46px;
  padding: 10px 4px;
}

.send-message .custom-form__btn {
  width: auto;
  min-width: 150px;
  height: 42px;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--eroxen-accent);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.send-message .custom-form__btn:hover {
  transform: none;
  background: var(--eroxen-accent-dark);
}

.comment-moderation-notice {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 20px;
  border: 1px solid #b9d9c5;
  border-left: 5px solid #24834f;
  border-radius: 6px;
  background: #f1faf4;
  color: #174c30;
}

.comment-moderation-notice strong {
  font-size: 16px;
}

.comment-moderation-notice span {
  font-size: 14px;
}

.lb-footer {
  box-sizing: border-box;
  width: 100%;
  min-height: 78px;
  margin: 18px 0 28px;
  padding: 16px 20px;
  gap: 14px;
  border: 1px solid var(--eroxen-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(22, 34, 47, 0.08);
}

.lb-footer__icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0;
  place-items: center;
  flex: 0 0 44px;
  border-radius: 50%;
  background: var(--eroxen-soft);
}

.lb-footer__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.lb-footer__text h5 {
  margin: 0 0 4px;
  color: var(--eroxen-ink);
  font-size: 14px;
  line-height: 1.3;
}

.lb-footer__text p {
  color: #687482;
}

.site-footer {
  margin-top: 18px;
  padding: 46px 20px 38px;
  border-top: 5px solid var(--eroxen-accent);
  background: #111927;
  color: #ffffff;
}

.site-footer__inner {
  width: min(100%, 880px);
  margin: 0 auto;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__brand img {
  width: 46px;
  height: 46px;
  padding: 6px;
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
}

.site-footer__brand strong,
.site-footer__brand span {
  display: block;
}

.site-footer__brand strong {
  font-size: 20px;
}

.site-footer__brand span {
  margin-top: 3px;
  color: #aeb9c8;
  font-size: 12px;
}

.site-footer__note {
  max-width: 650px;
  margin: 24px 0 20px;
  color: #c5ced9;
  font-size: 13px;
  line-height: 1.6;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 18px;
  border-top: 1px solid #344154;
}

.site-footer__links a {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__copyright {
  margin: 22px 0 0;
  color: #8794a5;
  font-size: 11px;
}

.order-notification {
  position: fixed;
  left: 18px;
  bottom: 104px;
  z-index: 100000;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  width: min(360px, calc(100vw - 36px));
  min-height: 78px;
  padding: 14px 16px;
  column-gap: 12px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d9e0e6;
  border-left: 5px solid var(--eroxen-accent);
  border-radius: 8px;
  background: #ffffff;
  color: var(--eroxen-ink);
  box-shadow: 0 18px 46px rgba(17, 25, 39, 0.22);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.order-notification::before {
  content: "✓";
  grid-row: 1 / 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #edf8f1;
  color: #24834f;
  font-size: 21px;
  font-weight: 800;
}

.order-notification strong,
.order-notification span {
  grid-column: 2;
  min-width: 0;
}

.order-notification strong {
  align-self: end;
  color: #182231;
  font-size: 14px;
  line-height: 1.25;
}

.order-notification span {
  align-self: start;
  margin-top: 3px;
  color: #687482;
  font-size: 12px;
  line-height: 1.35;
}

.order-notification.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-footer__swap {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 52px;
  overflow: hidden;
}

.floating-footer__product {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

@media (max-width: 780px) {
  body {
    background: #ffffff;
  }

  main {
    padding-top: 0;
  }

  shreddit-post {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  shreddit-post:not(*) [slot="title"],
  .main-title {
    margin-inline: 18px;
    font-size: 24px;
    line-height: 1.24;
  }

  .post-content > .md {
    padding: 4px 18px 28px;
  }

  .post-content h3 {
    margin-top: 28px;
    padding: 13px 15px;
  }

  .secret_box {
    padding: 20px 18px;
  }

  .post-content .secret_box h3 {
    margin-top: 0;
    padding: 0 0 12px;
    font-size: 20px;
  }

  .effects,
  .graph,
  .forfotoblock,
  .layers {
    padding: 15px;
  }

  .left_box {
    float: none;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 22px;
  }

  .left_box img[src*="Eroxen"] {
    height: 245px;
  }

  #lead-form-wrap > div:nth-child(2) {
    padding: 22px 16px !important;
  }

  #lead-form-wrap > div:nth-child(2) > div:nth-of-type(2) {
    min-height: 142px;
    padding: 14px 16px !important;
    gap: 16px !important;
  }

  #lead-form-wrap > div:nth-child(2) > div:nth-of-type(2) img[src*="Eroxen"] {
    width: 82px !important;
    height: 112px !important;
  }

  #lead-submit-btn {
    padding-inline: 12px !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
  }

  .course-cta {
    padding-inline: 12px !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
  }

  .forfoto {
    margin-inline: 0;
  }

  .send-message .textarea {
    grid-template-columns: 1fr;
  }

  .send-message .custom-form__btn {
    width: 100%;
    min-width: 0;
    font-size: 13px !important;
    background: var(--eroxen-accent) !important;
  }

  .lb-footer {
    margin: 14px 18px 24px;
    width: calc(100% - 36px);
  }

  .site-footer {
    margin-top: 0;
    padding: 38px 18px 108px;
  }

  .site-footer__links {
    flex-direction: column;
    gap: 12px;
  }

  .order-notification {
    right: 14px;
    bottom: 92px;
    left: 14px;
    width: auto;
  }

  .floating-footer__swap.showing-order .floating-footer__product {
    opacity: 0;
    transform: translateY(-10px);
  }

  #floating-footer .order-notification--footer {
    position: absolute;
    inset: 0;
    z-index: 2;
    grid-template-columns: 34px minmax(0, 1fr);
    width: 100%;
    min-height: 52px;
    padding: 3px 4px 3px 0;
    column-gap: 8px;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
    transform: translateY(10px);
  }

  #floating-footer .order-notification--footer::before {
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  #floating-footer .order-notification--footer strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #floating-footer .order-notification--footer span {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #floating-footer .order-notification--footer.is-visible {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
