#cartSlider {
  position: fixed;
  top: 0;
  right: -500px;
  width: 500px;
  height: 100%;
  background-color: #fff;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 10020;
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
}

#cartSliderContent {
  flex: 1;
  overflow-y: auto;
}

.site-drawer-error {
  width: min(390px, calc(100% - 2rem));
  margin: 5rem auto 2rem;
  padding: 1.25rem;
  color: #10263d;
  background: #fff;
  border: 1px solid #d7e3ec;
  border-left: 4px solid #00aeef;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(4, 31, 52, 0.1);
}

.site-drawer-error h2 {
  margin: 0 0 0.4rem;
  font: 800 1.1rem Manrope, system-ui, sans-serif;
}

.site-drawer-error p {
  margin: 0;
  line-height: 1.5;
}

/* === Close Button === */
.cart-slider-close {
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 10000;
}

/* One desktop treatment for the shared site drawer. */
@media (min-width: 901px) {
  .cart-slider-close {
    display: inline-grid;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex: 0 0 40px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(7, 31, 54, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 7px 18px rgba(7, 31, 54, 0.11);
    color: #10243a;
    font: 500 27px/0.82 Arial, sans-serif !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
      background-color 160ms ease,
      border-color 160ms ease,
      box-shadow 160ms ease,
      color 160ms ease,
      transform 160ms ease;
  }

  /* Mixed-deployment guard: older experimental CSS generated a second ×. */
  .cart-slider-close::before {
    display: none !important;
    content: none !important;
  }

  .cart-slider-close:hover {
    border-color: rgba(0, 120, 184, 0.36);
    background: #eaf6ff;
    box-shadow: 0 9px 22px rgba(7, 31, 54, 0.15);
    color: #006ea6;
  }

  .cart-slider-close:focus-visible {
    border-color: #0088c7;
    outline: 3px solid rgba(0, 174, 239, 0.28);
    outline-offset: 3px;
  }

  .cart-slider-close:active {
    transform: scale(0.96);
  }

  .cart-slider-close {
    top: 16px;
    right: 16px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .cart-slider-close {
    transition: none;
  }
}

/* Dark-surface variant for the mobile product-filter drawer. */
#cartSlider.filters-mode .cart-slider-close {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px rgba(3, 24, 40, 0.2);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

#cartSlider.filters-mode .cart-slider-close:hover,
#cartSlider.filters-mode .cart-slider-close:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

#cartSlider.filters-mode .cart-slider-close:active {
  transform: scale(0.96);
}


/* =======================================================
   HKX LOGIN SLIDER
   - Styles the login.php slider content
   - Uses existing JS hooks/classes
   - Keeps .login-success-box detection intact
   ======================================================= */


/* -------------------------------------------------------
   1) LOGIN PANEL WRAPPER
   ------------------------------------------------------- */

.login-container.hkx-login-panel,
.hkx-login-panel {
  min-height: 100%;
  padding: 5.2rem 3.8rem 3.5rem;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  background:
    linear-gradient(
      135deg,
      rgba(181, 18, 27, 0.045) 0%,
      rgba(255, 255, 255, 0) 34%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(64, 78, 94, 0.035) 0 1px,
      transparent 1px 42px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(64, 78, 94, 0.026) 0 1px,
      transparent 1px 42px
    ),
    #f7f8fa;
}


/* -------------------------------------------------------
   2) SMALL BRAND / EYEBROW ROW
   ------------------------------------------------------- */

.hkx-slider-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 1rem;
}

.hkx-slider-brand__mark {
  display: inline-block;

  width: 28px;
  height: 3px;

  border-radius: 999px;
  background: var(--pw-orange);
}

.hkx-slider-eyebrow {
  display: inline-flex;
  align-items: center;

  color: #111318;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* -------------------------------------------------------
   3) LOGIN HEADER COPY
   ------------------------------------------------------- */

.hkx-login-panel__header {
  margin-bottom: 2.2rem;
}

