:root {
    --navy: #06254a;
    --pelot-navy: #06254a;
    --pelot-navy-dark: #031a35;
    --pelot-ink: #10233d;
    --pelot-muted: #687281;
    --pelot-line: #e4e7eb;
    --pelot-soft: #f7f8f8;
    --pelot-white: #fff;
    --pelot-error: #a62626;
}

.pelot-custom-knitwear-page .page-heading {
    display: none !important;
}

.pelot-custom-knitwear-page .footer-bottom {
    display: none !important;
}

.pelot-custom-knitwear-page .content-page {
    width: 100%;
    max-width: none;
    margin-top: 28px;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    background: #f7f7f7;
}

.pelot-custom-knitwear,
.pelot-custom-knitwear * {
    box-sizing: border-box;
}

.pelot-custom-knitwear {
    width: min(100%, 1480px);
    margin: 0 auto;
    padding: clamp(28px, 4vw, 64px) clamp(16px, 3vw, 40px) 0;
    color: var(--pelot-ink);
    font-family: inherit;
}

.pelot-custom-knitwear [hidden] {
    display: none !important;
}

.pelot-custom-knitwear button,
.pelot-custom-knitwear input {
    font: inherit;
}

.pelot-custom-knitwear__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(470px, .84fr);
    gap: clamp(24px, 3.5vw, 54px);
    align-items: start;
}

.pelot-custom-knitwear__presentation {
    min-width: 0;
}

.pelot-custom-knitwear__copy {
    max-width: 690px;
    margin-bottom: 24px;
}

.pelot-custom-knitwear__eyebrow {
    margin: 0 0 12px;
    color: var(--pelot-navy);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pelot-custom-knitwear__copy h1 {
    margin: 0 0 16px;
    color: var(--pelot-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 4.2vw, 4.4rem);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .98;
}

.pelot-custom-knitwear__copy > p:last-child {
    max-width: 560px;
    margin: 0;
    color: #35445a;
    font-size: clamp(.94rem, 1.25vw, 1.08rem);
    line-height: 1.65;
}

.pelot-custom-knitwear__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    min-height: 440px;
    border-radius: 22px;
    background: #e9edf1;
    box-shadow: 0 24px 70px rgba(7, 29, 56, .12);
}

.pelot-custom-knitwear__media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pelot-custom-knitwear__media-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 12px;
    background: rgba(3, 26, 53, .82);
    color: #fff;
    backdrop-filter: blur(8px);
}

.pelot-custom-knitwear__media-caption strong {
    font-size: 1rem;
}

.pelot-custom-knitwear__media-caption span {
    color: rgba(255, 255, 255, .82);
    font-size: .82rem;
    line-height: 1.4;
}

.pelot-custom-knitwear__preview {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid var(--pelot-line);
    border-radius: 14px;
    background: #fff;
}

.pelot-custom-knitwear__preview-measures {
    display: flex;
    gap: 7px;
}

.pelot-custom-knitwear__preview-measures img {
    width: 58px;
    height: 48px;
    border-radius: 7px;
    object-fit: cover;
}

.pelot-custom-knitwear__preview > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pelot-custom-knitwear__preview span {
    color: var(--pelot-muted);
    font-size: .72rem;
}

.pelot-custom-knitwear__preview strong {
    color: var(--pelot-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
}

.pelot-custom-knitwear__preview small {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #46556a;
}

.pelot-custom-knitwear__preview small i {
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--pelot-navy-dark);
}

.pelot-custom-knitwear__card {
    --pelot-step-divider-gap: 28px;
    position: relative;
    display: flex;
    overflow: hidden;
    height: 610px;
    min-height: 0;
    margin: 0;
    border: 1px solid var(--pelot-line);
    border-radius: 20px;
    background: var(--pelot-white);
    box-shadow: 0 20px 65px rgba(7, 29, 56, .09);
    flex-direction: column;
}

.pelot-custom-knitwear__stepper {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 26px 20px 3px;
    border-bottom: 1px solid #edf0f2;
    background: #fff;
    list-style: none;
}

.pelot-custom-knitwear__stepper li {
    position: relative;
    min-width: 0;
}

.pelot-custom-knitwear__stepper li:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 25px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 1px;
    background: #dfe3e7;
}

.pelot-custom-knitwear__stepper button {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    color: #9aa1aa;
    -webkit-text-fill-color: currentColor;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    appearance: none;
    -webkit-appearance: none;
    text-transform: none;
    font-size: inherit;
    line-height: inherit;
    transition: color .18s ease;
}

.pelot-custom-knitwear form .pelot-custom-knitwear__stepper button:hover,
.pelot-custom-knitwear form .pelot-custom-knitwear__stepper button:focus,
.pelot-custom-knitwear form .pelot-custom-knitwear__stepper button:active,
.pelot-custom-knitwear form .pelot-custom-knitwear__stepper button:disabled,
.pelot-custom-knitwear form .pelot-custom-knitwear__stepper button:disabled:hover,
.pelot-custom-knitwear form .pelot-custom-knitwear__stepper button:disabled:focus {
    height: auto;
    padding: 0 2px;
    border: 0;
    border-color: transparent;
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    color: inherit;
    -webkit-text-fill-color: currentColor;
    outline: none;
}

.pelot-custom-knitwear__stepper button:disabled {
    cursor: not-allowed;
    opacity: 1;
}

.pelot-custom-knitwear__stepper button > span {
    position: relative;
    display: grid;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    color: inherit;
    place-items: center;
    font-size: 0;
    font-weight: 800;
    line-height: 1;
    transition: transform .18s ease;
}

.pelot-custom-knitwear__stepper button > span::before {
    content: "";
    position: absolute;
    inset: 0;
    background: center / 50px 50px no-repeat url("../images/avancement-progress.png");
}

