/* ==========================================================================
   LeGlamorous Jewels — luxury public website + registration experience
   Palette (from the brand board): Royal Navy #171943 · Peach Orange #F29568 · Champagne Gold #C6A15B
   Soft Ivory #FAF7F2 · Pure White #FFFFFF · Charcoal #1E1E1E
   Loaded after global.css / public.css so it owns the layout of the public pages.
   ========================================================================== */

/* ── Top bar + header ─────────────────────────────────────────────────── */
.lx-topbar { background: #0F1130; color: var(--on-dark-2); font-size: .74rem; letter-spacing: .06em; }
.lx-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 34px; }
.lx-topbar a { color: var(--on-dark-2); }
.lx-topbar a:hover { color: var(--gold-bright); text-decoration: none; }
.lx-topbar span { display: inline-flex; align-items: center; gap: .45rem; }
.lx-topbar svg { width: 14px; height: 14px; color: var(--gold-bright); }
.lx-topbar-mid { text-transform: uppercase; letter-spacing: .28em; font-size: .66rem; color: var(--gold-bright); }
.site-header .header-inner { gap: 1.25rem; }
.site-header .brand { flex: 0 0 auto; }
.public-actions { margin-left: .5rem; gap: .6rem; }
.lx-search { position: relative; display: flex; align-items: center; }
.lx-search input { width: 0; opacity: 0; padding: 0; border: 0; background: rgba(255,255,255,.08); color: var(--on-dark); min-height: 38px; font: inherit; font-size: .85rem; transition: width .25s ease, opacity .2s, padding .25s; border-radius: var(--r-sm); }
.lx-search:focus-within input, .lx-search input:not(:placeholder-shown) { width: 190px; opacity: 1; padding: 0 .75rem; border: 1px solid rgba(198,161,91,.5); }
.lx-search input::placeholder { color: var(--on-dark-3); }
.lx-login-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--on-dark) !important; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding: .4rem .35rem; text-decoration: none !important; }
.lx-login-link:hover { color: var(--peach) !important; }
.lx-login-link svg { width: 18px; height: 18px; }

/* ── Generic building blocks ──────────────────────────────────────────── */
.lx-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.lx-section--white { background: var(--surface); }
.lx-section--navy { background: var(--onyx); color: var(--on-dark-2); }
.lx-section--navy h2, .lx-section--navy h3 { color: var(--on-dark); }
.lx-head { text-align: center; max-width: 680px; margin: 0 auto clamp(2rem, 4vw, 3.25rem); }
.lx-head .eyebrow { color: var(--gold-text); }
.lx-section--navy .lx-head .eyebrow { color: var(--gold-bright); }
.lx-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 500; margin: .55rem 0 .7rem; }
.lx-head p { color: var(--ink-2); margin: 0; }
.lx-section--navy .lx-head p { color: var(--on-dark-2); }
.lx-orn { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-top: 1rem; color: var(--champagne); }
.lx-orn::before, .lx-orn::after { content: ""; width: 54px; height: 1px; background: var(--champagne); opacity: .8; }
.lx-orn i { width: 7px; height: 7px; background: var(--champagne); transform: rotate(45deg); }
.lx-row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.lx-row-head h2 { margin: .4rem 0 0; font-weight: 500; }
.lx-link { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--onyx); border-bottom: 1px solid var(--champagne); padding-bottom: 3px; }
.lx-link:hover { color: var(--gold-text); text-decoration: none; }
.btn-lx { border-radius: 0; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; font-weight: 700; min-height: 48px; padding: .75rem 1.9rem; }
.btn-peach { background: var(--peach); color: var(--onyx); border-color: var(--peach); }
.btn-peach:hover { background: var(--gold-fill-hover); border-color: var(--gold-fill-hover); color: var(--onyx); text-decoration: none; }
.btn-line-light { background: transparent; color: var(--on-dark); border-color: rgba(250,247,242,.55); }
.btn-line-light:hover { border-color: var(--peach); color: var(--peach); text-decoration: none; }
.btn-navy { background: var(--onyx); color: var(--on-dark); border-color: var(--onyx); }
.btn-navy:hover { background: var(--onyx-3); color: var(--on-dark); text-decoration: none; }
.btn-line-navy { background: transparent; color: var(--onyx); border-color: var(--onyx); }
.btn-line-navy:hover { background: var(--onyx); color: var(--on-dark); text-decoration: none; }
.lx-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.lx-hero { position: relative; background: var(--onyx); color: var(--on-dark); overflow: hidden; }
.lx-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 78% 40%, rgba(44, 48, 114, .75), transparent 70%); pointer-events: none; }
.lx-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-top: clamp(2.5rem, 6vw, 5.5rem); padding-bottom: clamp(2.5rem, 6vw, 5.5rem); min-height: 600px; }
.lx-hero .eyebrow { color: var(--gold-bright); letter-spacing: .32em; }
.lx-hero h1 { color: #fff; font-weight: 500; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.04; margin: 1rem 0 1.25rem; }
.lx-hero h1 em { color: var(--peach); font-style: italic; font-weight: 500; }
.lx-hero p.lead { color: var(--on-dark-2); font-size: 1.05rem; max-width: 520px; margin-bottom: 2rem; }
.lx-tagline { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-bright); margin: 2.2rem 0 0; display: flex; align-items: center; gap: .9rem; }
.lx-tagline::before { content: ""; width: 44px; height: 1px; background: var(--champagne); }
.lx-hero-art { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: min(560px, 62vw); }
.lx-hero-art figure { margin: 0; position: relative; overflow: hidden; background: #0F1130; border: 1px solid rgba(198, 161, 91, .45); }
.lx-hero-art figure:first-child { grid-row: 1 / 3; }
.lx-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .9s ease; }
.lx-hero-art figure:hover img { transform: scale(1.04); }
.lx-hero-art figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: .6rem .8rem; background: rgba(15, 17, 48, .82); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); }
.lx-hero-art.is-single { grid-template-columns: 1fr; grid-template-rows: 1fr; max-width: 430px; margin-left: auto; }
.lx-hero-art.is-single figure:first-child { grid-row: 1; }
.lx-hero-art.is-poster img { object-fit: cover; }
.lx-hero-art .lx-diamond { position: absolute; right: -14px; top: -14px; width: 74px; height: 74px; border: 1px solid var(--champagne); transform: rotate(45deg); opacity: .6; pointer-events: none; }