.hkx-login-panel__header h2 {
  margin: 0 0 0.85rem;

  color: #111318;
  font-size: clamp(2rem, 4.8vw, 3.45rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hkx-login-panel__header p {
  max-width: 360px;
  margin: 0;

  color: rgba(47, 54, 64, 0.78);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.58;
}


/* -------------------------------------------------------
   4) FORM STRUCTURE
   ------------------------------------------------------- */

.hkx-login-form {
  width: 100%;
}

.form-group,
.hkx-form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: 100%;
  max-width: 370px;
  margin: 0 0 1.15rem;
}

.form-group label,
.hkx-form-group label {
  margin-bottom: 8px;

  color: #111318;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.form-group input[type="text"],
.form-group input[type="password"],
.hkx-form-group input[type="text"],
.hkx-form-group input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;

  color: #111318;
  background: #fff;
  border: 1px solid rgba(64, 78, 94, 0.24);
  border-radius: 6px;
  box-sizing: border-box;

  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 18px rgba(20, 24, 32, 0.045);

  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.hkx-form-group input[type="text"]:focus,
.hkx-form-group input[type="password"]:focus {
  border-color: rgba(181, 18, 27, 0.68);
  outline: none;
  background: #fff;

  box-shadow:
    0 0 0 3px rgba(181, 18, 27, 0.1),
    0 10px 24px rgba(20, 24, 32, 0.075);
}


/* -------------------------------------------------------
   5) LOGIN BUTTON
   ------------------------------------------------------- */

.slider-btn-wrapper,
.hkx-slider-btn-wrapper {
  width: 100%;
  max-width: 370px;
  margin-top: 1.25rem;
  text-align: left;
}

.slider-btn,
.hkx-slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  width: 100%;
  min-height: 48px;
  padding: 13px 18px;
  margin: 0;

  color: #fff;
  background: var(--pw-orange);
  border: 0;
  border-radius: 6px;
  cursor: pointer;

  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.18),
    0 12px 26px rgba(181, 18, 27, 0.24);

  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    filter 150ms ease;
}

.slider-btn:hover,
.hkx-slider-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);

  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.18),
    0 16px 34px rgba(181, 18, 27, 0.3);
}

.slider-btn i,
.hkx-slider-btn i {
  font-size: 0.72rem;
  line-height: 1;
}


/* -------------------------------------------------------
   6) FORGOT PASSWORD LINK
   ------------------------------------------------------- */

.extra-options,
.hkx-extra-options {
  width: 100%;
  max-width: 370px;
  margin-top: 1.1rem;

  text-align: center;
}

.extra-options a,
.hkx-extra-options a {
  color: #111318;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;

  transition:
    color 150ms ease,
    opacity 150ms ease;
}

.extra-options a:hover,
.hkx-extra-options a:hover {
  color: var(--pw-orange);
  opacity: 0.95;
}


/* -------------------------------------------------------
   7) CREATE ACCOUNT SECTION
   ------------------------------------------------------- */

.create-account-container,
.hkx-create-account-container {
  width: 100%;
  max-width: 370px;
  margin-top: 2.1rem;

  text-align: center;
}

.separator-line,
.hkx-separator-line {
  width: 100%;
  height: 1px;
  margin: 0 auto 1.15rem;

  border: 0;
  background: rgba(64, 78, 94, 0.2);
}

.create-account-text,
.hkx-create-account-text {
  margin: 0;

  color: rgba(47, 54, 64, 0.78);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.35;
}

.create-account-text .register-link,
.hkx-create-account-text .register-link {
  position: relative;

  padding: 0 0 3px 5px;

  color: #111318;
  background: none;
  border: 0;
  cursor: pointer;

  font: inherit;
  font-weight: 950;
  text-decoration: none;

  transition: color 150ms ease;
}

.create-account-text .register-link::after,
.hkx-create-account-text .register-link::after {
  content: '';
  position: absolute;
  left: 5px;
  right: 0;
  bottom: 0;

  height: 2px;

  border-radius: 999px;
  background: var(--pw-orange);
  transform: scaleX(1);
  transform-origin: left;
}

.create-account-text .register-link:hover,
.hkx-create-account-text .register-link:hover {
  color: var(--pw-orange);
}

/* =======================================================
   HKX REGISTRATION SLIDER
   - Shares the login panel background
   - Keeps registration-specific form styles scoped
   ======================================================= */

.hkx-register-panel {
  padding-top: 4.7rem;
  padding-bottom: 4rem;
}

