:root {
    --ml-ink: #171a24;
    --ml-ink-soft: #252a38;
    --ml-paper: #f5f1e8;
    --ml-paper-light: #fbf9f4;
    --ml-paper-deep: #ebe4d6;
    --ml-muted: #77766f;
    --ml-line: rgba(32, 34, 41, .14);
    --ml-gold: #b69a68;
    --ml-gold-light: #d6c296;
    --ml-serif: Cambria, Georgia, "Times New Roman", serif;
    --ml-sans: "Segoe UI", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ml-ink);
    background: var(--ml-paper);
    font-family: var(--ml-sans);
    line-height: 1.65;
}

body::before {
    display: none;
}

body a {
    color: inherit;
}

body h1,
body h2,
body h3,
body h4 {
    color: inherit;
    font-family: var(--ml-serif);
    font-weight: 500;
    line-height: 1.12;
    text-align: left;
}

body p {
    text-align: left;
}

.ml-header {
    position: sticky;
    z-index: 1030;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: rgba(23, 26, 36, .97);
    color: var(--ml-paper-light);
    backdrop-filter: blur(14px);
}

.ml-header__inner {
    display: flex;
    width: min(1320px, calc(100% - 64px));
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 0 auto;
}

.ml-brand {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    color: var(--ml-paper-light);
    line-height: 1.1;
    text-decoration: none;
}

.ml-brand:hover {
    color: var(--ml-gold-light);
}

.ml-brand__logo {
    width: auto;
    max-width: 190px;
    height: auto;
}

.ml-brand__name {
    font-family: var(--ml-serif);
    font-size: 1.72rem;
    letter-spacing: .015em;
}

.ml-brand__name i {
    color: var(--ml-gold-light);
    font-weight: 400;
}

.ml-brand__descriptor {
    margin-top: 5px;
    color: #b7b5af;
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ml-navigation {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 1.8vw, 24px);
}

.ml-navigation.collapse:not(.show) {
    display: flex;
}

.ml-navigation a {
    color: #e8e4da;
    font-size: .82rem;
    letter-spacing: .045em;
    text-decoration: none;
    transition: color .2s ease;
}

.ml-navigation a:hover,
.ml-navigation a:focus-visible {
    color: var(--ml-gold-light);
}

.ml-navigation .ml-navigation__cart {
    padding: 10px 17px;
    border: 1px solid rgba(214, 194, 150, .55);
    color: var(--ml-gold-light);
}

.ml-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: transparent;
}

.ml-menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--ml-paper-light);
}

.ml-site-notice {
    padding: 7px 16px;
    background: #d7bc7e;
    color: var(--ml-ink);
    font-size: .82rem;
    text-align: center;
}

.ml-home {
    width: 100%;
    margin: 0 auto;
}

.ml-home-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(64px, 8vw, 118px) 0 28px;
    background:
        radial-gradient(ellipse at 75% 20%, rgba(182, 154, 104, .16), transparent 35%),
        var(--ml-ink);
    color: var(--ml-paper-light);
}

.ml-home-hero::before {
    position: absolute;
    z-index: -1;
    top: -25%;
    right: -9%;
    width: min(68vw, 900px);
    height: 150%;
    border: 1px solid rgba(214, 194, 150, .2);
    border-radius: 48% 52% 44% 56%;
    outline: 1px solid rgba(214, 194, 150, .09);
    outline-offset: 24px;
    content: "";
    pointer-events: none;
    transform: rotate(-24deg);
    animation: ml-golden-thread 24s ease-in-out infinite alternate;
}

.ml-home-hero::after {
    position: absolute;
    right: -100px;
    bottom: -180px;
    width: 540px;
    height: 540px;
    border: 1px solid rgba(214, 194, 150, .12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.ml-home-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(1240px, calc(100% - 64px));
    grid-template-columns: minmax(0, 1.1fr) minmax(180px, .55fr) minmax(210px, .78fr);
    align-items: center;
    gap: clamp(28px, 5vw, 74px);
    margin: 0 auto;
}

.ml-eyebrow {
    display: block;
    margin: 0 0 14px;
    color: var(--ml-gold);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .19em;
    line-height: 1.5;
    text-transform: uppercase;
}

.ml-home-hero__copy h1 {
    max-width: 650px;
    margin: 0;
    color: var(--ml-paper-light);
    font-size: clamp(2.6rem, 5.2vw, 5.2rem);
    letter-spacing: -.04em;
}

.ml-home-hero__copy h1 em,
.ml-page-hero h1 em {
    color: var(--ml-gold-light);
    font-weight: 400;
}

.ml-home-hero__lead {
    max-width: 520px;
    margin: 25px 0 30px;
    color: #c4c1b9;
    font-size: 1rem;
    line-height: 1.85;
}

.ml-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.ml-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 17px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.ml-button:hover {
    transform: translateY(-2px);
}

.ml-button--gold {
    border-color: var(--ml-gold-light);
    background: var(--ml-gold-light);
    color: var(--ml-ink) !important;
}

.ml-button--gold:hover {
    border-color: #e5d7b8;
    background: #e5d7b8;
}

.ml-button--outline {
    border-color: rgba(182, 154, 104, .65);
    background: transparent;
    color: var(--ml-ink) !important;
}

.ml-home .ml-button--outline,
.ml-product-detail .ml-button--outline {
    color: var(--ml-paper-light) !important;
}

.ml-button--outline:hover {
    border-color: var(--ml-gold);
    background: rgba(182, 154, 104, .1);
}

.ml-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ml-ink);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}

.ml-text-link:hover {
    color: #806338;
}

.ml-text-link span[aria-hidden="true"] {
    display: inline-block;
    transition: transform .25s ease;
}

.ml-text-link:hover span[aria-hidden="true"] {
    transform: translateX(4px);
}

.ml-home .ml-text-link {
    color: var(--ml-gold-light);
}

.ml-genre-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 35px;
}

.ml-genre-list a {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 4px;
    color: #c7c3b9;
    font-size: .67rem;
    letter-spacing: .06em;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.ml-genre-list a:hover,
.ml-genre-list a:focus-visible {
    border-color: rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .06);
    color: var(--ml-paper-light);
}

.ml-featured-book {
    position: relative;
    display: block;
    width: min(100%, 265px);
    justify-self: center;
    padding: 0;
    color: inherit;
    text-decoration: none;
    transform: rotate(-2deg);
    transition: transform .5s cubic-bezier(.2, .75, .25, 1);
}

.ml-featured-book:hover {
    color: inherit;
    transform: rotate(0) translateY(-6px);
}

.ml-featured-book__cover {
    position: relative;
    display: flex;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    align-items: center;
    justify-content: center;
    padding: 24px;
    /* background:
        radial-gradient(circle at 50% 40%, rgba(215, 192, 137, .55), transparent 28%),
        linear-gradient(155deg, #586064 0%, #272e39 42%, #141821 100%);
    box-shadow: 22px 26px 52px rgba(0, 0, 0, .45), inset 5px 0 8px rgba(255, 255, 255, .12); */
}

.ml-featured-book__cover--has-image {
    background: none;
}

.ml-featured-book__cover::before {
    position: absolute;
    inset: 12px;
    /* border: 1px solid rgba(232, 214, 175, .58); */
    content: "";
}

.ml-featured-book__cover--has-image::before {
    border-color: transparent;
}