/* ── Trust strip ───────────────────────────────────────────────────────── */
.lx-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.lx-strip-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lx-strip-item { display: flex; gap: .9rem; align-items: center; padding: 1.5rem 1.25rem; border-right: 1px solid var(--line); }
.lx-strip-item:last-child { border-right: 0; }
.lx-strip-item svg { width: 30px; height: 30px; color: var(--champagne); flex: 0 0 auto; stroke-width: 1.4; }
.lx-strip-item strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.lx-strip-item span { font-size: .82rem; color: var(--ink-3); }

/* ── Collections ───────────────────────────────────────────────────────── */
.lx-collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 330px)); justify-content: center; gap: 1.6rem; }
.lx-coll { display: block; color: inherit; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .25s; }
.lx-coll:hover { border-color: var(--champagne); box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.lx-coll-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.lx-coll-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lx-coll:hover .lx-coll-media img { transform: scale(1.05); }
.lx-coll-media .img-ph { width: 100%; height: 100%; }
.lx-coll-body { padding: 1.15rem 1.25rem 1.3rem; text-align: center; border-top: 2px solid var(--champagne); }
.lx-coll-body h3 { font-size: 1.55rem; margin: 0 0 .2rem; font-weight: 500; }
.lx-coll-body span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

/* ── Product grid + cards ─────────────────────────────────────────────── */
.lx-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.6rem; }
.lx-products--center { grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); justify-content: center; }
.lx-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .25s; }
.lx-card:hover { border-color: var(--champagne); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.lx-card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.lx-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s ease; }
.lx-card:hover .lx-card-media img { transform: scale(1.05); }
.lx-card-media .img-ph { width: 100%; height: 100%; }
.lx-card-flag { position: absolute; top: .8rem; left: .8rem; background: var(--peach); color: var(--onyx); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; padding: .3rem .6rem; }
.lx-card-body { padding: 1.05rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.lx-card-cat { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }
.lx-card-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; line-height: 1.2; color: var(--ink); margin: 0; }
.lx-card-name a { color: inherit; }
.lx-card-name a:hover { color: var(--gold-text); text-decoration: none; }
.lx-card-sku { font-size: .74rem; color: var(--ink-3); letter-spacing: .06em; }
.lx-card-cta { margin-top: auto; padding-top: .8rem; display: flex; gap: .5rem; }
.lx-card-cta .btn { flex: 1; min-height: 40px; font-size: .7rem; padding: .4rem .6rem; }
.lx-empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--ink-3); border: 1px dashed var(--line-strong); background: var(--surface); }