.hkx-register-panel__header {
  margin-bottom: 1.8rem;
}

.hkx-register-panel__header h2 {
  max-width: 390px;
  margin: 0 0 0.75rem;
  color: #111318;
  font-size: clamp(2rem, 4.4vw, 2.85rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.055em;
}

.hkx-register-panel__header p {
  max-width: 370px;
  margin: 0;
  color: rgba(47, 54, 64, 0.76);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
}

.hkx-register-form,
.hkx-register-form #accountDetails {
  width: 100%;
}

.hkx-register-section {
  width: 100%;
  margin-top: 1.8rem;
}

.hkx-register-section:first-child {
  margin-top: 0;
}

.hkx-register-section__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.hkx-register-section__heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(64, 78, 94, 0.2);
}

.hkx-register-section__heading h3 {
  margin: 0;
  color: #111318;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hkx-register-section__heading > span {
  order: 3;
  color: rgba(47, 54, 64, 0.58);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hkx-register-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 0.75rem;
}

.hkx-register-field {
  min-width: 0;
}

.hkx-register-field--full {
  grid-column: 1 / -1;
}

.hkx-register-field label {
  display: block;
  margin: 0 0 0.45rem;
  color: #111318;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.2;
}

.hkx-register-field label span {
  color: var(--pw-orange);
}

.hkx-register-field input[type='text'],
.hkx-register-field input[type='email'],
.hkx-register-field input[type='tel'],
.hkx-register-field input[type='password'] {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 12px 13px;
  box-sizing: border-box;
  color: #111318;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(64, 78, 94, 0.24);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 7px 16px rgba(20, 24, 32, 0.04);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.hkx-register-field input:focus {
  outline: none;
  border-color: rgba(181, 18, 27, 0.68);
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(181, 18, 27, 0.1),
    0 9px 22px rgba(20, 24, 32, 0.07);
}

.hkx-password-wrapper {
  position: relative;
}

.hkx-password-wrapper input[type='password'],
.hkx-password-wrapper input[type='text'] {
  padding-right: 44px;
}

.hkx-password-wrapper .toggle-password {
  position: absolute;
  top: 50%;
  right: 5px;
  display: inline-grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  color: rgba(17, 19, 24, 0.7);
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    color 150ms ease,
    background-color 150ms ease;
}

.hkx-password-wrapper .toggle-password:hover,
.hkx-password-wrapper .toggle-password:focus-visible {
  color: var(--pw-orange);
  background: rgba(181, 18, 27, 0.07);
  outline: none;
}

.hkx-register-warning {
  display: none;
  margin: 0.75rem 0 0;
  color: #a20f19;
  font-size: 0.76rem;
  font-weight: 800;
}

.hkx-register-security-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.5rem;
  padding: 11px 12px;
  color: #3a4653;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(64, 78, 94, 0.16);
  border-left: 3px solid var(--pw-orange);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.35;
}

.hkx-register-security-note i {
  flex: 0 0 auto;
  color: var(--pw-orange);
  font-size: 0.85rem;
}

.hkx-register-submit {
  max-width: none;
  margin-top: 1rem;
}

.hkx-register-submit .hkx-slider-btn[disabled] {
  cursor: wait;
  filter: grayscale(0.2);
  opacity: 0.72;
  transform: none;
}

@media (max-width: 520px) {
  .hkx-register-grid {
    grid-template-columns: 1fr;
  }

  .hkx-register-field--full {
    grid-column: auto;
  }

  .hkx-register-section__heading > span {
    display: none;
  }
}

/* -------------------------------------------------------
   8) SUCCESS SCREEN BACKGROUND
   ------------------------------------------------------- */

#cartSliderContent:has(.hkx-login-success) {
  min-height: 100%;
  padding: 1px 0;

  background:
    linear-gradient(
      135deg,
      rgba(181, 18, 27, 0.045) 0%,
      rgba(255, 255, 255, 0) 34%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(64, 78, 94, 0.035) 0 1px,
      transparent 1px 42px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(64, 78, 94, 0.026) 0 1px,
      transparent 1px 42px
    ),
    #f7f8fa;
}


/* -------------------------------------------------------
   9) LOGIN SUCCESS CARD
   ------------------------------------------------------- */