.ml-featured-book__image {
    /* position: absolute; */
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ml-cover-orbit {
    position: absolute;
    width: 160%;
    height: 72%;
    border: 1px solid rgba(240, 218, 164, .45);
    border-radius: 50%;
    transform: rotate(-34deg);
}

.ml-cover-orbit--one {
    top: 12%;
    left: -38%;
}

.ml-cover-orbit--two {
    right: -50%;
    bottom: 8%;
    transform: rotate(35deg);
}

.ml-cover-star {
    position: absolute;
    top: 21%;
    color: var(--ml-gold-light);
    font-size: 2.2rem;
}

.ml-cover-title {
    z-index: 1;
    max-width: 85%;
    color: #f5e7c4;
    font-family: var(--ml-serif);
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.1;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}

.ml-cover-publisher {
    position: absolute;
    bottom: 11%;
    color: #e3d8bd;
    font-size: .54rem;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.ml-featured-book__caption {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;
    color: #bcb8ae;
    font-size: .68rem;
}

.ml-featured-book__caption span:first-child {
    color: var(--ml-gold-light);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ml-featured-note {
    padding: 28px 0 28px 28px;
    border-left: 1px solid rgba(214, 194, 150, .35);
}

.ml-featured-note h2 {
    margin: 0 0 8px;
    color: var(--ml-paper-light);
    font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}

.ml-featured-note > p:not(.ml-eyebrow):not(.ml-featured-note__author) {
    margin: 17px 0 24px;
    color: #c4c1b9;
    font-size: .88rem;
    line-height: 1.8;
}

.ml-featured-note__author {
    margin: 0;
    color: var(--ml-gold-light);
    font-size: .8rem;
}

.ml-featured-note__bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    color: #c4c1b9;
    font-size: .75rem;
}

.ml-featured-note__bottom strong {
    color: var(--ml-paper-light);
    font-size: .95rem;
}

.ml-featured-empty {
    padding: 32px;
    border: 1px solid rgba(214, 194, 150, .28);
}

.ml-featured-empty p {
    color: #c4c1b9;
}

.ml-home-hero__foot {
    display: flex;
    width: min(1240px, calc(100% - 64px));
    justify-content: space-between;
    gap: 16px;
    margin: 70px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: #a7a49b;
    font-size: .67rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ml-section {
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
    padding: clamp(60px, 8vw, 105px) 0;
}

.ml-home-authors {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-right: max(32px, calc((100% - 1240px) / 2));
    padding-left: max(32px, calc((100% - 1240px) / 2));
    background:
        radial-gradient(ellipse at 85% 0, rgba(182, 154, 104, .16), transparent 42%),
        var(--ml-ink-soft);
    color: var(--ml-paper-light);
}

.ml-home-authors::before {
    position: absolute;
    z-index: -1;
    top: -48%;
    right: -17%;
    width: min(72vw, 900px);
    height: 190%;
    border: 1px solid rgba(214, 194, 150, .14);
    border-radius: 50%;
    outline: 1px solid rgba(214, 194, 150, .07);
    outline-offset: 30px;
    content: "";
    pointer-events: none;
    transform: rotate(24deg);
}

.ml-home-authors::after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 4%, rgba(214, 194, 150, .7) 50%, transparent 96%);
    content: "";
    pointer-events: none;
}

.ml-home-authors .ml-section-heading h1,
.ml-home-authors .ml-section-heading h2 {
    color: var(--ml-paper-light);
}

.ml-home-authors > .ml-section-heading > .ml-text-link {
    color: var(--ml-gold-light);
}

.ml-home-authors .ml-author-card__body {
    color: var(--ml-ink);
}

.ml-artist-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.ml-artist-filter label {
    font-weight: 600;
}

.ml-artist-filter select,
.ml-artist-filter button {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--ml-gold);
    background: var(--ml-paper-light);
    color: var(--ml-ink);
}

.ml-artist-filter button {
    background: var(--ml-gold);
    cursor: pointer;
}

.ml-artist-filter select:focus-visible,
.ml-artist-filter button:focus-visible {
    outline: 2px solid var(--ml-gold-light);
    outline-offset: 3px;
}

