/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Cart
 *
 * This block allows you to customize theme colors and styles for the entire Nexus Cart template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

html {
    /* HaloAgency : 15px de base */
    font-size: 15px;
}

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: #eaf4fd;
    --primary-100: #cfe6fb;
    --primary-200: #9fcbf5;
    --primary-300: #68acee;
    --primary-400: #2f8ee6;
    --primary-500: #078dee;
    --primary-600: #0670cf;
    --primary-700: #0351ab;
    --primary-800: #023d82;
    --primary-900: #012a5c;
    --primary-950: #011a3a;

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--primary-600);
    --primary-lifted: var(--primary-700);
    --primary-accented: var(--primary-800);

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: #212b36;

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.5rem;
    --rounding-md: 0.75rem;
    --rounding-lg: 1.25rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}

/* =====================================================================
   HaloAgency - habillage WHMCS (thème enfant de Twenty-One)
   Charte reprise de haloagency.fr : Public Sans / Barlow, bleu #0670CF,
   ambre #FFAB00, encre #212B36, cartes très arrondies.
   ===================================================================== */

:root,
:root[data-theme="light"] {
    --halo-surface: #FFFFFF;
    --halo-strong: #212B36;
    --halo-hover: #E9ECEF;
    --halo-zebra: #FAFBFC;
    --halo-header-bg: rgba(255, 255, 255, .92);
    --halo-glass: rgba(255, 255, 255, .78);
    --halo-hero-bg:
        radial-gradient(600px 360px at 85% 20%, rgba(7, 141, 238, .12), transparent 70%),
        radial-gradient(500px 300px at 70% 95%, rgba(92, 200, 255, .10), transparent 70%),
        linear-gradient(180deg, #F8FAFD 0%, #FFFFFF 100%);
    --halo-panel-bg:
        radial-gradient(520px 320px at 85% 0%, rgba(7, 141, 238, .16), transparent 70%),
        radial-gradient(420px 280px at 10% 100%, rgba(92, 200, 255, .14), transparent 70%),
        linear-gradient(160deg, #F7FAFE 0%, #EEF3FA 100%);
}
:root {
    --halo-primary: #0670CF;
    --halo-primary-dark: #0351AB;
    --halo-primary-soft: rgba(6, 112, 207, .08);
    --halo-info: #078DEE;
    --halo-amber: #FFAB00;
    --halo-amber-text: #B76E00;
    --halo-ink: #212B36;
    --halo-ink-deep: #161C24;
    --halo-text: #637381;
    --halo-muted: #919EAB;
    --halo-line: rgba(145, 158, 171, .24);
    --halo-line-strong: rgba(145, 158, 171, .32);
    --halo-grey: #F4F6F8;
    --halo-white: #FFFFFF;
    --halo-success: #22C55E;
    --halo-success-text: #118D57;
    --halo-warning: #FFAB00;
    --halo-error: #FF5630;
    --halo-error-text: #B71D18;
    --halo-trustpilot: #00B67A;
    --halo-discord: #5865F2;

    --halo-font: "Public Sans", Helvetica, Arial, sans-serif;
    --halo-display-font: "Barlow", "Public Sans", Helvetica, Arial, sans-serif;

    --halo-radius-sm: 8px;
    --halo-radius: 12px;
    --halo-radius-lg: 20px;
    --halo-radius-xl: 28px;
    --halo-shadow-card: 0 0 2px 0 rgba(145, 158, 171, .2), 0 12px 24px -4px rgba(145, 158, 171, .12);
    --halo-shadow-lift: 0 0 2px 0 rgba(145, 158, 171, .2), 0 20px 40px -8px rgba(145, 158, 171, .28);
    --halo-shadow-pop: 0 24px 48px -12px rgba(33, 43, 54, .18);
    --halo-gradient-brand: linear-gradient(120deg, #5CC8FF 0%, #078DEE 45%, #0351AB 100%);

    /* Variables Bootstrap / Twenty-One */
    --primary: #0670CF;
    --blue: #0670CF;
    --info: #078DEE;
    --success: #22C55E;
    --warning: #FFAB00;
    --danger: #FF5630;
    --dark: #212B36;
    --font-family-sans-serif: var(--halo-font);
}

/* ---------------------------------------------------------------------
   Base
   --------------------------------------------------------------------- */
body.halo,
body.primary-bg-color {
    font-family: var(--halo-font);
    color: var(--halo-ink);
    background-color: var(--halo-grey);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.halo.tpl-homepage,
body.halo.tpl-login {
    background-color: var(--halo-white);
}
body.halo h1, body.halo h2, body.halo h3, body.halo h4, body.halo h5, body.halo h6,
body.halo .h1, body.halo .h2, body.halo .h3, body.halo .h4, body.halo .h5, body.halo .h6 {
    font-family: var(--halo-font);
    color: var(--halo-ink);
    font-weight: 800;
    letter-spacing: -.01em;
}
body.halo .text-muted { color: var(--halo-text) !important; }
a:not(.btn) { color: var(--halo-primary); }
a:not(.btn):hover { color: var(--halo-primary-dark); }
body.halo ::selection { background: rgba(6, 112, 207, .18); }
body.halo :focus-visible { outline: 2px solid var(--halo-primary); outline-offset: 2px; }
body.halo hr { border-top-color: var(--halo-line); }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
header.header.halo-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--halo-header-bg);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(145, 158, 171, .16);
}
header.header .topbar {
    padding: 4px 0;
    background-color: var(--halo-strong);
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
}
header.header .topbar .btn,
header.header .topbar .active-client .btn {
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    font-weight: 600;
}
header.header .topbar .btn:hover { color: #fff; }
header.header .topbar .active-client .btn.btn-active-client span { border-bottom: 1px dashed rgba(255, 255, 255, .5); }
header.header .topbar .halo-dot {
    display: inline-block;
    width: 7px; height: 7px;
    margin: 0 2px 1px 0;
    border-radius: 50%;
    background: var(--halo-amber);
}
header.header .topbar .btn-return-to-admin {
    background: var(--halo-amber);
    color: var(--halo-ink);
    border-radius: 6px;
}

header.header .halo-navbar {
    padding: 0;
    min-height: 72px;
}
header.header .halo-navbar > .container {
    min-height: 72px;
    flex-wrap: wrap;
}
@media (min-width: 1200px) {
    header.header .halo-navbar > .container { flex-wrap: nowrap; }
}
header.header .navbar-nav a.pr-4 { padding-right: .8rem !important; }
header.header .navbar-nav a, header.header .halo-btn-dark { white-space: nowrap; }
@media (min-width: 1280px) {
    body.halo .container { max-width: 1240px; }
}
@media (min-width: 1200px) {
    header.header .navbar-nav .nav-link, header.header .navbar-nav > li > a { padding-left: .65rem; padding-right: .65rem !important; }
}
header.header .navbar-nav .collapsable-dropdown { display: none !important; }
header.header .navbar-brand {
    margin-right: 28px;
    padding: 0;
    display: flex;
    align-items: center;
}
header.header .logo-img { max-height: 40px; max-width: 220px; }

.halo-logo { display: inline-flex; align-items: center; gap: 10px; }
.halo-logo-mark { width: 32px; height: 32px; border-radius: 8px; }
.halo-logo-text { font-weight: 800; font-size: 18px; color: var(--halo-ink); letter-spacing: -.01em; }

header.header .navbar a { color: var(--halo-text); }
header.header .navbar-nav a,
header.header .navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--halo-text);
    padding: .5rem .8rem;
    border-radius: var(--halo-radius-sm);
    transition: color .15s ease, background-color .15s ease;
}
header.header .navbar-nav .nav-link:hover,
header.header .navbar-nav .nav-link:focus,
header.header .navbar-nav .active > .nav-link,
header.header .navbar-nav .show > .nav-link {
    color: var(--halo-ink);
    background-color: var(--halo-grey);
}
header.header .dropdown-menu {
    border: 0;
    border-radius: var(--halo-radius);
    padding: 8px;
    box-shadow: var(--halo-shadow-pop);
    margin-top: 6px;
}
header.header .dropdown-item {
    border-radius: var(--halo-radius-sm);
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--halo-ink);
}
header.header .dropdown-item:hover,
header.header .dropdown-item:focus { background-color: var(--halo-grey); color: var(--halo-ink); }
header.header .dropdown-item.active,
header.header .dropdown-item:active { background-color: var(--halo-primary-soft); color: var(--halo-primary); }
header.header .dropdown-divider { border-top-color: var(--halo-line); }

header.header .toolbar {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-left: 12px;
}
header.header .toolbar .nav-link {
    width: 44px; height: 44px;
    padding: 0;
    display: flex; align-items: center; justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--halo-grey);
    color: var(--halo-text);
    font-size: 16px;
}
header.header .toolbar .nav-link:hover { color: var(--halo-ink); background: var(--halo-hover); }
header.header .toolbar .nav-link .badge {
    top: -2px; right: -2px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 9px;
    background: var(--halo-primary);
    font-size: 10px;
    font-weight: 700;
    opacity: 1;
    border: 2px solid var(--halo-surface);
}
.halo-btn-dark,
header.header .halo-btn-dark {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--halo-strong);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    border: 0;
}
.halo-btn-dark:hover,
header.header .halo-btn-dark:hover { background: #000; color: #fff; }

header.header .halo-mobile-search { padding-top: 12px; }
header.header .search {
    width: 100%;
    border: 1px solid var(--halo-line-strong);
    border-radius: var(--halo-radius-sm);
}

@media (max-width: 1199.98px) {
    header.header .halo-navbar > .container { padding-top: 10px; padding-bottom: 10px; }
    header.header .navbar-collapse { order: 3; flex-basis: 100%; }
    header.header .toolbar { margin-left: auto; }
    header.header #mainNavbar .navbar-nav { padding: 6px 0; }
    header.header #mainNavbar .halo-secondary-nav { border-top: 1px solid var(--halo-line); }
}

/* Fil d'Ariane */
.master-breadcrumb {
    background-color: transparent;
}
.master-breadcrumb .breadcrumb {
    padding: 20px 0 0;
    font-size: 13px;
    background: transparent;
    font-weight: 500;
}
.master-breadcrumb .breadcrumb-item a { color: var(--halo-text); }
.master-breadcrumb .breadcrumb-item.active { color: var(--halo-ink); }
.master-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--halo-muted); content: "•"; }

/* Alertes réseau / vérifications */
.alert {
    border: 0;
    border-radius: var(--halo-radius);
    font-size: 14px;
}
.alert-info    { background: rgba(7, 141, 238, .10); color: #04538F; }
.alert-success { background: rgba(34, 197, 94, .12); color: var(--halo-success-text); }
.alert-warning { background: rgba(255, 171, 0, .14); color: #7A4100; }
.alert-danger  { background: rgba(255, 86, 48, .12); color: var(--halo-error-text); }
.alert a, .alert .alert-link { color: inherit; font-weight: 700; text-decoration: underline; }

/* ---------------------------------------------------------------------
   Corps de page
   --------------------------------------------------------------------- */
#main-body {
    padding: 28px 0 72px;
    background: transparent;
}
body.tpl-homepage #main-body,
body.tpl-login #main-body { padding: 0; }

.primary-content h1, .primary-content .h1 { font-size: 1.9rem; }
.primary-content h2, .primary-content .h2 { font-size: 1.5rem; }

/* Cartes génériques */
.card,
.primary-content .card,
.primary-content .mc-promo-manage,
.primary-content .mc-promo-login {
    border: 0;
    border-radius: var(--halo-radius-lg);
    box-shadow: var(--halo-shadow-card);
    background-color: var(--halo-surface);
}
.card-header {
    background-color: var(--halo-surface);
    border-bottom: 1px solid var(--halo-line);
    padding: 16px 24px;
}
.card-header .card-title, .card-title { font-weight: 700; font-size: 1.05rem; color: var(--halo-ink); margin-bottom: 0; }
.card-body { padding: 24px; }
.primary-content .card-body { padding: 24px; }
.card-footer { background-color: var(--halo-grey); border-top: 1px solid var(--halo-line); padding: 14px 24px; }
.card-header:first-child { border-radius: var(--halo-radius-lg) var(--halo-radius-lg) 0 0; }
.card-footer:last-child { border-radius: 0 0 var(--halo-radius-lg) var(--halo-radius-lg); }
.card > .list-group:last-child .list-group-item:last-child { border-bottom-left-radius: var(--halo-radius-lg); border-bottom-right-radius: var(--halo-radius-lg); }

/* Sidebar */
.sidebar .card,
.sidebar .card-sidebar {
    margin-bottom: 20px;
    border-radius: var(--halo-radius-lg);
}
.sidebar .card-header { padding: 14px 20px; }
.sidebar .card-header .card-title { font-size: 14px; font-weight: 700; }
.sidebar .card-header .card-title i { color: var(--halo-primary); margin-right: 4px; }
.sidebar .list-group-item {
    border: 0;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--halo-text);
    background: transparent;
}
.sidebar .list-group-item:hover,
.sidebar .list-group-item:focus { background: var(--halo-grey); color: var(--halo-ink); }
.sidebar .list-group-item.active,
.list-group-item.active {
    background: var(--halo-primary-soft);
    color: var(--halo-primary);
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--halo-primary);
    border-color: transparent;
}
.sidebar .list-group-item .badge { background: var(--halo-grey); color: var(--halo-ink); font-weight: 700; }
.sidebar .list-group-item.active .badge { background: var(--halo-primary); color: #fff; }
.sidebar .card-sidebar .card-minimise { color: var(--halo-muted); }

/* Tuiles du tableau de bord client */
.tiles {
    background: transparent;
}
.tiles .row { margin: 0 -10px; }
.tiles .row > div { padding: 0 10px 20px; }
.tiles .tile {
    padding: 22px 24px;
    background-color: var(--halo-surface);
    border: 0 !important;
    border-radius: var(--halo-radius-lg);
    box-shadow: var(--halo-shadow-card);
    color: var(--halo-ink);
    transition: transform .2s ease, box-shadow .2s ease;
    overflow: hidden;
}
.tiles .tile:hover { background-color: var(--halo-surface); transform: translateY(-3px); box-shadow: var(--halo-shadow-lift); }
.tiles .tile .stat {
    margin-top: 6px;
    font-family: var(--halo-display-font);
    font-weight: 800;
    font-size: 42px;
    font-variant-numeric: tabular-nums;
}
.tiles .tile .title { color: var(--halo-text); font-weight: 700; font-size: 12px; letter-spacing: .08em; }
.tiles .tile .highlight { display: none; }
.tiles .tile i {
    top: 20px; right: 20px;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    font-size: 20px;
    color: var(--halo-primary);
    background: var(--halo-primary-soft);
    transition: none;
}
.tiles .tile:hover i { font-size: 20px; color: var(--halo-primary); }
.tiles .row > div:nth-child(2) .tile i { color: var(--halo-success-text); background: rgba(34, 197, 94, .12); }
.tiles .row > div:nth-child(3) .tile i { color: var(--halo-error-text); background: rgba(255, 86, 48, .10); }
.tiles .row > div:nth-child(4) .tile i { color: #0351AB; background: rgba(92, 200, 255, .18); }

/* Panneaux de l'accueil client */
.client-home-cards .card { border-radius: var(--halo-radius-lg); }
.client-home-cards .card-header { padding: 16px 20px; }
.client-home-cards .card-header .btn {
    border-radius: var(--halo-radius-sm);
    background: var(--halo-grey);
    color: var(--halo-ink);
    border: 0;
    font-weight: 700;
    font-size: 12px;
}
.client-home-cards .card-header .btn:hover { background: var(--halo-primary); color: #fff; }
.client-home-cards .list-group .list-group-item { border-color: var(--halo-line); font-size: 14px; }
.client-home-cards .card-footer { background: var(--halo-surface); }

/* Élément de service actif */
.div-service-item {
    border-radius: var(--halo-radius);
    border: 1px solid var(--halo-line);
    padding: 12px 16px;
}

/* ---------------------------------------------------------------------
   Boutons
   --------------------------------------------------------------------- */
.btn {
    font-family: var(--halo-font);
    font-weight: 700;
    border-radius: 10px;
    padding: .55rem 1.1rem;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn-sm { border-radius: var(--halo-radius-sm); padding: .35rem .8rem; font-size: 13px; }
.btn-lg { padding: .8rem 1.5rem; font-size: 16px; border-radius: 12px; }
.btn:focus, .btn.focus { box-shadow: 0 0 0 3px rgba(6, 112, 207, .25); }

.btn-primary,
.btn-primary.disabled, .btn-primary:disabled {
    background-color: var(--halo-primary);
    border-color: var(--halo-primary);
    color: #fff;
}
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    background-color: var(--halo-primary-dark);
    border-color: var(--halo-primary-dark);
    color: #fff;
}
.btn-outline-primary { color: var(--halo-primary); border-color: rgba(6, 112, 207, .45); }
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: var(--halo-primary);
    border-color: var(--halo-primary);
    color: #fff;
}
.btn-default,
.btn-secondary,
.btn-outline-secondary {
    background-color: var(--halo-surface);
    border: 1px solid var(--halo-line-strong);
    color: var(--halo-ink);
}
.btn-default:hover,
.btn-secondary:hover,
.btn-outline-secondary:hover,
.btn-outline-secondary:not(:disabled):not(.disabled):active {
    background-color: var(--halo-grey);
    border-color: var(--halo-muted);
    color: var(--halo-ink);
}
.btn-success, .btn-success:disabled { background-color: var(--halo-success); border-color: var(--halo-success); color: #fff; }
.btn-success:hover { background-color: #16A34A; border-color: #16A34A; color: #fff; }
.btn-danger { background-color: var(--halo-error); border-color: var(--halo-error); }
.btn-danger:hover { background-color: #E5401B; border-color: #E5401B; }
.btn-warning { background-color: var(--halo-amber); border-color: var(--halo-amber); color: var(--halo-ink); }
.btn-info { background-color: var(--halo-info); border-color: var(--halo-info); color: #fff; }
.btn-link { color: var(--halo-primary); font-weight: 700; }

.halo-btn-white { background: var(--halo-surface); color: #3C45C2; border: 0; }
.halo-btn-white:hover { background: #EEF0FF; color: #3C45C2; }
.halo-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.halo-btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .5); }
.halo-btn-trustpilot { background: var(--halo-trustpilot); color: #fff !important; border: 0; }
.halo-btn-trustpilot:hover { background: #009966; }
.halo-btn-discord { background: var(--halo-discord); color: #fff !important; border: 0; height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; }
.halo-btn-discord:hover { background: #4752C4; }
.halo-btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------------
   Formulaires
   --------------------------------------------------------------------- */
.form-control,
.custom-select,
select.form-control {
    height: calc(1.5em + 1.3rem + 2px);
    padding: .6rem .9rem;
    border: 1px solid var(--halo-line-strong);
    border-radius: 10px;
    color: var(--halo-ink);
    font-family: var(--halo-font);
    background-color: var(--halo-surface);
    transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.form-control { height: auto; }
.form-control::placeholder { color: var(--halo-muted); }
.form-control:focus,
.custom-select:focus {
    border-color: var(--halo-strong);
    box-shadow: 0 0 0 1px var(--halo-ink);
}
.form-control:disabled, .form-control[readonly] { background-color: var(--halo-grey); }
label, .form-control-label, .col-form-label { font-weight: 600; font-size: 14px; color: var(--halo-ink); }
.input-group-text {
    background: var(--halo-grey);
    border: 1px solid var(--halo-line-strong);
    color: var(--halo-text);
    border-radius: 10px;
}
.input-group > .form-control:not(:last-child),
.input-group > .custom-select:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .form-control:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group-append .btn, .input-group-prepend .btn { border-color: var(--halo-line-strong); }
.input-group .btn-reveal-pw:hover, .input-group .btn-reveal-pw:active { color: var(--halo-primary); }
.custom-control-input:checked ~ .custom-control-label::before { background-color: var(--halo-primary); border-color: var(--halo-primary); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--halo-primary); }
.invalid-feedback { color: var(--halo-error-text); }
.form-control.is-invalid { border-color: var(--halo-error); }

/* ---------------------------------------------------------------------
   Tableaux (services, domaines, factures, tickets...)
   --------------------------------------------------------------------- */
.table { color: var(--halo-ink); }
.table thead th {
    border-top: 0;
    border-bottom: 1px solid var(--halo-line);
    background: var(--halo-grey);
    color: var(--halo-text);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.table td, .table th { border-top-color: var(--halo-line); vertical-align: middle; }
.table-hover tbody tr:hover, .table-list > tbody > tr:hover > td { background-color: rgba(145, 158, 171, .08); }

.table-container {
    background: var(--halo-surface);
    border-radius: var(--halo-radius-lg);
    box-shadow: var(--halo-shadow-card);
    padding: 16px;
}
.dataTables_wrapper table.table-list { border-radius: var(--halo-radius); overflow: hidden; }
.dataTables_wrapper table.table-list thead th { background: var(--halo-grey); color: var(--halo-text); border: 0; }
.dataTables_wrapper table.table-list thead th.sorting_asc,
.dataTables_wrapper table.table-list thead th.sorting_desc { background: #E9EDF1; color: var(--halo-ink); }
.dataTables_wrapper table.table-list tbody td { border-color: var(--halo-line); }
.dataTables_wrapper .dataTables_filter label .form-control { border-radius: 10px; }
.page-link { color: var(--halo-ink); border: 0; border-radius: var(--halo-radius-sm) !important; margin: 0 2px; font-weight: 600; }
.page-link:hover { background: var(--halo-grey); color: var(--halo-ink); }
.page-item.active .page-link { background-color: var(--halo-strong); border-color: var(--halo-strong); }

/* Statuts (pastilles) */
.label, .status, span.label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}
.label-success, .status-active, .status-paid, .status-completed, .status-open, .status-accepted, .status-delivered {
    background-color: rgba(34, 197, 94, .16) !important;
    color: var(--halo-success-text) !important;
}
.label-warning, .status-pending, .status-unpaid, .status-payment-pending, .status-onhold, .status-pending-transfer, .status-draft, .status-customer-reply, .status-in-progress {
    background-color: rgba(255, 171, 0, .16) !important;
    color: var(--halo-amber-text) !important;
}
.label-danger, .status-suspended, .status-overdue, .status-cancelled, .status-fraud, .status-expired, .status-dead, .status-collections, .status-refunded, .status-lost, .status-closed {
    background-color: rgba(255, 86, 48, .12) !important;
    color: var(--halo-error-text) !important;
}
.label-info, .status-answered, .status-sent {
    background-color: rgba(7, 141, 238, .12) !important;
    color: #04538F !important;
}
.label-default, .status-terminated, .status-transferred-away, .status-grace, .status-redemption {
    background-color: rgba(145, 158, 171, .16) !important;
    color: var(--halo-text) !important;
}
.badge { border-radius: 999px; font-weight: 700; }
.badge-primary { background-color: var(--halo-primary); }
.badge-info { background-color: var(--halo-info); }
.badge-success { background-color: var(--halo-success); }
.badge-warning { background-color: var(--halo-amber); color: var(--halo-ink); }
.badge-danger { background-color: var(--halo-error); }

/* Onglets et pilules */
.nav-tabs { border-bottom: 1px solid var(--halo-line); }
.nav-tabs .nav-link {
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--halo-text);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 4px;
    margin-right: 24px;
    background: transparent;
}
.nav-tabs .nav-link:hover { color: var(--halo-ink); border-bottom-color: var(--halo-line-strong); }
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link { color: var(--halo-ink); border-bottom-color: var(--halo-ink); background: transparent; }
.nav-pills .nav-link { border-radius: var(--halo-radius-sm); font-weight: 700; color: var(--halo-text); }
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background-color: var(--halo-strong); color: #fff; }

.progress { height: 8px; border-radius: 4px; background: #EDEFF2; }
.progress-bar { background-color: var(--halo-primary); }

/* Modales */
.modal-content { border: 0; border-radius: var(--halo-radius-lg); box-shadow: var(--halo-shadow-pop); }
.modal-header { border-bottom: 1px solid var(--halo-line); padding: 18px 24px; }
.modal-footer { border-top: 1px solid var(--halo-line); padding: 14px 24px; }
.modal-body { padding: 24px; }
.modal-localisation .modal-content { background: var(--halo-ink-deep); }
.modal-localisation .item-selector .item { border-radius: var(--halo-radius-sm); }
.modal-localisation .item-selector .item.active { background: var(--halo-primary); }
.popover { border: 0; border-radius: var(--halo-radius); box-shadow: var(--halo-shadow-pop); font-family: var(--halo-font); }
.tooltip-inner { border-radius: var(--halo-radius-sm); background: var(--halo-strong); font-family: var(--halo-font); }

/* Tickets */
.ticket-reply, .ticket-reply .posted-by { border-radius: var(--halo-radius); }
.ticket-reply.staff { background: var(--halo-primary-soft); border-color: rgba(6, 112, 207, .2); }
.ticket-reply .user { color: var(--halo-ink); font-weight: 700; }

/* Base de connaissances, annonces, téléchargements */
.kb-article-item, .announcement-single, .kb-category .card { border-radius: var(--halo-radius); }
.kb-search .form-control, .kb-search .btn { height: 52px; }

/* Icônes d'action (pages internes) */
.action-icon-btns a {
    border: 0;
    border-radius: var(--halo-radius-lg);
    box-shadow: var(--halo-shadow-card);
    color: var(--halo-ink);
    font-weight: 700;
    background: var(--halo-surface);
}
.action-icon-btns a:hover { box-shadow: var(--halo-shadow-lift); color: var(--halo-ink); }
.action-icon-btns a .ico-container { background: var(--halo-primary-soft); border-radius: 16px; }
.action-icon-btns a .ico-container i { color: var(--halo-primary); }
.action-icon-btns a:hover .ico-container { background: var(--halo-primary); }
.action-icon-btns a:hover .ico-container i { color: #fff; }

/* Chargement plein écran */
#fullpage-overlay { background: rgba(22, 28, 36, .72); }
#fullpage-overlay.w-hidden { display: none; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
footer.footer.halo-footer {
    background: var(--halo-surface);
    color: var(--halo-text);
    border-top: 1px solid rgba(145, 158, 171, .16);
    padding: 56px 0 28px;
    font-size: 14px;
}
.halo-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 40px;
}
.halo-footer-brand p { margin: 14px 0 18px; max-width: 320px; line-height: 1.6; }
.halo-footer-logo:hover { text-decoration: none; }
.halo-footer-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--halo-muted) !important;
    margin-bottom: 14px;
}
.halo-footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
body.halo .halo-footer-col a { color: var(--halo-ink); font-weight: 500; }
body.halo .halo-footer-col a:hover { color: var(--halo-primary); }
.halo-address { margin: 16px 0 0; font-style: normal; line-height: 1.6; color: var(--halo-text); }
.halo-social { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; }
.halo-social li { display: block; margin: 0; }
body.halo .halo-social a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--halo-grey);
    color: var(--halo-ink);
    font-size: 16px;
    padding: 0;
}
body.halo .halo-social a:hover { background: var(--halo-strong); color: #fff; }
.halo-footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(145, 158, 171, .16);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--halo-muted);
}
.halo-locale-btn { background: var(--halo-grey); color: var(--halo-ink); font-size: 13px; padding: 6px 12px; }
.halo-locale-btn .iti-flag { display: inline-block; vertical-align: middle; margin-right: 4px; }
@media (max-width: 991.98px) {
    .halo-footer-grid { grid-template-columns: 1fr 1fr; }
    .halo-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .halo-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------------------------------------------------------------------
   Composants partagés des pages HaloAgency (accueil, connexion)
   --------------------------------------------------------------------- */
.halo-gradient-text {
    background: var(--halo-gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.halo-eyebrow {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--halo-primary);
    background: var(--halo-primary-soft);
    padding: 7px 12px;
    border-radius: var(--halo-radius-sm);
}
.halo-eyebrow-muted { color: var(--halo-muted); background: transparent; padding: 0; }
body.halo .halo-display {
    font-family: var(--halo-display-font);
    font-weight: 900;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.01em;
    margin: 0;
    text-wrap: balance;
}
body.halo .halo-display-sm { font-size: clamp(2rem, 4vw, 2.9rem); }
body.halo .halo-h1 { font-size: 2rem; margin: 0 0 6px; }
body.halo .halo-h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; margin: 8px 0 10px; text-wrap: balance; }
.halo-lead { font-size: 1.2rem; line-height: 1.6; color: var(--halo-text); max-width: 540px; margin: 0; }
.halo-muted { color: var(--halo-text); }
.halo-muted-link { color: var(--halo-text) !important; font-weight: 600; }

.halo-section { padding: 88px 0; }
.halo-section-tight { padding: 32px 0; }
.halo-section-grey { background: var(--halo-grey); }
.halo-section-head { margin-bottom: 40px; }
.halo-section-head.text-center .halo-h2 { max-width: 640px; margin-left: auto; margin-right: auto; }
.halo-section-head-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.halo-section-head-split > div:first-child { max-width: 620px; }
.halo-section-head-split p { margin: 0; }

.halo-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border-radius: var(--halo-radius-lg);
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-card);
    color: var(--halo-ink);
}
body.halo a.halo-card-link, body.halo a.halo-card-offer, body.halo a.halo-review-summary {
    color: var(--halo-ink);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
a.halo-card-link:hover, a.halo-card-offer:hover, a.halo-review-summary:hover {
    color: var(--halo-ink);
    transform: translateY(-4px);
    box-shadow: var(--halo-shadow-lift);
    text-decoration: none;
}
.halo-card-title { font-weight: 700; font-size: 1.1rem; display: block; }
.halo-card-text { font-size: .93rem; line-height: 1.55; color: var(--halo-text); }
.halo-card-cta { margin-top: auto; font-weight: 700; font-size: .93rem; color: var(--halo-primary); }

.halo-icon {
    width: 48px; height: 48px;
    flex: 0 0 48px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--halo-primary-soft);
    color: var(--halo-primary);
    font-size: 20px;
}
.halo-icon-dark { background: var(--halo-strong); color: #fff; width: 44px; height: 44px; flex-basis: 44px; border-radius: 12px; font-size: 18px; }
.halo-icon-green { background: rgba(34, 197, 94, .14); color: var(--halo-success-text); }
.halo-icon-amber { background: rgba(255, 171, 0, .16); color: var(--halo-amber-text); }

/* Hero */
.halo-hero {
    background:
var(--halo-hero-bg);
    padding: 80px 0 48px;
}
.halo-hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.halo-hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.halo-domain-form { display: flex; flex-direction: column; gap: 14px; max-width: 580px; }
.halo-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px 8px 18px;
    border-radius: 16px;
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-card);
    transition: box-shadow .15s ease;
}
.halo-search:focus-within { box-shadow: 0 0 0 3px rgba(6, 112, 207, .18), var(--halo-shadow-card); }
.halo-search > i { color: var(--halo-muted); font-size: 18px; }
.halo-search .form-control,
.halo-search .form-control:focus {
    flex: 1;
    min-width: 0;
    height: 48px;
    border: 0;
    box-shadow: none;
    font-size: 17px;
    padding: 0 6px;
    background: transparent;
}
.halo-search .btn { height: 48px; padding: 0 26px; flex-shrink: 0; }
.halo-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.halo-tld-chip {
    display: inline-flex; align-items: baseline; gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid var(--halo-line-strong);
    background: var(--halo-surface);
    color: var(--halo-ink);
}
.halo-tld-chip span { color: var(--halo-text); font-size: 13px; }
.halo-link-btn { padding: 4px 6px; font-size: 14px; }

.halo-hero-visual { flex: 0 1 440px; min-width: 0; position: relative; }
.halo-orbit, .halo-auth-orbit { display: block; width: 100%; height: auto; max-width: 100%; }
.halo-orbit .orbit-1, .halo-auth-orbit .orbit-1 { stroke: rgba(7, 141, 238, .14); stroke-width: 1.5; }
.halo-orbit .orbit-2, .halo-auth-orbit .orbit-2 { stroke: rgba(7, 141, 238, .2); stroke-width: 1.5; stroke-dasharray: 4 8; }
.halo-orbit .orbit-3, .halo-auth-orbit .orbit-3 { stroke: rgba(7, 141, 238, .24); stroke-width: 1.5; }
.halo-orbit .planet, .halo-auth-orbit .planet { fill: var(--halo-primary); }
.halo-orbit .ring, .halo-auth-orbit .ring { stroke: var(--halo-amber); stroke-width: 5; }
.halo-orbit .dot-blue { fill: var(--halo-info); }
.halo-orbit .dot-amber { fill: #5CC8FF; }
.halo-orbit .orbit-2 { transform-origin: 230px 210px; animation: halo-spin 60s linear infinite; }
.halo-planet {
    position: absolute;
    left: 50%; top: 50%;
    width: 46%; height: auto;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 24px 40px rgba(6, 112, 207, .28));
    animation: halo-planet 8s ease-in-out infinite;
}
@keyframes halo-planet { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 10px)); } }
.halo-float {
    position: absolute;
    padding: 8px 14px;
    border-radius: 12px;
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-pop);
    font-weight: 800;
    font-size: 15px;
    color: var(--halo-ink);
    animation: halo-float 6s ease-in-out infinite;
}
.halo-float i { color: var(--halo-success-text); margin-right: 4px; }
.halo-float-1 { top: 14%; left: 6%; color: var(--halo-primary); }
.halo-float-2 { top: 8%; right: 8%; animation-delay: -2s; }
.halo-float-3 { bottom: 12%; right: 0; animation-delay: -4s; font-size: 13px; }
.halo-float-4 { bottom: 22%; left: 0; animation-delay: -3s; }
@keyframes halo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes halo-spin { to { transform: rotate(360deg); } }