.pelot-custom-knitwear__stepper button > span::after {
    content: attr(data-pelot-step-number);
    position: absolute;
    z-index: 1;
    inset: 0;
    display: grid;
    align-items: center;
    justify-items: center;
    font-size: .98rem;
    line-height: 1;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.pelot-custom-knitwear__stepper button small {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding-inline: 5px;
    background: #fff;
    font-size: clamp(.72rem, .8vw, .82rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.pelot-custom-knitwear__stepper button.is-current,
.pelot-custom-knitwear__stepper button.is-complete {
    color: var(--pelot-ink);
}

.pelot-custom-knitwear__stepper button.is-current > span {
    color: #fff;
}

.pelot-custom-knitwear__stepper button.is-current > span::before {
    background-image: url("../images/avancement-ink.png");
}

.pelot-custom-knitwear__stepper button.is-complete > span::before {
    background-image: url("../images/avancement-ok-ink.png");
}

.pelot-custom-knitwear__stepper button.is-complete > span::after {
    content: none;
}

.pelot-custom-knitwear__step {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: var(--pelot-step-divider-gap) 28px 26px;
}

.pelot-custom-knitwear__step header {
    margin-bottom: 20px;
}

.pelot-custom-knitwear__step h2,
.pelot-custom-knitwear__step h3 {
    margin: 0 0 7px;
    color: var(--pelot-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.2;
}

.pelot-custom-knitwear__step h2 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.pelot-custom-knitwear__step h3 {
    margin-top: 24px;
    font-size: 1.2rem;
}

.pelot-custom-knitwear__step header p {
    margin: 0;
    color: var(--pelot-muted);
    font-size: .84rem;
    line-height: 1.45;
}

.pelot-custom-knitwear__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

.pelot-custom-knitwear__choice-field {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.pelot-custom-knitwear__choice-field legend {
    margin-bottom: 8px;
    color: #35445a;
    font-size: .8rem;
    font-weight: 800;
}

.pelot-custom-knitwear__step-subheader {
    margin-top: 6px;
    margin-bottom: 16px;
}

.pelot-custom-knitwear__gender-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pelot-custom-knitwear__choice,
.pelot-custom-knitwear__style-card,
.pelot-custom-knitwear__material-card,
.pelot-custom-knitwear__color {
    position: relative;
    cursor: pointer;
}

.pelot-custom-knitwear__choice input,
.pelot-custom-knitwear__style-card input,
.pelot-custom-knitwear__material-card input,
.pelot-custom-knitwear__color input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pelot-custom-knitwear__choice > span {
    display: flex;
    min-height: 56px;
    padding: 0 14px;
    border: 1px solid var(--pelot-line);
    border-radius: 7px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #35445a;
    font-size: 1rem;
    font-weight: 700;
    line-height: 20px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}

.pelot-custom-knitwear__gender-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    background: currentColor;
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
}

.pelot-custom-knitwear__gender-icon--homme {
    -webkit-mask-image: url("../images/gender-homme.png");
    mask-image: url("../images/gender-homme.png");
}

.pelot-custom-knitwear__gender-icon--femme {
    -webkit-mask-image: url("../images/gender-femme.png");
    mask-image: url("../images/gender-femme.png");
}

.pelot-custom-knitwear__choice input:checked + span,
.pelot-custom-knitwear__choice input:focus-visible + span {
    border-color: var(--pelot-navy);
    box-shadow: inset 0 0 0 1px var(--pelot-navy);
    color: var(--pelot-navy);
}

.pelot-custom-knitwear__measure-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pelot-custom-knitwear__measure-field {
    display: block;
    padding: 10px 11px 9px;
    border: 1px solid #e7eaed;
    border-radius: 8px;
    background: #fbfcfc;
    cursor: text;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}

.pelot-custom-knitwear__measure-field:focus-within {
    border-color: var(--pelot-navy);
    box-shadow: 0 0 0 2px rgba(6, 37, 74, .08);
}

.pelot-custom-knitwear__measure-field > span {
    display: flex;
    margin-bottom: 7px;
    color: #46556a;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 700;
}

.pelot-custom-knitwear__measure-icon {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.pelot-custom-knitwear__measure-icon--bust-height {
    -webkit-mask-image: url("../images/measure-icon-bust-height.png");
    mask-image: url("../images/measure-icon-bust-height.png");
}

.pelot-custom-knitwear__measure-icon--arm {
    -webkit-mask-image: url("../images/measure-icon-arm.png");
    mask-image: url("../images/measure-icon-arm.png");
}

.pelot-custom-knitwear__measure-icon--chest {
    -webkit-mask-image: url("../images/measure-icon-chest.png");
    mask-image: url("../images/measure-icon-chest.png");
}

.pelot-custom-knitwear__measure-icon--height {
    -webkit-mask-image: url("../images/measure-icon-height.png");
    mask-image: url("../images/measure-icon-height.png");
}

.pelot-custom-knitwear__measure-icon--weight {
    -webkit-mask-image: url("../images/measure-icon-weight.png");
    mask-image: url("../images/measure-icon-weight.png");
}

.pelot-custom-knitwear__measure-field input {
    width: 100%;
    min-height: 30px;
    margin: 0;
    padding: 4px 7px;
    border: 1px solid #edf0f2;
    border-radius: 5px;
    outline: 0;
    background: #fff;
    color: var(--pelot-ink);
    font-size: .84rem;
}

.pelot-custom-knitwear__measure-field input::placeholder {
    color: #a0a7af;
}

.pelot-custom-knitwear__style-options,
.pelot-custom-knitwear__material-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pelot-custom-knitwear__style-card {
    display: flex;
    min-height: 295px;
    padding: 16px;
    border: 1px solid var(--pelot-line);
    border-radius: 10px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}

.pelot-custom-knitwear__style-card:has(input:checked) {
    border-color: var(--pelot-navy);
    box-shadow: inset 0 0 0 1px var(--pelot-navy);
}

.pelot-custom-knitwear__style-card:has(input:checked)::after,
.pelot-custom-knitwear__material-card:has(input:checked)::after {
    content: "✓";
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--pelot-navy);
    color: #fff;
    place-items: center;
    font-size: .75rem;
}

.pelot-custom-knitwear__sweater-shape {
    display: block;
    width: 100%;
    height: 190px;
    margin-bottom: 5px;
}

.pelot-custom-knitwear__sweater-shape svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 10px rgba(3, 26, 53, .15));
}

.pelot-custom-knitwear__sweater-shape path {
    fill: #071d3a;
}

.pelot-custom-knitwear__style-card strong,
.pelot-custom-knitwear__material-card strong {
    color: var(--pelot-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    font-weight: 500;
}

.pelot-custom-knitwear__style-card small,
.pelot-custom-knitwear__material-card small {
    margin-top: 5px;
    color: var(--pelot-muted);
    font-size: .75rem;
}

.pelot-custom-knitwear .is-disabled {
    cursor: not-allowed;
    opacity: .5;
    pointer-events: none;
}

.pelot-custom-knitwear__style-card.is-disabled::before {
    content: "Prochainement";
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 6px;
    border-radius: 4px;
    background: #eef0f2;
    color: #576273;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pelot-custom-knitwear__material-card {
    display: grid;
    min-height: 112px;
    padding: 20px 16px;
    border: 1px solid var(--pelot-line);
    border-radius: 10px;
    grid-template-columns: 40px 1fr;
    align-content: center;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}

.pelot-custom-knitwear__material-card:has(input:checked) {
    border-color: var(--pelot-navy);
    box-shadow: inset 0 0 0 1px var(--pelot-navy);
}

.pelot-custom-knitwear__yarn-icon {
    grid-row: span 2;
    display: block;
    width: 50px;
    height: 50px;
    color: var(--pelot-ink);
}

.pelot-custom-knitwear__yarn-icon::before {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    background: center / contain no-repeat;
}

.pelot-custom-knitwear__material-card input[value="2_fils"] + .pelot-custom-knitwear__material-heading .pelot-custom-knitwear__yarn-icon::before {
    background-image: url("../images/yarn-2-fils.svg");
}

.pelot-custom-knitwear__material-card input[value="3_fils"] + .pelot-custom-knitwear__material-heading .pelot-custom-knitwear__yarn-icon::before {
    background-image: url("../images/yarn-3-fils.svg");
}

.pelot-custom-knitwear__material-meter {
    grid-column: 1 / -1;
    display: flex;
    gap: 7px;
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid #edf0f2;
}

.pelot-custom-knitwear__material-meter i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--pelot-navy);
}

.pelot-custom-knitwear__material-card:first-child .pelot-custom-knitwear__material-meter i:nth-child(n + 3) {
    background: #dfe3e7;
}

.pelot-custom-knitwear__color-options {
    display: grid;
    grid-template-columns: none;
    grid-auto-columns: 82px;
    grid-auto-flow: column;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 9px;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-color: #aeb7c1 #edf0f2;
    scrollbar-width: thin;
}

.pelot-custom-knitwear__color-options::-webkit-scrollbar {
    height: 6px;
}

.pelot-custom-knitwear__color-options::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #edf0f2;
}

