/* ==========================================================================
   La Bonne Affaire — design system
   Chargé en dernier dans vues_fixe/head.php : il prime sur les anciens styles.
   ========================================================================== */

:root {
    --lba-brand: #d7263d;
    --lba-brand-600: #b81d32;
    --lba-brand-700: #9a1729;
    --lba-brand-50: #fdeef0;
    --lba-brand-100: #fad5da;

    --lba-ink: #14161a;
    --lba-ink-2: #3a3f47;
    --lba-muted: #6b7280;
    --lba-line: #e7e8eb;
    --lba-line-2: #f0f1f3;
    --lba-bg: #f6f6f4;
    --lba-surface: #ffffff;

    --lba-success: #0f8a5f;
    --lba-success-50: #e7f6ef;
    --lba-warn: #b45309;
    --lba-sun: #ffc83d;

    --lba-radius-sm: 8px;
    --lba-radius: 14px;
    --lba-radius-lg: 22px;
    --lba-shadow-sm: 0 1px 2px rgba(20, 22, 26, .06);
    --lba-shadow: 0 1px 2px rgba(20, 22, 26, .05), 0 8px 24px rgba(20, 22, 26, .06);
    --lba-shadow-lg: 0 2px 4px rgba(20, 22, 26, .05), 0 18px 48px rgba(20, 22, 26, .12);

    --lba-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --lba-font-display: "Plus Jakarta Sans", var(--lba-font);
    --lba-container: 1280px;
    --lba-gutter: clamp(16px, 3vw, 32px);

    --bs-primary: var(--lba-brand);
    --bs-primary-rgb: 215, 38, 61;
    --bs-danger: var(--lba-brand);
    --bs-danger-rgb: 215, 38, 61;
    --bs-link-color: var(--lba-ink);
    --bs-link-color-rgb: 20, 22, 26;
    --bs-link-hover-color: var(--lba-brand);
    --bs-link-hover-color-rgb: 215, 38, 61;
    --bs-body-font-family: var(--lba-font);
    --bs-body-color: var(--lba-ink);
    --bs-border-color: var(--lba-line);
    --bs-border-radius: var(--lba-radius-sm);
}

/* ---------- Base (neutralise les anciens styles de head.php) ---------- */

html body {
    display: block;
    height: auto;
    min-height: 100vh;
    margin: 0;
    background: var(--lba-bg);
    color: var(--lba-ink);
    font-family: var(--lba-font);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html body > .content {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
}

.lba-main {
    max-width: var(--lba-container);
    margin: 0 auto;
    padding: 24px var(--lba-gutter) 64px;
    min-height: 50vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--lba-font-display);
    color: var(--lba-ink);
    letter-spacing: -0.015em;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--lba-brand); }

::selection { background: var(--lba-brand-100); }

:focus-visible {
    outline: 2px solid var(--lba-brand);
    outline-offset: 2px;
}

img { max-width: 100%; }

.lba-container {
    max-width: var(--lba-container);
    margin: 0 auto;
    padding: 0 var(--lba-gutter);
}

.lba-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Boutons & formulaires (Bootstrap harmonisé) ---------- */

.btn {
    font-weight: 600;
    border-radius: 10px;
    padding: .55rem 1rem;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary, .btn-danger, .lba-btn--primary {
    --bs-btn-bg: var(--lba-brand);
    --bs-btn-border-color: var(--lba-brand);
    --bs-btn-hover-bg: var(--lba-brand-600);
    --bs-btn-hover-border-color: var(--lba-brand-600);
    --bs-btn-active-bg: var(--lba-brand-700);
    --bs-btn-active-border-color: var(--lba-brand-700);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-bg: var(--lba-brand);
    --bs-btn-disabled-border-color: var(--lba-brand);
}

.btn-outline-danger, .btn-outline-primary {
    --bs-btn-color: var(--lba-brand);
    --bs-btn-border-color: var(--lba-brand-100);
    --bs-btn-hover-bg: var(--lba-brand-50);
    --bs-btn-hover-border-color: var(--lba-brand);
    --bs-btn-hover-color: var(--lba-brand-700);
    --bs-btn-active-bg: var(--lba-brand-100);
    --bs-btn-active-border-color: var(--lba-brand);
    --bs-btn-active-color: var(--lba-brand-700);
}

.btn-success {
    --bs-btn-bg: var(--lba-success);
    --bs-btn-border-color: var(--lba-success);
    --bs-btn-hover-bg: #0b7350;
    --bs-btn-hover-border-color: #0b7350;
}

.btn-dark, .btn-secondary {
    --bs-btn-bg: var(--lba-ink);
    --bs-btn-border-color: var(--lba-ink);
    --bs-btn-hover-bg: #000;
    --bs-btn-hover-border-color: #000;
}

.btn-outline-dark, .btn-outline-secondary, .btn-light {
    --bs-btn-color: var(--lba-ink);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: var(--lba-line);
    --bs-btn-hover-bg: var(--lba-line-2);
    --bs-btn-hover-border-color: #d5d7db;
    --bs-btn-hover-color: var(--lba-ink);
    --bs-btn-active-bg: var(--lba-line);
    --bs-btn-active-color: var(--lba-ink);
}

.lba-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    height: 44px;
    padding: 0 1.15rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.lba-btn--primary { background: var(--lba-brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 16px rgba(215, 38, 61, .25); }
.lba-btn--primary:hover { background: var(--lba-brand-600); color: #fff; }
.lba-btn--ghost { background: transparent; color: var(--lba-ink); }
.lba-btn--ghost:hover { background: var(--lba-line-2); color: var(--lba-ink); }
.lba-btn--outline { background: #fff; color: var(--lba-ink); border-color: var(--lba-line); }
.lba-btn--outline:hover { border-color: var(--lba-ink); color: var(--lba-ink); }
.lba-btn--light { background: #fff; color: var(--lba-ink); }
.lba-btn--light:hover { background: var(--lba-brand-50); color: var(--lba-brand-700); }
.lba-btn--lg { height: 52px; padding: 0 1.5rem; font-size: 1rem; border-radius: 14px; }

.form-control, .form-select {
    border-radius: 10px;
    border-color: var(--lba-line);
    padding: .65rem .9rem;
    font-size: .95rem;
    color: var(--lba-ink);
    background-color: #fff;
}

.form-control:focus, .form-select:focus {
    border-color: var(--lba-brand);
    box-shadow: 0 0 0 4px rgba(215, 38, 61, .12);
}

.form-label { font-weight: 600; font-size: .875rem; color: var(--lba-ink-2); }
.form-check-input:checked { background-color: var(--lba-brand); border-color: var(--lba-brand); }

.card {
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius);
    box-shadow: var(--lba-shadow-sm);
}

.badge { font-weight: 600; }
.dropdown-menu {
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius);
    box-shadow: var(--lba-shadow-lg);
    padding: .4rem;
}
.dropdown-item { border-radius: 8px; padding: .5rem .75rem; font-size: .92rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--lba-brand-50); color: var(--lba-brand-700); }
.dropdown-divider { display: none; }

.modal-content { border: 0; border-radius: var(--lba-radius-lg); box-shadow: var(--lba-shadow-lg); }
.modal-header, .modal-footer { border-color: var(--lba-line-2); padding: 1rem 1.5rem; }
.modal-body { padding: 1.25rem 1.5rem; }

.table { --bs-table-border-color: var(--lba-line-2); }
.table > thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--lba-muted); font-weight: 600; }

.lba-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.2;
    background: #fff;
    color: var(--lba-ink-2);
    border: 1px solid var(--lba-line);
}
.lba-chip--new { background: var(--lba-success-50); color: var(--lba-success); border-color: transparent; }
.lba-chip--brand { background: var(--lba-brand-50); color: var(--lba-brand-700); border-color: transparent; }

/* ==========================================================================
   En-tête
   ========================================================================== */

.lba-topbar {
    background: var(--lba-ink);
    color: rgba(255, 255, 255, .78);
    font-size: .8rem;
}
.lba-topbar .lba-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 36px;
}
.lba-topbar a { color: rgba(255, 255, 255, .78); }
.lba-topbar a:hover { color: #fff; }
.lba-topbar__links { display: flex; gap: 1.25rem; }
.lba-topbar i { color: var(--lba-sun); margin-right: .35rem; }

.lba-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--lba-line);
}

.lba-header__bar {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
    height: 76px;
}

.lba-logo { flex-shrink: 0; display: block; line-height: 0; }
.lba-logo img { height: 30px; width: auto; }

.lba-search {
    flex: 1;
    max-width: 640px;
    display: flex;
    align-items: center;
    height: 48px;
    background: var(--lba-line-2);
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 0 6px 0 16px;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.lba-search:focus-within {
    background: #fff;
    border-color: var(--lba-brand);
    box-shadow: 0 0 0 4px rgba(215, 38, 61, .12);
}
.lba-search > i { color: var(--lba-muted); }
.lba-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    background: transparent;
    padding: 0 12px;
    font-size: .95rem;
    color: var(--lba-ink);
    outline: none;
}
.lba-search input::placeholder { color: #8b9099; }
.lba-search button {
    height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: var(--lba-brand);
    color: #fff;
    font-weight: 600;
    font-size: .875rem;
    cursor: pointer;
}
.lba-search button:hover { background: var(--lba-brand-600); }

.lba-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.lba-action {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 64px;
    height: 52px;
    padding: 0 8px;
    border-radius: 12px;
    color: var(--lba-ink-2);
    font-size: .72rem;
    font-weight: 600;
}
.lba-action i { font-size: 1.15rem; color: var(--lba-ink); }
.lba-action:hover { background: var(--lba-line-2); color: var(--lba-ink); }
.lba-action__badge {
    position: absolute;
    top: 4px;
    right: 12px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--lba-brand);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.lba-action__badge:empty { display: none; }
.lba-action .lenombre { position: absolute; top: 2px; right: 10px; }
.lba-action .lenombre:empty { display: none; }
.lba-action .lenombre .badge { border-radius: 999px; font-size: .65rem; background: var(--lba-brand) !important; }

.lba-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--lba-brand-50);
    color: var(--lba-brand-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 700;
}

.lba-header .lba-btn--primary { margin-left: 8px; }

.lba-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--lba-ink);
    font-size: 1.2rem;
}
.lba-burger:hover { background: var(--lba-line-2); }

/* Barre de catégories */
.lba-catnav { border-top: 1px solid var(--lba-line-2); }
.lba-catnav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 48px;
}
.lba-catnav__item { position: relative; }
.lba-catnav__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 36px;
    padding: 0 .55rem;
    border-radius: 10px;
    font-size: .87rem;
    font-weight: 500;
    color: var(--lba-ink-2);
    background: none;
    border: 0;
    white-space: nowrap;
}
.lba-catnav__link:hover,
.lba-catnav__link.show { background: var(--lba-line-2); color: var(--lba-ink); }
.lba-catnav__link.dropdown-toggle::after { display: none; }
.lba-catnav__link .fa-chevron-down { font-size: .6rem; opacity: .55; }
.lba-catnav__link > i:first-child { display: none; }
.lba-catnav__special > i:first-child { display: inline-block; }
.lba-catnav__special {
    margin-left: auto;
    background: linear-gradient(135deg, #fff4d6, #ffe7a3);
    color: #7a4b00;
    font-weight: 600;
}
.lba-catnav__special:hover { background: #ffe08a; color: #5c3800; }

.lba-mega {
    min-width: 260px;
}
.lba-mega__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .75rem .6rem;
    margin-bottom: .25rem;
    border-bottom: 1px solid var(--lba-line-2);
    font-size: .8rem;
    font-weight: 600;
    color: var(--lba-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.lba-mega__head a { color: var(--lba-brand); text-transform: none; letter-spacing: 0; }

/* Menu mobile */
.lba-drawer.offcanvas { width: min(88vw, 360px); border: 0; }
.lba-drawer .offcanvas-header { border-bottom: 1px solid var(--lba-line-2); padding: 1rem 1.25rem; }
.lba-drawer .offcanvas-body { padding: .75rem; }
.lba-drawer__user {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: .25rem .25rem 1rem;
    border-bottom: 1px solid var(--lba-line-2);
    margin-bottom: .75rem;
}
.lba-drawer__user .lba-btn { width: 100%; }
.lba-drawer__title {
    padding: .5rem .5rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--lba-muted);
}
.lba-drawer details { border-radius: 12px; }
.lba-drawer details[open] { background: var(--lba-line-2); }
.lba-drawer summary {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem .75rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.lba-drawer summary::-webkit-details-marker { display: none; }
.lba-drawer summary i:first-child { width: 20px; text-align: center; color: var(--lba-brand); }
.lba-drawer summary .fa-chevron-down { margin-left: auto; font-size: .7rem; opacity: .5; transition: transform .2s ease; }
.lba-drawer details[open] summary .fa-chevron-down { transform: rotate(180deg); }
.lba-drawer details a { display: block; padding: .5rem .75rem .5rem 2.75rem; font-size: .92rem; color: var(--lba-ink-2); border-radius: 8px; }
.lba-drawer details a:hover { background: #fff; }
.lba-drawer details > div { padding-bottom: .5rem; }

/* ==========================================================================
   Accueil
   ========================================================================== */

.lba-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 40px;
}

.lba-hero__copy {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 56px);
    border-radius: var(--lba-radius-lg);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(215, 38, 61, .10), transparent 55%),
        radial-gradient(90% 80% at 0% 100%, rgba(255, 200, 61, .18), transparent 60%),
        #fff;
    border: 1px solid var(--lba-line);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lba-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    align-self: flex-start;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: var(--lba-brand-50);
    color: var(--lba-brand-700);
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.lba-eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lba-brand); box-shadow: 0 0 0 4px rgba(215, 38, 61, .18); }

.lba-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.035em;
    margin: 0 0 1rem;
}
.lba-hero h1 em { font-style: normal; color: var(--lba-brand); }
.lba-hero__lead { font-size: 1.075rem; color: var(--lba-ink-2); max-width: 72ch; margin-bottom: 1.75rem; }