.halo-trust-row {
    list-style: none;
    margin: 48px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--halo-text);
}
.halo-trust-row li { display: flex; align-items: center; gap: 8px; }
.halo-trust-row i { color: var(--halo-info); }
.halo-trust-row .text-warning { color: var(--halo-amber) !important; }
.halo-tp-square {
    width: 18px; height: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--halo-trustpilot);
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .halo-hero { padding: 48px 0 32px; }
    .halo-hero-visual { display: none; }
}

/* Grilles */
.halo-quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.halo-offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.halo-card-offer { padding: 28px; border-radius: var(--halo-radius-xl); box-shadow: 0 24px 48px -12px rgba(33, 43, 54, .10); min-height: 190px; }
.halo-offer-name { font-size: 1.45rem; font-weight: 800; }
.halo-offer-foot {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed var(--halo-line-strong);
    display: flex; align-items: center; justify-content: space-between;
    font-weight: 700; font-size: .93rem;
    color: var(--halo-primary);
}
.halo-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 32px; }
.halo-feature { display: flex; flex-direction: column; gap: 12px; }
body.halo .halo-feature h3 { font-size: 1.1rem; font-weight: 700; margin: 4px 0 0; }
.halo-feature p { margin: 0; color: var(--halo-text); line-height: 1.6; font-size: .95rem; }

/* Avis */
.halo-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.halo-trustbox-card { padding: 24px; border-radius: var(--halo-radius-xl); }
.halo-review-summary { border-radius: var(--halo-radius-xl); padding: 28px; }
.halo-tp-brand { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 1.1rem; }
.halo-tp-star { color: var(--halo-trustpilot); font-size: 1.2em; }
.halo-review-verdict { font-family: var(--halo-display-font); font-weight: 900; font-size: 2.6rem; line-height: 1; }
.halo-tp-stars { display: flex; gap: 3px; }
.halo-tp-stars i {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: var(--halo-trustpilot);
    font-style: normal;
}
.halo-tp-stars i::before { content: "\2605"; color: #fff; font-size: 18px; }
.halo-tp-stars i.half { background: linear-gradient(90deg, var(--halo-trustpilot) 50%, #DCDCE6 50%); }
.halo-review-google { flex-direction: row; align-items: center; gap: 20px; border-radius: var(--halo-radius-xl); padding: 28px; }
.halo-review-google > div { display: flex; flex-direction: column; gap: 6px; }
.halo-review-score { font-family: var(--halo-display-font); font-weight: 900; font-size: 3.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.halo-stars-amber { color: var(--halo-amber); display: flex; gap: 2px; }
.halo-review-cta {
    border-radius: var(--halo-radius-xl);
    padding: 28px;
    background: rgba(0, 182, 122, .05);
    border: 2px dashed rgba(0, 182, 122, .4);
    box-shadow: none;
    justify-content: center;
}
.halo-cta-green { color: #007A52 !important; }

/* Discord et appel final */
.halo-discord-band {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
    padding: 32px 36px;
    border-radius: var(--halo-radius-xl);
    background: var(--halo-discord);
    color: #fff;
}
body.halo .halo-discord-band h2 { color: #fff; font-size: 1.4rem; margin: 0 0 6px; }
.halo-discord-band p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 460px; }
.halo-cta-band {
    border-radius: var(--halo-radius-xl);
    padding: 64px 32px;
    text-align: center;
    color: var(--halo-ink);
    background: var(--halo-panel-bg);
    border: 1px solid var(--halo-line);
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
body.halo .halo-cta-band h2 { color: var(--halo-ink); }
.halo-cta-band p { margin: 0 0 10px; color: var(--halo-text); font-size: 1.1rem; }

/* ---------------------------------------------------------------------
   Page de connexion
   --------------------------------------------------------------------- */
.halo-auth { padding: 40px 0 72px; }
.halo-auth-shell {
    display: flex;
    flex-wrap: wrap;
    min-height: min(720px, calc(100vh - 180px));
    border-radius: var(--halo-radius-xl);
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-card);
    overflow: hidden;
}
.halo-auth-form {
    flex: 1 1 460px;
    min-width: 0;
    padding: 56px clamp(24px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.halo-auth-form > *, .halo-auth-form .login-form { width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; }
.halo-auth-head { margin-bottom: 24px; }
.halo-auth-form .form-group { margin-bottom: 18px; }
.halo-auth-form .form-control { height: 52px; }
.halo-auth-form .halo-pw-group .btn-reveal-pw { width: 52px; background: var(--halo-surface); color: var(--halo-text); border-radius: 0 10px 10px 0; }
.halo-auth-form .halo-pw-group .form-control:focus + .input-group-append .btn { border-color: var(--halo-strong); }
.halo-remember label { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--halo-text); cursor: pointer; }
.halo-remember .form-check-input { position: static; margin: 0; width: 18px; height: 18px; }
.halo-auth-form .btn-lg { height: 52px; }
.halo-social-login .social-signin-btns { display: grid; gap: 10px; }
.halo-social-login .social-signin-btns:empty { display: none; }
.halo-social-login .btn { width: 100%; height: 50px; border-radius: 10px; }
.halo-auth-form .halo-btn-discord { margin-bottom: 10px; }
.halo-divider {
    display: flex; align-items: center; gap: 16px;
    margin: 20px auto;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--halo-muted);
}
.halo-divider::before, .halo-divider::after { content: ""; flex: 1; height: 1px; background: var(--halo-line); }

.halo-auth-brand {
    flex: 1 1 460px;
    min-width: 0;
    position: relative;
    overflow: hidden;
    margin: 12px;
    border-radius: 22px;
    padding: 56px;
    display: flex;
    align-items: center;
    background:
var(--halo-panel-bg);
}
.halo-auth-orbit { position: absolute; width: 560px; height: 560px; right: -220px; bottom: -240px; }
.halo-auth-orbit svg { width: 100%; height: 100%; opacity: .7; }
.halo-auth-orbit img { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; transform: translate(-50%, -50%); opacity: .9; }
.halo-auth-brand-inner { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 440px; }
.halo-wordmark { font-family: var(--halo-display-font); font-weight: 900; font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; }
.halo-auth-tagline { font-size: 1.6rem; font-weight: 800; color: var(--halo-ink); }
.halo-auth-brand-inner p { margin: 0; color: var(--halo-text); font-size: 1.05rem; line-height: 1.6; }
.halo-auth-points { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.halo-auth-points li {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--halo-glass);
    box-shadow: 0 12px 24px -8px rgba(145, 158, 171, .22);
}
.halo-auth-points .halo-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; font-size: 16px; }
.halo-auth-points strong { display: block; font-size: .95rem; color: var(--halo-ink); }
.halo-auth-points small { display: block; color: var(--halo-text); font-size: .85rem; }
@media (max-width: 991.98px) {
    .halo-auth-brand { display: none; }
    .halo-auth { padding: 24px 0 48px; }
    .halo-auth-shell { min-height: 0; }
}

/* Pages proches de la connexion (inscription, mot de passe oublié...) */
.primary-content .card.mw-540,
.primary-content .card.mw-750 { border-radius: var(--halo-radius-xl); }

/* ---------------------------------------------------------------------
   Panier de commande (standard_cart)
   --------------------------------------------------------------------- */
body.halo #order-standard_cart { font-family: var(--halo-font); color: var(--halo-ink); }
body.halo #order-standard_cart .header-lined h1,
body.halo #order-standard_cart .header-lined .h1 { font-weight: 800; font-size: 1.9rem; }
body.halo #order-standard_cart .sub-heading { border-top-color: var(--halo-line); }
body.halo #order-standard_cart .sub-heading span { background: var(--halo-grey); color: var(--halo-text); font-weight: 700; }
body.halo #order-standard_cart .products .product {
    border: 0;
    border-radius: var(--halo-radius-xl);
    box-shadow: 0 24px 48px -12px rgba(33, 43, 54, .10);
    overflow: hidden;
    padding-bottom: 16px;
    background: var(--halo-surface);
}
body.halo #order-standard_cart .products .product header {
    margin: 0;
    padding: 20px 24px 8px;
    background: transparent;
    border-radius: 0;
}
body.halo #order-standard_cart .products .product header span { font-size: 1.35rem; font-weight: 800; color: var(--halo-ink); }
body.halo #order-standard_cart .products .product header .qty { color: var(--halo-muted); font-style: normal; font-size: 12px; font-weight: 600; }
body.halo #order-standard_cart .products .product div.product-desc { padding: 8px 24px; font-size: .9rem; color: var(--halo-text); line-height: 1.7; }
body.halo #order-standard_cart .products .product span.feature-value { color: var(--halo-ink); }
body.halo #order-standard_cart .products .product div.product-pricing span.price { font-size: 1.7rem; font-weight: 800; color: var(--halo-ink); font-variant-numeric: tabular-nums; }
body.halo #order-standard_cart .products .product footer { font-size: .85rem; color: var(--halo-text); }
body.halo #order-standard_cart .products .product .btn-order-now,
body.halo #order-standard_cart .products .product footer .btn { width: 100%; }
body.halo #order-standard_cart .panel-addon,
body.halo #order-standard_cart .field-container,
body.halo #order-standard_cart .view-cart-items,
body.halo #order-standard_cart .product-info {
    border-radius: var(--halo-radius-lg);
    border-color: var(--halo-line);
}
body.halo #order-standard_cart .panel-addon:hover { border-color: var(--halo-primary); }
body.halo #order-standard_cart .panel-addon-selected { border-color: var(--halo-primary); background: var(--halo-primary-soft); }
body.halo #order-standard_cart .panel-addon .panel-add { background: var(--halo-grey); color: var(--halo-ink); font-weight: 700; }
body.halo #order-standard_cart .panel-addon-selected .panel-add { background: var(--halo-primary); color: #fff; }
body.halo #order-standard_cart .view-cart-items-header {
    background: var(--halo-grey);
    color: var(--halo-text);
    border-radius: var(--halo-radius-lg) var(--halo-radius-lg) 0 0;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
body.halo #order-standard_cart .view-cart-items { border-radius: 0 0 var(--halo-radius-lg) var(--halo-radius-lg); background: var(--halo-surface); }
body.halo #order-standard_cart .view-cart-items .item { border-color: var(--halo-line); }
body.halo #order-standard_cart .view-cart-items .item:nth-child(even) { background: var(--halo-zebra); }
body.halo #order-standard_cart .view-cart-items .item-title { font-weight: 700; color: var(--halo-ink); }
body.halo #order-standard_cart .view-cart-items .item-group { color: var(--halo-text); }
body.halo #order-standard_cart .order-summary {
    border: 1px solid var(--halo-line);
    border-radius: var(--halo-radius-xl);
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-card);
    overflow: hidden;
}
body.halo #order-standard_cart .order-summary h2 { background: transparent; color: var(--halo-ink); font-weight: 800; font-size: 1.2rem; padding: 20px 24px 6px; }
body.halo #order-standard_cart .summary-container { background: var(--halo-grey); border: 0; border-radius: 22px; margin: 6px; padding: 20px; color: var(--halo-ink); }
body.halo #order-standard_cart .order-summary .total-due-today .amt { font-family: var(--halo-display-font); font-weight: 900; color: var(--halo-ink); }
body.halo #order-standard_cart .btn-checkout { height: 52px; font-size: 16px; }
body.halo #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"] { color: var(--halo-ink); border-bottom-color: var(--halo-ink); }
body.halo #order-standard_cart .view-cart-tabs .tab-content { border-color: var(--halo-line); border-radius: 0 0 var(--halo-radius) var(--halo-radius); }
body.halo #order-standard_cart .domain-checker-container { border-radius: var(--halo-radius-xl); background: var(--halo-panel-bg); }
body.halo #order-standard_cart .domain-checker-available { color: var(--halo-success-text); }
body.halo #order-standard_cart .domain-checker-invalid,
body.halo #order-standard_cart .domain-checker-unavailable { color: var(--halo-error-text); }
body.halo #order-standard_cart .empty-cart .btn { background: var(--halo-grey); color: var(--halo-ink); border-radius: var(--halo-radius-sm); }

/* Barre latérale des catégories du panier */
body.halo .cart-sidebar .card,
body.halo #order-standard_cart .cart-sidebar .card { border-radius: var(--halo-radius-lg); }

/* ---------------------------------------------------------------------
   Accessibilité / mouvement réduit / impression
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .halo-float, .halo-orbit .orbit-2, .halo-planet { animation: none; }
    .halo-card, .tiles .tile, a.halo-card-link, a.halo-card-offer { transition: none; }
}
@media print {
    header.header.halo-header { position: static; }
    .halo-hero-visual, .halo-discord-band, .halo-cta-band { display: none; }
}

/* ---------------------------------------------------------------------
   Menus injectés par un gestionnaire de menus (icônes + libellés) :
   on garde le header sur une ligne en grand écran
   --------------------------------------------------------------------- */
@media (min-width: 1200px) {
    header.header #nav > li > a > i,
    header.header #nav > li > a > .fa,
    header.header #nav > li > a > .fas,
    header.header #nav > li > a > .far { display: none; }
    header.header #nav > li > a { padding-left: .6rem !important; padding-right: .6rem !important; }
    header.header .halo-secondary-nav > li > a { padding-left: .55rem !important; padding-right: .55rem !important; }
    header.header .halo-secondary-nav > li > a .caret,
    header.header #nav > li > a.dropdown-toggle::after { margin-left: .3em; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    header.header .navbar-nav a, header.header .navbar-nav .nav-link { font-size: 13.5px; }
    header.header .navbar-brand { margin-right: 16px; }
    header.header .halo-btn-dark { padding: 0 14px; }
}