.pelot-custom-knitwear__color-options::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #aeb7c1;
}

.pelot-custom-knitwear__color {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-direction: column;
    gap: 7px;
    scroll-snap-align: start;
    text-align: center;
}

.pelot-custom-knitwear__color > span {
    display: block;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: var(--pelot-swatch);
    background-image: url("../images/color-yarn-ball.png");
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    box-shadow:
        inset 0 0 12px rgba(255, 255, 255, .08),
        0 0 0 1px #d7dce1;
    transition: box-shadow .18s ease, transform .18s ease;
}

.pelot-custom-knitwear__color input:checked + span {
    box-shadow: 0 0 0 2px var(--pelot-navy);
}

.pelot-custom-knitwear__color small {
    color: #46556a;
    font-size: .72rem;
    line-height: 1.25;
}

.pelot-custom-knitwear__color-tag {
    display: inline-flex;
    min-height: 20px;
    max-width: 100%;
    margin-top: -1px;
    padding: 3px 5px;
    border: 1px solid #aeb7c1;
    border-radius: 999px;
    color: var(--pelot-navy);
    align-items: center;
    justify-content: center;
    font-size: .55rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
}

.pelot-custom-knitwear__color-tag.is-best-seller {
    border-color: var(--pelot-navy);
    background: var(--pelot-navy);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
}

.pelot-custom-knitwear__step[data-pelot-step="3"] header {
    margin-bottom: 12px;
}

.pelot-custom-knitwear__step[data-pelot-step="3"] {
    padding-top: 18px;
}

.pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__material-options {
    gap: 12px;
}

.pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__color-options {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e7eaed;
}

.pelot-custom-knitwear__step[data-pelot-step="3"] h3 {
    margin-top: 14px;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.pelot-custom-knitwear__certification {
    display: flex;
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #e7eaed;
    border-radius: 8px;
    background: #fbfcfc;
    flex-direction: column;
    gap: 2px;
    color: var(--pelot-ink);
    font-size: .78rem;
}

.pelot-custom-knitwear__certification span {
    font-style: italic;
}

.pelot-custom-knitwear__certification-icon {
    display: block;
    width: 34px;
    height: 34px;
    background: #b99743;
    -webkit-mask: center / contain no-repeat url("../images/wool-certification-icon.png");
    mask: center / contain no-repeat url("../images/wool-certification-icon.png");
}

.pelot-custom-knitwear__step-error {
    min-height: 18px;
    margin: 12px 0 0;
    color: var(--pelot-error);
    font-size: .78rem;
    font-weight: 700;
}

.pelot-custom-knitwear__actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    justify-content: space-between;
}

.pelot-custom-knitwear__actions--end {
    justify-content: flex-end;
}

.pelot-custom-knitwear__primary,
.pelot-custom-knitwear__secondary {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 750;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, filter .18s ease, transform .18s ease;
}

.pelot-custom-knitwear__primary {
    flex: 1;
    border: 1px solid var(--pelot-navy);
    background: linear-gradient(135deg, var(--pelot-navy), var(--pelot-navy-dark));
    color: #fff;
}