.lba-hero .lba-search { max-width: none; height: 58px; background: #fff; border-color: var(--lba-line); box-shadow: var(--lba-shadow); border-radius: 16px; }
.lba-hero .lba-search button { height: 44px; padding: 0 22px; border-radius: 12px; font-size: .95rem; }

.lba-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; align-items: center; }
.lba-hero__tags span { font-size: .82rem; color: var(--lba-muted); margin-right: 2px; }
.lba-hero__tags a { font-size: .82rem; font-weight: 500; padding: .3rem .7rem; border-radius: 999px; background: #fff; border: 1px solid var(--lba-line); color: var(--lba-ink-2); }
.lba-hero__tags a:hover { border-color: var(--lba-brand); color: var(--lba-brand); }

.lba-hero__stats { display: flex; gap: clamp(20px, 4vw, 44px); margin-top: 2rem; padding-top: 1.5rem; border-top: 1px dashed var(--lba-line); }
.lba-hero__stats strong { display: block; font-family: var(--lba-font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.lba-hero__stats span { font-size: .82rem; color: var(--lba-muted); }

.lba-hero__visual {
    position: relative;
    border-radius: var(--lba-radius-lg);
    overflow: hidden;
    min-height: 360px;
    background: #eef2f7;
    box-shadow: var(--lba-shadow);
}
.lba-hero__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.lba-hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 12, 16, .55)); pointer-events: none; }
.lba-hero__badge {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    box-shadow: var(--lba-shadow-lg);
}
.lba-hero__badge strong { display: block; font-size: .95rem; }
.lba-hero__badge span { font-size: .8rem; color: var(--lba-muted); }
.lba-hero__badge .lba-btn { height: 40px; }

/* Sections */
.lba-section { margin: 56px 0; }
.lba-section:first-child { margin-top: 0; }
.lba-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 20px;
}
.lba-section__head h2, .lba-sell h2, .lba-hero h1 { text-align: left; }
.lba-section__head h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 800; margin: 0; }
.lba-section__head p { margin: .25rem 0 0; color: var(--lba-muted); }
.lba-link-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--lba-brand); white-space: nowrap; }
.lba-link-more:hover { color: var(--lba-brand-700); gap: .6rem; }

/* Rail de catégories */
.lba-cats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.lba-cat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: var(--lba-radius);
    background: #fff;
    border: 1px solid var(--lba-line);
    transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.lba-cat:hover { border-color: transparent; box-shadow: var(--lba-shadow-lg); transform: translateY(-2px); color: var(--lba-ink); }
.lba-cat__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lba-brand-50);
    color: var(--lba-brand);
    font-size: 1.1rem;
}
.lba-cat:nth-child(6n+2) .lba-cat__icon { background: #e9f2ff; color: #2563eb; }
.lba-cat:nth-child(6n+3) .lba-cat__icon { background: #e7f6ef; color: #0f8a5f; }
.lba-cat:nth-child(6n+4) .lba-cat__icon { background: #fff4d6; color: #b45309; }
.lba-cat:nth-child(6n+5) .lba-cat__icon { background: #f1ebff; color: #7c3aed; }
.lba-cat:nth-child(6n+6) .lba-cat__icon { background: #e6f7fa; color: #0e7490; }
.lba-cat strong { font-size: .95rem; font-weight: 600; line-height: 1.2; }
.lba-cat small { display: block; color: var(--lba-muted); font-size: .78rem; margin-top: 2px; }

/* Grille & carte produit */
.lba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.lba-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--lba-radius);
    border: 1px solid var(--lba-line);
    overflow: hidden;
    color: var(--lba-ink);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.lba-card:hover { color: var(--lba-ink); border-color: transparent; box-shadow: var(--lba-shadow-lg); transform: translateY(-3px); }
.lba-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--lba-line-2); overflow: hidden; }
.lba-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.lba-card:hover .lba-card__media img { transform: scale(1.04); }
.lba-card__chip { position: absolute; top: 10px; left: 10px; box-shadow: var(--lba-shadow-sm); }
.lba-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.lba-card__price { margin: 0; font-family: var(--lba-font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.lba-card__title {
    margin: 0;
    font-family: var(--lba-font);
    font-size: .92rem;
    font-weight: 500;
    color: var(--lba-ink-2);
    line-height: 1.35;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}
.lba-card__meta { margin: auto 0 0; padding-top: 8px; display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--lba-muted); }
.lba-card__meta i { font-size: .72rem; }

/* Grandes tuiles catégories */
.lba-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.lba-tile {
    display: flex;
    flex-direction: column;
    border-radius: var(--lba-radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--lba-line);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.lba-tile:hover { color: var(--lba-ink); border-color: transparent; box-shadow: var(--lba-shadow-lg); transform: translateY(-3px); }
.lba-tile__media { aspect-ratio: 1504 / 1158; overflow: hidden; background: var(--lba-line-2); }
.lba-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lba-tile:hover .lba-tile__media img { transform: scale(1.04); }
.lba-tile__label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 16px 18px; }
.lba-tile__label strong { font-family: var(--lba-font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; display: block; }
.lba-tile__label small { color: var(--lba-muted); font-size: .84rem; }
.lba-tile__arrow { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--lba-line-2); color: var(--lba-ink); display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.lba-tile:hover .lba-tile__arrow { background: var(--lba-brand); color: #fff; transform: translateX(2px); }

/* Bandeau promo */
.lba-promo {
    display: block;
    border-radius: var(--lba-radius-lg);
    overflow: hidden;
    box-shadow: var(--lba-shadow);
    line-height: 0;
}
.lba-promo img { width: 100%; height: auto; transition: transform .5s ease; }
.lba-promo:hover img { transform: scale(1.01); }

/* Engagements */
.lba-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background: #fff;
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius-lg);
    overflow: hidden;
}
.lba-trust__item { display: flex; gap: 14px; padding: 22px 24px; align-items: flex-start; }
.lba-trust__item + .lba-trust__item { border-left: 1px solid var(--lba-line-2); }
.lba-trust__item i { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--lba-brand-50); color: var(--lba-brand); font-size: 1.05rem; }
.lba-trust__item strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.lba-trust__item span { font-size: .84rem; color: var(--lba-muted); line-height: 1.45; display: block; }

/* Bandeau vendeur */
.lba-sell {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    align-items: center;
    padding: clamp(28px, 4vw, 56px);
    border-radius: var(--lba-radius-lg);
    background: var(--lba-ink);
    color: #fff;
}
.lba-sell::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215, 38, 61, .55), transparent 65%);
}
.lba-sell > * { position: relative; }
.lba-sell h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 .75rem; }
.lba-sell p { color: rgba(255, 255, 255, .72); font-size: 1.02rem; margin: 0 0 1.5rem; max-width: 44ch; }
.lba-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.lba-steps li {
    counter-increment: step;
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
}
.lba-steps li::before {
    content: counter(step);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--lba-ink);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}
.lba-steps strong { display: block; font-size: .95rem; }
.lba-steps span { font-size: .84rem; color: rgba(255, 255, 255, .62); }

.lba-about { max-width: 820px; margin: 0 auto; text-align: center; color: var(--lba-muted); font-size: .95rem; }
.lba-about h2 { font-size: 1.15rem; color: var(--lba-ink); margin-bottom: .75rem; }

.lba-empty {
    padding: 48px 24px;
    text-align: center;
    color: var(--lba-muted);
    background: #fff;
    border: 1px dashed var(--lba-line);
    border-radius: var(--lba-radius);
}

/* ==========================================================================
   Listes (catégories, recherche, filtres)
   ========================================================================== */

.lba-pagehead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 24px 0 20px;
}
.lba-pagehead h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; margin: 0; text-align: left; }
.lba-pagehead p { margin: 4px 0 0; color: var(--lba-muted); }

/* Carte avec lien boutique */
.lba-card--shop { position: relative; }
.lba-card__link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.lba-card__link:hover { color: inherit; }
.lba-card--shop:hover .lba-card__media img { transform: scale(1.04); }
.lba-card__seller {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 12px 12px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--lba-line-2);
    font-size: .8rem;
    font-weight: 500;
    color: var(--lba-ink-2);
}
.lba-card__seller:hover { background: var(--lba-ink); color: #fff; }
.lba-card__seller-avatar { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--lba-ink); display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; flex-shrink: 0; }
.lba-card__seller-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lba-card__seller i { font-size: .75rem; opacity: .6; }

.row.liste,
.lba-liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
    margin: 0;
}
.row.liste > * { width: auto; max-width: none; padding: 0; margin: 0; }
.lba-col { display: flex; min-width: 0; }
.lba-col > .lba-card { flex: 1; }
.lba-col--full { grid-column: 1 / -1; }
.lba-empty i { font-size: 1.8rem; color: var(--lba-line); display: block; margin-bottom: .75rem; }
.lba-empty p { margin: 0 0 1rem; font-size: 1rem; color: var(--lba-ink-2); }

/* ==========================================================================
   Page catégorie (vue/categorie.php) : sous-catégories en puces, barre de
   résultats, cartes d'annonce (grille ou liste), état vide
   ========================================================================== */
.lba-catpage [hidden] { display: none !important; }
.lba-catpage .publicite {
    height: auto;
    margin: 0;
    border-radius: var(--lba-radius-lg);
    overflow: hidden;
    line-height: 0;
    box-shadow: var(--lba-shadow);
}
.lba-catpage .publicite img,
.lba-catpage .publicite .voyons { width: 100%; height: clamp(120px, 15vw, 200px); object-fit: cover; object-position: left center; margin: 0; }
.lba-catpage > .container { display: block; max-width: none; width: auto; padding: 0; margin: 0; }
.lba-catpage > .container > br { display: none; }
.lba-catpage .row.mb-5 { display: block; margin: 0 0 48px; }
.lba-catpage .row.mb-5 > [class*="col-md-"] { width: auto; max-width: none; padding: 0; }
.lba-catpage .cardt,
.lba-catpage .cardt-header,
.lba-catpage .cardt-body { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0; }
.lba-catpage .cardt-header > br,
.lba-catpage .cardt > br,
.lba-catpage .cardt-body ~ br { display: none; }