.login-success-box,
.hkx-login-success {
  width: min(370px, calc(100% - 3rem));
  margin: 5.5rem auto 0;
  padding: 2rem 1.55rem 1.65rem;

  text-align: center;

  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(181, 18, 27, 0.08), rgba(255, 255, 255, 0) 48%),
    rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(181, 18, 27, 0.13);

  box-shadow:
    inset 4px 0 0 var(--pw-orange),
    0 18px 42px rgba(20, 24, 32, 0.12);
}

.hkx-login-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;
  margin: 0 auto 1.15rem;

  color: #fff;
  background: var(--pw-orange);
  border-radius: 50%;

  font-size: 1.3rem;

  box-shadow:
    inset 0 -4px 0 rgba(0, 0, 0, 0.16),
    0 12px 24px rgba(181, 18, 27, 0.22);
}

.hkx-login-success__icon i {
  color: #fff;
  line-height: 1;
}

.login-success-msg {
  margin: 0.8rem 0 0.8rem;

  color: #111318;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hkx-login-success__text {
  margin: 0 auto 1.55rem;
  max-width: 300px;

  color: rgba(47, 54, 64, 0.76);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
}

.hkx-login-success__actions {
  display: grid;
  gap: 0.7rem;
}

.login-continue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  min-height: 42px;
  padding: 12px 18px;

  color: #fff;
  background: var(--pw-orange);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;

  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;

  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.16),
    0 12px 24px rgba(181, 18, 27, 0.22);

  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    filter 150ms ease;
}

.login-continue-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);

  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.16),
    0 16px 30px rgba(181, 18, 27, 0.28);
}

.login-continue-btn--secondary {
  color: #111318;
  background: #fff;
  border: 1px solid rgba(64, 78, 94, 0.18);
  box-shadow: 0 8px 18px rgba(20, 24, 32, 0.065);
}

/* =======================================================
   HKX ACCOUNT SLIDER
   - Styles /my_account/my_account.php slider content
   - Uses shared HKX slider brand/eyebrow classes
   - Keeps account navigation clean and card-based
   ======================================================= */


/* -------------------------------------------------------
   10) ACCOUNT PANEL WRAPPER
   ------------------------------------------------------- */

.hkx-account-panel {
  min-height: 100%;
  padding: 5.2rem 3.8rem 3.5rem;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  background:
    linear-gradient(
      135deg,
      rgba(181, 18, 27, 0.045) 0%,
      rgba(255, 255, 255, 0) 34%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(64, 78, 94, 0.035) 0 1px,
      transparent 1px 42px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(64, 78, 94, 0.026) 0 1px,
      transparent 1px 42px
    ),
    #f7f8fa;
}


/* -------------------------------------------------------
   11) ACCOUNT HEADER
   ------------------------------------------------------- */

.hkx-account-panel__header {
  margin-bottom: 2rem;
}

.hkx-account-panel__header h2 {
  margin: 0 0 0.65rem;

  color: #111318;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hkx-account-panel__header p {
  max-width: 360px;
  margin: 0;

  color: rgba(47, 54, 64, 0.76);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
  word-break: break-word;
}


/* -------------------------------------------------------
   12) ACCOUNT NAV LIST
   ------------------------------------------------------- */

.hkx-account-nav {
  display: grid;
  gap: 0.8rem;

  width: 100%;
  max-width: 390px;
}


/* -------------------------------------------------------
   13) ACCOUNT NAV CARDS
   ------------------------------------------------------- */

.hkx-account-nav__link {
  position: relative;

  min-height: 66px;
  padding: 0.72rem 0.78rem;

  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  gap: 0.85rem;
  align-items: center;

  color: #111318;
  text-decoration: none;

  background:
    linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  border: 1px solid rgba(64, 78, 94, 0.14);
  border-radius: 10px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px rgba(20, 24, 32, 0.06);

  overflow: hidden;

  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.hkx-account-nav__link::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;

  width: 4px;

  background: var(--pw-orange);
  opacity: 0;

  transition: opacity 150ms ease;
}

.hkx-account-nav__link:hover {
  transform: translateY(-2px);
  border-color: rgba(181, 18, 27, 0.24);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 30px rgba(20, 24, 32, 0.1);
}