.ml-artist-directory {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ml-artist-directory__card {
    display: flex;
    min-height: 96px;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: var(--ml-paper-light);
    color: var(--ml-ink);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ml-artist-directory__card:hover,
.ml-artist-directory__card:focus-visible {
    color: var(--ml-ink);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .2);
}

.ml-artist-directory__card:focus-visible {
    outline: 2px solid var(--ml-gold-light);
    outline-offset: 3px;
}

.ml-artist-directory__visual {
    display: flex;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, #51525a, #242936);
}

.ml-artist-directory__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ml-artist-directory__placeholder {
    color: var(--ml-gold-light);
    font-size: 2rem;
}

.ml-artist-directory__copy {
    min-width: 0;
}

.ml-artist-directory__name,
.ml-artist-directory__role,
.ml-artist-directory__link {
    display: block;
}

.ml-artist-directory__name {
    font-family: var(--ml-serif);
    font-size: 1.2rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.ml-artist-directory__link {
    margin-top: 8px;
    color: #806338;
    font-size: .72rem;
}

.ml-artist-directory__role,
.ml-author-card__role {
    margin: 5px 0 0;
    color: #806338;
    font-size: .75rem;
}

body:has(.ml-home) nav[aria-label="breadcrumb"] {
    display: none;
}

.ml-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.ml-section-heading h1,
.ml-section-heading h2 {
    margin: 0;
    font-size: clamp(2.1rem, 3.6vw, 3.25rem);
    letter-spacing: -.025em;
}

.ml-news-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.ml-news-card {
    min-width: 0;
    transition: transform .35s ease;
}

.ml-news-card:hover {
    transform: translateY(-5px);
}

.ml-news-card__visual,
.ml-journal-card__visual {
    position: relative;
    display: flex;
    overflow: hidden;
    min-height: 190px;
    aspect-ratio: 1.15 / 1;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 48%, rgba(225, 207, 162, .23), transparent 26%),
        linear-gradient(145deg, #51525a, #242936 68%, #1a1d27);
    text-decoration: none;
    transition: box-shadow .35s ease;
}

.ml-news-card__visual:hover,
.ml-journal-card__visual:hover {
    box-shadow: 0 12px 30px rgba(23, 26, 36, .18);
}

.ml-news-card:nth-child(5n + 2) .ml-news-card__visual,
.ml-journal-card:nth-child(4n + 2) .ml-journal-card__visual {
    background: radial-gradient(circle at 50% 40%, rgba(166, 119, 88, .3), transparent 30%), linear-gradient(145deg, #50433e, #252733 70%);
}

.ml-news-card:nth-child(5n + 3) .ml-news-card__visual,
.ml-journal-card:nth-child(4n + 3) .ml-journal-card__visual {
    background: radial-gradient(circle at 55% 40%, rgba(114, 147, 151, .35), transparent 30%), linear-gradient(145deg, #33474e, #202732 72%);
}

.ml-news-card:nth-child(5n + 4) .ml-news-card__visual,
.ml-journal-card:nth-child(4n + 4) .ml-journal-card__visual {
    background: radial-gradient(circle at 50% 35%, rgba(185, 157, 105, .31), transparent 30%), linear-gradient(145deg, #51483a, #252631 72%);
}

.ml-news-card__visual::after,
.ml-journal-card__visual::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .09);
    content: "";
    pointer-events: none;
}

.ml-news-card__image,
.ml-journal-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.ml-news-card__visual:hover .ml-news-card__image,
.ml-journal-card__visual:hover .ml-journal-card__image {
    transform: scale(1.04);
}

.ml-news-card__symbol {
    color: rgba(232, 212, 171, .83);
    font-family: var(--ml-serif);
    font-size: 4rem;
}

.ml-news-card__genre {
    position: absolute;
    z-index: 1;
    bottom: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 4px;
    background: rgba(23, 26, 36, .82);
    color: #f3ead6;
    font-size: .6rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ml-news-card__body {
    padding: 16px 2px 0;
}

.ml-news-card__date {
    margin: 0 0 8px;
    color: var(--ml-muted);
    font-size: .68rem;
}

.ml-news-card h3 {
    margin: 0 0 10px;
    font-size: 1.22rem;
}

.ml-news-card h3 a,
.ml-journal-card h2 a {
    text-decoration: none;
}

.ml-news-card h3 a:hover,
.ml-journal-card h2 a:hover {
    color: #806338;
}

.ml-news-card__excerpt {
    min-height: 4.7em;
    margin: 0 0 13px;
    color: #65645e;
    font-size: .76rem;
    line-height: 1.6;
}

.ml-news-card .ml-text-link {
    color: #806338;
    font-size: .7rem;
}

.ml-author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
    gap: 20px;
}

.ml-author-card {
    overflow: hidden;
    background: var(--ml-paper-light);
    box-shadow: 0 7px 24px rgba(36, 34, 29, .05);
    transition: transform .35s ease, box-shadow .35s ease;
}

.ml-author-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
}

.ml-author-card__visual {
    position: relative;
    display: flex;
    overflow: hidden;
    aspect-ratio: 1.65 / 1;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 45%, rgba(225, 207, 162, .23), transparent 28%),
        linear-gradient(145deg, #51525a, #242936 68%, #1a1d27);
    text-decoration: none;
    transition: box-shadow .35s ease;
}

.ml-author-card:nth-child(4n + 2) .ml-author-card__visual {
    background: radial-gradient(circle at 50% 40%, rgba(166, 119, 88, .3), transparent 32%), linear-gradient(145deg, #50433e, #252733 70%);
}

.ml-author-card:nth-child(4n + 3) .ml-author-card__visual {
    background: radial-gradient(circle at 55% 40%, rgba(114, 147, 151, .35), transparent 32%), linear-gradient(145deg, #33474e, #202732 72%);
}

.ml-author-card:nth-child(4n + 4) .ml-author-card__visual {
    background: radial-gradient(circle at 50% 35%, rgba(185, 157, 105, .31), transparent 32%), linear-gradient(145deg, #51483a, #252631 72%);
}

.ml-author-card__visual::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .09);
    content: "";
    pointer-events: none;
}

.ml-author-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.ml-author-card__visual:hover .ml-author-card__image {
    transform: scale(1.04);
}

.ml-author-card__initials {
    color: rgba(232, 212, 171, .83);
    font-family: var(--ml-serif);
    font-size: 4rem;
}

.ml-author-card__body {
    padding: 21px;
}

.ml-author-card__body .ml-eyebrow {
    margin-bottom: 8px;
    font-size: .6rem;
}

.ml-author-card__body h3 {
    margin: 0 0 9px;
    font-size: 1.5rem;
}

.ml-author-card__work {
    min-height: 2.8em;
    margin: 0 0 15px;
    color: #686760;
    font-family: var(--ml-serif);
    font-size: 1.08rem;
}

.ml-author-card__body .ml-text-link {
    color: #806338;
    font-size: .72rem;
}

.ml-home-formats {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 1px;
    padding: 1px;
    background: var(--ml-line);
}

.ml-home-formats__intro,
.ml-format-card {
    min-height: 300px;
    padding: clamp(28px, 5vw, 62px);
    background: var(--ml-paper-deep);
}

.ml-home-formats__intro h2 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 3vw, 3rem);
}

.ml-home-formats__intro > p:not(.ml-eyebrow),
.ml-format-card p {
    max-width: 390px;
    color: #65645e;
    font-size: .86rem;
}

.ml-home-formats__intro .ml-text-link {
    margin-top: 16px;
    color: #806338;
}

.ml-format-card {
    background: #f8f5ee;
    transition: background-color .3s ease, box-shadow .3s ease;
}

.ml-format-card:hover {
    z-index: 1;
    background: #fffdf8;
    box-shadow: 0 12px 28px rgba(36, 34, 29, .1);
}

.ml-format-card__icon {
    display: block;
    margin-bottom: 28px;
    color: #947a4f;
}

.ml-format-card__icon svg {
    display: block;
    width: 48px;
    height: 48px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    transition: transform .35s ease;
}

.ml-format-card:hover .ml-format-card__icon svg {
    transform: translateY(-3px) rotate(-4deg);
}

.ml-format-card h3 {
    margin: 0 0 12px;
    font-size: 1.6rem;
}

.ml-home-cta {
    padding: clamp(64px, 8vw, 100px) 24px;
    background:
        radial-gradient(ellipse at 50% 130%, rgba(182, 154, 104, .25), transparent 55%),
        var(--ml-ink-soft);
    color: var(--ml-paper-light);
    text-align: center;
}

.ml-home-cta .ml-eyebrow {
    text-align: center;
}

.ml-home-cta h2 {
    margin: 0 auto 28px;
    color: var(--ml-paper-light);
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-align: center;
}

.ml-empty-state {
    padding: 24px;
    border: 1px solid var(--ml-line);
    color: var(--ml-muted);
}

.ml-page {
    width: min(1240px, calc(100% - 64px));
    min-height: 52vh;
    margin: 0 auto;
    padding: 44px 0 96px;
}

.ml-page-hero {
    max-width: 820px;
    margin: 0 auto 55px;
    padding: 55px 20px 36px;
    text-align: center;
}

.ml-page-hero .ml-eyebrow {
    text-align: center;
}

.ml-page-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.ml-page-hero h1 em {
    color: #947a4f;
}

.ml-page-hero > p:last-child {
    max-width: 630px;
    margin: 0 auto;
    color: var(--ml-muted);
}

.ml-content-layout,
.ml-catalogue-layout {
    display: grid;
    grid-template-columns: 185px minmax(0, 1fr);
    align-items: start;
    gap: 36px;
}

.ml-category-rail {
    position: sticky;
    top: 118px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 16px 0;
    border-top: 1px solid var(--ml-line);
    border-bottom: 1px solid var(--ml-line);
}

.ml-category-rail a {
    color: #5f5e58;
    font-size: .78rem;
    text-decoration: none;
}

.ml-category-rail a:hover {
    color: #806338;
}

.ml-demo-category {
    color: #5f5e58;
    font-size: .78rem;
}

.ml-journal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
}

.ml-journal-card {
    overflow: hidden;
    background: var(--ml-paper-light);
    box-shadow: 0 7px 24px rgba(36, 34, 29, .045);
    transition: transform .35s ease, box-shadow .35s ease;
}

.ml-journal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(36, 34, 29, .12);
}

.ml-journal-card__visual {
    min-height: 190px;
    aspect-ratio: 1.55 / 1;
}

.ml-journal-card__body {
    padding: 21px;
}

.ml-journal-card__body h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
}

.ml-journal-card__body > p:not(.ml-news-card__date) {
    min-height: 5.6em;
    color: #686760;
    font-size: .84rem;
}

.ml-journal-card__body .ml-text-link {
    color: #806338;
}

.ml-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 22px;
}

.ml-product-card {
    overflow: hidden;
    background: var(--ml-paper-light);
    box-shadow: 0 7px 24px rgba(36, 34, 29, .05);
    transition: transform .35s ease, box-shadow .35s ease;
}

.ml-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(36, 34, 29, .12);
}

.ml-product-card__cover {
    position: relative;
    display: flex;
    overflow: hidden;
    aspect-ratio: 4 / 4.1;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #4a4b52, #202530);
    text-decoration: none;
}

.ml-product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2, .75, .25, 1);
}

.ml-product-card__cover:hover .ml-product-card__image {
    transform: scale(1.04);
}

.ml-product-card__placeholder {
    color: var(--ml-gold-light);
    font-family: var(--ml-serif);
    font-size: 4rem;
}

.ml-demo-cover {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: clamp(18px, 3vw, 36px);
    color: #f3ead6;
    text-align: center;
}