/* Sous-catégories : une rangée de puces */
.lba-catpage .cardt.mb-4 { margin: 0 0 18px !important; }
.lba-catpage .list-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.lba-side__title { display: none; }
.lba-catpage .list-group-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 38px;
    padding: 0 14px;
    border: 1px solid var(--lba-line) !important;
    border-radius: 999px !important;
    background: #fff;
    color: var(--lba-ink-2);
    font-size: .88rem;
    font-weight: 500;
    white-space: nowrap;
    margin: 0 !important;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.lba-catpage .list-group-item:hover { border-color: var(--lba-ink) !important; background: #fff; color: var(--lba-ink); }
.lba-catpage .list-group-item.active { background: var(--lba-ink); border-color: var(--lba-ink) !important; color: #fff; font-weight: 600; }
.lba-count { min-width: 22px; padding: 0 7px; border-radius: 999px; background: var(--lba-line-2); font-size: .72rem; font-weight: 600; line-height: 1.6; text-align: center; color: var(--lba-muted); }
.lba-catpage .list-group-item.active .lba-count { background: rgba(255, 255, 255, .18); color: #fff; }

/* Filtres historiques (#filtre1, .detail1, .rt1) */
.lba-catpage [class^="all"] { margin-bottom: 4px; }
.lba-catpage [class^="all"] > .row:first-child { margin: 0 0 12px; }
.lba-catpage [class^="all"] > .row:first-child > div { width: auto; padding: 0; }
.lba-catpage [class^="all"] .btn-group { gap: 8px; }
.lba-catpage [class^="all"] .btn-group > .btn-danger { display: none; }
.lba-catpage [class^="all"] .btn-group > .btn-group > .btn {
    height: 38px;
    padding: 0 14px;
    border: 1px solid var(--lba-line);
    border-radius: 999px !important;
    background: #fff;
    color: var(--lba-ink);
    font-size: .88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.lba-catpage [class^="all"] .btn-group > .btn-group > .btn:hover { border-color: var(--lba-ink); background: #fff; color: var(--lba-ink); }
.lba-catpage [class^="detail"] {
    padding: 18px 18px 6px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius);
}
.lba-catpage [class^="detail"] p { margin: 0 0 6px; font-size: .78rem; font-weight: 600; color: var(--lba-muted); text-transform: uppercase; letter-spacing: .04em; }
.lba-catpage [class^="detail"] .row > div { margin-bottom: 12px; }
.lba-catpage [class^="detail"] .form-control { height: 42px; margin: 0; border-radius: 10px; border-color: var(--lba-line); font-size: .9rem; }
.lba-catpage .row[class*="rt"] { align-items: center; margin: 0 0 12px; }
.lba-catpage .row[class*="rt"] > span { width: auto; padding: 0; font-size: .85rem; }
.lba-catpage .row[class*="rt"] > span strong { color: var(--lba-muted) !important; font-weight: 500; }
.lba-catpage .row[class*="rt"] > span i { font-style: normal; }
.lba-catpage .row[class*="rt"] .btn { height: 34px; padding: 0 12px; border-radius: 999px; font-size: .82rem; margin: 0; }

/* Barre de résultats */
.lba-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    margin: 0 0 16px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--lba-line);
}
.lba-results-bar__count { margin: 0; font-size: .92rem; color: var(--lba-muted); }
.lba-results-bar__count strong { color: var(--lba-ink); font-weight: 700; }
.lba-results-bar__tools { display: flex; align-items: center; gap: 10px; }
.lba-sortsel { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .85rem; color: var(--lba-muted); }
.lba-sortsel select {
    width: auto;
    height: 38px;
    margin: 0;
    padding: 0 32px 0 12px;
    border: 1px solid var(--lba-line);
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2314161a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    appearance: none;
    font-size: .88rem;
    font-weight: 600;
    color: var(--lba-ink);
    cursor: pointer;
}
.lba-sortsel select:focus { outline: none; border-color: var(--lba-ink); }
.lba-viewtoggle { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--lba-line-2); }
.lba-viewtoggle button {
    width: 34px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--lba-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.lba-viewtoggle button.is-active { background: #fff; color: var(--lba-ink); box-shadow: var(--lba-shadow-sm); }

/* Grille */
.lba-catpage .row.liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
    margin: 0;
}
.lba-catpage .row.liste > * { width: auto; max-width: none; padding: 0; margin: 0; }
/* Ancienne réponse (image seule) : jamais en pleine largeur */
.lba-catpage .row.liste > img { grid-column: 1 / -1; justify-self: center; width: min(240px, 70%); height: auto; }

/* Carte d'annonce */
.lba-annonce {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--lba-line);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.lba-annonce:hover { border-color: transparent; box-shadow: var(--lba-shadow-lg); transform: translateY(-2px); }
.lba-annonce__media { position: relative; aspect-ratio: 4 / 3; background: var(--lba-line-2); overflow: hidden; }
.lba-annonce__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.lba-annonce:hover .lba-annonce__media img { transform: scale(1.05); }
.lba-annonce__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #c4c7cc; }
.lba-annonce__etat {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--lba-ink);
    font-size: .72rem;
    font-weight: 600;
}
.lba-annonce__etat.is-new { background: var(--lba-success); color: #fff; }
.lba-annonce__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 14px 16px 0; }
.lba-annonce__title {
    margin: 0;
    font-family: var(--lba-font);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: left;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lba-annonce__title a { color: var(--lba-ink); }
.lba-annonce__title a:hover { color: var(--lba-ink); }
/* Toute la carte est cliquable via le lien du titre */
.lba-annonce__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lba-annonce__title a:focus-visible { outline: none; }
.lba-annonce:focus-within { box-shadow: 0 0 0 3px rgba(215, 38, 61, .35); }
.lba-annonce__price { margin: 0; font-family: var(--lba-font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; color: var(--lba-brand); }
.lba-annonce__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; font-size: .8rem; color: var(--lba-muted); }
.lba-annonce__meta li { display: inline-flex; align-items: center; gap: 5px; margin: 0; color: inherit; }
.lba-annonce__meta i { font-size: .72rem; }
.lba-annonce__seller {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: auto -16px 0;
    padding: 12px 16px;
    border-top: 1px solid var(--lba-line-2);
    color: var(--lba-ink-2);
    font-size: .82rem;
    transition: background-color .15s ease;
}
.lba-annonce__body > .lba-annonce__meta { margin-bottom: 12px; }
.lba-annonce__seller:hover { background: var(--lba-bg); color: var(--lba-ink); }
.lba-annonce__avatar { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--lba-brand-50); color: var(--lba-brand-700); display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; }
.lba-annonce__seller-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.lba-annonce__seller-cta { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; color: var(--lba-muted); }
.lba-annonce__seller-cta i { font-size: .66rem; transition: transform .15s ease; }
.lba-annonce__seller:hover .lba-annonce__seller-cta { color: var(--lba-brand); }
.lba-annonce__seller:hover .lba-annonce__seller-cta i { transform: translateX(2px); }

/* Affichage en liste */
.lba-catpage .row.liste.is-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.liste.is-list .lba-annonce { flex-direction: row; }
.liste.is-list .lba-annonce:hover { transform: none; }
.liste.is-list .lba-annonce__media { flex: 0 0 260px; aspect-ratio: auto; min-height: 180px; }
.liste.is-list .lba-annonce__media img { position: absolute; inset: 0; }
.liste.is-list .lba-annonce__body { padding: 18px 20px 0; gap: 8px; }
.liste.is-list .lba-annonce__title { font-size: 1.05rem; min-height: 0; }
.liste.is-list .lba-annonce__price { font-size: 1.35rem; }
.liste.is-list .lba-annonce__seller { margin: auto -20px 0; padding: 12px 20px; }

/* Chargement */
.lba-col--skeleton .lba-annonce { pointer-events: none; }
.lba-col--skeleton .lba-annonce__media,
.lba-col--skeleton .lba-annonce__body span {
    background: linear-gradient(90deg, var(--lba-line-2) 0%, #fafafa 50%, var(--lba-line-2) 100%);
    background-size: 200% 100%;
    animation: lba-shimmer 1.3s ease-in-out infinite;
}
.lba-col--skeleton .lba-annonce__body { padding-bottom: 16px; }
.lba-col--skeleton .lba-annonce__body span { display: block; height: 12px; border-radius: 6px; }
.lba-col--skeleton .lba-annonce__body span:nth-child(1) { width: 90%; }
.lba-col--skeleton .lba-annonce__body span:nth-child(2) { width: 45%; height: 18px; }
.lba-col--skeleton .lba-annonce__body span:nth-child(3) { width: 65%; }
@keyframes lba-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
    .lba-col--skeleton .lba-annonce__media, .lba-col--skeleton .lba-annonce__body span { animation: none; }
}

/* Aucune annonce */
.lba-noresult {
    max-width: 520px;
    margin: 8px auto;
    padding: 40px 24px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius-lg);
}
.lba-noresult__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--lba-line-2); color: var(--lba-muted); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.lba-noresult h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; text-align: center; }
.lba-noresult p { margin: 0 auto 20px; max-width: 38ch; font-size: .9rem; color: var(--lba-muted); }
.lba-noresult__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lba-noresult__actions .lba-btn { margin: 0; }

@media (max-width: 767.98px) {
    .lba-catpage .list-group { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--lba-gutter)); padding: 0 var(--lba-gutter) 4px; scrollbar-width: none; }
    .lba-catpage .list-group::-webkit-scrollbar { display: none; }
    .lba-catpage .list-group-item { flex-shrink: 0; }
    .lba-results-bar { flex-wrap: wrap; }
    .lba-sortsel > span { display: none; }
    .lba-catpage .row.liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .lba-annonce__body { padding: 10px 12px 0; gap: 4px; }
    .lba-annonce__title { font-size: .88rem; }
    .lba-annonce__price { font-size: 1.02rem; }
    .lba-annonce__meta li + li { display: none; }
    .lba-annonce__body > .lba-annonce__meta { margin-bottom: 10px; }
    .lba-annonce__seller { margin: auto -12px 0; padding: 10px 12px; }
    .lba-annonce__seller-cta { display: none; }
    .liste.is-list .lba-annonce__media { flex-basis: 120px; min-height: 120px; }
    .liste.is-list .lba-annonce__body { padding: 12px 14px 0; }
    .liste.is-list .lba-annonce__seller { margin: auto -14px 0; padding: 10px 14px; }
}

/* Puces de filtre & pagination */
.lba-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; scrollbar-width: none; }
.lba-chips::-webkit-scrollbar { display: none; }
.lba-chip-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--lba-line);
    background: #fff;
    font-size: .88rem;
    font-weight: 500;
    color: var(--lba-ink-2);
    white-space: nowrap;
}
.lba-chip-link span { font-size: .75rem; color: var(--lba-muted); }
.lba-chip-link:hover { border-color: var(--lba-ink); color: var(--lba-ink); }
.lba-chip-link.is-active { background: var(--lba-ink); border-color: var(--lba-ink); color: #fff; }
.lba-chip-link.is-active span { color: rgba(255, 255, 255, .7); }

.lba-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; }
.lba-pagination a {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 12px;
    border: 1px solid var(--lba-line);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: .9rem;
    color: var(--lba-ink-2);
}
.lba-pagination a:hover { border-color: var(--lba-ink); color: var(--lba-ink); }
.lba-pagination a.is-active { background: var(--lba-brand); border-color: var(--lba-brand); color: #fff; }
.lba-pagination__gap { color: var(--lba-muted); padding: 0 4px; }

/* Tri & recherche */
.lba-sort { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .86rem; color: var(--lba-muted); white-space: nowrap; }
.lba-sort .form-select { width: auto; min-width: 180px; padding-top: .5rem; padding-bottom: .5rem; }
.lba-empty--search { padding: 56px 24px; }
.lba-empty--search > span { display: block; max-width: 52ch; margin: 0 auto 1rem; font-size: .92rem; }
.lba-empty--search .lba-hero__tags { justify-content: center; }

/* ==========================================================================
   Boutique vendeur (vue/boutique.php)
   ========================================================================== */

.lba-shop2 [hidden], .lba-shop2__modal [hidden] { display: none !important; }
.lba-shop2 .lba-btn, .lba-shop2__modal .lba-btn { margin-bottom: 0; }
.lba-shop2__missing { max-width: 520px; margin: 48px auto; }

/* En-tête */
.lba-shop2__header {
    margin: 8px 0 20px;
    background: #fff;
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius-lg);
    box-shadow: var(--lba-shadow-sm);
    overflow: hidden;
}
.lba-shop2__cover { position: relative; height: clamp(150px, 22vw, 280px); background: var(--lba-line-2); }
.lba-shop2__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lba-shop2__cover.is-empty {
    background:
        radial-gradient(60% 120% at 85% 0%, rgba(255, 200, 61, .35), transparent 60%),
        radial-gradient(70% 120% at 0% 100%, rgba(215, 38, 61, .18), transparent 60%),
        linear-gradient(135deg, #fbe9ec 0%, #fff7e6 100%);
}
.lba-shop2__cover::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(10, 12, 16, .18)); pointer-events: none; }

.lba-shop2__upload { margin: 0; }
.lba-shop2__upload input { display: none; }
.lba-shop2__upload label { margin: 0; cursor: pointer; }
.lba-shop2__upload.is-busy { opacity: .6; pointer-events: none; }
.lba-shop2__upload--cover { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.lba-shop2__upload--cover label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(20, 22, 26, .65);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: .84rem;
    font-weight: 600;
}
.lba-shop2__upload--cover label:hover { background: rgba(20, 22, 26, .85); }

.lba-shop2__profile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: end;
    gap: 20px;
    padding: 0 28px 22px;
}
.lba-shop2__logo {
    position: relative;
    width: 128px;
    height: 128px;
    margin-top: -64px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--lba-brand) 0%, #f0644a 100%);
    border: 5px solid #fff;
    box-shadow: var(--lba-shadow);
    overflow: hidden;
    z-index: 1;
}
.lba-shop2__logo img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.lba-shop2__logo > span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #fff; font-family: var(--lba-font-display); font-size: 3rem; font-weight: 800; }
.lba-shop2__upload--logo { position: absolute; inset: 0; }
.lba-shop2__upload--logo label {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: rgba(20, 22, 26, .45);
    color: #fff;
    font-size: 1.3rem;
    opacity: 0;
    transition: opacity .15s ease;
}
.lba-shop2__logo:hover .lba-shop2__upload--logo label,
.lba-shop2__upload--logo label:focus-within { opacity: 1; }
@media (hover: none) {
    .lba-shop2__upload--logo { inset: auto 6px 6px auto; width: 32px; height: 32px; }
    .lba-shop2__upload--logo label { opacity: 1; border-radius: 50%; background: rgba(20, 22, 26, .7); font-size: .85rem; }
}

