/* =====================================================================
   Lunerya V5 — boutique overhaul, remastered brand, Lunar Center
   Loaded after V4. Keeps Azuriom/Shop backend intact.
   ===================================================================== */

:root {
    --ly5-cyan: #69ecff;
    --ly5-blue: #4d8dff;
    --ly5-violet: #b069ff;
    --ly5-purple: #7b3cff;
    --ly5-bg: #050811;
    --ly5-panel: rgba(8, 15, 29, .92);
    --ly5-panel-2: rgba(12, 22, 40, .88);
    --ly5-line: rgba(105, 236, 255, .14);
    --ly5-line-violet: rgba(176, 105, 255, .15);
    --ly5-text: #edf7ff;
    --ly5-muted: #7e91ab;
    --ly5-accent-a: var(--ly5-cyan);
    --ly5-accent-b: var(--ly5-violet);
}

html[data-ly-accent="cyan"] { --ly5-accent-a: #68ecff; --ly5-accent-b: #4d8dff; }
html[data-ly-accent="violet"] { --ly5-accent-a: #c47bff; --ly5-accent-b: #7b3cff; }
html[data-ly-accent="dual"] { --ly5-accent-a: #69ecff; --ly5-accent-b: #b069ff; }

/* --- remastered identity --- */
.lunerya-navbar--v5 .navbar-brand img {
    width: 46px !important;
    height: 46px !important;
    max-height: 46px !important;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(105,236,255,.18));
}

.lunerya-brand-lockup__icon--remastered {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 18px rgba(105,236,255,.20)) drop-shadow(0 0 20px rgba(176,105,255,.12));
}

body.lunerya-body {
    background-image:
        radial-gradient(circle at 11% 14%, rgba(105,236,255,.035), transparent 26rem),
        radial-gradient(circle at 90% 32%, rgba(176,105,255,.03), transparent 27rem);
}

body.lunerya-body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .18;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.55) 0 1px, transparent 1.3px),
        radial-gradient(circle, rgba(105,236,255,.5) 0 1px, transparent 1.4px);
    background-size: 91px 91px, 137px 137px;
    background-position: 0 0, 43px 27px;
    mask-image: linear-gradient(to bottom, #000 0, transparent 86%);
}

body.ly-immersion::before { opacity: .30; animation: ly5Stars 16s linear infinite; }
body.ly-immersion::after { opacity: .32; }
@keyframes ly5Stars { to { background-position: 91px 45px, -94px 81px; } }

/* --- Lunar Center --- */
.ly-hub-trigger {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1088;
    width: 52px;
    height: 52px;
    padding: 3px;
    border: 1px solid rgba(105,236,255,.22);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(105,236,255,.12), rgba(8,14,28,.96) 62%);
    box-shadow: 0 16px 34px rgba(0,0,0,.38), 0 0 22px rgba(105,236,255,.08);
    backdrop-filter: blur(14px);
}
.ly-hub-trigger img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.ly-hub-trigger__pulse { position: absolute; right: 0; bottom: 3px; width: 9px; height: 9px; border-radius: 50%; background: #65e9b4; border: 2px solid #07101c; box-shadow: 0 0 10px rgba(101,233,180,.8); }
.ly-hub-trigger:hover { transform: translateY(-2px) scale(1.03); border-color: rgba(176,105,255,.42); }

.ly-hub-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1091;
    opacity: 0;
    visibility: hidden;
    background: rgba(1,4,10,.55);
    backdrop-filter: blur(7px);
    transition: .22s ease;
}
.ly-hub-backdrop.is-open { opacity: 1; visibility: visible; }