.hkx-account-nav__link:hover::before {
  opacity: 1;
}


/* -------------------------------------------------------
   14) ACCOUNT NAV ICONS
   ------------------------------------------------------- */

.hkx-account-nav__icon {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  color: #fff;
  background: var(--pw-orange);
  border-radius: 50%;

  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.15),
    0 8px 16px rgba(181, 18, 27, 0.2);
}

.hkx-account-nav__icon i {
  color: #fff;
  font-size: 0.92rem;
  line-height: 1;
}


/* -------------------------------------------------------
   15) ACCOUNT NAV TEXT + ARROW
   ------------------------------------------------------- */

.hkx-account-nav__text {
  position: relative;
  z-index: 1;

  min-width: 0;

  color: #111318;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.1;
}

.hkx-account-nav__arrow {
  position: relative;
  z-index: 1;

  justify-self: end;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  color: rgba(47, 54, 64, 0.36);
  font-size: 0.68rem;

  transition:
    color 150ms ease,
    transform 150ms ease;
}

.hkx-account-nav__link:hover .hkx-account-nav__arrow {
  color: var(--pw-orange);
  transform: translateX(2px);
}


/* -------------------------------------------------------
   16) LOGOUT CARD VARIANT
   ------------------------------------------------------- */

.hkx-account-nav__link--logout {
  margin-top: 0.35rem;

  background:
    linear-gradient(135deg, rgba(181, 18, 27, 0.08), rgba(255, 255, 255, 0) 48%),
    rgba(255, 246, 246, 0.9);
  border-color: rgba(181, 18, 27, 0.14);
}

.hkx-account-nav__link--logout .hkx-account-nav__icon {
  background: #111318;

  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.18),
    0 8px 16px rgba(20, 24, 32, 0.16);
}

.hkx-account-nav__link--logout:hover .hkx-account-nav__text,
.hkx-account-nav__link--logout:hover .hkx-account-nav__arrow {
  color: var(--pw-orange);
}


/* -------------------------------------------------------
   17) ACCOUNT PANEL MOBILE
   ------------------------------------------------------- */

@media (max-width: 768px) {
  .hkx-account-panel {
    padding: 5rem 2rem 3rem;
  }

  .hkx-account-panel__header h2 {
    font-size: 2.45rem;
  }

  .hkx-account-nav {
    max-width: none;
  }
}


/* -------------------------------------------------------
   18) LEGACY CART BUTTON REFERENCE
   ------------------------------------------------------- */

/*
.cart-btn {
  width: 100px;
  flex: none;
  text-align: center;
  padding: 8px 8px !important;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  box-sizing: border-box;
}
*/


#slider-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* ⬅️ very dark, but not fully opaque */
  z-index: 10010;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

#slider-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  #cartSlider {
    width: 100vw;
    right: -100vw;
  }

  .login-container.hkx-login-panel,
  .hkx-login-panel {
    padding: 5rem 2rem 3rem;
  }

  .hkx-login-panel__header h2 {
    font-size: 2.45rem;
  }

  .form-group,
  .hkx-form-group,
  .slider-btn-wrapper,
  .hkx-slider-btn-wrapper,
  .extra-options,
  .hkx-extra-options,
  .create-account-container,
  .hkx-create-account-container {
    max-width: none;
  }

  .login-success-box,
  .hkx-login-success {
    width: min(380px, calc(100% - 2rem));
    margin-top: 5rem;
  }
}


/* reCAPTCHA — slider-only overrides (won't affect other pages/forms) */
#cartSlider .recaptcha-inline{
  display:block !important;
  margin:12px 0 18px !important;
  gap:0 !important;
  flex-wrap:nowrap !important;
  overflow:visible !important;
}

#cartSlider .recaptcha-wrap{
  transform:none !important;   /* undo nav.css scale */
  height:auto !important;      /* let native 78px show */
  overflow:visible !important; /* avoid clipping */
}

/* Ensure native checkbox size shows up */
#cartSlider .g-recaptcha{
  display:inline-block;
  min-width:304px;
  min-height:78px;
}

/* If the invisible badge ever appears inside slider, keep it sane */
#cartSlider .grecaptcha-badge{
  position:static !important;
  transform:none !important;
  box-shadow:none !important;
}