.pelot-custom-knitwear__primary span {
    margin-left: 10px;
    font-size: 1.1rem;
}

.pelot-custom-knitwear__secondary {
    border: 1px solid #dce1e6;
    background: #fff;
    color: var(--pelot-navy);
}

@media (hover: hover) {
    .pelot-custom-knitwear__choice:hover > span {
        border-color: var(--pelot-navy);
        background: #f5f8fb;
        box-shadow: 0 0 0 2px rgba(6, 37, 74, .08);
        transform: translateY(-1px);
    }

    .pelot-custom-knitwear__measure-grid:not(:has(input:focus)) .pelot-custom-knitwear__measure-field:not(.is-disabled):hover {
        border-color: var(--pelot-navy);
        background: #f5f8fb;
        box-shadow: 0 0 0 2px rgba(6, 37, 74, .08);
        transform: translateY(-1px);
    }

    .pelot-custom-knitwear__style-card:not(.is-disabled):hover,
    .pelot-custom-knitwear__material-card:hover {
        border-color: var(--pelot-navy);
        background: #f8fafc;
        box-shadow: 0 8px 22px rgba(6, 37, 74, .1);
        transform: translateY(-2px);
    }

    .pelot-custom-knitwear__color:not(.is-disabled):hover > span {
        box-shadow:
            inset 0 0 12px rgba(255, 255, 255, .08),
            0 0 0 2px var(--pelot-navy);
        transform: scale(1.07);
    }

    .pelot-custom-knitwear form .pelot-custom-knitwear__stepper button:not(:disabled):hover,
    .pelot-custom-knitwear form .pelot-custom-knitwear__stepper button:not(:disabled):focus,
    .pelot-custom-knitwear form .pelot-custom-knitwear__stepper button:not(:disabled):active {
        border: 0;
        background: transparent;
        background-color: transparent;
        box-shadow: none;
        color: var(--pelot-navy);
        -webkit-text-fill-color: currentColor;
    }

    .pelot-custom-knitwear__stepper button:not(:disabled):hover > span {
        transform: translateY(-2px);
    }

    .pelot-custom-knitwear__primary:not(:disabled):hover {
        box-shadow: 0 8px 20px rgba(6, 37, 74, .2);
        filter: brightness(1.08);
        transform: translateY(-1px);
    }

    .pelot-custom-knitwear__secondary:not(:disabled):hover {
        border-color: var(--pelot-navy);
        background: #f5f8fb;
        box-shadow: 0 6px 16px rgba(6, 37, 74, .1);
        transform: translateY(-1px);
    }

    .pelot-custom-knitwear form .pelot-custom-knitwear__footer-nav:not(:disabled):hover {
        border-color: #b99743;
        background: #f7f8fa;
        color: var(--pelot-navy);
        -webkit-text-fill-color: currentColor;
        box-shadow: 0 6px 16px rgba(6, 37, 74, .1);
    }

    .pelot-custom-knitwear form .pelot-custom-knitwear__footer-nav--next:not(:disabled):hover {
        background: var(--pelot-navy-dark);
        color: #fff;
        -webkit-text-fill-color: #fff;
    }

    .pelot-custom-knitwear form .pelot-custom-knitwear__footer-nav--next:not(:disabled):hover strong,
    .pelot-custom-knitwear form .pelot-custom-knitwear__footer-nav--next:not(:disabled):hover b {
        color: #fff;
        -webkit-text-fill-color: #fff;
    }

    .pelot-custom-knitwear form .pelot-custom-knitwear__footer-nav--next:not(:disabled):hover small {
        color: rgba(255, 255, 255, .72);
        -webkit-text-fill-color: rgba(255, 255, 255, .72);
    }
}

.pelot-custom-knitwear__primary:focus-visible,
.pelot-custom-knitwear__secondary:focus-visible,
.pelot-custom-knitwear__footer-nav:focus-visible,
.pelot-custom-knitwear__stepper button:focus-visible {
    outline: 3px solid rgba(6, 37, 74, .22);
    outline-offset: 2px;
}

.pelot-custom-knitwear__configurator-footer {
    display: grid;
    flex: 0 0 auto;
    margin-top: auto;
    padding: 12px 16px;
    border-top: 1px solid #edf0f2;
    background: #fcfcfb;
    grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
    align-items: center;
    gap: 16px;
}

.pelot-custom-knitwear__price {
    display: flex;
    min-width: 150px;
    padding-inline: 18px;
    border-right: 1px solid #e1e4e7;
    border-left: 1px solid #e1e4e7;
    align-items: center;
    flex-direction: column;
}

