:root {
    color-scheme: light;
    --ink: #10101c;
    --paper: #f7f2e9;
    --white: #fffdf8;
    --acid: #dfff22;
    --violet: #7048ff;
    --coral: #ff654f;
    --muted: #6f6c73;
    --line: rgba(16, 16, 28, .14);
    --radius: 1.25rem;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    min-width: 320px;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}
button, input, select { color: inherit; font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
    outline: 3px solid var(--violet);
    outline-offset: 4px;
}

.included-strip {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: .55rem 1rem;
    background: var(--ink);
    color: var(--white);
    font-size: .76rem;
    letter-spacing: .01em;
}
.included-strip strong { color: var(--acid); }
.store-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1380px, 100%);
    min-height: 82px;
    margin: 0 auto;
    padding: 1rem 2.5rem;
}
.store-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -.055em;
    text-decoration: none;
}
.store-brand em { color: var(--violet); font-style: normal; }
.store-brand-mark {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border-radius: .5rem .5rem .5rem .08rem;
    background: var(--acid);
    font-size: 1.5rem;
    transform: rotate(-4deg);
    box-shadow: .25rem .25rem 0 var(--violet);
}
.store-nav { display: flex; align-items: center; gap: 1.65rem; }
.store-nav a {
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none;
}
.store-nav a:hover { color: var(--violet); }
.store-nav a[aria-current="page"] {
    color: var(--violet);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .35rem;
}
.cart-link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .65rem .75rem .65rem 1rem;
    border: 1px solid var(--ink);
    border-radius: 999px;
    text-decoration: none;
}
.cart-count {
    display: grid;
    min-width: 1.55rem;
    height: 1.55rem;
    padding: 0 .35rem;
    place-items: center;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-size: .72rem;
}
.store-eyebrow {
    color: var(--violet);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 3.6rem;
    padding: .8rem 1.2rem;
    border: 2px solid var(--ink);
    background: var(--acid);
    font-weight: 800;
    text-decoration: none;
    box-shadow: .35rem .35rem 0 var(--ink);
    transition: transform .18s ease, box-shadow .18s ease;
}
.primary-link:hover { transform: translate(.2rem, .2rem); box-shadow: .15rem .15rem 0 var(--ink); }

