:root {
    --theme-primary: #0056D2;
    --theme-secondary: #00113D;

    --theme-accent: #FF4C3B;
    --theme-accent-dark: color-mix(in srgb, var(--theme-accent) 84%, #000000);

    --theme-primary-soft: color-mix(in srgb, var(--theme-primary) 12%, #ffffff);
    --theme-primary-softer: color-mix(in srgb, var(--theme-primary) 7%, #ffffff);
    --theme-primary-dark: color-mix(in srgb, var(--theme-primary) 82%, #000000);

    --lms-bg: #ffffff;
    --lms-surface: #f1f5fd;
    --lms-surface-2: #e3ebf9;
    --lms-ink: #0b1220;
    --lms-heading: #22304E;
    --lms-price: #EC5A47;
    --lms-ink-soft: #52606d;
    --lms-ink-faint: #8792a3;
    --lms-border: #dde4f0;
    --lms-dark: #0C2150;
    --lms-dark-2: #143069;

    --lms-radius-sm: 10px;
    --lms-radius: 16px;
    --lms-radius-lg: 22px;
    --lms-radius-pill: 999px;
    --lms-shadow-sm: 0 2px 10px rgba(0, 17, 61, .06);
    --lms-shadow: 0 12px 30px rgba(0, 17, 61, .08);
    --lms-shadow-lg: 0 26px 60px rgba(0, 17, 61, .16);
    --lms-ring: 0 0 0 4px color-mix(in srgb, var(--theme-primary) 18%, transparent);

    --lms-success: #16a34a;
    --lms-success-soft: color-mix(in srgb, #16a34a 11%, #ffffff);

    --lms-star: #f6a609;
    --lms-header-h: 76px;
    --lms-font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

html body { font-family: var(--lms-font); }

.btn-lms {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--lms-font);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1;
    padding: .85rem 1.6rem;
    border-radius: var(--lms-radius-pill);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn-lms:focus-visible { outline: none; box-shadow: var(--lms-ring); }
.btn-lms:hover { transform: translateY(-2px); text-decoration: none; }

.btn-lms-primary { background: var(--theme-accent); color: #fff; box-shadow: 0 3px 10px color-mix(in srgb, var(--theme-accent) 18%, transparent); }
.btn-lms-primary:hover { background: var(--theme-accent-dark); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--theme-accent) 26%, transparent); }

.btn-lms-outline { background: transparent; color: var(--theme-accent); border-color: color-mix(in srgb, var(--theme-accent) 45%, transparent); }
.btn-lms-outline:hover { background: var(--theme-accent); color: #fff; border-color: var(--theme-accent); }

.btn-lms-light { background: #fff; color: var(--lms-ink); border-color: var(--lms-border); box-shadow: var(--lms-shadow-sm); }
.btn-lms-light:hover { color: var(--theme-accent); border-color: color-mix(in srgb, var(--theme-accent) 40%, transparent); }

.btn-lms-ghost { background: color-mix(in srgb, #fff 12%, transparent); color: #fff; border-color: color-mix(in srgb, #fff 35%, transparent); }
.btn-lms-ghost:hover { background: #fff; color: var(--lms-ink); }

.btn-lms-sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn-lms-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn-lms-block { width: 100%; }

.lms-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--lms-border);
    background: #fff;
    color: var(--lms-ink);
    font-size: 1.15rem;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.lms-icon-btn:hover { color: var(--theme-primary); border-color: color-mix(in srgb, var(--theme-primary) 40%, transparent); transform: translateY(-2px); }
.lms-icon-btn .lms-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: var(--lms-radius-pill);
    background: var(--theme-accent);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lms-section { padding: 84px 0; }
.lms-section-tight { padding: 56px 0; }
.lms-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--theme-primary);
    margin-bottom: .75rem;
}
.lms-section-title { font-family: var(--lms-font); font-weight: 700; color: var(--lms-heading); font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.15; margin: 0; }
.lms-section-sub { color: var(--lms-ink-soft); font-size: 1.02rem; margin-top: .6rem; }

/* Section heading + action row — used by the home sections, course details and event pages. */
.lms-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.lms-head__text { max-width: 620px; }
@media (max-width: 767.98px) { .lms-head { flex-direction: column; align-items: flex-start; gap: 1rem; } }

.lms-breadcrumb__list {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
    list-style: none; margin: 0; padding: 0;
    font-size: .88rem; font-weight: 600; color: var(--lms-ink-faint);
}
.lms-breadcrumb__item { display: inline-flex; align-items: center; gap: .5rem; }
.lms-breadcrumb__item + .lms-breadcrumb__item::before { content: "/"; color: var(--lms-border); }
.lms-breadcrumb__item a { color: var(--lms-ink-soft); text-decoration: none; transition: color .16s ease; }
.lms-breadcrumb__item a:hover { color: var(--theme-primary); text-decoration: none; }
.lms-breadcrumb__item[aria-current="page"] span { color: var(--theme-primary); }

.lms-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid var(--lms-border);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lms-header__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    height: var(--lms-header-h);
}
.lms-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.lms-brand img { max-height: 40px; width: auto; }

.lms-nav { display: flex; align-items: center; gap: .35rem; margin: 0 auto 0 1rem; }
.lms-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .55rem .85rem;
    border-radius: var(--lms-radius-sm);
    color: var(--lms-ink);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: color .16s ease, background .16s ease;
    cursor: pointer;
}
.lms-nav__link:hover,
.lms-nav__link.is-active { color: var(--theme-primary); text-decoration: none; }

.lms-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.lms-actions__auth { display: flex; align-items: center; gap: .5rem; }

.lms-dropdown { position: relative; }
.lms-dropdown__panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--lms-border);
    border-radius: var(--lms-radius);
    box-shadow: var(--lms-shadow-lg);
    padding: .5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 40;
}
.lms-dropdown__panel--right { left: auto; right: 0; }
.lms-dropdown.is-open > .lms-dropdown__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.lms-dropdown__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem .75rem;
    border-radius: var(--lms-radius-sm);
    color: var(--lms-ink-soft);
    font-weight: 500;
    font-size: .88rem;
    text-decoration: none;
}
.lms-dropdown__item:hover { background: var(--theme-primary-softer); color: var(--theme-primary); text-decoration: none; }
.lms-dropdown__item > span { display: inline-flex; align-items: center; gap: .6rem; }
.lms-dropdown__item .bi { font-size: 1rem; color: var(--lms-ink-faint); }
.lms-dropdown__item:hover .bi { color: var(--theme-primary); }
.lms-dropdown__head { padding: .5rem .75rem; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lms-ink-faint); font-weight: 600; }
.lms-dropdown__divider { height: 1px; background: var(--lms-border); margin: .4rem 0; }
.lms-dropdown__item.is-active { color: var(--theme-primary); font-weight: 600; }
.lms-dropdown__item.is-active .bi { color: var(--theme-primary); }

.lms-lang-btn {
    width: auto;
    gap: .4rem;
    padding: 0 .85rem;
    border-radius: var(--lms-radius-pill);
    font-size: .95rem;
    text-decoration: none;
}
.lms-lang-btn:hover { text-decoration: none; }
.lms-lang-btn__flag { font-size: 1.05rem; line-height: 1; }
.lms-lang-btn__code { font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.lms-lang-btn .bi-chevron-down { font-size: .7rem; transition: transform .18s ease; }
.lms-dropdown.is-open > .lms-lang-btn .bi-chevron-down { transform: rotate(180deg); }

.lms-cat { position: relative; }
.lms-cat__sub {
    position: absolute;
    top: -0.5rem;
    left: 100%;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--lms-border);
    border-radius: var(--lms-radius);
    box-shadow: var(--lms-shadow-lg);
    padding: .5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.lms-cat:hover > .lms-cat__sub { opacity: 1; visibility: visible; transform: translateX(0); }
.lms-cat > .lms-dropdown__item .bi-chevron-right { color: var(--lms-ink-faint); font-size: .8rem; }

.lms-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lms-border); }