.ml-demo-cover--ember {
    background: radial-gradient(ellipse at 50% 42%, rgba(196, 146, 83, .4), transparent 42%), linear-gradient(145deg, #594332, #202530 76%);
}

.ml-demo-cover--tide {
    background: radial-gradient(ellipse at 50% 42%, rgba(111, 157, 165, .43), transparent 42%), linear-gradient(145deg, #304b53, #202530 76%);
}

.ml-demo-cover--moon {
    background: radial-gradient(ellipse at 50% 42%, rgba(162, 149, 178, .4), transparent 42%), linear-gradient(145deg, #504459, #202530 76%);
}

.ml-demo-cover__mark,
.ml-demo-cover__genre {
    color: var(--ml-gold-light);
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ml-demo-cover__title {
    max-width: 13ch;
    font-family: var(--ml-serif);
    font-size: clamp(1.45rem, 2.4vw, 2.3rem);
    line-height: 1.12;
}

.ml-product-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 4px;
    background: var(--ml-gold-light);
    color: var(--ml-ink);
    font-size: .62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ml-product-card__body {
    padding: 21px;
}

.ml-product-card__body .ml-eyebrow {
    margin-bottom: 9px;
    font-size: .59rem;
}

.ml-product-card__body h2 {
    margin: 0 0 10px;
    font-size: 1.55rem;
}

.ml-product-card__body h2 a {
    text-decoration: none;
}

.ml-product-card__body > p:not(.ml-eyebrow) {
    min-height: 4.5em;
    color: #686760;
    font-size: .8rem;
}

.ml-product-card__buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--ml-line);
}

.ml-product-card__buy strong {
    font-family: var(--ml-serif);
    font-size: 1.25rem;
}

.ml-product-card__buy .ml-text-link {
    color: #806338;
    font-size: .72rem;
}

.ml-product-detail {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 35px 0 90px;
}

.ml-back-link {
    display: inline-block;
    margin: 0 0 32px;
    color: #806338;
    font-size: .77rem;
    text-decoration: none;
}

.ml-product-detail__top {
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 8vw, 105px);
    padding: clamp(28px, 5vw, 65px);
    background: var(--ml-ink);
    color: var(--ml-paper-light);
}

.ml-product-detail__cover {
    display: grid;
    overflow: hidden;
    width: min(100%, 390px);
    aspect-ratio: 2 / 3;
    place-items: center;
    justify-self: center;
    background: linear-gradient(145deg, #494b52, #202530);
    box-shadow: 20px 22px 40px rgba(0, 0, 0, .32);
}

.ml-product-gallery {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

.ml-product-gallery__main {
    width: 100%;
    min-height: 0;
    flex: 1;
}

.ml-product-gallery__main .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ml-product-gallery__media,
.ml-product-gallery__main video {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ml-product-gallery__main .swiper-slide picture {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.ml-product-gallery__thumbs {
    width: 100%;
    height: 68px;
    flex-shrink: 0;
    margin-top: 12px;
}

.ml-product-gallery__thumbs .swiper-slide {
    display: flex;
    width: 52px;
    height: 68px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    opacity: .6;
}

.ml-product-gallery__thumbs .swiper-slide-thumb-active {
    outline: 1px solid var(--ml-gold-light);
    opacity: 1;
}

.ml-product-gallery__thumbnail-media,
.ml-product-gallery__thumbs video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.ml-product-gallery__controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 8px;
}

.ml-product-gallery__control {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(233, 220, 193, .55);
    background: transparent;
    color: var(--ml-paper-light);
    cursor: pointer;
}

.ml-product-gallery__control:hover {
    border-color: var(--ml-gold-light);
    color: var(--ml-gold-light);
}

.ml-product-detail__summary h1 {
    margin: 0 0 20px;
    color: var(--ml-paper-light);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.ml-product-detail__description {
    color: #c7c2b7;
    font-size: 1rem;
}

.ml-product-detail__credits {
    margin: 22px 0;
    color: var(--ml-gold-light);
}

.ml-product-detail__credits .ml-eyebrow {
    display: inline;
    margin-right: 8px;
}

.ml-product-detail__price {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 28px 0 20px;
}

.ml-product-detail__price strong {
    color: var(--ml-gold-light);
    font-family: var(--ml-serif);
    font-size: 2rem;
}

.ml-product-detail__price del {
    color: #aaa59a;
}

.ml-product-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ml-product-detail__metadata {
    margin-top: 18px;
}

.ml-product-detail__formats {
    margin: 4px 0;
    color: #bcb8ae;
    font-size: .75rem;
}

.ml-product-detail__content {
    max-width: 780px;
    margin: 65px auto 0;
    color: #393a3b;
    font-family: var(--ml-serif);
    font-size: 1.15rem;
    line-height: 1.9;
}

.ml-product-detail__content h2,
.ml-product-detail__content h3 {
    margin: 1.6em 0 .6em;
    font-family: var(--ml-serif);
}

.ml-article-detail {
    width: min(900px, calc(100% - 48px));
    min-height: 55vh;
    margin: 0 auto;
    padding: 38px 0 100px;
}

.ml-article-detail__header {
    max-width: 820px;
    margin: 35px auto 40px;
    text-align: center;
}

.ml-article-detail__header .ml-eyebrow {
    text-align: center;
}

.ml-article-detail__header h1 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-align: center;
}

.ml-article-detail__image {
    overflow: hidden;
    max-height: 470px;
    margin-bottom: 45px;
    background: var(--ml-paper-deep);
}

.ml-article-detail__image-element {
    display: block;
    width: 100%;
    max-height: 470px;
    object-fit: cover;
}

.ml-article-detail__content {
    color: #383936;
    font-family: var(--ml-serif);
    font-size: 1.2rem;
    line-height: 1.9;
}

.ml-article-detail__content h2,
.ml-article-detail__content h3 {
    margin: 1.7em 0 .55em;
}

.ml-article-detail__content img {
    max-width: 100%;
    height: auto;
}

.ml-legal-page__content {
    overflow-x: auto;
    padding: clamp(24px, 5vw, 56px);
    border: 1px solid var(--ml-line);
    border-top: 2px solid var(--ml-gold);
    background: var(--ml-paper-light);
    box-shadow: 0 16px 42px rgba(36, 34, 29, .06);
    overflow-wrap: anywhere;
}

.ml-legal-page__content > :first-child {
    margin-top: 0;
}

.ml-legal-page__content > :last-child {
    margin-bottom: 0;
}

.ml-legal-page__content a {
    color: #806338;
    text-underline-offset: 3px;
}

.ml-article-detail__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 55px;
    padding-top: 22px;
    border-top: 1px solid var(--ml-line);
}

.ml-article-detail__tags .ml-eyebrow {
    margin: 0 12px 0 0;
}

.ml-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid var(--ml-line);
    border-radius: 4px;
    color: var(--ml-ink);
    font-size: .72rem;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease;
}

.ml-tag:hover {
    border-color: var(--ml-gold);
    background: rgba(182, 154, 104, .1);
    color: var(--ml-ink);
}

.ml-editorial-page {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 25px 0 70px;
}

.ml-editorial-page .background-1 {
    background-color: var(--ml-paper-light);
}

.ml-editorial-page #content-text,
.ml-editorial-page .content-text {
    color: #383936;
    font-family: var(--ml-serif);
    font-size: 1.12rem;
    line-height: 1.9;
}

.ml-editorial-page #content-text img,
.ml-editorial-page .content-text img {
    max-width: 100%;
    height: auto;
}

.ml-footer {
    margin-top: 0;
    padding: 64px max(32px, calc((100% - 1240px) / 2)) 0;
    background: var(--ml-ink);
    color: var(--ml-paper-light);
}

.ml-footer__main {
    display: grid;
    grid-template-columns: 1.4fr .7fr .8fr 1fr;
    gap: 48px;
    padding-bottom: 52px;
}

.ml-brand--footer .ml-brand__name {
    font-size: 1.8rem;
}

.ml-footer__brand > p {
    max-width: 310px;
    margin: 19px 0;
    color: #bcb8ae;
    font-size: .82rem;
}

.ml-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
}

.ml-footer__socials a,
.ml-footer__column a {
    color: #c7c2b7;
    font-size: .76rem;
    text-decoration: none;
}

.ml-footer__socials a:hover,
.ml-footer__column a:hover {
    color: var(--ml-gold-light);
}

.ml-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.ml-footer__column h2 {
    margin: 0 0 8px;
    color: var(--ml-gold-light);
    font-family: var(--ml-sans);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.ml-footer__note {
    padding-left: 22px;
    border-left: 1px solid rgba(214, 194, 150, .3);
}

.ml-footer__note p {
    color: #d6d1c6;
    font-family: var(--ml-serif);
    font-size: 1.5rem;
}

.ml-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: #a7a49b;
    font-size: .67rem;
}

.breadcrumb {
    width: min(1240px, calc(100% - 64px));
    margin: 16px auto;
    color: var(--ml-muted);
    font-size: .72rem;
}

.alert {
    width: min(1240px, calc(100% - 64px));
    margin: 14px auto;
}

@media (max-width: 1050px) {
    .ml-home-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(190px, .65fr);
    }

    .ml-featured-note {
        grid-column: 1 / -1;
        padding: 24px 0 0;
        border-top: 1px solid rgba(214, 194, 150, .35);
        border-left: 0;
    }

    .ml-featured-note > p:not(.ml-eyebrow):not(.ml-featured-note__author) {
        max-width: 720px;
    }

    .ml-news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ml-news-card:nth-child(n + 4) {
        display: none;
    }

    .ml-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {
    .ml-header__inner {
        width: calc(100% - 36px);
        min-height: 76px;
        gap: 12px;
    }

    .ml-brand__name {
        font-size: 1.5rem;
    }

    .ml-brand__logo {
        max-width: min(160px, 42vw);
    }

    .ml-menu-toggle {
        display: flex;
    }

    .ml-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 7px 20px 18px;
        border-top: 1px solid rgba(255, 255, 255, .1);
        background: var(--ml-ink);
    }

    .ml-navigation.collapse:not(.show) {
        display: none;
    }

    .ml-navigation.collapse.show {
        display: flex;
    }

    .ml-navigation.show {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .ml-navigation a {
        padding: 12px 5px;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .ml-navigation .ml-navigation__cart {
        margin-top: 10px;
        padding: 10px 12px;
        border: 1px solid rgba(214, 194, 150, .4);
    }
}

@media (max-width: 767px) {
    .ml-home-hero {
        padding-top: 62px;
    }

    .ml-home-hero__inner,
    .ml-home-hero__foot,
    .ml-section,
    .ml-page,
    .ml-editorial-page {
        width: calc(100% - 36px);
    }

    .ml-home-authors {
        width: 100%;
        padding-right: 18px;
        padding-left: 18px;
    }

    .ml-home-hero__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ml-home-hero__copy h1 {
        font-size: clamp(2.5rem, 13vw, 4rem);
    }

    .ml-featured-book {
        width: min(70%, 255px);
    }

    .ml-featured-note {
        grid-column: auto;
    }

    .ml-home-hero__foot {
        flex-direction: column;
        margin-top: 44px;
    }

    .ml-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .ml-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 23px 14px;
    }

    .ml-news-card:nth-child(n + 4) {
        display: block;
    }

    .ml-news-card__visual {
        min-height: 140px;
    }

    .ml-news-card__excerpt {
        min-height: 0;
    }

    .ml-home-formats {
        grid-template-columns: 1fr;
    }

    .ml-home-formats__intro,
    .ml-format-card {
        min-height: 0;
        padding: 34px 24px;
    }

    .ml-content-layout,
    .ml-catalogue-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ml-category-rail {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 17px;
    }

    .ml-category-rail .ml-eyebrow {
        flex-basis: 100%;
        margin: 0;
    }

    .ml-journal-grid,
    .ml-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }

    .ml-journal-card__body,
    .ml-product-card__body {
        padding: 15px;
    }

    .ml-journal-card__body h2,
    .ml-product-card__body h2 {
        font-size: 1.25rem;
    }

    .ml-journal-card__body > p:not(.ml-news-card__date),
    .ml-product-card__body > p:not(.ml-eyebrow) {
        min-height: 0;
        font-size: .75rem;
    }

    .ml-product-detail,
    .ml-article-detail {
        width: calc(100% - 36px);
    }

    .ml-product-detail__top {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 24px;
    }

    .ml-product-detail__cover {
        width: min(74%, 310px);
    }

    .ml-product-detail__summary h1 {
        font-size: 2.7rem;
    }

    .ml-product-detail__content {
        margin-top: 40px;
    }

    .ml-footer {
        padding: 45px 22px 0;
    }

    .ml-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 22px;
    }

    .ml-footer__brand,
    .ml-footer__note {
        grid-column: 1 / -1;
    }

    .ml-footer__note {
        padding: 0;
        border-left: 0;
    }

    .ml-footer__bottom {
        flex-direction: column;
        gap: 7px;
    }

    .breadcrumb,
    .alert {
        width: calc(100% - 36px);
    }
}

