/* Modern login screen in the ePlaza.pk style (emerald + orange on soft light). Loaded after login.css. */
:root {
    --lm-primary: #0f8d5f;
    --lm-primary-dark: #0a6e4a;
    --lm-deep: #073b2c;
    --lm-orange: #ff6a1a;
    --lm-bg: #f6f8f7;
    --lm-text: #0f172a;
    --lm-muted: #64748b;
    --lm-line: #e2e8f0;
}

html, body.auth-page { min-height: 100%; }

body.auth-page {
    height: auto;
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    color: var(--lm-text);
    background: var(--lm-bg);
    position: relative;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

/* ---------- soft background ---------- */
.lm-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lm-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; animation: lmFloat 20s ease-in-out infinite; }
.lm-blob.b1 { width: 520px; height: 520px; background: #a7e6c9; top: -180px; left: -140px; }
.lm-blob.b2 { width: 460px; height: 460px; background: #ffd2b3; bottom: -200px; right: -120px; animation-delay: -7s; opacity: .55; }
.lm-blob.b3 { width: 320px; height: 320px; background: #bfe9d6; top: 45%; left: 48%; animation-delay: -13s; opacity: .35; }
.lm-grid {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(15, 141, 95, .13) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 78%);
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 78%);
}
@keyframes lmFloat { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,30px) scale(.95); } }

/* ---------- unified card: left = shop / brand, right = login ---------- */
.shop-wrapper {
    position: relative; z-index: 1;
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(380px, 1fr);
    width: 100%;
    max-width: 1140px;
    min-height: 640px;
    margin: 0 auto !important;
    padding: 0 !important;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(7, 59, 44, .18), 0 0 0 1px rgba(15, 23, 42, .05);
    animation: lmRise .7s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes lmRise { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

.shop-wrapper > [class*="col-"] { float: none; width: auto; padding: 0; }

#login-section { margin: 0 !important; width: auto; max-width: none; background: #fff; grid-column: 2; grid-row: 1; display: flex; }
.auth-card { flex: 1; display: block; background: #fff; border-radius: 0; box-shadow: none; animation: none; }

/* ---------- left: ePlaza shop (shop enabled) ---------- */
#products-section {
    grid-column: 1; grid-row: 1;
    height: auto; border: 0;
    background: linear-gradient(180deg, #f1faf6 0%, #f6f8f7 100%);
    padding: 8px 28px 28px;
    border-right: 1px solid var(--lm-line);
    overflow: hidden;
}
#products-section .eplaza { max-width: 100% !important; }
#products-section .shop-message { color: var(--lm-primary-dark) !important; font-weight: 700; }
#products-section .shop-message.congrats { font-size: 17px !important; }
.visit-store-btn {
    background: var(--lm-orange) !important; color: #fff !important; border: 0 !important;
    border-radius: 10px !important; font-weight: 700; padding: 9px 18px;
    box-shadow: 0 8px 20px rgba(255, 106, 26, .35);
    transition: transform .15s, box-shadow .2s;
}
.visit-store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 106, 26, .45); }
#products-section .vendor_profile .cover-main { border-radius: 14px !important; box-shadow: 0 10px 28px rgba(7, 59, 44, .18); max-width: 100% !important; }
#products-section .img-thumbnail {
    border: 1px solid var(--lm-line); border-radius: 12px; background: #fff; padding: 8px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .05); transition: transform .2s, box-shadow .2s;
}
#products-section .img-thumbnail:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15, 141, 95, .18); }
#products-section .product-name { font-size: 12.5px; font-weight: 600; color: var(--lm-text); margin-top: 6px; }
#products-section .alert-info { background: #e7f6ef; color: var(--lm-primary-dark); border: 0; border-radius: 12px; }

/* ---------- left: brand panel (shop disabled) ---------- */
.lm-brand {
    grid-column: 1; grid-row: 1;
    position: relative; display: flex; flex-direction: column; justify-content: space-between;
    padding: 48px 46px; color: #fff; overflow: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .16), transparent 45%),
        radial-gradient(circle at 90% 95%, rgba(255, 106, 26, .28), transparent 40%),
        linear-gradient(150deg, var(--lm-primary) 0%, var(--lm-primary-dark) 55%, var(--lm-deep) 100%);
}
.lm-brand:before, .lm-brand:after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.lm-brand:before { width: 340px; height: 340px; right: -130px; bottom: -130px; }
.lm-brand:after { width: 190px; height: 190px; right: 70px; top: -80px; }
.lm-brand > * { position: relative; z-index: 1; }