.lms-header.is-scrolled { box-shadow: var(--lms-shadow-sm); }

.lms-burger { display: none; }
.lms-mobile-only { display: none; }

.lms-search-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(8, 12, 20, .55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12vh 1rem 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
.lms-search-modal.is-open { opacity: 1; visibility: visible; }
.lms-search-modal__box { width: min(680px, 100%); background: #fff; border-radius: var(--lms-radius); box-shadow: var(--lms-shadow-lg); padding: 1rem; transform: translateY(-14px); transition: transform .2s ease; }
.lms-search-modal.is-open .lms-search-modal__box { transform: translateY(0); }
.lms-search-row { display: flex; gap: .5rem; align-items: center; }
.lms-search-row .lms-field { border-color: var(--lms-border); }
@media (max-width: 480px) { .lms-search-row { flex-wrap: wrap; } .lms-search-row .lms-field { flex: 1 1 100%; } }

.lms-offcanvas__actions { display: grid; gap: .6rem; margin-top: 1.5rem; }

.lms-field {
    width: 100%;
    height: 54px;
    padding: 0 1.1rem;
    border-radius: var(--lms-radius-pill);
    border: 1.5px solid var(--lms-border);
    background: #fff;
    color: var(--lms-ink);
    font-size: 1rem;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.lms-field:focus { outline: none; border-color: color-mix(in srgb, var(--theme-primary) 55%, transparent); box-shadow: var(--lms-ring); }
.lms-field--sm { height: 44px; font-size: .92rem; border-radius: var(--lms-radius-sm); }
.lms-textarea { height: auto; padding: .9rem 1.1rem; border-radius: var(--lms-radius-sm); line-height: 1.6; resize: vertical; }

select.lms-field {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 14px 14px;
    padding-right: 2.6rem;
}

/* Form fields, checkboxes and alerts — shared by the auth screens and the panels. */
.lms-field-group { display: grid; gap: .4rem; }
.lms-label { font-size: .85rem; font-weight: 700; color: var(--lms-ink); }
.lms-label span { color: var(--lms-ink-faint); font-weight: 600; }

.lms-input { position: relative; display: flex; align-items: center; }
.lms-input > .bi {
    position: absolute; left: 1rem; font-size: 1rem; color: var(--lms-ink-faint); pointer-events: none;
}
.lms-input__control {
    width: 100%; height: 52px;
    padding: 0 1rem 0 2.75rem;
    border: 1.5px solid var(--lms-border);
    border-radius: var(--lms-radius-sm);
    background: var(--lms-bg);
    color: var(--lms-ink);
    font-family: var(--lms-font);
    font-size: .98rem;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.lms-input__control::placeholder { color: var(--lms-ink-faint); }
.lms-input__control:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--theme-primary) 55%, transparent);
    box-shadow: var(--lms-ring);
}
.lms-input__control.is-invalid { border-color: var(--theme-accent); }
.lms-input__toggle {
    position: absolute; right: .5rem;
    width: 38px; height: 38px; border: none; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: var(--lms-ink-faint); cursor: pointer;
    transition: color .16s ease, background .16s ease;
}
.lms-input__toggle:hover { color: var(--theme-primary); background: var(--theme-primary-softer); }
.lms-field-error { margin: 0; font-size: .82rem; font-weight: 600; color: var(--theme-accent); }
.lms-field-hint { margin: 0; font-size: .8rem; color: var(--lms-ink-faint); }

.lms-check { display: inline-flex; align-items: flex-start; gap: .55rem; font-size: .88rem; color: var(--lms-ink-soft); cursor: pointer; margin: 0; font-weight: 500; }
.lms-check input {
    width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 auto;
    accent-color: var(--theme-primary); cursor: pointer;
}
.lms-check a { color: var(--theme-primary); text-decoration: none; font-weight: 600; }
.lms-check a:hover { text-decoration: underline; color: var(--theme-primary); }

.lms-alert {
    display: flex; align-items: flex-start; gap: .65rem;
    padding: .85rem 1rem;
    border-radius: var(--lms-radius-sm);
    border: 1px solid var(--lms-border);
    background: var(--lms-surface);
    font-size: .9rem; line-height: 1.5;
    color: var(--lms-ink-soft);
}
.lms-alert .bi { font-size: 1rem; line-height: 1.35; }
.lms-alert a { color: inherit; font-weight: 700; text-decoration: underline; }
.lms-alert--success { background: color-mix(in srgb, #16a34a 8%, #fff); border-color: color-mix(in srgb, #16a34a 30%, transparent); color: #15803d; }
.lms-alert--error { background: color-mix(in srgb, var(--theme-accent) 8%, #fff); border-color: color-mix(in srgb, var(--theme-accent) 30%, transparent); color: var(--theme-accent-dark); }
.lms-alert--info { background: var(--theme-primary-softer); border-color: color-mix(in srgb, var(--theme-primary) 25%, transparent); color: var(--theme-primary); }

.lms-course-card {
    position: relative;
    display: flex; flex-direction: column; height: 100%;
    background: #fff; border: 1px solid var(--lms-border); border-radius: var(--lms-radius);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.lms-course-card:hover { transform: translateY(-6px); box-shadow: var(--lms-shadow); border-color: transparent; }
.lms-course-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--lms-surface-2); }
.lms-course-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lms-course-card:hover .lms-course-card__img { transform: scale(1.07); }
.lms-course-card__badges { position: absolute; top: .8rem; left: .8rem; display: flex; flex-wrap: wrap; gap: .4rem; z-index: 2; }
.lms-badge-chip { font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .55rem; border-radius: 7px; color: #fff; background: var(--lms-ink); }
.lms-badge-chip--featured { background: var(--theme-primary); }
.lms-badge-chip--cat { background: rgba(13, 18, 32, .78); backdrop-filter: blur(3px); }
.lms-course-card__tools { position: absolute; top: .7rem; right: .7rem; z-index: 2; display: grid; gap: .4rem; }
.lms-course-card__tool {
    width: 38px; height: 38px; border-radius: 50%; border: none;
    background: rgba(255, 255, 255, .94); color: var(--lms-ink);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
    cursor: pointer; box-shadow: var(--lms-shadow-sm);
    transition: color .16s ease, background .16s ease, transform .16s ease;
}
.lms-course-card__tool:hover { background: #fff; color: var(--theme-primary); transform: scale(1.08); }

.lms-course-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.1rem 0; }
.lms-course-card__meta { display: flex; align-items: center; gap: .8rem; font-size: .8rem; color: var(--lms-ink-soft); margin-bottom: .55rem; }
.lms-course-card__meta i { color: var(--theme-primary); }
.lms-course-card__level { margin-left: auto; font-weight: 700; color: var(--theme-primary); background: var(--theme-primary-soft); padding: .18rem .5rem; border-radius: 6px; font-size: .72rem; }
.lms-course-card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin: 0 0 .5rem; }
.lms-course-card__title a { color: var(--lms-heading); text-decoration: none; }
.lms-course-card__title a:hover { color: var(--theme-primary); }
.lms-course-card__desc { color: var(--lms-ink-soft); font-size: .88rem; line-height: 1.55; margin: 0 0 .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lms-course-card__rating { display: flex; align-items: center; gap: .4rem; font-size: .84rem; color: var(--lms-ink-soft); margin-top: auto; padding-top: .9rem; }
.lms-course-card__stars { color: var(--lms-star); letter-spacing: 1px; }
.lms-course-card__rating b { color: var(--lms-ink); }

.lms-course-card__footer {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: .9rem 1.1rem; margin-top: .9rem;
    border-top: 1px solid var(--lms-border);
}
.lms-course-card__price { display: flex; align-items: baseline; gap: .45rem; }
.lms-course-card__price .now { font-size: 1.25rem; font-weight: 700; color: var(--lms-price); }
.lms-course-card__price .now--free { color: #16a34a; }
.lms-course-card__price .was { font-size: .85rem; color: var(--lms-ink-faint); text-decoration: line-through; }

.lms-offcanvas-backdrop {
    position: fixed; inset: 0; z-index: 1090;
    background: rgba(8, 12, 20, .5);
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.lms-offcanvas-backdrop.is-open { opacity: 1; visibility: visible; }
.lms-offcanvas {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100;
    width: min(340px, 88vw);
    background: #fff;
    box-shadow: var(--lms-shadow-lg);
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    display: flex; flex-direction: column;
    overflow-y: auto;
}
.lms-offcanvas.is-open { transform: translateX(0); }
.lms-offcanvas__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--lms-border); }
.lms-offcanvas__body { padding: .75rem 1rem 2rem; }
.lms-offcanvas__link { display: flex; align-items: center; justify-content: space-between; padding: .85rem .5rem; border-bottom: 1px solid var(--lms-border); color: var(--lms-ink); font-weight: 600; text-decoration: none; }
.lms-offcanvas__link:hover,
.lms-offcanvas__link.is-active { color: var(--theme-primary); text-decoration: none; }

.lms-modal .modal-dialog { max-width: 560px; }
.lms-modal__content {
    border: none;
    border-radius: var(--lms-radius);
    box-shadow: var(--lms-shadow-lg);
    overflow: hidden;
}
.lms-modal__head {
    position: relative;
    display: flex; align-items: center; gap: .75rem;
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid var(--lms-border);
}
.lms-modal__icon {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, #16a34a 12%, #ffffff); color: #16a34a;
    font-size: 1rem; flex: 0 0 auto;
}
.lms-modal__title { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--lms-heading); }
.lms-modal__close {
    margin-left: auto; width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: none; background: transparent; color: var(--lms-ink-faint);
    font-size: .9rem; cursor: pointer;
    transition: background .16s ease, color .16s ease;
}
.lms-modal__close:hover { background: var(--lms-surface); color: var(--lms-ink); }

.lms-modal__body { padding: 1.1rem 1.35rem; }
.lms-modal__loading { display: none; margin: 1.5rem auto; width: 42px; }
.lms-modal__loading.d-block { display: block; }
.lms-modal__list { display: grid; gap: .6rem; max-height: 46vh; overflow-y: auto; }

.lms-modal-item {
    display: flex; align-items: center; gap: .9rem;
    padding: .7rem; border: 1px solid var(--lms-border); border-radius: var(--lms-radius-sm);
    background: #fff;
}
.lms-modal-item__img { width: 84px; height: 56px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; background: var(--lms-surface-2); }
.lms-modal-item__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; margin-right: auto; }
.lms-modal-item__title {
    font-weight: 700; font-size: .94rem; color: var(--lms-ink); text-decoration: none; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lms-modal-item__title:hover { color: var(--theme-primary); text-decoration: none; }
.lms-modal-item__cat { font-size: .8rem; font-weight: 600; color: var(--lms-ink-soft); text-decoration: none; }
.lms-modal-item__cat:hover { color: var(--theme-primary); text-decoration: none; }
.lms-modal-item__price { flex: 0 0 auto; font-size: 1.05rem; font-weight: 700; color: var(--lms-price); white-space: nowrap; }
.lms-modal-item__price.is-free { color: #16a34a; }

.lms-modal__foot {
    display: flex; align-items: center; justify-content: flex-end; gap: .6rem;
    padding: 1rem 1.35rem;
    background: var(--lms-surface);
    border-top: 1px solid var(--lms-border);
}
@media (max-width: 575.98px) {
    .lms-modal__foot { flex-direction: column-reverse; }
    .lms-modal__foot .btn-lms { width: 100%; }
    .lms-modal-item__img { width: 64px; height: 46px; }
}

.lms-footer { background: var(--lms-dark); color: #cfd6e4; }
.lms-footer a { color: #aeb7c9; text-decoration: none; transition: color .16s ease; }
.lms-footer a:hover { color: #fff; }
.lms-footer__top { padding: 72px 0 44px; }
.lms-footer__cols { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 991.98px) { .lms-footer__cols { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 575.98px) { .lms-footer__cols { grid-template-columns: 1fr; } }
.lms-footer__brand img { max-height: 42px; margin-bottom: 1.1rem; }
.lms-footer__about { color: #9aa4b7; line-height: 1.7; max-width: 34ch; }
.lms-footer__title { color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: .02em; margin-bottom: 1.1rem; }
.lms-footer__list { list-style: none; padding: 0; margin: 0; }
.lms-footer__list li { margin-bottom: .7rem; }
.lms-footer__social { display: flex; gap: .55rem; margin-top: 1.25rem; }
.lms-footer__social a {
    width: 42px; height: 42px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, #fff 8%, transparent);
    color: #fff; font-size: 1.05rem;
    transition: background .16s ease, transform .16s ease;
}
.lms-footer__social a:hover { background: var(--theme-primary); transform: translateY(-2px); }
.lms-footer__bottom { border-top: 1px solid color-mix(in srgb, #fff 8%, transparent); padding: 1.25rem 0; }
.lms-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; }
.lms-footer__bottom-links { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }

@media (max-width: 991.98px) {
    .lms-nav,
    .lms-actions__auth,
    .lms-desktop-only { display: none !important; }
    .lms-burger { display: inline-flex; }
    .lms-mobile-only { display: inline-flex; }
    .lms-header__inner { gap: .5rem; }
}
@media (min-width: 992px) {
    .lms-offcanvas, .lms-offcanvas-backdrop { display: none; }
}
