.lp-wrap {
  display: flex;
  gap: 48px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  align-items: flex-start;
  box-sizing: border-box;
  overflow: visible;
}

.lp-sidebar {
  width: 280px;
  min-width: 280px;
  flex-shrink: 0;
  align-self: flex-start;
  position: sticky;
  top: 100px;
  z-index: 10;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 24px 0;
  -webkit-overflow-scrolling: touch;
}

.lp-sidebar__title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--e-global-color-primary, #111);
  padding: 0 24px 16px;
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
}

.lp-sidebar ul {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
}

.lp-sidebar li {
  margin: 0;
}

.lp-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  font-size: 15px;
  color: #555;
  text-decoration: none !important;
  border-left: 3px solid transparent;
  transition: all 0.25s ease;
  line-height: 1.4;
}

.lp-sidebar a:hover,
.lp-sidebar a.active {
  color: var(--e-global-color-primary, #111);
}

.lp-sidebar a.active {
  border-left-color: var(--e-global-color-primary, #111);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.03), transparent);
  font-weight: 600;
}

.lp-sidebar a .lp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.lp-sidebar a.active .lp-dot {
  background: var(--e-global-color-primary, #111);
}

.lp-content {
  flex: 1;
  min-width: 0;
}

.lp-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 36px 40px;
  margin-bottom: 24px;
  scroll-margin-top: 100px;
  transition: box-shadow 0.3s ease;
}

.lp-section:hover {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.09);
}

.lp-section h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  color: #111;
  margin: 0 0 20px;
  line-height: 1.25;
}

.lp-section p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #444;
  margin: 0 0 12px;
}

.lp-section p:last-child {
  margin-bottom: 0;
}

.lp-section ul {
  padding: 0 0 0 20px;
  margin: 12px 0;
}

.lp-section ul li {
  font-size: 15.5px;
  line-height: 1.75;
  color: #444;
  padding: 4px 0;
  position: relative;
}

.lp-section ul li::marker {
  color: var(--e-global-color-primary, #111);
}

.lp-contact-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.lp-contact-card {
  flex: 1;
  min-width: 200px;
  padding: 20px 24px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #eee;
  text-decoration: none !important;
  transition: all 0.25s ease;
  display: block;
}

.lp-contact-card:hover {
  border-color: var(--e-global-color-primary, #111);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.lp-contact-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #999;
  margin: 0 0 6px;
}

.lp-contact-card__value {
  font-size: 17px;
  color: var(--e-global-color-primary, #111);
  font-weight: 600;
  margin: 0;
}

.lp-top-btn {
  display: none;
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--e-global-color-primary, #111);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: all 0.25s ease;
  z-index: 99;
}

.lp-top-btn.visible {
  display: flex;
}

.hx-auth {
  --hx-primary: var(--e-global-color-primary, #111);
  --hx-secondary: var(--e-global-color-secondary, #555);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px;
}

.hx-auth__shell {
  width: 100%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.1);
}

.hx-auth__hero {
  position: relative;
  padding: 44px 36px;
  background: linear-gradient(135deg, var(--hx-primary), var(--hx-secondary));
  color: #fff;
  overflow: hidden;
}

.hx-auth__hero:before {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  animation: hxFloat 6s ease-in-out infinite;
}

.hx-auth__hero h2 {
  position: relative;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.95;
  margin: 0 0 18px;
  color: #fff;
}

.hx-auth__hero p,
.hx-auth__hero li {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.hx-auth__hero ul {
  position: relative;
  margin: 28px 0 0;
  padding-left: 18px;
}

.hx-auth__card {
  padding: 34px;
}

.hx-auth__tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  margin-bottom: 26px;
}

.hx-auth__panel,
.hx-auth__hero-copy {
  display: none;
  animation: hxFadeUp 0.32s ease both;
}

.hx-auth__panel.is-active,
.hx-auth__hero-copy.is-active {
  display: block;
}

.hx-auth form .form-row {
  margin-bottom: 16px;
}

.hx-auth label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
  color: #333;
}

.hx-auth input.input-text,
.hx-auth input[type="text"],
.hx-auth input[type="email"],
.hx-auth input[type="password"],
.hx-auth select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 14px 15px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.hx-auth input:focus,
.hx-auth select:focus {
  border-color: var(--hx-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.hx-auth .woocommerce-button,
.hx-auth button[type="submit"] {
  width: 100%;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--hx-primary) !important;
  color: #fff !important;
  padding: 15px 22px !important;
  font-weight: 800 !important;
  transition: all 0.25s ease;
}

.hx-auth__terms {
  max-height: 220px;
  overflow-y: auto;
  padding: 16px;
  margin: 18px 0 14px;
  background: linear-gradient(180deg, #fff, #fafafa);
  border: 1px solid #eee;
  border-radius: 14px;
}

.hx-auth__terms h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--hx-primary);
}

.hx-auth__terms p,
.hx-auth__terms li,
.hx-auth__small {
  font-size: 13px;
  line-height: 1.65;
  color: #555;
}

.hx-auth__terms ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.hx-auth__agree {
  padding: 14px;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 12px;
  line-height: 1.6;
}

.hx-auth__agree label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  margin: 0;
}

.hx-auth-logged-in {
  max-width: 700px;
  margin: 40px auto;
  padding: 28px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
}

@keyframes hxFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hxFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-18px, -16px) scale(1.06);
  }
}

@media (min-width: 901px) {
  .lp-wrap {
    overflow: visible;
  }
  .lp-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    align-self: flex-start;
  }
  .elementor-widget-shortcode:has(.lp-wrap),
  .elementor-element:has(.lp-wrap) {
    overflow: visible !important;
  }
}

@media (max-width: 900px) {
  .lp-wrap {
    flex-direction: column;
    gap: 20px;
    padding: 20px 16px;
    overflow-x: hidden;
    touch-action: pan-y;
  }
  .lp-sidebar {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    position: relative;
    top: auto;
    z-index: 1;
    max-height: none;
    overflow: visible;
    border-radius: 12px;
    padding: 16px 0;
  }
  .lp-sidebar__title {
    display: none;
  }
  .lp-sidebar ul {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
    padding: 0;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-x;
  }
  .lp-sidebar ul::-webkit-scrollbar {
    display: none;
  }
  .lp-sidebar a {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 10px 16px;
    font-size: 14px;
    gap: 0;
  }
  .lp-sidebar a .lp-dot {
    display: none;
  }
  .lp-sidebar a.active {
    border-left-color: transparent;
    border-bottom-color: var(--e-global-color-primary, #111);
    background: transparent;
  }
  .lp-section {
    padding: 24px 20px;
    border-radius: 12px;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .lp-contact-grid {
    flex-direction: column;
  }
  .lp-contact-card {
    min-width: 0;
  }
  .hx-auth__shell {
    grid-template-columns: 1fr;
  }
  .hx-auth__hero {
    padding: 34px 26px;
  }
  .hx-auth__card {
    padding: 26px 18px;
  }
}