/* Catalogue */
.catalogue-hero {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
    width: min(1380px, calc(100% - 5rem));
    min-height: 680px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 2rem;
    background: var(--white);
}
.catalogue-intro { padding: clamp(3rem, 7vw, 7.5rem); padding-right: 1rem; }
.catalogue-intro h1,
.product-builder h1,
.cart-heading h1,
.not-found-shell h1 {
    margin-top: 1.1rem;
    font-family: "DM Serif Display", serif;
    font-size: clamp(3.8rem, 6.4vw, 7rem);
    font-weight: 400;
    line-height: .89;
    letter-spacing: -.055em;
}
.catalogue-intro > p:not(.store-eyebrow) {
    max-width: 35rem;
    margin: 2rem 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.7;
}
.catalogue-showcase { min-width: 0; min-height: 680px; margin: 0; overflow: hidden; background: #291546; }
.catalogue-showcase img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.collection-section { width: min(1240px, calc(100% - 5rem)); margin: 8rem auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2.5rem; }
.section-heading h2, .bundle-promise h2 {
    margin-top: .6rem;
    font-family: "DM Serif Display", serif;
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .95;
}
.section-heading > p { max-width: 25rem; color: var(--muted); line-height: 1.6; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.product-card { scroll-margin-top: 9rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--white); }
.product-card-visual { position: relative; display: grid; min-height: 390px; place-items: center; overflow: hidden; background: #7048ff; text-decoration: none; }
.product-card-course .product-card-visual { background: #6246ea; }
.product-card-equestrian .product-card-visual { background: #203b31; }
.product-card-simple .product-card-visual { background: #d8ff58; }
.product-card-agenda .product-card-visual { background: #ef5b3f; }
.product-card-guestbook .product-card-visual { background: #eed9c9; }
.product-card-wedding .product-card-visual { background: #7a2638; }
.product-card-recipes .product-card-visual { background: #f1bc79; }
.product-card-birth .product-card-visual { background: #b9d6df; }
.product-card-pregnancy .product-card-visual { background: #e1c4cb; }
.product-card-kids .product-card-visual { background: #ffcf4a; }
.product-status {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 3;
    padding: .5rem .75rem;
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: 0 .35rem 1rem rgba(16,16,28,.14);
}
.product-status-available { background: var(--acid); }
.product-status-prototype { background: #fff0a8; }
.mini-book {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 230px;
    aspect-ratio: var(--book-ratio, .75);
    padding: 2rem;
    border-radius: .35rem .8rem .8rem .35rem;
    background: var(--mini-cover);
    color: var(--white);
    box-shadow: -1rem 1.2rem 1.8rem rgba(16,16,28,.24), inset .45rem 0 rgba(0,0,0,.12);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: .95;
    transform: rotate(-7deg);
    transition: transform .3s ease;
}
.product-card:nth-child(2) .mini-book { transform: rotate(7deg); }
.product-card:nth-child(3) .mini-book { transform: rotate(-4deg); }
.product-card:hover .mini-book { transform: rotate(0) translateY(-.5rem); }
.mini-book img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mini-book span, .mini-book small { position: relative; z-index: 2; text-shadow: 0 .1rem .5rem rgba(16,16,28,.35); }
.mini-book small { margin-top: .7rem; font-family: "DM Serif Display", serif; font-size: 1rem; font-weight: 400; }
.product-card-guestbook .mini-book,
.product-card-simple .mini-book,
.product-card-birth .mini-book,
.product-card-pregnancy .mini-book { color: var(--ink); text-align: center; }
.product-card-guestbook .mini-book span,
.product-card-guestbook .mini-book small,
.product-card-simple .mini-book span,
.product-card-simple .mini-book small,
.product-card-birth .mini-book span,
.product-card-birth .mini-book small,
.product-card-pregnancy .mini-book span,
.product-card-pregnancy .mini-book small { text-shadow: 0 .05rem .15rem rgba(255,255,255,.6); }
.product-card-kids .mini-book { color: var(--white); transform: rotate(5deg); }
.product-card-copy { padding: 1.7rem; }
.product-card-eyebrow { color: var(--muted); font-size: .78rem; }
.product-card-copy h3 { margin: .4rem 0 1.2rem; font-family: "DM Serif Display", serif; font-size: 2rem; font-weight: 400; }
.product-card-description { min-height: 4.8rem; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.product-card-specification { margin-top: 1rem; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.product-card-moods { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; padding: 0; list-style: none; }
.product-card-moods li { padding: .38rem .55rem; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: .62rem; font-weight: 700; }
.product-card-price { display: flex; align-items: baseline; gap: .7rem; }
.product-card-moods + .product-card-price { margin-top: 1.2rem; }
.product-card-price strong { font-size: 1.5rem; }
.product-card-price span { color: var(--muted); font-size: .75rem; }
.product-card-action { display: flex; justify-content: space-between; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-weight: 800; text-decoration: none; }
.product-card-action-disabled { color: var(--muted); }
.bundle-promise {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    align-items: center;
    gap: 3rem;
    width: min(1240px, calc(100% - 5rem));
    margin: 0 auto 8rem;
    padding: 3.5rem;
    border-radius: 1.5rem;
    background: var(--ink);
    color: var(--white);
}
.bundle-number { color: var(--acid); font-family: "DM Serif Display", serif; font-size: 10rem; line-height: .7; }
.bundle-promise > p { max-width: 29rem; color: rgba(255,255,255,.68); line-height: 1.7; }

/* Produit */
.theme-electric { --theme-accent: #dfff22; --theme-secondary: #7048ff; }
.theme-celebration { --theme-accent: #ffcc70; --theme-secondary: #b94b68; background: #f7f0e8; }
.theme-wedding { --theme-accent: #e9b7ad; --theme-secondary: #7a2638; background: #f7efeb; }
.product-builder {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(460px, .8fr);
    width: min(1380px, calc(100% - 5rem));
    margin: 0 auto 5rem;
    overflow: hidden;
    border-radius: 2rem;
    background: var(--white);
}
.builder-copy { padding: clamp(2.5rem, 5vw, 5rem); }
.breadcrumbs { display: flex; gap: .5rem; margin-bottom: 4rem; color: var(--muted); font-size: .76rem; }
.breadcrumbs a { text-decoration: none; }
.product-builder h1 { max-width: 720px; font-size: clamp(3.5rem, 5.4vw, 6.3rem); }
.product-lead { max-width: 42rem; margin-top: 1.5rem; color: var(--muted); line-height: 1.65; }
.personalization-form { margin-top: 3rem; }
.builder-step { padding: 2rem 0 2.4rem; border-top: 1px solid var(--line); }
.builder-step:last-child { padding-bottom: 0; }
.form-title { display: flex; gap: 1rem; align-items: start; }
.form-title > span { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: 50%; background: var(--theme-accent); font-size: .8rem; font-weight: 800; }
.form-title h2 { font-family: "DM Serif Display", serif; font-size: 1.8rem; font-weight: 400; }
.form-title p { margin-top: .2rem; color: var(--muted); font-size: .8rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.store-field { display: grid; gap: .45rem; }
.store-field > span:first-child, .quantity-field > span { font-size: .73rem; font-weight: 800; }
.store-field input[type="text"], .store-field select, .quantity-field select {
    width: 100%;
    min-height: 3.25rem;
    border: 1px solid var(--line);
    border-radius: .7rem;
    background: var(--paper);
    padding: .7rem .85rem;
}
.color-input-wrap { display: flex; align-items: center; gap: .65rem; min-height: 3.25rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--paper); padding: .45rem .7rem; }
.color-input-wrap input { width: 2.2rem; height: 2.2rem; border: 0; background: none; padding: 0; }
.color-input-wrap output { font-family: monospace; font-size: .76rem; text-transform: uppercase; }
.cover-upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.cover-upload-card {
    display: grid;
    grid-template-columns: minmax(90px, .72fr) 1fr;
    grid-template-rows: auto 1fr auto;
    gap: .25rem 1rem;
    min-height: 180px;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: .85rem;
    background: var(--paper);
    cursor: pointer;
}
.cover-upload-card:hover { border-color: var(--theme-secondary); }
.cover-side-label { align-self: end; color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cover-upload-preview {
    grid-row: 1 / -1;
    display: grid;
    width: 100%;
    aspect-ratio: .73;
    place-items: center;
    overflow: hidden;
    border-radius: .25rem .5rem .5rem .25rem;
    background: var(--upload-cover);
    color: var(--white);
    box-shadow: -.3rem .4rem .7rem rgba(16,16,28,.18), inset .28rem 0 rgba(0,0,0,.12);
}
.cover-upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.cover-placeholder { padding: .6rem; font-family: "Space Grotesk", sans-serif; font-size: .72rem; font-weight: 800; text-align: center; }
.cover-upload-card > strong { align-self: center; color: var(--theme-secondary); font-size: .78rem; }
.cover-upload-card > small { align-self: start; overflow: hidden; color: var(--muted); font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.mood-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.5rem; }
.mood-card {
    position: relative;
    display: grid;
    gap: .35rem;
    min-height: 112px;
    border: 1px solid var(--line);
    border-radius: .8rem;
    background: var(--white);
    padding: 1rem 2.8rem 1rem 1rem;
    text-align: left;
}
.mood-card:hover { border-color: var(--theme-secondary); }
.mood-card.is-selected { border-color: var(--theme-secondary); background: color-mix(in srgb, var(--theme-accent) 24%, var(--white)); box-shadow: inset 0 0 0 1px var(--theme-secondary); }
.mood-card strong { font-size: .82rem; }
.mood-card small { color: var(--muted); font-size: .68rem; line-height: 1.45; }
.mood-check { position: absolute; top: .8rem; right: .8rem; display: grid; width: 1.45rem; height: 1.45rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: transparent; font-size: .65rem; font-weight: 800; }
.mood-card.is-selected .mood-check { border-color: var(--theme-secondary); background: var(--theme-secondary); color: var(--white); }
.mood-samples { margin-top: 1rem; border-radius: .8rem; background: var(--paper); padding: 1rem; }
.mood-samples > span { color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.mood-samples ul { display: grid; gap: .6rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.mood-samples li { display: grid; gap: .12rem; padding-left: .8rem; border-left: 2px solid var(--theme-accent); font-family: "DM Serif Display", serif; font-size: .8rem; line-height: 1.35; }
.mood-samples li strong { font-family: "DM Sans", sans-serif; font-size: .62rem; }
.buy-panel { display: grid; grid-template-columns: 90px auto 1fr; align-items: end; gap: 1rem; margin-top: 1.5rem; }
.quantity-field { display: grid; gap: .45rem; }
.product-price { display: grid; min-width: 120px; }
.product-price strong { font-size: 1.6rem; line-height: 1; }
.product-price span { margin-top: .35rem; color: var(--muted); font-size: .67rem; }
.add-cart-button, .checkout-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.9rem;
    border: 0;
    border-radius: .7rem;
    background: var(--ink);
    color: var(--white);
    padding: .8rem 1.1rem;
    font-weight: 800;
    text-decoration: none;
}
.add-cart-button:hover, .checkout-link:hover { background: var(--theme-secondary, var(--violet)); }
.add-cart-button:disabled { cursor: wait; opacity: .65; }
.add-cart-button i { font-size: 1.4rem; font-style: normal; }
.bundle-hint { margin-top: 1rem; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.product-preview { position: relative; min-height: 850px; overflow: visible; background: var(--theme-secondary); }
.preview-stage { position: sticky; top: 0; z-index: 2; display: grid; min-height: min(850px, 100vh); align-content: center; padding: 4rem; overflow: hidden; }
.theme-celebration .product-preview { background: #e4c9bb; }
.theme-wedding .product-preview { background: #c99598; }
.product-preview::before, .product-preview::after { position: absolute; border-radius: 50%; content: ""; }
.product-preview::before { width: 300px; height: 300px; top: -130px; right: -90px; border: 55px solid var(--theme-accent); }
.product-preview::after { width: 180px; height: 180px; bottom: -80px; left: -70px; background: var(--theme-accent); }
.preview-badge { position: absolute; top: 1.5rem; left: 1.5rem; z-index: 3; border-radius: 999px; background: rgba(255,255,255,.9); padding: .6rem .8rem; font-size: .7rem; font-weight: 800; }
.cover-switch { position: absolute; top: 1.5rem; right: 1.5rem; z-index: 4; display: flex; padding: .25rem; border-radius: 999px; background: rgba(255,255,255,.9); }
.cover-switch button { min-height: 2rem; border: 0; border-radius: 999px; background: transparent; padding: .35rem .7rem; font-size: .65rem; font-weight: 800; }
.cover-switch button.is-active { background: var(--ink); color: var(--white); }
.book-display { position: relative; display: grid; place-items: center; z-index: 2; }
.book-shadow { position: absolute; width: 70%; height: 18%; bottom: -5%; border-radius: 50%; background: rgba(16,16,28,.35); filter: blur(20px); }
.custom-book {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(330px, 65vw);
    aspect-ratio: .73;
    padding: 3rem;
    overflow: hidden;
    border-radius: .45rem 1.1rem 1.1rem .45rem;
    background: var(--cover-color);
    color: var(--white);
    box-shadow: -1.2rem 1.5rem 2.8rem rgba(16,16,28,.35), inset .65rem 0 rgba(0,0,0,.15), inset -.12rem 0 rgba(255,255,255,.25);
    transform: perspective(900px) rotateY(-12deg) rotateZ(2deg);
}
.book-cover-image { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.book-copy { position: relative; z-index: 2; display: contents; text-shadow: 0 .08rem .5rem rgba(16,16,28,.38); }
.custom-book.is-back .book-copy { display: none; }
.custom-book::after { position: absolute; width: 130px; height: 130px; right: -55px; bottom: -35px; border: 25px solid var(--theme-accent); border-radius: 50%; content: ""; }
.custom-book strong { position: relative; z-index: 2; max-width: 90%; font-family: "Space Grotesk", sans-serif; font-size: 2.5rem; line-height: .92; overflow-wrap: anywhere; }
.custom-book small { position: relative; z-index: 2; margin-top: .9rem; font-family: "DM Serif Display", serif; font-size: 1.2rem; }
.custom-book em { position: absolute; left: 3rem; bottom: 2.3rem; z-index: 2; font-size: .62rem; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.book-ribbon { position: absolute; top: 1.4rem; right: -2.8rem; width: 10rem; background: var(--theme-accent); color: var(--ink); padding: .4rem; font-size: .55rem; font-weight: 800; text-align: center; transform: rotate(45deg); }
.custom-book-wedding { color: #702638; }
.custom-book-wedding::after { display: none; }
.custom-book-wedding .book-copy { text-align: center; text-shadow: 0 .05rem .15rem rgba(255,255,255,.75); }
.custom-book-wedding strong { align-self: center; max-width: 100%; font-family: "DM Serif Display", serif; font-weight: 400; letter-spacing: -.03em; }
.custom-book-wedding small { align-self: center; }
.custom-book-wedding em { right: 3rem; left: 3rem; text-align: center; }
.cover-view-label { position: relative; z-index: 2; margin-top: 2rem; color: rgba(255,255,255,.72); font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.product-benefits { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 3.5rem 0 0; padding: 0; list-style: none; color: var(--white); font-size: .72rem; }
.product-benefits li { display: flex; align-items: center; gap: .45rem; }
.product-benefits span { display: grid; width: 1.25rem; height: 1.25rem; place-items: center; border-radius: 50%; background: var(--theme-accent); color: var(--ink); font-size: .65rem; font-weight: 800; }
.cross-sell { width: min(1240px, calc(100% - 5rem)); margin: 0 auto 6rem; }
.cross-sell > a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; margin-top: .7rem; padding: 1.6rem; border-block: 1px solid var(--line); text-decoration: none; }
.cross-sell a > span { color: var(--muted); font-size: .76rem; }
.cross-sell a strong { font-family: "DM Serif Display", serif; font-size: 2rem; font-weight: 400; }
.cross-sell a i { font-size: 1.8rem; font-style: normal; }

/* Panier */
.cart-shell { width: min(1180px, calc(100% - 5rem)); margin: 3rem auto 8rem; }
.cart-heading { max-width: 800px; }
.cart-heading h1 { font-size: clamp(3.4rem, 6vw, 6.2rem); }
.cart-heading > p:last-child { max-width: 39rem; margin-top: 1.5rem; color: var(--muted); line-height: 1.6; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 2rem; margin-top: 3rem; }
.cart-items { display: grid; gap: 1rem; }
.cart-loading { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--muted); }
.cart-item { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 1.3rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.cart-item-covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: .65rem; min-height: 140px; border-radius: .7rem; background: color-mix(in srgb, var(--theme-accent, #dfff22) 20%, var(--paper)); padding: .75rem; }
.cart-cover-card { min-width: 0; margin: 0; }
.cart-cover-image { position: relative; width: 100%; aspect-ratio: .72; overflow: hidden; border-radius: .16rem .38rem .38rem .16rem; background: var(--ink); box-shadow: -.2rem .3rem .45rem rgba(0,0,0,.22); }
.cart-cover-image::after { position: absolute; inset: 0 auto 0 0; width: .18rem; background: rgba(0,0,0,.2); content: ""; }
.cart-cover-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cart-cover-card figcaption { display: grid; gap: .05rem; margin-top: .45rem; line-height: 1.15; }
.cart-cover-card figcaption strong { font-size: .62rem; text-transform: uppercase; }
.cart-cover-card figcaption span { overflow: hidden; color: var(--muted); font-size: .54rem; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-copy { padding-top: .3rem; }
.cart-item-family { color: var(--violet); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cart-item-copy h2 { margin-top: .35rem; font-family: "DM Serif Display", serif; font-size: 1.55rem; font-weight: 400; }
.cart-item-personalization { margin-top: .45rem; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.cart-item-edit { display: inline-block; margin-top: 1rem; font-size: .7rem; font-weight: 700; }
.cart-item-actions { display: grid; justify-items: end; align-content: start; gap: .55rem; min-width: 130px; }
.cart-item-actions label { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .67rem; }
.cart-item-actions select { min-height: 2.3rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--paper); padding: .3rem .6rem; }
.cart-item-total { margin-top: .25rem; font-size: 1.25rem; }
.cart-item-saving { color: #2b7a3d; font-size: .68rem; font-weight: 800; }
.cart-item-remove { border: 0; background: none; color: var(--muted); padding: .2rem 0; font-size: .68rem; text-decoration: underline; }
.cart-summary { position: sticky; top: 1.5rem; padding: 1.6rem; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.summary-label { margin-bottom: 1.5rem; color: rgba(255,255,255,.55); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .8rem; }
.discount-row { color: var(--acid); }
.summary-total { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 1.4rem 0 .5rem; }
.summary-total span { font-size: .8rem; }
.summary-total strong { font-size: 2rem; }
.included-note { color: rgba(255,255,255,.65); font-size: .7rem; }
.included-note span { color: var(--acid); }
.checkout-link { margin-top: 1.4rem; background: var(--acid); color: var(--ink); }
.checkout-link:hover { background: var(--white); }
.checkout-link:disabled { cursor: wait; opacity: .72; }
.checkout-note { display: block; margin-top: .8rem; color: rgba(255,255,255,.55); font-size: .64rem; line-height: 1.45; }
.continue-link { display: block; margin-top: 1rem; color: rgba(255,255,255,.66); font-size: .72rem; text-align: center; }
.empty-cart { display: grid; grid-column: 1 / -1; justify-items: center; padding: 5rem 2rem; border-radius: 1.5rem; background: var(--white); text-align: center; }
.empty-cart-visual { display: grid; width: 7rem; height: 7rem; place-items: center; border-radius: 50%; background: var(--violet); color: var(--acid); font-family: "DM Serif Display", serif; font-size: 4rem; transform: rotate(-7deg); }
.empty-cart h2 { margin-top: 1.5rem; font-family: "DM Serif Display", serif; font-size: 2.4rem; font-weight: 400; }
.empty-cart p { max-width: 35rem; margin: .7rem 0 1.5rem; color: var(--muted); line-height: 1.6; }
.not-found-shell { display: grid; justify-items: start; width: min(960px, calc(100% - 5rem)); min-height: 62vh; margin: 3rem auto 7rem; align-content: center; }
.not-found-shell > span { color: var(--violet); font-family: "Space Grotesk", sans-serif; font-size: 1rem; font-weight: 800; }
.not-found-shell p { margin: 1.5rem 0; color: var(--muted); }
.store-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 2.5rem max(2.5rem, calc((100vw - 1380px) / 2)); border-top: 1px solid var(--line); background: var(--white); }
.store-brand-footer { font-size: .95rem; }
.store-brand-footer .store-brand-mark { width: 2rem; height: 2rem; font-size: 1.2rem; }
.store-footer > p { color: var(--muted); font-size: .74rem; }
.store-footer > div { display: flex; justify-content: end; gap: 1.2rem; font-size: .7rem; }
.store-toast { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 100; max-width: 360px; border-radius: .8rem; background: var(--ink); color: var(--white); padding: 1rem 1.2rem; box-shadow: 0 1rem 3rem rgba(16,16,28,.25); font-size: .8rem; font-weight: 700; }
.store-toast.is-error { background: #8c273b; }

@media (max-width: 980px) {
    .catalogue-hero, .product-builder { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .catalogue-showcase { min-height: 620px; }
    .product-preview { min-height: 720px; }
    .preview-stage { position: relative; min-height: 720px; }
    .bundle-promise { grid-template-columns: auto 1fr; }
    .bundle-promise > p { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .included-strip { justify-content: space-between; gap: .5rem; font-size: .62rem; }
    .store-header { flex-wrap: wrap; gap: .75rem; padding: 1rem 1.25rem; }
    .store-header > .cart-link { margin-left: auto; }
    .store-nav {
        order: 3;
        width: 100%;
        gap: .35rem;
        overflow-x: auto;
        padding-bottom: .15rem;
        scrollbar-width: none;
    }
    .store-nav::-webkit-scrollbar { display: none; }
    .store-nav a {
        flex: 0 0 auto;
        min-height: 2.2rem;
        padding: .55rem .7rem;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--white);
        font-size: .68rem;
    }
    .store-nav a[aria-current="page"] { background: var(--ink); color: var(--white); text-decoration: none; }
    .catalogue-hero, .product-builder, .collection-section, .bundle-promise, .cross-sell, .cart-shell, .not-found-shell { width: calc(100% - 2rem); }
    .catalogue-hero { min-height: auto; border-radius: 1.2rem; }
    .catalogue-intro { padding: 3rem 1.5rem; }
    .catalogue-intro h1, .product-builder h1, .cart-heading h1, .not-found-shell h1 { font-size: 3.4rem; }
    .catalogue-showcase { min-height: 500px; }
    .collection-section { margin-block: 5rem; }
    .section-heading { display: grid; gap: 1rem; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card-visual { min-height: 330px; }
    .bundle-promise { gap: 1.5rem; margin-bottom: 5rem; padding: 2rem 1.5rem; }
    .bundle-number { font-size: 7rem; }
    .builder-copy { padding: 2rem 1.25rem; }
    .breadcrumbs { margin-bottom: 2.5rem; }
    .field-grid { grid-template-columns: 1fr; }
    .cover-upload-grid, .mood-grid { grid-template-columns: 1fr; }
    .buy-panel { grid-template-columns: 80px 1fr; }
    .add-cart-button { grid-column: 1 / -1; }
    .product-preview, .preview-stage { min-height: 630px; }
    .preview-stage { padding: 2rem; }
    .custom-book { width: 260px; padding: 2.2rem; }
    .custom-book strong { font-size: 2rem; }
    .custom-book em { left: 2.2rem; }
    .product-benefits { grid-template-columns: 1fr; }
    .cross-sell > a { grid-template-columns: 1fr auto; gap: .5rem; }
    .cross-sell a > span { grid-column: 1 / -1; }
    .cart-shell { margin-top: 2rem; }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .cart-item { grid-template-columns: 140px 1fr; }
    .cart-item-covers { min-height: 110px; padding: .6rem; }
    .cart-item-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; width: 100%; padding-top: 1rem; border-top: 1px solid var(--line); }
    .cart-item-actions .cart-item-saving { margin-left: auto; }
    .store-footer { grid-template-columns: 1fr; padding: 2.5rem 1.25rem; }
    .store-footer > div { justify-content: start; flex-wrap: wrap; }
}

@media (max-width: 420px) {
    .included-strip span { display: none; }
    .included-strip { justify-content: center; }
    .catalogue-intro h1, .product-builder h1, .cart-heading h1, .not-found-shell h1 { font-size: 2.9rem; }
    .catalogue-showcase { min-height: 420px; }
    .product-preview, .preview-stage { min-height: 570px; }
    .custom-book { width: 225px; }
    .product-benefits { font-size: .65rem; }
    .cart-item { grid-template-columns: 115px 1fr; padding: 1rem; }
    .cart-item-covers { gap: .4rem; padding: .45rem; }
    .cart-cover-card figcaption span { display: none; }
    .cart-item-actions { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Espace client */
.store-header-actions { display: flex; align-items: center; gap: .75rem; }
.account-link {
    padding: .7rem .9rem;
    color: var(--violet);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}
.account-link:hover, .account-link[aria-current="page"] { text-decoration: underline; text-underline-offset: .3rem; }
.customer-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .78fr);
    width: min(1160px, calc(100% - 5rem));
    min-height: 650px;
    margin: 3rem auto 7rem;
    overflow: hidden;
    border-radius: 2rem;
    background: var(--white);
}
.customer-auth-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 7vw, 7rem);
    background: var(--ink);
    color: var(--white);
}
.customer-auth-intro .store-eyebrow { color: var(--acid); }
.customer-auth-intro h1, .account-heading h1, .tracking-heading h1, .tracking-empty h1 {
    margin-top: 1rem;
    font-family: "DM Serif Display", serif;
    font-size: clamp(3.4rem, 6vw, 6rem);
    font-weight: 400;
    line-height: .92;
    letter-spacing: -.05em;
}
.customer-auth-intro > p:last-child { max-width: 34rem; margin-top: 2rem; color: rgba(255,255,255,.65); line-height: 1.7; }
.customer-auth-card { align-self: center; margin: 2rem; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: 1.2rem; box-shadow: .65rem .65rem 0 var(--violet); }
.customer-auth-card h2 { margin-top: .65rem; font-family: "DM Serif Display", serif; font-size: 2.6rem; font-weight: 400; }
.customer-auth-card > p:not(.store-eyebrow) { margin-top: .8rem; color: var(--muted); line-height: 1.55; }
.customer-auth-card form { display: grid; gap: 1rem; margin-top: 1.6rem; }
.customer-auth-card label { display: grid; gap: .5rem; }
.customer-auth-card label span { font-size: .72rem; font-weight: 800; }
.customer-auth-card input { min-height: 3.5rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--paper); }
.customer-auth-card button, .secondary-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.5rem;
    padding: .8rem 1rem;
    border: 0;
    border-radius: .65rem;
    background: var(--ink);
    color: var(--white);
    font-weight: 800;
}
.customer-auth-card > small { display: block; margin-top: 1rem; color: var(--muted); font-size: .7rem; }
.customer-auth-card .pending-email { color: var(--ink); font-weight: 800; overflow-wrap: anywhere; }
.otp-input { font-size: 1.65rem; font-weight: 800; letter-spacing: .4em; text-align: center; }
.change-email { display: inline-block; margin-top: 1.2rem; color: var(--muted); font-size: .75rem; }
.customer-alert { margin-top: 1rem; padding: .8rem 1rem; border-radius: .5rem; font-size: .78rem; line-height: 1.5; }
.customer-alert.is-error { background: #ffe6e4; color: #8d2118; }
.account-shell, .tracking-shell { width: min(1120px, calc(100% - 5rem)); margin: 4rem auto 8rem; }
.account-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.account-heading h1 { font-size: clamp(3.6rem, 6vw, 6.2rem); }
.account-heading > div > p:last-child { margin-top: 1rem; color: var(--muted); }
.secondary-button { min-height: 2.8rem; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.customer-order-list { display: grid; gap: 1.4rem; }
.customer-order-card { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 1.3rem; background: var(--white); }
.customer-order-card > header { display: flex; align-items: start; justify-content: space-between; gap: 1.5rem; }
.customer-order-card h2 { margin-top: .45rem; font-family: "DM Serif Display", serif; font-size: 2.2rem; font-weight: 400; }
.customer-status-pill { padding: .55rem .75rem; border-radius: 999px; background: var(--acid); font-size: .72rem; font-weight: 800; }
.order-product-list { display: grid; gap: .65rem; margin: 2rem 0; padding: 1.2rem 0; border-block: 1px solid var(--line); list-style: none; }
.order-product-list li, .tracking-products > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.order-product-list span, .tracking-products span { color: var(--muted); font-size: .8rem; }
.order-product-list em, .tracking-products em { font-style: normal; font-weight: 800; }
.customer-order-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 2.2rem 0; padding: 0; list-style: none; }
.customer-order-progress li { position: relative; display: grid; justify-items: center; gap: .65rem; color: #a4a0a9; font-size: .68rem; text-align: center; }
.customer-order-progress li::before { position: absolute; top: .48rem; left: -50%; width: 100%; height: 2px; background: var(--line); content: ""; }
.customer-order-progress li:first-child::before { display: none; }
.customer-order-progress li > span { position: relative; z-index: 1; width: 1rem; height: 1rem; border: 2px solid var(--line); border-radius: 50%; background: var(--white); }
.customer-order-progress li.is-complete, .customer-order-progress li.is-current { color: var(--ink); }
.customer-order-progress li.is-complete::before, .customer-order-progress li.is-current::before { background: var(--violet); }
.customer-order-progress li.is-complete > span { border-color: var(--violet); background: var(--violet); }
.customer-order-progress li.is-current > span { border-color: var(--ink); background: var(--acid); box-shadow: 0 0 0 4px rgba(223,255,34,.35); }
.customer-order-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.customer-order-card code, .tracking-card > code { color: var(--muted); font-size: .65rem; overflow-wrap: anywhere; }
.carrier-link { display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1rem; border-radius: .65rem; background: var(--ink); color: var(--white); font-size: .78rem; font-weight: 800; text-decoration: none; }
.empty-account, .tracking-empty { padding: clamp(2rem, 6vw, 5rem); border-radius: 1.5rem; background: var(--white); text-align: center; }
.empty-account p, .tracking-empty p { margin: 1rem auto 2rem; color: var(--muted); }
.tracking-shell { max-width: 900px; }
.tracking-heading { margin-bottom: 2rem; text-align: center; }
.tracking-heading h1, .tracking-empty h1 { font-size: clamp(3.4rem, 7vw, 6.4rem); }
.tracking-heading > p:last-child { margin-top: 1rem; color: var(--muted); }
.tracking-card { padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px solid var(--line); border-radius: 1.5rem; background: var(--white); box-shadow: .65rem .65rem 0 var(--violet); }
.tracking-products { display: grid; gap: .8rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.carrier-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 2rem 0; }
.tracking-card > code { display: block; margin-top: 2rem; }

@media (max-width: 980px) {
    .customer-auth-shell { grid-template-columns: 1fr; }
    .customer-auth-intro { min-height: 430px; }
}

@media (max-width: 720px) {
    .store-header-actions { align-self: flex-end; }
    .account-link { padding-inline: .35rem; font-size: .7rem; }
    .customer-auth-shell, .account-shell, .tracking-shell { width: calc(100% - 2rem); }
    .customer-auth-shell { margin-top: 1.5rem; border-radius: 1.2rem; }
    .customer-auth-intro { min-height: 360px; padding: 3rem 1.5rem; }
    .customer-auth-intro h1 { font-size: 3.4rem; }
    .customer-auth-card { margin: 1rem; padding: 2rem 1.25rem; box-shadow: .35rem .35rem 0 var(--violet); }
    .account-heading { display: grid; align-items: start; }
    .customer-order-card > header, .customer-order-card > footer { align-items: start; flex-direction: column; }
    .customer-order-progress { grid-template-columns: 1fr; gap: 1rem; margin-left: .25rem; }
    .customer-order-progress li { grid-template-columns: 1rem 1fr; justify-items: start; text-align: left; }
    .customer-order-progress li::before { top: -1rem; left: .45rem; width: 2px; height: 1rem; }
    .order-product-list li, .tracking-products > div { grid-template-columns: 1fr auto; }
    .order-product-list span, .tracking-products span { grid-column: 1 / -1; grid-row: 2; }
}