@media (max-width: 430px) {
    .ml-news-grid,
    .ml-journal-grid,
    .ml-product-grid {
        grid-template-columns: 1fr;
    }

    .ml-news-card__visual,
    .ml-journal-card__visual {
        aspect-ratio: 1.65 / 1;
    }

    .ml-home-hero__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .ml-page-hero {
        padding: 38px 0 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

@keyframes ml-golden-thread {
    from {
        transform: rotate(-24deg) translate3d(0, 0, 0);
    }

    to {
        transform: rotate(-20deg) translate3d(-12px, 8px, 0);
    }
}

.ml-editorial-content {
    margin: 0 0 28px;
}

.ml-editorial-content__layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(30px, 6vw, 82px);
    padding: clamp(26px, 5vw, 68px);
    border: 1px solid rgba(32, 34, 41, .08);
    background:
        radial-gradient(ellipse at 100% 0, rgba(182, 154, 104, .1), transparent 34%),
        var(--ml-paper-light);
    box-shadow: 0 16px 42px rgba(36, 34, 29, .06);
}

.ml-editorial-content--images-first .ml-editorial-content__copy {
    grid-column: 2;
    grid-row: 1;
}

.ml-editorial-content--images-first .ml-editorial-content__gallery {
    grid-column: 1;
    grid-row: 1;
}

.ml-editorial-content__copy {
    min-width: 0;
}

.ml-editorial-content__copy .ml-eyebrow {
    margin-bottom: 17px;
}

.ml-editorial-content__copy h1,
.ml-editorial-content__copy h2 {
    margin: 0 0 25px;
    font-size: clamp(2.1rem, 4vw, 3.65rem);
    letter-spacing: -.035em;
}

.ml-editorial-content__copy h1::after,
.ml-editorial-content__copy h2::after {
    display: block;
    width: 58px;
    height: 2px;
    margin-top: 21px;
    background: var(--ml-gold);
    content: "";
}

.ml-editorial-content__text {
    color: #55544e;
    font-family: var(--ml-serif);
    font-size: 1.08rem;
    line-height: 1.9;
}

.ml-editorial-content__text > :first-child {
    margin-top: 0;
}

.ml-editorial-content__text > :last-child {
    margin-bottom: 0;
}

.ml-editorial-content__text h2,
.ml-editorial-content__text h3,
.ml-editorial-content__text h4 {
    margin: 1.55em 0 .55em;
}

.ml-editorial-content__text img {
    max-width: 100%;
    height: auto;
}

.ml-editorial-content__text a {
    color: #806338;
    text-decoration-color: rgba(128, 99, 56, .45);
    text-underline-offset: 3px;
}

.ml-editorial-content__gallery {
    display: grid;
    min-width: 0;
    gap: 12px;
}

.ml-editorial-content__figure {
    overflow: hidden;
    min-width: 0;
    margin: 0;
    background: var(--ml-paper-deep);
}

.ml-editorial-content__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.ml-editorial-content__figure:hover .ml-editorial-content__image {
    transform: scale(1.025);
}

.ml-editorial-content__gallery--one .ml-editorial-content__figure {
    aspect-ratio: 4 / 5;
    max-height: 620px;
}

.ml-editorial-content__gallery--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ml-editorial-content__gallery--two .ml-editorial-content__figure {
    aspect-ratio: 4 / 5;
}

.ml-editorial-content__gallery--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ml-editorial-content__gallery--three .ml-editorial-content__figure:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 1.65 / 1;
}

.ml-editorial-content__gallery--three .ml-editorial-content__figure:not(:first-child) {
    aspect-ratio: 1 / 1.15;
}

.ml-editorial-content__gallery--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ml-editorial-content__gallery--four .ml-editorial-content__figure {
    aspect-ratio: 1 / 1.12;
}

.ml-editorial-content--no-image .ml-editorial-content__copy {
    max-width: 850px;
    margin: 0 auto;
}

