/* ==========================================================================
   YORKHOST 2027 : habillage commun de TOUTES les orderpages
   Même langage que l'assistant (cart_2019wizard/css/style.css) : traits 1 px,
   Rubik 500, violet #763BD4, cartes 20 px / tuiles 14 px, aucune ombre,
   aucun dégradé. Quel que soit le template choisi dans HostBill pour une
   catégorie, la page reste aux couleurs YorkHost, en clair comme en sombre.

   JETONS : les --yh-* viennent du thème de l'espace client (sur <html>, avec
   html[data-theme="dark"]). On ne les redéfinit jamais ici. Les jetons propres
   à cet habillage s'appellent --sk-* et retombent sur la valeur claire si le
   thème n'est pas encore déployé.

   Périmètre : tout est limité à .yh-skin, posé par chaque template
   (onestep, compact, catégories, domaines, listings historiques...).
   Le wizard garde sa propre feuille, plus complète, et n'utilise pas celle-ci.
   ========================================================================== */

.yh-skin {
    --sk-font: var(--font-sans, 'Rubik', system-ui, sans-serif);
    --sk-bg: var(--yh-bg, #FFFFFF);
    --sk-bg2: var(--yh-bg2, #F6F5F9);
    --sk-card: var(--yh-card, #FFFFFF);
    --sk-line: var(--yh-line, #E6E2EC);
    --sk-text: var(--yh-text, #16141B);
    --sk-muted: var(--yh-muted, #5B5866);
    --sk-accent: var(--yh-accent, #6A33C8);
    --sk-primary: var(--yh-primary, #763BD4);
    --sk-primary-hover: var(--yh-primary-hover, #6930C2);
    --sk-chip: var(--yh-chip, #F1EEF6);
    --sk-tint: var(--yh-tint, #F3EDFC);
    --sk-ok: var(--yh-ok, #1F8A52);
    --sk-ok-bg: var(--yh-ok-bg, #E7F6EE);
    --sk-warn: var(--yh-warn, #A15C07);
    --sk-warn-bg: var(--yh-warn-bg, #FDF1DC);
    --sk-bad: var(--yh-bad, #B4232F);
    --sk-bad-bg: var(--yh-bad-bg, #FBE8EA);
    --sk-r-sm: 10px;
    --sk-r-tile: 14px;
    --sk-r-card: 20px;

    /* Variables du thème HostBill 2019 lues par les CSS d'origine des
       templates (compact, domaines...) : on les fait pointer vers nos jetons
       pour que leurs règles prennent elles aussi les couleurs YorkHost. */
    --brand-primary: var(--sk-primary);
    --brand-danger: var(--sk-bad);
    --brand-warning: var(--sk-warn);
    --body-bg: var(--sk-card);
    --body-color: var(--sk-text);
    --border-color: var(--sk-line);
    --alert-success-bg: var(--sk-ok-bg);

    font-family: var(--sk-font);
    font-size: 14px;
    line-height: 1.5;
    color: var(--sk-text);
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
}

html[data-theme="dark"] .yh-skin {
    --sk-ok-bg: var(--yh-ok-bg, #163024);
    --sk-warn-bg: var(--yh-warn-bg, #33260F);
    --sk-bad-bg: var(--yh-bad-bg, #3A1A1E);
    color-scheme: dark;
}
html[data-theme="dark"] .yh-skin option {
    background: var(--sk-card);
    color: var(--sk-text);
}

/* ==========================================================================
   Base : typographie, liens, couleurs utilitaires, focus
   ========================================================================== */

.yh-skin input,
.yh-skin select,
.yh-skin textarea,
.yh-skin button { font-family: inherit; }

.yh-skin h1, .yh-skin h2, .yh-skin h3, .yh-skin h4, .yh-skin h5, .yh-skin h6,
.yh-skin .h1, .yh-skin .h2, .yh-skin .h3, .yh-skin .h4, .yh-skin .h5, .yh-skin .h6 {
    font-family: inherit;
    color: var(--sk-text);
    font-weight: 500;
    letter-spacing: -0.015em;
}
.yh-skin h1 { font-size: 28px; line-height: 1.2; }
.yh-skin h3 { font-size: 20px; line-height: 1.25; }
.yh-skin h4 { font-size: 16px; line-height: 1.3; }

.yh-skin strong, .yh-skin b,
.yh-skin .font-weight-bold, .yh-skin .font-weight-bolder,
.yh-skin .openSansSemiBold { font-weight: 500 !important; }
.yh-skin .font-weight-light { font-weight: 400 !important; }

.yh-skin .text-muted,
.yh-skin .text-secondary { color: var(--sk-muted) !important; }
.yh-skin .text-primary { color: var(--sk-accent) !important; }
.yh-skin .text-success { color: var(--sk-ok) !important; }
.yh-skin .text-danger { color: var(--sk-bad) !important; }
.yh-skin .text-warning { color: var(--sk-warn) !important; }
.yh-skin .text-white,
.yh-skin .text-dark,
.yh-skin .text-body { color: var(--sk-text) !important; }
.yh-skin .bg-white,
.yh-skin .body-bg { background-color: var(--sk-card) !important; color: var(--sk-text); }
.yh-skin .bg-light { background-color: var(--sk-bg2) !important; }
.yh-skin .bg-primary { background-color: var(--sk-primary) !important; color: #fff; }
.yh-skin .text-small,
.yh-skin small,
.yh-skin .small,
.yh-skin .fs11 { font-size: 12.5px; }

.yh-skin a { color: var(--sk-accent); text-decoration: none; }
.yh-skin a:hover { text-decoration: underline; text-underline-offset: 4px; }
.yh-skin a.btn:hover, .yh-skin .btn:hover, .yh-skin .btn:focus,
.yh-skin a.card:hover, .yh-skin a.cart-category:hover { text-decoration: none; }

.yh-skin a:focus-visible,
.yh-skin button:focus-visible,
.yh-skin .btn:focus-visible,
.yh-skin [tabindex]:focus-visible {
    outline: 2px solid var(--sk-primary);
    outline-offset: 2px;
}

/* Aucune ombre, nulle part */
.yh-skin .shadow,
.yh-skin .shadow-sm,
.yh-skin .shadow-lg { box-shadow: none !important; }

.yh-skin hr { border: 0; border-top: 1px solid var(--sk-line); height: 0; }
.yh-skin .border,
.yh-skin .border-top,
.yh-skin .border-bottom,
.yh-skin .border-left,
.yh-skin .border-right,
.yh-skin .bordered-section { border-color: var(--sk-line) !important; }
.yh-skin .border-0 { border: 0 !important; }

/* En-tête de page (titre + sélecteur de devise) */
.yh-skin .section-account-header h1 { font-size: 28px; margin: 0; }
.yh-skin .section-account-header h5 {
    font-size: 15px;
    font-weight: 400;
    color: var(--sk-muted);
    margin-top: 8px !important;
}

/* ==========================================================================
   Cartes
   ========================================================================== */

.yh-skin .card,
.yh-skin .card.shadow,
.yh-skin .wbox {
    background: var(--sk-card) !important;
    border: 1px solid var(--sk-line) !important;
    border-radius: var(--sk-r-card) !important;
    box-shadow: none !important;
    color: var(--sk-text);
}
.yh-skin .card-header,
.yh-skin .card-footer {
    background: transparent !important;
    border-color: var(--sk-line) !important;
}
.yh-skin .card-title { color: var(--sk-text); font-weight: 500; }

/* ==========================================================================
   Formulaires
   ========================================================================== */

.yh-skin .form-control,
.yh-skin input.styled[type="text"],
.yh-skin input.styled[type="number"],
.yh-skin input.styled[type="email"],
.yh-skin input.styled[type="password"],
.yh-skin input.custom_field[type="text"],
.yh-skin input.custom_field[type="number"],
.yh-skin textarea.styled,
.yh-skin textarea.custom_field,
.yh-skin select.styled,
.yh-skin select.custom_field {
    border: 1px solid var(--sk-line) !important;
    border-radius: var(--sk-r-sm) !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    color: var(--sk-text) !important;
    background-color: var(--sk-card) !important;
    height: auto !important;
    min-height: 42px;
    box-shadow: none !important;
    transition: border-color 0.15s ease;
}
.yh-skin textarea.form-control,
.yh-skin textarea.styled,
.yh-skin textarea.custom_field { min-height: 100px; resize: vertical; }

.yh-skin .form-control::placeholder,
.yh-skin input::placeholder,
.yh-skin textarea::placeholder { color: var(--sk-muted); opacity: 0.8; }

.yh-skin .form-control:focus,
.yh-skin input.styled:focus,
.yh-skin input.custom_field:focus,
.yh-skin textarea.styled:focus,
.yh-skin textarea.custom_field:focus,
.yh-skin select.styled:focus,
.yh-skin select.custom_field:focus {
    border-color: var(--sk-primary) !important;
    outline: 1px solid var(--sk-primary) !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

/* Selects : chevron neutre, lisible en clair comme en sombre */
.yh-skin select.form-control,
.yh-skin select.form-control-sm,
.yh-skin select.styled,
.yh-skin select.custom_field {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px !important;
    padding-right: 34px !important;
}
.yh-skin select[multiple] { background-image: none !important; padding-right: 12px !important; }

.yh-skin .form-control-sm {
    padding: 6px 11px !important;
    font-size: 13px !important;
    min-height: 34px;
    border-radius: 9px !important;
}

.yh-skin .input-group { border-radius: var(--sk-r-sm); }
.yh-skin .input-group-text {
    background: var(--sk-chip) !important;
    border: 1px solid var(--sk-line) !important;
    color: var(--sk-muted) !important;
    font-size: 13px !important;
}
.yh-skin .input-group > .form-control:not(:first-child),
.yh-skin .input-group > .input-group-append > .btn,
.yh-skin .input-group > .input-group-append > .input-group-text { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.yh-skin .input-group > .form-control:not(:last-child),
.yh-skin .input-group > .input-group-prepend > .btn,
.yh-skin .input-group > .input-group-prepend > .input-group-text { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }

.yh-skin label,
.yh-skin .form-check-label { color: var(--sk-text); font-weight: 400; }

/* Cases à cocher et boutons radio (hors CGV, déjà gérées par le thème) */
.yh-skin input[type="checkbox"]:not(.term-checkbox):not(.tos-checkbox),
.yh-skin input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin: 0 8px 0 0;
    padding: 0 !important;
    flex-shrink: 0;
    border: 1.5px solid var(--sk-muted) !important;
    background: var(--sk-card) !important;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    box-shadow: none !important;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.yh-skin input[type="checkbox"]:not(.term-checkbox):not(.tos-checkbox) { border-radius: 6px !important; }
.yh-skin input[type="radio"] { border-radius: 50% !important; }
.yh-skin input[type="checkbox"]:not(.term-checkbox):not(.tos-checkbox):hover,
.yh-skin input[type="radio"]:hover { border-color: var(--sk-accent) !important; }
.yh-skin input[type="checkbox"]:checked:not(.term-checkbox):not(.tos-checkbox) {
    background-color: var(--sk-primary) !important;
    border-color: var(--sk-primary) !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M3.5 8.5l3 3 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px !important;
}
.yh-skin input[type="radio"]:checked {
    border: 5px solid var(--sk-primary) !important;
    background: var(--sk-card) !important;
}
.yh-skin input[type="checkbox"]:focus-visible,
.yh-skin input[type="radio"]:focus-visible {
    outline: 2px solid var(--sk-primary) !important;
    outline-offset: 2px !important;
}
.yh-skin .form-check-input { position: relative; margin-left: 0; margin-top: 0; }
.yh-skin .form-check { display: flex; align-items: center; gap: 4px; padding-left: 0; }
/* Boutons « radio » Bootstrap : la case reste cachée */
.yh-skin .btn-group-toggle .btn input[type="checkbox"],
.yh-skin .btn-group-toggle .btn input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

/* ==========================================================================
   Boutons : violet plein pour l'action primaire, tout le reste « ghost »
   ========================================================================== */

.yh-skin .btn {
    border-radius: var(--sk-r-sm) !important;
    font-size: 14.5px;
    font-weight: 500 !important;
    padding: 9px 18px;
    box-shadow: none !important;
    line-height: 1.4;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.yh-skin .btn-lg { padding: 11px 22px; font-size: 14.5px; }
.yh-skin .btn-sm { padding: 5px 12px; font-size: 13.5px; border-radius: 9px !important; }
.yh-skin .btn .material-icons { vertical-align: middle; font-size: 16px; }

.yh-skin .btn-primary,
.yh-skin .btn-primary:not(:disabled):not(.disabled):active,
.yh-skin .btn-primary:not(:disabled):not(.disabled).active {
    background: var(--sk-primary) !important;
    border: 1px solid var(--sk-primary) !important;
    color: #fff !important;
}
.yh-skin .btn-primary:hover,
.yh-skin .btn-primary:focus {
    background: var(--sk-primary-hover) !important;
    border-color: var(--sk-primary-hover) !important;
    color: #fff !important;
}

.yh-skin .btn-success,
.yh-skin .btn-secondary,
.yh-skin .btn-default,
.yh-skin .btn-info,
.yh-skin .btn-light,
.yh-skin .btn-dark,
.yh-skin .btn-outline-primary,
.yh-skin .btn-outline-secondary,
.yh-skin .btn-outline-success,
.yh-skin .btn-outline-dark,
.yh-skin .btn-outline-light,
.yh-skin .btn-outline-info {
    background: var(--sk-card) !important;
    border: 1px solid var(--sk-line) !important;
    color: var(--sk-text) !important;
}
.yh-skin .btn-success:hover,
.yh-skin .btn-secondary:hover,
.yh-skin .btn-default:hover,
.yh-skin .btn-info:hover,
.yh-skin .btn-light:hover,
.yh-skin .btn-dark:hover,
.yh-skin .btn-outline-primary:hover,
.yh-skin .btn-outline-secondary:hover,
.yh-skin .btn-outline-success:hover,
.yh-skin .btn-outline-dark:hover,
.yh-skin .btn-outline-light:hover,
.yh-skin .btn-outline-info:hover,
.yh-skin .btn-outline-primary.active,
.yh-skin .btn-outline-secondary.active,
.yh-skin .btn-outline-light.active,
.yh-skin .btn-outline-dark.active {
    background: var(--sk-tint) !important;
    border-color: var(--sk-accent) !important;
    color: var(--sk-accent) !important;
}
.yh-skin .btn-danger,
.yh-skin .btn-outline-danger {
    background: var(--sk-card) !important;
    border: 1px solid var(--sk-line) !important;
    color: var(--sk-bad) !important;
}
.yh-skin .btn-danger:hover,
.yh-skin .btn-outline-danger:hover {
    background: var(--sk-bad-bg) !important;
    border-color: var(--sk-bad) !important;
}
.yh-skin .btn-link {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--sk-accent) !important;
}
.yh-skin .btn.disabled,
.yh-skin .btn:disabled { opacity: 0.6; }

/* ==========================================================================
   Tableaux, onglets, alertes, badges, listes, menus
   ========================================================================== */

.yh-skin .table { color: var(--sk-text); }
.yh-skin .table th,
.yh-skin .table td { border-color: var(--sk-line) !important; vertical-align: middle; }
.yh-skin .table thead th {
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sk-muted);
    background: transparent;
    border-bottom: 1px solid var(--sk-line) !important;
}
.yh-skin .table-striped tbody tr:nth-of-type(odd) { background: var(--sk-bg2); }
.yh-skin .table-hover tbody tr:hover { background: var(--sk-tint); }

.yh-skin .nav-tabs { border-bottom: 1px solid var(--sk-line); }
.yh-skin .nav-tabs .nav-link {
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    color: var(--sk-muted) !important;
    font-weight: 500;
    border-radius: 0 !important;
}
.yh-skin .nav-tabs .nav-link:hover { color: var(--sk-text) !important; }
.yh-skin .nav-tabs .nav-link.active,
.yh-skin .nav-tabs .nav-item.show .nav-link {
    color: var(--sk-accent) !important;
    border-bottom-color: var(--sk-primary) !important;
}
.yh-skin .nav-pills .nav-link.active { background: var(--sk-primary) !important; color: #fff !important; }

.yh-skin .alert {
    border-radius: var(--sk-r-tile);
    border: 1px solid var(--sk-line);
    background: var(--sk-bg2);
    color: var(--sk-text);
}
.yh-skin .alert-info { background: var(--sk-tint); border-color: transparent; }
.yh-skin .alert-success { background: var(--sk-ok-bg); border-color: transparent; color: var(--sk-ok); }
.yh-skin .alert-warning { background: var(--sk-warn-bg); border-color: transparent; color: var(--sk-warn); }
.yh-skin .alert-danger { background: var(--sk-bad-bg); border-color: transparent; color: var(--sk-bad); }
.yh-skin .alert-heading { color: inherit; }

.yh-skin .badge {
    border-radius: 999px;
    font-weight: 500;
    padding: 4px 9px;
}
.yh-skin .badge-primary { background: var(--sk-tint); color: var(--sk-accent); }
.yh-skin .badge-success { background: var(--sk-ok-bg); color: var(--sk-ok); }
.yh-skin .badge-warning { background: var(--sk-warn-bg); color: var(--sk-warn); }
.yh-skin .badge-danger { background: var(--sk-bad-bg); color: var(--sk-bad); }
.yh-skin .badge-secondary,
.yh-skin .badge-light { background: var(--sk-chip); color: var(--sk-muted); }

.yh-skin .list-group-item {
    background: var(--sk-card);
    border-color: var(--sk-line);
    color: var(--sk-text);
}
.yh-skin .list-group-item.active { background: var(--sk-tint); border-color: var(--sk-primary); color: var(--sk-accent); }

.yh-skin .dropdown-menu {
    background: var(--sk-card);
    border: 1px solid var(--sk-line);
    border-radius: var(--sk-r-sm);
    box-shadow: none;
}
.yh-skin .dropdown-item { color: var(--sk-text); }
.yh-skin .dropdown-item:hover,
.yh-skin .dropdown-item.active { background: var(--sk-tint); color: var(--sk-accent); }

.yh-skin .pagination .page-link {
    background: var(--sk-card);
    border-color: var(--sk-line);
    color: var(--sk-text);
}
.yh-skin .pagination .page-item.active .page-link {
    background: var(--sk-primary);
    border-color: var(--sk-primary);
    color: #fff;
}

/* Curseurs jQuery UI : piste fine, poignée violette */
.yh-skin .ui-slider,
.yh-skin .ui-slider-horizontal {
    background: var(--sk-chip) !important;
    background-image: none !important;
    border: 0 !important;
    height: 4px !important;
    border-radius: 999px !important;
}
.yh-skin .ui-slider .ui-slider-range {
    background: var(--sk-primary) !important;
    background-image: none !important;
    border-radius: 999px !important;
}
.yh-skin .ui-slider .ui-slider-handle {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: var(--sk-primary) !important;
    background-image: none !important;
    border: 2px solid var(--sk-card) !important;
    outline: 1px solid var(--sk-primary);
    box-shadow: none !important;
    top: -6px !important;
    margin-left: -8px !important;
    cursor: grab;
}

/* ==========================================================================
   Onestep 2019 (Side Summary et Cloud) : numéros d'étape, cartes produit,
   ruban, rupture de stock, récapitulatif
   ========================================================================== */

/* Numéro de section : pastille 1 px comme les étapes du wizard */
.yh-skin .cart-products-scount {
    width: 28px !important;
    height: 28px !important;
    line-height: 26px !important;
    font-size: 13px !important;
    font-weight: 500;
    border: 1px solid var(--sk-line) !important;
    background: var(--sk-tint);
    color: var(--sk-accent) !important;
    margin-right: 12px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    flex: none;
}
.yh-skin .cart-products-scount + h3,
.yh-skin .orderpage-summary_title h3 { font-size: 20px; margin: 0; }

/* Cartes produit : tuile 1,5 px ; survol = bord accent ;
   choisie = bord violet + fond --sk-tint + coche (plus de bloc bleu) */
.yh-skin .cart-product {
    position: relative;
    background: var(--sk-card) !important;
    border: 1.5px solid var(--sk-line) !important;
    border-radius: var(--sk-r-card) !important;
    box-shadow: none !important;
    color: var(--sk-text);
    transition: border-color 0.15s ease, background-color 0.15s ease;
    height: calc(100% - 20px);
    margin-bottom: 20px;
}
.yh-skin .cart-product:hover:not(.outofstock) { border-color: var(--sk-accent) !important; }
.yh-skin .cart-product.selected:not(.outofstock) {
    border-color: var(--sk-primary) !important;
    background: var(--sk-tint) !important;
    box-shadow: none !important;
}
.yh-skin .cart-product.selected:not(.outofstock)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--sk-primary);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M3.5 8.5l3 3 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    z-index: 21;
}
/* Le CSS d'origine passe tout le texte de la carte choisie en blanc */
.yh-skin .cart-product.selected:not(.outofstock) *,
.yh-skin .cart-product * { color: inherit; }
.yh-skin .cart-product.selected:not(.outofstock) .text-primary,
.yh-skin .cart-product .text-primary { color: var(--sk-accent) !important; }
.yh-skin .cart-product.selected:not(.outofstock) .text-muted,
.yh-skin .cart-product .text-muted { color: var(--sk-muted) !important; }
.yh-skin .cart-product h4 {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--sk-text);
    margin: 0;
    padding: 0 28px;
    overflow-wrap: anywhere;
}
/* Prix : lisible sur toutes les cartes, pas seulement la carte choisie */
.yh-skin .cart-product .card-subtitle .h1 {
    font-size: 26px;
    font-weight: 500;
    color: var(--sk-text) !important;
    letter-spacing: -0.02em;
}
.yh-skin .cart-product .card-subtitle .h6 { font-size: 13px; color: var(--sk-muted) !important; font-weight: 400; }
.yh-skin .cart-product .cart-product-section + .cart-product-section {
    border-top: 1px solid var(--sk-line);
    margin: 0 18px;
    padding-top: 6px;
}
.yh-skin .cart-product .cart-product-section .row.mx-3 { margin-left: 0 !important; margin-right: 0 !important; }
.yh-skin .cart-product .cart-product-section .row .col-6 { font-size: 13px; }
.yh-skin .cart-product .cart-product-section .row .col-6.text-muted { font-weight: 400 !important; }

/* Infobulle « ? » des caractéristiques : pastille sobre */
.yh-skin .cart-product .vtip_description.vtip_features,
.yh-skin .cart-product.selected:not(.outofstock) .vtip_description.vtip_features {
    width: 22px;
    height: 22px;
    top: 14px;
    right: 14px;
    border-radius: 50%;
    border: 1px solid var(--sk-line);
    background: var(--sk-card) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-width='1.6' d='M6 6.2a2 2 0 1 1 2.6 1.9c-.4.2-.6.5-.6.9V9.5'/%3e%3ccircle cx='8' cy='12' r='.9' fill='%23888'/%3e%3c/svg%3e") no-repeat center / 14px !important;
}

/* Ruban « Best value » : pastille à plat en haut à droite, au violet YorkHost */
.yh-skin .ribbon,
.yh-skin .ribbon-top-right {
    width: auto !important;
    height: auto !important;
    top: -11px !important;
    right: 16px !important;
    left: auto !important;
    overflow: visible !important;
}
.yh-skin .ribbon::before,
.yh-skin .ribbon::after { display: none !important; }
.yh-skin .ribbon span,
.yh-skin .ribbon-top-right span {
    position: static !important;
    transform: none !important;
    width: auto !important;
    padding: 3px 10px !important;
    border-radius: 999px;
    background-color: var(--sk-primary) !important;
    color: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font: 500 12px/1.5 var(--sk-font) !important;
    letter-spacing: 0.02em;
    text-transform: none !important;
}

/* Rupture de stock : bandeau discret au lieu de l'écharpe grise */
.yh-skin .product-out-of-stock {
    position: absolute;
    width: auto;
    height: auto;
    top: 14px;
    left: 14px;
    overflow: visible;
    z-index: 21;
}
.yh-skin .cart-product.outofstock .cart-product-outofstock-badge,
.yh-skin .cart-product-outofstock-badge {
    position: static !important;
    transform: none !important;
    width: auto !important;
    padding: 3px 10px !important;
    border-radius: 999px;
    background: var(--sk-bad-bg) !important;
    color: var(--sk-bad) !important;
    font-size: 12px !important;
    font-weight: 500;
    letter-spacing: 0.02em !important;
    word-spacing: 0 !important;
    line-height: 1.5 !important;
}

/* Blocs de configuration (domaines, champs, options, sous-produits) */
.yh-skin .cart-item.card,
.yh-skin .cart-form .card { border-radius: var(--sk-r-tile) !important; }
.yh-skin .cart-gateway-list .btn,
.yh-skin .cart-gateway-list label { border-radius: var(--sk-r-tile) !important; }

/* Récapitulatif (#orderpage-summary) : carte 20 px, collante */
.yh-skin .orderpage .orderpage-summary,
.yh-skin .orderpage-summary {
    background: var(--sk-card) !important;
    color: var(--sk-text);
    border: 1px solid var(--sk-line) !important;
    border-radius: var(--sk-r-card) !important;
    box-shadow: none !important;
}
.yh-skin .orderpage .orderpage-summary.orderpage-summary-sticky {
    background: var(--sk-card) !important;
    border-radius: var(--sk-r-card) !important;
    box-shadow: none !important;
}
.yh-skin .orderpage-summary .border-bottom,
.yh-skin .orderpage-summary-content { border-color: var(--sk-line) !important; }
.yh-skin .orderpage-summary * { color: inherit; }
.yh-skin .orderpage-summary .text-muted,
.yh-skin .orderpage-summary .subtotal-cupon { color: var(--sk-muted) !important; }
.yh-skin .orderpage-summary .text-primary { color: var(--sk-accent) !important; }
.yh-skin .orderpage .orderpage-summary.orderpage-summary-sticky .orderpage-summary_title h3 { color: var(--sk-muted); }
.yh-skin .orderpage-summary_total .h1,
.yh-skin .orderpage-summary_total h1,
.yh-skin .orderpage-summary_total .h2,
.yh-skin .orderpage-summary_total h2 { color: var(--sk-text) !important; font-weight: 500; }
.yh-skin .orderpage-summary .btn-primary { width: 100%; }

/* ==========================================================================
   2019 Compact (tableau de produits filtrable)
   ========================================================================== */

.yh-skin .hbc-sf-row {
    background: var(--sk-card) !important;
    border: 1px solid var(--sk-line);
    border-radius: var(--sk-r-tile) !important;
}
.yh-skin .hbc-sf-input { padding-left: 40px !important; background: var(--sk-card) !important; }
.yh-skin .hbc-sf-search-icon { color: var(--sk-muted) !important; }
.yh-skin .hbc-filters-panel,
.yh-skin .hbc-categories-panel,
.yh-skin .hbc-tag-dropdown {
    background: var(--sk-card) !important;
    border-color: var(--sk-line) !important;
    border-radius: var(--sk-r-tile) !important;
    box-shadow: none !important;
}
.yh-skin .hbc-tag {
    background: var(--sk-chip) !important;
    color: var(--sk-text) !important;
    border: 1px solid var(--sk-line) !important;
    border-radius: 999px !important;
}
.yh-skin .hbc-tag.active,
.yh-skin .hbc-tag.selected,
.yh-skin .hbc-tag:hover { background: var(--sk-tint) !important; border-color: var(--sk-accent) !important; color: var(--sk-accent) !important; }
.yh-skin .hbc-price-track { background: var(--sk-chip) !important; }
.yh-skin .hbc-price-fill { background: var(--sk-primary) !important; }
.yh-skin .hbc-range::-webkit-slider-thumb { border-color: var(--sk-primary) !important; background: var(--sk-card) !important; box-shadow: none !important; }
.yh-skin .hbc-range::-moz-range-thumb { border-color: var(--sk-primary) !important; background: var(--sk-card) !important; box-shadow: none !important; }
.yh-skin .hbc-price-amount { color: var(--sk-text); font-weight: 500; }
.yh-skin .hbc-sort-icon,
.yh-skin .hbc-filter-label { color: var(--sk-muted) !important; }

/* ==========================================================================
   Catégories (boîtes et liste)
   ========================================================================== */

.yh-skin .cart-category,
.template_2019_dark .yh-skin .cart-category {
    background: var(--sk-card) !important;
    border: 1.5px solid var(--sk-line) !important;
    border-radius: var(--sk-r-tile) !important;
    color: var(--sk-text) !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.yh-skin .cart-category:hover,
.template_2019_dark .yh-skin .cart-category:hover { border-color: var(--sk-accent) !important; }
.yh-skin .cart-category.selected {
    background: var(--sk-tint) !important;
    border-color: var(--sk-primary) !important;
    box-shadow: none !important;
}
.yh-skin .cart-category *,
.yh-skin .cart-category.selected * { color: inherit; }
.yh-skin .cart-category.selected .text-primary,
.yh-skin .cart-category .text-primary { color: var(--sk-accent) !important; }
.yh-skin .cart-category.selected .text-muted,
.yh-skin .cart-category .text-muted { color: var(--sk-muted) !important; }
.yh-skin .h4, .yh-skin h4 { color: var(--sk-text); }
/* categories_* posent un fond blanc en dur sur .p-3 */
.yh-skin .p-3.rounded,
.yh-skin .p-3 { background-color: var(--sk-card); border-color: var(--sk-line); }

/* ==========================================================================
   Domaines (Domain Cart 2019 / Domain Cart / formulaires historiques)
   ========================================================================== */

.yh-skin .domain-tld-checkbox-item.checked,
.yh-skin .domain-tld-checkbox-item:hover { color: var(--sk-accent); }
.yh-skin .domain-box,
.yh-skin .domain-header,
.yh-skin .domain-search { border-color: var(--sk-line) !important; }
.yh-skin .domain-header { background: transparent !important; }
.yh-skin .result-data,
.yh-skin .result-actions { border-color: var(--sk-line) !important; }

/* ==========================================================================
   Listings historiques (Default, Simple boxes, Listing + more info) :
   barre de progression #progress et boîtes produit
   ========================================================================== */

.yh-skin #progress {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    background: none !important;
}
.yh-skin #progress li {
    flex: 1;
    background: none !important;
    border-bottom: 2px solid var(--sk-line);
    color: var(--sk-muted);
    padding: 0 0 8px;
    font-size: 13.5px;
    font-weight: 500;
    width: auto !important;
    height: auto !important;
    float: none !important;
}
.yh-skin #progress li.ison1 { color: var(--sk-text); border-bottom-color: var(--sk-primary); }
.yh-skin #progress li.ison2,
.yh-skin #progress li.fison2 { color: var(--sk-accent); border-bottom-color: var(--sk-primary); }
.yh-skin #progress a { color: inherit; }

.yh-skin .wbox_header,
.yh-skin .boxheader {
    background: transparent !important;
    border-color: var(--sk-line) !important;
    color: var(--sk-text) !important;
}
.yh-skin table.checker td,
.yh-skin table.checker th { border-color: var(--sk-line) !important; }

@media (max-width: 640px) {
    .yh-skin h1, .yh-skin .section-account-header h1 { font-size: 24px; }
    .yh-skin .cart-products-scount + h3 { font-size: 18px; }
}

/* ==========================================================================
   Listes avec recherche (champ HostBill « Searchable Dropdown » = plugin Chosen)
   ========================================================================== */

/* Sélecteur de système remplacé par les tuiles : le widget Chosen ferait doublon */
.yh-skin select.yh-os-native ~ .chosen-container ,
.yh-skin select.yh-os-native ~ .chzn-container{ display: none !important; }

.yh-skin .chosen-container ,
.yh-skin .chzn-container{ font-size: 14px; max-width: 100%; }
.yh-skin .chosen-container-single .chosen-single ,
.yh-skin .chzn-container-single .chzn-single{
    height: auto;
    min-height: 42px;
    line-height: 1.5;
    padding: 9px 34px 9px 12px;
    border: 1px solid var(--sk-line);
    border-radius: 10px;
    background: var(--sk-card);
    background-image: none;
    box-shadow: none;
    color: var(--sk-text);
}
.yh-skin .chosen-container-single .chosen-single span ,
.yh-skin .chzn-container-single .chzn-single span{ margin-right: 0; }
.yh-skin .chosen-container-single .chosen-single div ,
.yh-skin .chzn-container-single .chzn-single div{ width: 34px; right: 0; }
.yh-skin .chosen-container-single .chosen-single div b ,
.yh-skin .chzn-container-single .chzn-single div b{
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat center / 12px !important;
}
.yh-skin .chosen-container-active .chosen-single,
.yh-skin .chzn-container-active .chzn-single,
.yh-skin .chosen-container-active.chosen-with-drop .chosen-single ,
.yh-skin .chzn-container-active .chzn-single.chzn-single-with-drop{
    border-color: var(--sk-primary);
    outline: 1px solid var(--sk-primary);
    background: var(--sk-card);
    background-image: none;
    box-shadow: none;
}
.yh-skin .chosen-container .chosen-drop ,
.yh-skin .chzn-container .chzn-drop{
    margin-top: 4px;
    border: 1px solid var(--sk-line);
    border-radius: 10px;
    background: var(--sk-card);
    box-shadow: none;
    overflow: hidden;
}
.yh-skin .chosen-container .chosen-search input[type="text"] ,
.yh-skin .chzn-container .chzn-search input[type="text"]{
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid var(--sk-line);
    border-radius: 8px;
    background: var(--sk-card) !important;
    color: var(--sk-text);
}
.yh-skin .chosen-container .chosen-results ,
.yh-skin .chzn-container .chzn-results{ color: var(--sk-text); margin: 0 4px 4px; padding: 0; }
.yh-skin .chosen-container .chosen-results li ,
.yh-skin .chzn-container .chzn-results li{ padding: 7px 10px; border-radius: 8px; line-height: 1.4; }
.yh-skin .chosen-container .chosen-results li.highlighted ,
.yh-skin .chzn-container .chzn-results li.highlighted{ background: var(--sk-tint); background-image: none; color: var(--sk-accent); }
.yh-skin .chosen-container .chosen-results li.result-selected ,
.yh-skin .chzn-container .chzn-results li.result-selected{ font-weight: 500; }
.yh-skin .chosen-container .chosen-results li.no-results ,
.yh-skin .chzn-container .chzn-results li.no-results{ background: transparent; color: var(--sk-muted); }