/* Panier : boutons de commande aux couleurs HaloAgency */
body.halo #order-standard_cart .btn-success,
body.halo #order-standard_cart .btn-order-now {
    background-color: var(--halo-primary);
    border-color: var(--halo-primary);
    color: #fff;
}
body.halo #order-standard_cart .btn-success:hover,
body.halo #order-standard_cart .btn-order-now:hover { background-color: var(--halo-primary-dark); border-color: var(--halo-primary-dark); }
body.halo #order-standard_cart .products .product footer { padding-right: 20px; }
body.halo #order-standard_cart .products .product .price-cycle,
body.halo #order-standard_cart .products .product footer small { color: var(--halo-text); }

/* =====================================================================
   Boutique HaloAgency (order form "haloagency_cart")
   ===================================================================== */
body.halo #order-standard_cart.halo-store { padding-top: 8px; }
.halo-store-head {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
    padding: 36px;
    margin-bottom: 20px;
    border-radius: var(--halo-radius-xl);
    background: var(--halo-panel-bg);
    border: 1px solid var(--halo-line);
    color: var(--halo-ink);
}
.halo-store-title { min-width: 0; max-width: 680px; }
.halo-store-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--halo-primary); }
body.halo .halo-store-title h1 {
    color: var(--halo-ink);
    font-family: var(--halo-display-font);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.1;
    margin: 6px 0 8px;
}
.halo-store-title p { margin: 0; color: var(--halo-text); font-size: 1.02rem; line-height: 1.6; }
.halo-store-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.halo-store-perks li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--halo-glass);
    border: 1px solid var(--halo-line);
    box-shadow: 0 8px 16px -8px rgba(145, 158, 171, .3);
    font-size: 13px; font-weight: 600; color: var(--halo-ink);
}
.halo-store-perks i { color: var(--halo-primary); }

.halo-store-cats { margin-bottom: 24px; }
.halo-store-cats-group { display: flex; flex-wrap: wrap; gap: 8px; }
.halo-store-cats-group + .halo-store-cats-group { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--halo-line-strong); }
body.halo .halo-cat {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--halo-surface);
    border: 1px solid var(--halo-line-strong);
    color: var(--halo-ink);
    font-size: 14px; font-weight: 600;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
body.halo .halo-cat:hover { border-color: var(--halo-strong); color: var(--halo-ink); }
body.halo .halo-cat.active { background: var(--halo-strong); border-color: var(--halo-strong); color: #fff; }
body.halo .halo-store-cats-group.is-actions .halo-cat { background: transparent; border-style: dashed; color: var(--halo-text); font-size: 13px; }
body.halo .halo-store-cats-group.is-actions .halo-cat:hover { color: var(--halo-ink); }
.halo-cat .badge { background: var(--halo-primary); color: #fff; font-size: 11px; }
.halo-cat.disabled { opacity: .45; pointer-events: none; }

body.halo #order-standard_cart .halo-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 0;
}
body.halo #order-standard_cart .products .product.halo-product {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--halo-radius-xl);
    background: var(--halo-surface);
    box-shadow: 0 24px 48px -12px rgba(33, 43, 54, .10);
    overflow: visible;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.halo #order-standard_cart .products .product.halo-product:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -12px rgba(33, 43, 54, .18); }
body.halo #order-standard_cart .products .product.halo-product.is-featured { border-color: var(--halo-primary); box-shadow: 0 0 0 1px var(--halo-primary), 0 24px 48px -12px rgba(6, 112, 207, .28); }
.halo-product-flag {
    position: absolute;
    top: -12px; left: 24px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--halo-gradient-brand);
    color: #fff;
    font-size: 12px; font-weight: 800;
}
body.halo #order-standard_cart .products .product.halo-product header {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin: 0;
    padding: 26px 24px 0;
    background: transparent;
}
body.halo #order-standard_cart .products .product.halo-product header .halo-product-name { font-size: 1.3rem; font-weight: 800; color: var(--halo-ink); }
body.halo #order-standard_cart .products .product.halo-product header .qty {
    float: none;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, .14);
    color: var(--halo-success-text);
    font-size: 12px; font-weight: 700; font-style: normal;
    white-space: nowrap;
}
body.halo #order-standard_cart .products .product.halo-product header .qty.is-out { background: rgba(255, 86, 48, .12); color: var(--halo-error-text); }

.halo-product-price {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px;
    padding: 14px 24px 16px;
    border-bottom: 1px dashed var(--halo-line-strong);
}
.halo-price-from { width: 100%; font-size: 12px; font-weight: 700; color: var(--halo-muted); text-transform: uppercase; letter-spacing: .06em; }
body.halo #order-standard_cart .halo-product-price .price {
    font-family: var(--halo-display-font);
    font-weight: 900;
    font-size: 2.1rem;
    line-height: 1;
    color: var(--halo-ink);
    font-variant-numeric: tabular-nums;
}
.halo-price-cycle { font-size: 14px; color: var(--halo-text); font-weight: 600; }
.halo-price-setup { width: 100%; color: var(--halo-text); }

body.halo #order-standard_cart .products .product.halo-product div.product-desc {
    float: none;
    width: auto;
    flex: 1;
    padding: 16px 24px 4px;
    font-size: .92rem;
    color: var(--halo-text);
}
.halo-product-text { line-height: 1.75; }
.halo-product-text del, .halo-product-text s, .halo-product-text strike { color: var(--halo-muted); }
.halo-product-features { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.halo-product-features li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.halo-product-features i { margin-top: 3px; font-size: 12px; color: var(--halo-success-text); }
.halo-product-features .feature-value { color: var(--halo-ink); }
body.halo #order-standard_cart .products .product.halo-product footer {
    float: none;
    width: auto;
    margin: 0;
    padding: 16px 24px 24px;
    text-align: left;
    font-size: 1rem;
}
body.halo #order-standard_cart .halo-product .btn-order-now { height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; }
body.halo #order-standard_cart .halo-product .btn-order-now[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.halo-store-note { margin: 28px 0 0; text-align: center; color: var(--halo-text); font-size: 14px; }
.halo-store-note i { color: var(--halo-primary); margin-right: 4px; }
.halo-store .sidebar-collapsed { margin-bottom: 16px; }
.halo-store .sidebar-collapsed .panel { border-radius: var(--halo-radius); }

/* Étapes suivantes du panier (héritées de standard_cart) */
body.halo #order-standard_cart .cart-sidebar .card-header,
body.halo #order-standard_cart .cart-sidebar .panel-heading { background: var(--halo-surface); }
body.halo #order-standard_cart .cart-sidebar .list-group-item.active { background: var(--halo-primary-soft); color: var(--halo-primary); }
body.halo #order-standard_cart .product-info { background: var(--halo-grey); padding: 16px 20px; }
body.halo #order-standard_cart .product-info .product-title { font-weight: 800; font-size: 1.15rem; }
body.halo #order-standard_cart .field-container { background: var(--halo-surface); padding: 20px; }
body.halo #order-standard_cart .header-lined h1 { font-family: var(--halo-display-font); font-weight: 900; }
body.halo #order-standard_cart .secondary-cart-body .btn-primary,
body.halo #order-standard_cart #btnCompleteProductConfig,
body.halo #order-standard_cart #btnCompleteOrder { height: 50px; font-size: 16px; }
body.halo #order-standard_cart .cart-sidebar .list-group-item { color: var(--halo-text); font-weight: 500; border-color: var(--halo-line); }
body.halo #order-standard_cart .cart-sidebar .list-group-item i { color: var(--halo-muted); width: 18px; }
body.halo #order-standard_cart .cart-sidebar .list-group-item:hover { color: var(--halo-ink); background: var(--halo-grey); }
body.halo #order-standard_cart .cart-sidebar .list-group-item.active { color: var(--halo-primary); }
body.halo #order-standard_cart .cart-sidebar .list-group-item.active i { color: var(--halo-primary); }

/* =====================================================================
   Page domaines (haloagency_cart / domainregister.tpl)
   ===================================================================== */
body.halo #order-standard_cart.halo-domains .cart-body { float: none; width: 100%; padding: 0 15px; }
body.halo .halo-domain-hero {
    position: relative;
    overflow: hidden;
    padding: 56px clamp(20px, 5vw, 64px) 40px;
    margin: 8px 0 48px;
    border-radius: var(--halo-radius-xl);
    text-align: center;
    color: var(--halo-ink);
    background: var(--halo-panel-bg);
    border: 1px solid var(--halo-line);
}
body.halo .halo-domain-hero h1 {
    color: var(--halo-ink);
    font-family: var(--halo-display-font);
    font-weight: 900;
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    line-height: 1.05;
    margin: 10px auto 12px;
    max-width: 820px;
    text-wrap: balance;
}
body.halo .halo-domain-hero > p { color: var(--halo-text); font-size: 1.1rem; margin: 0 auto 28px; max-width: 600px; }

body.halo #order-standard_cart .halo-domain-hero .domain-checker-container {
    background: transparent;
    margin: 0 auto;
    padding: 0;
    max-width: 760px;
    border: 0;
}
body.halo #order-standard_cart .halo-domain-hero .domain-checker-bg { background: none; padding: 0; margin: 0; }
body.halo #order-standard_cart .halo-domain-hero .domain-checker-bg .row > div { max-width: 100%; flex: 0 0 100%; margin-left: 0; }
body.halo #order-standard_cart .halo-domain-hero .input-group-box {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 8px;
    border-radius: 18px;
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-pop);
    border: 0;
}
body.halo #order-standard_cart .halo-domain-hero .input-group-box .form-control {
    height: 56px;
    border: 0;
    box-shadow: none;
    font-size: 1.2rem;
    padding: 0 18px;
    background: transparent;
    border-radius: 12px;
}
body.halo #order-standard_cart .halo-domain-hero .input-group-box .input-group-btn,
body.halo #order-standard_cart .halo-domain-hero .input-group-box .input-group-append { display: block; width: auto; }
body.halo #order-standard_cart .halo-domain-hero #btnCheckAvailability {
    height: 56px;
    padding: 0 32px;
    border-radius: 12px !important;
    font-size: 16px;
    white-space: nowrap;
}
body.halo #order-standard_cart .halo-domain-hero .captcha-container { color: var(--halo-text); }

.halo-domain-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px auto 0; max-width: 760px; }
body.halo .halo-domain-chip {
    display: inline-flex; align-items: baseline; gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
body.halo .halo-domain-chip span { color: #C4CDD5; font-size: 13px; }
body.halo .halo-domain-chip:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .32); }
.halo-domain-perks { justify-content: center; margin-top: 26px !important; }

/* Résultats de recherche */
body.halo #order-standard_cart.halo-domains #DomainSearchResults { margin: -16px 0 48px; }
body.halo #order-standard_cart.halo-domains .primary-domain-header {
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--halo-muted); text-align: center; margin-bottom: 8px;
}
body.halo #order-standard_cart.halo-domains .domain-checker-result-headline {
    padding: 28px;
    border-radius: var(--halo-radius-xl);
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-card);
    text-align: center;
    font-size: 1.3rem;
}
body.halo #order-standard_cart.halo-domains .domain-checker-available { color: var(--halo-success-text); font-weight: 800; }
body.halo #order-standard_cart.halo-domains .domain-checker-unavailable,
body.halo #order-standard_cart.halo-domains .domain-checker-invalid { color: var(--halo-error-text); font-weight: 700; }
body.halo #order-standard_cart.halo-domains .domain-price { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
body.halo #order-standard_cart.halo-domains .domain-price .price { font-family: var(--halo-display-font); font-weight: 900; font-size: 2rem; color: var(--halo-ink); }
body.halo #order-standard_cart.halo-domains .btn-add-to-cart {
    background: var(--halo-primary);
    border-color: var(--halo-primary);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
}
body.halo #order-standard_cart.halo-domains .btn-add-to-cart:hover { background: var(--halo-primary-dark); color: #fff; }
body.halo #order-standard_cart.halo-domains .btn-add-to-cart.checkout { background: var(--halo-success); border-color: var(--halo-success); }
body.halo #order-standard_cart.halo-domains .spotlight-tlds { margin: 20px 0; }
body.halo #order-standard_cart.halo-domains .spotlight-tld {
    border: 0;
    border-radius: var(--halo-radius-lg);
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-card);
    font-weight: 800;
    color: var(--halo-ink);
}
body.halo #order-standard_cart.halo-domains .suggested-domains {
    border: 0;
    border-radius: var(--halo-radius-xl);
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-card);
    overflow: hidden;
}
body.halo #order-standard_cart.halo-domains .suggested-domains .card-header { background: var(--halo-surface); font-weight: 800; color: var(--halo-ink); padding: 18px 24px; }
body.halo #order-standard_cart.halo-domains .suggested-domains .list-group-item { padding: 14px 24px; border-color: var(--halo-line); }
body.halo #order-standard_cart.halo-domains .suggested-domains .extension { color: var(--halo-primary); }

/* Extensions en vedette */
.halo-domain-subhead { margin: 0 0 20px; }
.halo-featured-tlds {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 56px;
}
body.halo .halo-featured-tld {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 22px;
    border: 1px solid transparent;
    border-radius: var(--halo-radius-lg);
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-card);
    font: inherit;
    text-align: left;
    color: var(--halo-ink);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.halo .halo-featured-tld:hover { transform: translateY(-4px); box-shadow: var(--halo-shadow-lift); border-color: rgba(6, 112, 207, .3); }
body.halo .halo-featured-tld:nth-child(6n+1) .halo-featured-tld-name { color: var(--halo-primary); }
.halo-featured-tld-name { font-family: var(--halo-display-font); font-weight: 900; font-size: 2.1rem; line-height: 1; }
.halo-featured-tld-price { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.halo-featured-tld-price small { font-weight: 600; color: var(--halo-text); margin-left: 2px; }
.halo-featured-tld-cta { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--halo-primary); }