/* ── Brand story / feature split ──────────────────────────────────────── */
.lx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.lx-split-art { position: relative; justify-self: center; width: min(100%, 380px); }
.lx-split-art img { width: 100%; height: auto; border: 1px solid rgba(198, 161, 91, .5); }
.lx-split-art::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--champagne); z-index: -1; opacity: .7; }
.lx-split h2 { font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.9rem); margin: .6rem 0 1rem; }
.lx-split p { color: var(--on-dark-2); }
.lx-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .9rem; }
.lx-list li { display: flex; gap: .8rem; align-items: flex-start; }
.lx-list svg { width: 20px; height: 20px; color: var(--peach); flex: 0 0 auto; margin-top: 3px; }
.lx-list strong { color: var(--on-dark); font-weight: 600; }

/* ── Benefits / steps ─────────────────────────────────────────────────── */
.lx-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.lx-feature { background: var(--surface); border: 1px solid var(--line); padding: 1.9rem 1.5rem; border-top: 2px solid var(--champagne); }
.lx-feature svg { width: 32px; height: 32px; color: var(--peach); stroke-width: 1.4; margin-bottom: 1rem; }
.lx-feature h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: .45rem; }
.lx-feature p { font-size: .92rem; color: var(--ink-2); margin: 0; }
.lx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; counter-reset: step; }
.lx-step { position: relative; padding: 1.6rem 1.4rem; border: 1px solid rgba(198, 161, 91, .4); }
.lx-step .num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--peach); font-weight: 500; }
.lx-step h3 { font-size: 1.3rem; margin: .6rem 0 .4rem; color: var(--on-dark); font-weight: 500; }
.lx-step p { color: var(--on-dark-2); font-size: .9rem; margin: 0; }

/* ── Call to action ───────────────────────────────────────────────────── */
.lx-cta { text-align: center; max-width: 760px; margin: 0 auto; }
.lx-cta h2 { color: var(--on-dark); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); margin: .7rem 0 1rem; }
.lx-cta p { color: var(--on-dark-2); margin-bottom: 2rem; }
.lx-cta .lx-actions { justify-content: center; }

/* ── Inner page banner ────────────────────────────────────────────────── */
.lx-banner { background: var(--onyx); color: var(--on-dark-2); padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid rgba(198, 161, 91, .35); }
.lx-banner .breadcrumb { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); display: flex; gap: .5rem; margin-bottom: 1rem; }
.lx-banner .breadcrumb a { color: var(--gold-bright); }
.lx-banner h1 { color: #fff; font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 0 0 .6rem; }
.lx-banner p { max-width: 620px; margin: 0; font-size: 1.02rem; }

/* ── Products page toolbar ────────────────────────────────────────────── */
.lx-shop { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.lx-filter { position: sticky; top: calc(var(--header-h) + 54px); }
.lx-filter h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .8rem; }
.lx-filter ul { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .1rem; }
.lx-filter a { display: flex; justify-content: space-between; align-items: center; padding: .6rem .8rem; color: var(--ink-2); font-size: .92rem; border-left: 2px solid transparent; }
.lx-filter a:hover { background: var(--surface-2); text-decoration: none; }
.lx-filter a.active { border-left-color: var(--peach); background: var(--surface); color: var(--onyx); font-weight: 700; }
.lx-filter a small { color: var(--ink-3); }
.lx-filter input[type=search] { width: 100%; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--line-strong); background: var(--surface); font: inherit; border-radius: var(--r-sm); margin-bottom: 1.6rem; }
.lx-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.4rem; font-size: .9rem; color: var(--ink-3); flex-wrap: wrap; }
.lx-lock { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--peach); padding: 1rem 1.2rem; margin-bottom: 1.6rem; font-size: .92rem; color: var(--ink-2); }
.lx-lock a { font-weight: 700; }

/* ── Contact + about ──────────────────────────────────────────────────── */
.lx-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.lx-contact-card { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--champagne); padding: 2rem 1.6rem; text-align: center; }
.lx-contact-card svg { width: 30px; height: 30px; color: var(--peach); stroke-width: 1.4; }
.lx-contact-card h3 { font-size: 1.4rem; font-weight: 500; margin: .8rem 0 .4rem; }
.lx-contact-card p { margin: 0; color: var(--ink-2); word-break: break-word; }
.lx-about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }

/* ── Footer refinement ────────────────────────────────────────────────── */
.site-footer { margin-top: 0; }
.site-footer::before { background: var(--champagne); height: 2px; }
.site-footer .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; }
.site-footer .brand--stacked { align-items: flex-start; text-align: left; }
.site-footer .brand-full-img { width: 170px; }
.site-footer .footer-grid a:hover { color: var(--peach); }
.site-footer .footer-grid h5 { color: var(--gold-bright); }

