/* Responsive fixes (layout only: no content or color changes).
   Loaded after style.css on every page. */

/* Tablet / small laptop: floating price tags were stretched because
   the base rule keeps "bottom" while the breakpoint sets "top". */
@media (max-width: 991px) {
  .tag-one,
  .tag-two {
    bottom: auto;
  }
}

/* Footer disclaimer: justified text creates uneven word gaps and odd
   indents on narrow screens. Left-align it at tablet and mobile widths. */
@media (max-width: 991px) {
  .footer-disclaimer p {
    text-align: left;
    text-indent: 0;
  }
}

/* Footer content: a later rule sets side padding to 0 at <=767px,
   which lets text touch the edge of the footer card. Restore it. */
@media (max-width: 767px) {
  .footer-main {
    padding: 45px 24px;
  }
}

/* Mobile/tablet menu: stack Log In and Open Live Account as full-width
   buttons. Log In uses the same style as the outline button ("Try Demo Account"). */
@media (max-width: 991px) {
  .hero-navbar .navbar-collapse > .d-flex {
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100%;
    margin-top: 20px !important;
  }

  .hero-navbar .login-link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 24px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 12px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
  }

  .hero-navbar .login-link:hover {
    color: #fff;
    background: #fff;
    color: #050b16;
  }

  .hero-navbar .btn-primary-custom {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    font-size: 16px;
    text-align: center;
  }
}