/* Filtres et tableau des tarifs */
body.halo .halo-domains .tld-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
body.halo .halo-domains .tld-filters a.badge {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--halo-surface);
    border: 1px solid var(--halo-line-strong);
    color: var(--halo-ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
body.halo .halo-domains .tld-filters a.badge:hover { border-color: var(--halo-strong); }
body.halo .halo-domains .tld-filters a.badge.badge-success { background: var(--halo-strong); border-color: var(--halo-strong); color: #fff; }
body.halo .halo-domains .halo-tld-table {
    border-radius: var(--halo-radius-xl);
    box-shadow: var(--halo-shadow-card);
    overflow: hidden;
    margin-bottom: 56px;
}
body.halo .halo-domains .domain-pricing .tld-pricing-header { background: var(--halo-grey); }
body.halo .halo-domains .domain-pricing .tld-pricing-header > div,
body.halo .halo-domains .domain-pricing .tld-pricing-header .col-4,
body.halo .halo-domains .domain-pricing .tld-pricing-header .col-xs-4,
body.halo .halo-domains .domain-pricing .tld-pricing-header div:nth-child(odd) {
    padding: 14px 8px;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--halo-text);
}
body.halo .halo-domains .domain-pricing .tld-row { padding: 6px 0; border-bottom: 1px solid var(--halo-line); font-variant-numeric: tabular-nums; }
body.halo .halo-domains .domain-pricing .tld-row:hover { background: rgba(6, 112, 207, .04); }
body.halo .halo-domains .domain-pricing .tld-row.highlighted { background: var(--halo-primary-soft); }
body.halo .halo-domains .domain-pricing .tld-row strong { font-size: 1.05rem; color: var(--halo-ink); }
body.halo .halo-domains .domain-pricing .tld-row .col-4:first-child { font-weight: 700; color: var(--halo-ink); }
body.halo .halo-domains .domain-pricing .tld-row small { color: var(--halo-muted); }
body.halo .halo-domains .domain-pricing .two-row-center { border-right: 0; }
body.halo .halo-domains .tld-sale-group {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    vertical-align: middle;
}
body.halo .halo-domains .tld-sale-group-hot { background: rgba(255, 86, 48, .12); color: var(--halo-error-text); }
body.halo .halo-domains .tld-sale-group-new { background: rgba(34, 197, 94, .14); color: var(--halo-success-text); }
body.halo .halo-domains .tld-sale-group-sale { background: rgba(255, 171, 0, .18); color: var(--halo-amber-text); }

/* Encarts du bas */
.halo-domain-upsell { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 24px; }






@media (max-width: 767.98px) {
    body.halo .halo-domain-hero { padding: 36px 18px 28px; }
    body.halo #order-standard_cart .halo-domain-hero #btnCheckAvailability { padding: 0 18px; }
    body.halo .halo-domains .domain-pricing .tld-row .col-md-4 { padding: 6px 16px 0 !important; }
}

/* Domaines : ajustements */
body.halo #order-standard_cart .halo-domain-hero .input-group-box .form-control { flex: 1 1 auto; width: auto; min-width: 0; }
body.halo #order-standard_cart .halo-domain-hero .input-group-box .input-group-btn,
body.halo #order-standard_cart .halo-domain-hero .input-group-box .input-group-append { flex: 0 0 auto; width: auto !important; margin: 0; }
body.halo #order-standard_cart .halo-domain-hero #btnCheckAvailability { width: auto !important; }
.halo-featured-tlds { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.halo-featured-tld-price { white-space: nowrap; }
.halo-featured-tld-price small { display: block; margin: 2px 0 0; font-size: 12px; white-space: normal; }
body.halo .halo-domains .domain-pricing .tld-pricing-header { align-items: center; }
body.halo .halo-domains .domain-pricing .tld-pricing-header .tld-column { text-align: left; padding-left: 24px !important; }
body.halo .halo-domains .domain-pricing .tld-pricing-header .row { margin: 0; }
@media (max-width: 575.98px) {
    .halo-featured-tlds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    body.halo .halo-featured-tld { padding: 16px; }
    .halo-featured-tld-name { font-size: 1.7rem; }
}

/* =====================================================================
   Thème sombre (bouton lune/soleil du header, choix mémorisé)
   ===================================================================== */
:root[data-theme="dark"] {
    color-scheme: dark;
    --halo-surface: #1A222C;
    --halo-strong: #0670CF;
    --halo-hover: #2A3542;
    --halo-zebra: #1E2732;
    --halo-header-bg: rgba(20, 26, 33, .9);
    --halo-glass: rgba(26, 34, 44, .78);
    --halo-ink: #F1F4F7;
    --halo-text: #A9B4C0;
    --halo-muted: #7D8B99;
    --halo-line: rgba(145, 158, 171, .18);
    --halo-line-strong: rgba(145, 158, 171, .28);
    --halo-grey: #12171D;
    --halo-primary-soft: rgba(7, 141, 238, .16);
    --halo-success-text: #4ADE80;
    --halo-error-text: #FF8A70;
    --halo-amber-text: #FFC447;
    --halo-shadow-card: 0 0 0 1px rgba(145, 158, 171, .12), 0 12px 24px -8px rgba(0, 0, 0, .5);
    --halo-shadow-lift: 0 0 0 1px rgba(145, 158, 171, .2), 0 20px 40px -8px rgba(0, 0, 0, .6);
    --halo-shadow-pop: 0 24px 48px -12px rgba(0, 0, 0, .6);
    --halo-hero-bg:
        radial-gradient(600px 360px at 85% 20%, rgba(7, 141, 238, .18), transparent 70%),
        radial-gradient(500px 300px at 70% 95%, rgba(92, 200, 255, .08), transparent 70%),
        linear-gradient(180deg, #151B23 0%, #12171D 100%);
    --halo-panel-bg:
        radial-gradient(520px 320px at 85% 0%, rgba(7, 141, 238, .22), transparent 70%),
        radial-gradient(420px 280px at 10% 100%, rgba(92, 200, 255, .08), transparent 70%),
        linear-gradient(160deg, #1A222C 0%, #161D26 100%);
    /* panier Nexus */
    --bg: #1A222C; --bg-muted: #161D26; --bg-lifted: #222C38; --text: #F1F4F7; --border: #2A3542; --border-muted: #222C38;
}
:root[data-theme="dark"] body.halo,
:root[data-theme="dark"] body.halo.tpl-homepage,
:root[data-theme="dark"] body.halo.tpl-login { background-color: var(--halo-grey); color: var(--halo-ink); }

/* Composants Bootstrap / Twenty-One en sombre */
:root[data-theme="dark"] body.halo .bg-white,
:root[data-theme="dark"] body.halo .card,
:root[data-theme="dark"] body.halo .card-header,
:root[data-theme="dark"] body.halo .list-group-item,
:root[data-theme="dark"] body.halo .dropdown-menu,
:root[data-theme="dark"] body.halo .modal-content,
:root[data-theme="dark"] body.halo .popover,
:root[data-theme="dark"] body.halo .panel,
:root[data-theme="dark"] body.halo .panel-heading,
:root[data-theme="dark"] body.halo .panel-body,
:root[data-theme="dark"] body.halo .well,
:root[data-theme="dark"] body.halo .table-container,
:root[data-theme="dark"] body.halo .tiles .tile,
:root[data-theme="dark"] body.halo .ticket-reply,
:root[data-theme="dark"] body.halo .div-service-item { background-color: var(--halo-surface); color: var(--halo-ink); border-color: var(--halo-line); }
:root[data-theme="dark"] body.halo .card-footer,
:root[data-theme="dark"] body.halo .panel-footer,
:root[data-theme="dark"] body.halo .table thead th,
:root[data-theme="dark"] body.halo .input-group-text { background-color: #151C24; color: var(--halo-text); border-color: var(--halo-line); }
:root[data-theme="dark"] body.halo .table,
:root[data-theme="dark"] body.halo .table td,
:root[data-theme="dark"] body.halo .table th { color: var(--halo-ink); border-color: var(--halo-line); }
:root[data-theme="dark"] body.halo .table-striped tbody tr:nth-of-type(odd) { background-color: var(--halo-zebra); }
:root[data-theme="dark"] body.halo .form-control,
:root[data-theme="dark"] body.halo .custom-select,
:root[data-theme="dark"] body.halo select,
:root[data-theme="dark"] body.halo textarea { background-color: #12171D; color: var(--halo-ink); border-color: var(--halo-line-strong); }
:root[data-theme="dark"] body.halo .form-control:focus { border-color: var(--halo-info); box-shadow: 0 0 0 1px var(--halo-info); }
:root[data-theme="dark"] body.halo .form-control:disabled,
:root[data-theme="dark"] body.halo .form-control[readonly] { background-color: #1E2732; }
:root[data-theme="dark"] body.halo .btn-default,
:root[data-theme="dark"] body.halo .btn-secondary,
:root[data-theme="dark"] body.halo .btn-outline-secondary,
:root[data-theme="dark"] body.halo .btn-light { background-color: var(--halo-surface); color: var(--halo-ink); border-color: var(--halo-line-strong); }
:root[data-theme="dark"] body.halo .btn-default:hover,
:root[data-theme="dark"] body.halo .btn-outline-secondary:hover { background-color: var(--halo-hover); color: var(--halo-ink); }
:root[data-theme="dark"] body.halo .dropdown-item,
:root[data-theme="dark"] body.halo header.header .dropdown-item { color: var(--halo-ink); }
:root[data-theme="dark"] body.halo .dropdown-item:hover { background-color: var(--halo-hover); }
:root[data-theme="dark"] body.halo .close { color: var(--halo-ink); text-shadow: none; }
:root[data-theme="dark"] body.halo hr,
:root[data-theme="dark"] body.halo .border,
:root[data-theme="dark"] body.halo .border-top,
:root[data-theme="dark"] body.halo .border-bottom { border-color: var(--halo-line) !important; }
:root[data-theme="dark"] body.halo .text-dark { color: var(--halo-ink) !important; }
:root[data-theme="dark"] body.halo .page-link { background: transparent; color: var(--halo-ink); }
:root[data-theme="dark"] body.halo .nav-tabs .nav-link.active { background: transparent; }
:root[data-theme="dark"] body.halo .tab-content,
:root[data-theme="dark"] body.halo .tab-content > .tab-pane { background-color: transparent; color: var(--halo-ink); }
:root[data-theme="dark"] body.halo a:not(.btn) { color: #4FB3F6; }
:root[data-theme="dark"] body.halo a:not(.btn):hover { color: #8CCFFB; }
:root[data-theme="dark"] body.halo .halo-card-cta,
:root[data-theme="dark"] body.halo .halo-offer-foot,
:root[data-theme="dark"] body.halo .halo-featured-tld-cta,
:root[data-theme="dark"] body.halo .halo-store-eyebrow,
:root[data-theme="dark"] body.halo .halo-eyebrow:not(.halo-eyebrow-muted) { color: #4FB3F6; }
:root[data-theme="dark"] body.halo .halo-icon:not(.halo-icon-dark):not(.halo-icon-green):not(.halo-icon-amber) { color: #4FB3F6; }
:root[data-theme="dark"] body.halo .alert-info { color: #8CCFFB; }
:root[data-theme="dark"] body.halo .alert-warning { color: #FFC447; }
:root[data-theme="dark"] body.halo .alert-success { color: #4ADE80; }
:root[data-theme="dark"] body.halo .alert-danger { color: #FF8A70; }

/* Liens et cartes qui imposent l'encre */
:root[data-theme="dark"] body.halo a.halo-card-link:not(.btn),
:root[data-theme="dark"] body.halo a.halo-card-offer:not(.btn),
:root[data-theme="dark"] body.halo a.halo-review-summary:not(.btn),
:root[data-theme="dark"] body.halo .halo-footer-col a:not(.btn),
:root[data-theme="dark"] body.halo .halo-logo-text,
:root[data-theme="dark"] body.halo a.halo-cat,
:root[data-theme="dark"] body.halo .halo-social a:not(.btn),
:root[data-theme="dark"] body.halo .sidebar a.list-group-item:not(.active),
:root[data-theme="dark"] body.halo #order-standard_cart .cart-sidebar a.list-group-item:not(.active),
:root[data-theme="dark"] body.halo .client-home-cards a.list-group-item,
:root[data-theme="dark"] body.halo .master-breadcrumb .breadcrumb-item a:not(.btn) { color: var(--halo-text); }
:root[data-theme="dark"] body.halo a.halo-cat { color: var(--halo-ink); }
:root[data-theme="dark"] body.halo a.halo-cat.active,
:root[data-theme="dark"] body.halo .halo-domains .tld-filters a.badge.badge-success { color: #fff; }
:root[data-theme="dark"] body.halo header.header .navbar-nav .nav-link,
:root[data-theme="dark"] body.halo header.header .navbar-nav a:not(.btn) { color: var(--halo-text); }
:root[data-theme="dark"] body.halo header.header .navbar-brand:not(.btn),
:root[data-theme="dark"] body.halo header.header .dropdown-menu a:not(.btn) { color: var(--halo-ink); }
:root[data-theme="dark"] body.halo header.header .navbar-nav .nav-link:hover,
:root[data-theme="dark"] body.halo header.header .navbar-nav .show > .nav-link { color: var(--halo-ink); background-color: var(--halo-hover); }
:root[data-theme="dark"] body.halo header.header .topbar { background-color: #0C1015; }
:root[data-theme="dark"] body.halo header.header .toolbar .nav-link { background: var(--halo-hover); color: var(--halo-ink); }
:root[data-theme="dark"] body.halo .master-breadcrumb .breadcrumb-item a { color: var(--halo-text); }
:root[data-theme="dark"] body.halo .halo-search { background: var(--halo-surface); }
:root[data-theme="dark"] body.halo .halo-tld-chip { background: var(--halo-surface); }
:root[data-theme="dark"] body.halo .halo-float { background: var(--halo-surface); color: var(--halo-ink); }
:root[data-theme="dark"] body.halo .halo-float-1 { color: #4FB3F6; }
:root[data-theme="dark"] body.halo .halo-review-cta { background: rgba(0, 182, 122, .08); }
:root[data-theme="dark"] body.halo .halo-tp-stars i.half { background: linear-gradient(90deg, var(--halo-trustpilot) 50%, #3A4757 50%); }
:root[data-theme="dark"] body.halo footer.footer.halo-footer { background: #0F141A; border-top-color: var(--halo-line); }
:root[data-theme="dark"] body.halo .halo-auth-orbit img,
:root[data-theme="dark"] body.halo .halo-planet { filter: drop-shadow(0 24px 40px rgba(7, 141, 238, .35)); }

/* Panier en sombre */
:root[data-theme="dark"] body.halo #order-standard_cart,
:root[data-theme="dark"] body.halo #order-standard_cart .products .product,
:root[data-theme="dark"] body.halo #order-standard_cart .view-cart-items,
:root[data-theme="dark"] body.halo #order-standard_cart .field-container,
:root[data-theme="dark"] body.halo #order-standard_cart .panel-addon,
:root[data-theme="dark"] body.halo #order-standard_cart .order-summary,
:root[data-theme="dark"] body.halo #order-standard_cart .suggested-domains,
:root[data-theme="dark"] body.halo #order-standard_cart .domain-checker-result-headline,
:root[data-theme="dark"] body.halo #order-standard_cart .spotlight-tld { color: var(--halo-ink); }
:root[data-theme="dark"] body.halo #order-standard_cart .products .product header span,
:root[data-theme="dark"] body.halo #order-standard_cart .halo-product-price .price,
:root[data-theme="dark"] body.halo #order-standard_cart .order-summary .total-due-today .amt,
:root[data-theme="dark"] body.halo #order-standard_cart .domain-price .price { color: var(--halo-ink); }
:root[data-theme="dark"] body.halo #order-standard_cart .view-cart-items .item:nth-child(even) { background: var(--halo-zebra); }
:root[data-theme="dark"] body.halo #order-standard_cart .sub-heading span { background: var(--halo-grey); }
:root[data-theme="dark"] body.halo #order-standard_cart .product-info { background: #151C24; }

/* Bouton de bascule clair / sombre */
header.header .halo-theme-toggle .halo-ico-sun { display: none; }
:root[data-theme="dark"] header.header .halo-theme-toggle .halo-ico-sun { display: inline-block; }
:root[data-theme="dark"] header.header .halo-theme-toggle .halo-ico-moon { display: none; }
:root[data-theme="dark"] body.halo .label-info, :root[data-theme="dark"] body.halo .status-answered, :root[data-theme="dark"] body.halo .status-sent { background-color: rgba(7, 141, 238, .2) !important; color: #8CCFFB !important; }
:root[data-theme="dark"] body.halo .label-default, :root[data-theme="dark"] body.halo .status-terminated { color: var(--halo-text) !important; }

/* Accueil : visuel du hero bien rangé dans la grille (plus de débordement) */
.halo-hero-grid { flex-wrap: nowrap; }
.halo-hero-copy { flex: 1 1 0; }
.halo-hero-visual { flex: 0 0 400px; max-width: 400px; margin-right: 8px; }
.halo-float-3 { right: 4px; }
@media (max-width: 1199.98px) {
    .halo-hero-visual { display: none; }
}

/* Boutique : la dernière ligne incomplète est centrée (ex. 4 offres = 3 + 1 au milieu) */
body.halo #order-standard_cart .halo-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
body.halo #order-standard_cart .halo-products > .halo-product {
    flex: 0 1 calc((100% - 40px) / 3);
    min-width: 0;
}
@media (max-width: 1099.98px) {
    body.halo #order-standard_cart .halo-products > .halo-product { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 639.98px) {
    body.halo #order-standard_cart .halo-products > .halo-product { flex-basis: 100%; }
}

/* Header : bouton panier et pastille du nombre d'articles entièrement visibles */

header.header .toolbar .nav-item { position: relative; }
header.header .toolbar .nav-link,
header.header .toolbar .cart-btn { overflow: visible !important; flex: 0 0 44px; }
header.header .toolbar .cart-btn i { margin: 0; }
header.header .toolbar .nav-link .badge,
header.header .toolbar #cartItemCount {
    top: -6px;
    right: -6px;
    line-height: 1;
    z-index: 1;
}

/* =====================================================================
   Tableau de bord : boîtes plus nettes
   ===================================================================== */
/* Services actifs : des lignes, plus des boîtes dans la boîte */
body.halo .div-service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 14px 20px;
    border: 0;
    border-bottom: 1px solid var(--halo-line);
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transition: background-color .15s ease;
}
body.halo .div-service-item:hover { background: var(--halo-zebra); }
body.halo .div-service-item:last-child { border-bottom: 0; }
body.halo .div-service-item .div-service-status { flex: 0 0 auto; margin: 0; }
body.halo .div-service-item .div-service-status .label-placeholder { display: none; }
body.halo .div-service-item .div-service-name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 0; }
body.halo .div-service-item .div-service-name .font-weight-bold { color: var(--halo-ink); font-weight: 700 !important; }
body.halo .div-service-item .text-domain { color: var(--halo-text); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.halo .div-service-item .div-service-buttons { flex: 0 0 auto; margin: 0; display: flex; gap: 6px; }
body.halo .div-service-item .btn-view-details i { display: none; }
@media (max-width: 575.98px) {
    body.halo .div-service-item { flex-wrap: wrap; }
    body.halo .div-service-item .div-service-buttons { width: 100%; }
}

/* Cartes du tableau de bord : même rayon, même en-tête, même pied */
body.halo .client-home-cards .card { border: 0; border-radius: var(--halo-radius-lg); box-shadow: var(--halo-shadow-card); overflow: hidden; margin-bottom: 20px; }
body.halo .client-home-cards .card-header {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 60px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--halo-line);
}
body.halo .client-home-cards .card-header .card-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 700; }
body.halo .client-home-cards .card-header .card-title i { color: var(--halo-primary); }
body.halo .client-home-cards .card-header .btn,
body.halo .client-home-cards .card-header .bg-color-blue { order: 2; float: none !important; margin: 0; }
body.halo .client-home-cards .card-body { padding: 18px 20px; }
body.halo .client-home-cards .card-footer { padding: 10px 20px; background: transparent; border-top: 1px solid var(--halo-line); font-size: 13px; text-align: right; }
body.halo .client-home-cards .card-footer:empty { display: none; }
body.halo .client-home-cards .list-group-item { padding: 12px 20px; border-left: 0; border-right: 0; border-radius: 0 !important; }
body.halo .client-home-cards .list-group-item:first-child { border-top: 0; }

/* Champs + bouton accolés (recherche, domaine) : une seule pièce propre */
body.halo .client-home-cards .input-group,
body.halo .sidebar .input-group {
    flex-wrap: nowrap;
    border: 1px solid var(--halo-line-strong);
    border-radius: 12px;
    overflow: hidden;
    background: var(--halo-surface);
}
body.halo .client-home-cards .input-group:focus-within { border-color: var(--halo-primary); box-shadow: 0 0 0 3px var(--halo-primary-soft); }
body.halo .client-home-cards .input-group .form-control,
body.halo .client-home-cards .input-group .btn {
    height: 46px;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
body.halo .client-home-cards .input-group .form-control { background: transparent; }
body.halo .client-home-cards .input-group .btn { padding: 0 18px; font-size: 14px; white-space: nowrap; }
body.halo .client-home-cards .input-group .btn + .btn { border-left: 1px solid var(--halo-line) !important; }
body.halo .client-home-cards .input-group .btn-default,
body.halo .client-home-cards .input-group .btn-secondary { background: var(--halo-grey); color: var(--halo-ink); }

/* Boutons verts hérités (Mettre à jour, Inscription, Dernière connexion...) aux couleurs du thème */
body.halo .sidebar .btn-success,
body.halo .client-home-cards .btn-success {
    background: var(--halo-primary);
    border-color: var(--halo-primary);
    color: #fff;
}
body.halo .sidebar .btn-success:hover,
body.halo .client-home-cards .btn-success:hover { background: var(--halo-primary-dark); border-color: var(--halo-primary-dark); }
body.halo .sidebar .card-footer .btn { width: 100%; height: 40px; border-radius: 10px; font-size: 13px; }
body.halo .sidebar .card-body { padding: 16px 20px; font-size: 14px; line-height: 1.6; }

/* Photo de profil : une seule fois, petite et ronde dans le header */
body.halo .sidebar .card-body img,
body.halo .sidebar .card img.img-thumbnail,
body.halo .sidebar .card img[class*="avatar"] { display: none !important; }
body.halo header.header .halo-secondary-nav > li > a {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
body.halo header.header .halo-secondary-nav > li > a br { display: none; }
body.halo header.header .halo-secondary-nav img {
    width: 32px !important;
    height: 32px !important;
    max-width: none;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 !important;
    box-shadow: 0 0 0 2px var(--halo-surface), 0 0 0 3px var(--halo-line-strong);
}
body.halo header.header .halo-secondary-nav .halo-hidden-id { display: none !important; }

/* En-tête des cartes : titre à gauche, bouton à droite */
body.halo .client-home-cards .card-header .card-title { flex: 1 1 auto; justify-content: flex-start; }
body.halo .client-home-cards .card-header .card-title > .float-right { order: 9; margin-left: auto; float: none !important; }
body.halo .client-home-cards .card-header .card-title > .float-right .btn { height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--halo-grey); color: var(--halo-ink); border: 0; font-size: 12px; }
body.halo .client-home-cards .card-header .card-title > .float-right .btn:hover { background: var(--halo-primary); color: #fff; }
/* Services : les lignes vont d'un bord à l'autre de la carte */
body.halo .client-home-cards .card-body:has(.div-service-item) { padding: 0; }
body.halo .div-service-item .div-service-name .font-weight-bold { white-space: normal; }

/* Tableau de bord : plus de traits en trop ni de bandes vides en bas des cartes */
body.halo .client-home-cards .card > *:last-child,
body.halo .client-home-cards .card .list-group:last-child > .list-group-item:last-child,
body.halo .client-home-cards .card .list-group-item:last-of-type,
body.halo .client-home-cards .card .div-service-item:last-of-type { border-bottom: 0 !important; }
body.halo .client-home-cards .card-footer { border-top: 1px solid var(--halo-line); }
body.halo .client-home-cards .card-footer.halo-empty,
body.halo .client-home-cards .card-body.halo-empty,
body.halo .sidebar .card-footer.halo-empty,
body.halo .sidebar .card-body.halo-empty { display: none !important; }
body.halo .client-home-cards .list-group { border: 0; }
body.halo .client-home-cards .list-group + .card-footer,
body.halo .client-home-cards .card-body + .card-footer { margin-top: 0; }
body.halo .client-home-cards .card .card-body > form:last-child,
body.halo .client-home-cards .card .card-body > *:last-child { margin-bottom: 0; }
body.halo .client-home-cards .list-group-item { border-top: 0; border-bottom: 1px solid var(--halo-line); }

/* Traits doublés sous les en-têtes de carte */
body.halo .client-home-cards .card > .list-group,
body.halo .client-home-cards .card-header + .list-group { border-top: 0 !important; }
body.halo .client-home-cards .card-header + .list-group > .list-group-item:first-child { border-top: 0 !important; }

/* Panneau "Other Information" : uniquement sur le tableau de bord */
body.halo:not(.tpl-clientareahome) .sidebar [menuItemName="Other Information"],
body.halo:not(.tpl-clientareahome) .sidebar [menuitemname="Other Information"],
body.halo:not(.tpl-clientareahome) .sidebar .halo-other-info { display: none !important; }

/* Boutons des pieds de panneau latéral : discrets (Mettre à jour, dernière connexion...) */
body.halo .sidebar .card-footer { background: transparent; border-top: 1px solid var(--halo-line); padding: 12px 20px; }
body.halo .sidebar .card-footer .btn,
body.halo .sidebar .card-footer .btn-success,
body.halo .sidebar .card-footer .btn-primary {
    background: var(--halo-grey);
    border: 0;
    color: var(--halo-ink);
    font-weight: 700;
    box-shadow: none;
}
body.halo .sidebar .card-footer a.btn:hover { background: var(--halo-primary); color: #fff; }
body.halo .sidebar .card-footer span.btn,
body.halo .sidebar .card-footer button.btn[disabled] { cursor: default; background: transparent; color: var(--halo-text); font-weight: 600; }

/* =====================================================================
   Listes (services, domaines, factures, tickets) : pleine largeur, lignes nettes
   ===================================================================== */
body.halo .primary-content .table-container,
body.halo .primary-content .dataTables_wrapper,
body.halo .primary-content table.table-list { width: 100% !important; max-width: 100%; }
body.halo .primary-content .table-container { float: none; display: block; padding: 20px; }
body.halo .dataTables_wrapper .dataTables_info { padding: 0 0 14px; color: var(--halo-text); font-size: 14px; }
body.halo .dataTables_wrapper .dataTables_filter { margin-bottom: 14px; }
body.halo .dataTables_wrapper .dataTables_filter input { height: 40px; min-width: 240px; border-radius: 10px; }
body.halo table.table-list { border: 1px solid var(--halo-line) !important; border-radius: var(--halo-radius) !important; border-collapse: separate !important; border-spacing: 0; overflow: hidden; }
body.halo table.table-list thead th {
    background: var(--halo-grey) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--halo-line) !important;
    padding: 12px 14px !important;
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--halo-text) !important;
}
body.halo table.table-list thead th:first-child { width: 48px; }
body.halo table.table-list tbody td {
    padding: 14px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--halo-line) !important;
    background: var(--halo-surface) !important;
    color: var(--halo-ink);
    vertical-align: middle;
}
body.halo table.table-list tbody tr:last-child td { border-bottom: 0 !important; }
body.halo table.table-list tbody tr { cursor: pointer; }
body.halo table.table-list tbody tr:hover td { background: var(--halo-zebra) !important; }
body.halo table.table-list tbody td small.text-muted { display: block; font-size: 12px; }
body.halo table.table-list tbody td a { font-size: 13px; }
body.halo .dataTables_wrapper .dataTables_length,
body.halo .dataTables_wrapper .dataTables_paginate { padding-top: 16px; }
body.halo .dataTables_wrapper .dataTables_length select { height: 38px; border-radius: 10px; }

/* Statuts : la couleur suit le vrai état, quel que soit le style hérité */
body.halo .label.status-active, body.halo .label.status-paid, body.halo .label.status-completed, body.halo .label.status-open { background: rgba(34, 197, 94, .16) !important; color: var(--halo-success-text) !important; }
body.halo .label.status-pending, body.halo .label.status-unpaid, body.halo .label.status-customer-reply, body.halo .label.status-in-progress, body.halo .label.status-pending-transfer { background: rgba(255, 171, 0, .16) !important; color: var(--halo-amber-text) !important; }
body.halo .label.status-suspended, body.halo .label.status-overdue, body.halo .label.status-fraud, body.halo .label.status-expired { background: rgba(255, 86, 48, .12) !important; color: var(--halo-error-text) !important; }
body.halo .label.status-terminated, body.halo .label.status-cancelled, body.halo .label.status-closed, body.halo .label.status-refunded, body.halo .label.status-transferred-away, body.halo .label.status-grace, body.halo .label.status-redemption { background: rgba(145, 158, 171, .18) !important; color: var(--halo-text) !important; }
body.halo .label.status-answered, body.halo .label.status-sent { background: rgba(7, 141, 238, .12) !important; color: #04538F !important; }

/* =====================================================================
   Respiration générale (pages internes moins compactes)
   ===================================================================== */
/* Le footer reste en bas de l'écran, sans bande grise dessous */
body.halo { display: flex; flex-direction: column; min-height: 100vh; }
body.halo > * { flex-shrink: 0; }
body.halo > #main-body { flex: 1 0 auto; }

/* Plus large sur les grands écrans */
@media (min-width: 1440px) {
    body.halo .container { max-width: 1320px; }
}

/* Texte et espacements plus généreux */
body.halo:not(.tpl-homepage):not(.tpl-login) #main-body { padding: 36px 0 88px; }
body.halo .master-breadcrumb .breadcrumb { padding-top: 28px; font-size: 14px; }
@media (min-width: 992px) {
    body.halo #main-body > .container > .row > .col-lg-4 { padding-right: 14px; }
    body.halo #main-body > .container > .row > .primary-content { padding-left: 14px; }
}
body.halo .sidebar .card { margin-bottom: 24px; }
body.halo .sidebar .card-header { padding: 18px 22px; }
body.halo .sidebar .card-header .card-title { font-size: 15px; }
body.halo .sidebar .list-group-item { padding: 12px 22px; font-size: 15px; line-height: 1.45; }
body.halo .sidebar .list-group-item .badge { min-width: 26px; padding: 4px 8px; font-size: 12px; }
body.halo .sidebar .card-body { padding: 18px 22px; font-size: 15px; }

body.halo .primary-content .table-container { padding: 28px; border-radius: var(--halo-radius-xl); }
body.halo .dataTables_wrapper .dataTables_info { padding-bottom: 20px; font-size: 15px; }
body.halo .dataTables_wrapper .dataTables_filter { margin-bottom: 20px; }
body.halo .dataTables_wrapper .dataTables_filter input { height: 44px; min-width: 280px; }
body.halo table.table-list thead th { padding: 16px 18px !important; font-size: 12px; }
body.halo table.table-list tbody td { padding: 20px 18px !important; font-size: 15px; }
body.halo table.table-list tbody td strong { font-size: 15px; }
body.halo table.table-list tbody td a { font-size: 14px; }
body.halo table.table-list tbody td small.text-muted { font-size: 13px; margin-top: 2px; }
body.halo table.table-list tbody td:nth-child(4) { white-space: nowrap; }
body.halo .dataTables_wrapper .dataTables_length,
body.halo .dataTables_wrapper .dataTables_paginate { padding-top: 24px; font-size: 15px; }
body.halo .dataTables_wrapper .dataTables_paginate .page-link { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; }
body.halo .label, body.halo .status { padding: 5px 12px; font-size: 13px; }

/* Cartes et titres des pages internes */
body.halo .primary-content .card-body { padding: 28px; }
body.halo .primary-content .card-header { padding: 18px 28px; }
body.halo .primary-content > h1, body.halo .primary-content .header-lined h1 { margin-bottom: 24px; }
body.halo .client-home-cards .card-header { min-height: 64px; padding: 14px 24px; }
body.halo .client-home-cards .card-body { padding: 22px 24px; }
body.halo .div-service-item { padding: 18px 24px; }
body.halo .client-home-cards .list-group-item { padding: 16px 24px; }
body.halo .tiles .tile { padding: 26px 28px; }

/* =====================================================================
   Détails d'un domaine (clientareadomaindetails)
   ===================================================================== */
body.tpl-clientareadomaindetails .tab-content > .tab-pane > .card { border-radius: var(--halo-radius-xl); }
body.tpl-clientareadomaindetails .tab-content .card-body { padding: 32px; }
body.tpl-clientareadomaindetails .tab-content .card-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 22px; }
body.tpl-clientareadomaindetails .tab-content .card-body > p { color: var(--halo-text); line-height: 1.65; }

/* Aperçu : une grille d'infos claire (libellé discret, valeur lisible) */
body.tpl-clientareadomaindetails #tabOverview .card-body > .row {
    margin: 0 0 12px;
    gap: 12px;
    flex-wrap: wrap;
}
body.tpl-clientareadomaindetails #tabOverview .card-body > .row > [class*="col-"] {
    flex: 1 1 260px;
    max-width: none;
    padding: 16px 18px;
    border-radius: var(--halo-radius);
    background: var(--halo-grey);
    font-size: 16px;
    font-weight: 600;
    color: var(--halo-ink);
    overflow-wrap: anywhere;
}
body.tpl-clientareadomaindetails #tabOverview .card-body > .row > [class*="col-"] h5 {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--halo-text);
}
body.tpl-clientareadomaindetails #tabOverview .card-body > .row > [class*="col-"] a { font-size: 17px; font-weight: 800; }
body.tpl-clientareadomaindetails #tabOverview .card-body > br { display: none; }

/* "Que voulez-vous faire aujourd'hui ?" : des actions en pastilles */
body.tpl-clientareadomaindetails #tabOverview .card-body > h3.card-title:not(:first-child) { margin-top: 28px; font-size: 1.1rem; }
body.tpl-clientareadomaindetails #tabOverview .card-body > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
body.tpl-clientareadomaindetails #tabOverview .card-body > ul a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 100%;
    padding: 16px 18px;
    border-radius: var(--halo-radius);
    border: 1px solid var(--halo-line-strong);
    background: var(--halo-surface);
    color: var(--halo-ink) !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
body.tpl-clientareadomaindetails #tabOverview .card-body > ul a::after { content: "\2192"; color: var(--halo-primary); }
body.tpl-clientareadomaindetails #tabOverview .card-body > ul a:hover { border-color: var(--halo-primary); box-shadow: 0 0 0 3px var(--halo-primary-soft); }

/* Onglets renouvellement auto, verrou, DNS, EPP : boutons et formulaires harmonisés */
body.tpl-clientareadomaindetails .tab-content .btn-success,
body.tpl-clientareadomaindetails .tab-content .btn-danger { min-width: 220px; height: 48px; border-radius: 12px; font-size: 15px; }
body.tpl-clientareadomaindetails .tab-content .btn-success { background: var(--halo-primary); border-color: var(--halo-primary); }
body.tpl-clientareadomaindetails .tab-content .btn-success:hover { background: var(--halo-primary-dark); border-color: var(--halo-primary-dark); }
body.tpl-clientareadomaindetails .tab-content .label { font-size: 14px; padding: 6px 14px; }
body.tpl-clientareadomaindetails .tab-content .form-group.row { align-items: center; margin-bottom: 14px; }
body.tpl-clientareadomaindetails .tab-content .domnsinputs { height: 46px; }
body.tpl-clientareadomaindetails .tab-content .fa-3x,
body.tpl-clientareadomaindetails .tab-content .fa-2x { color: var(--halo-primary); }
body.tpl-clientareadomaindetails .tab-content .row.mb-3 > .col-3 { display: flex; align-items: flex-start; justify-content: center; }
body.tpl-clientareadomaindetails .moduleoutput { margin-top: 20px; }

/* =====================================================================
   Gestion des domaines (clientareadomains)
   ===================================================================== */
.halo-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
body.halo .halo-page-title { margin: 6px 0 0; font-family: var(--halo-display-font); font-weight: 900; font-size: 2.2rem; line-height: 1.1; }
.halo-page-head .btn { height: 44px; display: inline-flex; align-items: center; gap: 8px; }

.halo-dom-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.halo-dom-stat {
    display: flex; flex-direction: column; gap: 4px;
    padding: 20px 22px;
    border-radius: var(--halo-radius-lg);
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-card);
    border-top: 3px solid var(--halo-line-strong);
}
.halo-dom-stat.is-ok { border-top-color: var(--halo-success); }
.halo-dom-stat.is-warn { border-top-color: var(--halo-amber); }
.halo-dom-stat-num { font-family: var(--halo-display-font); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--halo-ink); font-variant-numeric: tabular-nums; }
.halo-dom-stat-label { font-size: 13px; font-weight: 600; color: var(--halo-text); }
@media (max-width: 767.98px) { .halo-dom-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Barre d'actions groupées */
.halo-bulk-bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    margin: 0 0 20px;
    padding: 12px 14px 12px 18px;
    border-radius: var(--halo-radius);
    background: var(--halo-grey);
    transition: background-color .2s ease, box-shadow .2s ease;
}
.halo-bulk-hint { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--halo-text); }
.halo-bulk-hint i { color: var(--halo-muted); font-size: 16px; }
.halo-bulk-actions { display: flex; flex-wrap: wrap; gap: 8px; }
body.halo .halo-bulk-actions .btn { height: 38px; display: inline-flex; align-items: center; gap: 6px; border-radius: 10px !important; background: var(--halo-surface); }
.halo-bulk-bar:not(.is-active) .halo-bulk-actions { opacity: .5; }
.halo-bulk-bar.is-active { background: var(--halo-primary-soft); box-shadow: inset 0 0 0 1px rgba(6, 112, 207, .25); }
.halo-bulk-bar.is-active .halo-bulk-hint, .halo-bulk-bar.is-active .halo-bulk-hint i { color: var(--halo-primary); }

/* Lignes du tableau */
body.halo table.halo-domains-table tbody td:first-child,
body.halo table.halo-domains-table thead th:first-child { width: 44px; padding-right: 0 !important; }
body.halo table.halo-domains-table tbody td:nth-child(2),
body.halo table.halo-domains-table thead th:nth-child(2) { width: 40px; padding-left: 4px !important; padding-right: 0 !important; }
body.halo table.halo-domains-table input.domids { width: 18px; height: 18px; vertical-align: middle; cursor: pointer; }
.halo-dom-cell { display: flex; align-items: center; gap: 14px; min-width: 0; }
.halo-dom-icon { flex: 0 0 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--halo-primary-soft); color: var(--halo-primary); }
.halo-dom-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body.halo a.halo-dom-name { font-size: 16px !important; font-weight: 800; color: var(--halo-ink) !important; overflow-wrap: anywhere; }
body.halo a.halo-dom-name:hover { color: var(--halo-primary) !important; }
.halo-dom-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.halo-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.halo-pill i { font-size: 10px; }
.halo-pill.is-ok { background: rgba(34, 197, 94, .14); color: var(--halo-success-text); }
.halo-pill.is-off { background: rgba(145, 158, 171, .16); color: var(--halo-text); }
.halo-pill.is-warn { background: rgba(255, 171, 0, .18); color: var(--halo-amber-text); }
body.halo table.halo-domains-table tr.is-expiring td { background: rgba(255, 171, 0, .05) !important; }
.halo-dom-date { white-space: nowrap; font-weight: 600; }
.halo-dom-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.halo .halo-dom-manage { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 8px; opacity: 0; transition: opacity .15s ease; }
body.halo table.halo-domains-table tr:hover .halo-dom-manage,
body.halo .halo-dom-manage:focus { opacity: 1; }
@media (hover: none) { body.halo .halo-dom-manage { opacity: 1; } }

.halo-empty-state { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 16px; text-align: center; }
body.halo .halo-empty-state h2 { font-size: 1.3rem; margin: 6px 0 0; }
.halo-empty-state p { margin: 0 0 8px; max-width: 420px; color: var(--halo-text); }
body.halo table.halo-domains-table tbody td:first-child,
body.halo table.halo-domains-table thead th:first-child,
body.halo table.halo-domains-table tbody td:nth-child(2),
body.halo table.halo-domains-table thead th:nth-child(2) { width: 1% !important; white-space: nowrap; }
body.halo table.halo-domains-table tbody td:nth-child(2) img { max-width: 22px; }
body.halo table.halo-domains-table thead th { white-space: nowrap; text-align: left; }
body.halo table.halo-domains-table tbody td:nth-child(3) { width: 45%; }

/* =====================================================================
   Détail d'un domaine : vue d'ensemble repensée
   ===================================================================== */
.halo-dd-hero {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
    padding: 28px 30px;
    margin-bottom: 20px;
    border-radius: var(--halo-radius-xl);
    background: var(--halo-panel-bg);
    border: 1px solid var(--halo-line);
}
.halo-dd-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.halo-dd-icon { flex: 0 0 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--halo-surface); color: var(--halo-primary); font-size: 22px; box-shadow: var(--halo-shadow-card); }
.halo-dd-title { min-width: 0; }
body.halo .halo-dd-title h1 { margin: 0 0 10px; font-family: var(--halo-display-font); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; overflow-wrap: anywhere; }
.halo-dd-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.halo-dd-badges .label { font-size: 12px; padding: 4px 10px; }
.halo-dd-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.halo-dd-hero-actions .btn { height: 44px; display: inline-flex; align-items: center; gap: 8px; }

.halo-dd-key { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.halo-dd-key-item {
    display: flex; flex-direction: column; gap: 4px;
    padding: 20px 22px;
    border-radius: var(--halo-radius-lg);
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-card);
    min-width: 0;
}
.halo-dd-key-item.is-main { border-left: 4px solid var(--halo-primary); }
.halo-dd-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--halo-text); }
.halo-dd-value { font-size: 1.15rem; font-weight: 800; color: var(--halo-ink); font-variant-numeric: tabular-nums; }
.halo-dd-key-item.is-main .halo-dd-value { font-size: 1.35rem; }
.halo-dd-sub { font-size: 13px; color: var(--halo-text); }
@media (max-width: 991.98px) { .halo-dd-key { grid-template-columns: 1fr; } }

.halo-dd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-bottom: 28px; }
body.halo .halo-dd-card { margin: 0; border-radius: var(--halo-radius-xl); }
body.halo .halo-dd-card .card-body { padding: 24px 26px; }
body.halo .halo-dd-card-title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; }
.halo-dd-card-title i { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--halo-primary-soft); color: var(--halo-primary); font-size: 14px; }
.halo-dd-list { margin: 0; }
.halo-dd-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--halo-line); }
.halo-dd-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.halo-dd-list dt { margin: 0; font-weight: 500; font-size: 14px; color: var(--halo-text); }
.halo-dd-list dd { margin: 0; font-weight: 700; font-size: 15px; color: var(--halo-ink); text-align: right; overflow-wrap: anywhere; }
.halo-dd-list dd img { vertical-align: -2px; margin-right: 4px; }

body.halo .halo-dd-section-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 14px; }
.halo-dd-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 24px; }
body.halo a.halo-dd-action {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    border-radius: var(--halo-radius-lg);
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-card);
    color: var(--halo-ink) !important;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
