:root {
    --bq-turquoise: #009ba9;
    --bq-turquoise-dark: #007f8b;
    --bq-orange: #f58f00;
    --bq-orange-dark: #dc8000;
    --bq-link: var(--bq-orange);
    --bq-link-hover: var(--bq-link);
    --bq-link-focus: var(--bq-link);
    --bq-action-bg: var(--bq-orange);
    --bq-action-hover-bg: var(--bq-orange-dark);
    --bq-action-color: #fff;
    --bq-page: #f1f1f1;
    --bq-hero: #f9e8d7;
    --bq-ink: #25353b;
    --bq-muted: #69777b;
    --bq-white: #fff;
    --bq-border: #dbe3e4;
    --bq-font: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bq-page);
    color: var(--bq-ink);
    font-family: var(--bq-font);
    font-size: 15px;
    line-height: 1.55;
}

a {
    text-decoration: none;
}


.bq-password-field .bq-password-toggle {
    color: var(--bq-turquoise, #009ca6);
    background: #fff;
    border: 1px solid var(--bs-border-color, #dee2e6);
}
.bq-password-field .bq-password-toggle:hover { background: #edf8f8; }
.bq-password-field .bq-password-toggle:focus-visible {
    position: relative;
    z-index: 5;
    outline: 2px solid var(--bq-turquoise, #009ca6);
    outline-offset: 2px;
    box-shadow: 0 0 0 .2rem rgba(0, 156, 166, .2);
}
/* Gabarit CTA applicatif : Bootstrap normal, indépendamment des anciens btn-sm. */
:is(main, .bq-modal-panier, [data-bq-modal-apercu], .bq-consent-banner, .bq-consent-modal)
    .btn:is(.bq-btn-action, .bq-btn-secondary, .btn-danger, .btn-success, .btn-warning):not(.bq-cart-button):not(.bq-password-toggle):not(.dropdown-toggle):not(.bq-admin-select-toggle):not([data-bq-collapse-label]) {
    --bs-btn-padding-y: .375rem;
    --bs-btn-padding-x: .75rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 700;
    --bs-btn-line-height: 1.5;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-radius: var(--bs-border-radius);
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    border-width: var(--bs-btn-border-width);
    border-radius: var(--bs-btn-border-radius);
    max-width: 100%;
    white-space: normal;
    align-self: center;
    flex-shrink: 0;
}
.btn.bq-btn-action {
    --bs-btn-color: var(--bq-action-color);
    --bs-btn-bg: var(--bq-action-bg);
    --bs-btn-border-color: var(--bq-action-bg);
    --bs-btn-hover-color: var(--bq-action-color);
    --bs-btn-hover-bg: var(--bq-action-hover-bg);
    --bs-btn-hover-border-color: var(--bq-action-hover-bg);
    --bs-btn-active-color: var(--bq-action-color);
    --bs-btn-active-bg: var(--bq-action-hover-bg);
    --bs-btn-active-border-color: var(--bq-action-hover-bg);
    --bs-btn-disabled-color: var(--bq-action-color);
    --bs-btn-disabled-bg: var(--bq-action-bg);
    --bs-btn-disabled-border-color: var(--bq-action-bg);
    --bs-btn-focus-shadow-rgb: 0, 127, 139;
    --bs-btn-font-weight: 700;
}

.btn.bq-btn-secondary {
    --bs-btn-color: var(--bq-white);
    --bs-btn-bg: var(--bq-turquoise-dark);
    --bs-btn-border-color: var(--bq-turquoise-dark);
    --bs-btn-hover-color: var(--bq-white);
    --bs-btn-hover-bg: #006873;
    --bs-btn-hover-border-color: #006873;
    --bs-btn-active-color: var(--bq-white);
    --bs-btn-active-bg: #006873;
    --bs-btn-active-border-color: #006873;
    --bs-btn-disabled-color: var(--bq-white);
    --bs-btn-disabled-bg: var(--bq-turquoise-dark);
    --bs-btn-disabled-border-color: var(--bq-turquoise-dark);
    --bs-btn-focus-shadow-rgb: 0, 127, 139;
    --bs-btn-font-weight: 700;
}

.btn:is(.bq-btn-action, .bq-btn-secondary, .btn-danger, .btn-success, .btn-warning):focus-visible {
    outline: 3px solid var(--bq-turquoise-dark);
    outline-offset: 2px;
}

.bq-header__top {
    min-height: 32px;
    background: var(--bq-orange);
}

.bq-header__top-content {
    display: flex;
    min-height: 32px;
    padding-block: 5px;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.bq-header__utility-link {
    color: var(--bq-white);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.bq-header__utility-link:hover,
.bq-header__utility-link:focus,
.bq-header__utility-link.active {
    color: var(--bq-white);
    text-decoration: underline;
}

.bq-header__utility-link i {
    margin-right: 5px;
    font-size: 13px;
}

.bq-navbar {
    min-height: 92px;
    padding: 0;
    background: var(--bq-turquoise);
}

.bq-navbar__brand {
    display: flex;
    width: 225px;
    height: 76px;
    margin-right: 24px;
    padding: 0;
    overflow: hidden;
    align-items: center;
}

.bq-navbar__brand img,
.bq-footer__logo {
    width: 100%;
}

.bq-navbar__brand picture {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
}

.bq-navbar__brand img {
    height: 100%;
    object-fit: contain;
}

.bq-navbar__menu {
    gap: 3px;
}

.bq-navbar .nav-link {
    padding: 34px 10px;
    color: rgba(255, 255, 255, .94);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.bq-navbar .nav-link:hover,
.bq-navbar .nav-link:focus,
.bq-navbar .nav-link.active {
    color: var(--bq-white);
}

.bq-navbar .nav-link.active:not(.bq-navbar__cart) {
    position: relative;
}

.bq-navbar .nav-link.active:not(.bq-navbar__cart)::after {
    position: absolute;
    right: 10px;
    bottom: 27px;
    left: 10px;
    height: 2px;
    background: var(--bq-orange);
    content: "";
}

.bq-navbar .bq-navbar__cart {
    display: flex;
    min-height: 36px;
    height: 36px;
    margin-left: 7px;
    padding: 0 19px;
    border-radius: 5px;
    background: var(--bq-orange);
    align-items: center;
    align-self: center;
    gap: 9px;
    line-height: 1;
}

.bq-navbar .bq-navbar__cart:hover,
.bq-navbar .bq-navbar__cart:focus {
    background: var(--bq-orange-dark);
}

.bq-navbar__toggler {
    border-color: rgba(255, 255, 255, .6);
    filter: none;
}

.bq-navbar__toggler .navbar-toggler-icon {
    width: 24px;
    height: 18px;
    background-image: linear-gradient(var(--bq-white), var(--bq-white)), linear-gradient(var(--bq-white), var(--bq-white)), linear-gradient(var(--bq-white), var(--bq-white));
    background-position: center top, center, center bottom;
    background-size: 24px 2px;
    background-repeat: no-repeat;
}

.bq-hero {
    background: var(--bq-hero);
    border-bottom: 5px solid var(--bq-orange);
}

.bq-hero__content {
    padding: 50px 40px 48px 55px;
}

.bq-hero__content::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100vw;
    width: calc(100vw + 150px);
    background: rgba(255, 255, 255, .23);
    content: "";
    transform: skewX(-12deg);
    transform-origin: bottom right;
    z-index: -1;
}

.bq-hero__eyebrow {
    color: var(--bq-orange);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bq-hero h1 {
    color: var(--bq-turquoise);
    font-size: clamp(35px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.bq-hero__stroke {
    width: 92px;
    height: 5px;
    background: var(--bq-orange);
}

.bq-hero__visual {
    min-height: 315px;
}

.bq-hero__visual picture {
    position: absolute;
    inset: 0;
}

.bq-hero__visual img {
    object-position: center 57%;
}

.bq-hero__visual::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: 95px;
    background: linear-gradient(90deg, var(--bq-hero), transparent);
    content: "";
}

.bq-order {
    padding: 55px 0 70px;
    background: var(--bq-white);
}

.bq-section-heading {
    margin-bottom: 35px;
    text-align: center;
}

.bq-section-heading h2 {
    margin: 0;
    color: var(--bq-turquoise);
    font-size: 34px;
    font-weight: 800;
}

.bq-section-heading span {
    display: block;
    width: 62px;
    height: 4px;
    margin: 12px auto 0;
    background: var(--bq-orange);
}

.bq-configurator {
    padding: 0 5px;
}

.bq-fieldset {
    min-width: 0;
    margin: 0 0 34px;
    padding: 0;
    border: 0;
}

.bq-fieldset legend,
.bq-input-label {
    width: auto;
    margin-bottom: 15px;
    color: var(--bq-ink);
    font-size: 17px;
    font-weight: 800;
}

.bq-field-title {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
    gap: 5px;
}

.bq-field-title .bq-input-label,
.bq-field-title .form-label {
    margin-bottom: 0;
}

.bq-info-trigger {
    display: inline-grid;
    width: 19px;
    height: 19px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--bq-turquoise);
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    vertical-align: .08em;
    place-items: center;
}

.bq-info-trigger:hover {
    color: var(--bq-turquoise-dark);
}

.bq-info-trigger:focus-visible {
    outline: 3px solid rgba(0, 155, 169, .28);
    outline-offset: 2px;
}

.bq-info-popover {
    --bs-popover-max-width: min(320px, calc(100vw - 24px));
    --bs-popover-border-color: var(--bq-border);
    --bs-popover-border-radius: 9px;
    --bs-popover-header-bg: #f5fbfb;
    --bs-popover-header-color: var(--bq-turquoise-dark);
    box-shadow: 0 8px 24px rgba(30, 72, 78, .14);
}

.bq-info-popover .popover-header {
    font-size: 14px;
    font-weight: 800;
}

.bq-info-popover .popover-body {
    color: var(--bq-ink);
    font-size: 12px;
    line-height: 1.5;
}

.bq-info-popover .popover-body p,
.bq-info-popover .popover-body ul {
    margin: 0;
}

.bq-info-popover .popover-body ul {
    padding-left: 18px;
}

.bq-info-popover .popover-body li + li {
    margin-top: 6px;
}

.bq-choices-formats {
    --bs-gutter-x: 11px;
    --bs-gutter-y: 11px;
}

.bq-choice {
    position: relative;
}

.bq-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.bq-choice label {
    position: relative;
    display: flex;
    height: 100%;
    margin: 0;
    border: 2px solid var(--bq-border);
    border-radius: 7px;
    background: var(--bq-white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.bq-choice input:focus-visible + label {
    outline: 3px solid rgba(0, 155, 169, .28);
    outline-offset: 3px;
}

.bq-choice input:disabled + label {
    opacity: .55;
    cursor: not-allowed;
}

.bq-configurator,
.bq-summary,
.bq-summary__list dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

.bq-configurator .form-select {
    width: 100%;
    min-width: 0;
    margin-block: 8px;
}

.bq-choice input:checked + label {
    border-color: var(--bq-turquoise);
    box-shadow: inset 0 -5px 0 var(--bq-turquoise);
}

.bq-choice input:checked + label::after {
    position: absolute;
    top: 7px;
    right: 7px;
    display: grid;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--bq-turquoise);
    color: var(--bq-white);
    content: "\2713";
    font-size: 12px;
    font-weight: 900;
    place-items: center;
}

.bq-choice--format label {
    min-height: 174px;
    padding: 14px 5px 16px;
    flex-direction: column;
}

.bq-choice--format img {
    width: auto;
    height: 91px;
    margin-bottom: 8px;
    object-fit: contain;
}

.bq-choice--format strong,
.bq-choice--format span {
    display: block;
    line-height: 1.25;
    text-align: center;
}

.bq-choice--format strong {
    font-size: 12px;
}

.bq-choice--format span {
    color: var(--bq-muted);
    font-size: 11px;
}

.bq-fieldset--compact {
    margin-bottom: 28px;
}

.bq-choices-paired {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
}

.bq-choice--print label {
    min-height: 105px;
    padding: 12px;
    flex-direction: column;
}

.bq-choice--print img {
    width: 53px;
    height: 51px;
    margin-bottom: 7px;
    object-fit: contain;
}

.bq-choice--print span {
    font-size: 13px;
    font-weight: 800;
}

.bq-input-label {
    display: block;
}

.bq-number-input {
    height: 50px;
    border: 2px solid var(--bq-border);
    border-radius: 6px;
    color: var(--bq-turquoise-dark);
    font-size: 18px;
    font-weight: 800;
}

.bq-number-input:focus {
    border-color: var(--bq-turquoise);
    box-shadow: 0 0 0 .2rem rgba(0, 155, 169, .16);
}

.bq-fieldset--bat {
    margin-bottom: 27px;
}

.bq-choice--bat label {
    min-height: 83px;
    padding: 12px 15px;
    justify-content: flex-start;
    gap: 13px;
}

.bq-choice--bat strong,
.bq-choice--bat small {
    display: block;
}

.bq-choice--bat strong {
    font-size: 14px;
}

.bq-choice--bat small {
    color: var(--bq-muted);
    font-size: 11px;
}

.bq-proof-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 28px;
    border: 3px solid var(--bq-orange);
    position: relative;
}

.bq-proof-icon--screen::after {
    position: absolute;
    right: 6px;
    bottom: -9px;
    left: 6px;
    height: 3px;
    background: var(--bq-orange);
    content: "";
}

.bq-proof-icon--paper {
    width: 25px;
    height: 33px;
}

.bq-proof-icon--paper::after {
    position: absolute;
    top: 7px;
    right: 4px;
    left: 4px;
    height: 3px;
    background: var(--bq-orange);
    box-shadow: 0 7px var(--bq-orange), 0 14px var(--bq-orange);
    content: "";
}

.bq-file-zone {
    display: flex;
    padding: 21px;
    border: 2px dashed #bdd5d8;
    border-radius: 7px;
    background: #f5fbfb;
    align-items: center;
    flex-wrap: wrap;
    gap: 19px;
}

.bq-file-heading {
    margin-bottom: 15px;
    color: var(--bq-ink);
    font-size: 17px;
    font-weight: 800;
}

.bq-file-button {
    flex: 0 0 auto;
    padding: 12px 22px;
    border: 0;
    border-radius: 4px;
    background: var(--bq-turquoise);
    color: var(--bq-white);
    font-size: 14px;
    font-weight: 800;
}

.bq-file-button:hover,
.bq-file-button:focus {
    background: var(--bq-turquoise-dark);
    color: var(--bq-white);
}

.bq-file-zone p {
    margin: 0;
    color: var(--bq-muted);
    font-size: 11px;
}

.bq-file-info {
    min-width: 0;
}

.bq-file-status {
    overflow-wrap: anywhere;
    color: var(--bq-ink) !important;
    font-size: 13px !important;
    font-weight: 800;
}

.bq-file-aide {
    margin-top: 3px !important;
}

.bq-file-list {
    flex: 1 0 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bq-file-item {
    display: grid;
    min-width: 0;
    padding: 9px 0;
    border-top: 1px solid #dce9ea;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto 28px;
    gap: 12px;
}

.bq-file-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

.bq-file-icon {
    flex: 0 0 auto;
    width: 16px;
    color: var(--bq-turquoise);
    text-align: center;
}

.bq-file-name {
    overflow: hidden;
    color: var(--bq-ink);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bq-file-size {
    color: var(--bq-muted);
    font-size: 11px;
    white-space: nowrap;
}

.bq-file-remove {
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #9a5d5d;
    font-size: 12px;
    place-items: center;
}

.bq-file-remove:hover,
.bq-file-remove:focus-visible {
    background: #fff0f0;
    color: #b42318;
}

.bq-file-remove:focus-visible {
    outline: 2px solid #b42318;
    outline-offset: 1px;
}

#book-files:focus-visible + .bq-file-button {
    outline: 3px solid rgba(0, 155, 169, .28);
    outline-offset: 3px;
}

.bq-summary {
    overflow: hidden;
    --bs-card-border-width: 3px;
    --bs-card-border-color: var(--bq-turquoise);
    --bs-card-border-radius: 12px;
    --bs-card-cap-bg: var(--bq-turquoise);
    --bs-card-cap-color: var(--bq-white);
    box-shadow: 0 8px 24px rgba(30, 72, 78, .1);
}

.bq-summary > .card-header {
    margin: 0;
    padding: 19px 25px;
    background: var(--bq-turquoise);
    color: var(--bq-white);
    font-size: 24px;
    font-weight: 800;
    text-align: center;
}

.bq-summary__list {
    margin: 0;
    padding: 17px 24px 6px;
}

.bq-summary__list > div {
    display: flex;
    padding: 9px 0;
    border-bottom: 1px solid #e5eeee;
    justify-content: space-between;
    gap: 18px;
}

.bq-summary__list dt,
.bq-summary__list dd {
    margin: 0;
    font-size: 12px;
}

.bq-summary__list dt {
    color: var(--bq-turquoise-dark);
    font-weight: 500;
}

.bq-summary__list dd {
    color: var(--bq-ink);
    font-weight: 800;
    text-align: right;
}

.bq-summary__free {
    color: var(--bq-turquoise-dark) !important;
}

.bq-summary__price {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 5px 24px 0;
    padding: 18px 0 15px;
    align-items: flex-end;
    justify-content: space-between;
}

.bq-summary__price > span {
    color: var(--bq-turquoise-dark);
    font-size: 18px;
    font-weight: 800;
}

.bq-summary__price strong {
    color: var(--bq-orange);
    font-size: 29px;
    line-height: 1;
}

.bq-summary__price small {
    font-size: 12px;
}

.bq-cart-button {
    display: block;
    width: calc(100% - 48px);
    margin: 4px 24px 13px;
    padding: 14px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--bq-action-bg);
    color: var(--bq-action-color);
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
}

.bq-cart-button:not(:disabled):hover,
.bq-cart-button:not(:disabled):active,
.bq-cart-button:not(:disabled):focus {
    background: var(--bq-action-hover-bg);
    color: var(--bq-action-color);
}

.bq-cart-button:focus-visible { outline: 3px solid var(--bq-turquoise-dark); outline-offset: 2px; }

.bq-cart-button:disabled { background: #e5eaeb; border: 1px solid #b6c2c5; color: #46575b; opacity: 1; cursor: not-allowed; pointer-events: auto; }

.bq-tva-declaration legend { float: none; width: auto; font-size: 1.1rem; font-weight: 700; }

.bq-tva-information { padding: 16px; background: #f2f8f8; border-radius: 4px; overflow-wrap: anywhere; }
.bq-summary__list > .bq-summary__tax-row--start { border-top: 1px solid var(--bq-border); }
.bq-summary__tax-row dt { color: var(--bq-muted); }
.bq-summary__tax-row dd { color: var(--bq-ink); }

.bq-summary__notice {
    margin: 0 20px 17px;
    color: var(--bq-muted);
    font-size: 9px;
    text-align: center;
}

.bq-faq .accordion-item {
    border-color: var(--bq-border);
}

.bq-faq .accordion-button {
    color: var(--bq-ink);
    font-size: 14px;
    font-weight: 800;
}

.bq-faq .accordion-button:not(.collapsed) {
    background: #eef9fa;
    color: var(--bq-turquoise-dark);
    box-shadow: inset 0 -1px 0 var(--bq-border);
}

.bq-faq .accordion-button:focus {
    border-color: var(--bq-turquoise);
    box-shadow: 0 0 0 .2rem rgba(0, 155, 169, .16);
}

.bq-faq .accordion-body {
    color: #55666b;
    font-size: 13px;
    line-height: 1.65;
}

/* Habillage de marque : structure et hauteur des cartes fournies par Bootstrap. */
.bq-review-card {
    --bs-card-spacer-y: 22px;
    --bs-card-spacer-x: 22px;
    --bs-card-border-color: var(--bq-border);
    --bs-card-border-radius: 8px;
    --bs-card-bg: #f9fcfc;
}

.bq-review-card blockquote {
    margin: 0;
    color: #55666b;
    font-size: 13px;
    line-height: 1.6;
}

.bq-review-card__stars {
    color: var(--bq-orange);
    font-size: 13px;
    letter-spacing: .1em;
}

.bq-review-card .card-body > p {
    color: var(--bq-ink);
    font-size: 15px;
    font-weight: 800;
}

.bq-footer__inactive-link {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
}

.bq-page {
    display: flex;
    flex-direction: column;
    min-height: 55vh;
    background: var(--bq-page);
}

.bq-page > * {
    min-width: 0;
    order: 3;
}

.bq-page > .bq-page-header {
    order: 1;
}

.bq-page > .bq-breadcrumb,
.bq-page > .bq-container:has(.bq-breadcrumb) {
    order: 2;
}

.bq-breadcrumb {
    display: flex;
    padding: 16px 0;
    color: var(--bq-muted);
    font-size: 12px;
    align-items: center;
    gap: 9px;
}

.bq-breadcrumb a {
    color: var(--bq-action-bg);
    font-weight: 700;
    text-decoration: none;
}

.bq-breadcrumb a:hover,
.bq-breadcrumb a:focus-visible {
    color: var(--bq-action-hover-bg);
    text-decoration: underline;
}

.bq-breadcrumb a:focus-visible {
    outline: 2px solid var(--bq-link-focus, #995000);
    outline-offset: 3px;
}

.bq-breadcrumb i {
    font-size: 8px;
}

.bq-page-header {
    padding: 48px 0;
    border-bottom: 5px solid var(--bq-orange);
    background: var(--bq-hero);
}

.bq-page-header--compact {
    padding-block: 38px;
}

.bq-page-header__eyebrow {
    margin: 0 0 7px;
    color: var(--bq-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bq-page-header h1 {
    max-width: 900px;
    margin: 0;
    color: var(--bq-turquoise);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.025em;
}

.bq-page-header p:last-child {
    max-width: 780px;
    margin: 18px 0 0;
    color: #55666b;
    font-size: 16px;
}

.bq-content-section {
    padding: 54px 0;
}

.bq-content-section--muted {
    background: #e9eeee;
}

.bq-content-section h2 {
    margin: 0 0 16px;
    color: var(--bq-turquoise);
    font-size: 27px;
    font-weight: 800;
}

.bq-content-section h3 {
    color: var(--bq-ink);
    font-size: 17px;
    font-weight: 800;
}

.bq-content-section p {
    color: #55666b;
}

.bq-presentation-book {
    display: block;
    max-width: 960px;
    margin: 38px auto 0;
}

.bq-presentation-book img {
    display: block;
    width: 100%;
    height: auto;
}

.bq-presentation-intro h2 {
    margin-bottom: 20px;
}

.bq-presentation-intro p:last-of-type {
    margin-bottom: 24px;
}

.bq-presentation-cta {
    display: inline-block;
}

.bq-strengths-grid {
    margin-top: 24px;
}

.bq-strength-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.bq-choice picture,
.bq-strength-card picture {
    display: flex;
    justify-content: center;
}

.bq-strength-card img {
    width: 104px;
    height: 104px;
    margin: 0 auto 18px;
    padding: 20px;
    border-radius: 50%;
    background: var(--bq-turquoise);
    object-fit: contain;
}

.bq-strength-card h3 {
    margin: 0;
    color: var(--bq-turquoise);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.bq-strength-card p {
    font-size: 14px;
}

.bq-strength-card__subtitle {
    margin: 4px 0 12px;
    color: var(--bq-orange) !important;
    font-size: 17px !important;
    font-weight: 400;
    letter-spacing: .08em;
    text-align: center;
}

.bq-process-grid {
    margin-top: 24px;
}

.bq-process-card {
    --bs-card-spacer-y: 22px;
    --bs-card-spacer-x: 16px;
    --bs-card-border-color: var(--bq-border);
    --bs-card-border-radius: 9px;
    --bs-card-bg: var(--bq-white);
}

.bq-process-card img {
    width: auto;
    height: 180px;
    margin-bottom: 16px;
    object-fit: contain;
    transform-origin: center;
    animation: bq-process-icon-breathe 5s ease-in-out infinite;
    will-change: transform, filter;
}

.bq-process-card picture {
    display: flex;
    height: 180px;
    justify-content: center;
    align-items: flex-start;
}

.bq-process-card p {
    margin-bottom: 0;
    font-size: 14px;
}

.bq-process-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.bq-process-grid > :nth-child(1) .bq-process-card h3 {
    color: var(--bq-turquoise);
}

.bq-process-grid > :nth-child(2) .bq-process-card h3 {
    color: #24526a;
}

.bq-process-grid > :nth-child(3) .bq-process-card h3 {
    color: #e77868;
}

.bq-process-grid > :nth-child(4) .bq-process-card h3 {
    color: var(--bq-orange);
}

.bq-process-grid > :nth-child(1) .bq-process-card img {
    --bq-process-halo: 0, 155, 169;
    animation-delay: 0s;
}

.bq-process-grid > :nth-child(2) .bq-process-card img {
    --bq-process-halo: 36, 82, 106;
    animation-delay: -.7s;
}

.bq-process-grid > :nth-child(3) .bq-process-card img {
    --bq-process-halo: 231, 120, 104;
    animation-delay: -1.4s;
}

.bq-process-grid > :nth-child(4) .bq-process-card img {
    --bq-process-halo: 245, 143, 0;
    animation-delay: -2.1s;
}

@keyframes bq-process-icon-breathe {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(var(--bq-process-halo), 0));
    }

    50% {
        transform: scale(1.025);
        filter: drop-shadow(0 0 5px rgba(var(--bq-process-halo), .12));
    }
}

@media (prefers-reduced-motion: reduce) {
    .bq-process-card img {
        animation: none;
        filter: none;
        transform: none;
        will-change: auto;
    }
}

@media (hover: hover) and (pointer: fine) {
    .bq-strength-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 24px rgba(30, 72, 78, .13);
    }
}

.bq-card {
    --bs-card-spacer-y: 30px;
    --bs-card-spacer-x: 30px;
    --bs-card-border-color: var(--bq-border);
    --bs-card-border-radius: 10px;
    --bs-card-bg: var(--bq-white);
    box-shadow: 0 6px 18px rgba(30, 72, 78, .07);
}

.bq-compte-card,
.bq-empty-state {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--bq-border);
    border-radius: 10px;
    background: var(--bq-white);
    box-shadow: 0 6px 18px rgba(30, 72, 78, .07);
}

.bq-card h2 {
    font-size: 22px;
}

.bq-anchor-nav {
    display: flex;
    margin-top: 30px;
    padding: 18px;
    border: 1px solid var(--bq-border);
    border-radius: 8px;
    background: var(--bq-white);
    flex-wrap: wrap;
    gap: 10px;
}

.bq-anchor-nav a {
    padding: 7px 11px;
    border-radius: 5px;
    background: #eef9fa;
    color: var(--bq-turquoise-dark);
    font-size: 12px;
    font-weight: 700;
}

.bq-legal-content {
    padding-block: 34px 64px;
    font-size: 15px;
    line-height: 1.75;
}

.bq-legal-draft {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
}

.bq-legal-updated {
    margin: 0 0 24px;
    color: var(--bq-muted);
    font-size: 12px;
}

.bq-legal-summary {
    margin: 0 0 28px;
}

.bq-legal-summary a:hover,
.bq-legal-summary a:focus {
    background: var(--bq-turquoise);
    color: var(--bq-white);
}

.bq-legal-content section {
    margin-bottom: 18px;
    padding: 30px 34px;
    border: 1px solid var(--bq-border);
    border-radius: 9px;
    background: var(--bq-white);
    box-shadow: 0 5px 16px rgba(30, 72, 78, .05);
    scroll-margin-top: 20px;
}

.bq-legal-content h2 {
    margin: 0 0 16px;
    color: var(--bq-turquoise-dark);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.25;
}

.bq-legal-content h3 {
    margin: 25px 0 10px;
    color: var(--bq-ink);
    font-size: 17px;
    font-weight: 800;
}

.bq-legal-content p,
.bq-legal-content li,
.bq-legal-content address,
.bq-legal-content td {
    color: #4d6066;
}

.bq-legal-content p:last-child,
.bq-legal-content address:last-child {
    margin-bottom: 0;
}

.bq-legal-content a {
    color: var(--bq-turquoise-dark);
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bq-legal-content .bq-anchor-nav a {
    text-decoration: none;
}

.bq-legal-content address {
    font-style: normal;
}

.bq-legal-content code {
    color: #7a4300;
    overflow-wrap: anywhere;
}

.bq-legal-warranty {
    margin-top: 24px;
    padding: 24px;
    border: 2px solid var(--bq-turquoise);
    border-radius: 8px;
    background: #f5fbfb;
}

.bq-legal-warranty p,
.bq-legal-warranty li {
    color: var(--bq-ink);
}

.bq-legal-warranty p:last-child {
    margin-bottom: 0;
}

.bq-to-confirm {
    color: #8a4b00 !important;
}

.bq-legal-details {
    margin: 24px 0 0;
    overflow: hidden;
    border: 1px solid var(--bq-border);
    border-radius: 7px;
    background: var(--bq-border);
}

.bq-legal-details > div {
    min-width: 0;
    padding: 12px 15px;
    background: #f7fafa;
}

.bq-legal-details dt {
    color: var(--bq-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.bq-legal-details dd {
    margin: 2px 0 0;
    overflow-wrap: anywhere;
}

.bq-legal-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 24px;
    overflow-x: auto;
    border: 1px solid var(--bq-border);
    border-radius: 7px;
    -webkit-overflow-scrolling: touch;
}

.bq-legal-table {
    min-width: 720px;
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

.bq-legal-table thead th {
    background: var(--bq-turquoise-dark);
    color: var(--bq-white);
    white-space: nowrap;
}

.bq-legal-table tbody th {
    color: var(--bq-ink);
}

.bq-cookie-placeholder {
    border: 2px dashed var(--bq-turquoise) !important;
    background: #f2fbfc !important;
}

.bq-aide-sections {
    padding-block: 32px 54px;
}

.bq-aide-sections .bq-content-section {
    margin-bottom: 16px;
    padding: 28px;
    border: 1px solid var(--bq-border);
    border-radius: 9px;
    background: var(--bq-white);
    scroll-margin-top: 20px;
}

.bq-aide-sections h3 {
    margin-top: 24px;
}

.bq-panier .btn:focus-visible {
    outline: 3px solid var(--bq-turquoise-dark);
    outline-offset: 3px;
}

.bq-panier aside .bq-utilisateur-details div:not(.col) {
    grid-template-columns: minmax(0, 1fr) auto;
}

.bq-panier-liste {
    min-width: 0;
    width: 100%;
}

/* Le détail admin aligne chaque groupe de cartes sur son propre track de grille. */

.bq-commande--admin .bq-commercial-layout__main,
.bq-commande--admin .bq-commercial-layout__aside { display: flex; flex-direction: column; }
.bq-commande--admin .bq-commercial-layout__main { gap: .75rem; }
.bq-commande--admin .bq-commercial-layout__main > .bq-panier-article { flex: 1 0 auto; margin: 0 !important; }
.bq-commande--admin .bq-commercial-layout__aside > .bq-checkout-total { flex: 1 0 auto; }

/* Le détail client étire le total sur la hauteur naturelle des livres de sa ligne. */

.bq-commande--client .bq-commercial-layout__main,
.bq-commande--client .bq-commercial-layout__aside { display: flex; flex-direction: column; }
.bq-commande--client .bq-commercial-layout__main { gap: .75rem; }
.bq-commande--client .bq-commercial-layout__main > .bq-panier-article { flex: 0 0 auto; margin: 0 !important; }
.bq-commande--client .bq-commercial-layout__aside > .bq-checkout-total { flex: 1 0 auto; }

/* Fiches commandes : Bootstrap Collapse, sans hauteur ni défilement interne. */
.bq-commande .bq-commande-accordion {
    --bs-accordion-active-bg: var(--bq-turquoise-light, #eaf7f8);
    --bs-accordion-active-color: var(--bq-ink);
    --bs-accordion-btn-color: var(--bq-ink);
    --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgb(0 127 139 / 22%);
    --bs-accordion-btn-padding-y: .8rem;
    --bs-accordion-btn-padding-x: 1rem;
}
.bq-commande .bq-commande-accordion .accordion-button {
    gap: .5rem;
    flex-wrap: wrap;
    font-weight: 600;
}
.bq-commande .bq-commande-accordion .accordion-button:focus-visible {
    outline: 2px solid var(--bq-turquoise-dark);
    outline-offset: -2px;
}
.bq-commande .bq-commande-accordion .bq-accordion-resume {
    margin-left: auto;
    white-space: normal;
    text-align: left;
}
.bq-commande .bq-commande-accordion .accordion-button:has(.bq-accordion-resume)::after { margin-left: 0; }
.bq-commande .bq-commande-accordion .accordion-body { overflow-wrap: anywhere; }

.bq-commercial-layout .bq-panel,
.bq-panier-article {
    min-width: 0;
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.bq-commercial-layout .bq-panel {
    margin-top: 0;
}

.bq-checkout-progress li span {
    display: block;
    padding: .45rem .75rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 999px;
    color: var(--bs-secondary-color, #6c757d);
    background: var(--bs-body-bg, #fff);
}

.bq-checkout-progress li.is-current span {
    border: 2px solid var(--bq-orange);
    background: #fff5e8;
    color: var(--bq-ink);
    font-weight: 800;
}


.bq-address-choice {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: var(--bs-border-radius, .375rem);
    cursor: pointer;
    background: var(--bs-body-bg, #fff);
}

.bq-address-choice:has(.form-check-input:checked) {
    border-color: var(--bq-orange);
    background: #fff8ef;
    box-shadow: 0 0 0 .15rem rgba(245, 143, 0, .2);
}

.bq-address-choice:has(.form-check-input:focus-visible) {
    outline: 3px solid var(--bq-turquoise-dark);
    outline-offset: 2px;
}

.bq-address-choice .form-check-input {
    flex: 0 0 auto;
    margin-top: .25rem;
}

.bq-address-choice span {
    overflow-wrap: anywhere;
}

.bq-panier-article {
    padding: clamp(22px, 3vw, 30px);
    box-shadow: 0 10px 26px rgba(27, 58, 61, .07);
}

.bq-panier-article__entete {
    display: flex;
    margin-bottom: 22px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.bq-panier-article__entete h2 {
    margin-bottom: 10px;
    font-size: clamp(20px, 2.3vw, 25px);
}

.bq-panier-article__entete > i {
    color: var(--bq-turquoise);
    font-size: 28px;
}

.bq-panier-article__resume {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.bq-panier-article__resume span {
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf8f8;
    color: var(--bq-turquoise-dark);
    font-size: 12px;
    font-weight: 800;
}

.bq-panier-caracteristiques {
    display: grid;
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(22px, 4vw, 42px);
}

.bq-panier-caracteristiques > div {
    display: grid;
    min-width: 0;
    padding: 11px 0;
    border-bottom: 1px solid var(--bq-border);
    grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr);
    gap: 12px;
}

.bq-panier-caracteristiques dt {
    color: var(--bq-muted);
    font-size: 12px;
    font-weight: 700;
}

.bq-panier-caracteristiques dd {
    min-width: 0;
    margin: 0;
    color: var(--bq-ink);
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.bq-panier-prix {
    display: grid;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #d9eded;
    border-radius: 12px;
    background: #f5fbfb;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bq-panier-prix > div {
    display: grid;
    gap: 4px;
}

.bq-panier-prix span {
    color: var(--bq-muted);
    font-size: 12px;
    font-weight: 700;
}

.bq-panier-prix strong {
    color: var(--bq-ink);
    font-size: 17px;
}

.bq-panier-prix__ttc {
    padding-left: 16px;
    border-left: 1px solid #cde5e5;
}

.bq-panier-prix__ttc strong {
    color: var(--bq-turquoise-dark);
    font-size: 21px;
}

.bq-panier-logistique {
    margin: 12px 0 0;
    color: var(--bq-muted);
    font-size: 12px;
}

.bq-panier-logistique i {
    margin-right: 5px;
    color: var(--bq-turquoise);
}

.bq-panier-article__actions {
    border-top: 1px solid var(--bq-border);
}

.bq-panier-total {
    position: sticky;
    top: 24px;
}

.bq-panier-total .bq-total-ttc,
.bq-checkout-total .bq-total-ttc,
.bq-order-confirmation .bq-total-ttc {
    padding-top: 14px;
    border-top: 2px solid #f5d3a3;
}

.bq-panier-total .bq-total-ttc dt,
.bq-checkout-total .bq-total-ttc dt,
.bq-order-confirmation .bq-total-ttc dt {
    color: var(--bq-ink);
    font-weight: 800;
}

.bq-panier-total .bq-total-ttc dd strong,
.bq-checkout-total .bq-total-ttc dd strong,
.bq-order-confirmation .bq-total-ttc dd strong {
    color: var(--bq-turquoise-dark);
    font-size: 1.25rem;
    line-height: 1.2;
}

.bq-checkout-total .bq-utilisateur-details div:not(.col) {
    grid-template-columns: minmax(0, 1fr) auto;
}


.bq-compte-page .bq-panel,
.bq-commande .bq-panel,
.bq-admin-page .bq-panel {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.bq-order-confirmation {
    max-width: 100%;
}

@media (min-width: 992px) {
    .bq-checkout-total {
        position: sticky;
        top: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .bq-checkout-total {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .bq-summary__price {
        margin-inline: 16px;
        align-items: flex-start;
        flex-direction: column;
    }

    .bq-summary__price > span {
        font-size: 15px;
    }

    .bq-summary__price strong {
        font-size: 27px;
    }

}

.bq-modal-panier .modal-header {
    border-bottom-color: var(--bq-border);
}

.bq-modal-panier .modal-title i {
    margin-right: 5px;
    color: var(--bq-turquoise);
}

.bq-modal-panier__resume {
    display: flex;
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 9px;
    background: #f5fbfb;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

@media (max-width: 991.98px) {


    .bq-panier-total {
        position: static;
    }
}



@media (max-width: 575.98px) {
    .bq-panier-article__entete > i {
        display: none;
    }

    .bq-panier-caracteristiques,
    .bq-panier-prix {
        grid-template-columns: minmax(0, 1fr);
    }

    .bq-panier-prix__ttc {
        padding: 12px 0 0;
        border-top: 1px solid #cde5e5;
        border-left: 0;
    }

    .bq-panier-article__actions .btn,
    .bq-panier-article__actions form {
        width: 100%;
    }

    .bq-panier-article__actions form .btn {
        width: 100%;
    }

    .bq-modal-panier .modal-footer {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .bq-modal-panier .modal-footer .btn {
        width: 100%;
    }
}

.bq-empty-state {
    padding-block: 52px;
    text-align: center;
}

.bq-empty-state > i {
    margin-bottom: 18px;
    color: var(--bq-turquoise);
    font-size: 40px;
}

.bq-empty-state h2 {
    font-size: 25px;
}

.bq-compte-card h2 {
    margin-bottom: 24px;
}

.bq-compte-card .form-label {
    color: var(--bq-ink);
    font-size: 13px;
    font-weight: 800;
}

.bq-compte-card .form-control:focus {
    border-color: var(--bq-turquoise);
    box-shadow: 0 0 0 .2rem rgba(0, 155, 169, .16);
}

.bq-compte-card a {
    color: var(--bq-turquoise-dark);
    font-size: 12px;
}

.bq-contact-alert {
    max-width: 820px;
    margin: 0 0 24px;
}

.bq-contact-form-card,
.bq-contact-details {
    --bs-card-spacer-y: 30px;
    --bs-card-spacer-x: 30px;
    --bs-card-border-color: var(--bq-border);
    --bs-card-border-radius: 10px;
    --bs-card-bg: var(--bq-white);
    box-shadow: 0 6px 18px rgba(30, 72, 78, .07);
}

.bq-contact-form-card__heading {
    margin-bottom: 24px;
}

.bq-contact-form-card h2,
.bq-contact-details h2 {
    margin: 0 0 9px;
    color: var(--bq-turquoise-dark);
    font-size: 24px;
    font-weight: 800;
}

.bq-contact-form-card__heading p {
    margin: 0;
    color: var(--bq-muted);
    font-size: 12px;
}

.bq-contact-form-card .form-label {
    color: var(--bq-ink);
    font-size: 13px;
    font-weight: 800;
}

.bq-contact-optional {
    color: var(--bq-muted);
    font-size: 10px;
    font-weight: 500;
}

.bq-contact-form-card .form-control:focus,
.bq-contact-form-card .form-select:focus {
    border-color: var(--bq-turquoise);
    box-shadow: 0 0 0 .2rem rgba(0, 155, 169, .16);
}

.bq-contact-form-card textarea {
    resize: vertical;
}

.bq-contact-privacy {
    margin: 22px 0 17px;
    color: var(--bq-muted);
    font-size: 11px;
    line-height: 1.55;
}

.bq-contact-privacy a,
.bq-contact-details a {
    color: var(--bq-turquoise-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bq-contact-details {
    border-top: 4px solid var(--bq-turquoise);
}

.bq-contact-detail {
    display: flex;
    margin: 0;
    padding: 19px 0;
    border-bottom: 1px solid var(--bq-border);
    color: #4d6066;
    align-items: flex-start;
    gap: 14px;
}

.bq-contact-detail:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.bq-contact-detail > i {
    width: 20px;
    margin-top: 4px;
    color: var(--bq-orange);
    font-size: 17px;
    text-align: center;
}

.bq-contact-detail strong {
    color: var(--bq-ink);
}

.bq-form-notice {
    margin: 16px 0 0;
    color: var(--bq-muted) !important;
    font-size: 11px;
}

.bq-product {
    padding: 58px 0 66px;
    background: var(--bq-page);
}

.bq-tabs {
    border-bottom: 3px solid var(--bq-turquoise);
    justify-content: center;
}

.bq-tabs .nav-link {
    min-width: 210px;
    padding: 14px 23px;
    border: 0;
    border-radius: 6px 6px 0 0;
    color: var(--bq-ink);
    font-size: 15px;
    font-weight: 800;
}

.bq-tabs .nav-link:hover,
.bq-tabs .nav-link:focus {
    color: var(--bq-turquoise);
}

.bq-tabs .nav-link.active {
    background: var(--bq-turquoise);
    color: var(--bq-white);
}

.bq-tab-content {
    min-height: 340px;
    padding: 46px 58px;
    background: var(--bq-white);
}

.bq-tab-content h2 {
    margin-bottom: 18px;
    color: var(--bq-turquoise);
    font-size: 27px;
    font-weight: 800;
}

.bq-tab-content p {
    color: #55666b;
}

.bq-tab-placeholder {
    margin: 0;
    padding: 54px 0;
    text-align: center;
}

.bq-product__image {
    width: 100%;
    max-width: 330px;
    height: auto;
    aspect-ratio: 5 / 4;
    border-radius: 4px;
    object-fit: cover;
}

.bq-benefits {
    background: var(--bq-turquoise);
    color: var(--bq-white);
}

.bq-benefit {
    display: flex;
    min-height: 170px;
    padding: 30px 23px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.bq-benefit + .bq-benefit::before {
    position: absolute;
    top: 15%;
    bottom: 15%;
    left: 0;
    width: 1px;
    background: rgba(255, 255, 255, .25);
    content: "";
}

.bq-benefit img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.bq-benefit p {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

.bq-benefit strong {
    color: var(--bq-white);
    font-size: 17px;
}

.bq-footer {
    background: #27373d;
    color: rgba(255, 255, 255, .72);
}

.bq-footer__main {
    padding: 54px 0 42px;
}

.bq-footer__logo {
    display: block;
    width: 225px;
    height: 87px;
    object-fit: contain;
    object-position: left center;
}

.bq-footer__social-title {
    margin: 9px 0 13px;
    font-size: 12px;
}

.bq-socials a {
    display: grid;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    color: var(--bq-white);
    font-size: 12px;
    font-weight: 800;
    place-items: center;
}

.bq-footer h2 {
    margin: 12px 0 16px;
    color: var(--bq-white);
    font-size: 15px;
    font-weight: 800;
}

.bq-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bq-footer li + li {
    margin-top: 7px;
}

.bq-footer a {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
}

.bq-footer a:hover,
.bq-footer a:focus {
    color: var(--bq-orange);
}

/* L'état vide du panier doit grandir avec son contenu, sans étirer sa
   hauteur à celle de la colonne qui contient aussi les étapes et sa marge. */
.bq-panier .bq-empty-state {
    height: auto;
}

.bq-socials a:focus-visible {
    outline: 2px solid var(--bq-white);
    outline-offset: 3px;
    color: var(--bq-orange);
}

.bq-footer__cookie-button {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .7);
    font-family: inherit;
    font-size: 12px;
    text-align: left;
}

.bq-footer__cookie-button:hover,
.bq-footer__cookie-button:focus {
    color: var(--bq-orange);
}

.bq-consent-banner {
    position: fixed;
    right: 22px;
    bottom: 22px;
    left: 22px;
    z-index: 1045;
    max-width: 1120px;
    margin-inline: auto;
    padding: 20px 22px;
    border: 1px solid rgba(0, 127, 139, .35);
    border-top: 4px solid var(--bq-turquoise);
    border-radius: 10px;
    background: var(--bq-white);
    box-shadow: 0 12px 38px rgba(22, 50, 57, .24);
}

.bq-consent-banner[hidden] {
    display: none;
}

.bq-consent-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.bq-consent-banner__copy {
    max-width: 600px;
}

.bq-consent-banner h2 {
    margin: 0 0 5px;
    color: var(--bq-turquoise-dark);
    font-size: 19px;
    font-weight: 800;
}

.bq-consent-banner p {
    margin: 0;
    color: #4d6066;
    font-size: 13px;
    line-height: 1.5;
}

.bq-consent-actions,
.bq-consent-modal__actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.bq-consent-banner button:focus-visible,
.bq-consent-modal button:focus-visible,
.bq-consent-modal a:focus-visible,
.bq-footer__cookie-button:focus-visible {
    outline: 3px solid rgba(245, 143, 0, .65);
    outline-offset: 3px;
}

.bq-consent-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-top: 5px solid var(--bq-turquoise);
    border-radius: 10px;
    box-shadow: 0 16px 48px rgba(22, 50, 57, .25);
}

.bq-consent-modal .modal-header {
    padding: 23px 26px 16px;
    border-bottom: 1px solid var(--bq-border);
}

.bq-consent-modal__eyebrow {
    margin: 0 0 3px;
    color: var(--bq-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bq-consent-modal .modal-title {
    color: var(--bq-turquoise-dark);
    font-size: 24px;
    font-weight: 800;
}

.bq-consent-modal .modal-body {
    padding: 22px 26px;
    color: #4d6066;
    font-size: 13px;
}

.bq-consent-category {
    display: grid;
    padding: 18px 0;
    border-bottom: 1px solid var(--bq-border);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.bq-consent-category h3 {
    margin: 0 0 5px;
    color: var(--bq-ink);
    font-size: 16px;
    font-weight: 800;
}

.bq-consent-category p {
    margin: 0;
    line-height: 1.45;
}

.bq-consent-category .bq-consent-provider {
    margin-top: 5px;
    color: var(--bq-muted);
    font-size: 11px;
}

.bq-consent-category .form-check {
    min-width: 150px;
}

.bq-consent-category .form-check-input {
    width: 2.7em;
    height: 1.35em;
    margin-right: 7px;
    cursor: pointer;
}

.bq-consent-category .form-check-input:checked {
    border-color: var(--bq-turquoise);
    background-color: var(--bq-turquoise);
}

.bq-consent-category .form-check-input:focus {
    border-color: var(--bq-turquoise);
    box-shadow: 0 0 0 .2rem rgba(0, 155, 169, .2);
}

.bq-consent-category .form-check-input:disabled {
    cursor: not-allowed;
    opacity: .75;
}

.bq-consent-category .form-check-label {
    color: var(--bq-ink);
    font-size: 11px;
    font-weight: 700;
}

.bq-consent-policy-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--bq-turquoise-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bq-consent-modal__actions {
    padding: 17px 26px 22px;
    border-top: 1px solid var(--bq-border);
    justify-content: space-between;
}

.bq-footer__legal-links {
    columns: 1;
}

.bq-footer__orange-line {
    min-height: 34px;
    padding-block: 6px;
    background: var(--bq-orange);
    color: var(--bq-white);
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
}

.bq-footer__orange-line .bq-container {
    min-height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1199.98px) {
    .bq-navbar .nav-link {
        padding-inline: 7px;
        font-size: 12px;
    }

    .bq-navbar__brand {
        width: 190px;
    }
}

@media (max-width: 991.98px) {
    .bq-navbar {
        padding: 8px 0;
    }

    .bq-navbar > .bq-container {
        flex-wrap: wrap;
    }

    .bq-navbar__brand {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .bq-navbar__toggler {
        display: flex;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0;
        border-radius: 6px;
        justify-content: center;
        align-items: center;
    }

    .bq-navbar__toggler:focus-visible {
        outline: 2px solid var(--bq-orange);
        outline-offset: 2px;
    }

    .bq-navbar__toggler:focus {
        box-shadow: none;
    }

    .bq-navbar .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
    }

    .bq-navbar__menu {
        width: 100%;
        padding: 12px 0;
        border-top: 1px solid rgba(255, 255, 255, .25);
        align-items: stretch !important;
    }

    .bq-navbar .nav-link,
    .bq-navbar .bq-navbar__cart {
        min-height: auto;
        margin: 0;
        padding: 7px 14px;
    }

    .bq-navbar .nav-link {
        display: block;
        width: 100%;
        text-align: left;
    }

    .bq-navbar .nav-link.active:not(.bq-navbar__cart)::after {
        right: auto;
        bottom: 3px;
        left: 14px;
        width: 30px;
    }

    .bq-navbar .bq-navbar__cart {
        display: inline-flex;
        width: fit-content;
        min-height: 36px;
        height: 36px;
        margin: 8px 14px;
        padding: 0 18px;
        justify-content: center;
        gap: 7px;
    }

    .bq-benefit:nth-child(3)::before {
        display: none;
    }

    .bq-consent-banner__content {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .bq-consent-actions .btn {
        flex: 1 1 0;
    }
}

@media (min-width: 992px) {
    .bq-summary {
        position: sticky;
        top: 24px;
    }
}

@media (max-width: 767.98px) {


    .bq-hero__content {
        padding: 40px 20px;
    }

    .bq-hero__visual {
        height: 240px;
        min-height: 0;
    }

    .bq-file-zone {
        align-items: flex-start;
        flex-direction: column;
    }

    .bq-tabs {
        border-bottom: 0;
        gap: 4px;
        flex-direction: column;
    }

    .bq-tabs .nav-link {
        width: 100%;
        border-radius: 5px;
    }

    .bq-tab-content {
        padding: 32px 24px;
    }

    .bq-page-header {
        padding-block: 36px;
    }

    .bq-content-section {
        padding-block: 40px;
    }

    .bq-aide-sections .bq-content-section {
        padding: 22px;
    }

    .bq-legal-content {
        padding-block: 24px 42px;
    }

    .bq-legal-content section {
        padding: 23px 20px;
    }

    .bq-legal-content h2 {
        font-size: 21px;
    }

    .bq-legal-warranty {
        padding: 18px;
    }

    .bq-legal-summary {
        padding: 14px;
        gap: 8px;
    }

    .bq-legal-summary a {
        padding: 7px 9px;
    }


    .bq-card,
    .bq-contact-form-card,
    .bq-contact-details {
        --bs-card-spacer-y: 24px;
        --bs-card-spacer-x: 24px;
    }

    .bq-compte-card,
    .bq-empty-state {
        padding: 24px;
    }

    .bq-process-card img {
        height: 140px;
    }

    .bq-process-card picture {
        height: 140px;
    }

    .bq-benefit {
        min-height: 150px;
        padding: 22px 12px;
        flex-direction: column;
        text-align: center;
    }

    .bq-benefit:nth-child(odd)::before {
        display: none;
    }

    .bq-consent-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
        max-height: calc(100vh - 24px);
        padding: 17px;
        overflow-y: auto;
    }

    .bq-consent-banner h2 {
        font-size: 17px;
    }

    .bq-consent-category {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bq-consent-modal .modal-header,
    .bq-consent-modal .modal-body,
    .bq-consent-modal__actions {
        padding-inline: 19px;
    }

    .bq-consent-modal__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bq-consent-modal__actions .btn {
        width: 100%;
    }

}

@media (max-width: 575.98px) {
    .bq-consent-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .bq-consent-actions .btn {
        width: 100%;
    }
}

@media (max-width: 419.98px) {
    /* Les choix illustrés gardent leur seuil de lisibilité historique ; grille Bootstrap. */
    .bq-choices-paired > .col { width: 100%; }
}

@media (max-width: 359.98px) {
    .bq-choices-formats > .col { width: 100%; }
}

/* Espace membre et administration */
.bq-header__logout {
    margin: 0;
}

.bq-header__logout button {
    padding: 0;
    border: 0;
    background: transparent;
}

.bq-auth-section {
    padding: 36px 0 72px;
}

.bq-auth-card {
    --bs-card-spacer-y: 32px;
    --bs-card-spacer-x: 32px;
    --bs-card-border-color: var(--bq-border);
    --bs-card-border-radius: 16px;
    --bs-card-bg: var(--bq-white);
    max-width: 560px;
    margin-inline: auto;
    box-shadow: 0 14px 34px rgba(27, 58, 61, .08);
}

.bq-panel,
.bq-admin-panel {
    max-width: 560px;
    margin-inline: auto;
    padding: 32px;
    border: 1px solid var(--bq-border);
    border-radius: 16px;
    background: var(--bq-white);
    box-shadow: 0 14px 34px rgba(27, 58, 61, .08);
}

.bq-auth-card--wide {
    max-width: 760px;
}

.bq-auth-card__heading {
    margin-bottom: 24px;
    text-align: center;
}

.bq-auth-card__heading h1,
.bq-auth-card__heading h2 {
    margin: 12px 0 6px;
    color: var(--bq-turquoise-dark);
    font-size: clamp(25px, 4vw, 34px);
}

.bq-auth-card__heading p,
.bq-auth-card__footer,
.bq-dashboard-card small {
    color: var(--bq-muted);
}

.bq-auth-icon {
    display: inline-grid;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 155, 169, .12);
    color: var(--bq-turquoise-dark);
    font-size: 21px;
    place-items: center;
}

.bq-auth-links {
    margin: -4px 0 20px;
    text-align: right;
}

.bq-auth-card__footer {
    margin: 24px 0 0;
    text-align: center;
}

.bq-auth-card a:not(.btn):not(.dropdown-item),
.bq-panel a:not(.btn):not(.dropdown-item),
.bq-admin-page a:not(.btn):not(.dropdown-item) {
    color: var(--bq-turquoise-dark);
    font-weight: 700;
}

.bq-auth-card a:not(.btn):not(.dropdown-item):hover,
.bq-auth-card a:not(.btn):not(.dropdown-item):focus,
.bq-panel a:not(.btn):not(.dropdown-item):hover,
.bq-panel a:not(.btn):not(.dropdown-item):focus,
.bq-admin-page a:not(.btn):not(.dropdown-item):hover,
.bq-admin-page a:not(.btn):not(.dropdown-item):focus {
    color: var(--bq-orange-dark);
    text-decoration: underline;
}

.form-control:focus,
.form-select:focus,
.bq-compte-nav a:focus-visible,
.bq-dashboard-card:focus-visible,
.bq-admin-header a:focus-visible,
.bq-admin-header button:focus-visible {
    border-color: var(--bq-turquoise);
    box-shadow: 0 0 0 .25rem rgba(0, 155, 169, .22);
    outline: 2px solid transparent;
}

.bq-compte-nav {
    display: flex;
    margin: 26px 0 12px;
    padding: 8px;
    border: 1px solid var(--bq-border);
    border-radius: 12px;
    background: var(--bq-white);
    flex-wrap: wrap;
    gap: 5px;
}

.bq-compte-nav a {
    padding: 10px 13px;
    border-radius: 8px;
    color: var(--bq-ink);
    font-weight: 700;
}

.bq-compte-nav a:hover,
.bq-compte-nav a:focus,
.bq-compte-nav a.active {
    background: var(--bq-turquoise);
    color: var(--bq-white);
}

.bq-compte-nav i {
    margin-right: 7px;
}

.bq-compte-content {
    width: 100%;
    margin-top: 28px;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--bq-border);
    border-radius: 16px;
    background: var(--bq-white);
    box-shadow: 0 14px 34px rgba(27, 58, 61, .08);
}

.bq-compte-form {
    max-width: 820px;
}

.bq-compte-content .bq-empty-state {
    margin-top: 0;
    padding-inline: 0;
    border: 0;
    box-shadow: none;
}

.bq-compte-content > .row {
    margin-top: 0;
}

.bq-dashboard-card {
    display: flex;
    min-height: 132px;
    height: 100%;
    padding: 24px;
    border: 1px solid var(--bq-border);
    border-radius: 14px;
    background: var(--bq-white);
    color: var(--bq-ink);
    align-items: center;
    gap: 18px;
    box-shadow: 0 10px 24px rgba(27, 58, 61, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.bq-dashboard-card:hover,
.bq-dashboard-card:focus {
    color: var(--bq-ink);
    transform: translateY(-3px);
    box-shadow: 0 15px 28px rgba(27, 58, 61, .11);
}

.bq-dashboard-card > i {
    color: var(--bq-orange);
    font-size: 28px;
}

.bq-dashboard-card strong,
.bq-dashboard-card small {
    display: block;
}

.bq-panel {
    max-width: 820px;
    margin-top: 28px;
}

.bq-panel h2 {
    margin-bottom: 22px;
    color: var(--bq-turquoise-dark);
    font-size: 23px;
}

.bq-empty-state {
    margin-top: 28px;
    padding: 52px 24px;
    border: 1px dashed #b6c8ca;
    border-radius: 14px;
    background: var(--bq-white);
    text-align: center;
}

.bq-empty-state > i {
    margin-bottom: 14px;
    color: var(--bq-orange);
    font-size: 34px;
}

.bq-empty-state h2 {
    color: var(--bq-turquoise-dark);
    font-size: 22px;
}

.bq-admin-header {
    border-bottom: 4px solid var(--bq-orange);
    background: linear-gradient(105deg, var(--bq-turquoise-dark), var(--bq-turquoise) 68%, #078d98);
}

.bq-admin-header__inner {
    display: flex;
    min-height: 104px;
    padding-block: 12px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.bq-admin-brand {
    display: flex;
    min-width: 215px;
    color: var(--bq-white);
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.bq-admin-brand:hover,
.bq-admin-brand:focus-visible {
    color: var(--bq-white);
    text-decoration: none;
}

.bq-admin-brand img {
    width: 132px;
    height: auto;
}

.bq-admin-brand__label {
    display: flex;
    padding-left: 12px;
    border-left: 2px solid var(--bq-orange);
    flex-direction: column;
    line-height: 1.15;
}

.bq-admin-brand__eyebrow {
    color: rgba(255, 255, 255, .82);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bq-admin-brand__label strong {
    color: var(--bq-white);
    font-size: 16px;
    font-weight: 800;
}

.bq-admin-toggler {
    border-color: rgba(255, 255, 255, .72);
    color: var(--bq-white);
}

.bq-admin-toggler .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.bq-admin-navigation {
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bq-admin-nav-main,
.bq-admin-nav-utility {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 3px;
}

.bq-admin-nav-utility {
    margin-left: auto;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, .45);
}

.bq-admin-header .bq-admin-nav-link,
.bq-admin-header .bq-admin-utility-link,
.bq-admin-header .bq-admin-logout {
    display: block;
    padding: 9px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--bq-white);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}

.bq-admin-header .bq-admin-nav-link:hover,
.bq-admin-header .bq-admin-nav-link:focus-visible,
.bq-admin-header .bq-admin-nav-link.active,
.bq-admin-header .bq-admin-utility-link:hover,
.bq-admin-header .bq-admin-utility-link:focus-visible,
.bq-admin-header .bq-admin-logout:hover,
.bq-admin-header .bq-admin-logout:focus-visible {
    background: rgba(255, 255, 255, .16);
    color: var(--bq-white);
    text-decoration: none;
}

.bq-admin-header .bq-admin-nav-link.active {
    box-shadow: inset 0 -2px 0 var(--bq-orange);
}

.bq-admin-management.is-active > .bq-admin-nav-link {
    background: rgba(255, 255, 255, .1);
}

.bq-admin-management .dropdown-menu {
    min-width: 240px;
    margin-top: 8px;
    padding: 7px;
    border: 1px solid rgba(0, 127, 139, .16);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(20, 54, 58, .18);
}

.bq-admin-management .dropdown-item {
    padding: 9px 11px;
    border-radius: 6px;
    color: var(--bq-ink);
    font-weight: 650;
}

.bq-admin-management .dropdown-item:hover,
.bq-admin-management .dropdown-item:focus-visible,
.bq-admin-management .dropdown-item.active {
    background: #e6f4f5;
    color: var(--bq-turquoise-dark);
}

.bq-admin-management .dropdown-item.active {
    box-shadow: inset 3px 0 0 var(--bq-orange);
}

.bq-admin-nav-utility form {
    margin: 0;
}

.bq-admin-header .bq-admin-utility-link--site i {
    margin-right: 6px;
    font-size: 12px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .bq-admin-brand {
        min-width: 190px;
        gap: 8px;
    }

    .bq-admin-brand img {
        width: 112px;
    }

    .bq-admin-brand__label {
        padding-left: 8px;
    }

    .bq-admin-brand__label strong {
        font-size: 14px;
    }

    .bq-admin-header .bq-admin-nav-link,
    .bq-admin-header .bq-admin-utility-link,
    .bq-admin-header .bq-admin-logout {
        padding-inline: 7px;
        font-size: 12px;
    }
}

.bq-admin-page {
    min-height: 65vh;
    padding: 42px 0 72px;
}

.bq-admin-logs-output {
    min-width: 0;
    min-height: 12rem;
    max-height: 60vh;
    overflow: auto;
    overscroll-behavior: contain;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .825rem;
    line-height: 1.5;
}

.bq-admin-title {
    display: flex;
    margin-bottom: 28px;
    justify-content: space-between;
    align-items: flex-end;
}

.bq-admin-title p {
    margin: 0 0 3px;
    color: var(--bq-orange-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bq-admin-title h1 {
    margin: 0;
    color: var(--bq-turquoise-dark);
}

.bq-admin-kpi {
    display: flex;
    min-height: 130px;
    padding: 28px;
    border-radius: 14px;
    background: var(--bq-turquoise);
    color: var(--bq-white);
    align-items: center;
    gap: 22px;
    box-shadow: 0 12px 28px rgba(0, 127, 139, .2);
}

.bq-admin-kpi--orange {
    background: var(--bq-orange);
    box-shadow: 0 12px 28px rgba(220, 128, 0, .18);
}

.bq-admin-kpi i {
    font-size: 34px;
    opacity: .88;
}

.bq-admin-kpi strong,
.bq-admin-kpi span {
    display: block;
}

.bq-admin-kpi strong {
    font-size: 34px;
    line-height: 1;
}

.bq-admin-panel {
    max-width: none;
    margin-top: 28px;
}

.bq-admin-panel__heading {
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.bq-admin-panel h2 {
    margin: 0 0 20px;
    color: var(--bq-turquoise-dark);
    font-size: 22px;
}

.bq-admin-panel__heading h2 {
    margin: 0;
}

.bq-admin-panel td small {
    display: block;
    color: var(--bq-muted);
}

.bq-admin-search {
    display: flex;
    max-width: 680px;
    margin-bottom: 24px;
    gap: 10px;
}

.bq-badge {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 999px;
    background: #e6f4f5;
    color: var(--bq-turquoise-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: capitalize;
}

.bq-badge--desactive {
    background: #f1e6e6;
    color: #963d3d;
}

.bq-badge--actif {
    background: #e3f4e9;
    color: #277643;
}

.bq-pagination {
    margin-top: 24px;
}

.bq-pagination .pagination {
    margin-bottom: 0;
    justify-content: center;
}

.bq-utilisateur-details {
    margin: 0;
}

.bq-utilisateur-details div:not(.col) {
    display: grid;
    padding: 12px 0;
    border-bottom: 1px solid var(--bq-border);
    grid-template-columns: 170px 1fr;
    gap: 16px;
}

.bq-utilisateur-details dt {
    color: var(--bq-muted);
}

.bq-utilisateur-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.bq-badge--brouillon {
    background: #fff1d9;
    color: #8a5300;
}

.bq-badge--publie {
    background: #e3f4e9;
    color: #277643;
}

.bq-badge--abandonne {
    background: #f1e6e6;
    color: #963d3d;
}




.bq-tariff-summary .bq-utilisateur-details dd {
    margin-top: 4px;
    font-weight: 700;
}


.bq-tariff-layout > * {
    min-width: 0;
    max-width: 100%;
}

.bq-tariff-nav {
    position: sticky;
    top: 18px;
    display: grid;
    min-width: 0;
    max-width: 100%;
    padding: 12px;
    border: 1px solid var(--bq-border);
    border-radius: 14px;
    background: var(--bq-white);
    gap: 3px;
}

.bq-tariff-nav a {
    padding: 9px 12px;
    border-radius: 7px;
    color: var(--bq-ink);
    font-size: 14px;
    font-weight: 700;
}

.bq-tariff-nav a:hover,
.bq-tariff-nav a:focus-visible,
.bq-tariff-nav a.active {
    background: #e6f4f5;
    color: var(--bq-turquoise-dark);
    text-decoration: none;
}

.bq-tariff-editeur {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    margin-top: 0;
}

.bq-tariff-editeur form,
.bq-tariff-editeur fieldset {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.bq-tariff-editeur fieldset {
    min-inline-size: 0;
}

.bq-tariff-editeur h3 {
    margin: 24px 0 14px;
    color: var(--bq-turquoise-dark);
    font-size: 18px;
}

.bq-tariff-table-scroll,
.bq-tariff-editeur .table-responsive {
    width: 100%;
    max-width: 100%;
    padding-bottom: 5px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

.bq-tariff-table-scroll > .table,
.bq-tariff-editeur .table-responsive > .table {
    min-width: 680px;
    margin-bottom: 0;
}

.bq-tariff-table {
    min-width: 900px;
}

.bq-tariff-table .form-control {
    min-width: 110px;
}

.bq-tariff-table td:nth-child(2) .form-control {
    min-width: 220px;
}

.bq-tariff-new-row {
    background: #f7fbfb;
}

.bq-tariff-actions {
    display: flex;
    margin-top: 24px;
    align-items: center;
    gap: 16px;
}

.bq-tariff-actions span {
    color: var(--bq-muted);
    font-size: 13px;
}

.bq-tariff-card {
    display: flex;
    min-height: 96px;
    padding: 20px;
    border-radius: 12px;
    background: #eef8f8;
    flex-direction: column;
    justify-content: center;
}

.bq-tariff-card strong {
    color: var(--bq-turquoise-dark);
    font-size: 30px;
}

@media (max-width: 991.98px) {
    .bq-admin-header__inner {
        padding-block: 12px;
    }

    .bq-admin-navigation {
        width: 100%;
        padding-top: 12px;
    }

    .bq-admin-nav-main,
    .bq-admin-nav-utility {
        align-items: stretch;
        flex-direction: column;
    }

    .bq-admin-nav-utility {
        margin: 8px 0 0;
        padding: 8px 0 0;
        border-top: 1px solid rgba(255, 255, 255, .45);
        border-left: 0;
    }

    .bq-admin-management .dropdown-menu {
        position: static !important;
        width: 100%;
        margin: 4px 0 8px;
        transform: none !important;
    }

    .bq-admin-header .bq-admin-nav-link,
    .bq-admin-header .bq-admin-utility-link,
    .bq-admin-header .bq-admin-logout {
        width: 100%;
    }



    .bq-tariff-nav {
        position: static;
        display: flex;
        width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-gutter: stable;
        white-space: nowrap;
    }
}

@media (max-width: 767.98px) {
    .bq-header__top-content {
        padding-block: 8px;
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .bq-auth-section,
    .bq-admin-page {
        padding-block: 24px 48px;
    }

    .bq-auth-card {
        --bs-card-spacer-y: 24px;
        --bs-card-spacer-x: 20px;
    }

    .bq-panel,
    .bq-admin-panel {
        padding: 24px 20px;
    }

    .bq-compte-nav {
        flex-direction: column;
    }

    .bq-compte-nav a {
        width: 100%;
    }

    .bq-compte-content {
        padding: 24px 20px;
    }

    .bq-admin-search,
    .bq-admin-panel__heading {
        align-items: stretch;
        flex-direction: column;
    }

    .bq-admin-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .bq-utilisateur-details div:not(.col) {
        grid-template-columns: 1fr;
        gap: 2px;
    }


    .bq-tariff-editeur,
    .bq-tariff-layout,
    .bq-admin-page .alert {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .bq-tariff-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .bq-header__register-link {
        display: none;
    }

    .bq-admin-brand {
        min-width: 0;
        gap: 8px;
    }

    .bq-admin-brand img {
        width: 112px;
    }

    .bq-admin-brand__label {
        padding-left: 8px;
    }

    .bq-admin-brand__label strong {
        font-size: 14px;
    }

}
.bq-publication-jump {
    margin-bottom: 1.5rem;
    position: sticky;
    top: .75rem;
    z-index: 5;
}
.bq-publication-jump a { white-space: nowrap; }
.bq-publication-controls {
    min-width: 0;

    overflow-x: clip;
    overflow-wrap: anywhere;
}
.bq-publication-controls section {
    min-width: 0;
    max-width: 100%;
    scroll-margin-top: 6rem;
}
.bq-publication-controls .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}
.bq-publication-controls .row > * { min-width: 0; }
.bq-ref-detail > td { border-top: 0; }
.bq-statut-badge {
    display: inline-block;
    max-width: 18rem;
    padding: .4em .65em;
    border: 1px solid rgb(0 0 0 / 12%);
    border-radius: .45rem;
    font-size: .8rem;
    line-height: 1.35;
    white-space: normal;
    text-align: left;
    vertical-align: middle;
}
.bq-table-commandes th, .bq-table-commandes td { padding: .7rem .6rem; }
.bq-table-commandes th:first-child, .bq-table-commandes td:first-child { padding-left: 1rem; }
.bq-commandes-client { min-width: 10rem; max-width: 15rem; overflow-wrap: normal; }
.bq-couleur-formulaire { min-width: 16rem; }
.bq-couleur-hex { width: 6.5rem; font-family: monospace; }
.bq-admin-page .page-link { text-decoration: none !important; }
.bq-commande .row > *, .bq-admin-page .row > * { min-width: 0; }
.bq-commande .table-responsive, .bq-admin-page .table-responsive { position: relative; max-width: 100%; }
.bq-commande .table-responsive:focus-visible, .bq-admin-page .table-responsive:focus-visible {
    outline: 3px solid var(--bq-orange, #f58f1e);
    outline-offset: -3px;
}
.bq-paiement-informations { overflow-wrap: anywhere; }
/* Pagination et contrôles du module Commandes ; les CTA utilisent les variantes communes. */
.bq-commandes-pagination .pagination {
    --bs-pagination-color: var(--bq-turquoise-dark);
    --bs-pagination-hover-color: #005b65;
    --bs-pagination-hover-bg: #e8f4f5;
    --bs-pagination-focus-color: #005b65;
    --bs-pagination-focus-bg: #e8f4f5;
    --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgb(0 127 139 / 25%);
    --bs-pagination-active-bg: var(--bq-orange);
    --bs-pagination-active-border-color: var(--bq-orange);
    --bs-pagination-active-color: var(--bq-ink);
}
.bq-commandes-pagination .page-link:focus-visible { outline: 2px solid var(--bq-turquoise-dark); outline-offset: 2px; }
.bq-commandes-table-responsive { height: auto; max-height: none; overflow-x: auto; overflow-y: hidden; }
.bq-table-commandes th, .bq-table-commandes td { vertical-align: middle; }
.bq-table-commandes .text-end { font-variant-numeric: tabular-nums; }
.bq-commande-gestion form { margin-bottom: 0; }
.bq-table-statuts th, .bq-table-statuts td { padding: .7rem .6rem; vertical-align: middle; }
.bq-table-statuts .bq-couleur-formulaire { min-width: 17.5rem; flex-wrap: nowrap !important; }
.bq-table-statuts .bq-couleur-formulaire > .form-control { flex-shrink: 0; }
.bq-table-statuts .bq-couleur-formulaire .btn { white-space: nowrap; }
.bq-table-statuts .bq-statuts-apercu { min-width: 10rem; max-width: 15rem; }
.bq-table-statuts code { font-size: .78rem; }
.bq-historique-evenement { min-width: 10rem; max-width: 19rem; overflow-wrap: anywhere; }
/* La couche visible est un Dropdown Bootstrap; le select natif reste la source de formulaire. */
.bq-admin-page .bq-admin-enhanced-select.bq-admin-select-enhanced,
.bq-commande--admin .bq-admin-enhanced-select.bq-admin-select-enhanced {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.bq-admin-page .bq-admin-select-dropdown,
.bq-commande--admin .bq-admin-select-dropdown { position: relative; width: 100%; min-width: 0; }
.bq-admin-page .bq-admin-select-toggle,
.bq-commande--admin .bq-admin-select-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
    min-width: 0;
    text-align: left;
    color: var(--bq-ink);
    background: #fff;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding: .375rem .75rem;
    font: inherit;
}
.bq-admin-page .bq-admin-select-toggle:hover,
.bq-commande--admin .bq-admin-select-toggle:hover { color: var(--bq-ink); background: #fff; border-color: var(--bq-turquoise-dark); }
.bq-admin-page .bq-admin-select-toggle:focus-visible,
.bq-commande--admin .bq-admin-select-toggle:focus-visible { outline: 2px solid var(--bq-turquoise-dark); outline-offset: 2px; box-shadow: 0 0 0 .15rem rgb(0 127 139 / 18%); }
.bq-admin-page .bq-admin-select-menu,
.bq-commande--admin .bq-admin-select-menu {
    width: 100%;
    max-width: calc(100vw - 1rem);
    max-height: min(20rem, 55vh);
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    border-color: var(--bs-border-color);
}
.bq-admin-page .bq-admin-select-menu .dropdown-item,
.bq-commande--admin .bq-admin-select-menu .dropdown-item { white-space: normal; overflow-wrap: anywhere; color: var(--bq-ink); }
.bq-admin-page .bq-admin-select-menu .dropdown-item.active,
.bq-admin-page .bq-admin-select-menu .dropdown-item:active,
.bq-commande--admin .bq-admin-select-menu .dropdown-item.active,
.bq-commande--admin .bq-admin-select-menu .dropdown-item:active { color: #fff; background-color: var(--bq-turquoise-dark); }
@media (max-width: 575.98px) {
    .bq-table-commandes th, .bq-table-commandes td { padding: .6rem .35rem; font-size: .8rem; }
    .bq-table-commandes th:first-child, .bq-table-commandes td:first-child { padding-left: .6rem; }
    .bq-table-commandes .bq-statut-badge { min-width: 6.5rem; max-width: 9rem; padding: .3em .45em; font-size: .72rem; }
    .bq-table-commandes .btn-sm { padding-inline: .4rem; font-size: .8rem; }
    .bq-table-commandes th:last-child, .bq-table-commandes td:last-child {
        position: sticky;
        right: 0;
        background-color: var(--bs-table-bg);
    }
}
@media (max-width: 767.98px) {
    .bq-publication-jump { position: static; }
    .bq-publication-controls .h4 { font-size: 1.15rem; }
}

/* Orange de marque assumé sur fonds clairs ; header/footer/admin/CTA exclus. */
main.bq-public a.bq-text-link:not(.btn),
main.bq-compte-page .bq-breadcrumb a {
    color: var(--bq-link);
    text-decoration: none;
    text-underline-offset: .16em;
}
main.bq-public a.bq-text-link:not(.btn):hover,
main.bq-public a.bq-text-link:not(.btn):focus-visible,
main.bq-compte-page .bq-breadcrumb a:hover,
main.bq-compte-page .bq-breadcrumb a:focus-visible {
    color: var(--bq-link-hover);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}
main.bq-public a.bq-text-link:not(.btn):focus-visible,
main.bq-compte-page .bq-breadcrumb a:focus-visible {
    outline: 2px solid var(--bq-link-focus);
    outline-offset: 3px;
    border-radius: 2px;
}
.bq-hero__intro {
    max-width: 38rem;
    margin: 18px 0 0;
    color: #55666b;
    font-size: 16px;
    line-height: 1.55;
}

/* Préférences : 600 px au lieu des 500 px Bootstrap, gouttières conservées. */
.bq-consent-modal {
    --bs-modal-width: min(600px, calc(100% - 3.5rem));
}
.bq-consent-modal .bq-consent-policy-link {
    color: var(--bq-link, var(--bq-orange));
    text-decoration: none;
    text-underline-offset: .16em;
}
.bq-consent-modal .bq-consent-policy-link:hover,
.bq-consent-modal .bq-consent-policy-link:focus-visible {
    color: var(--bq-link-hover, var(--bq-orange));
    text-decoration: underline;
    text-decoration-thickness: 2px;
}
.bq-consent-modal .bq-consent-policy-link:focus-visible {
    outline: 2px solid var(--bq-link-focus, var(--bq-orange));
    outline-offset: 3px;
    border-radius: 2px;
}

/* Niveau H2 conservant le rendu antérieur du titre de la section adresses. */
.bq-compte-page .bq-compte-section-title {
    margin: 0 0 .5rem;
    color: inherit;
    font-weight: 500;
}
:where(.bq-courriels) .bq-courriels-table { table-layout: fixed; min-width: 760px; }
:where(.bq-courriels) .bq-courriels-table th:nth-child(3) { width: 23%; }
:where(.bq-courriels) .bq-courriels-table th:nth-child(4) { width: 26%; }
:where(.bq-courriels) .bq-courriels-table .badge { white-space: normal; }
:where(.bq-courriels) .bq-courriels-meta dd { overflow-wrap: anywhere; }
:where(.bq-courriels) .bq-courriels-preview { width: 100%; height: 720px; border: 1px solid #dee2e6; background: #f3f7f7; }
:where(.bq-courriels) .bq-courriels-texte { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
