/* HORIZON MATERIALS PRIVATE LIMITED — Grove Pass account (Neon Grove creative) */

@keyframes a36-locket-spin {
  to { transform: rotate(360deg); }
}
@keyframes a36-locket-glow {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

.page-account-locket.a36-account-creative {
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --lk-ink: #0B1320;
  --lk-panel: #121B2E;
  --lk-surface: #F4F0E8;
  --lk-muted: #5C6778;
  --lk-line: rgba(11, 19, 32, 0.1);
  --lk-mint: #4ECDC4;
  --lk-mango: #FF9F1C;
  --lk-berry: #E63946;
  background:
    radial-gradient(circle at 100% 0%, rgba(90, 24, 154, 0.05) 0%, transparent 40%),
    var(--lk-surface);
}

.page-account-locket .auth-page {
  padding: 0 0 3.75rem;
  background: transparent;
}

.page-account-locket .auth-page > .container {
  max-width: 1080px;
}

.page-account-locket .dash-panel {
  display: none;
}

.page-account-locket .dash-panel.is-active {
  display: block;
}

.a36-locket {
  padding: 0;
}

/* ── Hero ── */
.a36-locket-hero {
  position: relative;
  padding: 2.5rem 0 2.25rem;
  background: var(--lk-panel);
  color: #fff;
  overflow: hidden;
  margin-bottom: 0.5rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.a36-locket-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78, 205, 196, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 205, 196, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  pointer-events: none;
}

.a36-locket-hero-arch {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lk-mango), var(--lk-mint), var(--lk-berry));
  opacity: 0.85;
  pointer-events: none;
}

.a36-locket-watermark {
  position: absolute;
  top: 0.5rem;
  right: 4%;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: -0.04em;
  pointer-events: none;
}

.a36-locket-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.a36-locket-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lk-mint);
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.22);
}

.a36-locket-kicker::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lk-mango);
  box-shadow: 0 0 8px rgba(255, 159, 28, 0.45);
  animation: a36-locket-glow 2.5s ease-in-out infinite;
}

.a36-locket-hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.a36-locket-hero h1 em {
  font-style: normal;
  color: var(--lk-mango);
  position: relative;
}

.a36-locket-hero h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.32em;
  background: rgba(255, 159, 28, 0.22);
  z-index: -1;
  transform: skewX(-6deg);
}

.a36-locket-lede {
  margin: 0;
  max-width: 50ch;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.a36-locket-seal {
  position: relative;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.a36-locket-seal-ring {
  position: absolute;
  inset: -6px;
  border: 1px dashed rgba(78, 205, 196, 0.28);
  animation: a36-locket-spin 22s linear infinite;
  pointer-events: none;
}

.a36-locket-seal strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lk-mango);
  letter-spacing: 0.08em;
}

.a36-locket-seal small {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.a36-locket-loading {
  text-align: center;
  margin: 1.5rem 0;
  color: var(--lk-muted);
  font-size: 0.88rem;
}

/* ── Buttons ── */
.a36-locket-btn {
  display: inline-block;
  padding: 0.62rem 1.1rem;
  border: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s, background 0.2s, border-color 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.a36-locket-btn--primary {
  background: var(--lk-mango);
  color: var(--lk-ink);
}

.a36-locket-btn--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.a36-locket-btn--ghost {
  background: rgba(78, 205, 196, 0.12);
  color: var(--lk-ink);
  border: 1px solid rgba(78, 205, 196, 0.28);
}

.a36-locket-btn--ghost:hover {
  background: rgba(78, 205, 196, 0.2);
}

.a36-locket-btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.a36-locket-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.a36-locket-btn--sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.62rem;
}

/* ── Logged-in desk ── */
.a36-locket-desk {
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid var(--lk-line);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  box-shadow: 0 20px 50px rgba(11, 19, 32, 0.1);
}

.a36-locket-welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: var(--lk-ink);
  color: #fff;
  position: relative;
}

.a36-locket-welcome::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lk-mango), var(--lk-mint));
}

.a36-locket-welcome-tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lk-mint);
}