/* ── Registration / auth ──────────────────────────────────────────────── */
.auth-aside { background: var(--onyx); }
.auth-aside::before, .auth-aside::after { border-color: rgba(198, 161, 91, .25); }
.auth-aside .auth-poster { width: min(100%, 300px); border: 1px solid rgba(198, 161, 91, .5); margin-top: 1.5rem; position: relative; z-index: 1; }
.auth-aside .eyebrow { color: var(--gold-bright); }
.auth-box { border-radius: var(--r-md); border-top: 3px solid var(--champagne); }
.auth-heading .auth-title { font-weight: 500; }
.auth-card--wide { max-width: 760px; }
.auth-page--register { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); }
.reg-section { border: 0; padding: 0; margin: 0 0 1.4rem; }
.reg-section legend { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--onyx); padding: 0 0 .5rem; margin-bottom: .9rem; border-bottom: 1px solid var(--line); width: 100%; }
.reg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.1rem; }
.reg-grid .span-2 { grid-column: 1 / -1; }
.pw-meter { height: 4px; background: var(--surface-3); margin-top: .45rem; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--danger); transition: width .25s, background .25s; }
.pw-meter[data-s="2"] i { width: 50%; background: var(--warning); }
.pw-meter[data-s="3"] i { width: 78%; background: var(--champagne); }
.pw-meter[data-s="4"] i { width: 100%; background: var(--success); }
.pw-meter[data-s="1"] i { width: 25%; }
.reg-status { text-align: center; padding: 1rem 0 .5rem; }
.reg-status .ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; background: var(--gold-tint); color: var(--gold-text); border: 1px solid var(--champagne); }
.reg-status .ok svg { width: 30px; height: 30px; }
.reg-status .ref { display: inline-block; margin: .8rem 0; padding: .45rem 1.1rem; border: 1px dashed var(--champagne); font-family: ui-monospace, Consolas, monospace; letter-spacing: .1em; color: var(--onyx); background: var(--gold-tint); }
.reg-timeline { display: flex; justify-content: center; gap: .5rem; margin: 1.2rem 0; flex-wrap: wrap; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.reg-timeline span { padding: .4rem .8rem; border: 1px solid var(--line-strong); color: var(--ink-3); }
.reg-timeline span.on { background: var(--onyx); color: var(--on-dark); border-color: var(--onyx); }
.reg-timeline span.next { border-color: var(--peach); color: var(--ink); }

/* ── Motion ───────────────────────────────────────────────────────────── */
@keyframes lxFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.lx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.lx-reveal.in { opacity: 1; transform: none; }
.lx-hero-copy > * { animation: lxFade .8s ease both; }
.lx-hero-copy > *:nth-child(2) { animation-delay: .08s; } .lx-hero-copy > *:nth-child(3) { animation-delay: .16s; }
.lx-hero-copy > *:nth-child(4) { animation-delay: .24s; } .lx-hero-copy > *:nth-child(5) { animation-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .lx-reveal, .lx-hero-copy > * { animation: none; opacity: 1; transform: none; transition: none; } }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .lx-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-strip-item:nth-child(2) { border-right: 0; }
  .lx-strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .lx-features, .lx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .lx-hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .lx-hero-art { height: 420px; }
  .lx-hero-art.is-single { margin: 0 auto; width: min(100%, 380px); height: 460px; }
  .lx-split, .lx-shop { grid-template-columns: 1fr; }
  .lx-filter { position: static; }
  .lx-filter ul { display: flex; flex-wrap: wrap; gap: .4rem; }
  .lx-filter a { border: 1px solid var(--line-strong); background: var(--surface); }
  .lx-topbar .lx-topbar-mid { display: none; }
  .lx-contact, .lx-about-grid { grid-template-columns: 1fr; }
  .auth-page--register { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .lx-strip-inner, .lx-features, .lx-steps { grid-template-columns: 1fr; }
  .lx-strip-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .lx-hero-art { height: 340px; gap: 8px; }
  .reg-grid { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .lx-search { display: none; }
  .lx-products, .lx-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .lx-card-name { font-size: 1.15rem; }
  .lx-card-cta .btn { font-size: .62rem; letter-spacing: .06em; }
  .lx-hero-actions .btn { flex: 1 1 100%; }
}
.auth-page--register .auth-main { align-items: flex-start; }