.ml-editorial-content--no-image .ml-editorial-content__copy h1,
.ml-editorial-content--no-image .ml-editorial-content__copy h2 {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.ml-editorial-gallery {
    overflow: hidden;
}

.ml-editorial-gallery .swiper-slide {
    display: flex;
    min-height: 330px;
    align-items: center;
    justify-content: center;
    background: var(--ml-paper-deep);
}

.ml-editorial-gallery .swiper-slide .ml-editorial-content__image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(60vh, 620px);
    object-fit: contain;
}

.ml-editorial-gallery__controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.ml-editorial-gallery__control {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(182, 154, 104, .65);
    background: transparent;
    color: var(--ml-ink);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.ml-editorial-gallery__control:hover,
.ml-editorial-gallery__control:focus-visible {
    background: var(--ml-ink);
    color: var(--ml-paper-light);
}

.ml-editorial-content .rdvbtn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--ml-gold-light);
    background: var(--ml-gold-light);
    color: var(--ml-ink);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.ml-editorial-content .rdvbtn:hover {
    background: #e5d7b8;
    text-transform: none;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .ml-editorial-content__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 26px 22px;
    }

    .ml-editorial-content--images-first .ml-editorial-content__copy,
    .ml-editorial-content--images-first .ml-editorial-content__gallery {
        grid-column: 1;
        grid-row: auto;
    }

    .ml-editorial-content--images-first .ml-editorial-content__gallery {
        grid-row: 1;
    }

    .ml-editorial-content__copy h1,
    .ml-editorial-content__copy h2 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .ml-editorial-gallery .swiper-slide {
        min-height: 240px;
    }
}

@media (max-width: 430px) {
    .ml-editorial-content__layout {
        padding: 22px 18px;
    }

    .ml-editorial-content__gallery {
        gap: 8px;
    }

    .ml-editorial-content__gallery--one .ml-editorial-content__figure {
        aspect-ratio: 4 / 5;
    }

    .ml-editorial-gallery .swiper-slide {
        min-height: 190px;
    }
}

/* Avis des lecteurs */
.ml-comments-wrap {
    width: min(100% - 32px, 900px);
    margin: 0 auto;
}

.ml-comments {
    margin: 56px auto 0;
    padding-top: 40px;
    border-top: 1px solid var(--ml-line);
}

.ml-comments__header h2 {
    margin: 0 0 8px;
    font-family: var(--ml-serif);
    font-weight: 400;
}

.ml-comments__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--ml-muted);
}

.ml-stars {
    margin: 0;
    color: var(--ml-gold);
    letter-spacing: 2px;
}

.ml-stars span {
    color: var(--ml-line);
}

.ml-comments__list {
    margin-top: 24px;
}

.user-avatar {
    width: 64px;
    height: 64px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.account-avatar {
    width: 120px;
    height: 120px;
}

.ml-comment {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--ml-line);
}

.ml-comment .ml-comment__avatar {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ml-paper-deep);
    border: 1px solid var(--ml-gold-light);
}

.ml-comment__body {
    min-width: 0;
    flex: 1;
}

.ml-comment__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 16px;
    font-size: .9rem;
}

.ml-comment__meta time {
    color: var(--ml-muted);
}

.ml-comment__body h3 {
    margin: 4px 0;
    font-family: var(--ml-serif);
    font-size: 1.15rem;
    font-weight: 600;
}

.ml-comment__body p:last-child {
    margin: 0;
    overflow-wrap: anywhere;
}

.ml-comments__form {
    margin-top: 40px;
    padding: 28px;
    background: var(--ml-paper-light);
    border: 1px solid var(--ml-line);
}

.ml-comments__form h3 {
    margin: 0 0 16px;
    font-family: var(--ml-serif);
    font-weight: 400;
}

.ml-comments__form .ml-form div {
    margin-bottom: 14px;
}

.ml-comments__form label {
    display: block;
    margin-bottom: 4px;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ml-comments__form input[type="text"],
.ml-comments__form textarea {
    width: 100%;
    padding: 12px 14px;
    color: var(--ml-ink);
    background: #fff;
    border: 1px solid var(--ml-line);
    font: inherit;
}

.ml-comments__form input[type="text"]:focus,
.ml-comments__form textarea:focus {
    outline: 2px solid var(--ml-gold);
    outline-offset: 1px;
}

.ml-rating {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.ml-rating legend {
    margin-bottom: 6px;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ml-rating__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ml-rating__choices label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 12px;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    border: 1px solid var(--ml-line);
}

.ml-rating__choices label:has(input:checked) {
    color: var(--ml-ink);
    background: var(--ml-gold-light);
    border-color: var(--ml-gold);
}

.ml-comments__login {
    margin: 32px 0 0;
}

.comments-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
}

.comments-pagination a {
    min-width: 38px;
    padding: 6px 12px;
    color: var(--ml-ink);
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--ml-line);
}

.comments-pagination a:hover,
.comments-pagination a.active {
    background: var(--ml-gold-light);
    border-color: var(--ml-gold);
}

@media (max-width: 600px) {
    .ml-comment {
        gap: 12px;
    }

    .ml-comment .ml-comment__avatar {
        width: 44px;
        height: 44px;
    }

    .ml-comments__form {
        padding: 18px;
    }
}

/* Espace personnel */
.ml-account {
    width: min(1320px, calc(100% - 64px));
    margin: 56px auto 80px;
    padding: 0;
    background: transparent;
    box-shadow: none !important;
}

.ml-account > .row {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    margin: 0;
}

.ml-account > .row > * {
    width: auto;
    max-width: none;
    min-width: 0;
}

.ml-account__sidebar {
    padding: 24px;
    border: 1px solid var(--ml-line);
    background: var(--ml-paper-light);
}

.ml-account__sidebar nav {
    display: grid;
    gap: 4px;
}

.ml-account__sidebar nav a {
    display: block;
    padding: 10px 12px;
    border-left: 2px solid transparent;
    color: var(--ml-ink-soft);
    font-size: .88rem;
    text-decoration: none;
}

.ml-account__sidebar nav a:hover,
.ml-account__sidebar nav a.is-active {
    border-color: var(--ml-gold);
    background: var(--ml-paper-deep);
    color: var(--ml-ink);
}

.ml-account > .row > :not(.ml-account__sidebar) {
    padding: clamp(24px, 4vw, 48px) !important;
    border: 1px solid var(--ml-line);
    background: var(--ml-paper-light);
}

.ml-account h1 {
    margin: 0 0 24px !important;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.ml-account > .row > :not(.ml-account__sidebar):not(.ml-account__content) > h1::before {
    display: block;
    margin-bottom: 14px;
    color: var(--ml-gold);
    content: "ESPACE PERSONNEL";
    font-family: var(--ml-sans);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .19em;
}

.ml-account h2 {
    margin: 0 0 18px;
    font-size: 1.55rem;
}

.ml-account__header > p:last-child {
    color: var(--ml-muted);
}

.ml-account__dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    color: var(--ml-muted);
    font-size: .85rem;
}

.ml-account__section {
    margin: 28px 0;
    padding-top: 28px;
    border-top: 1px solid var(--ml-line);
}

.ml-account__avatar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.ml-account__avatar .account-avatar {
    flex: none;
    border: 1px solid var(--ml-gold-light);
}

.ml-account__avatar form:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.ml-account__avatar label,
.ml-account__avatar small {
    width: 100%;
}

.ml-account__avatar small {
    color: var(--ml-muted);
}

.ml-account__text-button {
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ml-ink);
    text-decoration: underline;
    cursor: pointer;
}

.ml-account__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
}

.ml-account__field-wide {
    grid-column: 1 / -1;
}

.ml-account label:not(.form-check-label) {
    display: block;
    margin-bottom: 6px;
    color: var(--ml-ink-soft);
    font-size: .86rem;
}

.ml-account input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.ml-account select,
.ml-account textarea {
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--ml-line);
    border-radius: 0;
    background: #fff;
    color: var(--ml-ink);
}