.a36-locket-welcome h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.a36-locket-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Ribbon nav — underline tabs */
.a36-locket-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0 1rem;
  background: var(--lk-surface);
  border-bottom: 2px solid var(--lk-line);
  overflow-x: auto;
  position: relative;
}

.a36-locket-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lk-muted);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
  transition: color 0.2s;
  position: relative;
}

.a36-locket-tab::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--lk-mango), var(--lk-mint));
  transform: scaleX(0);
  transition: transform 0.25s;
}

.a36-locket-tab-icon {
  font-size: 0.45rem;
  color: var(--lk-mango);
  opacity: 0;
  transition: opacity 0.2s;
}

.a36-locket-tab.is-active {
  color: var(--lk-ink);
}

.a36-locket-tab.is-active::after {
  transform: scaleX(1);
}

.a36-locket-tab.is-active .a36-locket-tab-icon {
  opacity: 1;
}

.a36-locket-tab:hover:not(.is-active) {
  color: var(--lk-ink);
}

.a36-locket-tab-link {
  color: var(--lk-mint) !important;
}

.a36-locket-ribbon-divider {
  width: 1px;
  height: 1.1rem;
  background: var(--lk-line);
  margin: 0 0.35rem;
  flex-shrink: 0;
}

.a36-locket-pages {
  padding: 1.5rem;
}

.a36-locket-page-head {
  margin-bottom: 1.25rem;
}

.a36-locket-page-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.a36-locket-page-head h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lk-ink);
}

.a36-locket-page-head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--lk-muted);
}

/* Profile grid */
.a36-locket-profile.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.a36-locket-profile.profile-grid > div,
.a36-locket-profile .profile-item {
  padding: 1rem 1.05rem;
  background: var(--lk-surface);
  border: 1px solid var(--lk-line);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.a36-locket-profile.profile-grid > div:hover,
.a36-locket-profile .profile-item:hover {
  border-color: rgba(78, 205, 196, 0.35);
  box-shadow: 0 6px 20px rgba(11, 19, 32, 0.06);
}

.a36-locket-profile dt,
.a36-locket-profile .profile-label,
.a36-locket-profile .profile-item .k {
  display: block;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lk-muted);
  margin-bottom: 0.25rem;
}

.a36-locket-profile dd,
.a36-locket-profile .profile-value,
.a36-locket-profile .profile-item .v {
  display: block;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lk-ink);
}

.a36-locket-profile .profile-item .v.mono {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* Orders */
.a36-locket-orders.order-list {
  display: grid;
  gap: 0.65rem;
}

.a36-locket-orders .order-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.05rem;
  background: var(--lk-surface);
  border: 1px solid var(--lk-line);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: transform 0.2s, box-shadow 0.2s;
}

.a36-locket-orders .order-row:hover {
  transform: translateX(3px);
  box-shadow: 0 6px 20px rgba(11, 19, 32, 0.06);
}

.a36-locket-orders .order-row strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--lk-ink);
}

.a36-locket-orders .order-row .btn,
.a36-locket-orders .order-row .btn-soft {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(78, 205, 196, 0.28);
  background: rgba(78, 205, 196, 0.12);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none !important;
  color: var(--lk-ink);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition: background 0.2s, transform 0.2s;
}

.a36-locket-orders .order-row .btn:hover,
.a36-locket-orders .order-row .btn-soft:hover {
  background: rgba(78, 205, 196, 0.22);
  transform: translateY(-1px);
}

.page-account-locket .mini-copy {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--lk-muted);
}

.page-account-locket .a36-locket-pages .notice {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  border: 1px solid var(--lk-line);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.page-account-locket .a36-locket-pages .notice.success {
  background: rgba(78, 205, 196, 0.12);
  border-color: rgba(78, 205, 196, 0.35);
  color: #0d4a45;
}

.page-account-locket .a36-locket-pages .notice.warning {
  background: rgba(255, 159, 28, 0.12);
  border-color: rgba(255, 159, 28, 0.35);
  color: #6b4200;
}

/* Forms */
.a36-locket-form {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.a36-locket-field {
  display: block;
  margin-bottom: 0.85rem;
}

.a36-locket-field span {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lk-muted);
}

.a36-locket-field input {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border: 1px solid rgba(11, 19, 32, 0.12);
  background: var(--lk-surface);
  font: inherit;
  font-size: 0.88rem;
  color: var(--lk-ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.a36-locket-field input:focus {
  border-color: var(--lk-mint);
  box-shadow: 0 0 0 2px rgba(78, 205, 196, 0.2);
}

.a36-locket-form .a36-locket-btn {
  margin-top: 0.35rem;
  align-self: flex-start;
}

.a36-locket-forgot {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--lk-line);
}

.a36-locket-forgot .form-subhead {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--lk-ink);
}

.a36-locket-reset {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--lk-line);
}