.lba-shop2__identity { min-width: 0; padding-top: 16px; }
.lba-shop2__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.lba-shop2__badges:empty { display: none; }
.lba-shop2__badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; }
.lba-shop2__badge.is-ok { background: var(--lba-success-50); color: var(--lba-success); }
.lba-shop2__badge.is-pro { background: #eef2ff; color: #3b4fd8; }
.lba-shop2__identity h1 { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-align: left; overflow-wrap: anywhere; }
.lba-shop2__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; font-size: .9rem; color: var(--lba-muted); }
.lba-shop2__facts li { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: inherit; }
.lba-shop2__facts strong { color: var(--lba-ink); }
.lba-shop2__star { color: #f5a524; }

.lba-shop2__actions { display: flex; align-items: center; gap: 8px; }
.lba-shop2__share { gap: 8px; }
.lba-shop2__sharemenu { min-width: 200px; padding: 6px; border: 1px solid var(--lba-line); border-radius: 14px; box-shadow: var(--lba-shadow-lg); }
.lba-shop2__sharemenu .dropdown-item { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 9px 12px; border: 0; border-radius: 10px; background: none; color: var(--lba-ink); font-size: .9rem; }
.lba-shop2__sharemenu .dropdown-item:hover { background: var(--lba-line-2); color: var(--lba-ink); }
.lba-shop2__sharemenu .dropdown-item i { width: 16px; text-align: center; color: var(--lba-muted); }

.lba-shop2__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--lba-line-2); }
.lba-shop2__stats > div { padding: 16px 28px; }
.lba-shop2__stats > div + div { border-left: 1px solid var(--lba-line-2); }
.lba-shop2__stats dt { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--lba-muted); }
.lba-shop2__stats dd { margin: 4px 0 0; font-family: var(--lba-font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.lba-shop2__stats dd small { font-family: var(--lba-font); font-size: .8rem; font-weight: 500; color: var(--lba-muted); letter-spacing: 0; }

.lba-shop2__ownerbar { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 12px 16px; border-radius: var(--lba-radius); background: #eef2ff; color: #3b4fd8; font-size: .88rem; }
.lba-shop2__ownerbar p { flex: 1; margin: 0; color: var(--lba-ink-2); }
.lba-shop2__ownerbar a { font-weight: 600; color: #3b4fd8; white-space: nowrap; }

/* Mise en page */
.lba-shop2__layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; margin-bottom: 48px; }
.lba-shop2__aside { position: sticky; top: 148px; display: flex; flex-direction: column; gap: 16px; }
.lba-shop2__panel { padding: 20px; background: #fff; border: 1px solid var(--lba-line); border-radius: var(--lba-radius); }
.lba-shop2__panel h2 { margin: 0 0 14px; font-size: 1rem; font-weight: 700; text-align: left; }
.lba-shop2__about, .lba-shop2__trust { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; }
.lba-shop2__about li, .lba-shop2__trust li { display: flex; gap: 12px; margin: 0; font-size: .88rem; color: var(--lba-ink); }
.lba-shop2__about li > i { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: var(--lba-line-2); color: var(--lba-ink-2); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.lba-shop2__about small { display: block; font-size: .74rem; color: var(--lba-muted); }
.lba-shop2__about span { min-width: 0; overflow-wrap: anywhere; font-weight: 500; }
.lba-shop2__panel--trust { background: var(--lba-success-50); border-color: transparent; }
.lba-shop2__trust li { color: var(--lba-ink-2); font-size: .84rem; line-height: 1.45; }
.lba-shop2__trust li > i { margin-top: 3px; width: 16px; text-align: center; color: var(--lba-success); }

.lba-shop2__mainhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lba-shop2__mainhead h2 { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; text-align: left; display: flex; align-items: center; gap: 10px; }
.lba-shop2__mainhead h2 span { padding: 2px 10px; border-radius: 999px; background: var(--lba-line-2); font-family: var(--lba-font); font-size: .8rem; font-weight: 600; color: var(--lba-muted); letter-spacing: 0; }
.lba-shop2__tools { display: flex; align-items: center; gap: 10px; }
.lba-shop2__search { position: relative; display: block; margin: 0; }
.lba-shop2__search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: .8rem; color: var(--lba-muted); pointer-events: none; }
.lba-shop2__search input { width: 240px; height: 38px; margin: 0; padding: 0 12px 0 34px; border: 1px solid var(--lba-line); border-radius: 10px; background: #fff; font-size: .88rem; color: var(--lba-ink); }
.lba-shop2__search input:focus { outline: none; border-color: var(--lba-ink); }

.lba-shop2__tabs { display: flex; gap: 6px; margin: 0 0 18px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--lba-line); }
.lba-shop2__tabs::-webkit-scrollbar { display: none; }
.lba-shop2__tabs button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 -1px;
    padding: 10px 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: none;
    color: var(--lba-muted);
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
}
.lba-shop2__tabs button:hover { color: var(--lba-ink); }
.lba-shop2__tabs button.is-active { color: var(--lba-ink); border-bottom-color: var(--lba-brand); }
.lba-shop2__tabs button span { padding: 0 7px; border-radius: 999px; background: var(--lba-line-2); font-size: .72rem; line-height: 1.6; color: var(--lba-muted); }

.lba-shop2__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.lba-shop2__grid > .lba-col { display: flex; min-width: 0; }
.lba-shop2__nomatch { margin-top: 0; }

/* Carte : spécificités boutique */
.lba-annonce__body:last-child > .lba-annonce__meta:last-child { margin-bottom: 14px; }
.lba-annonce__etat.is-pending { background: #fff4e5; color: var(--lba-warn); display: inline-flex; align-items: center; gap: 5px; }
.lba-annonce.is-out .lba-annonce__media img { filter: grayscale(.85); opacity: .7; }
.lba-annonce__out { position: absolute; right: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(20, 22, 26, .78); color: #fff; font-size: .72rem; font-weight: 600; }
.lba-annonce__owner { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; margin: auto -16px 0; padding: 10px 12px 10px 16px; border-top: 1px solid var(--lba-line-2); }
.lba-annonce__body > .lba-annonce__meta + .lba-annonce__owner { margin-top: 12px; }
.lba-annonce__stock { flex: 1; font-size: .78rem; font-weight: 600; color: var(--lba-success); }
.lba-annonce__stock.is-out { color: var(--lba-brand); }
.lba-annonce__owner a { width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--lba-line-2); color: var(--lba-ink-2); font-size: .8rem; }
.lba-annonce__owner a:hover { background: var(--lba-ink); color: #fff; }
.lba-annonce__owner a.is-danger:hover { background: var(--lba-brand); color: #fff; }

/* Fenêtres (renommer, contacter) */
.lba-shop2__modal .modal-title { font-size: 1.05rem; font-weight: 700; text-align: left; }
.lba-shop2__label { display: block; margin: 0 0 6px; font-size: .85rem; font-weight: 600; color: var(--lba-ink); }
.lba-shop2__field { display: block; width: 100%; margin: 0; padding: 10px 12px; border: 1px solid var(--lba-line); border-radius: 12px; font-size: .95rem; color: var(--lba-ink); background: #fff; resize: vertical; }
.lba-shop2__field:focus { outline: none; border-color: var(--lba-ink); box-shadow: 0 0 0 4px rgba(20, 22, 26, .06); }
.lba-shop2__counter { margin-top: 4px; text-align: right; font-size: .75rem; color: var(--lba-muted); }
.lba-shop2__hint { margin: 8px 0 0; font-size: .8rem; color: var(--lba-muted); }
.lba-shop2__error { margin: 6px 0 0; min-height: 1.1em; font-size: .82rem; color: var(--lba-brand); }
.lba-shop2__error:empty { min-height: 0; margin: 0; }

@media (max-width: 991.98px) {
    .lba-shop2__layout { grid-template-columns: minmax(0, 1fr); }
    .lba-shop2__aside { position: static; order: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .lba-shop2__profile { grid-template-columns: auto minmax(0, 1fr); }
    .lba-shop2__actions { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .lba-shop2__profile { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0 16px 18px; }
    .lba-shop2__logo { width: 96px; height: 96px; margin-top: -48px; border-radius: 22px; border-width: 4px; }
    .lba-shop2__logo > span { font-size: 2.3rem; }
    .lba-shop2__identity { padding-top: 0; }
    .lba-shop2__actions .lba-btn--primary { flex: 1; }
    .lba-shop2__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lba-shop2__stats > div { padding: 12px 16px; }
    .lba-shop2__stats > div:nth-child(3) { border-left: 0; }
    .lba-shop2__stats > div:nth-child(n+3) { border-top: 1px solid var(--lba-line-2); }
    .lba-shop2__stats dd { font-size: 1.2rem; }
    .lba-shop2__ownerbar { flex-wrap: wrap; }
    .lba-shop2__tools { width: 100%; }
    .lba-shop2__search { flex: 1; }
    .lba-shop2__search input { width: 100%; }
    .lba-sortsel > span { display: none; }
    .lba-shop2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .lba-annonce__owner { margin: auto -12px 0; padding: 8px 8px 8px 12px; gap: 4px; }
    .lba-annonce__owner a { width: 28px; height: 28px; }
    .lba-annonce__stock { font-size: .72rem; }
}

/* Anciennes cartes boutique (model/produits/fetch_produit.php, back-office) */
.lba-card__owner { display: flex; gap: 6px; margin: 0 12px 12px; }
.lba-card__owner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    min-width: 34px;
    padding: 0 10px;
    border-radius: 10px;
    background: var(--lba-line-2);
    font-size: .8rem;
    font-weight: 600;
    color: var(--lba-ink-2);
}
.lba-card__owner a:first-child { flex: 1; background: var(--lba-ink); color: #fff; }
.lba-card__owner a:first-child:hover { background: #000; color: #fff; }
.lba-card__owner a:hover { background: var(--lba-line); color: var(--lba-ink); }
.lba-card__owner .lba-card__owner-danger:hover { background: var(--lba-brand-50); color: var(--lba-brand); }
.lba-stock-inline { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.lba-stock-inline i { font-size: .45rem; }
.lba-stock-inline--ok { color: var(--lba-success); }
.lba-stock-inline--out { color: var(--lba-brand); }


/* ==========================================================================
   Panier et paiement Mobile Money (vue/panier.php)
   ========================================================================== */

.lba-cart [hidden], .lba-checkout [hidden] { display: none !important; }
/* Neutralise les règles globales button/input/label de vues_fixe/head.php */
.lba-cart .lba-btn, .lba-checkout .lba-btn, .lba-checkout__head .btn-close { margin-bottom: 0; }
.lba-cart .lba-pagehead { align-items: center; }
@media (max-width: 575.98px) { .lba-cart .lba-pagehead { align-items: flex-start; } }
.lba-cart__empty { padding: 64px 24px; }
.lba-cart__notice { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 20px; padding: 14px 16px; border-radius: var(--lba-radius); background: var(--lba-success-50); color: var(--lba-success); }
.lba-cart__notice i { margin-top: 4px; }
.lba-cart__notice p { margin: 0; color: var(--lba-ink-2); }
.lba-cart__notice a { color: var(--lba-success); font-weight: 600; text-decoration: underline; }
.lba-cart__empty i { font-size: 2.2rem; color: var(--lba-muted); opacity: .5; }

.lba-cart__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.lba-cart__items { display: flex; flex-direction: column; gap: 12px; }

.lba-cart-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius);
    transition: opacity .2s ease, border-color .15s ease;
}
.lba-cart-item:hover { border-color: #d5d7db; }
.lba-cart-item.is-busy { opacity: .55; pointer-events: none; }
.lba-cart-item.is-off .lba-cart-item__img img { filter: grayscale(1); opacity: .5; }
.lba-cart-item__img { display: block; width: 120px; height: 120px; border-radius: 12px; overflow: hidden; background: var(--lba-line-2); }
.lba-cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.lba-cart-item__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lba-cart-item__top { display: flex; align-items: flex-start; gap: 12px; }
.lba-cart-item__title { flex: 1; min-width: 0; font-weight: 600; font-size: 1rem; line-height: 1.35; color: var(--lba-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lba-cart-item__title:hover { color: var(--lba-brand); }
.lba-cart-item__remove { flex-shrink: 0; margin: 0; padding: 0; width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--lba-line-2); color: var(--lba-ink-2); display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s ease, color .15s ease; }
.lba-cart-item__remove:hover { background: var(--lba-brand-50); color: var(--lba-brand); }
.lba-cart-item__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: .84rem; color: var(--lba-muted); }
.lba-cart-item__meta i { font-size: .75rem; }
.lba-cart-item .lba-stock { align-self: flex-start; margin: 0; font-size: .76rem; padding: .2rem .6rem; }
.lba-cart-item__stock.is-warn { background: #fff4e5; color: var(--lba-warn); }
.lba-cart-item__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.lba-cart-item__total { font-family: var(--lba-font-display); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }

.lba-qty { display: inline-flex; align-items: center; height: 38px; border: 1px solid var(--lba-line); border-radius: 12px; background: #fff; overflow: hidden; }
.lba-qty__btn { margin: 0; padding: 0; border-radius: 0; width: 36px; height: 100%; border: 0; background: transparent; color: var(--lba-ink); font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
.lba-qty__btn:hover:not(:disabled) { background: var(--lba-line-2); }
.lba-qty__btn:disabled { color: var(--lba-line); cursor: not-allowed; }
.lba-qty__input { margin: 0; padding: 0; width: 42px; height: 100%; border: 0; text-align: center; font-weight: 600; font-size: .95rem; color: var(--lba-ink); background: transparent; -moz-appearance: textfield; }
.lba-qty__input::-webkit-outer-spin-button, .lba-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lba-qty__input:focus { outline: none; background: var(--lba-line-2); }

.lba-cart__summary {
    position: sticky;
    top: 148px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius-lg);
    box-shadow: var(--lba-shadow);
}
.lba-cart__summary h2 { font-size: 1.15rem; font-weight: 700; margin: 0 0 16px; text-align: left; }
.lba-cart__lines { margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.lba-cart__lines > div { display: flex; justify-content: space-between; gap: 12px; }
.lba-cart__lines dt { font-weight: 400; color: var(--lba-ink-2); }
.lba-cart__lines dd { margin: 0; font-weight: 600; text-align: right; }
.lba-cart__lines .lba-muted { font-weight: 400; color: var(--lba-muted); font-size: .85rem; }
.lba-cart__remise dt, .lba-cart__remise dd { color: var(--lba-success); }
.lba-cart__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 16px 0 0; padding-top: 16px; border-top: 1px dashed var(--lba-line); }
.lba-cart__total > span { font-weight: 600; }
.lba-cart__total strong { font-family: var(--lba-font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }

.lba-coupon { margin: 20px 0 0; }
.lba-coupon label { display: block; color: var(--lba-muted); margin-bottom: 6px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--lba-muted); }
.lba-coupon__row { display: flex; gap: 8px; }
.lba-coupon__row input { margin: 0; width: auto; flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--lba-line); border-radius: 12px; font-size: .92rem; text-transform: uppercase; }
.lba-coupon__row input::placeholder { text-transform: none; }
.lba-coupon__row input:focus { outline: none; border-color: var(--lba-ink); box-shadow: 0 0 0 4px rgba(20, 22, 26, .06); }
.lba-coupon__row input.is-invalid { border-color: var(--lba-brand); box-shadow: 0 0 0 4px rgba(215, 38, 61, .12); }
.lba-coupon__msg { margin: 6px 0 0; min-height: 1.2em; font-size: .82rem; }
.lba-coupon__msg.is-ok { color: var(--lba-success); }
.lba-coupon__msg.is-err { color: var(--lba-brand); }

.lba-cart__alert { display: flex; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff4e5; color: var(--lba-warn); font-size: .85rem; }
.lba-cart__alert i { margin-top: 3px; }
.lba-cart__alert p { margin: 0; }
.lba-cart__pay { width: 100%; margin-top: 18px; }
.lba-cart__pay:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.lba-cart__ops { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .78rem; color: var(--lba-muted); }
.lba-cart__ops img { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--lba-line-2); }

/* ---------- Fenêtre de paiement ---------- */
.lba-checkout .modal-dialog { max-width: 440px; }
.lba-checkout .modal-content { overflow: hidden; }
.lba-checkout__head { display: flex; align-items: center; gap: 10px; padding: 18px 20px 0; }
.lba-checkout__head h2 { flex: 1; margin: 0; font-size: 1.05rem; font-weight: 700; text-align: left; }
.lba-checkout__back { margin: 0; padding: 0; width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--lba-line-2); color: var(--lba-ink); display: inline-flex; align-items: center; justify-content: center; }
.lba-checkout__back:hover { background: var(--lba-line); }
.lba-checkout__amount { margin: 16px 20px 0; padding: 14px 16px; border-radius: 14px; background: var(--lba-bg); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lba-checkout__amount > span { font-size: .85rem; color: var(--lba-muted); }
.lba-checkout__amount strong { font-family: var(--lba-font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.lba-checkout__step { padding: 18px 20px 22px; }
.lba-checkout__lead { margin: 0 0 12px; font-weight: 600; font-size: .92rem; }

.lba-checkout__ops { display: flex; flex-direction: column; gap: 10px; }
.lba-checkout__op { margin: 0; color: var(--lba-ink); display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border: 1.5px solid var(--lba-line); border-radius: 14px; background: #fff; text-align: left; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.lba-checkout__op:hover, .lba-checkout__op:focus-visible { border-color: var(--lba-ink); box-shadow: var(--lba-shadow); outline: none; }
.lba-checkout__op img { width: 52px; height: 52px; border-radius: 12px; object-fit: contain; border: 1px solid var(--lba-line-2); }
.lba-checkout__op span { flex: 1; display: flex; flex-direction: column; }
.lba-checkout__op strong { font-size: 1rem; }
.lba-checkout__op small { font-size: .8rem; color: var(--lba-muted); }
.lba-checkout__op > i { color: var(--lba-muted); font-size: .85rem; }

.lba-checkout__chosen { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.lba-checkout__chosen img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; border: 1px solid var(--lba-line-2); }
.lba-checkout__chosen strong { display: block; }
.lba-checkout__chosen small { font-size: .8rem; color: var(--lba-muted); }
.lba-checkout__label { display: block; color: var(--lba-ink); margin-bottom: 6px; font-size: .85rem; font-weight: 600; }
.lba-checkout__phone { display: flex; align-items: center; height: 54px; border: 1.5px solid var(--lba-line); border-radius: 14px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.lba-checkout__phone:focus-within { border-color: var(--lba-ink); box-shadow: 0 0 0 4px rgba(20, 22, 26, .06); }
.lba-checkout__phone.is-invalid { border-color: var(--lba-brand); box-shadow: 0 0 0 4px rgba(215, 38, 61, .12); }
.lba-checkout__phone span { padding: 0 12px 0 16px; height: 100%; display: inline-flex; align-items: center; border-right: 1px solid var(--lba-line); color: var(--lba-muted); font-weight: 600; }
.lba-checkout__phone input { margin: 0; width: auto; color: var(--lba-ink); flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 0; background: transparent; font-size: 1.15rem; font-weight: 600; letter-spacing: .04em; }
.lba-checkout__phone input:focus { outline: none; }
.lba-checkout__error { margin: 6px 0 0; min-height: 1.2em; font-size: .82rem; color: var(--lba-brand); }
.lba-checkout__tips { list-style: none; margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--lba-bg); display: flex; flex-direction: column; gap: 6px; font-size: .82rem; color: var(--lba-ink-2); }
.lba-checkout__tips i { width: 16px; margin-right: 6px; color: var(--lba-muted); text-align: center; }
.lba-checkout__submit { width: 100%; margin-top: 18px; }
.lba-checkout__submit:disabled { opacity: .6; }

.lba-checkout__state { text-align: center; padding-top: 28px; }
.lba-checkout__state h3 { margin: 16px 0 6px; font-size: 1.2rem; font-weight: 700; }
.lba-checkout__state p { margin: 0 auto; max-width: 34ch; font-size: .9rem; color: var(--lba-ink-2); }
.lba-checkout__state .lba-btn--lg { margin-top: 20px; width: 100%; }
.lba-checkout__actions { display: flex; gap: 8px; margin-top: 20px; }
.lba-checkout__actions .lba-btn { flex: 1; }
.lba-checkout__icon { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; }
.lba-checkout__state.is-ok .lba-checkout__icon { background: var(--lba-success-50); color: var(--lba-success); animation: lba-pop .35s ease-out; }
.lba-checkout__state.is-err .lba-checkout__icon { background: var(--lba-brand-50); color: var(--lba-brand); }
.lba-checkout__state.is-warn .lba-checkout__icon { background: #fff4e5; color: var(--lba-warn); }
.lba-checkout__spinner { position: relative; width: 76px; height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--lba-ink); }
.lba-checkout__spinner::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--lba-line-2); border-top-color: var(--lba-brand); animation: lba-spin .9s linear infinite; }
.lba-checkout__progress { height: 4px; margin: 22px auto 0; max-width: 220px; border-radius: 999px; background: var(--lba-line-2); overflow: hidden; }
.lba-checkout__progress span { display: block; width: 0; height: 100%; background: var(--lba-brand); transition: width .4s linear; }

@keyframes lba-spin { to { transform: rotate(360deg); } }
@keyframes lba-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .lba-checkout__spinner::before { animation-duration: 2.5s; }
    .lba-checkout__state.is-ok .lba-checkout__icon { animation: none; }
}

@media (max-width: 900px) {
    .lba-cart__grid { grid-template-columns: 1fr; }
    .lba-cart__summary { position: static; }
}
@media (max-width: 575.98px) {
    .lba-cart .lba-pagehead .lba-btn { display: none; }
    .lba-cart-item { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; }
    .lba-cart-item__img { width: 84px; height: 84px; }
    .lba-cart-item__total { font-size: 1rem; }
    .lba-cart__summary { padding: 20px; }
    .lba-checkout .modal-dialog { margin: auto 10px; }
}

/* ==========================================================================
   Dépôt d'annonce : choix du type + formulaires (#formpost)
   ========================================================================== */

.lba-pagehead--center { justify-content: center; text-align: center; margin: 16px 0 32px; }
.lba-pagehead--center h1 { text-align: center; }
.lba-pagehead--center .lba-eyebrow { margin-bottom: 14px; }

.lba-typegrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    max-width: 1080px;
    margin: 0 auto;
}
.lba-type {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px 14px 14px;
    background: #fff;
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius);
    color: var(--lba-ink);
    transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.lba-type:hover { color: var(--lba-ink); border-color: transparent; box-shadow: var(--lba-shadow-lg); transform: translateY(-2px); }
.lba-type__img { width: 72px; height: 72px; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: var(--lba-line-2); }
.lba-type__img img { width: 100%; height: 100%; object-fit: cover; }
.lba-type__body { flex: 1; min-width: 0; }
.lba-type__body strong { display: block; font-size: 1rem; }
.lba-type__body small { color: var(--lba-muted); font-size: .84rem; }
.lba-type > i { color: var(--lba-muted); transition: transform .2s ease, color .2s ease; }
.lba-type:hover > i { color: var(--lba-brand); transform: translateX(3px); }

.container:has(> #formpost) {
    display: block;
    max-width: 900px;
    width: auto;
    margin: 16px auto 0;
    padding: 0;
}
.row:has(#formpost) > .col-md-2 { display: none; }
.row:has(#formpost) > .col-md-8 { width: 100%; }
.container:has(> #formpost) > br { display: none; }
.container:has(> #formpost) > img { display: none; }
.container:has(> #formpost) > h5 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 20px; text-align: left; }

#formpost {
    padding: clamp(20px, 4vw, 36px);
    background: #fff;
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius-lg);
    box-shadow: var(--lba-shadow);
}
#formpost > .row { --bs-gutter-x: 16px; margin-bottom: 4px; }
#formpost label { display: block; margin-bottom: 6px; font-size: .84rem; font-weight: 600; color: var(--lba-ink-2); }
#formpost .form-control,
#formpost .form-select,
#formpost select { min-height: 46px; border-radius: 12px; }
#formpost textarea.form-control { min-height: 130px; padding: 12px 14px; }
#formpost .form-group { margin-bottom: 16px; }
#formpost .form-group:has(> img) {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border: 1.5px dashed var(--lba-line);
    border-radius: 14px;
    background: var(--lba-line-2);
}
#formpost .form-group > img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; background: #fff; }
#formpost input[type="file"] { min-height: 0; padding: 8px; font-size: .8rem; border-radius: 10px; background: #fff; border: 1px solid var(--lba-line); color: var(--lba-ink-2); }
#formpost input[type="file"]::file-selector-button { margin-right: 10px; padding: 6px 12px; border: 0; border-radius: 8px; background: var(--lba-ink); color: #fff; font-weight: 600; cursor: pointer; }
#formpost button[type="submit"],
#formpost input[type="submit"] {
    min-width: 220px;
    height: 52px;
    padding: 0 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    background: var(--lba-brand);
    border-color: var(--lba-brand);
    color: #fff;
    box-shadow: 0 6px 16px rgba(215, 38, 61, .25);
}
#formpost button[type="submit"]:hover { background: var(--lba-brand-600); }

/* ==========================================================================
   Mon espace (vue/monprofile.php) : profil, espace vendeur, espace acheteur
   ========================================================================== */

.lba-me [hidden] { display: none !important; }
.lba-me .lba-btn { margin-bottom: 0; }
.lba-me__login { max-width: 520px; margin: 48px auto; }
.lba-me { padding-top: 8px; margin-bottom: 56px; }

/* Profil */
.lba-me__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 32px;
    padding: 28px;
    margin-bottom: 16px;
    border-radius: var(--lba-radius-lg);
    background:
        radial-gradient(80% 140% at 100% 0%, rgba(215, 38, 61, .08), transparent 55%),
        radial-gradient(60% 120% at 0% 100%, rgba(255, 200, 61, .12), transparent 60%),
        #fff;
    border: 1px solid var(--lba-line);
    box-shadow: var(--lba-shadow-sm);
}
.lba-me__identity { display: flex; align-items: center; gap: 22px; min-width: 0; }
.lba-me__avatar { position: relative; flex-shrink: 0; width: 104px; height: 104px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, var(--lba-brand), var(--lba-sun)); }
.lba-me__avatar img, .lba-me__avatar > span { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; object-fit: cover; }
.lba-me__avatar > span { display: flex; align-items: center; justify-content: center; background: var(--lba-ink); color: #fff; font-family: var(--lba-font-display); font-size: 2.1rem; font-weight: 800; }
.lba-me__avatar-edit { position: absolute; right: 2px; bottom: 2px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--lba-ink); box-shadow: var(--lba-shadow); display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.lba-me__avatar-edit:hover { background: var(--lba-ink); color: #fff; }
.lba-me__who { min-width: 0; }
.lba-me__hello { margin: 0 0 2px; font-size: .9rem; color: var(--lba-muted); }
.lba-me__who h1 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-align: left; overflow-wrap: anywhere; }
.lba-me__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 12px; padding: 0; font-size: .88rem; color: var(--lba-muted); }
.lba-me__meta li { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: inherit; min-width: 0; overflow-wrap: anywhere; }
.lba-me__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.lba-me__badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #fff4e5; color: var(--lba-warn); font-size: .75rem; font-weight: 600; }
.lba-me__badge.is-ok { background: var(--lba-success-50); color: var(--lba-success); }
.lba-me__badge.is-pro { background: #eef2ff; color: #3b4fd8; }

.lba-me__quick { display: grid; grid-template-columns: repeat(5, 84px); gap: 8px; align-self: center; }
.lba-me__quick form { margin: 0; display: flex; }
.lba-me__quick a, .lba-me__quick button {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 84px;
    margin: 0;
    padding: 10px 6px;
    border: 1px solid var(--lba-line);
    border-radius: 16px;
    background: #fff;
    color: var(--lba-ink);
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.lba-me__quick a:hover, .lba-me__quick button:hover { border-color: var(--lba-ink); color: var(--lba-ink); transform: translateY(-2px); box-shadow: var(--lba-shadow); background: #fff; }
.lba-me__quick i { font-size: 1.15rem; }
.lba-me__quick button { color: var(--lba-brand); }
.lba-me__quick b { position: absolute; top: 8px; right: 10px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--lba-brand); color: #fff; font-size: .68rem; line-height: 20px; }

.lba-me__progress { grid-column: 1 / -1; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .75); border: 1px solid var(--lba-line); }
.lba-me__progress-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: .9rem; }
.lba-me__progress-head span { color: var(--lba-muted); font-size: .82rem; }
.lba-me__bar { height: 8px; border-radius: 999px; background: var(--lba-line-2); overflow: hidden; }
.lba-me__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--lba-brand), #f0644a); }
.lba-me__progress ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; }
.lba-me__progress li { margin: 0; }
.lba-me__progress li a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--lba-line); background: #fff; color: var(--lba-ink-2); font-size: .8rem; font-weight: 500; }
.lba-me__progress li a:hover { border-color: var(--lba-brand); color: var(--lba-brand); }
.lba-me__progress li a i:first-child { font-size: .7rem; color: var(--lba-muted); }
.lba-me__progress li a i:last-child { font-size: .65rem; }

.lba-me__alert { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 14px 18px; border-radius: var(--lba-radius); background: #fff4e5; border: 1px solid #fde3bf; }
.lba-me__alert > i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: #fff; color: var(--lba-warn); display: flex; align-items: center; justify-content: center; }
.lba-me__alert > div { flex: 1; min-width: 0; }
.lba-me__alert strong { display: block; font-size: .92rem; }
.lba-me__alert p { margin: 0; font-size: .84rem; color: var(--lba-ink-2); }
.lba-me__alert form { margin: 0; }

/* Espaces vendeur / acheteur */
.lba-me__switch { display: inline-flex; gap: 4px; padding: 4px; margin: 8px 0 18px; border-radius: 14px; background: #fff; border: 1px solid var(--lba-line); }
.lba-me__switch button { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin: 0; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--lba-muted); font-size: .9rem; font-weight: 600; }
.lba-me__switch button:hover { color: var(--lba-ink); background: transparent; }
.lba-me__switch button.is-active { background: var(--lba-ink); color: #fff; }
.lba-me__switch b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--lba-brand); color: #fff; font-size: .7rem; line-height: 20px; }

.lba-me__space { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.lba-me__nav { position: sticky; top: 148px; display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: var(--lba-radius); background: #fff; border: 1px solid var(--lba-line); }
.lba-me__nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--lba-ink-2); font-size: .9rem; font-weight: 500; }
.lba-me__nav a i { width: 18px; text-align: center; color: var(--lba-muted); }
.lba-me__nav a:hover { background: var(--lba-line-2); color: var(--lba-ink); }
.lba-me__nav a.is-active { background: var(--lba-brand-50); color: var(--lba-brand-700); font-weight: 600; }
.lba-me__nav a.is-active i { color: var(--lba-brand); }
.lba-me__nav a span { margin-left: auto; min-width: 22px; padding: 0 7px; border-radius: 999px; background: var(--lba-line-2); font-size: .72rem; font-weight: 600; line-height: 1.7; text-align: center; color: var(--lba-muted); }
.lba-me__nav a span.is-live { background: var(--lba-brand); color: #fff; }

.lba-me__panels { min-width: 0; }
.lba-me__panel { animation: lba-me-in .25s ease; }
@keyframes lba-me-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lba-me__panel { animation: none; } }
.lba-me__panelhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.lba-me__panelhead h2 { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; text-align: left; }
.lba-me__panelhead p { margin: 2px 0 0; font-size: .88rem; color: var(--lba-muted); }
.lba-me__periods { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--lba-line-2); }
.lba-me__periods a { padding: 6px 12px; border-radius: 9px; color: var(--lba-muted); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.lba-me__periods a:hover { color: var(--lba-ink); }
.lba-me__periods a.is-active { background: #fff; color: var(--lba-ink); box-shadow: var(--lba-shadow-sm); }

/* Indicateurs */
.lba-me__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.lba-me__kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lba-me__kpi { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--lba-radius); background: #fff; border: 1px solid var(--lba-line); min-width: 0; }
.lba-me__kpi > span { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--lba-muted); }
.lba-me__kpi strong { font-family: var(--lba-font-display); font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: anywhere; }
.lba-me__kpi strong small { font-family: var(--lba-font); font-size: .78rem; font-weight: 600; color: var(--lba-muted); letter-spacing: 0; }
.lba-me__kpi em { font-style: normal; font-size: .78rem; color: var(--lba-muted); }
.lba-me__kpi.is-main { background: var(--lba-ink); border-color: var(--lba-ink); color: #fff; }
.lba-me__kpi.is-main > span, .lba-me__kpi.is-main em, .lba-me__kpi.is-main small { color: rgba(255, 255, 255, .65); }

/* Cartes */
.lba-me__grid2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.lba-me__grid2--avis { grid-template-columns: 280px minmax(0, 1fr); align-items: start; }
.lba-me__card { padding: 20px; border-radius: var(--lba-radius); background: #fff; border: 1px solid var(--lba-line); min-width: 0; margin-bottom: 16px; }
.lba-me__grid2 > .lba-me__card { margin-bottom: 0; }
.lba-me__card--flush { padding: 0; overflow: hidden; }
.lba-me__cardhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lba-me__cardhead h3 { margin: 0; font-size: 1rem; font-weight: 700; text-align: left; }
.lba-me__cardhead span { font-size: .78rem; color: var(--lba-muted); }
.lba-me__cardhead a { font-size: .82rem; font-weight: 600; color: var(--lba-brand); }
.lba-me__canvas { position: relative; height: 260px; }
.lba-me__blank { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 260px; text-align: center; color: var(--lba-muted); }
.lba-me__blank--sm { min-height: 160px; }
.lba-me__blank i { font-size: 1.6rem; opacity: .4; }
.lba-me__blank p { margin: 0; font-size: .88rem; }
.lba-me__blank a { font-size: .85rem; font-weight: 600; color: var(--lba-brand); }

.lba-me__thumb { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--lba-line-2); display: inline-block; }
.lba-me__thumb.is-lg { width: 72px; height: 72px; border-radius: 12px; }
.lba-me__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lba-me__top, .lba-me__feed, .lba-me__reviews, .lba-me__rate { list-style: none; margin: 0; padding: 0; }
.lba-me__top li, .lba-me__feed li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 0; border-top: 1px solid var(--lba-line-2); }
.lba-me__top li:first-child, .lba-me__feed li:first-child { border-top: 0; padding-top: 0; }
.lba-me__rank { width: 22px; flex-shrink: 0; font-family: var(--lba-font-display); font-weight: 800; color: var(--lba-muted); text-align: center; }
.lba-me__top li:first-child .lba-me__rank { color: var(--lba-sun); }
.lba-me__toptxt, .lba-me__feedtxt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lba-me__toptxt a, .lba-me__feedtxt strong, .lba-me__feedtxt > a { font-size: .88rem; font-weight: 600; color: var(--lba-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lba-me__toptxt small, .lba-me__feedtxt small { font-size: .76rem; color: var(--lba-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lba-me__feedtxt small a { color: var(--lba-ink-2); text-decoration: underline; text-decoration-color: var(--lba-line); }
.lba-me__top strong, .lba-me__amount { flex-shrink: 0; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.lba-me__amount { color: var(--lba-success); }

/* Tableaux */
.lba-me__table { overflow-x: auto; }
.lba-me__table table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.lba-me__table th { padding: 12px 12px; background: var(--lba-bg); border-bottom: 1px solid var(--lba-line); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--lba-muted); text-align: left; white-space: nowrap; }
.lba-me__table td { padding: 12px 12px; border-bottom: 1px solid var(--lba-line-2); vertical-align: middle; color: var(--lba-ink); }
.lba-me__table tbody tr:last-child td { border-bottom: 0; }
.lba-me__table tbody tr:hover td { background: #fcfcfb; }
.lba-me__table .is-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lba-me__table td small { display: block; font-size: .75rem; color: var(--lba-muted); white-space: nowrap; }
.lba-me__ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; font-weight: 600; }
.lba-me__person, .lba-me__product { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lba-me__person > span:last-child { white-space: nowrap; }
.lba-me__product a { font-weight: 600; color: var(--lba-ink); display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lba-me__mini { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--lba-brand-50); color: var(--lba-brand-700); display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; }
.lba-me__status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; white-space: nowrap; }
.lba-me__status.is-ok { background: var(--lba-success-50); color: var(--lba-success); }
.lba-me__status.is-wait { background: #fff4e5; color: var(--lba-warn); }
.lba-me__status.is-off { background: var(--lba-line-2); color: var(--lba-muted); }
.lba-me__actions { white-space: nowrap; text-align: right; }
.lba-me__actions template { display: none; }
.lba-me__btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; margin: 0 0 0 4px; padding: 0 12px; border: 1px solid var(--lba-line); border-radius: 9px; background: #fff; color: var(--lba-ink); font-size: .8rem; font-weight: 600; }
.lba-me__btn:hover { border-color: var(--lba-ink); background: #fff; color: var(--lba-ink); }
.lba-me__btn.is-primary { background: var(--lba-ink); border-color: var(--lba-ink); color: #fff; }
.lba-me__btn.is-primary:hover { background: #000; color: #fff; }
.lba-me__btn:disabled { opacity: .5; }
.lba-me__icon { width: 30px; height: 30px; margin-left: 2px; border-radius: 9px; background: var(--lba-line-2); color: var(--lba-ink-2); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.lba-me__icon:hover { background: var(--lba-ink); color: #fff; }
.lba-me__icon.is-danger:hover { background: var(--lba-brand); color: #fff; }

/* Avis */
.lba-me__score { text-align: center; }
.lba-me__score > strong { display: block; font-family: var(--lba-font-display); font-size: 3.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.lba-me__score > p { margin: 6px 0 16px; font-size: .85rem; color: var(--lba-muted); }
.lba-me__stars { display: inline-flex; gap: 2px; color: #f5a524; font-size: 1rem; margin-top: 8px; }
.lba-me__stars.is-sm { font-size: .72rem; margin: 0 0 0 6px; vertical-align: 1px; }
.lba-me__stars .fa-regular { color: #e3e4e7; }
.lba-me__dist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.lba-me__dist li { display: grid; grid-template-columns: 36px 1fr 24px; align-items: center; gap: 8px; margin: 0; font-size: .8rem; color: var(--lba-muted); }
.lba-me__dist li i { font-size: .65rem; color: #f5a524; }
.lba-me__dist li > span:last-child { text-align: right; }
.lba-me__distbar { height: 8px; border-radius: 999px; background: var(--lba-line-2); overflow: hidden; }
.lba-me__distbar span { display: block; height: 100%; background: #f5a524; border-radius: 999px; }
.lba-me__reviews li { display: flex; gap: 12px; margin: 0; padding: 12px 0; border-top: 1px solid var(--lba-line-2); }
.lba-me__reviews li:first-child { border-top: 0; padding-top: 0; }
.lba-me__reviews p { margin: 0; font-size: .88rem; }
.lba-me__reviews small { font-size: .76rem; color: var(--lba-muted); }

/* Mises en avant */
.lba-me__promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.lba-me__promo { display: flex; gap: 14px; padding: 14px; border-radius: var(--lba-radius); background: #fff; border: 1px solid var(--lba-line); }
.lba-me__promo.is-live { border-color: rgba(15, 138, 95, .35); box-shadow: 0 0 0 3px rgba(15, 138, 95, .06); }
.lba-me__promo > div { min-width: 0; }
.lba-me__promo h3 { margin: 6px 0 2px; font-size: .95rem; font-weight: 700; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lba-me__promo h3 a { color: var(--lba-ink); }
.lba-me__promo p { margin: 0; font-size: .8rem; color: var(--lba-ink-2); }
.lba-me__promo p i { color: var(--lba-sun); }
.lba-me__promo small { font-size: .76rem; color: var(--lba-muted); }

/* Commandes (acheteur) */
.lba-me__orders { display: flex; flex-direction: column; gap: 12px; }
.lba-me__order { border-radius: var(--lba-radius); background: #fff; border: 1px solid var(--lba-line); overflow: hidden; }
.lba-me__order > header, .lba-me__order > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--lba-bg); }
.lba-me__order > header small { display: block; font-size: .76rem; color: var(--lba-muted); }
.lba-me__order > footer { background: #fff; border-top: 1px solid var(--lba-line-2); font-size: .88rem; color: var(--lba-muted); }
.lba-me__order > footer strong { margin-left: 6px; font-size: 1rem; color: var(--lba-ink); }
.lba-me__order ul { list-style: none; margin: 0; padding: 4px 18px; }
.lba-me__order li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 0; border-top: 1px solid var(--lba-line-2); }
.lba-me__order li:first-child { border-top: 0; }
.lba-me__order li > strong { flex-shrink: 0; font-size: .88rem; white-space: nowrap; }

/* Notation */
.lba-me__rate li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 18px; border-top: 1px solid var(--lba-line-2); }
.lba-me__rate li:first-child { border-top: 0; }
.lba-me__starpick { display: inline-flex; flex-shrink: 0; gap: 2px; }
.lba-me__starpick button { width: 30px; height: 30px; margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #dcdde1; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center; transition: color .1s ease, transform .1s ease; }
.lba-me__starpick button:hover { background: transparent; transform: scale(1.12); }
.lba-me__starpick button.is-on, .lba-me__starpick button.is-hover { color: #f5a524; }
.lba-me__starpick:hover button.is-on:not(.is-hover) { color: #dcdde1; }
.lba-me__starpick button:focus-visible { outline: 2px solid var(--lba-ink); outline-offset: 1px; }

@media (max-width: 1199.98px) {
    .lba-me__hero { grid-template-columns: minmax(0, 1fr); }
    .lba-me__quick { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lba-me__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .lba-me__space { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .lba-me__nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .lba-me__nav::-webkit-scrollbar { display: none; }
    .lba-me__nav a { flex-shrink: 0; white-space: nowrap; }
    .lba-me__grid2, .lba-me__grid2--avis { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
    /* Tableaux en cartes empilées */
    .lba-me__table table, .lba-me__table tbody, .lba-me__table tr, .lba-me__table td { display: block; width: 100%; }
    .lba-me__table thead { display: none; }
    .lba-me__table tr { padding: 12px 16px; border-bottom: 1px solid var(--lba-line); }
    .lba-me__table tbody tr:last-child { border-bottom: 0; }
    .lba-me__table td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 0; border: 0; text-align: right; }
    .lba-me__table td[data-label]::before { content: attr(data-label); font-size: .75rem; font-weight: 600; color: var(--lba-muted); text-align: left; }
    .lba-me__table td:first-child { display: block; text-align: left; padding-bottom: 8px; }
    .lba-me__table td:first-child::before { display: none; }
    .lba-me__table .lba-me__actions { justify-content: flex-end; padding-top: 8px; }
    .lba-me__product a { max-width: none; white-space: normal; }
}
@media (max-width: 575.98px) {
    .lba-me__hero { padding: 20px 16px; }
    .lba-me__identity { flex-direction: column; align-items: flex-start; gap: 14px; }
    .lba-me__avatar { width: 84px; height: 84px; }
    .lba-me__quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lba-me__switch { display: flex; }
    .lba-me__switch button { flex: 1; justify-content: center; padding: 0 8px; font-size: .84rem; white-space: nowrap; }
    .lba-me__switch button > i { display: none; }
    .lba-me__kpis, .lba-me__kpis--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
    .lba-me__kpi { padding: 12px 14px; }
    .lba-me__kpi strong { font-size: 1.2rem; }
    .lba-me__kpi.is-main { grid-column: 1 / -1; }
    .lba-me__periods { width: 100%; }
    .lba-me__periods a { flex: 1; text-align: center; padding: 6px 4px; }
    .lba-me__alert { flex-wrap: wrap; }
    .lba-me__alert form { width: 100%; }
    .lba-me__alert .lba-btn { width: 100%; }
    .lba-me__rate li { flex-wrap: wrap; padding: 12px 16px; }
    .lba-me__rate .lba-me__starpick { margin-left: 56px; }
    .lba-me__promos { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Messagerie (vue/messagerie.php)
   ========================================================================== */

.lba-chat [hidden] { display: none !important; }
.lba-chat__login { max-width: 520px; margin: 48px auto; }
.lba-chat {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    height: calc(100vh - 210px);
    min-height: 540px;
    margin: 8px 0 40px;
    border-radius: var(--lba-radius-lg);
    background: #fff;
    border: 1px solid var(--lba-line);
    box-shadow: var(--lba-shadow-sm);
    overflow: hidden;
}
.lba-chat button { margin: 0; }

.lba-chat__avatar { position: relative; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--lba-brand), #f0644a); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; overflow: hidden; }
.lba-chat__avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Colonne des conversations */
.lba-chat__list { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--lba-line); background: #fff; }
.lba-chat__listhead { padding: 20px 18px 12px; border-bottom: 1px solid var(--lba-line-2); }
.lba-chat__listhead h1 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; text-align: left; }
.lba-chat__listhead h1 span { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--lba-brand); color: #fff; font-family: var(--lba-font); font-size: .74rem; font-weight: 700; line-height: 22px; text-align: center; letter-spacing: 0; }
.lba-chat__search { position: relative; display: block; margin: 0 0 10px; }
.lba-chat__search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: .8rem; color: var(--lba-muted); pointer-events: none; }
.lba-chat__search input { width: 100%; height: 40px; margin: 0; padding: 0 12px 0 34px; border: 0; border-radius: 12px; background: var(--lba-line-2); font-size: .88rem; color: var(--lba-ink); }
.lba-chat__search input:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--lba-ink) inset; }
.lba-chat__filters { display: flex; gap: 6px; }
.lba-chat__filters button { height: 30px; padding: 0 12px; border: 1px solid var(--lba-line); border-radius: 999px; background: #fff; color: var(--lba-ink-2); font-size: .8rem; font-weight: 600; }
.lba-chat__filters button.is-active { background: var(--lba-ink); border-color: var(--lba-ink); color: #fff; }

.lba-chat__items { flex: 1; min-height: 0; overflow-y: auto; padding: 6px; }
.lba-chat__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--lba-ink);
    text-align: left;
    transition: background-color .12s ease;
}
.lba-chat__item:hover { background: var(--lba-bg); color: var(--lba-ink); }
.lba-chat__item.is-active { background: var(--lba-brand-50); }
.lba-chat__itemtxt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lba-chat__itemtop { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.lba-chat__itemtop strong { font-size: .92rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lba-chat__itemtop time { flex-shrink: 0; font-size: .72rem; color: var(--lba-muted); }
.lba-chat__subject { font-size: .76rem; font-weight: 600; color: var(--lba-brand-700); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lba-chat__preview { font-size: .82rem; color: var(--lba-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lba-chat__preview i { font-size: .65rem; }
.lba-chat__item.is-unread .lba-chat__itemtop strong, .lba-chat__item.is-unread .lba-chat__preview { font-weight: 700; color: var(--lba-ink); }
.lba-chat__item.is-unread .lba-chat__itemtop time { color: var(--lba-brand); font-weight: 600; }
.lba-chat__itemimg { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: var(--lba-line-2); }
.lba-chat__itemimg img { width: 100%; height: 100%; object-fit: cover; }
.lba-chat__dot { position: absolute; left: 44px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--lba-brand); border: 2px solid #fff; }
.lba-chat__item.is-skeleton { pointer-events: none; }
.lba-chat__item.is-skeleton .lba-chat__avatar, .lba-chat__item.is-skeleton .lba-chat__itemtxt span {
    background: linear-gradient(90deg, var(--lba-line-2) 0%, #fafafa 50%, var(--lba-line-2) 100%);
    background-size: 200% 100%;
    animation: lba-shimmer 1.3s ease-in-out infinite;
}
.lba-chat__item.is-skeleton .lba-chat__itemtxt { gap: 8px; }
.lba-chat__item.is-skeleton .lba-chat__itemtxt span { display: block; height: 10px; border-radius: 5px; }
.lba-chat__item.is-skeleton .lba-chat__itemtxt span:first-child { width: 55%; }
.lba-chat__item.is-skeleton .lba-chat__itemtxt span:last-child { width: 85%; }
.lba-chat__none { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 20px; text-align: center; color: var(--lba-muted); }
.lba-chat__none i { font-size: 1.6rem; opacity: .45; }
.lba-chat__none p { margin: 0; font-size: .88rem; }
.lba-chat__none a { font-size: .85rem; font-weight: 600; color: var(--lba-brand); }

/* Conversation */
.lba-chat__thread { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--lba-bg); }
.lba-chat__welcome { margin: auto; max-width: 380px; padding: 32px; text-align: center; }
.lba-chat__welcome-icon { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 24px; background: #fff; box-shadow: var(--lba-shadow); color: var(--lba-brand); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.lba-chat__welcome h2 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 800; text-align: center; }
.lba-chat__welcome p { margin: 0; font-size: .88rem; color: var(--lba-muted); }
.lba-chat__open { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.lba-chat__open.is-loading .lba-chat__scroll { opacity: .4; }

.lba-chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: #fff; border-bottom: 1px solid var(--lba-line-2); }
.lba-chat__back { display: none; width: 38px; height: 38px; flex-shrink: 0; padding: 0; border: 0; border-radius: 12px; background: var(--lba-line-2); color: var(--lba-ink); align-items: center; justify-content: center; }
.lba-chat__who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--lba-ink); }
.lba-chat__who:hover { color: var(--lba-ink); }
.lba-chat__who > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.lba-chat__who strong { font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lba-chat__who small { font-size: .78rem; color: var(--lba-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lba-chat__shoplink { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--lba-line); color: var(--lba-ink); font-size: .82rem; font-weight: 600; }
.lba-chat__shoplink:hover { border-color: var(--lba-ink); color: var(--lba-ink); }

.lba-chat__product { display: flex; align-items: center; gap: 12px; margin: 12px 18px 0; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--lba-line); color: var(--lba-ink); box-shadow: var(--lba-shadow-sm); }
.lba-chat__product:hover { border-color: var(--lba-ink); color: var(--lba-ink); }
.lba-chat__pimg { flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--lba-line-2); display: flex; align-items: center; justify-content: center; color: var(--lba-muted); }
.lba-chat__pimg img { width: 100%; height: 100%; object-fit: cover; }
.lba-chat__ptxt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lba-chat__ptxt strong { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lba-chat__ptxt small { font-size: .8rem; color: var(--lba-muted); }
.lba-chat__ptxt b { font-family: var(--lba-font-display); font-weight: 800; color: var(--lba-brand); }
.lba-chat__product.is-off .lba-chat__ptxt b { color: var(--lba-muted); }
.lba-chat__pcta { flex-shrink: 0; font-size: .8rem; font-weight: 600; color: var(--lba-ink-2); display: inline-flex; align-items: center; gap: 6px; }
.lba-chat__pcta i { font-size: .7rem; }

.lba-chat__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 18px 8px; transition: opacity .15s ease; overscroll-behavior: contain; }
.lba-chat__safety { display: flex; gap: 10px; align-items: flex-start; max-width: 520px; margin: 0 auto 16px; padding: 10px 14px; border-radius: 12px; background: #fff8e8; color: #7a5a12; font-size: .78rem; line-height: 1.45; }
.lba-chat__safety i { margin-top: 2px; color: #c58a0b; }
.lba-chat__safety p { margin: 0; }
.lba-chat__day { display: flex; justify-content: center; margin: 14px 0 10px; }
.lba-chat__day span { padding: 3px 12px; border-radius: 999px; background: rgba(20, 22, 26, .06); font-size: .72rem; font-weight: 600; color: var(--lba-muted); text-transform: capitalize; }

.lba-chat__msg { display: flex; flex-direction: column; max-width: min(74%, 560px); margin-bottom: 4px; }
.lba-chat__msg.is-them { align-items: flex-start; margin-right: auto; }
.lba-chat__msg.is-me { align-items: flex-end; margin-left: auto; }
.lba-chat__bubble { padding: 9px 14px; border-radius: 18px; font-size: .92rem; line-height: 1.45; overflow-wrap: anywhere; white-space: normal; }
.lba-chat__msg.is-them .lba-chat__bubble { background: #fff; color: var(--lba-ink); border: 1px solid var(--lba-line); border-bottom-left-radius: 6px; }
.lba-chat__msg.is-me .lba-chat__bubble { background: var(--lba-brand); color: #fff; border-bottom-right-radius: 6px; }
.lba-chat__msg.is-me .lba-chat__bubble a { color: #fff; text-decoration: underline; }
.lba-chat__msg.is-them .lba-chat__bubble a { color: var(--lba-brand-700); text-decoration: underline; }
.lba-chat__msg time { margin: 3px 6px 6px; font-size: .68rem; color: var(--lba-muted); }
/* Messages consécutifs du même auteur : plus serrés */
.lba-chat__msg.is-me + .lba-chat__msg.is-me, .lba-chat__msg.is-them + .lba-chat__msg.is-them { margin-top: -2px; }
.lba-chat__msg.is-pending .lba-chat__bubble { opacity: .65; }
.lba-chat__msg.is-failed .lba-chat__bubble { background: var(--lba-brand-50); color: var(--lba-brand-700); border: 1px solid var(--lba-brand-100); }
.lba-chat__retry { padding: 0; border: 0; background: none; color: var(--lba-brand); font-size: .72rem; font-weight: 600; }
.lba-chat__msg.is-new { animation: lba-chat-in .2s ease-out; }
@keyframes lba-chat-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lba-chat__seen { margin: -2px 6px 4px auto; width: max-content; font-size: .7rem; font-weight: 600; color: var(--lba-success); }

.lba-chat__quick { display: flex; gap: 6px; padding: 4px 18px 8px; overflow-x: auto; scrollbar-width: none; }
.lba-chat__quick::-webkit-scrollbar { display: none; }
.lba-chat__quick button { flex-shrink: 0; height: 32px; padding: 0 12px; border: 1px solid var(--lba-brand-100); border-radius: 999px; background: #fff; color: var(--lba-brand-700); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.lba-chat__quick button:hover { background: var(--lba-brand-50); color: var(--lba-brand-700); }

.lba-chat__composer { position: relative; display: flex; align-items: flex-end; gap: 10px; margin: 0; padding: 12px 18px 16px; background: #fff; border-top: 1px solid var(--lba-line-2); }
.lba-chat__composer textarea {
    flex: 1;
    min-height: 44px;
    max-height: 140px;
    margin: 0;
    padding: 11px 16px;
    border: 1px solid var(--lba-line);
    border-radius: 22px;
    background: var(--lba-bg);
    font: inherit;
    font-size: .92rem;
    line-height: 1.4;
    color: var(--lba-ink);
    resize: none;
}
.lba-chat__composer textarea:focus { outline: none; background: #fff; border-color: var(--lba-ink); }
.lba-chat__count { position: absolute; right: 78px; bottom: 26px; font-size: .7rem; color: var(--lba-muted); }
.lba-chat__send { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--lba-brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; box-shadow: 0 4px 12px rgba(215, 38, 61, .3); transition: transform .12s ease, opacity .12s ease; }
.lba-chat__send:hover:not(:disabled) { background: var(--lba-brand-600); transform: scale(1.05); }
.lba-chat__send:disabled { opacity: .35; box-shadow: none; cursor: default; }

@media (prefers-reduced-motion: reduce) {
    .lba-chat__msg.is-new { animation: none; }
}

/* Mobile : une colonne à la fois */
@media (max-width: 767.98px) {
    .lba-chat { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - 150px); min-height: 460px; margin: 0 calc(-1 * var(--lba-gutter)) 24px; border-radius: 0; border-left: 0; border-right: 0; }
    .lba-chat__thread { display: none; }
    .lba-chat.is-thread .lba-chat__list { display: none; }
    .lba-chat.is-thread .lba-chat__thread { display: flex; }
    .lba-chat__back { display: inline-flex; }
    .lba-chat__shoplink span { display: none; }
    .lba-chat__shoplink { width: 36px; padding: 0; justify-content: center; }
    .lba-chat__head { padding: 10px 12px; }
    .lba-chat__product { margin: 10px 12px 0; }
    .lba-chat__pcta { display: none; }
    .lba-chat__scroll { padding: 12px 12px 6px; }
    .lba-chat__msg { max-width: 84%; }
    .lba-chat__quick { padding: 4px 12px 8px; }
    .lba-chat__composer { padding: 10px 12px 12px; }
    .lba-chat__composer textarea { font-size: 16px; }
}

/* ==========================================================================
   Authentification
   ========================================================================== */

.lba-auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: 1080px;
    margin: 16px auto 0;
    background: #fff;
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius-lg);
    overflow: hidden;
    box-shadow: var(--lba-shadow);
}
.lba-auth__form { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.lba-auth__form h1 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 8px; text-align: left; }
.lba-auth__lead { color: var(--lba-muted); margin: 0 0 28px; }
.lba-auth__switch { margin: 24px 0 0; text-align: center; font-size: .92rem; color: var(--lba-muted); }
.lba-auth__switch a { color: var(--lba-brand); font-weight: 600; }
.lba-auth__aside { position: relative; min-height: 520px; overflow: hidden; background: var(--lba-ink); }
.lba-auth__aside::before { content: ""; position: absolute; right: -140px; top: -140px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(215, 38, 61, .6), transparent 65%); }
.lba-auth__aside::after { content: ""; position: absolute; left: -100px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 61, .22), transparent 65%); }
.lba-auth__aside-inner { z-index: 1; }
.lba-auth__aside-inner { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px; color: #fff; }
.lba-auth__aside h2 { color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; text-align: left; }
.lba-auth__aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lba-auth__aside li { display: flex; align-items: center; gap: 10px; margin: 0; color: rgba(255, 255, 255, .9); font-size: .95rem; }
.lba-auth__aside li i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; }

.lba-field { margin-bottom: 18px; }
.lba-field label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 600; color: var(--lba-ink-2); }
.lba-field__row { display: flex; justify-content: space-between; align-items: baseline; }
.lba-field__row a { font-size: .82rem; font-weight: 600; color: var(--lba-brand); }
.lba-input {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 6px 0 14px;
    border: 1px solid var(--lba-line);
    border-radius: 12px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.lba-input:focus-within { border-color: var(--lba-brand); box-shadow: 0 0 0 4px rgba(215, 38, 61, .12); }
.lba-input > i { color: var(--lba-muted); width: 18px; text-align: center; }
.lba-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; padding: 0 12px; font-size: .95rem; color: var(--lba-ink); margin: 0; box-shadow: none; }
.lba-input__toggle { width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--lba-muted); cursor: pointer; padding: 0; margin: 0; }
.lba-input__toggle:hover { background: var(--lba-line-2); color: var(--lba-ink); }
.lba-btn--block { width: 100%; margin-top: 8px; }

/* Formulaires historiques (inscription, récupération…) */
.lba-legacy-auth {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: 1080px !important;
    width: auto !important;
    margin: 16px auto 0 !important;
    padding: 0 !important;
    background: #fff;
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius-lg);
    overflow: hidden;
    box-shadow: var(--lba-shadow);
}
.lba-legacy-auth > br { display: none; }
.lba-legacy-auth > .form-container {
    width: auto;
    max-width: none;
    margin: 0;
    padding: clamp(28px, 4vw, 52px);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}
.lba-legacy-auth > .form-container:last-of-type {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--lba-brand-50), #fff6e0);
}
.lba-legacy-auth > .form-container:last-of-type img { width: 100%; height: auto; max-width: 420px; object-fit: contain; }
.lba-legacy-auth > .form-container:first-of-type > h3,
.lba-legacy-auth > .form-container:first-of-type > h5 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 20px; text-align: left; }
.lba-legacy-auth .form { display: flex; flex-direction: column; gap: 12px; max-width: none; padding: 0; margin: 0; background: none; box-shadow: none; }
.lba-legacy-auth .form > br, .lba-legacy-auth .form > hr { display: none; }
.lba-legacy-auth .form input,
.lba-legacy-auth .form select {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--lba-line);
    border-radius: 12px;
    background: #fff;
    font-size: .95rem;
    color: var(--lba-ink);
    box-shadow: none;
}
.lba-legacy-auth .form input:focus,
.lba-legacy-auth .form select:focus { outline: none; border-color: var(--lba-brand); box-shadow: 0 0 0 4px rgba(215, 38, 61, .12); }
.lba-legacy-auth .form .col-md-12 { position: relative; padding: 0; }
.lba-legacy-auth .form .field-icon { position: absolute; right: 14px; top: 16px; margin: 0; color: var(--lba-muted); cursor: pointer; }
.lba-legacy-auth .form button[type="submit"],
.lba-legacy-auth .form .btn-success {
    width: 100%;
    height: 50px;
    margin: 8px 0 0;
    border: 0;
    border-radius: 12px;
    background: var(--lba-brand);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(215, 38, 61, .25);
}
.lba-legacy-auth .form button[type="submit"]:hover { background: var(--lba-brand-600); }
.lba-legacy-auth .form .message { margin: 12px 0 0; text-align: center; font-size: .92rem; color: var(--lba-muted); }
.lba-legacy-auth .form .message a { color: var(--lba-brand); font-weight: 600; }
.lba-legacy-auth .nav-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 4px;
    padding: 4px;
    margin-bottom: 20px;
    border: 0;
    border-radius: 12px;
    background: var(--lba-line-2);
}
.lba-legacy-auth .nav-tabs .nav-link {
    margin: 0;
    border: 0;
    border-radius: 9px;
    padding: .6rem .75rem;
    font-weight: 600;
    font-size: .9rem;
    color: var(--lba-muted);
    background: transparent;
}
.lba-legacy-auth .nav-tabs .nav-link.active { background: #fff; color: var(--lba-ink); box-shadow: var(--lba-shadow-sm); }

@media (max-width: 767.98px) {
    .lba-auth, .lba-legacy-auth { grid-template-columns: 1fr; }
    .lba-auth__aside { display: none; }
    .lba-legacy-auth > .form-container:last-of-type { display: none; }
}

/* ==========================================================================
   Fiche produit
   ========================================================================== */

.lba-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: .84rem;
    color: var(--lba-muted);
}
.lba-breadcrumb i { font-size: .55rem; opacity: .6; }
.lba-breadcrumb a { color: var(--lba-muted); }
.lba-breadcrumb a:hover { color: var(--lba-brand); }
.lba-breadcrumb span { color: var(--lba-ink); font-weight: 500; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lba-pdp {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr);
    grid-template-areas: "gallery info" "desc info";
    gap: 24px 40px;
    align-items: start;
}
.lba-pdp--sans-photo { grid-template-areas: "desc info"; }

.lba-gallery { grid-area: gallery; display: flex; flex-direction: column; gap: 12px; }
.lba-gallery__main {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--lba-radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--lba-line);
}
.lba-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.lba-gallery__main .lba-card__chip { top: 16px; left: 16px; }
.lba-gallery__thumbs { display: flex; gap: 10px; }
.lba-gallery__thumb {
    width: 84px;
    height: 84px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #fff;
    box-shadow: 0 0 0 1px var(--lba-line);
    cursor: pointer;
    opacity: .7;
    transition: opacity .15s ease, border-color .15s ease;
}
.lba-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lba-gallery__thumb:hover { opacity: 1; }
.lba-gallery__thumb.is-active { border-color: var(--lba-brand); opacity: 1; box-shadow: none; }

.lba-pdp__info { grid-area: info; position: sticky; top: 148px; display: flex; flex-direction: column; gap: 12px; }
.lba-pdp__panel {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius-lg);
}
.lba-pdp__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; margin: 12px 0 8px; text-align: left; }
.lba-pdp__meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--lba-muted); font-size: .86rem; margin: 0 0 20px; }
.lba-pdp__meta i { margin-right: 4px; }
.lba-pdp__price { font-family: var(--lba-font-display); font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 12px; }

.lba-stock { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; margin: 0 0 20px; padding: .35rem .7rem; border-radius: 999px; }
.lba-stock--ok { background: var(--lba-success-50); color: var(--lba-success); }
.lba-stock--out { background: var(--lba-brand-50); color: var(--lba-brand-700); }

.lba-buybox { display: grid; gap: 10px; }
.lba-buybox .lba-btn { width: 100%; }
/* Contenu injecté par model/conversation/detail_mess.php */
.lba-buybox #add,
.lba-buybox #mess {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.lba-buybox #add { background: var(--lba-brand); border: 1px solid var(--lba-brand); color: #fff; box-shadow: 0 6px 16px rgba(215, 38, 61, .25); flex-direction: row-reverse; }
.lba-buybox #add:hover { background: var(--lba-brand-600); }
.lba-buybox #mess { background: #fff; border: 1px solid var(--lba-line); color: var(--lba-ink); }
.lba-buybox #mess::before { content: "\f4ad"; font-family: "Font Awesome 6 Free"; font-weight: 400; }
.lba-buybox #mess:hover { border-color: var(--lba-ink); }
.lba-buybox .pan,
.lba-buybox .sent {
    margin: 0;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 600;
    background: var(--lba-success-50);
    color: var(--lba-success);
}
.lba-buybox .sent { background: var(--lba-line-2); color: var(--lba-ink-2); }
.lba-buybox .ok:empty { display: none; }
.lba-buybox .chat-popup { padding: 16px; border-radius: 14px; background: var(--lba-line-2); }
.lba-buybox .form-container { display: grid; gap: 10px; max-width: none; padding: 0; background: none; }
.lba-buybox .form-container textarea { width: 100%; min-height: 110px; padding: 12px; border-radius: 12px; border: 1px solid var(--lba-line); resize: vertical; font: inherit; margin: 0; background: #fff; }
.lba-buybox .form-container textarea:focus { outline: none; border-color: var(--lba-brand); box-shadow: 0 0 0 4px rgba(215, 38, 61, .12); }
.lba-buybox .form-container .btn { width: 100%; margin: 0; opacity: 1; }
.lba-buybox .err { color: var(--lba-brand); font-size: .85rem; margin: 0; }

.lba-assurances { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--lba-line-2); display: grid; gap: 10px; font-size: .86rem; color: var(--lba-ink-2); }
.lba-assurances li { display: flex; align-items: center; gap: 10px; margin: 0; }
.lba-assurances i { width: 18px; text-align: center; color: var(--lba-success); }

.lba-seller {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--lba-line);
    border-radius: var(--lba-radius-lg);
    color: var(--lba-ink);
}
.lba-seller:hover { border-color: var(--lba-ink); color: var(--lba-ink); }
.lba-seller__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--lba-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.lba-seller__body { flex: 1; min-width: 0; }
.lba-seller__body small { display: block; color: var(--lba-muted); font-size: .78rem; }
.lba-seller__body strong { display: block; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lba-seller__cta { font-size: .86rem; font-weight: 600; color: var(--lba-brand); white-space: nowrap; }

.lba-share { display: flex; align-items: center; gap: 8px; padding: 4px 4px 0; }
.lba-share span { font-size: .84rem; color: var(--lba-muted); margin-right: 4px; }
.lba-share a, .lba-share button { margin: 0; padding: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--lba-line); background: #fff; color: var(--lba-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lba-share a:hover, .lba-share button:hover { background: var(--lba-ink); color: #fff; border-color: var(--lba-ink); }

.lba-pdp__desc { grid-area: desc; padding: 28px; background: #fff; border: 1px solid var(--lba-line); border-radius: var(--lba-radius-lg); }
.lba-pdp__desc h2 { font-size: 1.2rem; font-weight: 700; margin: 0 0 12px; text-align: left; }
.lba-pdp__desc h3 { font-size: 1rem; font-weight: 700; margin: 24px 0 12px; }
.lba-pdp__desc p { color: var(--lba-ink-2); line-height: 1.7; margin: 0 0 12px; }
.lba-pdp__lead { font-weight: 500; color: var(--lba-ink) !important; }
.lba-specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.lba-specs li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--lba-line-2); font-size: .9rem; color: var(--lba-ink); }
.lba-specs i { color: var(--lba-success); font-size: .8rem; }

@media (max-width: 991.98px) {
    .lba-pdp { grid-template-columns: 1fr; grid-template-areas: "gallery" "info" "desc"; }
    .lba-pdp--sans-photo { grid-template-areas: "info" "desc"; }
    .lba-pdp__info { position: static; }
}
@media (max-width: 575.98px) {
    .lba-pdp__panel, .lba-pdp__desc { padding: 20px; }
    .lba-pdp__price { font-size: 1.7rem; }
    .lba-gallery__thumb { width: 64px; height: 64px; }
    .lba-breadcrumb span { max-width: 22ch; }
}

/* ==========================================================================
   Pied de page
   ========================================================================== */

.lba-footer {
    padding: 0;
    margin-top: 40px;
    background: #fff;
    border-top: 1px solid var(--lba-line);
    color: var(--lba-ink-2);
    font-size: .9rem;
}
.lba-footer__top {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
    gap: 32px;
    padding: 56px 0 40px;
}
.lba-footer__brand img { height: 28px; width: auto; margin-bottom: 1rem; }
.lba-footer__brand p { color: var(--lba-muted); max-width: 32ch; }
.lba-footer h4 { font-family: var(--lba-font); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lba-ink); margin: 0 0 14px; }
.lba-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.lba-footer ul a, .lba-footer ul button { color: var(--lba-ink-2); background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; }
.lba-footer ul a:hover, .lba-footer ul button:hover { color: var(--lba-brand); }
.lba-social { display: flex; gap: 8px; margin-top: 1.25rem; }
.lba-social a { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--lba-line); color: var(--lba-ink); font-size: 1rem; }
.lba-social a:hover { background: var(--lba-ink); color: #fff; border-color: var(--lba-ink); }
.lba-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.lba-pay span { font-size: .75rem; font-weight: 600; padding: .35rem .6rem; border-radius: 8px; background: var(--lba-line-2); color: var(--lba-ink-2); }
.lba-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 20px 0 28px;
    border-top: 1px solid var(--lba-line-2);
    font-size: .82rem;
    color: var(--lba-muted);
}
.lba-footer__bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.lba-footer__bottom button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.lba-footer__bottom button:hover { color: var(--lba-brand); }
.lba-legal .modal-body { font-size: .92rem; color: var(--lba-ink-2); }
.lba-legal .modal-body p, .lba-legal .modal-body strong { color: var(--lba-ink-2) !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199.98px) {
    .lba-catnav__link { padding: 0 .5rem; font-size: .84rem; }
    .lba-catnav__link .fa-chevron-down { display: none; }
    .lba-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lba-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lba-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 991.98px) {
    .lba-topbar { display: none; }
    .lba-catnav { display: none; }
    .lba-burger { display: inline-flex; align-items: center; justify-content: center; }
    .lba-header__bar { height: auto; flex-wrap: wrap; padding: 10px 0; row-gap: 10px; }
    .lba-logo img { height: 24px; }
    .lba-header .lba-search { order: 3; flex-basis: 100%; max-width: none; height: 44px; }
    .lba-action span.lba-action__label { display: none; }
    .lba-action { min-width: 44px; height: 44px; }
    .lba-action__badge { right: 2px; top: 0; }
    .lba-header .lba-btn--primary .lba-hide-sm { display: none; }
    .lba-header .lba-btn--primary { width: 44px; padding: 0; }
    .lba-hide-md { display: none !important; }

    .lba-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lba-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lba-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lba-trust__item:nth-child(3) { border-left: 0; }
    .lba-trust__item:nth-child(n+3) { border-top: 1px solid var(--lba-line-2); }
    .lba-sell { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    html body { font-size: 14.5px; }
    .lba-action--account { display: none; }
    .lba-logo img { height: 22px; max-width: 150px; object-fit: contain; }
    .lba-header__bar { column-gap: 6px; }
    .lba-actions { gap: 0; }
    .lba-pagehead { flex-direction: column; align-items: flex-start; }
    .lba-sort { width: 100%; }
    .lba-sort .form-select { flex: 1; }
    .lba-main { padding-top: 16px; }
    .lba-hero__copy { padding: 24px 20px; }
    .lba-hero .lba-search { height: 52px; }
    .lba-hero .lba-search button { padding: 0 14px; }
    .lba-hero__stats { gap: 18px; }
    .lba-hero__stats strong { font-size: 1.25rem; }
    .lba-section { margin: 40px 0; }
    .lba-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .lba-cat { padding: 14px; flex-direction: row; align-items: center; gap: 12px; }
    .lba-cat__icon { width: 38px; height: 38px; font-size: 1rem; }
    .lba-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .lba-card__body { padding: 10px 12px 12px; }
    .lba-card__price { font-size: 1rem; }
    .lba-card__meta span:last-child { display: none; }
    .lba-tiles { grid-template-columns: 1fr; }
    .lba-trust { grid-template-columns: 1fr; }
    .lba-trust__item + .lba-trust__item { border-left: 0; border-top: 1px solid var(--lba-line-2); }
    .lba-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 40px; }
    .lba-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

.lba-footer ul li { margin: 0; line-height: 1.5; }
.lba-footer ul button { display: block; line-height: inherit; }