.ml-account input:focus-visible,
.ml-account select:focus-visible,
.ml-account textarea:focus-visible,
.ml-account a:focus-visible,
.ml-account button:focus-visible {
    outline: 2px solid var(--ml-gold);
    outline-offset: 2px;
}

.ml-account .table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-color: var(--ml-line);
    color: var(--ml-ink);
}

.ml-account .table th,
.ml-account .table td {
    min-width: 130px;
    padding: 14px;
    border-color: var(--ml-line);
    vertical-align: middle;
}

.ml-account .table thead th {
    background: var(--ml-ink-soft);
    color: var(--ml-paper-light);
    font-family: var(--ml-sans);
    font-size: .78rem;
    font-weight: 600;
}

.ml-account .table tbody td,
.ml-account .table tbody th {
    background: var(--ml-paper-light);
    text-align: left;
}

.ml-account .table a {
    color: #806338;
    text-underline-offset: 3px;
}

.ml-account .rdvbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--ml-gold-light);
    border-radius: 6px;
    background: var(--ml-gold-light);
    color: var(--ml-ink);
    text-decoration: none;
}

.ml-account__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.ml-account .ml-library__book {
    gap: 24px !important;
    padding: 24px !important;
    border-color: var(--ml-line) !important;
    border-radius: 0 !important;
    background: #fff;
}

.ml-account .ml-library__cover {
    display: flex;
    min-height: 120px;
    align-items: center;
    justify-content: center;
    background: var(--ml-paper-deep);
}

.ml-account .ml-library__cover span {
    padding: 8px;
    color: #655b4b;
    font-size: .72rem;
    text-align: center;
}

.ml-account .ml-library__details {
    min-width: 0;
}

.ml-account .ml-library__details h2 {
    margin-bottom: 8px;
}

.ml-account .ml-library__details p {
    color: var(--ml-muted);
    font-size: .9rem;
}

.ml-account .ml-library__downloads .btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--ml-gold-light);
    border-radius: 6px;
    background: var(--ml-gold-light);
    box-shadow: none;
    color: var(--ml-ink);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-decoration: none;
}

.ml-account .ml-library__downloads .btn:hover {
    border-color: var(--ml-gold);
    background: #e5d7b8;
    color: var(--ml-ink);
}

@media (max-width: 767px) {
    .ml-account {
        width: calc(100% - 32px);
        margin: 28px auto 48px;
    }

    .ml-account > .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .ml-account__sidebar nav {
        display: flex;
        flex-wrap: wrap;
    }

    .ml-account__fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .ml-account__field-wide {
        grid-column: auto;
    }
}

/* Formulaires publics et panier */
.ml-auth .reveal,
.ml-contact .reveal,
.ml-cart .reveal {
    opacity: 1;
}

.ml-auth,
.ml-contact,
.ml-cart {
    width: min(1100px, calc(100% - 64px));
    max-width: 1100px;
    margin: 48px auto 80px !important;
}

.ml-auth {
    max-width: 720px;
    padding: 0 !important;
}

.ml-auth > .row,
.ml-contact {
    padding: clamp(24px, 4vw, 48px) !important;
    border: 1px solid var(--ml-line);
    border-radius: 0 !important;
    background: var(--ml-paper-light);
    box-shadow: none !important;
}

.ml-auth > .row {
    margin: 0;
}

.ml-auth h1,
.ml-contact h1,
.ml-cart h1 {
    margin: 0 0 24px;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.ml-auth h1::before,
.ml-contact h1::before,
.ml-cart > .row:first-child h1::before {
    display: block;
    margin-bottom: 14px;
    color: #806338;
    font-family: var(--ml-sans);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .19em;
}

.ml-auth h1::before { content: "ESPACE PERSONNEL"; }
.ml-contact h1::before { content: "NOUS CONTACTER"; }
.ml-cart > .row:first-child h1::before { content: "VOTRE COMMANDE"; }

.ml-auth p,
.ml-contact p,
.ml-cart p {
    font-size: 1rem;
}

.ml-auth form > .row.p-3 {
    padding: .5rem 0 !important;
}

.ml-auth form > .row > .col-10 {
    width: 100%;
}

.ml-auth label p {
    margin: 0;
}

.ml-auth .p2 {
    color: #806338;
    font-size: .85rem;
    text-decoration: underline;
}

.ml-auth label,
.ml-contact label,
.ml-cart label {
    color: var(--ml-ink-soft);
    font-size: .9rem;
}

.ml-auth input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.ml-auth select,
.ml-contact input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.ml-contact select,
.ml-contact textarea,
.ml-cart input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.ml-cart select {
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #a69b88;
    border-radius: 4px;
    background: #fff;
    color: var(--ml-ink);
}

.ml-auth :is(input, select, a, button):focus-visible,
.ml-contact :is(input, select, textarea, a, button):focus-visible,
.ml-cart :is(input, select, a, button):focus-visible {
    outline: 2px solid #806338;
    outline-offset: 2px;
}

.ml-auth .rdvbtn,
.ml-contact .rdvbtn,
.ml-cart .rdvbtn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--ml-gold-light);
    border-radius: 6px;
    background: var(--ml-gold-light);
    box-shadow: none;
    color: var(--ml-ink);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: none;
}

.ml-auth .rdvbtn:hover,
.ml-contact .rdvbtn:hover,
.ml-cart .rdvbtn:hover {
    border-color: var(--ml-gold);
    background: #e5d7b8;
    color: var(--ml-ink);
}

.ml-cart .input-group .rdvbtn {
    margin-top: 0;
}

.ml-cart .rdvbtn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.ml-contact legend,
.ml-cart h2 {
    font-family: var(--ml-serif);
    font-size: 1.55rem;
}

.ml-cart {
    padding: 0 !important;
}

.ml-cart > .row,
.ml-cart > form > .row,
.ml-cart > .container-fluid > .row {
    margin: 0 0 20px !important;
    padding: clamp(20px, 3vw, 36px) !important;
    border: 1px solid var(--ml-line);
    background: var(--ml-paper-light);
    box-shadow: none !important;
}

.ml-cart > .container-fluid {
    padding: 0 !important;
}

.ml-cart .background-4 {
    background: transparent;
}

.ml-cart .cgv-consent .form-check-label a {
    color: #754b1f;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.ml-cart .cgv-consent .form-check-label a:hover {
    color: var(--ml-ink);
    text-decoration-thickness: 2px;
}

.ml-cart [id^="cartRecapRowForProduct"],
.ml-cart [id^="carrierForProduct"] {
    border-color: var(--ml-line) !important;
    background: #fff;
}

.ml-cart .cartbtn {
    width: 24px;
    height: 24px;
    margin: 4px;
}

/* Panier et paiement */
.ml-cart > .ml-cart__header {
    padding: clamp(28px, 4vw, 48px) !important;
    border-color: var(--ml-ink);
    background: var(--ml-ink);
    color: var(--ml-paper-light);
}

.ml-cart > .ml-cart__header h1 {
    margin-bottom: 12px;
}

.ml-cart > .row.ml-cart__header h1::before {
    color: var(--ml-gold-light);
}

.ml-cart__header p {
    margin: 0;
    color: #ddd4c3;
}

.ml-cart .ml-cart__item-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.ml-cart .ml-cart__item-button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--ml-line);
    border-radius: 6px;
    background: var(--ml-paper-light);
    color: var(--ml-ink);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.ml-cart .ml-cart__item-button:hover {
    border-color: var(--ml-gold);
    background: var(--ml-paper-deep);
}

.ml-cart .ml-cart__item-button img {
    width: 15px;
    height: 15px;
}

.ml-cart .mobile-select-button {
    border-color: #a69b88;
    border-radius: 4px;
    color: var(--ml-ink);
}

.ml-cart .ml-cart__address-link {
    display: inline-block;
    border: 1px solid var(--ml-gold);
    border-radius: 6px;
    box-shadow: none;
}

.ml-cart .ml-cart__address-link a {
    color: var(--ml-ink);
    font-weight: 700;
    text-decoration: none;
}