body.halo a.halo-dd-action:hover { transform: translateY(-2px); border-color: rgba(6, 112, 207, .35); box-shadow: var(--halo-shadow-lift); }
.halo-dd-action-icon { flex: 0 0 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--halo-primary-soft); color: var(--halo-primary); }
.halo-dd-action-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.halo-dd-action-text strong { font-size: 15px; }
.halo-dd-action-text small { font-size: 13px; color: var(--halo-text); }
.halo-dd-hook { margin-bottom: 20px; }
@media (max-width: 575.98px) {
    .halo-dd-hero { padding: 22px 20px; }
    .halo-dd-hero-actions, .halo-dd-hero-actions .btn { width: 100%; justify-content: center; }
}
.halo-dd-list dt { white-space: nowrap; flex: 0 0 auto; }

/* =====================================================================
   Largeur fluide : le contenu s'élargit avec l'écran
   ===================================================================== */
body.halo .container {
    width: 100%;
    max-width: none;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px)  { body.halo .container { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1200px) { body.halo .container { width: 94%; padding-left: 12px; padding-right: 12px; } }
@media (min-width: 1700px) { body.halo .container { width: 90%; max-width: 1760px; } }
/* Accueil et connexion gardent une largeur de lecture confortable */
body.halo.tpl-homepage #main-body .container,
body.halo.tpl-login #main-body .container { max-width: 1320px; }
/* Barre latérale à largeur fixe, contenu qui prend le reste */
@media (min-width: 1200px) {
    body.halo #main-body > .container > .row { flex-wrap: nowrap; }
    body.halo #main-body > .container > .row > .col-lg-4.col-xl-3 { flex: 0 0 300px; max-width: 300px; }
    body.halo #main-body > .container > .row > .primary-content { flex: 1 1 auto; max-width: none; min-width: 0; }
}

/* Tableaux : dates et montants sur une ligne quand il y a la place */
@media (min-width: 1200px) {
    body.halo table.table-list tbody td { white-space: nowrap; }
    body.halo table.table-list tbody td:has(strong), body.halo table.halo-domains-table tbody td:nth-child(3) { white-space: normal; }
}
body.halo .dataTables_wrapper .dataTables_filter input { width: 100%; }

/* =====================================================================
   Responsive : tableaux en cartes sur mobile
   ===================================================================== */
@media (max-width: 767.98px) {
    body.halo:not(.tpl-homepage):not(.tpl-login) #main-body { padding: 20px 0 56px; }
    body.halo .primary-content .table-container { padding: 16px; border-radius: var(--halo-radius-lg); }
    body.halo .dataTables_wrapper .row { margin: 0; }
    body.halo .dataTables_wrapper .row > [class*="col-"] { padding: 0; flex: 0 0 100%; max-width: 100%; }
    body.halo .dataTables_wrapper .dataTables_filter { text-align: left; }
    body.halo .dataTables_wrapper .dataTables_filter input { min-width: 0; margin: 0; }
    body.halo .dataTables_wrapper .dataTables_length,
    body.halo .dataTables_wrapper .dataTables_paginate { text-align: center; }
    body.halo .dataTables_wrapper .dataTables_paginate .pagination { justify-content: center; flex-wrap: wrap; }

    body.halo table.table-list,
    body.halo table.table-list tbody,
    body.halo table.table-list tr,
    body.halo table.table-list td { display: block; width: 100% !important; }
    body.halo table.table-list { border: 0 !important; background: transparent; }
    body.halo table.table-list thead { display: none; }
    body.halo table.table-list tbody tr {
        margin: 0 0 12px;
        padding: 6px 16px;
        border: 1px solid var(--halo-line) !important;
        border-radius: var(--halo-radius);
        background: var(--halo-surface);
    }
    body.halo table.table-list tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 0 !important;
        border-bottom: 1px dashed var(--halo-line) !important;
        text-align: right !important;
        white-space: normal;
        background: transparent !important;
    }
    body.halo table.table-list tbody td:last-child { border-bottom: 0 !important; }
    body.halo table.table-list tbody td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: var(--halo-text);
        text-align: left;
    }
    body.halo table.table-list tbody td[data-label=""]::before { display: none; }
    body.halo table.table-list tbody td[data-label=""]:empty,
    body.halo table.table-list tbody td.ssl-info:not(:has(img)) { display: none; }
    body.halo table.table-list tbody td:has(strong) { flex-direction: column; align-items: flex-start; text-align: left !important; }
    body.halo table.table-list tbody td:has(strong)::before { margin-bottom: 2px; }
    body.halo table.table-list tbody tr:hover td { background: transparent !important; }
    /* Domaines : case à cocher et icône SSL côte à côte */
    body.halo table.halo-domains-table tbody td:first-child,
    body.halo table.halo-domains-table tbody td:nth-child(2) { display: inline-flex; width: auto !important; border: 0 !important; padding: 8px 8px 0 0 !important; }
    body.halo table.halo-domains-table tbody td:nth-child(3) { flex-direction: row; justify-content: flex-start; text-align: left !important; }
    body.halo table.halo-domains-table tbody td:nth-child(3)::before { display: none; }
    body.halo .halo-dom-manage { opacity: 1; }

    /* En-têtes de page et cartes */
    body.halo .halo-page-head .halo-btn-row, body.halo .halo-page-head .btn { width: 100%; justify-content: center; }
    body.halo .halo-page-title { font-size: 1.8rem; }
    body.halo .primary-content .card-body { padding: 20px; }
    body.halo .sidebar .card { margin-bottom: 16px; }
    body.halo .div-service-item { padding: 14px 16px; }
    body.halo .tiles .tile { padding: 18px 20px; }
    body.halo .tiles .tile .stat { font-size: 32px; }
    body.halo .halo-dd-list > div { flex-direction: column; gap: 2px; }
    body.halo .halo-dd-list dd { text-align: left; }
    body.halo .halo-bulk-bar { padding: 12px; }
    body.halo .halo-bulk-actions { width: 100%; }
    body.halo .halo-bulk-actions .btn { flex: 1 1 auto; justify-content: center; }
    body.halo .halo-store-head, body.halo .halo-domain-hero { padding: 24px 18px; }
    body.halo header.header .topbar .input-group-prepend { display: none; }
}
/* Tablette : barre latérale au-dessus, repliable comme sur Twenty-One */
@media (min-width: 768px) and (max-width: 1199.98px) {
    body.halo table.table-list tbody td { padding: 16px 12px !important; }
}
body.halo table.table-list thead th { white-space: nowrap; }
body.halo .div-service-item .div-service-status { width: auto !important; overflow: visible !important; }
body.halo .div-service-item .div-service-status .label { white-space: nowrap; overflow: visible; text-overflow: clip; max-width: none; }
body.halo .div-service-item .div-service-name { width: auto !important; }
body.halo .div-service-item .div-service-buttons { width: auto !important; }
@media (max-width: 575.98px) {
    body.halo .div-service-item { flex-wrap: wrap; row-gap: 10px; }
    body.halo .div-service-item .div-service-name { flex: 1 1 0; }
    body.halo .div-service-item .div-service-buttons { flex: 0 0 100%; }
    body.halo .div-service-item .div-service-buttons .btn { width: 100%; height: 40px; }
    body.halo .client-home-cards .card-header .card-title { font-size: 14px; }
}
body.halo .div-service-status .label:not(.label-placeholder) { width: auto !important; }
body.halo .div-service-buttons .btn-view-details span:not(.sr-only):not(.caret) { display: inline !important; }
body.halo .div-service-buttons .btn-view-details i { display: none !important; }

/* =====================================================================
   Support : affichage d'un ticket (viewticket) en conversation
   ===================================================================== */
body.halo .view-ticket { border-radius: var(--halo-radius-xl); }
body.halo .view-ticket > .card-body:first-child { padding: 26px 28px !important; border-bottom: 1px solid var(--halo-line); }
body.halo .view-ticket .card-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
body.halo .view-ticket .ticket-actions .btn { height: 38px; display: inline-flex; align-items: center; gap: 6px; border-radius: 10px; }
body.halo .view-ticket .ticket-actions .btn-danger[disabled] { background: var(--halo-grey); border-color: var(--halo-grey); color: var(--halo-text); opacity: 1; }
body.halo .view-ticket > .card-body + .card-body { padding: 24px 28px !important; display: flex; flex-direction: column; gap: 18px; }