.ly-hub-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1092;
    width: min(370px, 92vw);
    height: 100dvh;
    overflow-y: auto;
    padding: 1rem;
    color: var(--ly5-text);
    background:
        radial-gradient(circle at 100% 0, rgba(176,105,255,.11), transparent 18rem),
        radial-gradient(circle at 0 20%, rgba(105,236,255,.07), transparent 15rem),
        linear-gradient(180deg, rgba(8,15,29,.995), rgba(4,9,18,.995));
    border-left: 1px solid rgba(105,236,255,.12);
    box-shadow: -28px 0 70px rgba(0,0,0,.42);
    transform: translateX(104%);
    transition: transform .28s cubic-bezier(.2,.7,.2,1);
}
.ly-hub-drawer.is-open { transform: none; }
.ly-hub-header { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-bottom: .85rem; border-bottom: 1px solid rgba(255,255,255,.055); }
.ly-hub-brand { display: flex; align-items: center; gap: .65rem; }
.ly-hub-brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(105,236,255,.16)); }
.ly-hub-brand small, .ly-hub-profile small { display: block; color: #667b96; font-size: .54rem; font-weight: 900; letter-spacing: .13em; }
.ly-hub-brand strong { display: block; margin-top: .08rem; font-size: .88rem; }
.ly-hub-close { width: 34px; height: 34px; color: #8ea0b7; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); border-radius: 9px; }
.ly-hub-close:hover { color: #fff; border-color: rgba(105,236,255,.16); }
.ly-hub-profile { display: flex; align-items: center; gap: .7rem; margin: .9rem 0; padding: .75rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.055); border-radius: 13px; }
.ly-hub-profile img, .ly-hub-profile__guest { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; }
.ly-hub-profile img { object-fit: cover; }
.ly-hub-profile__guest { display: grid; place-items: center; color: var(--ly5-accent-a); background: rgba(105,236,255,.06); border: 1px solid rgba(105,236,255,.12); font-size: 1.2rem; }
.ly-hub-profile strong { display: block; margin: .12rem 0 .1rem; font-size: .84rem; }
.ly-hub-profile a { color: var(--ly5-accent-a) !important; font-size: .62rem; }
.ly-hub-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.ly-hub-metrics > div { padding: .7rem; background: linear-gradient(145deg, rgba(105,236,255,.04), rgba(176,105,255,.025)); border: 1px solid rgba(105,236,255,.09); border-radius: 11px; }
.ly-hub-metrics i { color: var(--ly5-accent-a); font-size: .78rem; }
.ly-hub-metrics strong { display: block; margin: .24rem 0 .06rem; font-size: 1rem; }
.ly-hub-metrics span { color: #697d96; font-size: .56rem; text-transform: uppercase; letter-spacing: .06em; }
.ly-hub-section { margin-top: 1rem; }
.ly-hub-title { margin-bottom: .45rem; color: #61748c; font-size: .54rem; font-weight: 900; letter-spacing: .14em; }
.ly-hub-links { display: grid; grid-template-columns: 1fr 1fr; gap: .42rem; }
.ly-hub-links a, .ly-hub-links button { display: flex; align-items: center; gap: .48rem; padding: .58rem; color: #b9c8d9 !important; background: rgba(255,255,255,.022); border: 1px solid rgba(255,255,255,.05); border-radius: 9px; font-size: .65rem; font-weight: 750; text-align: left; }
.ly-hub-links a:hover, .ly-hub-links button:hover { color: #fff !important; background: rgba(105,236,255,.045); border-color: rgba(105,236,255,.13); }
.ly-hub-links i { color: var(--ly5-accent-a); }
.ly-hub-setting { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .66rem .72rem; color: #c7d5e6; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); border-radius: 10px; text-align: left; }
.ly-hub-setting > span { display: grid; grid-template-columns: 20px 1fr; }
.ly-hub-setting i { grid-row: 1 / 3; color: var(--ly5-accent-a); }
.ly-hub-setting b { font-size: .66rem; }
.ly-hub-setting small { color: #667992; font-size: .55rem; }
.ly-hub-setting em { position: relative; width: 34px; height: 18px; flex: 0 0 34px; border-radius: 999px; background: #263347; transition: .18s; }
.ly-hub-setting em::after { content: ''; position: absolute; width: 12px; height: 12px; top: 3px; left: 3px; border-radius: 50%; background: #7588a1; transition: .18s; }
.ly-hub-setting[aria-pressed="true"] em { background: linear-gradient(90deg, rgba(105,236,255,.45), rgba(176,105,255,.5)); }
.ly-hub-setting[aria-pressed="true"] em::after { left: 19px; background: #fff; }
.ly-hub-accent { display: flex; align-items: center; justify-content: space-between; margin-top: .42rem; padding: .6rem .72rem; background: rgba(255,255,255,.018); border: 1px solid rgba(255,255,255,.045); border-radius: 10px; color: #8fa2b9; font-size: .62rem; }
.ly-hub-accent > div { display: flex; gap: .36rem; }
.ly-hub-accent button { width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.ly-hub-accent button[data-ly-accent="dual"] { background: linear-gradient(135deg,#69ecff 0 48%,#b069ff 52%); }
.ly-hub-accent button[data-ly-accent="cyan"] { background: #69ecff; }
.ly-hub-accent button[data-ly-accent="violet"] { background: #b069ff; }
.ly-hub-accent button.is-active { border-color: #fff; }
.ly-hub-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.05); }
.ly-hub-footer button { color: #9fb1c6; background: transparent; border: 0; font-size: .61rem; }
.ly-hub-footer button:hover { color: var(--ly5-accent-a); }
.ly-hub-footer small { color: #50627a; font-size: .52rem; }

/* --- shop master layout --- */
.ly-shop { --shop-card-bg: rgba(9,17,31,.92); position: relative; }
.ly-shop::before { content: ''; position: fixed; inset: 64px 0 auto; height: 360px; z-index: -1; pointer-events: none; background: radial-gradient(circle at 20% 30%, rgba(105,236,255,.07), transparent 27rem), radial-gradient(circle at 80% 20%, rgba(176,105,255,.07), transparent 25rem); }

.ly-shop-kicker { display: inline-flex; align-items: center; gap: .35rem; color: var(--ly5-accent-a); font-size: .57rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

.ly-shop-hero {
    position: relative;
    min-height: 260px;
    display: grid;
    grid-template-columns: minmax(0,1.45fr) minmax(220px,.55fr);
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    margin-bottom: .8rem;
    padding: 1.55rem 1.7rem;
    background:
        radial-gradient(circle at 86% 10%, rgba(176,105,255,.14), transparent 20rem),
        radial-gradient(circle at 58% 120%, rgba(105,236,255,.08), transparent 18rem),
        linear-gradient(145deg, rgba(11,21,39,.97), rgba(5,11,22,.98));
    border: 1px solid rgba(105,236,255,.13);
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.02);
}
.ly-shop-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .26; background: linear-gradient(120deg, transparent 0 49%, rgba(105,236,255,.04) 50%, transparent 51%), linear-gradient(60deg, transparent 0 49%, rgba(176,105,255,.035) 50%, transparent 51%); background-size: 90px 90px; }
.ly-shop-hero__copy { position: relative; z-index: 2; max-width: 650px; }
.ly-shop-hero h1 { margin: .4rem 0 .55rem; color: #fff; font-size: clamp(1.8rem,3.2vw,2.8rem); line-height: 1.05; letter-spacing: -.035em; }
.ly-shop-hero p { max-width: 640px; margin: 0 0 1rem; color: #91a5bd !important; font-size: .78rem; line-height: 1.65; }
.ly-shop-hero__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.ly-shop-hero__actions .btn { min-height: 39px; display: inline-flex; align-items: center; gap: .4rem; padding: .56rem .78rem; border-radius: 9px; }
.ly-shop-hero__visual { position: relative; height: 220px; display: grid; place-items: center; }
.ly-shop-hero__logo { position: relative; z-index: 2; width: min(210px,90%); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 0 22px rgba(105,236,255,.18)) drop-shadow(0 0 30px rgba(176,105,255,.14)); animation: ly5LogoFloat 5s ease-in-out infinite; }
.ly-shop-orbit { position: absolute; width: 210px; height: 95px; border: 1px solid rgba(105,236,255,.13); border-radius: 50%; transform: rotate(-17deg); box-shadow: 0 0 24px rgba(105,236,255,.04); }
@keyframes ly5LogoFloat { 50% { transform: translateY(-5px) rotate(1deg); } }

.ly-shop-dashboard { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .55rem; margin-bottom: 1.05rem; }
.ly-shop-dashboard__item { display: flex; align-items: center; gap: .62rem; min-height: 70px; padding: .72rem .8rem; background: rgba(8,16,30,.78); border: 1px solid rgba(255,255,255,.055); border-radius: 12px; }
.ly-shop-dashboard__item > span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; color: var(--ly5-accent-a); background: rgba(105,236,255,.055); border: 1px solid rgba(105,236,255,.11); border-radius: 9px; }
.ly-shop-dashboard__item strong, .ly-shop-dashboard__item small { display: block; }
.ly-shop-dashboard__item strong { color: #eaf5ff; font-size: .76rem; }
.ly-shop-dashboard__item small { margin-top: .08rem; color: #687b95; font-size: .54rem; text-transform: uppercase; letter-spacing: .05em; }
.ly-shop-dashboard__item--wallet { background: linear-gradient(145deg, rgba(105,236,255,.045), rgba(176,105,255,.045)); border-color: rgba(105,236,255,.10); }

.ly-shop-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: .1rem 0 .75rem; }
.ly-shop-section-head h2 { margin: .16rem 0 0; color: #f3f8ff; font-size: 1.22rem; }
.ly-shop-section-head__hint { max-width: 310px; color: #697c95; font-size: .6rem; text-align: right; }
.ly-shop-section-head__hint i { color: #d37cff; }
.ly-shop-category-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.ly-shop-category-card { position: relative; min-height: 105px; display: grid; grid-template-columns: 42px 1fr 24px; align-items: center; gap: .7rem; padding: .8rem; color: #c7d5e6 !important; background: linear-gradient(145deg, rgba(11,21,38,.93), rgba(6,13,25,.94)); border: 1px solid rgba(105,236,255,.09); border-radius: 13px; overflow: hidden; text-decoration: none !important; }
.ly-shop-category-card::after { content: ''; position: absolute; width: 110px; height: 110px; right: -55px; top: -55px; border-radius: 50%; background: radial-gradient(circle, rgba(176,105,255,.12), transparent 68%); opacity: .7; transition: .2s; }
.ly-shop-category-card:hover { transform: translateY(-2px); border-color: rgba(105,236,255,.20); box-shadow: 0 14px 28px rgba(0,0,0,.18); }
.ly-shop-category-card:hover::after { transform: scale(1.25); }
.ly-shop-category-card__icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ly5-accent-a); background: rgba(105,236,255,.055); border: 1px solid rgba(105,236,255,.12); border-radius: 11px; }
.ly-shop-category-card__body small { display: block; color: #5f748e; font-size: .5rem; font-weight: 900; letter-spacing: .12em; }
.ly-shop-category-card__body h3 { margin: .13rem 0 .16rem; color: #eef7ff; font-size: .8rem; }
.ly-shop-category-card__body p { margin: 0; color: #70829a !important; font-size: .58rem; }
.ly-shop-category-card__arrow { color: #60748e; }
.ly-shop-category-card--sub { border-color: rgba(176,105,255,.10); }
.ly-shop-category-card--sub .ly-shop-category-card__icon { color: var(--ly5-accent-b); background: rgba(176,105,255,.05); border-color: rgba(176,105,255,.12); }

.ly-shop-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: .55rem; }
.ly-shop-benefits article { display: flex; gap: .6rem; padding: .72rem; background: rgba(255,255,255,.018); border: 1px solid rgba(255,255,255,.045); border-radius: 11px; }
.ly-shop-benefits i { color: var(--ly5-accent-a); font-size: .9rem; }
.ly-shop-benefits strong, .ly-shop-benefits span { display: block; }
.ly-shop-benefits strong { margin-bottom: .12rem; color: #cbd9e9; font-size: .64rem; }
.ly-shop-benefits span { color: #667992; font-size: .54rem; line-height: 1.45; }

/* category page */
.ly-shop-category-header { position: relative; min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; overflow: hidden; margin-bottom: .55rem; padding: 1.05rem 1.2rem; background: radial-gradient(circle at 85% 20%, rgba(176,105,255,.11), transparent 16rem), linear-gradient(145deg, rgba(10,20,37,.96), rgba(6,12,24,.97)); border: 1px solid rgba(105,236,255,.10); border-radius: 15px; }
.ly-shop-category-header > div:first-child { position: relative; z-index: 2; max-width: 720px; }
.ly-shop-back { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .5rem; color: #7589a3 !important; font-size: .59rem; text-decoration: none !important; }
.ly-shop-back:hover { color: var(--ly5-accent-a) !important; }
.ly-shop-category-header h1 { margin: .12rem 0 .28rem; color: #fff; font-size: clamp(1.5rem,2.6vw,2.1rem); }
.ly-shop-category-header p, .ly-shop-category-header__desc { margin: 0; color: #7e92ab !important; font-size: .68rem; line-height: 1.55; }
.ly-shop-category-header__mark { width: 130px; height: 130px; flex: 0 0 130px; opacity: .48; }
.ly-shop-category-header__mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 18px rgba(105,236,255,.14)); }
.ly-shop-category-tabs { display: flex; gap: .35rem; overflow-x: auto; margin-bottom: .75rem; padding: .4rem; background: rgba(7,14,27,.72); border: 1px solid rgba(255,255,255,.045); border-radius: 11px; scrollbar-width: thin; }
.ly-shop-category-tabs a { white-space: nowrap; display: inline-flex; align-items: center; gap: .36rem; padding: .43rem .58rem; color: #8193aa !important; background: transparent; border: 1px solid transparent; border-radius: 8px; font-size: .59rem; font-weight: 750; text-decoration: none !important; }
.ly-shop-category-tabs a:hover, .ly-shop-category-tabs a.is-active { color: #eaf8ff !important; background: rgba(105,236,255,.05); border-color: rgba(105,236,255,.10); }

.ly-shop-toolbar { display: grid; grid-template-columns: minmax(0,1fr) 165px auto; gap: .45rem; margin-bottom: .7rem; padding: .55rem; background: rgba(8,15,28,.75); border: 1px solid rgba(255,255,255,.05); border-radius: 11px; }
.ly-shop-search { display: flex; align-items: center; gap: .5rem; min-height: 38px; padding: 0 .68rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.055); border-radius: 8px; }
.ly-shop-search i { color: var(--ly5-accent-a); font-size: .72rem; }
.ly-shop-search input { flex: 1; min-width: 0; color: #dce9f8; background: transparent; border: 0; outline: 0; font-size: .67rem; }
.ly-shop-search input::placeholder { color: #5f728b; }
.ly-shop-toolbar .form-select { min-height: 38px; padding-top: .3rem; padding-bottom: .3rem; font-size: .61rem; }
.ly-shop-favorites-filter { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: .38rem; padding: 0 .65rem; color: #91a3b8; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.055); border-radius: 8px; font-size: .61rem; font-weight: 750; }
.ly-shop-favorites-filter b { min-width: 18px; padding: .08rem .26rem; color: #c8d8ea; background: rgba(255,255,255,.045); border-radius: 999px; font-size: .5rem; }
.ly-shop-favorites-filter.is-active { color: #ffd1ff; border-color: rgba(176,105,255,.18); background: rgba(176,105,255,.055); }
.ly-shop-favorites-filter.is-active i { color: #d788ff; }

.ly-shop-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; }
.ly-product-card { min-width: 0; overflow: hidden; background: linear-gradient(165deg, rgba(11,21,39,.96), rgba(6,13,25,.97)); border: 1px solid rgba(105,236,255,.09); border-radius: 13px; box-shadow: 0 13px 28px rgba(0,0,0,.13); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.ly-product-card:hover { transform: translateY(-3px); border-color: rgba(105,236,255,.21); box-shadow: 0 18px 38px rgba(0,0,0,.21), 0 0 22px rgba(105,236,255,.035); }
.ly-product-card.is-hidden { display: none !important; }
.ly-product-card__media { position: relative; height: 165px; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(105,236,255,.055), transparent 60%), #07101e; }
.ly-product-card__media > a { width: 100%; height: 100%; display: block; }
.ly-product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.ly-product-card:hover .ly-product-card__media img { transform: scale(1.035); }
.ly-product-card__placeholder { display: grid !important; place-items: center; background: radial-gradient(circle, rgba(176,105,255,.08), transparent 60%); }
.ly-product-card__placeholder img { width: 110px; height: 110px; object-fit: contain; opacity: .75; filter: drop-shadow(0 0 14px rgba(105,236,255,.13)); }
.ly-product-card__badges { position: absolute; left: .55rem; top: .55rem; z-index: 3; display: flex; flex-wrap: wrap; gap: .25rem; }
.ly-product-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .24rem .36rem; color: #cfe3f4; background: rgba(5,12,24,.86); border: 1px solid rgba(255,255,255,.075); border-radius: 6px; font-size: .46rem; font-weight: 900; letter-spacing: .06em; }
.ly-product-badge--sale { color: #ffe6b8; border-color: rgba(255,190,87,.17); }
.ly-product-favorite { position: absolute; z-index: 4; right: .55rem; top: .55rem; width: 31px; height: 31px; display: grid; place-items: center; color: #91a4bb; background: rgba(5,12,24,.84); border: 1px solid rgba(255,255,255,.075); border-radius: 9px; backdrop-filter: blur(8px); }
.ly-product-favorite:hover, .ly-product-favorite.is-active { color: #e091ff; border-color: rgba(176,105,255,.22); background: rgba(176,105,255,.09); }
.ly-product-favorite.is-active i::before { content: "\f415"; }
.ly-product-card__body { padding: .72rem; }
.ly-product-card__eyebrow { display: block; margin-bottom: .14rem; color: #60758e; font-size: .47rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.ly-product-card h3 { margin: 0 0 .45rem; color: #f0f7ff; font-size: .78rem; line-height: 1.25; }
.ly-product-card__price { display: flex; align-items: baseline; gap: .35rem; min-height: 25px; margin-bottom: .55rem; }
.ly-product-card__price del { color: #697b91; font-size: .56rem; }
.ly-product-card__price strong { color: var(--ly5-accent-a); font-size: .82rem; }
.ly-product-card__actions { display: grid; grid-template-columns: 1fr 37px; gap: .36rem; }
.ly-product-card__actions .btn { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding: .4rem .55rem; border-radius: 8px; font-size: .58rem; }
.ly-product-card__details { padding-left: 0 !important; padding-right: 0 !important; }

.ly-shop-welcome-card { display: flex; gap: .65rem; align-items: center; padding: .75rem .85rem; background: rgba(8,16,30,.78); border: 1px solid rgba(105,236,255,.09); border-radius: 11px; }
.ly-shop-welcome-card__icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ly5-accent-a); background: rgba(105,236,255,.05); border-radius: 9px; }
.ly-shop-welcome-card small { color: #5f738c; font-size: .5rem; font-weight: 900; letter-spacing: .12em; }
.ly-shop-welcome-card p { margin: .08rem 0 0; color: #93a5bb !important; font-size: .63rem; }
.ly-shop-empty { grid-column: 1 / -1; padding: 2rem 1rem; color: #74879f; background: rgba(255,255,255,.018); border: 1px dashed rgba(105,236,255,.11); border-radius: 12px; text-align: center; }
.ly-shop-empty i { display: block; margin-bottom: .45rem; color: var(--ly5-accent-a); font-size: 1.35rem; }
.ly-shop-empty h3 { margin: 0 0 .2rem; color: #c8d7e8; font-size: .82rem; }
.ly-shop-empty p { margin: 0; color: #6c7f98 !important; font-size: .6rem; }

/* shop sidebar */
.ly-shop-sidebar { position: sticky; top: 78px; }
.ly-shop-side-card { margin-bottom: .65rem; padding: .72rem; background: linear-gradient(155deg, rgba(10,19,35,.94), rgba(6,13,25,.96)); border: 1px solid rgba(105,236,255,.085); border-radius: 12px; }
.ly-shop-side-title { display: flex; align-items: center; gap: .4rem; margin-bottom: .45rem; color: #c8d7e8; font-size: .63rem; font-weight: 800; }
.ly-shop-side-title i { color: var(--ly5-accent-a); }
.ly-shop-side-nav { display: grid; gap: .2rem; }
.ly-shop-side-nav a { display: flex; align-items: center; gap: .42rem; padding: .45rem .5rem; color: #8092a8 !important; border: 1px solid transparent; border-radius: 7px; font-size: .58rem; text-decoration: none !important; }
.ly-shop-side-nav a:hover, .ly-shop-side-nav a.is-active { color: #e8f6ff !important; background: rgba(105,236,255,.045); border-color: rgba(105,236,255,.09); }
.ly-shop-side-nav a i { width: 15px; color: #607b96; text-align: center; }
.ly-shop-side-nav a.is-active i { color: var(--ly5-accent-a); }
.ly-shop-side-nav__sub { padding-left: 1.35rem !important; font-size: .54rem !important; }
.ly-shop-profile { display: flex; align-items: center; gap: .55rem; margin-bottom: .6rem; }
.ly-shop-profile img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(105,236,255,.1); }
.ly-shop-profile small, .ly-shop-profile strong { display: block; }
.ly-shop-profile small { color: #60738d; font-size: .47rem; font-weight: 900; letter-spacing: .1em; }
.ly-shop-profile strong { margin-top: .08rem; color: #e9f5ff; font-size: .72rem; }
.ly-shop-wallet { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .45rem; padding: .5rem .56rem; background: linear-gradient(135deg, rgba(105,236,255,.045), rgba(176,105,255,.045)); border: 1px solid rgba(105,236,255,.08); border-radius: 8px; }
.ly-shop-wallet span { color: #7f92aa; font-size: .56rem; }
.ly-shop-wallet i { color: var(--ly5-accent-a); }
.ly-shop-wallet strong { color: #f0f8ff; font-size: .67rem; }
.ly-shop-side-card .btn { min-height: 34px; padding: .42rem .55rem; border-radius: 8px; font-size: .56rem; }
.ly-shop-profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin-top: .4rem; }
.ly-shop-profile-actions a { display: flex; align-items: center; justify-content: center; gap: .3rem; min-height: 34px; color: #a6b7c9 !important; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.05); border-radius: 8px; font-size: .54rem; text-decoration: none !important; }
.ly-shop-profile-actions a:hover { color: var(--ly5-accent-a) !important; border-color: rgba(105,236,255,.12); }
.ly-shop-side-card--guest { text-align: center; }
.ly-shop-side-card--guest .ly-shop-side-card__icon { width: 40px; height: 40px; display: grid; place-items: center; margin: 0 auto .45rem; color: var(--ly5-accent-a); background: rgba(105,236,255,.05); border-radius: 10px; }
.ly-shop-side-card--guest h3 { margin: 0 0 .25rem; color: #dce9f7; font-size: .72rem; }
.ly-shop-side-card--guest p { color: #70829a !important; font-size: .56rem; line-height: 1.45; }

/* Legacy shop goal/recent/top widgets become compact premium cards */
.ly-shop-sidebar > .card, .ly-shop-sidebar > .list-group,
#shop .col-xl-3 > .card, #shop .col-xl-3 > .list-group { margin-bottom: .65rem !important; border-radius: 12px !important; }
.ly-shop-sidebar .card-body { padding: .68rem !important; }
.ly-shop-sidebar .progress { height: 7px; background: rgba(255,255,255,.05); }
.ly-shop-sidebar .progress-bar { background: linear-gradient(90deg,var(--ly5-accent-a),var(--ly5-accent-b)); }
.ly-shop-sidebar .list-group-item { padding: .55rem .6rem; font-size: .57rem; }
.ly-shop-sidebar .list-group-item img { width: 38px !important; height: 38px !important; }

/* Product modal */
.ly-shop-modal .modal-dialog { max-width: 760px; }
.ly-product-modal { overflow: hidden; background: radial-gradient(circle at 80% 0, rgba(176,105,255,.09), transparent 16rem), linear-gradient(160deg,#0a1324,#060c18); border: 1px solid rgba(105,236,255,.13); border-radius: 15px; box-shadow: 0 28px 80px rgba(0,0,0,.5); }
.ly-product-modal .modal-header { padding: .85rem 1rem; border-color: rgba(255,255,255,.05); }
.ly-product-modal .modal-title { margin: .12rem 0 0; color: #f3f9ff; font-size: 1.08rem; }
.ly-product-modal .modal-body { padding: .9rem 1rem; }
.ly-product-modal__visual { height: 220px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle, rgba(105,236,255,.07), transparent 62%), rgba(255,255,255,.018); border: 1px solid rgba(255,255,255,.05); border-radius: 11px; }
.ly-product-modal__visual img { width: 100%; height: 100%; object-fit: cover; }
.ly-product-modal__visual .ly-product-modal__logo { width: 145px; height: 145px; object-fit: contain; opacity: .82; }
.ly-product-modal__trust { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin-top: .42rem; }
.ly-product-modal__trust span { display: inline-flex; align-items: center; justify-content: center; gap: .28rem; padding: .38rem; color: #72869f; background: rgba(255,255,255,.018); border: 1px solid rgba(255,255,255,.045); border-radius: 7px; font-size: .5rem; }
.ly-product-modal__trust i { color: var(--ly5-accent-a); }
.ly-product-modal__description { color: #8fa2ba; font-size: .68rem; line-height: 1.65; }
.ly-product-modal__description h1,.ly-product-modal__description h2,.ly-product-modal__description h3,.ly-product-modal__description h4 { color: #eef7ff; font-size: .9rem; }
.ly-product-modal__price { margin-top: .8rem; padding: .65rem .7rem; background: linear-gradient(135deg, rgba(105,236,255,.045), rgba(176,105,255,.04)); border: 1px solid rgba(105,236,255,.09); border-radius: 9px; }
.ly-product-modal__price small { display: block; color: #657990; font-size: .48rem; font-weight: 900; letter-spacing: .12em; }
.ly-product-modal__price del { margin-right: .38rem; color: #6f8197; font-size: .62rem; }
.ly-product-modal__price strong { color: var(--ly5-accent-a); font-size: 1rem; }
.ly-product-modal__footer { min-height: 60px; padding: .75rem 1rem; border-color: rgba(255,255,255,.05); }
.ly-product-buy-form { width: 100%; display: flex; align-items: end; justify-content: end; gap: .45rem; }
.ly-product-buy-form label { color: #72859c; font-size: .52rem; }
.ly-product-buy-form .form-control { width: 90px; min-height: 34px; margin-top: .2rem; font-size: .6rem; }
.ly-product-state { display: inline-flex; align-items: center; gap: .35rem; color: #889ab0; font-size: .62rem; }

/* Cart makeover without changing backend forms */
.ly-shop-cart .banner { margin-bottom: .55rem !important; }
.ly-cart-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: .4rem; margin-bottom: .8rem; }
.ly-cart-steps span { display: flex; align-items: center; gap: .4rem; padding: .52rem .6rem; color: #697c94; background: rgba(255,255,255,.018); border: 1px solid rgba(255,255,255,.045); border-radius: 8px; font-size: .55rem; font-weight: 750; }
.ly-cart-steps span.is-active { color: #dff8ff; background: rgba(105,236,255,.045); border-color: rgba(105,236,255,.10); }
.ly-cart-steps b { width: 19px; height: 19px; display: grid; place-items: center; margin-left: auto; background: rgba(255,255,255,.04); border-radius: 50%; font-size: .48rem; }
.ly-shop-cart .table--custom { overflow: hidden; background: rgba(8,16,30,.72); border: 1px solid rgba(105,236,255,.08); border-radius: 11px; }
.ly-shop-cart .table-header { color: #7488a1; background: rgba(105,236,255,.035); font-size: .52rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.ly-shop-cart .table-row { border-top-color: rgba(255,255,255,.045) !important; color: #b5c4d6; font-size: .61rem; }
.ly-shop-cart .table-row:hover { background: rgba(105,236,255,.025); }
.ly-shop-cart h5 { color: #dce8f6; font-size: .72rem; }
.ly-shop-cart .form-control { min-height: 36px; font-size: .61rem; }

/* nicer generic buttons in V5 */
.ly-shop .btn-primary, .ly-product-modal .btn-primary {
    color: #021017 !important;
    background: linear-gradient(100deg,var(--ly5-accent-a),#8bdcff 58%,#b998ff);
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(105,236,255,.08);
    font-weight: 800;
}
.ly-shop .btn-primary:hover, .ly-product-modal .btn-primary:hover { transform: translateY(-1px); filter: brightness(1.04); }

/* extra detail layer on cards/panels sitewide */
.lunerya-panel, .card, .ly-dashboard-card, .lunerya-feature-card { position: relative; }
.lunerya-panel::after, .ly-dashboard-card::after, .ly-shop-side-card::after {
    content: '';
    position: absolute;
    right: 9px;
    top: 9px;
    width: 7px;
    height: 7px;
    border-top: 1px solid rgba(105,236,255,.22);
    border-right: 1px solid rgba(105,236,255,.22);
    pointer-events: none;
    opacity: .65;
}

@media (max-width: 1199.98px) {
    .ly-shop-sidebar { position: static; }
    .ly-shop-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 991.98px) {
    .ly-shop-hero { grid-template-columns: 1fr; min-height: 0; }
    .ly-shop-hero__visual { position: absolute; right: -25px; top: 8px; width: 190px; height: 190px; opacity: .26; }
    .ly-shop-hero__copy { max-width: calc(100% - 70px); }
    .ly-shop-dashboard { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ly-shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ly-shop-benefits { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .lunerya-navbar--v5 .navbar-brand img { width: 40px !important; height: 40px !important; }
    .lunerya-brand-lockup__icon--remastered { width: 58px !important; height: 58px !important; }
    .ly-shop-hero { padding: 1.15rem; }
    .ly-shop-hero__copy { max-width: 100%; }
    .ly-shop-hero__visual { display: none; }
    .ly-shop-hero h1 { font-size: 1.75rem; }
    .ly-shop-dashboard { grid-template-columns: 1fr 1fr; }
    .ly-shop-category-grid { grid-template-columns: 1fr; }
    .ly-shop-category-header__mark { display: none; }
    .ly-shop-toolbar { grid-template-columns: 1fr 1fr; }
    .ly-shop-search { grid-column: 1 / -1; }
    .ly-shop-grid { grid-template-columns: 1fr 1fr; }
    .ly-product-card__media { height: 145px; }
    .ly-product-buy-form { align-items: stretch; flex-direction: column; }
    .ly-product-buy-form label, .ly-product-buy-form .form-control { width: 100%; }
    .ly-cart-steps { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .ly-shop-dashboard { grid-template-columns: 1fr; }
    .ly-shop-toolbar { grid-template-columns: 1fr; }
    .ly-shop-search { grid-column: auto; }
    .ly-shop-grid { grid-template-columns: 1fr; }
    .ly-product-card__media { height: 180px; }
    .ly-hub-trigger { right: 12px; bottom: 12px; width: 48px; height: 48px; }
    .ly-command-trigger { left: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .ly-shop-hero__logo, body.ly-immersion::before { animation: none !important; }
}