.ml-cart .alert-warning {
    border-color: var(--ml-gold-light);
    background: #f8f0df;
    color: var(--ml-ink);
}

.ml-cart .ml-cart__summary {
    border-top: 3px solid var(--ml-gold);
}

.ml-cart #cart-total {
    color: #806338;
    font-family: var(--ml-serif);
    font-size: 1.5rem;
    font-weight: 700;
}

.ml-cart .ml-cart__payment .rdvbtn {
    min-width: min(100%, 260px);
}

.ml-checkout {
    width: min(760px, calc(100% - 64px));
    margin: 48px auto 80px;
    padding: 0 !important;
}

.ml-checkout .ml-checkout__header,
.ml-checkout .ml-checkout__panel {
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px !important;
    padding: clamp(24px, 4vw, 44px) !important;
    border: 1px solid var(--ml-line);
    background: var(--ml-paper-light);
    box-shadow: none !important;
}

.ml-checkout .ml-checkout__header {
    border-color: var(--ml-ink);
    background: var(--ml-ink);
    color: var(--ml-paper-light);
}

.ml-checkout h1 {
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 3rem);
}

.ml-checkout h1::before {
    display: block;
    margin-bottom: 14px;
    color: #806338;
    font-family: var(--ml-sans);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .19em;
    content: "VOTRE COMMANDE";
}

.ml-checkout .ml-checkout__header h1::before {
    color: var(--ml-gold-light);
}

.ml-checkout .ml-checkout__panel > .background-4 {
    background: transparent;
}

.ml-checkout .text-center p {
    text-align: center;
}

.ml-checkout .btn {
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid var(--ml-gold-light);
    border-radius: 6px;
    background: var(--ml-gold-light);
    color: var(--ml-ink);
    font-size: .8rem;
    font-weight: 700;
}

.ml-checkout .btn:hover {
    border-color: var(--ml-gold);
    background: #e5d7b8;
    color: var(--ml-ink);
}

.ml-checkout .btn-secondary {
    border-color: var(--ml-gold);
    background: transparent;
}

.ml-checkout .btn-danger {
    border-color: #9c564e;
    background: transparent;
    color: #7d332c;
}

.ml-checkout .btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.ml-checkout :is(a, button, input):focus-visible {
    outline: 2px solid #806338;
    outline-offset: 2px;
}

.ml-checkout__actions {
    margin-top: 16px;
    text-align: center;
}

.ml-checkout #paypal-button-container,
.ml-checkout #sumup-card {
    max-width: 430px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .ml-checkout {
        width: calc(100% - 32px);
        margin: 28px auto 48px;
    }

    .ml-cart .ml-cart__item-actions {
        justify-content: center;
    }

    .ml-cart [id^="cartRecapRowForProduct"] > div + div {
        margin-top: 12px;
    }

    .ml-cart .input-group .form-control {
        min-width: 0;
    }
}

/* Mots-clés */
.ml-keywords .ml-page-hero h1 {
    text-align: center;
}

.ml-keywords__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px;
}

.ml-keywords__card,
.ml-keywords__result {
    min-width: 0;
    border: 1px solid var(--ml-line);
    background: var(--ml-paper-light);
}

.ml-keywords__card {
    padding: clamp(22px, 3vw, 32px);
}

.ml-keywords__card h2,
.ml-keywords__result h2 {
    margin: 0 0 18px;
    font-size: 1.6rem;
}

.ml-keywords__card h3 {
    margin: 24px 0 10px;
    font-size: 1.1rem;
}

.ml-keywords__card ul {
    margin: 0;
    padding-left: 20px;
}

.ml-keywords__card li {
    margin: 6px 0;
}

.ml-keywords__card a,
.ml-keywords__result h2 a {
    color: var(--ml-ink);
    overflow-wrap: anywhere;
    text-decoration: none;
}

.ml-keywords__card a:hover,
.ml-keywords__result h2 a:hover {
    color: #806338;
    text-decoration: underline;
}

.ml-keywords__visual {
    display: flex;
    height: 230px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--ml-ink-soft);
    color: var(--ml-gold-light);
    font-size: 3rem;
}

.ml-keywords__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ml-keywords__visual--book .ml-keywords__image {
    object-fit: contain;
}

.ml-keywords__result-body {
    padding: 24px;
}

.ml-keywords__pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.ml-keywords__pagination a {
    padding: 8px 14px;
    border: 1px solid var(--ml-line);
    background: var(--ml-paper-light);
    color: var(--ml-ink);
    text-decoration: none;
}

.ml-keywords__pagination a:hover,
.ml-keywords__pagination a[aria-current="page"] {
    border-color: var(--ml-gold);
    background: var(--ml-paper-deep);
}

@media (max-width: 767px) {
    .ml-auth,
    .ml-contact,
    .ml-cart {
        width: calc(100% - 32px);
        margin: 28px auto 48px !important;
    }

    .ml-cart > .row,
    .ml-cart > form > .row,
    .ml-cart > .container-fluid > .row {
        padding: 18px !important;
    }
}

.ml-statistics-index__panel {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--ml-line);
    background: var(--ml-paper-light);
    box-shadow: 0 16px 42px rgba(36, 34, 29, .06);
}

.ml-statistics-index__panel h2 {
    margin: 0 0 26px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.ml-statistics-index__form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 18px;
}

.ml-statistics-index__form > div {
    flex: 1 1 180px;
}

.ml-statistics-index__form label {
    display: block;
    margin-bottom: 8px;
    font-size: .82rem;
    font-weight: 700;
}

.ml-statistics-index__form select {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--ml-line);
    background: #fff;
    color: var(--ml-ink);
}

.ml-statistics-index__form :focus-visible,
.ml-statistics__navigation a:focus-visible {
    outline: 2px solid #806338;
    outline-offset: 3px;
}

.ml-statistics {
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
    padding: 44px 0 80px;
}

.ml-statistics > .container {
    max-width: none;
}

.ml-statistics .stats-header {
    padding: clamp(25px, 4vw, 48px);
    border-left: 4px solid var(--ml-gold);
    border-radius: 0;
    background: var(--ml-ink);
    color: var(--ml-paper-light);
}

.ml-statistics .stats-header h1 {
    color: var(--ml-paper-light);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
}

.ml-statistics .stats-header p {
    color: var(--ml-gold-light);
}

.ml-statistics .stat-card,
.ml-statistics .chart-card {
    border: 1px solid var(--ml-line);
    border-radius: 0;
    background: var(--ml-paper-light);
    box-shadow: 0 8px 24px rgba(36, 34, 29, .05);
}

.ml-statistics .stat-card {
    border-top: 4px solid var(--ml-gold) !important;
}

.ml-statistics .stat-title,
.ml-statistics .stat-number,
.ml-statistics .mini-kpi .kpi-value {
    color: var(--ml-ink) !important;
}

.ml-statistics .stat-number {
    font-family: var(--ml-serif);
    font-weight: 500;
}

.ml-statistics .stat-sub,
.ml-statistics .mini-kpi .kpi-label {
    color: var(--ml-muted);
}

.ml-statistics .chart-card-title {
    color: var(--ml-ink);
    font-family: var(--ml-serif);
    font-size: 1.2rem;
}

.ml-statistics .mini-kpi {
    border-color: var(--ml-line);
}

.ml-statistics .table-stats thead th {
    border-color: var(--ml-ink-soft);
    background: var(--ml-ink) !important;
    color: var(--ml-paper-light) !important;
}

.ml-statistics .table-stats tbody td {
    color: var(--ml-ink);
}

.ml-statistics .badge-type-physique,
.ml-statistics .badge-type-numerique {
    border-color: var(--ml-line);
    background: var(--ml-paper-deep);
    color: var(--ml-ink);
}

@media (max-width: 767px) {
    .ml-statistics {
        width: calc(100% - 32px);
        padding: 28px 0 48px;
    }

    .ml-statistics .chart-card-title,
    .ml-statistics .stat-sub {
        flex-wrap: wrap;
        gap: 8px;
    }
}