body.halo .ticket-reply {
    margin: 0 !important;
    border: 1px solid var(--halo-line) !important;
    border-radius: var(--halo-radius-lg) !important;
    background: var(--halo-surface) !important;
    overflow: hidden;
    max-width: 92%;
}
body.halo .ticket-reply.staff { margin-left: auto !important; background: var(--halo-primary-soft) !important; border-color: rgba(6, 112, 207, .22) !important; }
body.halo .ticket-reply .posted-by {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
    padding: 12px 18px !important;
    background: transparent !important;
    border-bottom: 1px solid var(--halo-line);
    color: var(--halo-text) !important;
    font-size: 13px !important;
    border-radius: 0 !important;
}
body.halo .ticket-reply .posted-by .posted-by-name { color: var(--halo-ink); font-weight: 800; }
body.halo .ticket-reply .posted-by img,
body.halo .ticket-reply img.avatar,
body.halo .ticket-reply .posted-by .avatar img {
    width: 36px !important; height: 36px !important; max-width: none;
    border-radius: 50% !important; object-fit: cover; margin: 0 4px 0 0 !important;
    float: none !important;
}
body.halo .ticket-reply .posted-by .requestor-badge { margin-left: auto; float: none !important; font-size: 11px; padding: 3px 9px; background: var(--halo-grey) !important; color: var(--halo-text) !important; }
body.halo .ticket-reply.staff .posted-by .requestor-badge { background: var(--halo-primary) !important; color: #fff !important; }
body.halo .ticket-reply .message { padding: 18px !important; color: var(--halo-ink); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
body.halo .ticket-reply .message p:last-child { margin-bottom: 0; }
body.halo .ticket-reply .attachments { border-top: 1px solid var(--halo-line); background: var(--halo-zebra); font-size: 14px; }
@media (max-width: 767.98px) {
    body.halo .ticket-reply, body.halo .ticket-reply.staff { max-width: 100%; }
    body.halo .view-ticket > .card-body:first-child, body.halo .view-ticket > .card-body + .card-body { padding: 18px !important; }
    body.halo .view-ticket .ticket-actions { float: none !important; display: flex; gap: 8px; margin-top: 12px; }
    body.halo .view-ticket .ticket-actions .btn { flex: 1; justify-content: center; }
}

/* Formulaire de réponse et éditeur Markdown (clair et sombre) */
body.halo #ticketReplyContainer, body.halo .card#ticketReplyContainer { border-radius: var(--halo-radius-xl); }
body.halo .md-editor { border: 1px solid var(--halo-line-strong) !important; border-radius: 12px !important; overflow: hidden; background: var(--halo-surface); }
body.halo .md-editor.active { border-color: var(--halo-primary) !important; box-shadow: 0 0 0 3px var(--halo-primary-soft) !important; }
body.halo .md-editor > .btn-toolbar { background: var(--halo-grey) !important; padding: 8px; gap: 6px; border-bottom: 1px solid var(--halo-line); }
body.halo .md-editor > .btn-toolbar .btn { background: var(--halo-surface); color: var(--halo-ink); border: 1px solid var(--halo-line); border-radius: 8px !important; height: 32px; padding: 0 10px; }
body.halo .md-editor > .btn-toolbar .btn:hover { background: var(--halo-hover); }
body.halo .md-editor > .btn-toolbar .btn-primary { background: var(--halo-primary); color: #fff; border-color: var(--halo-primary); }
body.halo .md-editor > textarea.markdown-editor,
body.halo .md-editor > .md-preview {
    background: var(--halo-surface) !important;
    color: var(--halo-ink) !important;
    border: 0 !important;
    min-height: 200px;
    font-size: 15px;
}
body.halo .md-editor .md-footer, body.halo .md-editor .markdown-editor-status { background: var(--halo-grey); color: var(--halo-text); border-top: 1px solid var(--halo-line); }
body.halo .custom-file-label { border-radius: 10px; border-color: var(--halo-line-strong); background: var(--halo-surface); color: var(--halo-text); height: 44px; display: flex; align-items: center; }
body.halo .custom-file-label::after { height: 42px; display: flex; align-items: center; background: var(--halo-grey); color: var(--halo-ink); border-radius: 0 10px 10px 0; }

/* Panneau latéral du ticket (demandeur, CC) */
body.halo .sidebar .card-body .label { font-size: 11px; }
body.halo .sidebar .input-group { border-radius: 10px; }
body.halo .sidebar .input-group .form-control { border: 0; height: 42px; background: transparent; }
body.halo .sidebar .input-group .btn { border: 0; border-left: 1px solid var(--halo-line); height: 42px; background: var(--halo-grey); color: var(--halo-ink); border-radius: 0; }
:root[data-theme="dark"] body.halo .alert-warning { background: rgba(255, 171, 0, .12); }
body.halo .md-editor > textarea.markdown-editor { font-family: var(--halo-font) !important; line-height: 1.6; }
body.halo .view-ticket > .card-body:first-child h4, body.halo .view-ticket > .card-body:first-child .ticket-subject { font-size: 15px; font-weight: 500; color: var(--halo-text); margin: 0; }
body.halo .view-ticket > .card-body:first-child h4 strong { color: var(--halo-ink); }

/* Recherche des tableaux : loupe vectorielle qui suit le thème (plus d'image à fond blanc) */
:root { --halo-search-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23919EAB' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
body.halo .dataTables_wrapper .dataTables_filter label .form-control,
body.halo .dataTables_wrapper .dataTables_filter input {
    background: var(--halo-search-ico) no-repeat 14px 50%, var(--halo-surface) !important;
    padding: 0 14px 0 40px !important;
    height: 44px;
    font-size: 15px;
    color: var(--halo-ink);
}
:root[data-theme="dark"] body.halo .dataTables_wrapper .dataTables_filter label .form-control,
:root[data-theme="dark"] body.halo .dataTables_wrapper .dataTables_filter input { background: var(--halo-search-ico) no-repeat 14px 50%, #12171D !important; }

/* Pagination : page active visible en clair comme en sombre */
body.halo .page-item.active .page-link,
:root[data-theme="dark"] body.halo .page-item.active .page-link { background: var(--halo-primary) !important; border-color: var(--halo-primary) !important; color: #fff !important; }
:root[data-theme="dark"] body.halo .page-link { color: var(--halo-ink) !important; }
:root[data-theme="dark"] body.halo .page-item.disabled .page-link { color: var(--halo-muted) !important; background: transparent; }
:root[data-theme="dark"] body.halo .dataTables_wrapper table.table-list thead th.sorting_asc,
:root[data-theme="dark"] body.halo .dataTables_wrapper table.table-list thead th.sorting_desc { background: #151C24 !important; color: var(--halo-ink) !important; }

/* =====================================================================
   Panier, toutes les étapes : catégories en pastilles au-dessus,
   contenu sur toute la largeur (plus de longue colonne à gauche)
   ===================================================================== */
@media (min-width: 768px) {
    body.halo #order-standard_cart > .row > .cart-sidebar { float: none; width: 100%; max-width: 100%; flex: 0 0 100%; padding: 0 15px; margin-bottom: 4px; }
    body.halo #order-standard_cart > .row > .cart-body { float: none; width: 100%; max-width: 100%; flex: 0 0 100%; }
    body.halo #order-standard_cart .cart-sidebar .card-sidebar {
        display: block;
        margin-bottom: 14px !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        border-radius: 0;
        overflow: visible;
    }
    body.halo #order-standard_cart .cart-sidebar .card-sidebar .card-header { display: none; }
    body.halo #order-standard_cart .cart-sidebar .card-sidebar .list-group {
        display: flex !important;
        flex-wrap: wrap;
        gap: 8px;
        border: 0;
    }
    body.halo #order-standard_cart .cart-sidebar .list-group-item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        width: auto;
        margin: 0 !important;
        padding: 8px 14px !important;
        border: 1px solid var(--halo-line-strong) !important;
        border-radius: 999px !important;
        background: var(--halo-surface) !important;
        color: var(--halo-ink) !important;
        font-size: 14px !important;
        font-weight: 600;
        box-shadow: none !important;
    }
    body.halo #order-standard_cart .cart-sidebar .list-group-item i { color: var(--halo-muted); font-size: 13px; }
    body.halo #order-standard_cart .cart-sidebar .list-group-item:hover { border-color: var(--halo-ink) !important; }
    body.halo #order-standard_cart .cart-sidebar .list-group-item.active { background: var(--halo-strong) !important; border-color: var(--halo-strong) !important; color: #fff !important; }
    body.halo #order-standard_cart .cart-sidebar .list-group-item.active i { color: #fff; }
    /* 2e bloc (actions : domaines, panier...) : pastilles en pointillés, séparées */
    body.halo #order-standard_cart .cart-sidebar .card-sidebar + .card-sidebar { padding-top: 12px; border-top: 1px dashed var(--halo-line-strong) !important; }
    body.halo #order-standard_cart .cart-sidebar .card-sidebar + .card-sidebar .list-group-item { border-style: dashed !important; background: transparent !important; color: var(--halo-text) !important; font-size: 13px !important; }
    body.halo #order-standard_cart .cart-sidebar .card-sidebar + .card-sidebar .list-group-item.active { border-style: solid !important; background: var(--halo-strong) !important; color: #fff !important; }
}
body.halo #order-standard_cart .halo-cart-head { margin-top: 8px; }
body.halo #order-standard_cart .cart-body > .header-lined h1 { font-size: 2rem; }
body.halo #order-standard_cart .halo-empty-state.halo-card { padding: 48px 24px; border-radius: var(--halo-radius-xl); align-items: center; }
body.halo #order-standard_cart .halo-empty-state p { max-width: 520px; }
@media (min-width: 768px) {
    body.halo #order-standard_cart .cart-sidebar .card-sidebar .list-group { flex-direction: row !important; }
    body.halo #order-standard_cart .cart-sidebar .list-group-item { width: auto !important; flex: 0 0 auto; }
}

/* =====================================================================
   Boutique : cartes d'offres revues
   ===================================================================== */
body.halo #order-standard_cart .products .product.halo-product { overflow: hidden; border: 1px solid var(--halo-line); box-shadow: var(--halo-shadow-card); }
body.halo #order-standard_cart .products .product.halo-product::before {
    content: ""; display: block; height: 4px; background: var(--halo-line-strong);
}
body.halo #order-standard_cart .products .product.halo-product.is-featured::before { background: var(--halo-gradient-brand); }
body.halo #order-standard_cart .products .product.halo-product.is-featured { overflow: visible; border-color: rgba(6,112,207,.45); }
body.halo #order-standard_cart .products .product.halo-product.is-featured::before { border-radius: var(--halo-radius-xl) var(--halo-radius-xl) 0 0; }
.halo-product-flag { top: 14px; left: auto; right: 20px; padding: 5px 12px; box-shadow: 0 6px 14px -6px rgba(6,112,207,.6); }
body.halo #order-standard_cart .products .product.halo-product header { padding: 22px 24px 0; align-items: flex-start; }
body.halo #order-standard_cart .products .product.halo-product.is-featured header { padding-right: 130px; }
body.halo #order-standard_cart .products .product.halo-product header .halo-product-name { font-size: 1.35rem; line-height: 1.2; }
.halo-product-price {
    margin: 16px 24px 0; padding: 16px 18px; border: 0;
    border-radius: var(--halo-radius); background: var(--halo-grey);
}
body.halo #order-standard_cart .halo-product-price .price { font-size: 2.3rem; }
body.halo #order-standard_cart .products .product.halo-product div.product-desc { padding: 18px 24px 4px; }
.halo-product-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.halo-product-points li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.45; color: var(--halo-ink); }
.halo-product-points li:empty { display: none; }
.halo-product-points li::before {
    content: "\2713"; position: absolute; left: 0; top: 1px;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(34,197,94,.14); color: var(--halo-success-text);
    font-size: 11px; font-weight: 800;
}
.halo-product-points li del, .halo-product-points li s { color: var(--halo-muted); }
body.halo #order-standard_cart .products .product.halo-product footer { padding: 20px 24px 24px; }
body.halo #order-standard_cart .halo-product .btn-order-now { height: 50px; border-radius: 12px; }
body.halo #order-standard_cart .products .product.halo-product:not(.is-featured) .btn-order-now { background: var(--halo-strong); border-color: var(--halo-strong); }
body.halo #order-standard_cart .products .product.halo-product:not(.is-featured) .btn-order-now:hover { background: var(--halo-primary); border-color: var(--halo-primary); }
body.halo #order-standard_cart .products .product.halo-product.is-featured { overflow: hidden; }
/* Prix centré dans son encart */
body.halo #order-standard_cart .halo-product-price { justify-content: center; text-align: center; }
body.halo #order-standard_cart .halo-product-price .halo-price-from,
body.halo #order-standard_cart .halo-product-price .halo-price-setup { text-align: center; }
/* Prix sans fond gris */
body.halo #order-standard_cart .halo-product-price { background: transparent; padding: 6px 18px 0; }

/* =====================================================================
   Boutique : menu des catégories à gauche, regroupé en familles
   ===================================================================== */
.halo-store-layout { display: block; }
@media (min-width: 992px) {
    .halo-store-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
}
.halo-store-main { min-width: 0; }
.halo-cat-aside { position: sticky; top: 96px; background: var(--halo-surface); border: 1px solid var(--halo-line); border-radius: var(--halo-radius-xl); box-shadow: var(--halo-shadow-card); padding: 10px; }
.halo-cat-aside-head { padding: 12px 14px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--halo-line); display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; color: var(--halo-ink); }
.halo-cat-aside-head i { color: var(--halo-primary); }
.halo-cat-group summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--halo-ink); user-select: none; }
.halo-cat-group summary::-webkit-details-marker { display: none; }
.halo-cat-group summary:hover { background: var(--halo-grey); }
.halo-cat-group summary:focus-visible { outline: 2px solid var(--halo-primary); outline-offset: 2px; }
.halo-cat-group[open] > summary { background: var(--halo-primary-soft); color: var(--halo-primary); }
.halo-cat-ico { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--halo-grey); color: var(--halo-primary); font-size: 14px; }
.halo-cat-group[open] .halo-cat-ico { background: var(--halo-primary); color: #fff; }
.halo-cat-count { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--halo-grey); color: var(--halo-text); font-size: 12px; font-weight: 700; }
.halo-cat-group summary > span:nth-child(2):last-of-type { flex: 1; }
.halo-cat-chev { font-size: 11px; color: var(--halo-muted); transition: transform .2s ease; }
.halo-cat-group[open] .halo-cat-chev { transform: rotate(180deg); }
.halo-cat-group ul { list-style: none; margin: 4px 0 8px 28px; padding: 0 0 0 16px; border-left: 2px solid var(--halo-line); }
body.halo .halo-cat-group li a { position: relative; display: block; padding: 7px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--halo-text) !important; text-decoration: none; }
body.halo .halo-cat-group li a:hover { background: var(--halo-grey); color: var(--halo-ink) !important; }
body.halo .halo-cat-group li a.is-current { background: var(--halo-primary-soft); color: var(--halo-primary) !important; font-weight: 700; }
body.halo .halo-cat-group li a.is-current::before { content: ""; position: absolute; left: -18px; top: 8px; bottom: 8px; width: 2px; background: var(--halo-primary); }
.halo-cat-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding: 10px 4px 4px; border-top: 1px solid var(--halo-line); }
body.halo .halo-cat-action { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--halo-text) !important; text-decoration: none; }
body.halo .halo-cat-action i { width: 16px; color: var(--halo-muted); }
body.halo .halo-cat-action:hover { background: var(--halo-grey); color: var(--halo-ink) !important; }
body.halo .halo-cat-action[href*="a=view"] { justify-content: center; margin-top: 4px; height: 44px; background: var(--halo-strong); color: #fff !important; }
body.halo .halo-cat-action[href*="a=view"] i { color: #fff; }
@media (min-width: 992px) {
    body.halo #order-standard_cart .halo-store-main .halo-products > .halo-product { flex-basis: calc((100% - 40px) / 3); }
}
@media (min-width: 992px) and (max-width: 1399.98px) {
    body.halo #order-standard_cart .halo-store-main .halo-products > .halo-product { flex-basis: calc((100% - 20px) / 2); }
}

/* Prix en promo : ancien prix discret et barré au-dessus, nouveau prix en avant */
body.halo #order-standard_cart .halo-product-price .price { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
body.halo #order-standard_cart .halo-product-price .price br { display: none; }
body.halo #order-standard_cart .halo-product-price .price del,
body.halo #order-standard_cart .halo-product-price .price s,
body.halo #order-standard_cart .halo-product-price .price strike,
body.halo #order-standard_cart .halo-product-price .price [style*="line-through"] {
    order: -1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--halo-font) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--halo-muted) !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1.5px !important;
}
/* Pastille "Promo" à côté de l'ancien prix */
body.halo #order-standard_cart .halo-product-price .price del::after,
body.halo #order-standard_cart .halo-product-price .price s::after,
body.halo #order-standard_cart .halo-product-price .price strike::after,
body.halo #order-standard_cart .halo-product-price .price [style*="line-through"]::after {
    content: "Promo";
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 86, 48, .12);
    color: var(--halo-error-text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-decoration: none;
}
body.halo #order-standard_cart .halo-product-price:has(del, s, strike, [style*="line-through"]) .price { color: var(--halo-ink); }
body.halo #order-standard_cart .halo-product-price:has(del, s, strike, [style*="line-through"]) .halo-price-cycle { align-self: flex-end; margin-bottom: 6px; }
/* La pastille Promo passe à côté de "À partir de" (sinon elle serait barrée elle aussi) */
body.halo #order-standard_cart .halo-product-price .price del::after,
body.halo #order-standard_cart .halo-product-price .price s::after,
body.halo #order-standard_cart .halo-product-price .price strike::after,
body.halo #order-standard_cart .halo-product-price .price [style*="line-through"]::after { content: none; display: none; }
body.halo #order-standard_cart .halo-product-price:has(del, s, strike, [style*="line-through"])::before {
    content: "Promo";
    width: 100%;
    order: -2;
    margin: 0 auto 4px;
    max-width: max-content;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 86, 48, .12);
    color: var(--halo-error-text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
body.halo #order-standard_cart .halo-product-price { flex-direction: row; }

/* =====================================================================
   Inscription (clientregister) et formulaires à icônes
   ===================================================================== */
body.halo #registration .card { border-radius: var(--halo-radius-xl); margin-bottom: 20px !important; }
body.halo #registration .card-body { padding: 28px 30px !important; }
body.halo #registration .card-title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 1.25rem; font-weight: 800; }
body.halo #registration .card-title i { color: var(--halo-primary); }
body.halo #registration .card-title small, body.halo #registration .card-title em { font-size: 13px; font-weight: 500; color: var(--halo-text); }
body.halo #registration .row { margin-left: -10px; margin-right: -10px; }
body.halo #registration .row > [class*="col-"] { padding-left: 10px; padding-right: 10px; }
body.halo #registration .form-group { margin-bottom: 16px; }
body.halo #registration .prepend-icon .field,
body.halo #registration .field,
body.halo #registration select.field,
body.halo #registration .form-control {
    height: 48px;
    padding-left: 44px;
    border: 1px solid var(--halo-line-strong) !important;
    border-radius: 12px !important;
    background-color: var(--halo-surface) !important;
    color: var(--halo-ink) !important;
    font-size: 15px;
    box-shadow: none;
}
body.halo #registration select.field, body.halo #registration select.form-control { padding-left: 44px; appearance: auto; -webkit-appearance: menulist; }
body.halo #registration .form-group:not(.prepend-icon) .field,
body.halo #registration .form-group:not(.prepend-icon) .form-control { padding-left: 14px; }
body.halo #registration .field:focus,
body.halo #registration .form-control:focus { border-color: var(--halo-primary) !important; box-shadow: 0 0 0 3px var(--halo-primary-soft) !important; }
body.halo #registration .field::placeholder, body.halo #registration .form-control::placeholder { color: var(--halo-muted); }
body.halo #registration .prepend-icon .field-icon { width: 44px; height: 48px; line-height: 48px; }
body.halo #registration .prepend-icon .field-icon i, body.halo #registration .field-icon i { color: var(--halo-muted); font-size: 15px; }
body.halo #registration .prepend-icon:focus-within .field-icon i { color: var(--halo-primary); }
body.halo #registration label:not(.field-icon) { margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--halo-text); }
:root[data-theme="dark"] body.halo #registration .field,
:root[data-theme="dark"] body.halo #registration .form-control,
:root[data-theme="dark"] body.halo #registration select { background-color: #12171D !important; color: var(--halo-ink) !important; }
/* Téléphone (sélecteur de pays) */
body.halo #registration .iti, body.halo .intl-tel-input { width: 100%; }
body.halo #registration .iti__selected-flag, body.halo .intl-tel-input .selected-flag { border-radius: 12px 0 0 12px; padding-left: 14px; }
body.halo #registration .iti input, body.halo #registration .intl-tel-input input { padding-left: 92px !important; }
body.halo .iti__country-list, body.halo .intl-tel-input .country-list { background: var(--halo-surface); color: var(--halo-ink); border: 1px solid var(--halo-line); border-radius: 12px; box-shadow: var(--halo-shadow-pop); }
body.halo .iti__country.iti__highlight, body.halo .intl-tel-input .country.highlight { background: var(--halo-hover); }
/* Mot de passe et validation */
body.halo #registration .progress { height: 6px; border-radius: 3px; margin-top: 8px; }
body.halo #registration .password-strength-meter { color: var(--halo-text); font-size: 13px; }
body.halo #registration .btn-primary[type="submit"], body.halo #registration input[type="submit"] { min-width: 260px; height: 52px; border-radius: 12px; font-size: 16px; }
body.halo #registration .bootstrap-switch, body.halo #registration .toggle-switch-success { border-radius: 999px; }
/* Bloc "Vous avez déjà un compte ?" */
body.halo.tpl-clientregister .sidebar .card-body { color: var(--halo-text); font-weight: 500; }
body.halo.tpl-clientregister .sidebar .list-group-item { font-weight: 600; }
@media (max-width: 767.98px) {
    body.halo #registration .card-body { padding: 20px !important; }
    body.halo #registration .btn-primary[type="submit"], body.halo #registration input[type="submit"] { width: 100%; min-width: 0; }
}

/* =====================================================================
   Promo (choix A + B) : ruban "-xx %" en coin + "Vous économisez"
   ===================================================================== */
body.halo #order-standard_cart .halo-product-price:has(del, s, strike, [style*="line-through"])::before { content: none; display: none; }
body.halo #order-standard_cart .halo-product-price.is-promo .price { flex-direction: row; align-items: baseline; gap: 10px; }
body.halo #order-standard_cart .halo-price-new { font-family: var(--halo-display-font); font-weight: 900; font-size: 2.3rem; line-height: 1; color: var(--halo-ink); }
body.halo #order-standard_cart .halo-price-old { font-family: var(--halo-font); font-size: 17px; font-weight: 600; color: var(--halo-muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
body.halo #order-standard_cart .halo-product-price.is-promo .halo-price-cycle { align-self: baseline; margin: 0; }
body.halo #order-standard_cart .halo-price-save {
    flex: 0 0 auto; margin: 10px auto 0;
    padding: 5px 12px; border-radius: 999px;
    background: rgba(34, 197, 94, .14); color: var(--halo-success-text);
    font-size: 13px; font-weight: 700;
}
body.halo #order-standard_cart .halo-product-price.is-promo { flex-direction: column; align-items: center; }
body.halo #order-standard_cart .halo-product-price.is-promo .price + .halo-price-cycle { margin-top: 2px; }
body.halo #order-standard_cart .products .product.halo-product.is-promo { overflow: hidden; }
.halo-promo-ribbon {
    position: absolute; top: 20px; right: -42px; z-index: 2;
    transform: rotate(45deg);
    padding: 6px 48px;
    background: linear-gradient(120deg, #FF5630, #FF8A48);
    color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em;
    box-shadow: 0 6px 14px -6px rgba(255, 86, 48, .6);
    pointer-events: none;
}
/* Si l'offre est aussi "Le plus choisi", le badge se décale à gauche du ruban */
body.halo #order-standard_cart .halo-product.is-promo .halo-product-flag { right: 70px; }
body.halo #order-standard_cart .halo-product.is-promo header { padding-right: 70px; }
body.halo #order-standard_cart .halo-product-price.is-promo { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 8px; }
body.halo #order-standard_cart .halo-product-price.is-promo .price { display: inline-flex; flex-wrap: nowrap; }
body.halo #order-standard_cart .halo-price-new, body.halo #order-standard_cart .halo-price-old { white-space: nowrap; }
body.halo #order-standard_cart .halo-product-price.is-promo .halo-price-from { flex: 0 0 100%; }
body.halo #order-standard_cart .halo-price-save { flex-basis: auto; margin: 8px calc(50% - 50%) 0; }
body.halo #order-standard_cart .halo-product-price.is-promo .halo-price-save { order: 9; }
body.halo #order-standard_cart .halo-product-price.is-promo::after { content: ""; flex: 0 0 100%; order: 8; height: 0; }
@media (min-width: 992px) { body.halo #order-standard_cart .halo-price-new { font-size: 2rem; } }

/* =====================================================================
   Accueil : recherche de domaine et effets revus
   ===================================================================== */
/* Fond du hero qui se fond dans la page (plus de bloc rectangulaire) */
.halo-hero { position: relative; overflow: hidden; padding-bottom: 72px; background: transparent; }
.halo-hero::before {
    content: ""; position: absolute; inset: -20% -10% 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(42% 55% at 78% 30%, rgba(7, 141, 238, .16), transparent 70%),
        radial-gradient(30% 40% at 18% 85%, rgba(92, 200, 255, .10), transparent 70%);
    animation: halo-glow 14s ease-in-out infinite alternate;
}
.halo-hero > .container { position: relative; z-index: 1; }
:root[data-theme="dark"] .halo-hero::before {
    background:
        radial-gradient(42% 55% at 78% 30%, rgba(7, 141, 238, .22), transparent 70%),
        radial-gradient(30% 40% at 18% 85%, rgba(92, 200, 255, .08), transparent 70%);
}
@keyframes halo-glow { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }

/* Barre de recherche : une seule pièce, halo lumineux au focus */
body.halo .halo-search {
    position: relative;
    padding: 8px 8px 8px 20px;
    border: 1px solid var(--halo-line-strong);
    border-radius: 18px;
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-pop);
    transition: border-color .2s ease, box-shadow .2s ease;
}
body.halo .halo-search::before {
    content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 20px;
    background: linear-gradient(120deg, #5CC8FF, #078DEE, #0351AB, #5CC8FF);
    background-size: 300% 100%;
    opacity: 0; transition: opacity .25s ease;
    animation: halo-border 6s linear infinite;
}
body.halo .halo-search:focus-within { border-color: transparent; box-shadow: 0 20px 40px -12px rgba(6, 112, 207, .35); }
body.halo .halo-search:focus-within::before { opacity: 1; }
@keyframes halo-border { to { background-position: 300% 0; } }
body.halo .halo-search .form-control,
body.halo .halo-search .form-control:focus,
:root[data-theme="dark"] body.halo .halo-search .form-control,
:root[data-theme="dark"] body.halo .halo-search .form-control:focus {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    height: 52px; font-size: 18px; font-weight: 600; color: var(--halo-ink) !important;
}
body.halo .halo-search > i { font-size: 18px; color: var(--halo-primary); }
body.halo .halo-search .btn { height: 52px; padding: 0 28px; border-radius: 12px; font-size: 16px; }

/* Extensions populaires : pastilles cliquables */
body.halo .halo-hero-meta { gap: 8px; margin-top: 4px; }
body.halo button.halo-tld-chip {
    font: inherit; cursor: pointer;
    padding: 6px 14px;
    border: 1px solid var(--halo-line-strong);
    border-radius: 999px;
    background: var(--halo-surface);
    color: var(--halo-ink);
    transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
body.halo button.halo-tld-chip strong { color: var(--halo-primary); }
body.halo button.halo-tld-chip:hover { transform: translateY(-2px); border-color: var(--halo-primary); }
body.halo .halo-link-btn { font-weight: 700; }

/* Planète : orbites vivantes */
.halo-orbit .orbit-2 { animation-duration: 80s; }
.halo-orbit-spin { transform-origin: 230px 210px; }
.halo-spin-a { animation: halo-spin 24s linear infinite; }
.halo-spin-b { animation: halo-spin 36s linear infinite reverse; }
.halo-spin-c { animation: halo-spin 14s linear infinite; }
.halo-planet { filter: drop-shadow(0 0 40px rgba(7, 141, 238, .45)) drop-shadow(0 24px 40px rgba(6, 112, 207, .28)); }
.halo-hero-visual::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1;
    transform: translate(-50%, -50%); border-radius: 50%;
    background: radial-gradient(circle, rgba(7, 141, 238, .35), transparent 65%);
    animation: halo-pulse 4s ease-in-out infinite;
}
@keyframes halo-pulse { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.9); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } }
.halo-float { backdrop-filter: blur(6px); border: 1px solid var(--halo-line); }