.lm-logo { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; letter-spacing: .2px; }
.lm-logo-mark {
    width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3); display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
}
.lm-pill {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 30px;
    padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
}
.lm-headline { font-size: 36px; line-height: 1.12; font-weight: 800; margin: 16px 0 12px; letter-spacing: -.6px; }
.lm-headline em { font-style: normal; color: #ffb27d; }
.lm-sub { font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .85); max-width: 420px; margin: 0 0 24px; }
.lm-features { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lm-features li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.lm-features li i {
    width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: rgba(255, 255, 255, .15);
    display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.lm-cta {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 10px;
    background: var(--lm-orange); color: #fff !important; font-weight: 700; text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(255, 106, 26, .4); transition: transform .15s, box-shadow .2s;
}
.lm-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 106, 26, .5); }
.lm-foot { font-size: 12px; color: rgba(255, 255, 255, .65); margin-top: 28px; }

/* ---------- right: form side ---------- */
.auth-card .page-back { min-height: 0; overflow: visible; padding: 52px 44px 36px; background: #fff; }
.auth-card .page-back > .text-center img { width: auto !important; max-width: 150px; max-height: 64px; margin-bottom: 18px !important; }
.auth-card .container { width: 100%; padding: 0; }
.auth-card .login-content { padding: 0; }
.auth-card .col-sm-12, .auth-card .col-sm-6 { padding-left: 0; padding-right: 0; }
.auth-card .reg-content .col-sm-6 { padding-left: 8px; padding-right: 8px; }
.auth-card .div-title { margin-bottom: 22px; }
.auth-card .div-title h3, .auth-card h3.text-primary { font-size: 26px; font-weight: 800; letter-spacing: -.4px; color: var(--lm-text) !important; }
.auth-card .div-title h3:after { content: ''; display: block; width: 44px; height: 4px; margin-top: 10px; border-radius: 4px; background: linear-gradient(90deg, var(--lm-primary), var(--lm-orange)); }
.auth-card p { color: var(--lm-muted); font-size: 14px; }

/* inputs */
.auth-card .textbox-wrap, .auth-card .form-group { margin-bottom: 16px; }
.auth-card label { font-weight: 600; font-size: 13px; color: #334155; }

.auth-card .input-group {
    display: flex;
    width: 100%;
    border: 1.5px solid var(--lm-line);
    border-radius: 12px;
    background: #f8fafc;
    transition: border-color .2s, box-shadow .2s, background .2s;
    overflow: hidden;
}

.auth-card .input-group:focus-within {
    border-color: var(--lm-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 141, 95, .15);
}

.auth-card .input-group .input-group-addon {
    display: flex; align-items: center; justify-content: center;
    width: auto; min-width: 46px;
    border: 0 !important;
    background: transparent !important;
    color: #94a3b8;
    padding: 0 14px;
    font-size: 15px;
}

.auth-card .input-group:focus-within .input-group-addon { color: var(--lm-primary); }

.auth-card .input-group .form-control {
    flex: 1 1 auto;
    float: none;
    width: 100%;
    height: 48px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 12px 0 0;
    font-size: 15px;
    color: var(--lm-text);
}

.auth-card .input-group .form-control::placeholder { color: #94a3b8; }
.auth-card #togglePassword { cursor: pointer; transition: color .2s; }
.auth-card #togglePassword:hover { color: var(--lm-primary); }

/* captcha */
.auth-card .div-captcha-left img { max-width: 100%; border-radius: 10px; border: 1.5px solid var(--lm-line); }

/* actions */
.auth-card .form-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    float: none !important;
    width: 100%;
}

.auth-card .form-action .pull-left,
.auth-card .form-action .pull-right { float: none !important; }

.auth-card .checkbox { margin: 0; }
.auth-card .checkbox label, .auth-card .checkbox-text label { font-weight: 500; color: var(--lm-muted); font-size: 13px; cursor: pointer; margin: 0 0 0 4px; }

.auth-card .btn { border: 0; border-radius: 12px; font-weight: 700; letter-spacing: .2px; transition: transform .15s, box-shadow .2s, filter .2s; }

.auth-card .btn.btn-success,
.auth-card .btn.btn-primary {
    color: #fff;
    padding: 12px 26px;
    font-size: 15px;
    background: linear-gradient(135deg, var(--lm-primary), var(--lm-primary-dark));
    box-shadow: 0 10px 24px rgba(15, 141, 95, .38);
}

.auth-card .btn.btn-success:hover,
.auth-card .btn.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 14px 30px rgba(15, 141, 95, .5);
}

.auth-card .btn:active { transform: translateY(0); }
.auth-card .login_link.btn.btn-success { background: #e7f6ef; color: var(--lm-primary); box-shadow: none; }

/* login button full width on the main login form */
.auth-card #twofactor { min-width: 150px; }

/* links boxes */
.auth-card .login-form-links {
    margin: 22px 0 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px dashed var(--lm-line);
    text-align: center;
    font-size: 13px;
    color: var(--lm-muted);
}

.auth-card .login-form-links h4 { font-size: 15px; font-weight: 700; margin: 0 0 4px; color: var(--lm-text) !important; }
.auth-card .login-form-links a { color: var(--lm-primary) !important; font-weight: 700; }
.auth-card .login-form-links a:hover { text-decoration: underline; }
.auth-card .login-form-links hr { border-color: var(--lm-line); }
.auth-card .login-form-links h3 { font-size: 15px !important; color: var(--lm-text); }

/* app blocks */
.auth-card .app-block { margin-bottom: 12px; color: var(--lm-text); font-weight: 600; font-size: 13px; }
.auth-card .store-buttons { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.auth-card .store-buttons img { height: 38px; width: auto; border-radius: 8px; box-shadow: 0 2px 8px rgba(15, 23, 42, .15); transition: transform .2s; }
.auth-card .store-buttons a:hover img { transform: translateY(-2px); }

/* alerts */
.auth-card .alert {
    border: 0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 14px;
    margin-bottom: 18px;
}

.auth-card .alert-danger { background: #fef2f2; color: #b91c1c; border-left: 4px solid #ef4444; }
.auth-card .alert-success { background: #f0fdf4; color: #15803d; border-left: 4px solid #22c55e; }
.auth-card .alert-info { background: #eff6ff; color: #1d4ed8; border-left: 4px solid #3b82f6; }
.auth-card .alert-warning { background: #fffbeb; color: #b45309; border-left: 4px solid #f59e0b; }
.auth-card .alert .list-group { margin: 0; padding: 0; list-style: none; }
.auth-card .alert .list-group li, .auth-card .alert .list-group { background: transparent; border: 0; }

/* registration form */
.auth-card .reg-content { padding: 0; }
.auth-card .reg-content .form-control { height: 44px; border-radius: 10px; border: 1.5px solid var(--lm-line); }

/* store panel tweaks */
.visit-store-btn { border-radius: 999px !important; }

/* ---------- fixes: legacy theme overrides ---------- */
.auth-card, .auth-card .page-back, .auth-card .container, .auth-card #login, .auth-card #two_factor,
.auth-card #forgot_password, .auth-card #register { background: #fff !important; }
.auth-card .page-back { border: 0 !important; box-shadow: none !important; margin: 0 !important; width: auto !important; }
.auth-card .div-title, .auth-card .div-title h3 { text-align: left !important; float: none; width: 100%; }
.auth-card .login-form-div { font-size: inherit; font-weight: normal; color: inherit; margin-bottom: 0; }
.auth-card .form-action.col-sm-12 { padding: 0; }
.auth-card .login-form-links { margin-left: 0 !important; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
    body.auth-page { padding: 16px 12px; align-items: flex-start; }
    .shop-wrapper { grid-template-columns: 1fr; min-height: 0; max-width: 520px; }
    #login-section { grid-column: 1; grid-row: 1; }
    #products-section { grid-row: 2; border-right: 0; border-top: 1px solid var(--lm-line); }
    .lm-brand { grid-row: 2; padding: 32px 26px; }
    .lm-headline { font-size: 28px; }
    .lm-features { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .auth-card .page-back { padding: 32px 22px 24px; }
    .auth-card .form-action { flex-direction: column-reverse; align-items: stretch; }
    .auth-card #twofactor, .auth-card .form-action .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .lm-blob, .shop-wrapper { animation: none; } }

/* ---------- small refinements ---------- */
#products-section .eplaza { background: transparent !important; box-shadow: none !important; border: 0 !important; }
.auth-card .checkbox-text label { white-space: nowrap; }
.auth-card .form-action .checkbox { flex: 0 0 auto; }

/* ---------- app download block (left side) ---------- */
.lm-apps { margin-top: 26px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--lm-line); box-shadow: 0 4px 16px rgba(15, 23, 42, .05); }
.lm-apps-title { margin: 0 0 14px !important; font-size: 14px !important; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: var(--lm-primary-dark); text-align: left; }
.lm-apps-title i { margin-right: 6px; }
.lm-apps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.lm-apps .app-block { margin: 0; text-align: left; padding: 10px 12px; border-radius: 12px; background: #f6f8f7; color: var(--lm-text); }
.lm-apps .app-block strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--lm-text); margin-bottom: 6px; }
.lm-apps .store-buttons { display: flex; gap: 8px; justify-content: flex-start; margin: 0; }
.lm-apps .store-buttons img { height: 32px; width: auto; border-radius: 6px; box-shadow: 0 2px 6px rgba(15, 23, 42, .15); transition: transform .2s; }
.lm-apps .store-buttons a:hover img { transform: translateY(-2px); }

/* on the dark brand panel */
.lm-brand .lm-apps { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); box-shadow: none; backdrop-filter: blur(6px); margin-top: 22px; }
.lm-brand .lm-apps-title { color: #fff; }
.lm-brand .lm-apps .app-block { background: rgba(255, 255, 255, .1); }
.lm-brand .lm-apps .app-block strong { color: #fff; }

@media (max-width: 480px) { .lm-apps-grid { grid-template-columns: 1fr; } }

/* ---------- full-screen layout ---------- */
body.auth-page { display: block; padding: 0; }
.shop-wrapper {
    max-width: none; width: 100%; min-height: 100vh;
    border-radius: 0; box-shadow: none; animation: none;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 38%);
}
.lm-brand { padding: 56px clamp(32px, 6vw, 96px); justify-content: space-between; }
.lm-brand .lm-sub { max-width: 520px; }
.lm-headline { font-size: clamp(34px, 3.4vw, 52px); }
#products-section { padding: 16px clamp(24px, 5vw, 80px) 40px; display: flex; flex-direction: column; justify-content: center; }
#login-section { align-items: center; justify-content: center; }
.auth-card { width: 100%; max-width: 480px; margin: 0 auto; align-self: center; }
.auth-card .page-back { padding: 40px clamp(24px, 4vw, 48px); }
@media (max-width: 991px) {
    .shop-wrapper { grid-template-columns: 1fr; max-width: none; }
    .auth-card { max-width: 520px; }
}

/* ---------- title on one line, autofill, button shape ---------- */
.auth-card .div-title h3, .auth-card h3.text-primary {
    font-size: clamp(20px, 2vw, 25px) !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.auth-card .input-group input:-webkit-autofill,
.auth-card .input-group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 40px #f8fafc inset !important;
    box-shadow: 0 0 0 40px #f8fafc inset !important;
    -webkit-text-fill-color: var(--lm-text) !important;
}
.auth-card .btn, .auth-card .btn.btn-success, .auth-card .btn.btn-primary { border-radius: 12px !important; }

/* ---------- ePlaza shop panel (shop enabled) ---------- */
#products-section { justify-content: flex-start; padding: 0; background: linear-gradient(180deg, #eef9f3 0%, #f6f8f7 40%); }
#confettiWrapper { position: relative; flex: 1; }
#products-section { display: flex; flex-direction: column; }
.lm-shop { max-width: 920px; margin: 0 auto; padding: clamp(24px, 3.5vw, 48px) clamp(24px, 5vw, 72px) 8px; position: relative; z-index: 1; }
.lm-shop-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.lm-shop-brand { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
a.visit-store-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important; white-space: nowrap; }

.lm-hero {
    position: relative; min-height: 190px; border-radius: 20px; overflow: hidden; margin-bottom: 30px;
    background: linear-gradient(135deg, var(--lm-primary) 0%, var(--lm-primary-dark) 50%, var(--lm-deep) 100%) center/cover no-repeat;
    box-shadow: 0 18px 40px rgba(7, 59, 44, .22);
}
.lm-hero:before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -70px; top: -90px; background: rgba(255, 255, 255, .1); }
.lm-hero:after { content: ''; position: absolute; width: 140px; height: 140px; border-radius: 50%; right: 120px; bottom: -70px; background: rgba(255, 106, 26, .35); }
.lm-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 30, 22, .72) 0%, rgba(3, 30, 22, 0) 62%); }
.lm-hero-body { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: center; gap: 16px; z-index: 1; color: #fff; }
.lm-hero-logo { width: 68px; height: 68px; border-radius: 16px; object-fit: cover; background: #fff; border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); flex: 0 0 68px; }
.lm-hero-initial { display: inline-flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: var(--lm-primary); }
.lm-hero-name { margin: 0 0 4px !important; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.lm-hero-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #d8f6e8; }
.lm-hero-live i { color: #4ade80; font-size: 8px; animation: lmPulse 1.6s ease-in-out infinite; }
@keyframes lmPulse { 50% { opacity: .35; transform: scale(1.5); } }

.lm-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.lm-section-head h4 { margin: 0; font-size: 18px; font-weight: 800; color: var(--lm-text); letter-spacing: -.2px; }
.lm-section-head span { font-size: 12.5px; font-weight: 600; color: var(--lm-muted); background: #fff; border: 1px solid var(--lm-line); border-radius: 999px; padding: 3px 12px; }

.lm-grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.lm-card { background: #fff; border: 1px solid var(--lm-line); border-radius: 16px; overflow: hidden; transition: transform .2s, box-shadow .25s, border-color .2s; }
.lm-card:hover { transform: translateY(-4px); border-color: #b8e6d1; box-shadow: 0 16px 32px rgba(15, 141, 95, .16); }
.lm-card-img { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(135deg, #eef9f3, #e4f3ec); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.lm-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.lm-card:hover .lm-card-img img { transform: scale(1.06); }
.lm-card-ph { font-size: 34px; color: #a9d9c2; }
.lm-card-body { padding: 12px 14px 14px; }
.lm-card-name { margin: 0 0 6px !important; font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--lm-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 35px; }
.lm-card-price { font-size: 15px; font-weight: 800; color: var(--lm-primary-dark); }
.lm-card-price small { font-size: 10.5px; font-weight: 700; color: var(--lm-muted); letter-spacing: .4px; }

/* no pictures yet */
.lm-empty { text-align: center; padding: 40px 24px 44px; border-radius: 20px; background: #fff; border: 2px dashed #b8e6d1; }
.lm-empty-tiles { display: inline-flex; gap: 12px; margin-bottom: 18px; }
.lm-empty-tiles span { width: 62px; height: 62px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; color: var(--lm-primary); background: linear-gradient(135deg, #eef9f3, #d9f1e5); box-shadow: 0 8px 18px rgba(15, 141, 95, .14); animation: lmBob 3s ease-in-out infinite; }
.lm-empty-tiles span:nth-child(2) { transform: translateY(-10px); animation-delay: -1s; color: var(--lm-orange); background: linear-gradient(135deg, #fff3ea, #ffe2cc); }
.lm-empty-tiles span:nth-child(3) { animation-delay: -2s; }
@keyframes lmBob { 50% { margin-top: -8px; } }
.lm-empty h5 { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--lm-text); }
.lm-empty p { max-width: 380px; margin: 0 auto 20px; font-size: 14px; line-height: 1.6; color: var(--lm-muted); }
.lm-empty-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 12px; background: linear-gradient(135deg, var(--lm-primary), var(--lm-primary-dark)); color: #fff !important; font-weight: 700; text-decoration: none !important; box-shadow: 0 10px 22px rgba(15, 141, 95, .32); transition: transform .15s; }
.lm-empty-btn:hover { transform: translateY(-2px); }

/* apps block sits at the bottom of the shop panel */
#products-section .lm-apps { max-width: 920px; width: calc(100% - 2 * clamp(24px, 5vw, 72px)); margin: 28px auto clamp(24px, 3vw, 40px); }
@media (max-width: 480px) { .lm-grid-products { grid-template-columns: repeat(2, 1fr); gap: 12px; } .lm-hero-name { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .lm-empty-tiles span, .lm-hero-live i { animation: none; } }

/* ---------- compact shop panel + login lifted up ---------- */
.lm-shop { max-width: 760px; padding: clamp(18px, 2.5vw, 30px) clamp(20px, 4vw, 48px) 4px; }
.lm-shop-head { margin-bottom: 16px; }
.lm-shop-brand { height: 32px; }
a.visit-store-btn { padding: 7px 14px !important; font-size: 13px; border-radius: 9px !important; }
.lm-hero { min-height: 120px; border-radius: 16px; margin-bottom: 18px; }
.lm-hero-body { left: 16px; right: 16px; bottom: 14px; gap: 12px; }
.lm-hero-logo { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; border-width: 2px; }
.lm-hero-initial { font-size: 22px; }
.lm-hero-name { font-size: 17px; }
.lm-hero-live { font-size: 11.5px; }
.lm-section-head { margin-bottom: 10px; }
.lm-section-head h4 { font-size: 15px; }
.lm-grid-products { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.lm-card { border-radius: 12px; }
.lm-card-body { padding: 8px 10px 10px; }
.lm-card-name { font-size: 11.5px; min-height: 31px; margin-bottom: 3px !important; }
.lm-card-price { font-size: 12.5px; }
.lm-card-price small { font-size: 9.5px; }
.lm-empty { padding: 24px 18px 26px; }
.lm-empty-tiles span { width: 48px; height: 48px; font-size: 19px; border-radius: 14px; }
#products-section .lm-apps { max-width: 760px; width: calc(100% - 2 * clamp(20px, 4vw, 48px)); margin: 16px auto 20px; padding: 12px 14px; }
.lm-apps-title { margin-bottom: 8px !important; font-size: 12px !important; }
.lm-apps .app-block { padding: 7px 10px; }
.lm-apps .store-buttons img { height: 26px; }

/* login block higher on the page */
#login-section { align-items: flex-start; }
.auth-card { align-self: flex-start; margin-top: clamp(16px, 7vh, 72px); }
.auth-card .page-back { padding-top: 24px; }

/* ---------- smaller cards + monogram placeholder (products without a picture) ---------- */
.lm-shop { max-width: 640px; }
#products-section .lm-apps { max-width: 640px; }
.lm-grid-products { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.lm-card { border-radius: 10px; }
.lm-card-img { aspect-ratio: 1 / 1; background: #eef2f0; }
.lm-card-body { padding: 5px 7px 7px; }
.lm-card-name { font-size: 10.5px; min-height: 0; -webkit-line-clamp: 1; margin-bottom: 1px !important; }
.lm-card-price { font-size: 11px; }
.lm-card-price small { font-size: 8.5px; }
.lm-card:hover { transform: translateY(-2px); }

.lm-mono { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; }
.lm-mono:before, .lm-mono:after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.lm-mono:before { width: 70%; height: 70%; right: -22%; top: -24%; }
.lm-mono:after { width: 48%; height: 48%; left: -14%; bottom: -16%; background: rgba(255, 255, 255, .12); }
.lm-mono b { position: relative; z-index: 1; font-size: 24px; font-weight: 800; letter-spacing: .5px; text-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.lm-mono i { position: absolute; z-index: 1; right: 5px; bottom: 5px; font-size: 9px; opacity: .65; }

/* ---------- download area exactly as wide as the shop content ---------- */
#products-section { --lm-pad: clamp(20px, 4vw, 48px); --lm-col: 640px; }
.lm-shop { max-width: var(--lm-col); padding-left: var(--lm-pad); padding-right: var(--lm-pad); box-sizing: border-box; }
#products-section .lm-apps {
    box-sizing: border-box;
    width: min(calc(100% - 2 * var(--lm-pad)), calc(var(--lm-col) - 2 * var(--lm-pad)));
    max-width: none;
    margin-left: auto; margin-right: auto;
}