/* ── Logged-out gate ── */
.a36-locket-gate {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(var(--a36-sidebar-min), var(--a36-sidebar-max));
  gap: var(--a36-layout-gap);
  align-items: start;
}

.a36-locket-booklet {
  background: #fff;
  border: 1px solid var(--lk-line);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  box-shadow: 0 18px 44px rgba(11, 19, 32, 0.1);
}

.a36-locket-booklet-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--lk-ink);
  padding: 0;
  gap: 0;
  position: relative;
}

.a36-locket-booklet-tab {
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.a36-locket-booklet-tab.is-active {
  background: #fff;
  color: var(--lk-ink);
}

.a36-locket-booklet-tab.is-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lk-mango), var(--lk-mint));
}

.a36-locket-booklet-body {
  padding: 1.5rem 1.45rem 1.65rem;
}

.a36-locket-booklet-panel h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lk-ink);
}

.a36-locket-booklet-panel .lead {
  margin: 0 0 1.25rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--lk-muted);
}

.a36-locket-booklet-panel.auth-split-panel {
  display: none;
}

.a36-locket-booklet-panel.auth-split-panel.is-active {
  display: block;
  animation: a36-locket-fade 0.35s ease;
}

@keyframes a36-locket-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Perks panel */
.a36-locket-perks {
  padding: 1.35rem 1.25rem;
  background: var(--lk-panel);
  color: rgba(255, 255, 255, 0.85);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  box-shadow: 0 16px 40px rgba(11, 19, 32, 0.22);
  border: 1px solid rgba(78, 205, 196, 0.12);
  position: relative;
}

.a36-locket-perks::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lk-mango), var(--lk-mint), var(--lk-berry));
}

.a36-locket-perks h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lk-mango);
}

.a36-locket-perk-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.a36-locket-perk-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  padding: 0.7rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  line-height: 1.45;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  transition: background 0.2s;
}

.a36-locket-perk-grid li:hover {
  background: rgba(255, 255, 255, 0.07);
}

.a36-locket-perk-num {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--lk-mint);
}

.page-account-locket .toast {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--lk-ink);
  color: #fff;
  font-size: 0.84rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  border-left: 3px solid var(--lk-mint);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.page-account-locket .toast.visible,
.page-account-locket .toast.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.page-account-locket .toast.success {
  border-left-color: var(--lk-mint);
}

.page-account-locket .toast.error {
  border-left-color: var(--lk-berry);
}

/* ── Responsive ── */
@media (max-width: 820px) {
  .a36-locket-hero {
    clip-path: none;
  }

  .a36-locket-hero-inner {
    grid-template-columns: 1fr;
  }

  .a36-locket-seal {
    justify-self: start;
  }

  .a36-locket-gate {
    grid-template-columns: 1fr;
  }

  .a36-locket-perks {
    order: -1;
    clip-path: none;
  }

  .a36-locket-desk {
    clip-path: none;
  }

  .a36-locket-booklet {
    clip-path: none;
  }

  .a36-locket-welcome {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .a36-locket-pages {
    padding: 1.15rem;
  }

  .a36-locket-ribbon {
    padding: 0 0.65rem;
  }

  .a36-locket-tab {
    padding: 0.75rem 0.65rem;
    font-size: 0.62rem;
  }

  .a36-locket-booklet-body {
    padding: 1.15rem;
  }

  .a36-locket-watermark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a36-locket-kicker::before,
  .a36-locket-seal-ring,
  .a36-locket-booklet-panel.auth-split-panel.is-active {
    animation: none;
  }
}