/* Apparition au défilement */
.halo-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.halo-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .halo-hero::before, .halo-search::before, .halo-orbit-spin, .halo-hero-visual::before { animation: none !important; }
    .halo-reveal { opacity: 1; transform: none; transition: none; }
}
.halo-hero { overflow: visible; overflow-x: clip; z-index: 0; }
.halo-hero::before { bottom: -25%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }

/* =====================================================================
   Domaines : résultats de recherche plus pro
   ===================================================================== */
/* Info-bulle de saisie : discrète, sous la barre */
body.halo #order-standard_cart .halo-domain-hero .tooltip { display: none !important; }
body.halo #order-standard_cart .halo-domain-hero .input-group-box { position: relative; }
/* Champ de recherche : pas de fond dans la barre */
body.halo #order-standard_cart .halo-domain-hero .input-group-box .form-control,
:root[data-theme="dark"] body.halo #order-standard_cart .halo-domain-hero .input-group-box .form-control { background: transparent !important; border: 0 !important; color: var(--halo-ink) !important; font-weight: 600; }
:root[data-theme="dark"] body.halo #order-standard_cart .halo-domain-hero .input-group-box { background: var(--halo-surface); border: 1px solid var(--halo-line-strong); }

/* Titre "Correspondance exacte" */
body.halo #order-standard_cart.halo-domains .primary-domain-header { border: 0; margin: 0 0 12px; padding: 0; }
body.halo #order-standard_cart.halo-domains hr, body.halo #order-standard_cart.halo-domains .domain-lookup-primary-results ~ hr { display: none; }

/* Résultat principal */
body.halo #order-standard_cart.halo-domains .domain-checker-result-headline,
body.halo #order-standard_cart.halo-domains .domain-lookup-primary-results {
    margin: 0 0 24px;
    padding: 26px 30px;
    border: 1px solid var(--halo-line);
    border-radius: var(--halo-radius-xl);
    background: var(--halo-surface);
    box-shadow: var(--halo-shadow-card);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    text-align: left;
}
body.halo #order-standard_cart.halo-domains .domain-checker-result-headline .domain-checker-available,
body.halo #order-standard_cart.halo-domains .domain-lookup-primary-results .domain-available {
    display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 800; color: var(--halo-ink);
}
body.halo #order-standard_cart.halo-domains .domain-checker-available::before {
    content: "\2713"; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(34, 197, 94, .16); color: var(--halo-success-text); font-size: 16px;
}
body.halo #order-standard_cart.halo-domains .domain-price { margin: 0; gap: 14px; }
body.halo #order-standard_cart.halo-domains .domain-price .btn { height: 46px; padding: 0 22px; border-radius: 12px; font-size: 15px; }

/* Extensions mises en avant : grille de cartes nettes */
body.halo #order-standard_cart .spotlight-tlds { margin: 0 0 28px; padding: 0; background: transparent !important; border: 0; }
body.halo #order-standard_cart .spotlight-tlds-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0; }
body.halo #order-standard_cart .spotlight-tld-container { float: none; width: auto !important; padding: 0; }
body.halo #order-standard_cart .spotlight-tld {
    height: auto; min-height: 130px; padding: 18px 14px 16px;
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px;
    border: 1px solid var(--halo-line) !important;
    border-radius: var(--halo-radius-lg) !important;
    background: var(--halo-surface) !important;
    box-shadow: none !important;
    font-family: var(--halo-display-font); font-weight: 900; font-size: 1.5rem; color: var(--halo-ink);
    overflow: hidden; transition: border-color .15s ease, transform .15s ease;
}
body.halo #order-standard_cart .spotlight-tld:hover { border-color: var(--halo-primary) !important; transform: translateY(-2px); }
body.halo #order-standard_cart .spotlight-tld span { padding: 0; font-family: var(--halo-font); font-size: 14px; font-weight: 700; color: var(--halo-text); }
body.halo #order-standard_cart .spotlight-tld .btn:not(.domain-contact-support) {
    width: 100%; height: 36px; padding: 0; border-radius: 10px; font-family: var(--halo-font); font-size: 13px; font-weight: 700;
    background: var(--halo-primary); border-color: var(--halo-primary); color: #fff;
}
body.halo #order-standard_cart .spotlight-tld .unavailable, body.halo #order-standard_cart .spotlight-tld .invalid {
    margin: 0; width: 100%; background: var(--halo-grey) !important; border-color: transparent !important; color: var(--halo-muted) !important;
}
body.halo #order-standard_cart .spotlight-tld .domain-lookup-spotlight-loader { line-height: 1; font-size: 1.1rem; color: var(--halo-muted); }
/* Badges Nouveau / Promo / Populaire : petite pastille au lieu du ruban en coin */
body.halo #order-standard_cart .spotlight-tld-new,
body.halo #order-standard_cart .spotlight-tld-sale,
body.halo #order-standard_cart .spotlight-tld-hot {
    position: absolute; top: 8px; right: 8px; left: auto; width: auto;
    transform: none !important;
    padding: 2px 8px; border-radius: 999px;
    font-family: var(--halo-font); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
body.halo #order-standard_cart .spotlight-tld-new { background: rgba(34, 197, 94, .16) !important; color: var(--halo-success-text) !important; }
body.halo #order-standard_cart .spotlight-tld-sale { background: rgba(255, 171, 0, .18) !important; color: var(--halo-amber-text) !important; }
body.halo #order-standard_cart .spotlight-tld-hot { background: rgba(255, 86, 48, .14) !important; color: var(--halo-error-text) !important; }
body.halo #order-standard_cart .spotlight-tld { position: relative; padding-top: 30px; }

/* Suggestions : liste propre */
body.halo #order-standard_cart .suggested-domains .card-header,
body.halo #order-standard_cart .suggested-domains .panel-heading { border-bottom: 1px solid var(--halo-line) !important; font-size: 1.05rem; }
body.halo #order-standard_cart .suggested-domains .list-group-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; background: var(--halo-surface); color: var(--halo-ink); font-size: 15px; }
body.halo #order-standard_cart .suggested-domains .list-group-item:hover { background: var(--halo-zebra); }
body.halo #order-standard_cart .suggested-domains .actions { display: flex; align-items: center; gap: 14px; float: none; }
body.halo #order-standard_cart .suggested-domains .price { padding: 0; font-weight: 800; font-size: 15px; }
body.halo #order-standard_cart .suggested-domains .btn:not(.domain-contact-support) { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13px; background: var(--halo-grey); border: 1px solid var(--halo-line-strong); color: var(--halo-ink); }
body.halo #order-standard_cart .suggested-domains .btn:not(.domain-contact-support):hover { background: var(--halo-primary); border-color: var(--halo-primary); color: #fff; }
body.halo #order-standard_cart .suggested-domains .promo { border-radius: 999px; font-size: 10px; font-weight: 800; padding: 2px 8px; }
body.halo #order-standard_cart .suggested-domains .promo.hot { background: rgba(255, 86, 48, .14); color: var(--halo-error-text); }
body.halo #order-standard_cart .suggested-domains .promo.new { background: rgba(34, 197, 94, .16); color: var(--halo-success-text); }
body.halo #order-standard_cart .suggested-domains .promo.sale { background: rgba(255, 171, 0, .18); color: var(--halo-amber-text); }
body.halo #order-standard_cart .domain-lookup-suggestions-loader, body.halo #order-standard_cart .domain-lookup-suggestions-message { background: transparent !important; color: var(--halo-text); }
@media (max-width: 767.98px) {
    body.halo #order-standard_cart .spotlight-tlds-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.halo #order-standard_cart .suggested-domains .list-group-item { flex-direction: column; align-items: stretch; text-align: left; }
}