.pelot-custom-knitwear__price strong {
    color: var(--pelot-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 500;
}

.pelot-custom-knitwear__price span {
    color: #46556a;
    font-size: .73rem;
}

.pelot-custom-knitwear__footer-nav {
    display: flex;
    min-height: 58px;
    padding: 8px 14px;
    border: 1px solid #cfd5db;
    border-radius: 8px;
    background: #fff;
    color: var(--pelot-navy);
    -webkit-text-fill-color: currentColor;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.pelot-custom-knitwear__footer-nav > span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pelot-custom-knitwear__footer-nav strong {
    color: inherit;
    -webkit-text-fill-color: currentColor;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .95rem;
    font-weight: 500;
}

.pelot-custom-knitwear__footer-nav small {
    color: #7b8490;
    -webkit-text-fill-color: currentColor;
    font-size: .66rem;
}

.pelot-custom-knitwear__footer-nav b {
    color: inherit;
    -webkit-text-fill-color: currentColor;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
}

.pelot-custom-knitwear__footer-nav--next {
    border-color: #b99743;
    background: var(--pelot-navy);
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.pelot-custom-knitwear__footer-nav--next strong,
.pelot-custom-knitwear__footer-nav--next b {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.pelot-custom-knitwear__footer-nav--next small {
    color: rgba(255, 255, 255, .72);
    -webkit-text-fill-color: rgba(255, 255, 255, .72);
}

.pelot-custom-knitwear__footer-nav:disabled {
    cursor: not-allowed;
    opacity: .38;
}

.pelot-custom-knitwear__footer-nav.is-invisible {
    visibility: hidden;
}

.pelot-custom-knitwear__notice {
    margin: 16px 28px 0;
    padding: 12px 14px;
    border-radius: 7px;
    font-size: .78rem;
    line-height: 1.45;
}

.pelot-custom-knitwear__notice--error {
    border: 1px solid #f0c9c9;
    background: #fff3f3;
    color: var(--pelot-error);
}

.pelot-custom-knitwear__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.pelot-custom-knitwear__summary > div {
    padding: 9px 11px;
    border: 1px solid #e7eaed;
    border-radius: 7px;
    background: #fbfcfc;
}

.pelot-custom-knitwear__summary dt {
    color: var(--pelot-muted);
    font-size: .72rem;
}

.pelot-custom-knitwear__summary dd {
    min-height: 20px;
    margin: 3px 0 0;
    color: var(--pelot-ink);
    font-size: .84rem;
    font-weight: 750;
}

.pelot-custom-knitwear__match {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #b9c8d6;
    border-radius: 9px;
    background: #f4f8fb;
}

.pelot-custom-knitwear__match.is-stale {
    border-color: #e4c77a;
    background: #fff9e9;
}

.pelot-custom-knitwear__match.is-stale::before {
    content: "Configuration modifiée : recalculez votre taille avant l’ajout au panier.";
    display: block;
    margin-bottom: 10px;
    color: #755817;
    font-size: .76rem;
    font-weight: 800;
}

.pelot-custom-knitwear__match > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.pelot-custom-knitwear__match > div span {
    color: #46556a;
    font-size: .8rem;
}

.pelot-custom-knitwear__match > div strong {
    color: var(--pelot-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.pelot-custom-knitwear__match > p {
    margin: 7px 0 0;
    color: #46556a;
    font-size: .78rem;
}

.pelot-custom-knitwear__bmi-notice {
    color: var(--pelot-navy) !important;
    font-weight: 700;
}

.pelot-custom-knitwear__schema {
    margin: 12px 0 0;
}

.pelot-custom-knitwear__schema-image {
    position: relative;
    width: min(100%, 300px);
    margin: 0 auto;
}

.pelot-custom-knitwear__schema-image img {
    display: block;
    width: 100%;
    height: auto;
}

.pelot-custom-knitwear__schema-dimension {
    position: absolute;
    color: var(--pelot-navy);
    font-size: .72rem;
    font-weight: 800;
}

.pelot-custom-knitwear__schema-dimension--height {
    top: 56%;
    left: 8.5%;
}

.pelot-custom-knitwear__schema-dimension--chest {
    top: 63%;
    left: 50.5%;
    transform: translateX(-50%);
}

.pelot-custom-knitwear__schema-dimension--sleeve {
    top: 55.5%;
    right: 9%;
}

.pelot-custom-knitwear__benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
    border-top: 1px solid #e8ebee;
    border-bottom: 1px solid #e8ebee;
}

.pelot-custom-knitwear__benefits > div {
    display: flex;
    min-height: 100px;
    padding: 20px clamp(16px, 3vw, 42px);
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.pelot-custom-knitwear__benefits > div:not(:last-child) {
    border-right: 1px solid #e8ebee;
}

.pelot-custom-knitwear__benefits > .pelot-custom-knitwear__benefit-with-icon {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 12px;
    align-content: center;
}

.pelot-custom-knitwear__benefit-with-icon img {
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.pelot-custom-knitwear__benefits strong {
    color: var(--pelot-ink);
    font-size: .76rem;
}

.pelot-custom-knitwear__benefits span {
    margin-top: 5px;
    color: var(--pelot-muted);
    font-size: .7rem;
}

.pelot-custom-knitwear__th4-status {
    margin: 18px 0 0;
    color: #46556a;
    font-size: .8rem;
}

.pelot-custom-knitwear__th4-status:empty {
    display: none;
}

.pelot-custom-knitwear__th4-status.is-error {
    color: var(--pelot-error);
}

.pelot-custom-knitwear__modal[hidden] {
    display: none;
}

.pelot-custom-knitwear__modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: grid;
    padding: 20px;
    background: rgba(3, 20, 39, .66);
    place-items: center;
}

.pelot-custom-knitwear__modal-dialog {
    position: relative;
    width: min(100%, 520px);
    padding: 30px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

.pelot-custom-knitwear__modal-dialog h2 {
    margin: 0 36px 12px 0;
    color: var(--pelot-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.pelot-custom-knitwear__modal-dialog p {
    margin: 0 0 22px;
    color: #46556a;
    line-height: 1.55;
}

.pelot-custom-knitwear__modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--pelot-navy);
    color: #fff;
    cursor: pointer;
    place-items: center;
}

.pelot-custom-knitwear__modal-actions {
    display: flex;
    gap: 10px;
}

.pelot-custom-knitwear__th4-button,
.pelot-custom-knitwear__modal-secondary {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}

.pelot-custom-knitwear__th4-button {
    border: 1px solid var(--pelot-navy);
    background: var(--pelot-navy);
    color: #fff;
}

.pelot-custom-knitwear__modal-secondary {
    border: 1px solid #dce1e6;
    background: #fff;
    color: var(--pelot-navy);
}

/* Composition fidèle aux maquettes de l’atelier sur mesure. */
.pelot-custom-knitwear {
    position: relative;
    width: min(calc(100vw - 48px), 1440px);
    max-width: none;
    padding: 18px 0 0;
}

.pelot-custom-knitwear::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    background: #f7f7f7;
    transform: translateX(-50%);
}

.pelot-custom-knitwear__layout,
.pelot-custom-knitwear__benefits,
.pelot-custom-knitwear__th4-status {
    position: relative;
    z-index: 1;
}

.pelot-custom-knitwear__layout {
    grid-template-columns: minmax(0, 1fr) minmax(420px, .78fr);
    gap: clamp(26px, 3vw, 46px);
    align-items: stretch;
}

.pelot-custom-knitwear__presentation {
    display: flex;
    min-height: 0;
    flex-direction: column;
}

.pelot-custom-knitwear__hero {
    position: relative;
    flex: 1 1 auto;
    min-height: 490px;
    background: #f7f7f7;
}

.pelot-custom-knitwear__copy {
    position: absolute;
    z-index: 2;
    top: 30px;
    bottom: 0;
    left: 0;
    display: flex;
    width: 58%;
    max-width: 440px;
    margin: 0;
    flex-direction: column;
}

.pelot-custom-knitwear__copy h1 {
    margin: 16px 0 20px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 1.02;
    letter-spacing: normal;
}

.pelot-custom-knitwear__copy > p:last-of-type {
    max-width: 380px;
    font-size: .9rem;
    line-height: 1.65;
}

.pelot-custom-knitwear__copy-rule {
    display: block;
    width: 36px;
    height: 1px;
    margin: 30px 0 26px;
    background: var(--pelot-navy);
}

.pelot-custom-knitwear__hero-features {
    display: flex;
    gap: 30px;
}

.pelot-custom-knitwear__hero-features > div {
    display: grid;
    grid-template-columns: 50px 1fr;
    max-width: 175px;
    align-items: center;
}

.pelot-custom-knitwear__hero-features > div > span {
    grid-row: 1 / 3;
    color: var(--pelot-navy);
    font-size: 1.8rem;
}

.pelot-custom-knitwear__hero-features > div > img {
    grid-row: 1 / 3;
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.pelot-custom-knitwear__hero-features strong,
.pelot-custom-knitwear__hero-features small {
    font-size: .62rem;
    line-height: 1.35;
}

.pelot-custom-knitwear__hero-features small {
    color: var(--pelot-muted);
}

.pelot-custom-knitwear__customer-reviews {
    width: min(100%, 176px);
    margin-top: auto;
    flex: 0 0 auto;
    background: transparent;
}

.pelot-custom-knitwear__customer-reviews img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.pelot-custom-knitwear__media {
    position: absolute;
    top: 0;
    right: -5%;
    width: 66.1%;
    height: 100%;
    min-height: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.pelot-custom-knitwear__media video {
    object-fit: contain;
    object-position: calc(50% + 16px) bottom;
}

.pelot-custom-knitwear__media video.is-intro {
    height: calc(100% - 60px);
    margin-top: 60px;
    object-position: calc(50% + 16px) bottom;
}

.pelot-custom-knitwear__gender-dim {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    pointer-events: none;
}

.pelot-custom-knitwear__gender-dim[hidden] {
    display: none !important;
}

.pelot-custom-knitwear__gender-dim span {
    background: transparent;
    transition: background-color .2s ease;
}

.pelot-custom-knitwear__gender-dim span.is-dimmed {
    background: rgba(247, 247, 247, .72);
}

.pelot-custom-knitwear__media-caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.pelot-custom-knitwear__media-caption strong {
    font-size: .8rem;
}

.pelot-custom-knitwear__media-caption span {
    font-size: .67rem;
}

.pelot-custom-knitwear__preview {
    position: relative;
    display: block;
    min-height: 94px;
    margin-top: -1px;
    padding: 9px 12px;
    border-color: #dde2e7;
    border-radius: 12px;
}

.pelot-custom-knitwear__preview-label {
    position: absolute;
    top: 10px;
    left: 16px;
    color: var(--pelot-muted);
    font-size: .62rem;
    font-weight: 700;
}

.pelot-custom-knitwear__preview-content {
    display: grid;
    grid-template-columns: minmax(205px, 1.65fr) minmax(120px, 1fr) 76px;
    gap: 18px;
    min-height: 74px;
    align-items: center;
}

.pelot-custom-knitwear__preview-content[hidden] {
    display: none;
}

.pelot-custom-knitwear__preview-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.pelot-custom-knitwear__preview-gallery img {
    display: block;
    width: 100%;
    height: 62px;
    border: 1px solid transparent;
    border-radius: 7px;
    object-fit: cover;
}

.pelot-custom-knitwear__preview-gallery img.is-selected {
    border-color: var(--pelot-navy);
}

.pelot-custom-knitwear__preview-description {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pelot-custom-knitwear__preview-description strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.35;
}

.pelot-custom-knitwear__preview-description small {
    display: flex;
    gap: 6px;
    align-items: center;
    color: var(--pelot-muted);
    font-size: .62rem;
}

.pelot-custom-knitwear__preview-description i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--pelot-navy-dark);
}

.pelot-custom-knitwear__fabric-swatch {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background:
        repeating-linear-gradient(88deg, transparent 0 2px, rgba(255,255,255,.06) 2px 3px),
        radial-gradient(circle at 35% 30%, #12375d, #04182e 72%);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, .4);
}

.pelot-custom-knitwear__preview-content[data-pelot-preview-step="2"] {
    grid-template-columns: minmax(205px, 1.6fr) 96px 96px;
    gap: 12px;
}

.pelot-custom-knitwear__preview-style {
    display: flex;
    height: 72px;
    padding: 4px;
    border: 1px solid var(--pelot-line);
    border-radius: 7px;
    flex-direction: column;
    align-items: center;
}

.pelot-custom-knitwear__preview-style.is-selected {
    border-color: var(--pelot-navy);
    box-shadow: inset 0 0 0 1px var(--pelot-navy);
}

.pelot-custom-knitwear__preview-style img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.pelot-custom-knitwear__preview-style small {
    font-size: .55rem;
}

.pelot-custom-knitwear__card {
    height: 610px;
    min-height: 0;
    border-radius: 16px;
}

.pelot-custom-knitwear__stepper {
    padding: 26px 20px 3px;
}

.pelot-custom-knitwear__step {
    padding: var(--pelot-step-divider-gap) 24px 18px;
}

.pelot-custom-knitwear__step header {
    margin-bottom: 15px;
}

.pelot-custom-knitwear__step h2 {
    font-size: 1.2rem;
}

.pelot-custom-knitwear__measure-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.pelot-custom-knitwear__measure-field {
    padding: 8px 9px 7px;
}

.pelot-custom-knitwear__measure-field > span {
    font-size: .8rem;
}

.pelot-custom-knitwear__measure-field input {
    min-height: 27px;
    font-size: .8rem;
}

.pelot-custom-knitwear__style-card {
    min-height: 255px;
    padding: 10px;
}

.pelot-custom-knitwear__sweater-shape {
    width: 100%;
    height: 190px;
    margin-bottom: 4px;
}

.pelot-custom-knitwear__sweater-shape img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pelot-custom-knitwear__material-card {
    display: block;
    min-height: 104px;
    padding: 12px 14px;
}

.pelot-custom-knitwear__material-heading {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 14px;
    align-items: center;
}

.pelot-custom-knitwear__material-heading > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pelot-custom-knitwear__material-heading small {
    margin-top: 0;
    line-height: 1.4;
    white-space: normal;
}

.pelot-custom-knitwear__material-warmth {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #edf0f2;
}

.pelot-custom-knitwear__warmth-meter,
.pelot-custom-knitwear__warmth-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.pelot-custom-knitwear__warmth-meter {
    gap: 7px;
    padding-right: 8px;
}

.pelot-custom-knitwear__warmth-meter > span:first-child,
.pelot-custom-knitwear__warmth-copy > strong {
    color: var(--pelot-ink);
    font-family: inherit;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pelot-custom-knitwear__warmth-copy {
    gap: 5px;
    padding-left: 8px;
    border-left: 1px solid #edf0f2;
}

.pelot-custom-knitwear__warmth-copy > small {
    margin: 0;
    color: var(--pelot-muted);
    font-size: .7rem;
    line-height: 1.4;
    text-transform: none;
}

.pelot-custom-knitwear__heat-icons {
    display: flex;
    gap: 2px;
    align-items: center;
}

.pelot-custom-knitwear__heat-icons i {
    display: block;
    width: 12px;
    height: 13px;
    flex: 0 0 12px;
    background: #d8dde2;
    -webkit-mask: center / contain no-repeat url("../images/heat-knit-icon.png");
    mask: center / contain no-repeat url("../images/heat-knit-icon.png");
}

.pelot-custom-knitwear__heat-icons--2 i:nth-child(-n + 2),
.pelot-custom-knitwear__heat-icons--4 i:nth-child(-n + 4) {
    background: var(--pelot-navy);
}

.pelot-custom-knitwear__material-data {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #edf0f2;
    flex-direction: column;
}

.pelot-custom-knitwear__material-data > span {
    display: grid;
    grid-template-columns: 58px 64px 1fr;
    align-items: center;
    color: var(--pelot-muted);
    font-size: .66rem;
}

.pelot-custom-knitwear__material-data b {
    color: var(--pelot-ink);
}

.pelot-custom-knitwear__material-data em {
    font-style: normal;
}

.pelot-custom-knitwear__dots {
    display: flex;
    gap: 6px;
}

.pelot-custom-knitwear__dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dfe3e7;
}

.pelot-custom-knitwear__dots[style*="2"] i:nth-child(-n+2),
.pelot-custom-knitwear__dots[style*="5"] i {
    background: var(--pelot-navy);
}

.pelot-custom-knitwear__warmth {
    grid-column: 2 / 4;
    color: var(--pelot-navy);
    font-size: .74rem;
}

.pelot-custom-knitwear__color > span {
    width: 46px;
    height: 46px;
}

.pelot-custom-knitwear__certification {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
}

.pelot-custom-knitwear__certification > span {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.pelot-custom-knitwear__certification em {
    font-style: italic;
}

.pelot-custom-knitwear__certification img {
    object-fit: contain;
}

.pelot-custom-knitwear__certification .pelot-custom-knitwear__rws-logo {
    width: 50px;
    height: 50px;
}

.pelot-custom-knitwear__wool-mark {
    display: grid;
    width: 36px;
    height: 36px;
    border: 1px solid var(--pelot-navy);
    border-radius: 50%;
    place-items: center;
}

.pelot-custom-knitwear__actions {
    margin-top: 6px;
}

.pelot-custom-knitwear__price {
    padding-block: 12px 14px;
}

.pelot-custom-knitwear__benefits {
    margin-top: 24px;
    background: #fff;
}

.pelot-custom-knitwear__benefits::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    background: #fff;
    transform: translateX(-50%);
}

@media (max-width: 1120px) {
    .pelot-custom-knitwear__layout {
        grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
        gap: 24px;
    }

    .pelot-custom-knitwear__media {
        min-height: 390px;
    }

    .pelot-custom-knitwear__step {
        padding-inline: 22px;
    }
}

@media (max-width: 900px) {
    .pelot-custom-knitwear__layout {
        grid-template-columns: 1fr;
    }

    .pelot-custom-knitwear__copy {
        max-width: 760px;
    }

    .pelot-custom-knitwear__media {
        min-height: 0;
    }

    .pelot-custom-knitwear__card {
        height: auto;
        min-height: 0;
    }

    .pelot-custom-knitwear__step {
        overflow-y: visible;
    }
}

@media (max-width: 620px) {
    .pelot-custom-knitwear {
        width: calc(100vw - 20px);
        padding-inline: 10px;
    }

    .pelot-custom-knitwear__hero {
        min-height: 0;
    }

    .pelot-custom-knitwear__copy {
        position: relative;
        top: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
        margin-bottom: 18px;
    }

    .pelot-custom-knitwear__customer-reviews {
        margin-top: 24px;
    }

    .pelot-custom-knitwear__copy h1 {
        font-size: clamp(2.2rem, 12vw, 3.25rem);
    }

    .pelot-custom-knitwear__media {
        position: relative;
        right: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }

    .pelot-custom-knitwear__media video.is-intro {
        height: 100%;
        margin-top: 0;
        object-position: center bottom;
    }

    .pelot-custom-knitwear__media-caption {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .pelot-custom-knitwear__preview {
        min-height: 0;
    }

    .pelot-custom-knitwear__preview-content,
    .pelot-custom-knitwear__preview-content[data-pelot-preview-step="2"] {
        grid-template-columns: 1fr;
    }

    .pelot-custom-knitwear__fabric-swatch {
        width: 56px;
        height: 56px;
    }

    .pelot-custom-knitwear__card {
        --pelot-step-divider-gap: 24px;
        border-radius: 14px;
    }

    .pelot-custom-knitwear__stepper {
        padding-inline: 8px;
    }

    .pelot-custom-knitwear__stepper button small {
        font-size: .65rem;
    }

    .pelot-custom-knitwear__step {
        padding: var(--pelot-step-divider-gap) 14px 22px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] {
        padding-top: 18px;
    }

    .pelot-custom-knitwear__measure-grid,
    .pelot-custom-knitwear__style-options,
    .pelot-custom-knitwear__material-options {
        grid-template-columns: 1fr;
    }

    .pelot-custom-knitwear__style-card {
        min-height: 230px;
    }

    .pelot-custom-knitwear__sweater-shape {
        height: 130px;
    }

    .pelot-custom-knitwear__color-options {
        grid-template-columns: none;
        grid-auto-columns: 78px;
        row-gap: 0;
    }

    .pelot-custom-knitwear__configurator-footer {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 6px;
        padding: 8px;
    }

    .pelot-custom-knitwear__footer-nav {
        min-height: 50px;
        padding: 6px 8px;
        gap: 5px;
    }

    .pelot-custom-knitwear__footer-nav small {
        display: none;
    }

    .pelot-custom-knitwear__footer-nav strong {
        font-size: .78rem;
    }

    .pelot-custom-knitwear__price {
        min-width: 104px;
        padding-inline: 8px;
    }

    .pelot-custom-knitwear__price strong {
        font-size: 1.2rem;
    }

    .pelot-custom-knitwear__price span {
        font-size: .62rem;
        text-align: center;
    }

    .pelot-custom-knitwear__actions {
        flex-direction: column-reverse;
    }

    .pelot-custom-knitwear__primary,
    .pelot-custom-knitwear__secondary {
        width: 100%;
    }

    .pelot-custom-knitwear__summary {
        grid-template-columns: 1fr;
    }

    .pelot-custom-knitwear__benefits {
        grid-template-columns: 1fr;
    }

    .pelot-custom-knitwear__benefits > div:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid #e8ebee;
    }

    .pelot-custom-knitwear__modal-actions {
        flex-direction: column;
    }
}

@media (min-width: 901px) and (max-height: 1000px) {
    .pelot-custom-knitwear {
        padding-top: 8px;
    }

    .pelot-custom-knitwear__hero {
        min-height: 440px;
    }

    .pelot-custom-knitwear__media {
        height: 100%;
    }

    .pelot-custom-knitwear__preview {
        min-height: 84px;
        padding-block: 7px;
    }

    .pelot-custom-knitwear__preview-content {
        min-height: 68px;
    }

    .pelot-custom-knitwear__preview-gallery img {
        height: 56px;
    }

    .pelot-custom-knitwear__card {
        --pelot-step-divider-gap: 26px;
        min-height: 546px;
        margin-top: 34px;
    }

    .pelot-custom-knitwear__stepper {
        padding-top: 20px;
        padding-bottom: 0;
    }

    .pelot-custom-knitwear__step {
        padding-top: var(--pelot-step-divider-gap);
        padding-bottom: 14px;
    }

    .pelot-custom-knitwear__style-card {
        min-height: 220px;
    }

    .pelot-custom-knitwear__sweater-shape {
        height: 180px;
    }

    .pelot-custom-knitwear__material-card {
        min-height: 88px;
        padding-block: 10px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] header {
        margin-bottom: 12px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__color-options {
        margin-top: 14px;
        padding-top: 12px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__certification {
        margin-top: 10px;
        padding: 8px 10px;
    }

    .pelot-custom-knitwear__color > span {
        width: 46px;
        height: 46px;
    }

    .pelot-custom-knitwear__price {
        padding-block: 8px 10px;
    }

    .pelot-custom-knitwear__benefits {
        margin-top: 12px;
    }

    .pelot-custom-knitwear__benefits > div {
        min-height: 78px;
        padding-block: 12px;
    }
}

@media (min-width: 901px) {
    .pelot-custom-knitwear__step[data-pelot-step="3"] {
        padding: 17px 24px 12px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] header {
        margin-bottom: 13px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__material-options {
        gap: 12px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__material-card {
        min-height: 0;
        padding: 14px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__material-heading {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__yarn-icon,
    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__yarn-icon::before {
        width: 48px;
        height: 48px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__material-heading strong {
        font-size: 1.02rem;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__material-heading small {
        font-size: .74rem;
        line-height: 1.4;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__material-warmth {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 10px;
        padding-top: 8px;
        align-items: center;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__warmth-meter {
        display: flex;
        gap: 5px;
        padding-right: 10px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__warmth-copy {
        padding-left: 10px;
        justify-content: center;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__warmth-meter > span:first-child,
    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__warmth-copy > strong {
        font-size: .65rem;
        line-height: 1.35;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__heat-icons i {
        width: 11px;
        height: 12px;
        flex-basis: 11px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__color-options {
        margin-top: 11px;
        padding-top: 10px;
        padding-bottom: 7px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__color {
        gap: 6px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__color > span {
        width: 46px;
        height: 46px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__color small {
        font-size: .7rem;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__color-tag {
        min-height: 19px;
        padding: 2px 5px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__certification {
        margin-top: 9px;
        padding: 8px 10px;
        grid-template-columns: 32px minmax(0, 1fr) auto;
        gap: 10px;
        font-size: .73rem;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__certification-icon {
        width: 32px;
        height: 32px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__certification .pelot-custom-knitwear__rws-logo {
        width: 46px;
        height: 46px;
    }

    .pelot-custom-knitwear__step[data-pelot-step="3"] .pelot-custom-knitwear__step-error {
        min-height: 14px;
        margin-top: 7px;
    }
}

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