/* ===== Détail produit (Plesk / cPanel) : logo, jauges, raccourcis ===== */
body.halo-pd img.halo-pd-logo{max-width:220px!important;width:auto!important;height:auto!important;max-height:72px;object-fit:contain;
  background:#fff;padding:14px 22px;border-radius:14px;box-shadow:0 6px 20px rgba(2,12,27,.18);display:block;margin:6px auto}
:root[data-theme="dark"] body.halo-pd img.halo-pd-logo{filter:invert(1) hue-rotate(180deg);background:transparent;box-shadow:none;border:1px solid var(--halo-border,rgba(255,255,255,.08))}
body.halo-pd canvas + input{font-family:Barlow,sans-serif!important;font-weight:800!important}
body.halo-pd .halo-shortcut-wrap{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;text-align:center}
body.halo-pd a.halo-shortcut{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  padding:20px 12px;border-radius:14px;border:1px solid var(--halo-border,rgba(15,23,42,.08));
  background:var(--halo-surface-2,rgba(6,112,207,.04));color:var(--halo-text,inherit)!important;font-weight:600;font-size:.92rem;
  text-decoration:none!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;min-height:118px}
body.halo-pd a.halo-shortcut img{width:40px!important;height:40px!important;object-fit:contain}
body.halo-pd a.halo-shortcut:hover{transform:translateY(-3px);border-color:#0670CF;box-shadow:0 10px 24px rgba(6,112,207,.18)}
@media(max-width:575px){body.halo-pd .halo-shortcut-wrap{grid-template-columns:repeat(2,1fr)}}

/* ===== Correctifs : icônes header centrées + résultats domaine en clair ===== */
header.header .toolbar .halo-theme-toggle,
header.header .toolbar .cart-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:44px;height:44px;padding:0!important;line-height:1!important;position:relative}
header.header .toolbar .halo-theme-toggle i,header.header .toolbar .halo-theme-toggle svg,
header.header .toolbar .cart-btn i,header.header .toolbar .cart-btn svg{margin:0!important;line-height:1!important;display:block}
header.header .toolbar .cart-btn .badge{position:absolute;top:-4px;right:-4px}

body.halo #order-standard_cart .spotlight-tlds-container > *{width:auto!important;max-width:none!important;flex:none!important;padding:0!important;margin:0!important}
body.halo #order-standard_cart .spotlight-tld{width:100%!important;height:100%;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px}
body.halo #order-standard_cart .spotlight-tld .btn:not(.domain-contact-support),
body.halo #order-standard_cart .spotlight-tld .btn:not(.domain-contact-support) *{color:#fff!important;opacity:1!important}
body.halo #order-standard_cart .spotlight-tld .btn:not(.domain-contact-support){width:100%!important;background:#0670CF!important;border-color:#0670CF!important}
body.halo #order-standard_cart .spotlight-tld .btn:not(.domain-contact-support):hover{background:#055DAD!important}
body.halo #order-standard_cart .spotlight-tld .btn.disabled,body.halo #order-standard_cart .spotlight-tld .unavailable,
body.halo #order-standard_cart .spotlight-tld .domain-unavailable{width:100%;color:var(--halo-muted,#64748B)!important}
body.halo #order-standard_cart.halo-domains .domain-checker-result-headline{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 20px;text-align:left}
body.halo #order-standard_cart.halo-domains .domain-checker-result-headline > *{margin:0!important}

/* ===== Raccourcis produit : une seule grille régulière ===== */
body.halo-pd .halo-shortcut-wrap{display:block!important}
body.halo-pd .halo-shortcut-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;padding:22px!important}
body.halo-pd .halo-shortcut-grid .halo-contents{display:contents!important}
body.halo-pd .halo-shortcut-grid br{display:none}
body.halo-pd a.halo-shortcut{width:100%;margin:0!important;color:var(--halo-text,#0F172A)!important;font-size:.95rem}
:root[data-theme="dark"] body.halo-pd a.halo-shortcut{color:#E2E8F0!important;background:rgba(255,255,255,.03)}
@media(max-width:575px){body.halo-pd .halo-shortcut-grid{grid-template-columns:repeat(2,1fr)}}

/* ===== Détail produit : aperçu du site à la place du logo Sitejet ===== */
body.halo-pd .halo-site-box{border:0!important;padding:0!important;min-height:0!important;height:auto!important;background:none!important;display:flex;justify-content:center}
body.halo-pd .halo-site-row{align-items:center!important;row-gap:18px}
body.halo-pd .halo-site-card .card-body{padding:22px 26px!important}
body.halo-pd .halo-site-preview{display:block;width:100%;max-width:380px;border-radius:12px;overflow:hidden;text-decoration:none!important;
  border:1px solid var(--halo-border,rgba(15,23,42,.1));box-shadow:0 10px 28px rgba(2,12,27,.12);transition:transform .2s ease,box-shadow .2s ease;background:var(--halo-surface,#fff)}
body.halo-pd .halo-site-preview:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(6,112,207,.2)}
body.halo-pd .halo-site-bar{display:flex;align-items:center;gap:6px;padding:8px 12px;background:rgba(6,112,207,.06);border-bottom:1px solid var(--halo-border,rgba(15,23,42,.08))}
body.halo-pd .halo-site-bar i{width:9px;height:9px;border-radius:50%;background:#CBD5E1}
body.halo-pd .halo-site-bar i:nth-child(1){background:#F87171}body.halo-pd .halo-site-bar i:nth-child(2){background:#FBBF24}body.halo-pd .halo-site-bar i:nth-child(3){background:#34D399}
body.halo-pd .halo-site-bar em{font-style:normal;font-size:.75rem;color:var(--halo-muted,#64748B);margin-left:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.halo-pd .halo-site-preview img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top;background:#F1F5F9}
:root[data-theme="dark"] body.halo-pd .halo-site-preview img{background:#0F172A}
body.halo-pd img.halo-pd-logo{max-width:200px!important;max-height:60px}

/* ===== Boutons : arrondi harmonisé partout (thème + modules Plesk/cPanel/Sitejet) ===== */
body.halo .btn,body.halo button.btn,body.halo input[type="submit"].btn,body.halo input[type="button"].btn,
body.halo .module-client-area .btn,body.halo .card .btn,body.halo .list-group-item .btn{border-radius:10px!important}
body.halo .btn-sm,body.halo .btn-group-sm > .btn{border-radius:8px!important}
body.halo .btn-lg{border-radius:12px!important}
body.halo .input-group > .btn:not(:last-child){border-top-right-radius:0!important;border-bottom-right-radius:0!important}
body.halo .input-group > .btn:not(:first-child){border-top-left-radius:0!important;border-bottom-left-radius:0!important}
/* actions sur les lignes de services : espacement régulier */
body.halo .list-group-item .btn + .btn,body.halo .div-service-item .btn + .btn{margin-left:6px}
body.halo .card-header .btn i,body.halo .card-header .btn svg{margin-right:6px}

/* Aperçu du site : squelette animé pendant la génération de la capture */
body.halo-pd .halo-site-preview{position:relative}
body.halo-pd .halo-site-preview.is-loading img{opacity:0}
body.halo-pd .halo-site-preview.is-loading::after{content:"Génération de l’aperçu…";position:absolute;left:0;right:0;bottom:0;top:34px;
  display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:600;color:var(--halo-muted,#64748B);
  background:linear-gradient(100deg,rgba(6,112,207,.04) 30%,rgba(6,112,207,.12) 50%,rgba(6,112,207,.04) 70%);background-size:200% 100%;
  animation:haloShimmer 1.3s linear infinite}
body.halo-pd .halo-site-preview img{transition:opacity .4s ease}
@keyframes haloShimmer{from{background-position:200% 0}to{background-position:-200% 0}}

/* Correctif : une seule icône (lune OU soleil) dans le bouton de thème */
header.header .toolbar .halo-theme-toggle .halo-ico-sun{display:none!important}
:root[data-theme="dark"] header.header .toolbar .halo-theme-toggle .halo-ico-sun{display:block!important}
:root[data-theme="dark"] header.header .toolbar .halo-theme-toggle .halo-ico-moon{display:none!important}

/* Champs + boutons intégrés (recherche, domaine) : boutons arrondis avec respiration */
body.halo .card .input-group,body.halo .input-group.input-group-box{gap:6px;flex-wrap:nowrap}
body.halo .card .input-group > .btn,body.halo .card .input-group .input-group-append > .btn,
body.halo .card .input-group .input-group-btn > .btn{border-radius:8px!important;margin:0!important}
body.halo .card .input-group > .form-control{border-radius:10px!important}

/* ===== Tour complet : arrondis harmonisés sur tous les composants ===== */
body.halo .form-control,body.halo .custom-select,body.halo select.form-control,body.halo textarea.form-control{border-radius:10px}
body.halo .input-group > .form-control:not(:last-child),body.halo .input-group > .custom-select:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}
body.halo .input-group > .form-control:not(:first-child),body.halo .input-group > .custom-select:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}
body.halo .input-group-text{border-radius:10px}
body.halo .dropdown-menu{border-radius:12px!important;overflow:hidden;padding:6px}
body.halo .dropdown-item{border-radius:8px}
body.halo .alert{border-radius:12px!important}
body.halo .modal-content{border-radius:16px!important;overflow:hidden}
body.halo .pagination .page-link,body.halo .dataTables_paginate .paginate_button{border-radius:8px!important;margin:0 2px}
body.halo .nav-tabs .nav-link{border-radius:10px 10px 0 0}
body.halo .nav-pills .nav-link,body.halo .list-group-item-action{border-radius:10px}
body.halo .badge,body.halo .label,body.halo .status{border-radius:999px!important}
body.halo .progress{border-radius:999px!important;overflow:hidden}
body.halo .table-container,body.halo .dataTables_wrapper{border-radius:14px}
body.halo .popover,body.halo .tooltip-inner{border-radius:10px!important}
body.halo .panel,body.halo .well,body.halo .card,body.halo .sidebar .card{border-radius:16px}
body.halo .card > .list-group:last-child .list-group-item:last-child{border-bottom-left-radius:16px;border-bottom-right-radius:16px}
body.halo img.img-thumbnail,body.halo .product-icon{border-radius:12px}
body.halo .btn-social,body.halo .social-accounts .btn,body.halo .label-danger,body.halo .label-primary{border-radius:999px!important}
#order-standard_cart .panel,#order-standard_cart .order-summary,#order-standard_cart .summary-container,
#order-standard_cart .view-cart-items,#order-standard_cart .sub-heading span{border-radius:14px}
#order-standard_cart .order-summary h2{border-radius:14px 14px 0 0}
#order-standard_cart .form-control,#order-standard_cart .field{border-radius:10px}
#order-standard_cart .btn,#order-standard_cart .btn-checkout{border-radius:10px!important}

/* ===== Barres "champ + bouton(s)" des cartes : forme unique et espacements réguliers ===== */
body.halo .card-body .input-group{display:flex!important;align-items:center;flex-wrap:nowrap;gap:6px;padding:5px!important;
  border:1px solid var(--halo-border,rgba(15,23,42,.12))!important;border-radius:12px!important;background:var(--halo-surface,#fff);
  transition:border-color .2s ease,box-shadow .2s ease}
body.halo .card-body .input-group:focus-within{border-color:#0670CF!important;box-shadow:0 0 0 3px rgba(6,112,207,.15)}
body.halo .card-body .input-group > .form-control{flex:1 1 auto;min-width:0;height:38px!important;border:0!important;box-shadow:none!important;
  background:transparent!important;border-radius:8px!important;padding:0 10px!important}
body.halo .card-body .input-group > .input-group-append,body.halo .card-body .input-group > .input-group-btn{display:flex;gap:6px;margin:0!important}
body.halo .card-body .input-group .btn{height:38px!important;padding:0 18px!important;border-radius:8px!important;margin:0!important;
  display:inline-flex!important;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;line-height:1;box-shadow:none!important}
body.halo .card-body .input-group .btn:not(.btn-primary){background:rgba(6,112,207,.08)!important;border-color:transparent!important;color:#0670CF!important}
body.halo .card-body .input-group .btn:not(.btn-primary):hover{background:rgba(6,112,207,.15)!important}
:root[data-theme="dark"] body.halo .card-body .input-group{background:rgba(255,255,255,.03)}
:root[data-theme="dark"] body.halo .card-body .input-group .btn:not(.btn-primary){background:rgba(255,255,255,.07)!important;color:#E2E8F0!important}

/* ===== v38 : champ et boutons séparés, même hauteur, même arrondi (plus de "boîte dans la boîte") ===== */
body.halo .card-body .input-group{border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;gap:8px}
body.halo .card-body .input-group:focus-within{box-shadow:none!important}
body.halo .card-body .input-group > .form-control{height:44px!important;padding:0 14px!important;border-radius:10px!important;
  border:1px solid var(--halo-border,rgba(15,23,42,.14))!important;background:var(--halo-surface,#fff)!important;
  transition:border-color .2s ease,box-shadow .2s ease}
body.halo .card-body .input-group > .form-control:focus{border-color:#0670CF!important;box-shadow:0 0 0 3px rgba(6,112,207,.15)!important}
body.halo .card-body .input-group .input-group-btn,body.halo .card-body .input-group .input-group-append{display:flex!important;gap:8px}
body.halo .card-body .input-group .btn{height:44px!important;padding:0 20px!important;border-radius:10px!important;font-size:.88rem}
:root[data-theme="dark"] body.halo .card-body .input-group > .form-control{background:rgba(255,255,255,.04)!important;border-color:rgba(255,255,255,.1)!important;color:#E2E8F0}
@media(max-width:480px){body.halo .card-body .input-group{flex-wrap:wrap!important}
  body.halo .card-body .input-group > .form-control{flex:1 1 100%}
  body.halo .card-body .input-group .input-group-btn,body.halo .card-body .input-group .input-group-append{flex:1 1 100%}
  body.halo .card-body .input-group .btn{flex:1}}

/* ===== v39 : groupes de boutons des lignes de service = boutons séparés et bien arrondis ===== */
body.halo .card .btn-group,body.halo .list-group-item .btn-group,body.halo .module-client-area .btn-group{display:inline-flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
body.halo .card .btn-group > .btn,body.halo .list-group-item .btn-group > .btn,body.halo .module-client-area .btn-group > .btn{
  border-radius:10px!important;margin:0!important;height:36px;padding:0 14px!important;display:inline-flex;align-items:center;font-size:.82rem;font-weight:700;flex:0 0 auto}
body.halo .list-group-item .btn + .btn{margin-left:0}
@media(max-width:767px){body.halo .card .btn-group,body.halo .list-group-item .btn-group{justify-content:flex-start;width:100%}}
/* Pas de bloc Sitejet sur l'accueil de l'espace client */
body.halo .halo-hide-sitejet{display:none!important}
body.halo .card .btn-group > .btn.btn:not(:last-child):not(.dropdown-toggle),body.halo .card .btn-group > .btn.btn:not(:first-child),
body.halo .list-group-item .btn-group > .btn.btn:not(:last-child):not(.dropdown-toggle),body.halo .list-group-item .btn-group > .btn.btn:not(:first-child){border-radius:10px!important}

/* ===== Renouvellement des domaines / services ===== */
body.halo-renew #order-standard_cart .halo-hide-cats{display:none!important}
body.halo-renew #order-standard_cart .cart-sidebar .card-sidebar{border-top:0!important;padding-top:0!important}
body.halo-renew #order-standard_cart .header-lined h1{font-family:Barlow,sans-serif;font-weight:800;margin:6px 0 18px}
body.halo-renew #order-standard_cart .domain-renewals{display:flex;flex-direction:column;gap:12px}
body.halo-renew #order-standard_cart .domain-renewal{background:var(--halo-surface,#fff)!important;border:1px solid var(--halo-line,rgba(15,23,42,.08))!important;
  border-radius:16px!important;padding:20px 22px!important;margin:0!important;box-shadow:0 2px 10px rgba(2,12,27,.04);transition:border-color .2s ease,box-shadow .2s ease}
body.halo-renew #order-standard_cart .domain-renewal:hover{border-color:rgba(6,112,207,.35)!important;box-shadow:0 8px 24px rgba(6,112,207,.08)}
body.halo-renew #order-standard_cart .domain-renewal .font-size-24,body.halo-renew #order-standard_cart .domain-renewal .font-size-30,
body.halo-renew #order-standard_cart .domain-renewal .font-size-36{font-family:Barlow,sans-serif;font-weight:800;font-size:22px!important;margin:0 0 2px}
body.halo-renew #order-standard_cart .domain-renewal .label{border-radius:999px!important;padding:5px 11px;font-size:11px;font-weight:700}
body.halo-renew #order-standard_cart .domain-renewal .form-group.row{display:flex;align-items:center;gap:10px;margin:14px 0 0!important;flex-wrap:wrap}
body.halo-renew #order-standard_cart .domain-renewal .form-group.row > *{flex:1 1 200px;max-width:none;padding:0;margin:0;text-align:left}
body.halo-renew #order-standard_cart .domain-renewal .control-label{color:var(--halo-muted,#64748B);font-size:13px;font-weight:600}
body.halo-renew #order-standard_cart .select-renewal-pricing{height:44px;border-radius:10px!important}
body.halo-renew #order-standard_cart .domain-renewal .text-right{margin-top:12px}
body.halo-renew #order-standard_cart .btn-add-renewal-to-cart{height:40px;padding:0 18px!important;border-radius:10px!important;font-weight:700;
  background:#0670CF!important;border-color:#0670CF!important;color:#fff!important;display:inline-flex;align-items:center;gap:6px}
body.halo-renew #order-standard_cart .btn-add-renewal-to-cart:hover{background:#055DAD!important}
body.halo-renew #order-standard_cart .btn-add-renewal-to-cart .added{color:#fff}
body.halo-renew #order-standard_cart .domain-renewal .alert{margin:12px 0 0;border-radius:10px!important}
/* Résumé */
body.halo-renew #order-standard_cart .order-summary{background:var(--halo-surface,#fff)!important;border:1px solid var(--halo-line,rgba(15,23,42,.08))!important;
  border-radius:16px!important;padding:20px!important;box-shadow:0 8px 24px rgba(2,12,27,.06)}
body.halo-renew #order-standard_cart .order-summary h2{background:none!important;color:var(--halo-ink,#0F172A)!important;font-family:Barlow,sans-serif;font-weight:800;
  font-size:20px;text-align:left;padding:0 0 12px!important;margin:0 0 12px!important;border-bottom:1px solid var(--halo-line,rgba(15,23,42,.08))}
body.halo-renew #order-standard_cart .summary-container{background:none!important;border:0!important;padding:0!important;box-shadow:none!important}
body.halo-renew #order-standard_cart .order-summary .total-due-today .amt,body.halo-renew #order-standard_cart .order-summary .amt{font-family:Barlow,sans-serif;font-weight:800}
body.halo-renew #order-standard_cart #btnGoToCart{display:flex!important;width:100%;justify-content:center;align-items:center;gap:8px;height:48px;border-radius:12px!important;margin-top:12px}
:root[data-theme="dark"] body.halo-renew #order-standard_cart .domain-renewal,
:root[data-theme="dark"] body.halo-renew #order-standard_cart .order-summary{background:var(--halo-surface,#161E2B)!important;border-color:rgba(255,255,255,.08)!important}
:root[data-theme="dark"] body.halo-renew #order-standard_cart .order-summary h2{color:#F1F5F9!important;border-color:rgba(255,255,255,.08)}

/* ===== v41 : passe globale mobile + mode sombre ===== */
/* Champs et listes en sombre partout (store, panier, formulaires, modules) */
:root[data-theme="dark"] body.halo .form-control,:root[data-theme="dark"] body.halo select,:root[data-theme="dark"] body.halo .custom-select,
:root[data-theme="dark"] body.halo textarea,:root[data-theme="dark"] body.halo input[type="text"],:root[data-theme="dark"] body.halo input[type="email"],
:root[data-theme="dark"] body.halo input[type="password"],:root[data-theme="dark"] body.halo input[type="number"],:root[data-theme="dark"] body.halo input[type="tel"],
:root[data-theme="dark"] #order-standard_cart .form-control,:root[data-theme="dark"] #order-standard_cart select{
  background-color:#111827!important;color:#E2E8F0!important;border-color:rgba(255,255,255,.12)!important}
:root[data-theme="dark"] body.halo .form-control::placeholder{color:#64748B!important}
:root[data-theme="dark"] body.halo select option{background:#111827;color:#E2E8F0}
:root[data-theme="dark"] body.halo .form-control:disabled,:root[data-theme="dark"] body.halo .form-control[readonly]{background-color:#0B1220!important;color:#94A3B8!important}
:root[data-theme="dark"] body.halo .modal-content,:root[data-theme="dark"] body.halo .dropdown-menu,:root[data-theme="dark"] body.halo .popover{background:#161E2B!important;color:#E2E8F0;border-color:rgba(255,255,255,.08)!important}
:root[data-theme="dark"] body.halo .dropdown-item{color:#CBD5E1}
:root[data-theme="dark"] body.halo .dropdown-item:hover{background:rgba(255,255,255,.06);color:#fff}
:root[data-theme="dark"] body.halo .table,:root[data-theme="dark"] body.halo .table td,:root[data-theme="dark"] body.halo .table th{color:#E2E8F0;border-color:rgba(255,255,255,.08)!important}
:root[data-theme="dark"] body.halo .alert-info{background:rgba(6,112,207,.12);color:#BFDBFE;border-color:rgba(6,112,207,.3)}
:root[data-theme="dark"] body.halo .alert-warning{background:rgba(245,158,11,.1);color:#FDE68A;border-color:rgba(245,158,11,.3)}
:root[data-theme="dark"] body.halo .alert-success{background:rgba(16,185,129,.1);color:#A7F3D0;border-color:rgba(16,185,129,.3)}
:root[data-theme="dark"] body.halo .alert-danger{background:rgba(239,68,68,.1);color:#FECACA;border-color:rgba(239,68,68,.3)}
:root[data-theme="dark"] body.halo .text-muted{color:#94A3B8!important}
:root[data-theme="dark"] body.halo .bg-white,:root[data-theme="dark"] body.halo .bg-light{background:#161E2B!important}
/* Store : tous les boutons "Commander" en bleu marque (plus de noir) */
body.halo #order-standard_cart .product .btn-order-now,body.halo #order-standard_cart .halo-product-card .btn{background:#0670CF!important;border-color:#0670CF!important;color:#fff!important}
/* Mobile : rien ne déborde, tout reste lisible */
html,body.halo{overflow-x:clip}
body.halo img,body.halo video,body.halo iframe{max-width:100%;height:auto}
@media(max-width:767px){
  body.halo .table-responsive,body.halo .dataTables_wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}
  body.halo .card-header{flex-wrap:wrap;gap:8px}
  body.halo .btn-group{flex-wrap:wrap;gap:8px}
  body.halo .btn{white-space:normal}
  body.halo .modal-dialog{margin:12px}
  body.halo .pagination{flex-wrap:wrap;gap:4px}
  body.halo #order-standard_cart .secondary-cart-sidebar{margin-top:16px;position:static!important;width:100%!important}
  body.halo-renew #order-standard_cart .domain-renewal{padding:16px!important}
  body.halo-renew #order-standard_cart .domain-renewal .text-right{text-align:left!important}
  body.halo-renew #order-standard_cart .btn-add-renewal-to-cart{width:100%;justify-content:center}
  body.halo-pd .halo-site-preview{max-width:100%}
  body.halo .list-group-item .btn-group{width:100%}
  body.halo .list-group-item .btn-group > .btn{flex:1 1 auto;justify-content:center}
}

/* ===== Tableau "Toutes nos extensions" : grille alignée, lignes propres ===== */
body.halo #order-standard_cart .halo-tld-table{background:var(--halo-surface,#fff)!important;border:1px solid var(--halo-line,rgba(15,23,42,.08));border-radius:16px;overflow:hidden;box-shadow:0 4px 18px rgba(2,12,27,.05);padding:0!important}
body.halo #order-standard_cart .halo-tld-table .tld-pricing-header,
body.halo #order-standard_cart .halo-tld-table .tld-row:not(.no-tlds){display:grid!important;grid-template-columns:1.4fr 1fr 1fr 1fr;align-items:center;margin:0!important;
  background:transparent!important;border:0!important;border-bottom:1px solid var(--halo-line,rgba(15,23,42,.07))!important}
body.halo #order-standard_cart .halo-tld-table .tld-pricing-header > div,body.halo #order-standard_cart .halo-tld-table .tld-row > div{max-width:none!important;flex:none!important;width:auto!important;padding:0!important}
body.halo #order-standard_cart .halo-tld-table .tld-pricing-header .col-md-8,body.halo #order-standard_cart .halo-tld-table .tld-pricing-header .row,
body.halo #order-standard_cart .halo-tld-table .tld-row .col-md-8,body.halo #order-standard_cart .halo-tld-table .tld-row .col-md-8 > .row{display:contents!important}
body.halo #order-standard_cart .halo-tld-table .tld-pricing-header{background:var(--halo-grey,#F8FAFC)!important;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--halo-muted,#64748B)}
body.halo #order-standard_cart .halo-tld-table .tld-pricing-header > div,body.halo #order-standard_cart .halo-tld-table .tld-pricing-header .col-4{padding:14px 12px!important;text-align:center;background:none!important;border:0!important}
body.halo #order-standard_cart .halo-tld-table .tld-pricing-header .tld-column{text-align:left!important;padding-left:24px!important}
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4{padding:12px!important;text-align:center;font-weight:700;font-size:14px;color:var(--halo-ink,#0F172A);line-height:1.25}
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4 small{display:block;font-weight:500;font-size:11px;color:var(--halo-muted,#94A3B8);margin-top:2px}
body.halo #order-standard_cart .halo-tld-table .tld-row .two-row-center{display:flex!important;align-items:center;gap:10px;padding:14px 24px!important;text-align:left}
body.halo #order-standard_cart .halo-tld-table .tld-row .two-row-center strong{font-family:Barlow,sans-serif;font-weight:800;font-size:17px;color:var(--halo-ink,#0F172A)}
body.halo #order-standard_cart .halo-tld-table .tld-row:hover{background:rgba(6,112,207,.04)!important}
body.halo #order-standard_cart .halo-tld-table .tld-row:last-child{border-bottom:0!important}
body.halo #order-standard_cart .halo-tld-table .tld-row:nth-child(odd),body.halo #order-standard_cart .halo-tld-table .tld-row.highlighted{background:transparent!important}
body.halo #order-standard_cart .tld-sale-group{border-radius:999px!important;padding:3px 9px!important;font-size:10px!important;font-weight:700;letter-spacing:.04em}
body.halo #order-standard_cart .tld-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
body.halo #order-standard_cart .tld-filters .badge{border-radius:999px!important;padding:8px 14px!important;font-size:12px;font-weight:600;margin:0!important}
:root[data-theme="dark"] body.halo #order-standard_cart .halo-tld-table{background:#161E2B!important;border-color:rgba(255,255,255,.08)}
:root[data-theme="dark"] body.halo #order-standard_cart .halo-tld-table .tld-pricing-header{background:rgba(255,255,255,.03)!important;color:#94A3B8}
:root[data-theme="dark"] body.halo #order-standard_cart .halo-tld-table .tld-row,:root[data-theme="dark"] body.halo #order-standard_cart .halo-tld-table .tld-pricing-header{border-color:rgba(255,255,255,.06)!important}
:root[data-theme="dark"] body.halo #order-standard_cart .halo-tld-table .tld-row .col-4,:root[data-theme="dark"] body.halo #order-standard_cart .halo-tld-table .tld-row strong{color:#F1F5F9}
@media(max-width:640px){
  body.halo #order-standard_cart .halo-tld-table .tld-pricing-header .tld-column{display:none!important}
  body.halo #order-standard_cart .halo-tld-table .tld-pricing-header,body.halo #order-standard_cart .halo-tld-table .tld-row:not(.no-tlds){grid-template-columns:repeat(3,1fr)}
  body.halo #order-standard_cart .halo-tld-table .tld-row .two-row-center{grid-column:1/-1;padding:14px 16px 0!important}
  body.halo #order-standard_cart .halo-tld-table .tld-row .col-4{font-size:13px;padding:8px 6px 14px!important}
  body.halo #order-standard_cart .halo-tld-table .tld-pricing-header .col-4{padding:12px 6px!important;font-size:10px}
}
body.halo #order-standard_cart .halo-tld-table .col-4{max-width:none!important;flex:none!important;width:auto!important;text-align:center!important}
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4{white-space:nowrap}
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4 br{display:none}
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4 small{white-space:normal}

/* ===== v42 : extensions en cartes (plus visuel que le tableau) ===== */
body.halo #order-standard_cart .halo-tld-table{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;
  background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible;border-radius:0}
body.halo #order-standard_cart .halo-tld-table .tld-pricing-header{display:none!important}
body.halo #order-standard_cart .halo-tld-table .tld-row:not(.no-tlds){grid-template-columns:repeat(3,1fr)!important;align-items:stretch;
  background:var(--halo-surface,#fff)!important;border:1px solid var(--halo-line,rgba(15,23,42,.08))!important;border-radius:16px;overflow:hidden;
  position:relative;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body.halo #order-standard_cart .halo-tld-table .tld-row:not(.no-tlds)::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;
  background:linear-gradient(90deg,#0670CF,#22D3EE);opacity:0;transition:opacity .2s ease}
body.halo #order-standard_cart .halo-tld-table .tld-row:not(.no-tlds):hover{transform:translateY(-4px);border-color:rgba(6,112,207,.4)!important;box-shadow:0 14px 32px rgba(6,112,207,.14);background:var(--halo-surface,#fff)!important}
body.halo #order-standard_cart .halo-tld-table .tld-row:not(.no-tlds):hover::before{opacity:1}
/* nom de l'extension */
body.halo #order-standard_cart .halo-tld-table .tld-row .two-row-center{grid-column:1/-1;display:flex!important;justify-content:space-between;align-items:center;padding:20px 20px 6px!important}
body.halo #order-standard_cart .halo-tld-table .tld-row .two-row-center strong{font-size:30px!important;line-height:1;letter-spacing:-.01em;
  background:linear-gradient(90deg,#0670CF,#22A6E6);-webkit-background-clip:text;background-clip:text;color:transparent!important}
/* prix d'enregistrement mis en avant, transfert/renouvellement en dessous */
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4{padding:0 20px!important;text-align:left!important;font-size:13px;font-weight:600;color:var(--halo-text,#334155);white-space:nowrap}
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(1){grid-column:1/-1;padding:4px 20px 14px!important;font-family:Barlow,sans-serif;font-size:24px;font-weight:800;color:var(--halo-ink,#0F172A)}
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(1) small{display:inline;font-family:inherit;font-size:12px;font-weight:600;margin-left:4px}
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(2),
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(3){grid-column:span 3;display:flex!important;justify-content:space-between;align-items:baseline;
  padding:10px 20px!important;border-top:1px dashed var(--halo-line,rgba(15,23,42,.1));background:var(--halo-grey,#F8FAFC)}
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(2)::before{content:"Transfert";color:var(--halo-muted,#64748B);font-weight:500}
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(3)::before{content:"Renouvellement";color:var(--halo-muted,#64748B);font-weight:500}
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(2) small,
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(3) small{display:none}
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(3){padding-bottom:14px!important}
:root[data-theme="dark"] body.halo #order-standard_cart .halo-tld-table .tld-row:not(.no-tlds),
:root[data-theme="dark"] body.halo #order-standard_cart .halo-tld-table .tld-row:not(.no-tlds):hover{background:#161E2B!important;border-color:rgba(255,255,255,.08)!important}
:root[data-theme="dark"] body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(2),
:root[data-theme="dark"] body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(3){background:rgba(255,255,255,.025);border-color:rgba(255,255,255,.07);color:#CBD5E1}
:root[data-theme="dark"] body.halo #order-standard_cart .halo-tld-table .tld-row .two-row-center strong{background:linear-gradient(90deg,#3B9BF0,#67E8F9);-webkit-background-clip:text;background-clip:text}
@media(max-width:640px){body.halo #order-standard_cart .halo-tld-table{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}
  body.halo #order-standard_cart .halo-tld-table .tld-row .two-row-center{flex-direction:column;align-items:flex-start;gap:6px;padding:16px 14px 4px!important}
  body.halo #order-standard_cart .halo-tld-table .tld-row .two-row-center strong{font-size:24px!important}
  body.halo #order-standard_cart .halo-tld-table .tld-row .col-4{padding-left:14px!important;padding-right:14px!important;font-size:12px}
  body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(1){font-size:20px;padding:2px 14px 10px!important}
  body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(1) small{display:block;margin:0}
  body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(2),body.halo #order-standard_cart .halo-tld-table .tld-row .col-4:nth-child(3){flex-direction:column;gap:2px}}
body.halo #order-standard_cart .halo-tld-table .tld-row .col-4 small{white-space:nowrap!important}
body.halo #order-standard_cart .halo-tld-table .tld-sale-group{max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ===== v43 : pages panier hors store (transfert, enregistrement, panier, renouvellement) ===== */
body.halo-cart-tools #order-standard_cart .halo-hide-cats{display:none!important}
body.halo-cart-tools #order-standard_cart .cart-sidebar .card-sidebar{border-top:0!important}
/* Palette sombre unifiée : fond, surfaces et champs dans la même famille de bleu nuit */
:root[data-theme="dark"]{--halo-dark-bg:#0B111C;--halo-dark-surface:#131C2B;--halo-dark-surface-2:#182334;--halo-dark-field:#0E1624;--halo-dark-line:rgba(148,163,184,.14)}
:root[data-theme="dark"] body.halo{background:var(--halo-dark-bg)!important}
:root[data-theme="dark"] body.halo .card,:root[data-theme="dark"] body.halo #order-standard_cart .card,
:root[data-theme="dark"] body.halo #order-standard_cart .panel{background:var(--halo-dark-surface)!important;border-color:var(--halo-dark-line)!important}
:root[data-theme="dark"] body.halo .card-header,:root[data-theme="dark"] body.halo .card-footer,
:root[data-theme="dark"] body.halo #order-standard_cart .card-header,:root[data-theme="dark"] body.halo #order-standard_cart .card-footer{background:var(--halo-dark-surface-2)!important;border-color:var(--halo-dark-line)!important;color:#F1F5F9}
:root[data-theme="dark"] body.halo .form-control,:root[data-theme="dark"] body.halo select,:root[data-theme="dark"] body.halo textarea,
:root[data-theme="dark"] body.halo #order-standard_cart .form-control{background-color:var(--halo-dark-field)!important;border-color:var(--halo-dark-line)!important;color:#E2E8F0!important}
:root[data-theme="dark"] body.halo .form-control:focus{border-color:#0670CF!important;box-shadow:0 0 0 3px rgba(6,112,207,.25)!important}
:root[data-theme="dark"] body.halo label,:root[data-theme="dark"] body.halo .control-label{color:#94A3B8}
:root[data-theme="dark"] body.halo #order-standard_cart h1,:root[data-theme="dark"] body.halo #order-standard_cart h2,:root[data-theme="dark"] body.halo #order-standard_cart h3{color:#F8FAFC}
:root[data-theme="dark"] body.halo #order-standard_cart p,:root[data-theme="dark"] body.halo #order-standard_cart small{color:#94A3B8}
/* Transfert : titre en double masqué, carte centrée et propre */
body.halo-cart-tools #order-standard_cart .header-lined + .text-center h2,body.halo-cart-tools #order-standard_cart .header-lined ~ form .text-center h2{font-family:Barlow,sans-serif;font-weight:800}
body.halo-cart-tools #order-standard_cart #frmDomainTransfer .card,body.halo-cart-tools #order-standard_cart .domain-transfer .card{border-radius:16px!important;overflow:hidden}
body.halo-cart-tools #order-standard_cart #frmDomainTransfer .card-header{padding:18px 22px}
body.halo-cart-tools #order-standard_cart #frmDomainTransfer .card-body{padding:22px!important}
body.halo-cart-tools #order-standard_cart #frmDomainTransfer .card-footer{padding:14px 22px;display:flex;justify-content:flex-end}
body.halo-cart-tools #order-standard_cart #frmDomainTransfer .form-control{height:46px;border-radius:10px!important}
body.halo-cart-tools #order-standard_cart #frmDomainTransfer .card-header h3,body.halo-cart-tools #order-standard_cart #frmDomainTransfer .card-title{font-family:Barlow,sans-serif;font-weight:800;font-size:20px;margin:0}
/* Onglets d'actions en sombre */
:root[data-theme="dark"] body.halo #order-standard_cart .cart-sidebar .list-group-item:not(.active){background:transparent!important;border-color:var(--halo-dark-line)!important;color:#CBD5E1!important}
:root[data-theme="dark"] body.halo #order-standard_cart .cart-sidebar .list-group-item:not(.active):hover{background:var(--halo-dark-surface)!important;color:#fff!important}
body.halo #order-standard_cart:has(#frmDomainTransfer) .header-lined{display:none}
body.halo #order-standard_cart:has(#frmDomainTransfer) h2.font-size-30{font-family:Barlow,sans-serif;font-weight:800;font-size:32px!important;margin-top:8px}

/* Filtres d'extensions : respecter le masquage fait par WHMCS (display:none en ligne) */
body.halo #order-standard_cart .halo-tld-table .tld-row[style*="none"],
body.halo #order-standard_cart .halo-tld-table .tld-row.hidden,body.halo #order-standard_cart .halo-tld-table .tld-row.d-none{display:none!important}
body.halo #order-standard_cart .tld-filters .badge{cursor:pointer;transition:background .15s ease,color .15s ease}
body.halo #order-standard_cart .tld-filters .badge.badge-success,body.halo #order-standard_cart .tld-filters .badge.active{background:#0670CF!important;color:#fff!important;border-color:#0670CF!important}
body.halo #order-standard_cart .halo-tld-table .tld-row.halo-off{display:none!important}
/* Transfert (sombre) : textes lisibles et corps de carte cohérent */
:root[data-theme="dark"] body.halo #order-standard_cart #frmDomainTransfer .card-body,
:root[data-theme="dark"] body.halo #order-standard_cart #frmDomainTransfer .panel-body{background:var(--halo-dark-surface,#131C2B)!important}
:root[data-theme="dark"] body.halo #order-standard_cart #frmDomainTransfer label{color:#CBD5E1!important;font-weight:600;font-size:13px}
:root[data-theme="dark"] body.halo #order-standard_cart #frmDomainTransfer .form-control::placeholder{color:#64748B!important}
:root[data-theme="dark"] body.halo #order-standard_cart #frmDomainTransfer a{color:#60A5FA}
:root[data-theme="dark"] body.halo #order-standard_cart #frmDomainTransfer ~ p,:root[data-theme="dark"] body.halo #order-standard_cart #frmDomainTransfer + *{color:#94A3B8!important}
body.halo #order-standard_cart #frmDomainTransfer label{font-weight:600;font-size:13px}
:root[data-theme="dark"] body.halo #order-standard_cart .halo-tld-table.bg-white,body.halo #order-standard_cart .halo-tld-table.bg-white{background:transparent!important}
