/* ===========================
   CONFIGURATEUR V2
=========================== */

:root{
    --kp-primary:#F5A000;
    --kp-primary-dark:#C47F00;
    --kp-primary-soft:#FFF7E6;
    --kp-text:#111111;
    --kp-muted:#6B7280;
    --kp-border:#e5e7eb;
    --kp-bg:#F5F7FA;
    --kp-danger:#DC2626;
    --kp-success:#16A34A;
    --kp-radius:18px;
    --kp-shadow:0 10px 30px rgba(15,23,42,.08);
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    overflow-y:scroll;
    background:var(--kp-bg);
    color:var(--kp-text);
    font-family:"Inter Variable",Inter,Arial,sans-serif;
    font-optical-sizing:auto;
    font-weight:350;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

button,
input{
    font:inherit;
}

button{
    -webkit-tap-highlight-color:transparent;
}

[hidden]{
    display:none !important;
}

.topbar{
    min-height:64px;
    padding:0 max(24px, calc((100vw - 1700px) / 2));
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#fff;
    border-bottom:1px solid var(--kp-border);
}

.logo{
    color:var(--kp-primary);
    font-size:22px;
    font-weight:400;
    letter-spacing:.04em;
}

.cart-counter{
    padding:9px 13px;
    border-radius:999px;
    background:var(--kp-primary-soft);
    font-weight:400;
}

.kp-page{
    width:calc(100% - 40px);
    max-width:1700px;
    margin:30px auto;
    display:grid;
    grid-template-columns:minmax(260px, 360px) minmax(420px, 1fr) minmax(300px, 360px);
    gap:30px;
    align-items:start;
}

.kp-image-card,
.kp-summary-card,
.kp-accordion{
    background:#fff;
    border:1px solid rgba(229,231,235,.75);
    border-radius:var(--kp-radius);
    box-shadow:var(--kp-shadow);
}

.kp-image-card{
    padding:20px;
}

.kp-image-frame{
    min-height:360px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:14px;
    background:linear-gradient(145deg,#fff,#f8fafc);
}

.kp-image-frame.has-image{
    min-height:0;
}

.kp-image-card img{
    width:100%;
    max-height:520px;
    display:block;
    object-fit:contain;
    animation:kp-image-appear .45s ease both;
}

.kp-no-image{
    min-height:360px;
    padding:24px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#98a2b3;
    text-align:center;
}

.kp-center h1,
.kp-summary-card h2{
    margin-top:0;
}

.kp-center h1{
    margin-bottom:25px;
    font-size:clamp(28px,3vw,40px);
    line-height:1.15;
}

.kp-summary-card{
    padding:25px;
    position:sticky;
    top:24px;
}

.kp-accordion{
    margin-bottom:15px;
    overflow:hidden;
    transition:border-color .25s ease,box-shadow .3s ease,transform .3s ease;
}

.kp-accordion.open{
    border-color:rgba(243,108,33,.38);
    box-shadow:0 15px 38px rgba(15,23,42,.11);
    transform:translateY(-1px);
}

.kp-accordion-head{
    width:100%;
    min-height:68px;
    display:flex;
    align-items:center;
    gap:15px;
    padding:16px 20px;
    border:0;
    background:#fff;
    color:inherit;
    text-align:left;
    cursor:pointer;
    transition:background .25s ease,color .25s ease;
}

.kp-accordion-head:hover,
.kp-accordion-head:focus-visible,
.kp-accordion.open .kp-accordion-head{
    background:#f8fcfd;
}

.kp-accordion-head:focus-visible,
.kp-option:focus-visible,
#addToCart:focus-visible,
.kp-search:focus-visible{
    outline:3px solid rgba(243,108,33,.3);
    outline-offset:-3px;
}

.kp-accordion-head strong{
    width:180px;
    flex:0 0 auto;
}

.kp-current{
    flex:1;
    color:var(--kp-muted);
    line-height:1.35;
}

.kp-current.is-changing{
    animation:kp-current-change .32s ease both;
}

.kp-arrow{
    width:28px;
    height:28px;
    flex:0 0 28px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--kp-primary-soft);
    transition:transform .38s cubic-bezier(.22,1,.36,1),background .25s ease;
}

.kp-arrow::before{
    width:7px;
    height:7px;
    content:"";
    border-right:2px solid var(--kp-primary-dark);
    border-bottom:2px solid var(--kp-primary-dark);
    transform:translateY(-2px) rotate(45deg);
}

.kp-accordion.open .kp-arrow{
    background:#ffe0cc;
    transform:rotate(180deg);
}

.kp-accordion-body{
    display:grid;
    grid-template-rows:0fr;
    opacity:0;
    visibility:hidden;
    transition:grid-template-rows .42s cubic-bezier(.22,1,.36,1),opacity .25s ease,visibility .42s;
}

.kp-accordion-content{
    min-height:0;
    overflow:hidden;
    transform:translateY(-8px);
    transition:transform .38s cubic-bezier(.22,1,.36,1);
}

.kp-accordion.open .kp-accordion-body{
    grid-template-rows:1fr;
    opacity:1;
    visibility:visible;
    border-top:1px solid var(--kp-border);
}

.kp-accordion.open .kp-accordion-content{
    max-height:420px;
    overflow:auto;
    transform:translateY(0);
    scrollbar-width:thin;
    scrollbar-color:#cbd5e1 transparent;
}

.kp-search{
    width:calc(100% - 30px);
    margin:15px;
    padding:12px 14px;
    border:1px solid #d0d5dd;
    border-radius:10px;
    background:#fff;
    transition:border-color .2s ease,box-shadow .2s ease;
}

.kp-search:focus{
    border-color:var(--kp-primary);
    box-shadow:0 0 0 4px rgba(243,108,33,.1);
}

.kp-options{
    display:flex;
    flex-direction:column;
}

.kp-option{
    width:100%;
    min-height:48px;
    padding:13px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    border:0;
    border-bottom:1px solid #f2f4f7;
    background:#fff;
    color:inherit;
    text-align:left;
    cursor:pointer;
    transition:background .18s ease,color .18s ease,padding .2s ease;
}

.kp-option:last-child{
    border-bottom:0;
}

.kp-option:hover{
    padding-left:24px;
    background:var(--kp-primary-soft);
}

.kp-option.active{
    background:var(--kp-primary);
    color:#fff;
    font-weight:400;
}

.kp-option.is-selecting{
    animation:kp-option-select .36s ease both;
}

.kp-option-check{
    width:22px;
    height:22px;
    flex:0 0 22px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.22);
    opacity:0;
    transform:scale(.55);
    transition:opacity .2s ease,transform .28s cubic-bezier(.22,1,.36,1);
}

.kp-option.active .kp-option-check{
    opacity:1;
    transform:scale(1);
}

.kp-summary-list{
    display:grid;
    gap:12px;
}

.kp-summary-list.is-refreshing{
    animation:kp-summary-refresh .35s ease both;
}

.kp-summary-item{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:15px;
    padding-bottom:10px;
    border-bottom:1px solid #f0f1f3;
    font-size:14px;
}

.kp-summary-item span{
    color:var(--kp-muted);
    text-align:right;
}

.kp-price-box{
    position:relative;
    margin:20px 0;
    padding:20px 0;
    overflow:hidden;
    border-top:1px solid var(--kp-border);
    border-bottom:1px solid var(--kp-border);
}

.kp-price-box::after{
    position:absolute;
    inset:0;
    content:"";
    pointer-events:none;
    background:linear-gradient(105deg,transparent 30%,rgba(243,108,33,.12) 48%,transparent 66%);
    opacity:0;
    transform:translateX(-100%);
}

.kp-price-box.is-updating::after{
    opacity:1;
    animation:kp-price-loading 1.05s ease-in-out infinite;
}

.kp-price-box.is-updating strong{
    color:#98a2b3;
    animation:kp-price-pulse .8s ease-in-out infinite alternate;
}

.kp-price-box.is-updated strong{
    animation:kp-price-updated .46s cubic-bezier(.22,1,.36,1) both;
}

.kp-price-box > div{
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin-bottom:10px;
}

.kp-price-box > div:last-child{
    margin-bottom:0;
}

.kp-total{
    padding-top:10px;
    align-items:baseline;
    color:var(--kp-primary);
    font-size:20px;
    font-weight:400;
}

.kp-total strong{
    font-size:28px;
    text-align:right;
}

.kp-details{
    min-height:38px;
    margin-bottom:16px;
    color:var(--kp-muted);
    font-size:14px;
    line-height:1.4;
}

.kp-details.is-error{
    color:var(--kp-danger);
}

.kp-details.is-success{
    color:var(--kp-success);
}

#addToCart{
    width:100%;
    min-height:55px;
    border:0;
    border-radius:12px;
    background:var(--kp-primary);
    color:#fff;
    font-size:18px;
    font-weight:400;
    cursor:pointer;
    transition:background .2s ease,opacity .2s ease,transform .2s ease;
}

#addToCart:hover:not(:disabled){
    background:var(--kp-primary-dark);
    transform:translateY(-1px);
}

#addToCart.product-shopify-cta--edit{
    background:#ff7900;
    box-shadow:0 10px 24px rgba(255,121,0,.28);
}

#addToCart.product-shopify-cta--edit:hover:not(:disabled){
    background:#f06f00;
}

#addToCart:disabled{
    cursor:not-allowed;
    opacity:.55;
}

.kp-empty{
    padding:20px;
    border-radius:14px;
    background:#fff;
    color:var(--kp-muted);
}

@keyframes kp-image-appear{
    from{opacity:0;transform:scale(.97)}
    to{opacity:1;transform:scale(1)}
}

@keyframes kp-current-change{
    0%{opacity:.25;transform:translateY(5px)}
    100%{opacity:1;transform:translateY(0)}
}

@keyframes kp-option-select{
    0%{transform:scale(.985)}
    55%{transform:scale(1.012)}
    100%{transform:scale(1)}
}

@keyframes kp-summary-refresh{
    from{opacity:.45;transform:translateY(4px)}
    to{opacity:1;transform:translateY(0)}
}

@keyframes kp-price-loading{
    from{transform:translateX(-100%)}
    to{transform:translateX(100%)}
}

@keyframes kp-price-pulse{
    from{opacity:.45}
    to{opacity:.9}
}

@keyframes kp-price-updated{
    0%{opacity:.25;transform:translateY(6px)}
    65%{color:var(--kp-primary);transform:translateY(-1px)}
    100%{opacity:1;transform:translateY(0)}
}

@media(max-width:1200px){
    .kp-page{
        grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);
    }

    .kp-right{
        grid-column:1 / -1;
    }

    .kp-summary-card{
        position:relative;
        top:auto;
    }
}

@media(max-width:820px){
    .kp-page{
        grid-template-columns:1fr;
    }

    .kp-right{
        grid-column:auto;
    }

    .kp-image-frame,
    .kp-no-image{
        min-height:280px;
    }

    .kp-image-card img{
        max-height:360px;
    }
}

@media(max-width:560px){
    .topbar{
        min-height:58px;
        padding:0 14px;
    }

    .logo{
        font-size:19px;
    }

    .kp-page{
        width:calc(100% - 24px);
        margin:16px auto 24px;
        gap:16px;
    }

    .kp-image-card{
        padding:12px;
    }

    .kp-image-frame,
    .kp-no-image{
        min-height:220px;
    }

    .kp-center h1{
        margin-bottom:18px;
        font-size:28px;
    }

    .kp-accordion-head{
        min-height:76px;
        align-items:flex-start;
        flex-wrap:wrap;
        gap:7px 12px;
        padding:14px 16px;
    }

    .kp-accordion-head strong{
        width:calc(100% - 42px);
    }

    .kp-current{
        order:3;
        flex-basis:100%;
        font-size:14px;
    }

    .kp-arrow{
        margin-left:auto;
    }

    .kp-option{
        padding:13px 16px;
    }

    .kp-option:hover{
        padding-left:18px;
    }

    .kp-summary-card{
        padding:20px;
    }

    .kp-summary-item{
        gap:10px;
    }

    .kp-total{
        font-size:18px;
    }

    .kp-total strong{
        font-size:24px;
    }
}

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

/* ===========================
   PANIER
=========================== */

.cart-counter{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--kp-text);
    text-decoration:none;
    transition:background .2s ease,transform .2s ease;
}

.cart-counter:hover{
    background:#ffe0cc;
    transform:translateY(-1px);
}

.cart-counter strong{
    min-width:24px;
    height:24px;
    padding:0 7px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:var(--kp-primary);
    color:#fff;
    font-size:12px;
}

.cart-page{
    width:calc(100% - 40px);
    max-width:1440px;
    margin:36px auto 60px;
}

.cart-page-header{
    margin-bottom:28px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
}

.cart-eyebrow{
    display:block;
    margin-bottom:8px;
    color:var(--kp-primary-dark);
    font-size:13px;
    font-weight:400;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.cart-page-header h1{
    margin:0 0 8px;
    font-size:clamp(32px,5vw,48px);
    line-height:1.05;
}

.cart-page-header p{
    margin:0;
    color:var(--kp-muted);
    font-size:16px;
}

.cart-clear,
.cart-remove{
    border:0;
    background:transparent;
    color:var(--kp-danger);
    font-weight:400;
    cursor:pointer;
}

.cart-clear{
    padding:11px 15px;
    border:1px solid #fecdca;
    border-radius:10px;
    background:#fff;
}

.cart-clear:hover,
.cart-remove:hover{
    color:#912018;
}

.cart-message{
    min-height:0;
    margin-bottom:0;
    padding:0 16px;
    overflow:hidden;
    border-radius:12px;
    background:#ecfdf3;
    color:var(--kp-success);
    opacity:0;
    transition:min-height .25s ease,margin .25s ease,padding .25s ease,opacity .25s ease;
}

.cart-message:not(:empty),
.cart-message.is-visible{
    min-height:44px;
    margin-bottom:20px;
    padding:12px 16px;
    opacity:1;
}

.cart-message.is-error{
    background:#fef3f2;
    color:var(--kp-danger);
}

.cart-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(300px,380px);
    gap:28px;
    align-items:start;
}

.cart-items{
    display:grid;
    gap:18px;
}

.cart-item{
    display:grid;
    grid-template-columns:190px minmax(0,1fr);
    overflow:hidden;
    border:1px solid rgba(229,231,235,.9);
    border-radius:var(--kp-radius);
    background:#fff;
    box-shadow:var(--kp-shadow);
    transition:opacity .22s ease,transform .22s ease,filter .22s ease;
}

.cart-item.is-updating{
    filter:saturate(.75);
    opacity:.68;
    pointer-events:none;
}

.cart-item.is-removing{
    opacity:0;
    transform:translateX(-14px);
}

.cart-item-media{
    min-height:260px;
    padding:20px;
    display:grid;
    place-items:center;
    background:linear-gradient(145deg,#f8fafc,#eef5f7);
}

.cart-item-media img{
    width:100%;
    height:100%;
    max-height:260px;
    object-fit:contain;
}

.cart-item-placeholder{
    width:88px;
    height:88px;
    display:grid;
    place-items:center;
    border-radius:24px;
    background:#fff;
    color:var(--kp-primary);
    box-shadow:0 8px 22px rgba(15,23,42,.08);
    font-size:28px;
    font-weight:400;
}

.cart-item-content{
    min-width:0;
    padding:24px;
}

.cart-item-heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
}

.cart-item-heading h2{
    margin:5px 0 0;
    font-size:23px;
    line-height:1.2;
}

.cart-item-sku{
    color:var(--kp-muted);
    font-size:12px;
    font-weight:400;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.cart-remove{
    padding:7px 0;
}

.cart-options{
    margin:22px 0;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 18px;
}

.cart-options div{
    min-width:0;
    padding:10px 12px;
    border-radius:10px;
    background:#f8fafc;
}

.cart-options dt{
    margin-bottom:4px;
    color:var(--kp-muted);
    font-size:12px;
    font-weight:400;
}

.cart-options dd{
    margin:0;
    overflow-wrap:anywhere;
    font-size:14px;
    font-weight:400;
}

.cart-item-footer{
    padding-top:20px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    border-top:1px solid var(--kp-border);
}

.cart-quantity > span{
    display:block;
    margin-bottom:8px;
    color:var(--kp-muted);
    font-size:12px;
    font-weight:400;
}

.cart-quantity-control{
    height:42px;
    display:flex;
    align-items:center;
    overflow:hidden;
    border:1px solid #d0d5dd;
    border-radius:10px;
    background:#fff;
}

.cart-quantity-control button{
    width:38px;
    height:100%;
    border:0;
    background:#f8fafc;
    color:var(--kp-text);
    font-size:19px;
    cursor:pointer;
}

.cart-quantity-control button:hover{
    background:var(--kp-primary-soft);
    color:var(--kp-primary-dark);
}

.cart-quantity-input{
    width:52px;
    height:100%;
    border:0;
    border-right:1px solid #eaecf0;
    border-left:1px solid #eaecf0;
    text-align:center;
    font-weight:400;
    -moz-appearance:textfield;
}

.cart-quantity-input::-webkit-inner-spin-button,
.cart-quantity-input::-webkit-outer-spin-button{
    margin:0;
    -webkit-appearance:none;
}

.cart-line-prices{
    min-width:240px;
    display:grid;
    gap:7px;
}

.cart-line-prices div{
    display:flex;
    justify-content:space-between;
    gap:20px;
    color:var(--kp-muted);
    font-size:13px;
}

.cart-line-prices strong{
    color:var(--kp-text);
}

.cart-line-prices .cart-line-total{
    padding-top:7px;
    border-top:1px solid var(--kp-border);
    color:var(--kp-text);
    font-size:16px;
    font-weight:400;
}

.cart-line-total strong{
    color:var(--kp-primary-dark);
    font-size:19px;
}

.cart-next-ready{
    margin-top:18px;
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--kp-success);
    font-size:12px;
    font-weight:400;
}

.cart-next-ready span{
    width:20px;
    height:20px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#dcfae6;
}

.cart-summary{
    padding:26px;
    position:sticky;
    top:18px;
    border:1px solid rgba(229,231,235,.9);
    border-radius:var(--kp-radius);
    background:#fff;
    box-shadow:var(--kp-shadow);
    max-height:calc(100vh - 36px);
    overflow:auto;
}

.cart-summary h2{
    margin:0 0 22px;
    font-size:24px;
}

.cart-summary-count,
.cart-summary-prices > div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.cart-summary-count{
    padding-bottom:16px;
    border-bottom:1px solid var(--kp-border);
}

.cart-summary-prices{
    padding:18px 0;
    display:grid;
    gap:13px;
    color:var(--kp-muted);
}

.cart-summary-prices strong{
    color:var(--kp-text);
}

.cart-summary-prices .cart-summary-total{
    margin-top:4px;
    padding-top:16px;
    border-top:1px solid var(--kp-border);
    color:var(--kp-text);
    font-size:18px;
    font-weight:400;
}

.cart-summary-total strong{
    color:var(--kp-primary-dark);
    font-size:27px;
}

.cart-next-step{
    width:100%;
    min-height:54px;
    position:sticky;
    bottom:0;
    z-index:2;
    display:grid;
    place-items:center;
    border:0;
    border-radius:12px;
    background:var(--kp-primary);
    color:#fff;
    font-size:17px;
    font-weight:400;
    text-decoration:none;
    transition:background .2s ease,transform .2s ease;
}

/* LOT114 - Premium UX cart/upload layer */
.cart-item{
    overflow:hidden;
}

.cart-item-content{
    display:grid;
    gap:18px;
}

.cart-options--professional{
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:10px;
}

.cart-options--professional > div{
    min-height:64px;
    padding:12px;
    border-radius:14px;
    background:#f8fafc;
}

.cart-line-workflow{
    margin-top:-4px;
}

.premium-file-state{
    width:max-content;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:999px;
    background:#f3f4f6;
    color:#475569;
    font-size:13px;
    font-weight:600;
}

.premium-file-state::before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:currentColor;
}

.premium-file-state.is-ok{background:#ecfdf3;color:#047857}
.premium-file-state.is-warning{background:#fff7ed;color:#c2410c}
.premium-file-state.is-error{background:#fef2f2;color:#dc2626}
.premium-file-state.is-running{background:#eff6ff;color:#2563eb}
.premium-file-state.is-missing{background:#f8fafc;color:#64748b}

.cart-line-file{
    padding:16px;
    border-radius:18px;
    border:1px solid #e5e7eb;
    background:#fff;
}

.cart-line-file.has-file{
    border-color:#dbeafe;
    background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}

.cart-line-file-main{
    gap:14px;
}

.cart-line-file-badge{
    display:none;
}

.cart-line-file-thumb{
    width:92px;
    height:92px;
    border-radius:18px;
    overflow:hidden;
    border:1px solid #e5e7eb;
    background:#fff;
    box-shadow:0 12px 28px rgba(15,23,42,.08);
}

.cart-line-file-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.cart-line-file-name{
    margin:4px 0;
    color:#334155;
    font-size:14px;
}

.cart-line-file-delete{
    width:36px;
    height:36px;
    border:0;
    border-radius:50%;
    background:#fff1f2;
    color:#e11d48;
    font-size:23px;
    line-height:1;
}

.premium-upload{
    margin-top:14px;
}

.premium-upload-zone{
    min-height:148px;
    display:grid;
    place-items:center;
    gap:6px;
    padding:22px;
    border:1.5px dashed #cbd5e1;
    border-radius:20px;
    background:linear-gradient(180deg,#f8fafc,#fff);
    text-align:center;
    cursor:pointer;
    transition:border-color .2s ease,background .2s ease,transform .2s ease;
}

.premium-upload-zone:hover,
.premium-upload-zone.is-dragging{
    border-color:var(--kp-primary);
    background:#fff7ed;
    transform:translateY(-1px);
}

.premium-upload-zone input{
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none;
}

.premium-upload-title{
    color:#0f172a;
    font-size:18px;
    font-weight:650;
}

.premium-upload-or{
    color:#94a3b8;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.premium-upload-zone strong{
    padding:10px 16px;
    border-radius:999px;
    background:#111827;
    color:#fff;
    font-size:14px;
}

.premium-upload-zone small{
    color:#64748b;
    font-size:13px;
}

.cart-upload-progress{
    margin-top:12px;
    padding:12px;
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:8px 12px;
    border-radius:14px;
    background:#f8fafc;
}

.cart-upload-progress-track{
    height:8px;
    overflow:hidden;
    border-radius:999px;
    background:#e5e7eb;
}

.cart-upload-progress-track span{
    display:block;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#f59e0b,#111827);
    transition:width .18s ease;
}

.cart-upload-progress strong{
    color:#111827;
    font-size:13px;
}

.cart-upload-progress em{
    grid-column:1/-1;
    color:#64748b;
    font-style:normal;
    font-size:12px;
}

.cart-upload-progress.is-complete .cart-upload-progress-track span{
    background:#10b981;
}

.cart-upload-progress.is-error .cart-upload-progress-track span{
    background:#ef4444;
}

.cart-upload-finalization{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:6px 12px;
    padding-top:4px;
}

.cart-upload-finalization[hidden]{
    display:none;
}

.cart-upload-finalization-title{
    color:#111827;
    font-size:12px;
    font-weight:750;
}

.cart-upload-finalization-track{
    grid-column:1/-1;
    height:8px;
    overflow:hidden;
    border-radius:999px;
    background:#e5e7eb;
}

.cart-upload-finalization-track span{
    display:block;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#2563eb,#10b981);
    transition:width .25s ease;
}

.cart-upload-finalization.is-processing .cart-upload-finalization-track span{
    min-width:18%;
    background:linear-gradient(90deg,#2563eb,#60a5fa,#2563eb);
    background-size:200% 100%;
    animation:k8-upload-finalizing 1.2s linear infinite;
}

@keyframes k8-upload-finalizing{
    from{background-position:200% 0}
    to{background-position:-200% 0}
}

.premium-preflight{
    margin-top:14px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#fff;
}

.premium-preflight > summary{
    padding:13px 16px;
    cursor:pointer;
    color:#111827;
    font-weight:650;
}

.premium-preflight-facts{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
    gap:8px;
    padding:0 14px 14px;
}

.premium-preflight-facts div{
    padding:10px;
    border-radius:12px;
    background:#f8fafc;
}

.premium-preflight-facts dt{
    color:#64748b;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.premium-preflight-facts dd{
    margin:4px 0 0;
    color:#111827;
    font-size:13px;
    font-weight:650;
}

.cart-line-preflight-control{
    border-radius:14px;
}

.cart-line-price-note{
    align-self:center;
    color:#64748b;
    font-size:12px;
}

.cart-next-ready{
    display:none;
}

.cart-summary h2{
    font-size:20px;
}

.cart-summary-prices .cart-summary-total{
    padding:18px 0 2px;
}

.cart-summary-total strong{
    font-size:32px;
    letter-spacing:-.04em;
}

.cart-checkout-preview{
    margin-top:16px;
    padding:14px;
    border-radius:14px;
    background:#f8fafc;
}

.cart-checkout-preview h3{
    margin:0 0 8px;
    font-size:13px;
}

.cart-checkout-preview ul{
    margin:0;
    padding-left:18px;
    color:#64748b;
    font-size:12px;
    line-height:1.5;
}

.cart-next-step:hover:not(:disabled){
    background:var(--kp-primary-dark);
    transform:translateY(-1px);
}

.cart-next-step:disabled{
    cursor:not-allowed;
    opacity:.58;
}

.cart-next-note{
    margin:10px 0 18px;
    color:var(--kp-muted);
    font-size:12px;
    line-height:1.45;
    text-align:center;
}

.cart-secure-note{
    padding:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:10px;
    background:#f8fafc;
    color:var(--kp-muted);
    font-size:12px;
    font-weight:400;
    text-align:center;
}

.cart-empty{
    min-height:430px;
    padding:50px 24px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border:1px dashed #cbd5e1;
    border-radius:var(--kp-radius);
    background:#fff;
    text-align:center;
}

.cart-empty-icon{
    width:82px;
    height:82px;
    margin-bottom:20px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--kp-primary-soft);
    font-size:34px;
}

.cart-empty h2{
    margin:0 0 8px;
    font-size:28px;
}

.cart-empty p{
    margin:0;
    color:var(--kp-muted);
}

@media(max-width:1100px){
    .cart-layout{
        grid-template-columns:1fr;
    }

    .cart-summary{
        position:relative;
        top:auto;
    }
}

@media(max-width:760px){
    .cart-page{
        width:calc(100% - 24px);
        margin:22px auto 36px;
    }

    .cart-page-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .cart-item{
        grid-template-columns:1fr;
    }

    .cart-item-media{
        min-height:210px;
    }

    .cart-item-media img{
        max-height:210px;
    }
}

@media(max-width:560px){
    .cart-counter > span:nth-child(2){
        display:none;
    }

    .cart-item-content{
        padding:18px;
    }

    .cart-item-heading{
        gap:12px;
    }

    .cart-item-heading h2{
        font-size:20px;
    }

    .cart-options{
        grid-template-columns:1fr;
    }

    .cart-item-footer{
        align-items:stretch;
        flex-direction:column;
    }

    .cart-line-prices{
        min-width:0;
        width:100%;
    }

    .cart-summary{
        padding:20px;
    }
}

/* ===========================
   UPLOAD
=========================== */

.upload-page{
    width:calc(100% - 40px);
    max-width:1440px;
    margin:28px auto 60px;
}

.checkout-steps{
    max-width:900px;
    margin:0 auto 38px;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    position:relative;
}

.checkout-steps::before{
    position:absolute;
    top:17px;
    right:10%;
    left:10%;
    height:2px;
    content:"";
    background:#d0d5dd;
    z-index:-1;
}

.checkout-steps > *{
    display:flex;
    align-items:center;
    flex-direction:column;
    gap:7px;
    color:var(--kp-muted);
    font-size:13px;
    font-weight:400;
    text-decoration:none;
}

.checkout-steps span{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border:2px solid #d0d5dd;
    border-radius:50%;
    background:var(--kp-bg);
}

.checkout-steps .is-complete{
    color:var(--kp-text);
}

.checkout-steps .is-complete span{
    border-color:var(--kp-text);
    background:var(--kp-text);
    color:#fff;
}

.checkout-steps .is-active{
    color:var(--kp-primary-dark);
}

.checkout-steps .is-active span{
    border-color:var(--kp-primary);
    background:var(--kp-primary);
    color:#fff;
    box-shadow:0 0 0 5px var(--kp-primary-soft);
}

.upload-page-header{
    margin-bottom:28px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:28px;
}

.upload-page-header h1{
    margin:5px 0 10px;
    font-size:clamp(32px,5vw,48px);
    line-height:1.05;
}

.upload-page-header p{
    max-width:720px;
    margin:0;
    color:var(--kp-muted);
    font-size:16px;
    line-height:1.55;
}

.upload-back{
    display:inline-block;
    margin-bottom:18px;
    color:var(--kp-primary-dark);
    font-size:14px;
    font-weight:400;
    text-decoration:none;
}

.upload-back:hover{
    text-decoration:underline;
}

.upload-requirements{
    min-width:280px;
    padding:16px 18px;
    display:grid;
    gap:5px;
    border:1px solid #ffc89f;
    border-radius:14px;
    background:var(--kp-primary-soft);
    color:var(--kp-primary-dark);
}

.upload-requirements span{
    font-size:12px;
    font-weight:400;
    line-height:1.45;
}

.upload-requirements small{
    color:var(--kp-muted);
}

.upload-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(300px,360px);
    gap:28px;
    align-items:start;
}

.upload-products{
    display:grid;
    gap:22px;
}

.upload-product{
    padding:24px;
    border:1px solid rgba(229,231,235,.9);
    border-radius:var(--kp-radius);
    background:#fff;
    box-shadow:var(--kp-shadow);
}

.upload-product-header{
    margin-bottom:20px;
    display:grid;
    grid-template-columns:72px minmax(0,1fr) auto;
    gap:16px;
    align-items:center;
}

.upload-product-header h2{
    margin:4px 0;
    font-size:21px;
}

.upload-product-header p{
    margin:0;
    color:var(--kp-muted);
    font-size:13px;
}

.upload-product-image{
    width:72px;
    height:72px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:14px;
    background:#f2f4f7;
    color:var(--kp-primary);
    font-size:20px;
    font-weight:400;
}

.upload-product-image img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.upload-product-status{
    padding:7px 10px;
    border-radius:999px;
    background:#fef3f2;
    color:var(--kp-danger);
    font-size:12px;
    font-weight:400;
    white-space:nowrap;
}

.upload-product-status.is-ready{
    background:#ecfdf3;
    color:var(--kp-success);
}

.upload-dropzone{
    min-height:220px;
    padding:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:8px;
    border:2px dashed #98a2b3;
    border-radius:16px;
    background:#f8fafc;
    text-align:center;
    cursor:pointer;
    transition:border-color .25s ease,background .25s ease,transform .25s ease,box-shadow .25s ease;
}

.upload-dropzone:hover,
.upload-dropzone:focus-visible,
.upload-dropzone.is-dragging{
    border-color:var(--kp-primary);
    background:var(--kp-primary-soft);
    box-shadow:0 0 0 5px rgba(243,108,33,.08);
    outline:0;
    transform:translateY(-2px);
}

.upload-dropzone.is-dragging{
    transform:scale(1.008);
}

.upload-drop-icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#fff;
    color:var(--kp-primary);
    box-shadow:0 8px 20px rgba(15,23,42,.08);
    font-size:25px;
    font-weight:400;
}

.upload-dropzone > span:not(.upload-drop-icon){
    color:var(--kp-muted);
    font-size:13px;
}

.upload-dropzone small{
    margin-top:4px;
    color:var(--kp-muted);
    font-size:12px;
}

.upload-select{
    padding:10px 16px;
    border:0;
    border-radius:10px;
    background:var(--kp-primary);
    color:#fff;
    font-weight:400;
    cursor:pointer;
    transition:background .2s ease,transform .2s ease;
}

.upload-select:hover{
    background:var(--kp-primary-dark);
    transform:translateY(-1px);
}

.upload-files{
    margin-top:16px;
    display:grid;
    gap:10px;
}

.upload-file{
    min-width:0;
    padding:12px;
    display:grid;
    grid-template-columns:54px minmax(0,1fr) 36px;
    gap:13px;
    align-items:center;
    border:1px solid var(--kp-border);
    border-radius:12px;
    background:#fff;
    transition:opacity .2s ease,transform .2s ease,border-color .2s ease;
}

.upload-file.is-uploading{
    border-color:#ffc89f;
    background:#fffaf7;
}

.upload-file.is-error{
    border-color:#fda29b;
    background:#fffbfa;
}

.upload-file.is-removing{
    opacity:.4;
    pointer-events:none;
    transform:translateX(-8px);
}

.upload-file-preview{
    width:54px;
    height:54px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:10px;
    background:#f2f4f7;
    color:var(--kp-primary-dark);
    font-size:11px;
    font-weight:400;
}

.upload-file-preview img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.upload-file-preview a{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    color:#d92d20;
    text-decoration:none;
}

.upload-file-info{
    min-width:0;
    display:grid;
    gap:4px;
}

.upload-file-info strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:14px;
}

.upload-file-info > span,
.upload-file-info small{
    color:var(--kp-muted);
    font-size:11px;
}

.upload-file.is-error .upload-file-info small{
    color:var(--kp-danger);
}

.upload-progress{
    height:5px;
    overflow:hidden;
    border-radius:999px;
    background:#eaecf0;
}

.upload-progress span{
    width:0;
    height:100%;
    display:block;
    border-radius:inherit;
    background:linear-gradient(90deg,var(--kp-primary),#ff9a57);
    transition:width .18s ease;
}

.upload-file.is-complete .upload-progress span{
    background:var(--kp-success);
}

.upload-file-remove{
    width:32px;
    height:32px;
    border:0;
    border-radius:50%;
    background:#fef3f2;
    color:var(--kp-danger);
    font-size:21px;
    cursor:pointer;
}

.upload-file-remove:hover{
    background:#fee4e2;
}

.upload-empty{
    margin:14px 0 0;
    color:var(--kp-muted);
    font-size:13px;
    text-align:center;
}

.upload-empty.is-hidden{
    display:none;
}

.upload-summary{
    padding:24px;
    position:sticky;
    top:24px;
    border:1px solid rgba(229,231,235,.9);
    border-radius:var(--kp-radius);
    background:#fff;
    box-shadow:var(--kp-shadow);
}

.upload-summary h2{
    margin:0 0 8px;
    font-size:23px;
}

.upload-summary > p{
    margin:0 0 20px;
    color:var(--kp-muted);
    font-size:13px;
    line-height:1.5;
}

.upload-checklist{
    margin-bottom:20px;
    display:grid;
    gap:10px;
}

.upload-checklist > div{
    padding:11px;
    display:grid;
    grid-template-columns:28px minmax(0,1fr);
    gap:10px;
    align-items:center;
    border-radius:10px;
    background:#fff7ed;
}

.upload-checklist > div > span{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#fed7aa;
    color:#9a3412;
    font-weight:400;
}

.upload-checklist > div.is-ready{
    background:#ecfdf3;
}

.upload-checklist > div.is-ready > span{
    background:#abefc6;
    color:var(--kp-success);
}

.upload-checklist strong,
.upload-checklist small{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.upload-checklist strong{
    font-size:13px;
}

.upload-checklist small{
    margin-top:2px;
    color:var(--kp-muted);
    font-size:11px;
}

#continueToOrder.is-ready{
    opacity:.8;
}

@media(max-width:1050px){
    .upload-layout{
        grid-template-columns:1fr;
    }

    .upload-summary{
        position:relative;
        top:auto;
    }
}

@media(max-width:760px){
    .upload-page{
        width:calc(100% - 24px);
        margin:20px auto 40px;
    }

    .upload-page-header{
        align-items:stretch;
        flex-direction:column;
    }

    .upload-requirements{
        min-width:0;
    }

    .upload-product-header{
        grid-template-columns:60px minmax(0,1fr);
    }

    .upload-product-image{
        width:60px;
        height:60px;
    }

    .upload-product-status{
        grid-column:1 / -1;
        justify-self:start;
    }
}

@media(max-width:560px){
    .checkout-steps{
        margin-bottom:28px;
    }

    .checkout-steps > *{
        font-size:11px;
    }

    .upload-product{
        padding:16px;
    }

    .upload-dropzone{
        min-height:200px;
        padding:22px 14px;
    }

    .upload-file{
        grid-template-columns:46px minmax(0,1fr) 32px;
        gap:9px;
        padding:10px;
    }

    .upload-file-preview{
        width:46px;
        height:46px;
    }
}

/* Ajustements du panier */
.cart-page .checkout-steps{
    margin-bottom:34px;
}

.cart-header-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:10px;
}

.cart-continue-shopping{
    min-height:42px;
    padding:0 16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--kp-text);
    border-radius:10px;
    background:#fff;
    color:var(--kp-text);
    font-size:14px;
    font-weight:400;
    text-decoration:none;
    transition:border-color .2s ease,color .2s ease,background .2s ease,transform .2s ease;
}

.cart-continue-shopping:hover{
    border-color:var(--kp-primary);
    background:var(--kp-primary-soft);
    color:var(--kp-primary-dark);
    transform:translateY(-1px);
}

.cart-page .cart-item,
.cart-page .cart-summary{
    border-color:#e3e3e3;
}

.cart-page .cart-item-heading h2,
.cart-page .cart-summary h2,
.cart-page-header h1{
    color:#000;
}

.cart-page .cart-secure-note{
    background:var(--kp-primary-soft);
    color:#7c2d12;
}

.cart-page .cart-item-placeholder,
.cart-page .cart-empty-icon{
    background:var(--kp-primary-soft);
    color:var(--kp-primary-dark);
}

@media(max-width:760px){
    .checkout-steps{
        margin-bottom:26px;
    }

    .checkout-steps > *{
        gap:5px;
        font-size:10px;
    }

    .checkout-steps span{
        width:31px;
        height:31px;
        font-size:11px;
    }

    .checkout-steps::before{
        top:15px;
    }

    .cart-header-actions{
        width:100%;
        justify-content:flex-start;
    }
}

@media(max-width:480px){
    .checkout-steps > *{
        font-size:9px;
    }

    .checkout-steps span{
        width:28px;
        height:28px;
    }

    .checkout-steps::before{
        top:13px;
    }

    .cart-continue-shopping,
    .cart-clear{
        width:100%;
    }
}

/* ===========================
   FICHE PRODUIT
=========================== */

[data-cart-link][aria-disabled="true"]{
    opacity:.55;
    pointer-events:none;
}

.product-page{
    width:calc(100% - 24px);
    max-width:none;
    margin:18px auto 48px;
}

.product-breadcrumb{
    margin-bottom:18px;
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--kp-muted);
    font-size:13px;
}

.product-breadcrumb a{
    color:var(--kp-text);
    font-weight:400;
    text-decoration:none;
}

.product-breadcrumb a:hover{
    color:var(--kp-primary-dark);
}

.product-layout{
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
    align-items:start;
}

.product-information,
.product-configurator,
.product-purchase{
    min-width:0;
}

.product-visual-card,
.product-info-card,
.product-configurator,
.product-price-card{
    padding:24px;
    border:1px solid #E5E7EB;
    border-radius:16px;
    background:#FFFFFF;
    box-shadow:0 8px 24px rgba(17,17,17,.06);
}

.product-visual-card{
    margin-bottom:12px;
}

.product-visual{
    width:min(220px,100%);
    height:min(220px,calc(100vw - 44px));
    min-height:0;
    margin:0 auto;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:12px;
    background:var(--kp-bg);
}

.product-visual img{
    width:100%;
    height:100%;
    max-width:220px;
    max-height:220px;
    display:block;
    object-fit:contain;
    animation:product-fade-in .25s ease both;
}

.product-visual-placeholder{
    width:100%;
    min-height:0;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:10px;
    color:var(--kp-muted);
    font-size:14px;
}

.product-visual-placeholder span{
    width:72px;
    height:72px;
    display:grid;
    place-items:center;
    border-radius:16px;
    background:#FFFFFF;
    color:var(--kp-primary-dark);
    box-shadow:0 6px 18px rgba(17,17,17,.08);
    font-size:24px;
    font-weight:400;
}

.product-category{
    display:inline-flex;
    margin-bottom:10px;
    padding:6px 9px;
    border-radius:999px;
    background:var(--kp-primary-soft);
    color:#7A5000;
    font-size:11px;
    font-weight:400;
    text-transform:uppercase;
}

.product-info-card h1{
    margin:0 0 8px;
    color:var(--kp-text);
    font-size:clamp(28px,4vw,42px);
    line-height:1.1;
}

.product-reference{
    margin:0 0 22px;
    color:var(--kp-muted);
    font-size:13px;
}

.product-facts{
    display:grid;
    gap:10px;
}

.product-facts div{
    display:flex;
    justify-content:space-between;
    gap:18px;
    color:var(--kp-muted);
    font-size:13px;
}

.product-facts strong{
    color:var(--kp-text);
    text-align:right;
}

.product-configurator{
    padding:24px;
}

.product-section-heading{
    margin-bottom:22px;
}

.product-section-heading > span{
    color:var(--kp-primary-dark);
    font-size:12px;
    font-weight:400;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.product-section-heading h2{
    margin:6px 0 7px;
    color:var(--kp-text);
    font-size:clamp(24px,3vw,32px);
}

.product-section-heading p{
    margin:0;
    color:var(--kp-muted);
    line-height:1.5;
}

.product-properties{
    display:grid;
    gap:12px;
}

.product-property{
    padding:16px;
    border:1px solid #E5E7EB;
    border-radius:12px;
    background:#FFFFFF;
    transition:border-color .2s ease,box-shadow .2s ease,opacity .2s ease;
}

.product-property:focus-within{
    border-color:var(--kp-primary);
    box-shadow:0 0 0 3px rgba(245,160,0,.12);
}

.product-property.is-loading{
    opacity:.62;
    pointer-events:none;
}

.product-property.has-warning{
    border-color:#F59E0B;
}

.product-property-heading{
    margin-bottom:9px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.product-property-heading label{
    color:var(--kp-text);
    font-size:14px;
    font-weight:400;
}

.product-property-heading label:has(.product-property-checkbox){
    display:flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
}

.product-property-checkbox{
    width:17px;
    height:17px;
    margin:0;
    accent-color:var(--kp-primary);
    cursor:pointer;
}

.product-property.is-unavailable{
    background:#F3F4F6;
    opacity:.68;
}

.product-property.is-unavailable .product-property-heading label{
    color:var(--kp-muted);
    cursor:not-allowed;
}

.product-property-checkbox:disabled{
    cursor:not-allowed;
}

.product-property-control[hidden]{
    display:none !important;
}

.product-property-badges{
    display:flex;
    gap:5px;
}

.product-property-badges span{
    padding:3px 7px;
    border-radius:999px;
    background:var(--kp-primary-soft);
    color:#7A5000;
    font-size:10px;
    font-weight:400;
}

.product-property-badges .is-automatic{
    background:#F3F4F6;
    color:var(--kp-muted);
}

.product-property-control{
    display:grid;
    gap:8px;
}

.product-property select,
.product-option-search{
    width:100%;
    min-height:46px;
    padding:0 12px;
    border:1px solid #D1D5DB;
    border-radius:10px;
    background:#FFFFFF;
    color:var(--kp-text);
    font:inherit;
    transition:border-color .2s ease,box-shadow .2s ease;
}

.product-option-search{
    min-height:42px;
}

.product-property select:focus,
.product-option-search:focus{
    border-color:var(--kp-primary);
    box-shadow:0 0 0 3px rgba(245,160,0,.15);
    outline:0;
}

.product-property select:disabled{
    background:#F3F4F6;
    color:var(--kp-muted);
    cursor:not-allowed;
}

.product-property-description{
    margin:8px 0 0;
    color:var(--kp-muted);
    font-size:12px;
    line-height:1.45;
}

.product-price-card{
    padding:24px;
}

.product-price-heading{
    padding-bottom:18px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    border-bottom:1px solid #E5E7EB;
}

.product-price-heading div{
    display:grid;
    gap:5px;
}

.product-price-heading span{
    color:var(--kp-muted);
    font-size:12px;
    font-weight:400;
}

.product-price-heading strong{
    color:var(--kp-text);
    font-size:clamp(30px,4vw,40px);
    line-height:1;
}

.product-price-heading .product-price-badge{
    padding:5px 8px;
    border-radius:999px;
    background:var(--kp-primary);
    color:#FFFFFF;
    font-size:10px;
}

.product-price-details{
    padding:18px 0;
    display:grid;
    gap:10px;
    border-bottom:1px solid #E5E7EB;
    position:relative;
}

.product-price-details div,
.product-key-data div,
.product-summary-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
}

.product-price-details span,
.product-key-data span,
.product-summary-row span{
    color:var(--kp-muted);
    font-size:13px;
}

.product-price-details strong,
.product-key-data strong{
    color:var(--kp-text);
    text-align:right;
}

.product-price-details.is-updating::after{
    position:absolute;
    inset:0;
    content:"";
    background:linear-gradient(100deg,transparent,rgba(245,160,0,.14),transparent);
    animation:product-price-loading 1s ease-in-out infinite;
}

.product-price-details.is-updated strong{
    animation:product-price-updated .25s ease both;
}

.product-key-data{
    padding:18px 0;
    display:grid;
    gap:12px;
    border-bottom:1px solid #E5E7EB;
}


.product-delivery-info{
    margin-top:18px;
    padding:13px;
    display:grid;
    grid-template-columns:32px minmax(0,1fr);
    gap:10px;
    align-items:center;
    border:1px solid rgba(245,160,0,.35);
    border-radius:12px;
    background:var(--kp-primary-soft);
}

.product-delivery-info > span{
    width:32px;
    height:32px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--kp-primary);
    color:#FFFFFF;
    font-weight:400;
}

.product-delivery-info strong,
.product-delivery-info small{
    display:block;
}

.product-delivery-info strong{
    color:var(--kp-text);
    font-size:13px;
}

.product-delivery-info small{
    margin-top:2px;
    color:var(--kp-muted);
    font-size:11px;
    line-height:1.35;
}

.product-summary{
    padding:18px 0;
}

.product-summary h2{
    margin:0 0 12px;
    font-size:17px;
}

.product-summary-list{
    max-height:250px;
    padding-right:5px;
    display:grid;
    gap:9px;
    overflow:auto;
}

.product-summary-list.is-updated{
    animation:product-summary-updated .25s ease both;
}

.product-summary-row strong{
    max-width:55%;
    color:var(--kp-text);
    font-size:12px;
    text-align:right;
}

.product-upload-next{
    margin-bottom:14px;
    padding:13px;
    display:grid;
    grid-template-columns:32px minmax(0,1fr);
    gap:10px;
    align-items:center;
    border-radius:12px;
    background:var(--kp-bg);
}

.product-upload-next > span{
    width:32px;
    height:32px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#FFFFFF;
    color:var(--kp-primary-dark);
    font-weight:400;
}

.product-upload-next strong,
.product-upload-next small{
    display:block;
}

.product-upload-next strong{
    font-size:13px;
}

.product-upload-next small{
    margin-top:2px;
    color:var(--kp-muted);
    font-size:11px;
    line-height:1.35;
}

.product-shopify-cta{
    width:100%;
    min-height:54px;
    border:0;
    border-radius:12px;
    background:var(--kp-primary);
    color:#FFFFFF;
    font-size:16px;
    font-weight:400;
    cursor:pointer;
    transition:background .2s ease,transform .2s ease,opacity .2s ease;
}

.product-shopify-cta:hover:not(:disabled){
    background:var(--kp-primary-dark);
    transform:translateY(-1px);
}

.product-shopify-cta:disabled{
    opacity:.5;
    cursor:not-allowed;
}

.product-config-status{
    min-height:34px;
    margin:10px 0 0;
    color:var(--kp-muted);
    font-size:12px;
    line-height:1.4;
    text-align:center;
}

.product-config-status.is-success{
    color:var(--kp-success);
}

.product-config-status.is-error,
.product-error{
    color:var(--kp-danger);
}

@keyframes product-fade-in{
    from{opacity:0;transform:scale(.985)}
    to{opacity:1;transform:scale(1)}
}

@keyframes product-price-loading{
    from{transform:translateX(-100%)}
    to{transform:translateX(100%)}
}

@keyframes product-price-updated{
    from{opacity:.4;transform:translateY(3px)}
    to{opacity:1;transform:translateY(0)}
}

@keyframes product-summary-updated{
    from{opacity:.5}
    to{opacity:1}
}

@media(min-width:760px){
    .product-page{
        width:calc(100% - 24px);
        margin-top:20px;
    }

    .product-layout{
        grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);
        gap:24px;
    }

    .product-purchase{
        grid-column:1 / -1;
    }
}

@media(min-width:1024px){
    .product-layout{
        grid-template-columns:250px minmax(0,1fr) 340px;
        gap:16px;
    }

    .product-information,
    .product-price-card{
        position:sticky;
        top:22px;
    }

    .product-purchase{
        grid-column:auto;
    }
}

@media(prefers-reduced-motion:reduce){
    .product-page *,
    .product-page *::before,
    .product-page *::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }
}



.sr-only{width:1px;height:1px;padding:0;position:absolute;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar{min-height:72px;padding:10px max(20px,calc((100vw - 1700px)/2));position:sticky;top:0;z-index:80;display:grid;grid-template-columns:auto minmax(260px,720px) auto;gap:24px;background:#FFFFFF}
.logo,.cart-counter{text-decoration:none}
.catalog-search{min-width:0;position:relative}
.catalog-search>input{width:100%;height:50px;padding:0 46px;border:1px solid var(--kp-border);border-radius:12px;background:var(--kp-bg);color:var(--kp-text);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.catalog-search>input:focus{border-color:var(--kp-primary);background:#FFFFFF;box-shadow:0 0 0 4px rgba(245,160,0,.14);outline:0}
.catalog-search-icon{position:absolute;top:13px;left:17px;z-index:1;color:var(--kp-muted);font-size:22px;pointer-events:none}
.catalog-search-clear{width:32px;height:32px;padding:0;position:absolute;top:9px;right:10px;border:0;border-radius:50%;background:transparent;color:var(--kp-muted);font-size:22px;cursor:pointer}
.catalog-search-panel{width:100%;max-height:min(680px,calc(100vh - 96px));padding:20px;position:absolute;top:58px;left:0;overflow:auto;border:1px solid var(--kp-border);border-radius:16px;background:#FFFFFF;box-shadow:0 24px 60px rgba(17,17,17,.16)}
.catalog-search-panel section+section{margin-top:18px;padding-top:16px;border-top:1px solid var(--kp-border)}
.catalog-search-panel h2{margin:0 0 10px;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.catalog-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.catalog-search-results a,.catalog-search-results>a.is-unavailable{min-width:0;padding:8px;display:flex;align-items:center;gap:10px;border-radius:10px;color:var(--kp-text);text-decoration:none;transition:background .2s ease}
.catalog-search-results a:hover,.catalog-search-results a:focus-visible{background:var(--kp-primary-soft);outline:0}
.catalog-search-result-image{width:48px;height:48px;border-radius:9px;background:var(--kp-bg);object-fit:contain}
.catalog-search-result-copy{min-width:0;display:grid;gap:2px}
.catalog-search-result-title{overflow:hidden;font-size:14px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}
.catalog-search-results small{overflow:hidden;color:var(--kp-muted);text-overflow:ellipsis;white-space:nowrap}
.catalog-search-categories,.catalog-search-history{display:flex;flex-wrap:wrap;gap:7px}
.catalog-search-categories button,.catalog-search-history button{padding:7px 10px;border:1px solid var(--kp-border);border-radius:999px;background:#FFFFFF;color:var(--kp-text);font-size:12px;cursor:pointer}
.catalog-search-categories button:hover,.catalog-search-history button:hover{border-color:var(--kp-primary);background:var(--kp-primary-soft)}
.catalog-search-state{margin:12px 0 0;color:var(--kp-muted);font-size:13px}
.cart-counter{display:flex;gap:5px;align-items:center;color:var(--kp-text);white-space:nowrap}
.catalog-home{width:min(1460px,calc(100% - 40px));margin:18px auto 54px;display:grid;gap:34px}
.catalog-hero{min-height:210px;padding:clamp(24px,4vw,44px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;border-radius:20px;background:#111111;color:#FFFFFF;box-shadow:var(--kp-shadow)}
.catalog-eyebrow,.catalog-section-heading>div>span{color:var(--kp-primary);font-size:12px;font-weight:400;letter-spacing:.12em;text-transform:uppercase}
.catalog-hero h1{max-width:820px;margin:10px 0 12px;font-size:clamp(30px,4.6vw,52px);line-height:1.04;letter-spacing:-.04em}
.catalog-hero>p{max-width:760px;margin:0;color:#D1D5DB;font-size:clamp(14px,1.55vw,17px);line-height:1.55}
.catalog-hero-search{width:min(720px,100%);margin-top:34px}
.catalog-hero-search label{margin-bottom:8px;display:block;font-size:13px;font-weight:400}
.catalog-hero-search>div{position:relative}
.catalog-hero-search span{position:absolute;top:15px;left:18px;color:var(--kp-muted);font-size:24px}
.catalog-hero-search input{width:100%;min-height:58px;padding:0 18px 0 52px;border:2px solid transparent;border-radius:12px;background:#FFFFFF;color:var(--kp-text)}
.catalog-hero-search input:focus{border-color:var(--kp-primary);outline:0}
.catalog-section-heading{margin-bottom:14px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.catalog-section-heading h2{margin:5px 0 0;font-size:clamp(23px,2.5vw,32px)}
.catalog-section-heading>button{padding:10px 14px;border:1px solid var(--kp-primary);border-radius:12px;background:#FFFFFF;color:var(--kp-text);font-weight:400;cursor:pointer}
.catalog-family-list{display:flex;flex-wrap:wrap;gap:10px}
.catalog-family-list button{padding:12px 16px;border:1px solid var(--kp-border);border-radius:12px;background:#FFFFFF;color:var(--kp-text);font-weight:400;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease}
.catalog-family-list button:hover{border-color:var(--kp-primary);background:var(--kp-primary-soft);transform:translateY(-1px)}
.catalog-product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.catalog-product-card{min-width:0;padding:14px;display:flex;flex-direction:column;border:1px solid var(--kp-border);border-radius:16px;background:#FFFFFF;color:var(--kp-text);text-decoration:none;box-shadow:0 6px 20px rgba(17,17,17,.05);transition:transform .23s ease,border-color .23s ease,box-shadow .23s ease}
.catalog-product-card:hover{border-color:var(--kp-primary);box-shadow:0 12px 32px rgba(17,17,17,.09);transform:translateY(-3px)}
.catalog-product-image{aspect-ratio:4/3;margin-bottom:12px;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:var(--kp-bg);color:var(--kp-primary);font-size:34px;font-weight:400}
.catalog-product-image img{width:100%;height:100%;object-fit:contain}
.catalog-product-card>span{color:var(--kp-muted);font-size:12px}
.catalog-product-card>strong{margin:5px 0 14px;font-size:16px;line-height:1.28}
.catalog-product-card>small{margin-top:auto;color:var(--kp-primary-dark);font-weight:400}
.catalog-empty-card{min-height:150px;padding:24px;grid-column:1/-1;display:grid;place-items:center;border:1px dashed var(--kp-border);border-radius:16px;background:#FFFFFF;color:var(--kp-muted);text-align:center}
.catalog-empty-inline{color:var(--kp-muted)}
.product-property.is-loading{pointer-events:auto}
.product-property.is-loading::after{height:2px;display:block;content:"";background:linear-gradient(90deg,transparent,var(--kp-primary),transparent);animation:product-price-loading 1s ease-in-out infinite}
.support-picker{display:grid;gap:12px}
.support-family-filters{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.support-family-filters button{
    padding:7px 11px;
    border:1px solid var(--kp-border);
    border-radius:999px;
    background:#FFFFFF;
    color:var(--kp-text);
    font-size:12px;
    font-weight:400;
    cursor:pointer;
    white-space:nowrap;
}

.support-family-filters button:hover,
.support-family-filters button.is-active{
    border-color:var(--kp-primary);
    background:var(--kp-primary-soft);
}
.support-search-highlight{
    padding:0 2px;
    border-radius:4px;
    background:rgba(245,160,0,.2);
    color:inherit;
}

.support-empty{
    padding:18px;
    grid-column:1/-1;
    border-radius:12px;
    background:var(--kp-bg);
    color:var(--kp-muted);
    text-align:center;
}

.support-empty--smart{
    display:grid;
    gap:8px;
    text-align:left;
}

.support-empty--smart strong{
    color:var(--kp-text);
}

.support-empty--smart ul{
    margin:0;
    padding-left:18px;
}

.selectable-list-group--recent-supports{
    padding-top:10px;
    border-top:1px dashed var(--kp-border);
}

.selectable-list-item--pinned{
    padding-bottom:10px;
    border-bottom:1px dashed var(--kp-border);
}

.selectable-list-item--recent .selectable-list-item__select{
    background:#FFFFFF;
}

.support-picker .selectable-list{
    transition:opacity .12s ease,transform .12s ease;
}

.support-picker .selectable-list-item,
.options-modal .selectable-list-item{
    animation:support-filter-fade .12s ease;
}

html[data-ui-performance-mode="ultra"] .support-picker .selectable-list-item,
html[data-ui-performance-mode="ultra"] .options-modal .selectable-list-item{
    animation-duration:.16s;
}

html[data-ui-performance-mode="normal"] .support-picker .selectable-list-item,
html[data-ui-performance-mode="normal"] .options-modal .selectable-list-item{
    animation-duration:.1s;
}

html[data-ui-performance-mode="light"] .support-picker .selectable-list-item,
html[data-ui-performance-mode="light"] .options-modal .selectable-list-item{
    animation:support-filter-fade .08s ease;
}

.ui-low-motion .support-picker .selectable-list,
.ui-low-motion .support-picker .selectable-list-item,
 .ui-low-motion .options-modal .selectable-list-item,
html[data-ui-performance-mode="minimal"] .support-picker .selectable-list,
html[data-ui-performance-mode="minimal"] .support-picker .selectable-list-item,
html[data-ui-performance-mode="minimal"] .options-modal .selectable-list-item{
    transition:none !important;
    animation:none !important;
}

@keyframes support-filter-fade{
    from{
        opacity:.72;
        transform:translateY(2px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
.support-modal{width:min(840px,calc(100% - 28px));max-height:calc(100vh - 28px);padding:0;border:0;border-radius:16px;background:#FFFFFF;color:var(--kp-text);box-shadow:0 28px 80px rgba(17,17,17,.25)}
.support-modal::backdrop{background:rgba(17,17,17,.62);backdrop-filter:blur(3px)}
.support-modal-shell{padding:24px}
.support-modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.support-modal-heading span{color:var(--kp-primary-dark);font-size:12px;font-weight:400;letter-spacing:.08em;text-transform:uppercase}
.support-modal-heading h2{margin:6px 0 0;font-size:clamp(24px,4vw,34px)}
.support-modal-heading button{width:38px;height:38px;flex:0 0 38px;border:1px solid var(--kp-border);border-radius:50%;background:#FFFFFF;color:var(--kp-text);font-size:24px;cursor:pointer}
.support-modal-description{margin:18px 0;color:var(--kp-muted);line-height:1.65}
.support-modal-icons,.support-modal-weights{display:flex;flex-wrap:wrap;gap:8px}
.support-modal-icons span,.support-modal-weights span{padding:7px 10px;border-radius:999px;background:var(--kp-primary-soft);color:var(--kp-text);font-size:12px;font-weight:400}
.support-modal-grid{margin-top:22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.support-modal-grid section{padding:16px;border:1px solid var(--kp-border);border-radius:12px;background:var(--kp-bg)}
.support-modal-grid h3{margin:0 0 10px;font-size:14px}
.support-modal-grid ul{margin:0;padding-left:18px;color:var(--kp-muted);font-size:13px;line-height:1.6}
.support-modal-sheet{margin-top:18px;padding:12px 16px;display:inline-flex;border:1px solid var(--kp-primary);border-radius:12px;color:var(--kp-text);font-weight:400;text-decoration:none}
@media(max-width:1240px){.catalog-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.catalog-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.topbar{grid-template-columns:auto auto;gap:10px}.catalog-search{grid-column:1/-1;grid-row:2}.catalog-search-results{grid-template-columns:1fr}.catalog-search-panel{position:fixed;top:128px;right:12px;left:12px;width:auto}.cart-counter-label{display:none}.catalog-home{width:min(100% - 24px,1460px);margin-top:12px;gap:28px}.catalog-hero{min-height:190px;padding:24px 20px;border-radius:18px}.catalog-section-heading{align-items:flex-start;flex-direction:column}.catalog-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.support-modal-grid{grid-template-columns:1fr}}
@media(max-width:520px){.catalog-product-grid{grid-template-columns:1fr}.catalog-product-card{display:grid;grid-template-columns:100px minmax(0,1fr);column-gap:14px}.catalog-product-image{margin:0;grid-row:1/5}.catalog-product-card>strong{margin-bottom:8px}.support-modal-shell{padding:18px}}
.options-modal{width:min(920px,calc(100% - 28px));max-height:calc(100vh - 28px);padding:0;border:0;border-radius:16px;background:#FFFFFF;color:var(--kp-text);box-shadow:0 28px 80px rgba(17,17,17,.25)}
.options-modal::backdrop{background:rgba(17,17,17,.62);backdrop-filter:blur(3px)}
.options-modal-shell{padding:24px;display:grid;gap:16px}
.options-modal-results{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;max-height:min(560px,60vh);overflow:auto}
.support-modal-image{height:220px;margin-top:18px;overflow:hidden;border-radius:12px;background:var(--kp-bg)}
.support-modal-image img{width:100%;height:100%;object-fit:contain}
.support-modal-texture{margin:0 0 14px;color:var(--kp-muted);font-size:13px}
@media(max-width:760px){.options-modal-shell{padding:18px}}
@media(max-width:480px){.options-modal-results{grid-template-columns:1fr}}
.compatibility-modal{width:min(720px,calc(100% - 28px));max-height:calc(100vh - 28px);padding:0;border:0;border-radius:18px;background:#FFFFFF;color:var(--kp-text);box-shadow:0 28px 80px rgba(17,17,17,.28)}
.compatibility-modal::backdrop{background:rgba(17,17,17,.65);backdrop-filter:blur(4px)}
.compatibility-modal-shell{padding:clamp(22px,4vw,34px);display:grid;grid-template-columns:46px minmax(0,1fr);gap:10px 16px}
.compatibility-modal-icon{width:46px;height:46px;display:grid;place-items:center;grid-row:1;border-radius:50%;background:var(--kp-primary-soft);color:var(--kp-primary-dark);font-size:24px;font-weight:400}
.compatibility-modal-kicker{color:var(--kp-primary-dark);font-size:12px;font-weight:400;letter-spacing:.08em;text-transform:uppercase}
.compatibility-modal h2{margin:5px 0 8px;font-size:clamp(22px,4vw,30px);line-height:1.15}
.compatibility-modal-message,.compatibility-modal-note{margin:0;color:var(--kp-muted);line-height:1.55}
.compatibility-changes,.compatibility-modal-note,.compatibility-modal-actions{grid-column:1/-1}
.compatibility-changes{margin-top:10px;display:grid;gap:9px}
.compatibility-change{padding:14px 16px;border:1px solid var(--kp-border);border-left:4px solid var(--kp-primary);border-radius:12px;background:var(--kp-bg)}
.compatibility-change strong{display:block;margin-bottom:5px}
.compatibility-change p{margin:0;color:var(--kp-muted);font-size:13px;line-height:1.45}
.compatibility-change ul{margin:8px 0 0;padding-left:20px;color:var(--kp-text);font-size:13px}
.compatibility-choice-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:10px}
.compatibility-choice-button{min-height:42px;padding:10px 14px;border:1px solid var(--kp-border);border-radius:9px;background:#FFFFFF;color:var(--kp-text);font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.compatibility-choice-button:hover,.compatibility-choice-button:focus-visible{border-color:var(--kp-primary);box-shadow:0 0 0 3px var(--kp-primary-soft);outline:0;transform:translateY(-1px)}
.compatibility-choice-proposal{min-width:0;display:flex;flex-direction:column;gap:8px;background:#fff}
.compatibility-choice-proposal:has(.compatibility-choice-details){padding:12px;border:1px solid var(--kp-border);border-radius:10px}
.compatibility-choice-proposal .compatibility-choice-button{width:100%;margin-top:auto;overflow-wrap:anywhere}
.compatibility-change .compatibility-choice-details{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.compatibility-choice-details li{min-width:0;line-height:1.45;overflow-wrap:anywhere}
.compatibility-choice-details strong{margin-bottom:2px}
.compatibility-modal-note{margin-top:4px;font-size:12px}
.compatibility-modal-actions{margin-top:10px;display:flex;flex-wrap:wrap;gap:9px}
.compatibility-modal-actions .kp-button{min-height:44px;padding:10px 15px;border-radius:11px;font-weight:400;cursor:pointer}
.compatibility-modal-actions .kp-button-primary{border:1px solid var(--kp-primary);background:var(--kp-primary);color:#111111}
.compatibility-modal-actions .kp-button-secondary{border:1px solid #111111;background:#111111;color:#FFFFFF}
.compatibility-cancel{padding:10px 13px;border:0;background:transparent;color:var(--kp-muted);font-weight:400;cursor:pointer}
@media(max-width:520px){.compatibility-modal-shell{grid-template-columns:38px minmax(0,1fr)}.compatibility-modal-icon{width:38px;height:38px}.compatibility-choice-grid{grid-template-columns:1fr}.compatibility-modal-actions{display:grid}.compatibility-modal-actions button{width:100%}}

@media(min-width:1024px){
    .product-information .product-visual-card,
    .product-information .product-info-card{padding:10px}
    .product-info-card h1{font-size:20px;line-height:1.2}
    .product-reference{margin-bottom:12px;font-size:12px}
    .product-category{margin-bottom:7px;padding:5px 8px;font-size:10px}
    .product-facts{gap:7px}
    .product-facts div{gap:8px;font-size:12px}
    .product-configurator{padding:22px}
}


/* =====================================================
   CONFIGURATEUR — ESPACE PREMIUM
===================================================== */

.product-page{
    width:calc(100% - 24px);
    max-width:1920px;
    margin:12px auto 40px;
}

.product-breadcrumb{
    min-height:28px;
    margin:0 4px 10px;
    gap:7px;
    font-size:12px;
}

.product-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    align-items:start;
}

.product-information,
.product-configurator,
.product-purchase{
    min-width:0;
}

.product-identity-card,
.product-price-card,
.product-section-heading,
.product-property{
    border:1px solid var(--kp-border);
    border-radius:16px;
    background:#FFFFFF;
    box-shadow:0 4px 18px rgba(17,17,17,.035);
}

.product-identity-card{
    padding:14px;
}

.product-visual{
    width:100%;
    max-width:212px;
    height:auto;
    aspect-ratio:1;
    margin:0 auto 16px;
    border:1px solid #EEF0F3;
    border-radius:14px;
    background:var(--kp-bg);
}

.product-visual img{
    width:100%;
    height:100%;
    max-width:212px;
    max-height:212px;
    object-fit:contain;
}

.product-visual-placeholder span{
    width:58px;
    height:58px;
    border-radius:14px;
    box-shadow:none;
    font-size:20px;
}

.product-identity-copy{
    padding:0 2px 14px;
    border-bottom:1px solid var(--kp-border);
}

.product-category{
    margin:0 0 8px;
    padding:0;
    background:transparent;
    color:var(--kp-muted);
    font-size:10px;
    letter-spacing:.08em;
}

.product-identity-copy h1{
    margin:0 0 6px;
    color:var(--kp-text);
    font-size:20px;
    line-height:1.2;
    letter-spacing:-.025em;
}

.product-reference{
    margin:0;
    color:var(--kp-muted);
    font-size:11px;
}

.product-facts{
    padding-top:13px;
    gap:8px;
}

.product-facts div{
    gap:8px;
    font-size:11px;
}

.product-facts strong{
    font-size:11px;
}

.product-assurance{
    margin-top:10px;
    padding:11px 12px;
    display:flex;
    gap:9px;
    align-items:flex-start;
    border:1px solid var(--kp-border);
    border-radius:13px;
    background:#FFFFFF;
}

.product-assurance>span{
    width:22px;
    height:22px;
    flex:0 0 22px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--kp-text);
    color:#FFFFFF;
    font-size:11px;
    font-weight:400;
}

.product-assurance p{
    margin:0;
    display:grid;
    gap:2px;
}

.product-assurance strong{
    font-size:11px;
}

.product-assurance small{
    color:var(--kp-muted);
    font-size:10px;
    line-height:1.35;
}

.product-configurator{
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}

.product-section-heading{
    margin:0 0 12px;
    padding:17px 19px;
}

.product-section-step{
    margin-bottom:12px;
    display:flex;
    gap:8px;
    align-items:center;
}

.product-section-step span{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:var(--kp-text);
    color:#FFFFFF;
    font-size:10px;
    font-weight:400;
}

.product-section-step p{
    margin:0;
    color:var(--kp-muted);
    font-size:11px;
    font-weight:400;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.product-section-heading h2{
    max-width:700px;
    margin:0 0 8px;
    font-size:clamp(24px,2.2vw,34px);
    line-height:1.12;
    letter-spacing:-.035em;
}

.product-section-heading>p{
    max-width:760px;
    color:var(--kp-muted);
    font-size:13px;
    line-height:1.55;
}

.product-properties{
    gap:10px;
}

.product-property{
    padding:14px 16px;
    transition:border-color .2s ease,box-shadow .2s ease,opacity .2s ease;
}

.product-property:focus-within{
    border-color:#D7DAE0;
    box-shadow:0 5px 22px rgba(17,17,17,.05);
}

.product-property.is-loading{
    opacity:.72;
}

.product-property-heading{
    margin-bottom:10px;
    align-items:flex-start;
}

.product-property-heading label{
    display:flex;
    gap:10px;
    align-items:center;
    font-size:15px;
    line-height:1.25;
}

.product-property-index{
    color:#9CA3AF;
    font-size:10px;
    font-weight:400;
    letter-spacing:.06em;
}

.product-property-badges span{
    padding:4px 7px;
    border-radius:7px;
    background:var(--kp-bg);
    color:var(--kp-muted);
    font-size:9px;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.product-property-badges .is-automatic{
    background:#111111;
    color:#FFFFFF;
}

.product-property-description{
    margin-top:10px;
    font-size:11px;
}

.support-family-filters{
    gap:6px;
}

.support-family-filters button{
    border-radius:9px;
    font-size:11px;
}

.support-family-filters button.is-active{
    border-color:#111111;
    background:#111111;
    color:#FFFFFF;
}

.product-price-card{
    padding:20px;
    box-shadow:0 6px 24px rgba(17,17,17,.055);
}

.product-price-heading{
    padding-bottom:16px;
}

.product-price-heading strong{
    color:var(--kp-primary);
    font-size:36px;
    letter-spacing:-.04em;
}

.product-price-heading .product-price-badge{
    border-radius:7px;
    background:#111111;
    color:#FFFFFF;
}

.product-price-details{
    padding:16px 0;
    gap:8px;
}

.product-price-details span,
.product-key-data span,
.product-summary-row span{
    font-size:11px;
}

.product-price-details strong,
.product-key-data strong{
    font-size:12px;
}

.product-key-data{
    padding:16px 0;
    gap:10px;
}

.product-key-data div{
    align-items:center;
}

.product-address-summary{
    margin-top:14px;
    padding:13px;
    border:1px solid var(--kp-border);
    border-radius:11px;
    background:var(--kp-bg);
}

.product-address-summary div{
    display:flex;
    justify-content:space-between;
    gap:12px;
}

.product-address-summary span,
.product-address-summary small{
    color:var(--kp-muted);
    font-size:10px;
}

.product-address-summary strong{
    font-size:11px;
}

.product-address-summary small{
    margin-top:5px;
    display:block;
    line-height:1.35;
}

.product-delivery-info{
    margin-top:14px;
    padding:12px;
    grid-template-columns:28px minmax(0,1fr);
    border-color:#E5E7EB;
    border-radius:11px;
    background:#FFFFFF;
}

.product-delivery-info>span{
    width:28px;
    height:28px;
    background:#111111;
    font-size:11px;
}

.product-summary{
    padding:16px 0;
}

.product-summary h2{
    font-size:14px;
}

.product-summary-list{
    max-height:220px;
    gap:7px;
}

.product-summary-row strong{
    font-size:11px;
}

.product-upload-next{
    padding:12px;
    border:1px solid var(--kp-border);
    border-radius:11px;
}

.product-shopify-cta{
    min-height:50px;
    border-radius:12px;
    font-size:14px;
}

.product-config-status{
    min-height:30px;
    margin-top:8px;
    font-size:10px;
}

.compatibility-modal,
.options-modal,
.support-modal{
    border:1px solid var(--kp-border);
    box-shadow:0 30px 90px rgba(17,17,17,.24);
}

.compatibility-modal::backdrop,
.options-modal::backdrop,
.support-modal::backdrop{
    background:rgba(17,17,17,.48);
    backdrop-filter:blur(2px);
}

.compatibility-change{
    border-left-width:3px;
    background:#FFFFFF;
}

@media(min-width:760px) and (max-width:1023px){
    .product-layout{
        grid-template-columns:220px minmax(0,1fr);
        gap:12px;
    }

    .product-purchase{
        grid-column:1/-1;
    }
}

@media(min-width:1024px){
    .product-layout{
        grid-template-columns:230px minmax(0,1fr) 320px;
        gap:10px;
    }

    .product-information,
    .product-price-card{
        position:sticky;
        top:84px;
    }

    .product-purchase{
        grid-column:auto;
    }
}

@media(max-width:759px){
    .product-page{
        width:calc(100% - 16px);
        margin-top:8px;
    }

    .product-layout{
        gap:9px;
    }

    .product-information{
        position:static;
    }

    .product-identity-card{
        padding:12px;
        display:grid;
        grid-template-columns:96px minmax(0,1fr);
        gap:12px;
        align-items:center;
    }

    .product-visual{
        width:96px;
        height:96px;
        margin:0;
        grid-row:1/3;
    }

    .product-identity-copy{
        padding:0 0 10px;
    }

    .product-facts{
        padding-top:0;
    }

    .product-assurance{
        display:none;
    }

    .product-section-heading,
    .product-property,
    .product-price-card{
        padding:17px;
    }

    .product-purchase{
        padding-bottom:92px;
    }

    .product-shopify-cta{
        position:fixed;
        right:8px;
        bottom:8px;
        left:8px;
        z-index:60;
        width:calc(100% - 16px);
        box-shadow:0 12px 30px rgba(17,17,17,.18);
    }
}

@media(max-width:420px){

    .product-property-heading{
        gap:8px;
    }

    .product-property-badges{
        display:none;
    }
}



/* UX V2 — COMPACT STICKY WORKSPACE */
.product-section-heading{
    padding:16px 18px;
}

.product-section-step{
    margin-bottom:8px;
}

.product-section-heading h2{
    margin-bottom:5px;
    font-size:clamp(22px,2vw,30px);
}

.product-section-heading>p{
    margin:0;
    line-height:1.45;
}

.product-property{
    height:100%;
    padding:14px 16px;
    display:flex;
    flex-direction:column;
}

.product-property-heading{
    margin-bottom:10px;
}

.product-property-control{
    flex:1;
    display:flex;
    flex-direction:column;
}

.product-price-card{
    display:flex;
    flex-direction:column;
}

.product-summary{
    min-height:0;
    display:flex;
    flex:1;
    flex-direction:column;
}

.product-summary-list{
    min-height:0;
    max-height:none;
    overflow:auto;
    gap:4px;
    padding-right:3px;
    scrollbar-width:thin;
}

.product-summary-row{
    padding:7px 0;
    display:grid;
    grid-template-columns:26px minmax(0,1fr);
    gap:9px;
    align-items:center;
}

.product-summary-icon{
    width:26px;
    height:26px;
    display:grid;
    place-items:center;
    border-radius:8px;
    background:var(--kp-bg);
    color:var(--kp-text);
    font-size:12px;
    font-weight:400;
}

.product-summary-copy{
    min-width:0;
    display:grid;
    grid-template-columns:minmax(72px,.7fr) minmax(0,1.3fr);
    gap:8px;
    align-items:center;
}

.product-summary-copy>span{
    color:var(--kp-muted);
    font-size:10px;
}

.product-summary-copy>strong{
    min-width:0;
    color:var(--kp-text);
    font-size:11px;
    text-align:right;
    overflow-wrap:anywhere;
}

.product-summary--top{
    flex:0 0 auto;
    min-height:0;
    padding:14px 0;
    border-bottom:1px solid #E5E7EB;
}

.product-summary--top h2{
    margin:0 0 10px;
    font-size:13px;
}

.product-summary--top .product-summary-list{
    max-height:190px;
    overflow:auto;
}

.product-summary--top .product-summary-row{
    padding:6px 0;
}

.product-shopify-cta{
    flex:0 0 auto;
}

.product-config-status{
    flex:0 0 auto;
}

.product-primary-action{
    flex:0 0 auto;
    position:sticky;
    bottom:0;
    z-index:5;
    margin:12px -4px -4px;
    padding:10px 4px 4px;
    background:linear-gradient(180deg,rgba(255,255,255,0),#fff 28%);
}

.product-primary-action .product-shopify-cta{
    width:100%;
    min-height:54px;
    border-radius:14px;
    font-weight:700;
}

.product-primary-action .product-config-status{
    margin:8px 0 0;
    text-align:center;
}

@media(min-width:1024px){
    .product-properties{
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:10px;
        align-items:start;
    }

    .product-purchase{
        position:sticky;
        top:76px;
        height:auto;
        max-height:none;
        align-self:start;
    }

    .product-price-card{
        position:static;
        top:auto;
        width:100%;
        height:auto;
        max-height:none;
        padding:16px;
        overflow:visible;
    }

    .product-price-heading{
        padding-bottom:12px;
    }

    .product-price-heading strong{
        font-size:32px;
    }

    .product-price-details,
    .product-key-data{
        padding:12px 0;
    }

    .product-delivery-info,
    .product-address-summary{
        margin-top:10px;
        padding:10px;
    }

    .product-summary{
        padding:12px 0;
    }

    .product-upload-next{
        padding:9px 10px;
    }
}

@media(min-width:760px) and (max-width:1023px){
    .product-properties{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
        align-items:start;
    }

    .product-properties-column{
        display:contents;
    }

    .product-purchase{
        padding-bottom:78px;
    }

    .product-shopify-cta{
        position:fixed;
        right:16px;
        bottom:16px;
        z-index:60;
        width:min(380px,calc(100% - 32px));
        box-shadow:0 12px 30px rgba(17,17,17,.18);
    }
}

@media(max-width:759px){
    .product-properties{
        display:grid;
        grid-template-columns:minmax(0,1fr);
        gap:10px;
    }

    .product-section-heading,
    .product-property,
    .product-price-card{
        padding:14px;
    }

    .product-summary-copy{
        grid-template-columns:minmax(68px,.65fr) minmax(0,1.35fr);
    }
}

.product-properties-column{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.product-properties-column .product-property{
    height:auto;
}

.options-modal-results{
    grid-template-columns:minmax(0,1fr)!important;
    gap:6px;
}

/* Selectable List Item — composant unique du Configurateur V2 */
.selectable-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.selectable-list-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.selectable-list-group + .selectable-list-group {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--kp-border);
}

.selectable-list-group__title {
    margin: 0 0 2px;
    color: var(--kp-text);
    font-size: 12px;
    font-weight:400;
    letter-spacing: .04em;
}

.selectable-list-item {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    height: auto;
    border: 1px solid var(--kp-border);
    border-radius: 10px;
    background: #FFFFFF;
    color: var(--kp-text);
    transition: border-color .2s ease, background-color .2s ease, opacity .2s ease;
}

.selectable-list-item.is-transition-ready {
    opacity: .98;
    transform: translateY(1px);
}

.selectable-list-item.is-transition-visible {
    opacity: 1;
    transform: translateY(0);
    transition: border-color .16s ease, background-color .16s ease, opacity .16s ease, transform .16s ease;
}

.selectable-list-item.is-selection-pulse {
    animation: selectionPulse 180ms ease-out;
}

.selectable-list-item.is-availability-transitioning {
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, opacity .16s ease;
}

.ui-reduced-transitions .selectable-list-item,
.ui-reduced-transitions .selectable-list-item.is-transition-visible,
.ui-reduced-transitions .selectable-list-item.is-selection-pulse,
.ui-reduced-transitions .selectable-list-item.is-availability-transitioning {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

@keyframes selectionPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 160, 0, 0.24);
    }
    100% {
        box-shadow: 0 0 0 8px rgba(245, 160, 0, 0);
    }
}

.selectable-list-item:hover:not(.is-selected) {
    border-color: var(--kp-text);
}

.selectable-list-item:focus-within {
    outline: 3px solid var(--kp-primary-soft);
    outline-offset: 2px;
}

.selectable-list-item__select {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) minmax(68px, 92px);
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.selectable-list-item__select:focus {
    outline: 0;
}

.selectable-list-item__select:disabled {
    cursor: default;
}

.selectable-list-item__indicator {
    width: 16px;
    height: 20px;
    display: grid;
    place-items: center;
    color: var(--kp-muted);
    font-size: 18px;
    font-weight:400;
    line-height: 1;
}

.selectable-list-item__indicator::before {
    content: "○";
}

.selectable-list-item__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.selectable-list-item__content strong,
.selectable-list-item__content small {
    white-space: normal;
    overflow-wrap: anywhere;
}

.selectable-list-item__content strong {
    color: inherit;
    font-size: .88rem;
    line-height: 1.2;
}

.selectable-list-item__content small {
    color: var(--kp-muted);
    font-size: .72rem;
    line-height: 1.2;
}

.selectable-list-item.is-production-delay {
    min-height: 78px;
}

.selectable-list-item__delivery-date {
    color: inherit;
    font-size: .76rem;
    line-height: 1.25;
    white-space: normal;
}

.selectable-list-item__maybe-date {
    font-size: .68rem;
}

.selectable-list-item__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    width: 92px;
    min-width: 68px;
    flex-wrap:wrap;
}

.product-property.is-quantity .selectable-list-item__meta{
    flex-direction:column;
    align-items:flex-end;
    gap:2px;
}

.selectable-list-item__price {
    color: inherit;
    font-size: .8rem;
    font-weight:400;
    white-space: nowrap;
    min-width: 0;
    margin-left: auto;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.selectable-list-item__unit-price {
    color: var(--kp-muted);
    font-size: .68rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.selectable-list-item--custom-dimension {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:8px;
    padding:0;
}

.selectable-list-item--custom-dimension .selectable-list-item__select {
    min-height:42px;
    grid-template-columns:16px minmax(0,1fr);
}

.custom-dimension-form {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
    padding:0 10px 10px 32px;
}

.custom-dimension-form input {
    width:100%;
    min-width:0;
    height:34px;
    padding:0 10px;
    border:1px solid var(--kp-border);
    border-radius:7px;
    background:#FFFFFF;
    color:var(--kp-text);
    font:inherit;
    font-size:.78rem;
}

.custom-dimension-form input:focus {
    outline:2px solid var(--kp-primary-soft);
    border-color:var(--kp-primary);
}

.custom-dimension-submit {
    grid-column:1 / -1;
    justify-self:end;
    min-height:34px;
}

.custom-dimension-separator,
.custom-dimension-unit {
    color:var(--kp-muted);
    font-size:.78rem;
}

.selectable-list-item--custom-dimension.is-selected .custom-dimension-form input {
    border-color:rgba(17,17,17,.22);
}

.selectable-list-item__process {
    padding: 3px 7px;
    border: 1px solid var(--kp-border);
    border-radius: 999px;
    background: var(--kp-surface-muted);
    color: var(--kp-text);
    font-size: .65rem;
    font-style: normal;
    font-weight:400;
    line-height: 1;
    white-space: nowrap;
}

.selectable-list-item__compatibility {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--kp-primary);
    box-shadow: 0 0 0 3px var(--kp-primary-soft);
}

.selectable-list-item__info {
    width: 42px;
    flex: 0 0 42px;
    border: 0;
    border-left: 1px solid var(--kp-border);
    background: transparent;
    color: inherit;
    font-size: .82rem;
    font-weight:400;
    cursor: pointer;
}

.selectable-list-item__info:hover {
    background: var(--kp-primary-soft);
}

.template-option-menu{
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    display:inline-flex;
    align-items:center;
    z-index:60;
}
.template-option-trigger{
    width:24px;
    height:24px;
    display:inline-grid;
    place-items:center;
    border:1px solid rgba(17,17,17,.12);
    border-radius:999px;
    background:#fff;
    color:#111;
    font-size:12px;
    cursor:pointer;
}
.template-option-trigger:hover{
    border-color:var(--kp-primary);
    background:var(--kp-primary-soft);
}
.template-option-menu__panel{
    position:absolute;
    right:0;
    bottom:calc(100% + 6px);
    z-index:80;
    min-width:156px;
    padding:6px;
    border:1px solid var(--kp-border);
    border-radius:12px;
    background:#fff;
    box-shadow:0 14px 38px rgba(17,17,17,.16);
}
.template-option-menu__panel button{
    width:100%;
    display:block;
    padding:9px 10px;
    border:0;
    border-radius:8px;
    background:transparent;
    color:var(--kp-text);
    text-align:left;
    font-size:12px;
    cursor:pointer;
}
.template-option-menu__panel button:hover{
    background:#f5f6f8;
}
.template-preview-dialog{
    width:min(560px,calc(100vw - 28px));
    padding:0;
    border:0;
    border-radius:18px;
    background:#fff;
    color:var(--kp-text);
    box-shadow:0 28px 80px rgba(17,17,17,.28);
}
.template-preview-dialog::backdrop{
    background:rgba(17,17,17,.55);
    backdrop-filter:blur(2px);
}
.template-preview-dialog__shell{
    display:grid;
    gap:16px;
    padding:20px;
}
.template-preview-dialog__shell header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
}
.template-preview-dialog__shell header div{
    display:grid;
    gap:4px;
}
.template-preview-dialog__shell strong{
    font-size:17px;
}
.template-preview-dialog__shell span{
    color:var(--kp-muted);
    font-size:12px;
}
.template-preview-dialog__shell header button{
    width:32px;
    height:32px;
    border:0;
    border-radius:999px;
    background:#f2f3f5;
    cursor:pointer;
}
.template-preview-dialog__canvas{
    display:grid;
    place-items:center;
    padding:16px;
    border:1px solid var(--kp-border);
    border-radius:14px;
    background:#fafbfc;
}
.template-preview-dialog__canvas svg{
    width:min(100%,360px);
    height:auto;
}
.template-preview-dialog__shell footer{
    display:flex;
    justify-content:flex-end;
}
.template-action-button{
    min-height:38px;
    padding:8px 13px;
    border:1px solid var(--kp-primary);
    border-radius:10px;
    background:var(--kp-primary);
    color:#171717;
    font-weight:700;
    cursor:pointer;
}

.selectable-list-item.is-selected {
    border-color: var(--kp-primary);
    background: var(--kp-primary);
    color: #111111;
}

.selectable-list-item.is-selected .selectable-list-item__indicator {
    color: #111111;
}

.selectable-list-item.is-selected .selectable-list-item__indicator::before {
    content: "✓";
    font-size: 15px;
}

.selectable-list-item.is-selected .selectable-list-item__content small,
.selectable-list-item.is-selected .selectable-list-item__unit-price {
    color: rgba(17, 17, 17, .72);
}

.selectable-list-item.is-selected .selectable-list-item__process {
    border-color: rgba(17, 17, 17, .3);
    background: rgba(255, 255, 255, .4);
    color: #111111;
}

.selectable-list-item.is-selected .selectable-list-item__info {
    border-left-color: rgba(17, 17, 17, .25);
}

.selectable-list-item--pinned {
    position: relative;
    margin-top: 14px;
}

.selectable-list-item--pinned::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 0;
    right: 0;
    border-top: 1px dashed var(--kp-border);
}

.selectable-list-item--pinned + .selectable-list-item--more {
    margin-top: 14px;
}

.selectable-list-item--pinned + .selectable-list-item--more::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 0;
    right: 0;
    border-top: 1px dashed var(--kp-border);
}

.selectable-list-item.is-incompatible:not(.is-selected) {
    border-color: var(--kp-border);
    background: var(--kp-surface-muted);
    color: var(--kp-muted);
    opacity: .68;
}

.selectable-list-item.is-incompatible:not(.is-selected) .selectable-list-item__content strong,
.selectable-list-item.is-incompatible:not(.is-selected) .selectable-list-item__content small,
.selectable-list-item.is-incompatible:not(.is-selected) .selectable-list-item__price,
.selectable-list-item.is-incompatible:not(.is-selected) .selectable-list-item__unit-price,
.selectable-list-item.is-incompatible:not(.is-selected) .selectable-list-item__process {
    color: var(--kp-muted);
}

.selectable-list-item.is-availability-unavailable:not(.is-selected),
.selectable-list-item.is-availability-locked:not(.is-selected) {
    background: #fff7ed;
    border-color: #fed7aa;
    color: var(--kp-muted);
}

.selectable-list-item.is-availability-recommended:not(.is-selected) {
    border-color: #bbf7d0;
    box-shadow: inset 0 0 0 1px #dcfce7;
}

.selectable-list-item.is-availability-hidden {
    display: none;
}

.selectable-list-item.is-availability-unavailable:not(.is-selected) .selectable-list-item__select,
.selectable-list-item.is-availability-locked:not(.is-selected) .selectable-list-item__select {
    cursor: help;
}

.availability-badge {
    display: inline-grid;
    width: 14px;
    height: 14px;
    place-items: center;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.availability-badge--unavailable,
.availability-badge--locked {
    color: #f59e0b;
    background: #fffbeb;
    box-shadow: 0 0 0 2px #fef3c7;
}

.availability-badge--recommended {
    color: #15803d;
    background: #f0fdf4;
    box-shadow: 0 0 0 2px #dcfce7;
}

.availability-popover {
    position: fixed;
    z-index: 3000;
    display: grid;
    gap: 8px;
    width: min(320px, calc(100vw - 24px));
    padding: 14px 38px 14px 14px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #ffffff;
    color: var(--kp-text);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .18);
    font-size: .82rem;
    line-height: 1.35;
}

.availability-popover strong {
    color: #9a3412;
}

.availability-popover span {
    color: var(--kp-muted);
}

.availability-popover span b {
    color: var(--kp-text);
}

.availability-popover__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    cursor: pointer;
}

.options-modal-results {
    display: flex;
    grid-template-columns: none;
    flex-direction: column;
    gap: 6px;
}

@media (max-width: 760px) {
    .selectable-list-item__select {
        gap: 8px;
    }

    .selectable-list-item__unit-price {
        display: none;
    }

    .selectable-list-item__process {
        max-width: none;
        white-space: normal;
    }
}


.selectable-list-item--more{
    position:relative;
    border-style:dashed;
    background:#FFFFFF;
}

.selectable-list-item--custom-quantity{
    min-height:0;
    padding:10px;
    display:grid;
    gap:7px;
    overflow:visible;
    border-style:dashed;
    background:var(--kp-surface-muted);
}

.custom-quantity-label{
    color:var(--kp-text);
    font-size:.78rem;
    font-weight:400;
    display:flex;
    align-items:center;
    gap:7px;
}

.custom-quantity-label::before{
    content:"○";
    width:16px;
    display:inline-grid;
    place-items:center;
    color:var(--kp-muted);
    font-size:16px;
    line-height:1;
}

.selectable-list-item--custom-quantity.is-selected .custom-quantity-label::before{
    content:"✓";
    color:#111111;
    font-size:14px;
}

.custom-quantity-form{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:6px;
}

.custom-quantity-input{
    width:100%;
    min-width:0;
    height:40px;
    padding:0 10px;
    border:1px solid var(--kp-border);
    border-radius:8px;
    background:#FFFFFF;
    color:var(--kp-text);
    font:inherit;
    font-size:.84rem;
    font-variant-numeric:tabular-nums;
}

.custom-quantity-input:focus{
    outline:3px solid var(--kp-primary-soft);
    border-color:var(--kp-primary);
}

.selectable-list-item--versions{
    display:grid;
    gap:8px;
    min-width:0;
    padding:10px;
}

.artwork-versions-form{
    width:100%;
    min-width:0;
    grid-template-columns:40px minmax(64px,1fr) 40px auto;
    align-items:center;
}

.artwork-versions-step{
    width:40px;
    height:40px;
    padding:0;
    border:1px solid var(--kp-border);
    border-radius:8px;
    background:#FFFFFF;
    color:var(--kp-text);
    font:inherit;
    font-size:1.2rem;
    cursor:pointer;
}

.artwork-versions-step:disabled{
    opacity:.4;
    cursor:default;
}

.artwork-versions-step:focus-visible{
    outline:3px solid var(--kp-primary-soft);
    border-color:var(--kp-primary);
}

.artwork-versions-help{
    margin:0;
    font-size:.78rem;
    line-height:1.4;
    color:var(--kp-muted);
}

.custom-quantity-submit,
.custom-dimension-submit{
    min-width:68px;
    padding:0 10px;
    border:1px solid var(--kp-primary);
    border-radius:8px;
    background:var(--kp-primary);
    color:#111111;
    font:inherit;
    font-size:.72rem;
    cursor:pointer;
}

.custom-quantity-submit:hover,
.custom-quantity-submit:focus-visible,
.custom-dimension-submit:hover,
.custom-dimension-submit:focus-visible{
    background:var(--kp-primary-dark);
    border-color:var(--kp-primary-dark);
    color:#FFFFFF;
}

.selectable-list-item--custom-quantity.is-selected .custom-quantity-input{
    border-color:rgba(17,17,17,.35);
}

.selectable-list-item--custom-quantity.is-selected{
    border-color:var(--kp-primary);
    background:var(--kp-primary);
    color:#111111;
}

.selectable-list-item--more .selectable-list-item__indicator::before{
    content:"+";
    font-size:17px;
}

.selectable-list-item--more .selectable-list-item__content strong{
    font-weight:400;
}

.selectable-list-item--more:hover{
    border-color:var(--kp-primary);
    background:var(--kp-primary-soft);
}


/* =====================================================
   TYPOGRAPHIE INTER VARIABLE
===================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b,
.logo,
.product-property-heading label,
.selectable-list-group__title{
    font-weight:400;
}

small,
.product-breadcrumb,
.product-reference,
.product-section-heading>p,
.product-property-description,
.product-config-status,
.product-summary-copy>span,
.catalog-product-card>p,
.cart-page-header p,
.upload-page-header p,
.upload-product-header p,
.cart-item-sku,
.kp-current,
.kp-details{
    font-weight:300;
}

#priceNet,
#priceVat,
#priceTtc,
#priceTotal,
#unitPrice,
.kp-price-box strong,
.kp-total,
.cart-line-prices strong,
.cart-summary-prices strong,
.product-price-heading strong,
.product-price-details strong,
.selectable-list-item__price{
    font-weight:500;
}

#addToCart,
.cart-next-step,
.upload-select,
.product-shopify-cta,
.compatibility-modal-actions .kp-button-primary{
    font-weight:500;
}


/* =====================================================
   MODE DÉVELOPPEUR ADMINISTRATEUR
===================================================== */

.developer-mode{
    width:100%;
    margin:0 0 10px;
    overflow:hidden;
    border:2px solid #FF0000;
    border-radius:16px;
    background:#FFFFFF;
    box-shadow:0 8px 24px rgba(255,0,0,.08);
}

.developer-mode,
.developer-mode *{
    color:#FF0000 !important;
}

.developer-mode__header{
    min-height:72px;
    padding:16px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.developer-mode__header span{
    font-size:10px;
    font-weight:400;
    letter-spacing:.12em;
}

.developer-mode__header h2{
    margin:4px 0 0;
    font-size:18px;
    font-weight:400;
}

.developer-mode__switch{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:12px;
    font-weight:500;
    cursor:pointer;
}

.developer-mode__switch input{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    opacity:0;
}

.developer-mode__switch i{
    width:46px;
    height:26px;
    padding:3px;
    display:flex;
    align-items:center;
    border:1px solid #FF0000;
    border-radius:999px;
    background:#FFFFFF;
    transition:background .2s ease;
}

.developer-mode__switch i::before{
    width:18px;
    height:18px;
    content:"";
    border-radius:50%;
    background:#FF0000;
    transition:transform .2s ease,background .2s ease;
}

.developer-mode__switch input:checked+i{
    background:#FF0000;
}

.developer-mode__switch input:checked+i::before{
    background:#FFFFFF;
    transform:translateX(20px);
}

.developer-mode__switch input:focus-visible+i{
    outline:3px solid rgba(255,0,0,.2);
    outline-offset:2px;
}

.developer-mode__panel{
    position:fixed;
    top:84px;
    right:12px;
    bottom:12px;
    z-index:120;
    width:min(520px,calc(100vw - 24px));
    padding:14px;
    overflow:auto;
    border:2px solid #FF0000;
    border-radius:16px;
    background:#FFFFFF;
    box-shadow:0 24px 70px rgba(17,17,17,.2);
}

.developer-mode__grid{
    margin:0;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:8px;
}

.developer-mode__grid div,
.developer-mode__section{
    min-width:0;
    padding:12px;
    border:1px solid rgba(255,0,0,.35);
    border-radius:10px;
    background:#FFFFFF;
}

.developer-mode__grid dt{
    margin-bottom:5px;
    font-size:10px;
    font-weight:300;
}

.developer-mode__grid dd{
    margin:0;
    overflow-wrap:anywhere;
    font-size:12px;
    font-weight:400;
}

.developer-mode__section{
    margin-top:10px;
}

.developer-mode__section h3,
.developer-mode__section summary{
    margin:0;
    font-size:12px;
    font-weight:400;
}

.developer-mode__section summary{
    cursor:pointer;
}

.developer-mode__section pre{
    max-height:320px;
    margin:10px 0 0;
    overflow:auto;
    font:350 11px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;
    white-space:pre-wrap;
    word-break:break-word;
}

@media(max-width:1023px){
    .developer-mode__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:600px){
    .developer-mode__header{
        align-items:flex-start;
    }

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

/* UX adaptative : densité, filtres matière et alignement tarifaire */
.support-picker{
    grid-template-columns:minmax(0,1fr);
    gap:8px;
    align-items:stretch;
}

.support-picker>.product-option-search,
.support-picker>.support-family-filter{
    grid-column:1/-1;
}

.support-picker>.selectable-list,
.support-picker>.support-empty{
    grid-column:1/-1;
}

.support-family-filter{
    min-width:0;
    width:100%;
}

.options-modal .support-family-filter{
    margin-bottom:10px;
}

.options-modal .support-family-filters{
    max-width:100%;
    padding-bottom:4px;
    overflow-x:auto;
    flex-wrap:nowrap;
}

@media(min-width:1280px) and (min-height:850px){
    .product-property.is-quantity .selectable-list{
        gap:5px;
    }

    .product-property.is-quantity .selectable-list-item{
        min-height:46px;
    }
}

@media(max-width:759px){
    .support-picker{
        grid-template-columns:minmax(0,1fr);
    }

    .support-picker>*{
        grid-column:1;
    }

    .selectable-list-item__meta{
        width:auto;
        min-width:max-content;
    }
}

/* Workspace final : espacements constants et panneaux extérieurs stables */
.product-page{
    --kp-workspace-gap:12px;
}

.product-layout,
.product-properties,
.product-properties-column{
    gap:var(--kp-workspace-gap);
}

.product-section-heading{
    margin-bottom:var(--kp-workspace-gap);
}

.product-assurance{
    margin-top:var(--kp-workspace-gap);
}

@media(min-width:1024px){
    .product-layout{
        grid-template-columns:clamp(190px,14vw,230px) minmax(0,1fr) clamp(300px,20vw,320px);
        gap:var(--kp-workspace-gap);
        align-items:start;
    }

    .product-information,
    .product-purchase{
        position:sticky;
        top:var(--kp-workspace-sticky-top,120px);
        align-self:start;
    }

    .product-information{
        max-height:calc(100dvh - var(--kp-workspace-sticky-top,120px) - var(--kp-workspace-gap));
    }

    .product-purchase{
        grid-column:auto;
        width:100%;
        height:calc(100dvh - var(--kp-workspace-sticky-top,120px) - var(--kp-workspace-gap));
        max-height:calc(100dvh - var(--kp-workspace-sticky-top,120px) - var(--kp-workspace-gap));
    }

    .product-price-card{
        position:static;
        top:auto;
        width:100%;
        height:100%;
        max-height:100%;
        overflow:hidden;
    }

    .product-summary,
    .product-summary-list{
        min-height:0;
    }

    .product-summary-list{
        flex:1;
        overflow-y:auto;
    }
}

@media(min-width:1024px) and (max-width:1599px){
    .product-properties{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(min-width:1600px){
    .product-properties{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
.product-description{margin:6px 0 0;color:var(--muted,#707782);font-size:12px;line-height:1.45}.catalog-product-card.is-unavailable{opacity:.72;cursor:default}.catalog-search-results .is-unavailable{cursor:default;opacity:.65}

/* Fiche produit premium et galerie AI Product Studio */
.product-premium-header{display:grid;grid-template-columns:minmax(280px,1.25fr) minmax(250px,.9fr) minmax(360px,1.35fr) minmax(180px,.55fr);gap:12px;align-items:stretch;margin-bottom:12px;padding:12px;border:1px solid var(--kp-border);border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(17,17,17,.045)}
.product-premium-identity{display:flex;align-items:center;gap:14px;min-width:0}.product-premium-visual{position:relative;width:112px;height:112px;flex:0 0 112px;display:grid;place-items:center;overflow:hidden;border:1px solid #eceff2;border-radius:14px;background:var(--kp-bg)}.product-premium-visual img{width:100%;height:100%;object-fit:cover}.product-premium-visual .product-visual-placeholder{position:static;width:100%;height:100%;min-height:0;border:0}.product-premium-copy{min-width:0}.product-premium-copy h1{margin:4px 0 0;font-size:clamp(21px,1.7vw,30px);font-weight:500;letter-spacing:-.035em;line-height:1.08}.product-premium-copy .product-description{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.product-premium-copy .product-reference{margin:7px 0 0;color:var(--kp-muted);font-size:10px}.product-premium-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.product-premium-facts>div{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:10px;border:1px solid #edf0f2;border-radius:11px;background:#fafbfc}.product-premium-facts span,.product-studio-summary dt,.product-premium-price span{color:var(--kp-muted);font-size:9px;letter-spacing:.02em}.product-premium-facts strong{margin-top:4px;font-size:11px;font-weight:500;overflow-wrap:anywhere}.product-premium-validation strong{color:#18794e}.product-studio-summary{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(200px,1fr);gap:10px;padding:11px;border-radius:13px;background:#111;color:#fff}.product-premium-kicker{color:var(--kp-orange);font-size:9px;text-transform:uppercase;letter-spacing:.12em}.product-studio-summary h2{max-width:240px;margin:5px 0 0;font-size:14px;font-weight:500;line-height:1.3}.product-studio-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0}.product-studio-summary dl div{padding:7px;border-radius:8px;background:#252525}.product-studio-summary dt{color:#aaa}.product-studio-summary dd{margin:3px 0 0;font-size:10px;overflow-wrap:anywhere}.product-studio-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px}.product-studio-actions button,.product-studio-actions a{display:inline-flex;min-height:30px;align-items:center;justify-content:center;padding:6px 9px;border:1px solid #414141;border-radius:8px;background:#202020;color:#fff;font-size:10px;cursor:pointer}.product-studio-actions .product-studio-button{border-color:var(--kp-orange);background:var(--kp-orange);color:#111}.product-studio-actions button:disabled{opacity:.45;cursor:not-allowed}.product-studio-actions form{display:inline-flex}.product-premium-price{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:14px;border-radius:13px;background:var(--kp-orange-soft,#fff5df)}.product-premium-price strong{margin:6px 0 3px;color:var(--kp-orange);font-size:clamp(25px,2vw,36px);font-weight:600;letter-spacing:-.04em}.product-premium-price small{color:#73551d;font-size:10px;line-height:1.35}.product-layout--premium{grid-template-columns:minmax(0,1fr) clamp(300px,20vw,320px)!important}.product-layout--premium .product-configurator{grid-column:1}.product-layout--premium .product-purchase{grid-column:2}.product-layout--premium .product-section-heading{margin-top:0}

.ai-gallery-modal{width:min(1240px,calc(100vw - 32px));max-width:none;height:min(860px,calc(100dvh - 32px));max-height:none;padding:0;border:0;border-radius:20px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.28)}.ai-gallery-modal::backdrop{background:rgba(12,14,18,.72);backdrop-filter:blur(7px)}.ai-gallery-shell{height:100%;display:grid;grid-template-columns:minmax(0,1fr) 260px;grid-template-rows:auto auto minmax(0,1fr) auto auto;overflow:hidden}.ai-gallery-header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid #eceef1}.ai-gallery-header span{color:var(--kp-orange);font-size:9px;text-transform:uppercase;letter-spacing:.14em}.ai-gallery-header h2{margin:4px 0 0;font-size:21px;font-weight:500}.ai-gallery-header-actions{display:flex;gap:7px}.ai-gallery-header-actions button{width:38px;height:38px;border:1px solid #e1e4e8;border-radius:10px;background:#fff;font-size:18px;cursor:pointer}.ai-gallery-categories{grid-column:1/-1;display:flex;gap:6px;padding:10px 22px;overflow-x:auto;border-bottom:1px solid #eceef1}.ai-gallery-categories button{white-space:nowrap;padding:7px 10px;border:1px solid #e1e4e8;border-radius:999px;background:#fff;font-size:10px;cursor:pointer}.ai-gallery-categories button.is-active{border-color:#111;background:#111;color:#fff}.ai-gallery-stage{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;min-height:0;padding:18px;background:#f5f6f7}.ai-gallery-stage figure{height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:10px;margin:0}.ai-gallery-main-image{min-height:0;display:grid;place-items:center;overflow:auto;border-radius:14px;background:#fff}.ai-gallery-main-image img{display:block;max-width:100%;max-height:100%;object-fit:contain;transition:transform .25s ease}.ai-gallery-modal.is-zoomed .ai-gallery-main-image img{max-width:none;max-height:none;transform:scale(1.5);cursor:zoom-out}.ai-gallery-stage figcaption{text-align:center;color:var(--kp-muted);font-size:10px}.ai-gallery-nav{width:36px;height:52px;border:1px solid #e0e3e7;border-radius:11px;background:#fff;font-size:28px;cursor:pointer}.ai-gallery-details{min-width:0;padding:18px;overflow:auto;border-left:1px solid #eceef1}.ai-gallery-details>div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid #f0f1f3;font-size:10px}.ai-gallery-details>div span{color:var(--kp-muted)}.ai-gallery-details>div strong{text-align:right;font-weight:500}.ai-gallery-details details{margin-top:14px;font-size:10px}.ai-gallery-details summary{cursor:pointer;font-weight:500}.ai-gallery-details p{line-height:1.55;color:var(--kp-muted);overflow-wrap:anywhere}.ai-gallery-thumbnails{grid-column:1/-1;display:flex;gap:8px;padding:12px 22px;overflow-x:auto;border-top:1px solid #eceef1}.ai-gallery-thumbnails button{width:68px;height:68px;flex:0 0 68px;padding:3px;border:2px solid transparent;border-radius:10px;background:#f2f3f5;cursor:pointer}.ai-gallery-thumbnails button.is-active{border-color:var(--kp-orange)}.ai-gallery-thumbnails img{width:100%;height:100%;display:block;object-fit:cover;border-radius:6px}.ai-gallery-footer{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding:11px 22px;border-top:1px solid #eceef1}.ai-gallery-footer button,.ai-gallery-footer a{padding:8px 12px;border:1px solid #dfe2e6;border-radius:8px;background:#fff;color:#111;font-size:10px;cursor:pointer}.ai-gallery-footer [data-ai-gallery-more]{background:#111;color:#fff;border-color:#111}.ai-gallery-state{grid-column:1/-1;margin:0;padding:8px 22px;text-align:center;color:var(--kp-muted);font-size:10px}

@media(max-width:1399px){.product-premium-header{grid-template-columns:minmax(300px,1.25fr) minmax(250px,.9fr) minmax(360px,1.4fr)}.product-premium-price{grid-column:1/-1;min-height:74px;display:grid;grid-template-columns:1fr auto;align-items:center}.product-premium-price strong{grid-row:1/3;grid-column:2;margin:0}.product-premium-price small{grid-column:1}}
@media(max-width:1023px){.product-premium-header{grid-template-columns:repeat(2,minmax(0,1fr))}.product-studio-summary{grid-column:1/-1}.product-premium-price{grid-column:1/-1}.product-layout--premium{grid-template-columns:minmax(0,1fr)!important}.product-layout--premium .product-purchase{grid-column:1;position:static}.ai-gallery-shell{grid-template-columns:minmax(0,1fr) 220px}}
@media(max-width:759px){.product-premium-header{grid-template-columns:minmax(0,1fr);padding:9px}.product-premium-identity,.product-premium-facts,.product-studio-summary,.product-premium-price{grid-column:1}.product-premium-visual{width:88px;height:88px;flex-basis:88px}.product-studio-summary{grid-template-columns:1fr}.product-studio-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}.product-studio-actions{grid-column:1}.product-premium-price{display:flex;min-height:0}.product-premium-price strong{margin:5px 0}.ai-gallery-modal{width:100vw;height:100dvh;border-radius:0}.ai-gallery-shell{grid-template-columns:1fr;grid-template-rows:auto auto minmax(300px,1fr) auto auto auto}.ai-gallery-details{border-left:0;border-top:1px solid #eceef1;max-height:160px}.ai-gallery-stage{padding:10px 4px}.ai-gallery-header{padding:14px}.ai-gallery-categories,.ai-gallery-thumbnails,.ai-gallery-footer{padding-left:14px;padding-right:14px}}

.smart-assistant-panel{margin:16px 0;padding:16px;border:1px solid #e6ebf1;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.06)}
.smart-assistant-panel__header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.smart-assistant-panel__header span{display:block;color:#f5a000;font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.smart-assistant-panel__header h2{margin:4px 0 0;font-size:14px;line-height:1.2}
.smart-assistant-panel__header strong{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#fff7e6;color:#c77700;font-size:13px;font-weight:900}
.smart-assistant-panel__summary{margin:10px 0 0;color:#667085;font-size:12px;line-height:1.45}
.smart-assistant-panel__groups{display:grid;gap:10px;margin-top:12px}
.smart-assistant-panel__group{padding:10px;border-radius:14px;background:#f8fafc}
.smart-assistant-panel__group h3{margin:0 0 8px;color:#111827;font-size:12px}
.smart-assistant-panel__group ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.smart-assistant-panel__group li{display:flex;gap:9px;align-items:flex-start}
.smart-assistant-panel__icon{display:grid;place-items:center;width:20px;height:20px;flex:0 0 20px;border-radius:999px;background:#fff;color:#f5a000;font-size:12px;font-weight:900}
.smart-assistant-panel__group strong{display:block;color:#111827;font-size:12px}
.smart-assistant-panel__group p,.smart-assistant-panel__empty{margin:2px 0 0;color:#667085;font-size:12px;line-height:1.35}
.smart-assistant-panel__group--avertissement{background:#fff7ed}
.smart-assistant-panel__group--conseil{background:#f0fdf4}
.smart-assistant-panel__group--info{background:#eff6ff}
.smart-assistant-panel__group--error{background:#fef2f2;border:1px solid #fecaca}
.smart-assistant-panel__group--error .smart-assistant-panel__icon{color:#dc2626}
.smart-assistant-panel.is-loading{opacity:.78}
.smart-assistant-panel.is-perfect .smart-assistant-panel__header strong{background:#ecfdf3;color:#027a48}
.smart-assistant-panel.is-error{border-color:#fed7aa;background:#fff7ed}

/* UX checkout professionnel : barre simplifiée, panier compact et résumé client */

/* =====================================================
   LOT 115 - CONFIGURATEUR ULTRA PREMIUM
   Objectif : moins de bruit, un seul prix, header compact.
===================================================== */

.product-premium-header{
    grid-template-columns:minmax(0,1fr) !important;
    gap:0 !important;
    align-items:center;
    margin-bottom:8px !important;
    padding:10px 12px !important;
    border-radius:16px !important;
    box-shadow:0 6px 20px rgba(17,17,17,.035) !important;
}

.product-premium-facts[hidden],
.product-studio-summary[hidden],
.product-premium-price[hidden]{
    display:none !important;
}

.product-premium-identity{
    gap:12px !important;
}

.product-premium-visual{
    width:72px !important;
    height:72px !important;
    flex-basis:72px !important;
    border-radius:12px !important;
}

.product-premium-copy h1{
    margin-top:2px !important;
    font-size:clamp(20px,1.35vw,26px) !important;
    line-height:1.04 !important;
}

.product-premium-copy .product-reference{
    margin-top:4px !important;
}

.product-compact-summary{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:8px;
    color:#4b5563;
    font-size:11px;
    line-height:1.25;
}

.product-compact-summary span{
    display:inline-flex;
    align-items:center;
    min-height:22px;
    max-width:100%;
    padding:4px 8px;
    border:1px solid #edf0f2;
    border-radius:999px;
    background:#fafbfc;
    white-space:nowrap;
}

.product-compact-summary span:first-child{
    color:#111;
    font-weight:600;
}

.product-layout--premium .product-section-heading{
    margin-bottom:10px !important;
    padding:14px 16px !important;
    border-radius:16px !important;
}

.product-layout--premium .product-section-heading h2{
    margin-top:6px !important;
    font-size:clamp(22px,2vw,30px) !important;
    line-height:1.08 !important;
}

.product-layout--premium .product-section-heading>p{
    margin-top:6px !important;
}

@media(max-width:759px){
    .product-premium-header{
        padding:9px !important;
    }

    .product-premium-visual{
        width:62px !important;
        height:62px !important;
        flex-basis:62px !important;
    }

    .product-compact-summary{
        gap:5px;
        font-size:10px;
    }
}
.topbar{
    grid-template-columns:minmax(260px,720px) repeat(4, auto)!important;
    justify-content:center;
    gap:16px;
}
.topbar .catalog-search{
    width:min(720px,calc(100vw - 118px));
}
.topbar-cart-button{
    position:relative;
    display:inline-grid;
    place-items:center;
    width:42px;
    height:42px;
    border:1px solid #ece4d5;
    border-radius:999px;
    background:#fff8ec;
    color:#111;
    text-decoration:none;
    box-shadow:0 8px 22px rgba(15,23,42,.06);
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.topbar-account-button{
    display:inline-flex;
    min-height:42px;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:0 13px;
    border:1px solid #ece4d5;
    border-radius:999px;
    background:#fff;
    color:#111;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 8px 22px rgba(15,23,42,.05);
}
.topbar-account-button:hover{
    background:#fff8ec;
}
.topbar-logout-form{
    margin:0;
}
.topbar-logout-form .topbar-account-button{
    font-family:inherit;
    cursor:pointer;
}
.topbar-cart-button:hover{
    transform:translateY(-1px);
    background:#fff2d8;
    box-shadow:0 12px 26px rgba(15,23,42,.1);
}
.topbar-cart-icon{
    font-size:18px;
    line-height:1;
}
.topbar-cart-badge{
    position:absolute;
    top:-6px;
    right:-6px;
    display:grid;
    min-width:20px;
    height:20px;
    place-items:center;
    padding:0 5px;
    border:2px solid #fff;
    border-radius:999px;
    background:#e11d48;
    color:#fff;
    font-size:11px;
    font-weight:800;
    line-height:1;
}
.topbar-cart-button:not(.has-items) .topbar-cart-badge{
    background:#9ca3af;
}
.cart-options--professional{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}
.cart-line-address{
    margin:14px 0;
    padding:12px 14px;
    border:1px solid #dbe6f0;
    border-radius:14px;
    background:#f8fbff;
}
.cart-line-delivery-summary{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(180px,.55fr);
    gap:12px;
    margin-top:12px;
    padding:14px;
    border:1px solid #dfe5ec;
    border-radius:12px;
    background:#f8fafc;
}
.cart-line-delivery-summary>div{display:flex;flex-direction:column;gap:3px}
.cart-line-delivery-summary small{color:#667085}
@media(max-width:720px){.cart-line-delivery-summary{grid-template-columns:1fr}}
.cart-line-address label{
    display:grid;
    gap:6px;
    font-size:12px;
    font-weight:700;
    color:#475569;
}
.cart-line-address select{
    width:100%;
    border:1px solid #cbd5e1;
    border-radius:10px;
    padding:10px 12px;
    background:#fff;
    color:#0f172a;
    font:inherit;
}
.cart-line-address small{
    display:block;
    margin-top:6px;
    color:#64748b;
    font-size:12px;
}
.developer-table-wrap{
    overflow:auto;
}
.developer-status{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:4px 8px;
    background:#eef2ff;
    color:#3730a3;
    font-size:11px;
    font-weight:800;
    letter-spacing:.02em;
}
.developer-status.is-success,
.developer-status.is-ok{
    background:#dcfce7;
    color:#166534;
}
.developer-status.is-warning{
    background:#fef3c7;
    color:#92400e;
}
.developer-status.is-muted{
    background:#f1f5f9;
    color:#475569;
}
.developer-thumb{
    display:block;
    width:54px;
    height:54px;
    object-fit:cover;
    border-radius:10px;
    border:1px solid #e2e8f0;
    background:#fff;
    margin-bottom:6px;
}
.developer-mini-list{
    display:grid;
    gap:6px;
    margin:8px 0 0;
    padding-left:16px;
}
.developer-mini-list li{
    display:grid;
    gap:2px;
}
.cart-checkout-preview{
    margin-top:16px;
    padding:14px;
    border:1px solid #edf0f3;
    border-radius:16px;
    background:#fbfcfd;
}
.cart-checkout-preview h3{
    margin:0 0 8px;
    font-size:13px;
    font-weight:700;
}
.cart-checkout-preview ul{
    display:grid;
    gap:6px;
    margin:0;
    padding-left:18px;
    color:#667085;
    font-size:12px;
    line-height:1.4;
}
.checkout-page{
    width:min(1180px,calc(100vw - 32px));
    margin:24px auto 56px;
}
.checkout-page-header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin:22px 0 18px;
}
.checkout-eyebrow{
    color:#f5a000;
    font-size:10px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.checkout-page-header h1{
    margin:6px 0;
    font-size:clamp(28px,3vw,44px);
    font-weight:700;
    letter-spacing:-.045em;
}
.checkout-page-header p{
    margin:0;
    color:#667085;
}
.checkout-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:18px;
    align-items:start;
}
.checkout-layout--identification{
    grid-template-columns:minmax(0,680px);
    justify-content:center;
}
.checkout-page:has(.checkout-layout--identification){
    margin-top:14px;
    margin-bottom:32px;
}
.checkout-identification-message{
    margin-bottom:12px!important;
    background:#ecfdf3!important;
    color:#167347!important;
}
.checkout-layout--identification .checkout-main{
    gap:12px;
}
.checkout-layout--identification .checkout-card{
    padding:14px 18px;
}
.checkout-layout--identification .checkout-card h2{
    margin-bottom:8px;
}
.checkout-layout--identification .checkout-grid{
    gap:8px 12px;
}
.checkout-layout--identification .checkout-field{
    gap:4px;
}
.checkout-layout--identification .checkout-field input{
    min-height:40px;
    padding-block:8px;
}
.checkout-layout--identification .checkout-actions{
    margin-top:10px;
}
.checkout-main{
    display:grid;
    gap:16px;
}
.checkout-card,
.checkout-summary-card{
    padding:18px;
    border:1px solid #e7ebef;
    border-radius:20px;
    background:#fff;
    box-shadow:0 10px 32px rgba(15,23,42,.055);
}
.checkout-card h2,
.checkout-summary-card h2{
    margin:0 0 12px;
    font-size:18px;
    letter-spacing:-.02em;
}
.checkout-grid,
.checkout-address-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.checkout-field{
    display:grid;
    gap:6px;
}
.checkout-field--wide{
    grid-column:1/-1;
}
.checkout-field label,
.checkout-address-card legend{
    color:#475467;
    font-size:12px;
    font-weight:700;
}
.checkout-field input,
.checkout-field select{
    width:100%;
    min-height:42px;
    padding:10px 12px;
    border:1px solid #d8dee6;
    border-radius:12px;
    background:#fff;
    font:inherit;
}
.checkout-address-card{
    display:grid;
    gap:12px;
    margin:0;
    padding:14px;
    border:1px solid #edf0f3;
    border-radius:16px;
    background:#fbfcfd;
}
.checkout-address-toggle{
    display:flex;
    align-items:center;
    gap:8px;
    margin:12px 0;
    color:#475467;
    font-size:13px;
    font-weight:700;
}
.checkout-address-selector{
    display:grid;
    gap:10px;
    margin-bottom:12px;
}
.checkout-address-selector-title{
    color:#344054;
    font-size:13px;
    font-weight:900;
}
.checkout-address-choices{
    display:grid;
    gap:6px;
}
.checkout-address-choice{
    display:grid;
    grid-template-columns:38px minmax(0,1fr);
    gap:12px;
    align-items:center;
    padding:10px;
    border:1px solid transparent;
    border-radius:12px;
    cursor:pointer;
    transition:.18s ease;
}
.checkout-address-choice:hover{
    background:#f8fafc;
}
.checkout-address-choice:has(input:checked){
    border-color:#b7e5f4;
    background:#dff3fb;
}
.checkout-address-choice input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
.checkout-address-choice-initials{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:#fff;
    color:#344054;
    font-size:13px;
    font-weight:900;
}
.checkout-address-choice-text{
    min-width:0;
}
.checkout-address-choice-text strong,
.checkout-address-choice-text em,
.checkout-address-choice-text small{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.checkout-address-choice-text strong{
    color:#202939;
    font-size:14px;
}
.checkout-address-choice-text em{
    color:#344054;
    font-size:13px;
    font-style:normal;
}
.checkout-address-choice-text small{
    color:#667085;
    font-size:12px;
}
.checkout-address-choice--new{
    border-style:dashed;
    border-color:#d0d5dd;
}
.checkout-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:14px;
}
.checkout-button{
    display:inline-flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    padding:10px 16px;
    border:0;
    border-radius:999px;
    background:#111;
    color:#fff;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
}
.checkout-button--secondary{
    border:1px solid #d8dee6;
    background:#fff;
    color:#111;
}
.checkout-note,
.checkout-error{
    margin:10px 0 0;
    color:#667085;
    font-size:12px;
    line-height:1.5;
}
.checkout-error{
    color:#b42318;
}
.checkout-summary-card{
    position:sticky;
    top:96px;
}
.checkout-summary-item{
    padding:12px 0;
    border-top:1px solid #edf0f3;
}
.checkout-summary-item:first-of-type{
    border-top:0;
}
.checkout-summary-item h3{
    margin:0 0 10px;
    font-size:14px;
}
.checkout-summary-options{
    display:grid;
    gap:6px;
    margin:0;
}
.checkout-summary-options div{
    display:flex;
    justify-content:space-between;
    gap:14px;
    color:#667085;
    font-size:12px;
}
.checkout-summary-options dt{
    font-weight:700;
}
.checkout-summary-options dd{
    margin:0;
    color:#111827;
    text-align:right;
}
.checkout-summary-totals{
    display:grid;
    gap:8px;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid #edf0f3;
}
.checkout-summary-totals div{
    display:flex;
    justify-content:space-between;
    gap:12px;
}
.checkout-summary-totals .is-total{
    font-size:18px;
    font-weight:900;
}
.checkout-professional-info{
    display:grid;
    gap:8px;
    margin-top:14px;
    padding:12px;
    border-radius:14px;
    background:#f8fafc;
    color:#667085;
    font-size:12px;
}
.account-page{
    width:min(1180px,calc(100vw - 32px));
    margin:24px auto 64px;
}
.account-header{
    margin:24px 0 18px;
}
.account-header h1{
    margin:6px 0;
    font-size:clamp(30px,3vw,46px);
    letter-spacing:-.045em;
}
.account-header p{
    margin:0;
    color:#667085;
}
.account-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin-bottom:16px;
}
.account-grid--wide{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.account-card{
    padding:18px;
    border:1px solid #e7ebef;
    border-radius:20px;
    background:#fff;
    box-shadow:0 10px 32px rgba(15,23,42,.055);
}
.account-card--span-2{
    grid-column:span 2;
}
.account-card h2{
    margin:0 0 14px;
    font-size:18px;
}
.account-details,
.account-list{
    display:grid;
    gap:9px;
    margin:0 0 14px;
}
.account-details div,
.account-list-row{
    display:grid;
    grid-template-columns:minmax(90px,1fr) auto;
    gap:10px;
    padding:9px 0;
    border-bottom:1px solid #edf0f3;
}
.account-details dt{
    color:#667085;
    font-size:12px;
    font-weight:800;
}
.account-details dd{
    margin:0;
    text-align:right;
}
.account-address{
    padding:12px;
    border-radius:14px;
    background:#f8fafc;
    color:#344054;
    font-style:normal;
    line-height:1.55;
}
.account-alert{
    padding:12px 14px;
    margin:0 0 14px;
    border-radius:14px;
    font-weight:800;
}
.account-alert--success{
    background:#ecfdf3;
    color:#067647;
}
.account-alert--error{
    background:#fef3f2;
    color:#b42318;
}
.account-address-list{
    display:grid;
    gap:6px;
}
.account-address-book-row{
    display:grid;
    grid-template-columns:44px minmax(0,1fr) auto;
    gap:12px;
    align-items:center;
    padding:10px 12px;
    border-radius:10px;
    background:#fff;
}
.account-address-book-row:first-child{
    background:#dff3fb;
}
.account-address-initials{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:#fff;
    color:#344054;
    font-size:14px;
    font-weight:800;
}
.account-address-summary{
    min-width:0;
}
.account-address-summary strong,
.account-address-summary span,
.account-address-summary p,
.account-address-summary small{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.account-address-summary strong{
    color:#202939;
    font-size:15px;
}
.account-address-summary span{
    color:#344054;
    font-size:14px;
}
.account-address-summary p{
    margin:3px 0;
    color:#344054;
}
.account-address-summary small{
    color:#475467;
    font-size:13px;
}
.account-address-actions{
    display:grid;
    gap:7px;
    justify-items:end;
}
.account-role-badges{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    justify-content:flex-end;
}
.account-role-badges span{
    padding:4px 7px;
    border-radius:999px;
    background:#fff7e6;
    color:#9a6700;
    font-size:11px;
    font-weight:900;
}
.account-address-details{
    position:relative;
}
.account-address-details summary{
    cursor:pointer;
    color:#111;
    font-size:12px;
    font-weight:900;
    list-style:none;
}
.account-address-details summary::-webkit-details-marker{
    display:none;
}
.account-address-details[open]{
    padding:10px;
    border-radius:14px;
    background:#fff;
    box-shadow:0 14px 36px rgba(15,23,42,.12);
}
.account-address-roles,
.account-role-selector{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
}
.account-address-roles label,
.account-role-selector label{
    display:inline-flex;
    gap:6px;
    align-items:center;
    color:#344054;
    font-size:13px;
    font-weight:800;
}
.account-address-roles button,
.account-address-delete button{
    border:0;
    border-radius:999px;
    padding:8px 12px;
    background:#111;
    color:#fff;
    font-weight:900;
    cursor:pointer;
}
.account-address-delete button{
    background:#fff1f0;
    color:#b42318;
}
.account-address-form-card{
    margin-bottom:16px;
}
.account-address-form{
    display:grid;
    gap:14px;
}
.account-address-form label{
    display:grid;
    gap:6px;
    color:#344054;
    font-size:13px;
    font-weight:800;
}
.account-address-form input{
    width:100%;
    border:1px solid #d0d5dd;
    border-radius:12px;
    padding:11px 12px;
    background:#fff;
    color:#101828;
}
.account-address-form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.account-span-2{
    grid-column:span 2;
}
.account-list-row{
    grid-template-columns:minmax(0,1fr) auto auto auto;
    align-items:center;
    color:#344054;
    font-size:13px;
}
.account-list-row em{
    color:#667085;
    font-style:normal;
}
.account-list-row a{
    color:#111;
    font-weight:800;
    text-decoration:none;
}
.account-order-list{
    display:grid;
    gap:16px;
}
.account-order-card{
    border:1px solid #e2e8f0;
    border-radius:18px;
    background:#f8fafc;
    overflow:hidden;
}
.account-order-card--v2{
    border-radius:22px;
    background:#ffffff;
    box-shadow:0 18px 44px rgba(15,23,42,.07);
}
.account-order-header,
.account-order-footer{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    padding:16px;
    background:#fff;
}
.account-order-header h3{
    margin:4px 0;
    font-size:22px;
}
.account-order-reference{
    font-size:clamp(24px,3vw,38px)!important;
    line-height:1.05;
    letter-spacing:-.035em;
    color:#0f172a;
}
.account-order-header p{
    margin:0;
    color:#64748b;
}
.account-order-meta{
    display:grid;
    justify-items:end;
    gap:8px;
}
.account-payment-badge,
.account-file-badge{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:6px 10px;
    font-size:12px;
    font-weight:900;
}
.account-payment-badge.is-pending,
.account-file-badge.is-running,
.account-file-badge.is-uploaded{
    background:#fff7ed;
    color:#9a3412;
}
.account-payment-badge.is-ready,
.account-file-badge.is-ok{
    background:#dcfce7;
    color:#166534;
}
.account-payment-badge.is-warning,
.account-file-badge.is-warning{
    background:#fef3c7;
    color:#92400e;
}
.account-payment-badge.is-error,
.account-file-badge.is-error{
    background:#fee2e2;
    color:#991b1b;
}
.account-file-badge.is-missing{
    background:#e2e8f0;
    color:#475569;
}
.account-order-lines{
    display:grid;
    gap:12px;
    padding:16px;
}
.account-order-line{
    display:grid;
    grid-template-columns:150px minmax(0,1fr);
    gap:18px;
    padding:16px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#fff;
}
.account-order-line-media{
    width:150px;
    height:150px;
    border-radius:14px;
    overflow:hidden;
    display:grid;
    place-items:center;
    background:#f1f5f9;
    color:#d88a00;
    font-weight:900;
}
.account-order-line-media img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.account-order-line-title{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
}
.account-order-line-badges{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:6px;
}
.account-order-line-title h4{
    margin:0;
    font-size:17px;
}
.account-order-line-title p,
.account-order-file-name{
    margin:3px 0 0;
    color:#64748b;
}
.account-order-options{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(155px,1fr));
    gap:8px;
    margin:0;
}
.account-order-options div{
    padding:8px 10px;
    border-radius:12px;
    background:#f8fafc;
}
.account-order-options dt{
    font-size:11px;
    color:#64748b;
    font-weight:900;
}
.account-order-options dd{
    margin:2px 0 0;
    color:#0f172a;
    font-weight:700;
}
.account-order-summary{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    color:#475569;
}
.account-order-summary span,
.account-order-summary strong{
    padding:7px 10px;
    border-radius:999px;
    background:#f1f5f9;
}
.account-order-actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:8px;
}
.account-order-actions form{
    margin:0;
}
@media(max-width:760px){
    .account-command-filters{grid-template-columns:1fr}
    .account-order-header,.account-order-footer{display:grid}
    .account-order-meta{justify-items:start}
    .account-order-line{grid-template-columns:110px minmax(0,1fr);gap:12px}
    .account-order-line-media{width:110px;height:110px}
    .account-order-line-title{display:grid}
    .account-order-line-badges{justify-content:flex-start}
}
@media(max-width:520px){
    .account-order-line{grid-template-columns:1fr}
    .account-order-line-media{width:100%;height:190px}
}
.checkout-button--danger{
    background:#fee2e2;
    color:#991b1b;
}
.account-command-filters{
    display:grid;
    grid-template-columns:minmax(260px,1fr) minmax(180px,240px) auto;
    gap:12px;
    margin:0 0 18px;
    padding:14px;
    border:1px solid #e5e7eb;
    border-radius:18px;
    background:#fff;
    box-shadow:0 12px 30px rgba(15,23,42,.06);
}
.account-command-filters input,
.account-command-filters select{
    width:100%;
    min-height:42px;
    border:1px solid #cbd5e1;
    border-radius:12px;
    padding:0 12px;
    background:#f8fafc;
    font:inherit;
}
.account-command-filters button{
    border:0;
    border-radius:12px;
    padding:0 18px;
    background:#f5a000;
    color:#111827;
    font-weight:800;
    cursor:pointer;
}
.product-content-v1{
    width:min(1280px, calc(100vw - 32px));
    margin:28px auto 56px;
}
.product-content-v1__header{
    padding:24px;
    border:1px solid #e5e7eb;
    border-radius:24px;
    background:linear-gradient(135deg,#fff,#f8fafc);
    box-shadow:0 18px 45px rgba(15,23,42,.06);
}
.product-content-v1__header h2{
    margin:6px 0 8px;
    font-size:clamp(28px,3vw,44px);
    letter-spacing:-.04em;
}
.product-content-v1__header p{
    margin:0;
    max-width:780px;
    color:#64748b;
    line-height:1.6;
}
.product-content-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin-top:16px;
}
.product-content-card{
    padding:18px;
    border:1px solid #e5e7eb;
    border-radius:20px;
    background:#fff;
    box-shadow:0 12px 32px rgba(15,23,42,.045);
}
.product-content-card h3{
    margin:0 0 14px;
    font-size:18px;
}
.product-content-card h4{
    margin:0 0 4px;
    font-size:14px;
}
.product-content-card p{
    margin:0;
    color:#64748b;
    line-height:1.55;
}
.product-content-blocks,
.product-content-items,
.product-content-downloads,
.product-content-table{
    display:grid;
    gap:12px;
}
.product-content-blocks > div,
.product-content-items > div,
.product-content-table > div{
    padding:12px;
    border-radius:14px;
    background:#f8fafc;
}
.product-content-blocks dl{
    display:grid;
    gap:6px;
    margin:10px 0 0;
}
.product-content-blocks dl div{
    display:flex;
    justify-content:space-between;
    gap:12px;
    border-bottom:1px solid #e5e7eb;
    padding-bottom:6px;
}
.product-content-blocks dt{
    font-weight:800;
    color:#475569;
}
.product-content-blocks dd{
    margin:0;
    color:#0f172a;
}
.product-content-table strong{
    display:block;
    color:#0f172a;
}
.product-content-table span,
.product-content-downloads small{
    color:#64748b;
}
.product-content-downloads a,
.product-content-downloads span{
    padding:12px;
    border-radius:14px;
    background:#f8fafc;
    text-decoration:none;
    color:#0f172a;
    font-weight:800;
}
.product-content-media{
    margin-top:16px;
}
.product-content-gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:12px;
}
.product-content-gallery figure{
    margin:0;
    overflow:hidden;
    border-radius:16px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
}
.product-content-gallery img{
    width:100%;
    height:140px;
    object-fit:cover;
    display:block;
}
.product-content-gallery figcaption{
    padding:9px 10px;
    font-size:12px;
    color:#475569;
    font-weight:800;
}
.product-content-empty{
    padding:12px;
    border-radius:14px;
    background:#f8fafc;
}
@media(max-width:980px){
    .product-content-grid{
        grid-template-columns:1fr;
    }
}
.account-upload-info{
    background:#fff8ec;
}

@media(max-width:900px){
    .checkout-layout{
        grid-template-columns:1fr;
    }
    .checkout-page:has(.checkout-layout--identification){
        width:min(100% - 24px,680px);
        margin-top:12px;
    }
    .checkout-layout--identification .checkout-grid{
        grid-template-columns:1fr;
    }
    .checkout-layout--identification .checkout-card{
        padding:14px;
    }
    .checkout-summary-card{
        position:static;
    }
    .checkout-grid,
    .checkout-address-grid{
        grid-template-columns:1fr;
    }
    .account-grid,
    .account-grid--wide{
        grid-template-columns:1fr;
    }
    .account-card--span-2,
    .account-span-2{
        grid-column:auto;
    }
    .account-address-form-grid{
        grid-template-columns:1fr;
    }
    .account-address-book-row{
        grid-template-columns:38px minmax(0,1fr);
    }
    .account-address-actions{
        grid-column:2;
        justify-items:start;
    }
    .account-role-badges{
        justify-content:flex-start;
    }
}

@media(max-width:640px){
    .topbar{
        grid-template-columns:minmax(0,1fr) repeat(4, auto)!important;
        padding-inline:12px;
    }
    .topbar .catalog-search{
        width:100%;
    }
    .topbar-account-button span:last-child{
        display:none;
    }
}

.cart-line-file{
    margin:18px 0;
    padding:14px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#f8fafc;
}

.cart-line-file.has-file{
    background:#fffaf0;
    border-color:#f4d28d;
}

.cart-line-file-main{
    display:grid;
    grid-template-columns:auto 128px minmax(0, 1fr) auto;
    gap:14px;
    align-items:center;
    position:relative;
}

.cart-line-file-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:999px;
    background:#fff;
    box-shadow:0 1px 4px rgba(15, 23, 42, .08);
}

.cart-line-file-thumb{
    width:128px;
    height:92px;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    border:1px solid #e5e7eb;
    box-shadow:0 10px 24px rgba(15, 23, 42, .12);
}

.cart-line-file-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.cart-line-file.has-file{
    padding:18px;
}

.cart-line-file.has-file .cart-line-file-badge{
    width:38px;
    height:38px;
    font-size:18px;
}

.cart-line-file-main strong,
.account-file-row strong{
    display:block;
    font-weight:700;
    color:#111827;
}

.cart-line-file-main p,
.cart-line-file-main small,
.cart-line-file-help,
.account-file-row p,
.account-file-row small{
    margin:3px 0 0;
    color:#667085;
}

.cart-line-file-messages{
    margin:12px 0 0;
    padding:10px 12px 10px 28px;
    border-radius:12px;
    font-size:13px;
}

.cart-line-file-messages.is-error{
    background:#fff1f0;
    color:#b42318;
}

.cart-line-file-messages.is-warning,
.checkout-file-warning{
    background:#fff8e6;
    color:#8a4b00;
}
.cart-line-file-help.is-warning{
    display:block;
    margin-top:10px;
    padding:9px 11px;
    border-radius:12px;
    background:#fff8e6;
    color:#8a4b00;
    font-weight:700;
}
.cart-line-file-help.is-success{
    display:block;
    margin-top:10px;
    padding:9px 11px;
    border-radius:12px;
    background:#ecfdf3;
    color:#027a48;
    font-weight:700;
}
.cart-line-file-lock{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:12px;
    padding:12px;
    border-radius:14px;
    background:#fff;
    border:1px solid #bbf7d0;
}
.cart-line-file-lock button{
    border:0;
    border-radius:10px;
    padding:10px 14px;
    background:#16a34a;
    color:#fff;
    font-weight:800;
    cursor:pointer;
}
.cart-line-file-lock small{
    color:#667085;
}

.cart-line-upload{
    display:flex;
    gap:10px;
    align-items:flex-end;
    flex-wrap:wrap;
    margin-top:14px;
}

.cart-line-upload label{
    display:flex;
    flex-direction:column;
    gap:6px;
    font-size:12px;
    font-weight:700;
    color:#344054;
}

.cart-line-upload input,
.account-file-row input{
    max-width:260px;
}

.cart-line-upload button,
.account-file-row button{
    border:0;
    border-radius:10px;
    padding:10px 14px;
    background:#f0a000;
    color:#111;
    font-weight:700;
    cursor:pointer;
}

.cart-line-file-delete{
    margin-left:auto;
    border:0;
    width:30px;
    height:30px;
    border-radius:999px;
    background:#fff1f0;
    color:#b42318;
    font-size:22px;
    line-height:1;
    font-weight:800;
    cursor:pointer;
}

@media(max-width:760px){
    .cart-line-file-main{
        grid-template-columns:auto minmax(0, 1fr) auto;
    }

    .cart-line-file-thumb{
        grid-column:1 / -1;
        width:100%;
        height:160px;
    }
}

.cart-line-file-delete:hover{
    background:#ffd7d3;
}

.cart-upload-progress{
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto;
    gap:8px 10px;
    align-items:center;
    margin-top:12px;
    padding:10px;
    border-radius:12px;
    background:#fff;
    border:1px solid #e5e7eb;
    box-shadow:0 8px 20px rgba(15, 23, 42, .08);
}

.cart-upload-progress[hidden]{
    display:none;
}

.cart-upload-progress-track{
    height:14px;
    border-radius:999px;
    overflow:hidden;
    background:#eef2f7;
}

.cart-upload-progress-track span{
    display:block;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg, #f0a000, #22c55e);
    transition:width .18s ease;
}

.cart-upload-progress strong{
    min-width:48px;
    text-align:right;
    color:#111827;
}

.cart-upload-progress em{
    grid-column:1 / -1;
    font-style:normal;
    color:#667085;
    font-size:12px;
}

.cart-upload-progress.is-complete{
    border-color:#bbf7d0;
    background:#f0fdf4;
}

.cart-upload-progress.is-complete em{
    color:#15803d;
    font-weight:700;
}

.cart-upload-progress.is-error{
    border-color:#fecaca;
    background:#fff1f0;
}

.checkout-file-warning{
    padding:14px;
    border-radius:14px;
    margin:14px 0;
}

.account-file-list{
    display:grid;
    gap:12px;
}

.account-file-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    padding:14px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#f8fafc;
}

.account-file-row form{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
}

.cart-line-preflight-details{
    margin-top:12px;
    padding:10px 12px;
    border-radius:12px;
    background:#fff;
    border:1px solid #e5e7eb;
}

.cart-line-preflight-details summary{
    cursor:pointer;
    font-weight:700;
    color:#344054;
}

.cart-line-preflight-details dl{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
    gap:8px;
    margin:10px 0 0;
}

.cart-line-preflight-details div{
    padding:8px;
    border-radius:10px;
    background:#f8fafc;
}

.cart-line-preflight-details dt{
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.05em;
    color:#667085;
}

.cart-line-preflight-details dd{
    margin:4px 0 0;
    color:#111827;
    font-weight:600;
}

.cart-line-preflight-controls{
    display:grid;
    gap:10px;
    margin-top:12px;
}

.cart-line-preflight-control{
    border:1px solid #d8dee8;
    border-radius:14px;
    padding:12px;
    background:#f8fafc;
}

.cart-line-preflight-control header{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    margin-bottom:8px;
}

.cart-line-preflight-control.is-success{
    border-color:#bbf7d0;
    background:#f0fdf4;
}

.cart-line-preflight-control.is-warning{
    border-color:#fed7aa;
    background:#fff7ed;
}

.cart-line-preflight-control.is-error{
    border-color:#fecaca;
    background:#fef2f2;
}

.cart-line-preflight-control.is-muted{
    border-color:#e5e7eb;
    background:#f9fafb;
}

.cart-line-warning-acceptance{
    display:flex;
    gap:8px;
    align-items:flex-start;
    font-size:12px;
    color:#7c2d12;
    margin-bottom:8px;
}

.cart-line-workflow{
    margin:12px 0 0;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.developer-filter-bar{
    margin-bottom:14px;
    display:flex;
    flex-wrap:wrap;
    align-items:end;
    gap:12px;
}

.developer-filter-bar label{
    display:grid;
    gap:5px;
    color:#475569;
    font-size:12px;
    font-weight:700;
}

.developer-filter-bar input,
.developer-filter-bar select{
    min-height:38px;
    min-width:220px;
    padding:8px 10px;
    border:1px solid #CBD5E1;
    border-radius:10px;
    background:#FFFFFF;
}

.developer-filter-bar button,
.developer-filter-bar a,
.developer-quick-filters a{
    min-height:38px;
    padding:9px 12px;
    display:inline-flex;
    align-items:center;
    border:1px solid #CBD5E1;
    border-radius:10px;
    background:#FFFFFF;
    color:#0F172A;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
}

.developer-filter-bar button{
    border-color:#F5A000;
    background:#F5A000;
}

.developer-quick-filters{
    margin-bottom:14px;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

/* Professional Customer Portal V1 */
.portal-body{background:#F3F6FA}
.portal-shell{min-height:100vh;display:grid;grid-template-columns:252px minmax(0,1fr)}
.portal-sidebar{position:fixed;inset:0 auto 0 0;z-index:80;width:252px;padding:18px 14px;overflow:auto;border-right:1px solid #E1E7EF;background:#000000;color:#E5E7EB}
.portal-brand{height:60px;display:flex;align-items:center;gap:10px;color:#FFFFFF;text-decoration:none;perspective:900px}
.portal-brand span{display:block;background:transparent;border-radius:0}
.portal-brand-logo-coin{position:relative!important;width:55.2px!important;height:55.2px!important;flex:0 0 55.2px;transform-style:preserve-3d;animation:portal-logo-coin-flip 10s linear infinite;will-change:transform}
.portal-brand-logo-face{position:absolute;inset:0;display:block!important;width:100%!important;height:100%!important;backface-visibility:hidden}
.portal-brand-logo-face img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:contain;border-radius:0;background:transparent;filter:drop-shadow(0 8px 10px rgba(0,0,0,.4))}
.portal-brand-logo-back{transform:rotateY(180deg)}
.portal-brand-logo-back img{transform:scaleX(-1);opacity:.86}
.portal-brand-logo-face img.portal-brand-logo-shine{z-index:2;pointer-events:none;filter:brightness(.34) contrast(1.15) drop-shadow(0 0 4px rgba(255,255,255,.9));clip-path:polygon(-35% -15%,-8% -15%,-75% 55%,-102% 55%);opacity:0;animation:portal-logo-silver-sweep 10s ease-in-out infinite}
.portal-brand strong{letter-spacing:.08em;font-size:13px}
@keyframes portal-logo-coin-flip{0%,8%{transform:rotateY(0deg) scale(1)}12%{transform:rotateY(350deg) scale(1.045)}16%{transform:rotateY(730deg) scale(1.065)}20%{transform:rotateY(1080deg) scale(1.025)}21%{transform:rotateY(1074deg) scale(1)}23%,54%{transform:rotateY(1080deg) scale(1)}58%{transform:rotateY(1430deg) scale(1.045)}62%{transform:rotateY(1810deg) scale(1.065)}66%{transform:rotateY(2160deg) scale(1.025)}67%{transform:rotateY(2154deg) scale(1)}69%,100%{transform:rotateY(2160deg) scale(1)}}
@keyframes portal-logo-silver-sweep{0%,23%{clip-path:polygon(-35% -15%,-8% -15%,-75% 55%,-102% 55%);opacity:0}24%{opacity:1}32%{clip-path:polygon(175% 45%,202% 45%,135% 115%,108% 115%);opacity:1}33%,69%{clip-path:polygon(-35% -15%,-8% -15%,-75% 55%,-102% 55%);opacity:0}70%{opacity:1}78%{clip-path:polygon(175% 45%,202% 45%,135% 115%,108% 115%);opacity:1}79%,100%{clip-path:polygon(-35% -15%,-8% -15%,-75% 55%,-102% 55%);opacity:0}}
@media (prefers-reduced-motion:reduce){.portal-brand-logo-coin,.portal-brand-logo-shine{animation:none!important}.portal-brand-logo-shine{display:none!important}}
.portal-nav{margin-top:18px;display:grid;gap:18px}
.portal-nav section{display:grid;gap:5px}
.portal-nav h2{margin:0 0 4px 10px;color:#94A3B8;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.portal-nav a,.portal-nav button{width:100%;min-height:38px;padding:8px 10px;display:flex;align-items:center;gap:9px;border:0;border-radius:12px;background:transparent;color:#E5E7EB;font:inherit;font-size:13px;text-align:left;text-decoration:none;cursor:pointer}
.portal-nav a:hover,.portal-nav button:hover{background:rgba(255,255,255,.08);color:#FFFFFF}
.portal-nav a.is-active{background:rgba(245,160,0,.16);color:#FFFFFF;box-shadow:inset 3px 0 0 var(--merchant-primary,#F5A000)}
.portal-nav span{width:22px;display:inline-grid;place-items:center;color:var(--merchant-primary,#F5A000)}
.portal-main{min-width:0;grid-column:2}
.portal-header.topbar{position:sticky;top:0;z-index:70;width:100%;min-height:70px;padding:10px 24px;display:grid;grid-template-columns:auto minmax(280px,1fr) auto auto auto auto auto;align-items:center;gap:12px;border-bottom:1px solid #E1E7EF;background:rgba(255,255,255,.92);backdrop-filter:blur(14px)}
.portal-header--white-label{grid-template-columns:minmax(280px,1fr) auto auto auto auto auto!important}
.portal-header-logo{color:#111827;font-size:15px;font-weight:800;letter-spacing:.08em;text-decoration:none}
.portal-header-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #E1E7EF;border-radius:14px;background:#FFFFFF;color:#111827;text-decoration:none}
.portal-dashboard{width:100%;margin:0 0 22px;display:grid;gap:18px}
.portal-dashboard-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.portal-stat-card{min-height:118px;padding:18px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid #E1E7EF;border-radius:22px;background:#FFFFFF;box-shadow:0 12px 30px rgba(15,23,42,.05)}
.portal-stat-card span{color:#64748B;font-size:13px;line-height:1.3}
.portal-stat-card strong{color:#0F172A;font-size:34px;line-height:1}
.portal-stat-card.is-warning{background:#FFF7E6;border-color:#F9D99A}
.portal-stat-card.is-danger{background:#FFF1F2;border-color:#FDA4AF}
.portal-stat-card.is-success{background:#ECFDF5;border-color:#A7F3D0}
.portal-stat-card.is-info{background:#EFF6FF;border-color:#BFDBFE}
.portal-dashboard-panels{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}
.portal-panel{min-width:0;padding:18px;border:1px solid #E1E7EF;border-radius:22px;background:#FFFFFF;box-shadow:0 12px 30px rgba(15,23,42,.05)}
.portal-panel header{margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.portal-panel h2{margin:0;font-size:18px}
.portal-panel a{color:#B26F00;font-size:13px;font-weight:700;text-decoration:none}
.portal-file-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.portal-file-card{min-width:0;padding:10px;display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;border:1px solid #E5EAF2;border-radius:16px;background:#F8FAFC}
.portal-file-preview{width:64px;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:#FFFFFF;color:#F5A000;font-size:12px;font-weight:800}
.portal-file-preview img{width:100%;height:100%;object-fit:cover}
.portal-file-card strong,.portal-file-card span,.portal-file-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-file-card strong{font-size:13px}.portal-file-card span,.portal-file-card small{color:#64748B;font-size:12px}
.portal-action-list{margin:0;padding:0;display:grid;gap:9px;list-style:none}
.portal-action-list li{padding:10px;display:flex;align-items:center;gap:10px;border-radius:14px;background:#F8FAFC;color:#334155;font-size:13px}
.portal-action-list span{width:28px;height:28px;display:grid;place-items:center;border-radius:999px;background:#111827;color:#FFFFFF;font-weight:800}
.portal-empty-state{margin:0;color:#64748B;line-height:1.55}
.portal-timeline{margin:14px 0 0;padding:14px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;border-radius:18px;background:#F8FAFC;list-style:none}
.portal-timeline li{min-width:0;display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:start}
.portal-timeline li>span{width:28px;height:28px;display:grid;place-items:center;border-radius:999px;background:#E2E8F0;color:#475569;font-size:12px;font-weight:800}
.portal-timeline strong,.portal-timeline small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-timeline strong{color:#0F172A;font-size:12px}.portal-timeline small{color:#64748B;font-size:11px}
.portal-timeline .is-done>span{background:#16A34A;color:#FFFFFF}
.portal-timeline .is-current>span{background:#F5A000;color:#111827}
.portal-footer{margin:42px 24px 24px;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #E1E7EF;border-radius:22px;background:#FFFFFF;color:#64748B;box-shadow:0 12px 30px rgba(15,23,42,.05)}
.portal-footer strong,.portal-footer span{display:block}
.portal-footer strong{color:#0F172A}
.portal-footer nav{display:flex;flex-wrap:wrap;gap:12px}
.portal-footer a{color:#B26F00;text-decoration:none;font-weight:700;font-size:13px}
.cms-page{width:min(100% - 32px,1280px);margin:28px auto 56px}
.cms-rich-content{line-height:1.65;color:#334155}
.cms-rich-content h2,.cms-rich-content h3{color:#0F172A}
.account-page,.cart-page,.catalog-home,.configurator-page{width:min(100% - 32px,1760px)}
@media(max-width:1180px){.portal-dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-dashboard-panels{grid-template-columns:1fr}}
@media(max-width:900px){.portal-shell{display:block}.portal-sidebar{position:static;width:100%;max-height:none}.portal-nav{display:flex;gap:14px;overflow:auto}.portal-nav section{min-width:180px}.portal-main{grid-column:auto}.portal-header.topbar{grid-template-columns:1fr auto auto}.portal-header .catalog-search{grid-column:1/-1;order:5}.portal-header-logo{display:block}.portal-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-file-strip{grid-template-columns:1fr}.portal-timeline{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.portal-dashboard-grid{grid-template-columns:1fr}.portal-header.topbar{padding:10px 14px}.portal-timeline{grid-template-columns:1fr}}

/* Sprint UX + Conversion KOTOPRINT */
.catalog-hero--commercial{
    min-height:270px;
    padding:clamp(24px,3vw,34px);
    gap:12px;
    background:
        radial-gradient(circle at top right, rgba(245,160,0,.32), transparent 34%),
        linear-gradient(135deg,#111 0%,#1d1d1d 58%,#2b210b 100%);
}
.catalog-hero--commercial h1{max-width:980px}
.catalog-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.catalog-hero-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:12px;text-decoration:none;font-weight:600}
.catalog-hero-cta--primary{background:var(--kp-primary);color:#111}
.catalog-hero-cta--secondary{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff}
.catalog-trust-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;margin-top:12px}
.catalog-trust-strip span{padding:10px 12px;border:1px solid rgba(255,255,255,.16);border-radius:11px;background:rgba(255,255,255,.08);color:#fff;font-size:12px}
.catalog-trust-line{max-width:none!important;width:100%;margin:4px 0 0!important;color:#e5e7eb!important;font-size:12px!important;line-height:1.55!important}
@media(min-width:901px){
    .catalog-hero--commercial{min-height:0;padding:16px 28px;gap:7px}
    .catalog-hero--commercial .catalog-eyebrow{font-size:11px}
    .catalog-hero--commercial h1{max-width:1400px;margin:3px 0 5px;font-size:clamp(24px,2.35vw,34px);line-height:1.08}
    .catalog-hero--commercial>p:not(.catalog-trust-line){max-width:1100px;font-size:14px;line-height:1.4}
    .catalog-hero--commercial .catalog-hero-actions{margin-top:2px}
    .catalog-hero--commercial .catalog-hero-cta{min-height:38px;padding:0 16px;font-size:14px}
    .catalog-hero--commercial .catalog-trust-line{margin-top:1px!important;font-size:11px!important;line-height:1.35!important}
}
.catalog-popular-family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.catalog-popular-family-card{display:grid;gap:8px;min-height:145px;padding:20px;border:1px solid #e8ecf1;border-radius:18px;background:#fff;color:#111;text-decoration:none;box-shadow:0 8px 24px rgba(15,23,42,.06);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.catalog-popular-family-card:hover{transform:translateY(-2px);border-color:var(--kp-primary);box-shadow:0 16px 34px rgba(15,23,42,.11)}
.catalog-popular-family-card__image{display:grid!important;place-items:center;width:100%;height:120px;overflow:hidden;border-radius:13px;background:#f4efe5;color:var(--kp-primary)!important}
.catalog-popular-family-card__image img{display:block;width:100%;height:100%;padding:8px;object-fit:contain;object-position:center}
.catalog-popular-family-card__fallback{display:grid!important;place-items:center;width:100%;height:100%;font-size:30px!important;font-weight:800;color:var(--kp-primary)!important;background:linear-gradient(135deg,#111,#3a2b06)}
.catalog-popular-family-card strong{font-size:20px;letter-spacing:-.03em}
.catalog-popular-family-card span{color:var(--kp-muted);font-size:13px;line-height:1.45}
.catalog-popular-family-card small{color:#73551d;font-size:11px;line-height:1.4}
.catalog-popular-family-card em{align-self:end;color:var(--kp-primary-dark);font-style:normal;font-size:12px;font-weight:600}
.front-catalog__family-card{position:relative}
.front-catalog__family-card .front-catalog__media{background:linear-gradient(135deg,#111,#2f250f);color:var(--kp-primary);font-size:34px}
.front-catalog__discover{display:inline-flex;margin-top:auto;color:var(--kp-primary-dark);font-size:13px}
.front-product__conversion-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.front-product__conversion-panel>div{padding:16px;border:1px solid #e8ecf1;border-radius:14px;background:#fff}
.front-product__conversion-panel span{display:block;margin-bottom:7px;color:var(--kp-primary-dark);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.front-product__conversion-panel p,.front-product__conversion-panel ul{margin:0;color:#3f4651;font-size:13px;line-height:1.55}
.front-product__conversion-panel ul{padding-left:18px}
.front-product__similar{margin-top:18px;padding:18px;border:1px solid #e8ecf1;border-radius:16px;background:#fff}
.front-product__similar h2{margin:0 0 12px;font-size:18px}
.front-product__similar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.front-product__similar-grid a{display:grid;gap:4px;padding:12px;border:1px solid #edf0f2;border-radius:12px;color:#111;text-decoration:none}
.front-product__similar-grid a:hover{border-color:var(--kp-primary);background:var(--kp-primary-soft)}
.front-product__similar-grid span{color:var(--kp-muted);font-size:11px}
.front-product__faq{display:grid;gap:10px;margin:18px 0;padding:18px;border:1px solid #e8ecf1;border-radius:16px;background:#fff}
.front-product__faq h2{margin:0;font-size:18px}
.front-product__faq details{padding:12px;border-radius:12px;background:#f8fafc}
.front-product__faq summary{cursor:pointer;font-weight:700}
.front-product__faq p{margin:8px 0 0;color:var(--kp-muted);font-size:13px;line-height:1.5}
.guided-selling-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:14px 0 16px}
.guided-selling-steps span{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #e8ecf1;border-radius:12px;background:#fff;font-size:12px;color:#333}
.guided-selling-steps strong{display:grid;place-items:center;width:24px;height:24px;border-radius:999px;background:#111;color:#fff;font-size:11px}
.configuration-sales-assistant{display:grid;gap:10px;margin-bottom:18px;padding:16px;border:1px solid #f2d38e;border-radius:16px;background:#fff9eb}
.configuration-sales-assistant div{display:grid;gap:4px}
.configuration-sales-assistant span{color:var(--kp-primary-dark);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.configuration-sales-assistant strong{font-size:16px}
.configuration-sales-assistant p{margin:0;color:#5d4a1f;font-size:13px;line-height:1.5}
.configuration-sales-assistant summary{cursor:pointer;color:#111;font-size:12px;font-weight:600}
.configuration-reassurance-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 18px}
.configuration-reassurance-strip span{padding:10px;border:1px solid #d8eadf;border-radius:12px;background:#f0fdf4;color:#18794e;font-size:11px;font-weight:700;text-align:center}
.product-cross-sell-panel{margin:16px 0;padding:14px;border:1px solid #e8ecf1;border-radius:16px;background:#fff}
.product-cross-sell-panel h2{margin:0 0 10px;font-size:14px}
.product-cross-sell-panel div{display:flex;flex-wrap:wrap;gap:7px}
.product-cross-sell-panel a{padding:7px 9px;border:1px solid #edf0f2;border-radius:999px;color:#111;text-decoration:none;font-size:11px}
.product-cross-sell-panel a:hover{border-color:var(--kp-primary);background:var(--kp-primary-soft)}
.product-purchase{z-index:40}
@media(max-width:1024px){
    .catalog-popular-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .catalog-trust-strip,.configuration-reassurance-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:759px){
    .catalog-hero--commercial{min-height:0}
    .catalog-hero-actions,.catalog-hero-cta{width:100%}
    .catalog-trust-strip,.catalog-popular-family-grid,.front-product__conversion-panel,.front-product__similar-grid,.guided-selling-steps,.configuration-reassurance-strip{grid-template-columns:1fr}
    .product-layout--premium .product-purchase{
        position:sticky!important;
        bottom:0;
        z-index:90;
        margin:0 -12px;
        border-radius:18px 18px 0 0;
        box-shadow:0 -12px 34px rgba(15,23,42,.18);
    }
    .product-layout--premium .product-price-card{border-radius:18px 18px 0 0}
    .product-price-details,.product-key-data,.product-summary--top,.smart-assistant-panel,.product-cross-sell-panel,.product-address-summary,.product-upload-next{display:none}
}
.selectable-list-item.is-delta-patched,
.product-property.is-delta-patched {
    animation: deltaPatchHighlight 650ms ease-out;
}

@keyframes deltaPatchHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 160, 0, 0.28);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(245, 160, 0, 0);
    }
}

/* KOTOPRINT PREMIUM PHASE 1 */
:root{
    --kp-premium-ink:#111827;
    --kp-premium-muted:#64748b;
    --kp-premium-line:#e7edf4;
    --kp-premium-paper:#ffffff;
    --kp-premium-soft:#f8fafc;
    --kp-premium-gold:#f5a000;
    --kp-premium-gold-soft:#fff6df;
    --kp-premium-radius:24px;
    --kp-premium-shadow:0 22px 70px rgba(15,23,42,.10);
    --kp-premium-shadow-soft:0 12px 36px rgba(15,23,42,.07);
}

.portal-body{
    background:
        radial-gradient(circle at 16% 8%, rgba(245,160,0,.10), transparent 28%),
        linear-gradient(180deg,#fff 0%,#f8fafc 42%,#fff 100%);
}

.catalog-home,
.front-catalog,
.product-page{
    color:var(--kp-premium-ink);
}

.catalog-section-heading span,
.front-catalog__eyebrow,
.product-premium-kicker,
.product-category{
    color:#b26f00;
    font-weight:800;
    letter-spacing:.13em;
}

.catalog-hero--commercial,
.front-catalog__hero{
    position:relative;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    border-radius:32px;
    box-shadow:var(--kp-premium-shadow);
}

.catalog-hero--commercial::after,
.front-catalog__hero::after{
    content:"";
    position:absolute;
    inset:auto -120px -160px auto;
    width:380px;
    height:380px;
    border-radius:999px;
    background:rgba(245,160,0,.18);
    filter:blur(6px);
    pointer-events:none;
}

.catalog-hero-cta,
.front-catalog__button,
.product-shopify-cta{
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.catalog-hero-cta:hover,
.front-catalog__button:hover,
.product-shopify-cta:hover:not(:disabled){
    transform:translateY(-1px);
    box-shadow:0 16px 34px rgba(15,23,42,.16);
}

.catalog-trust-strip span,
.configuration-reassurance-strip span{
    backdrop-filter:blur(10px);
}

.catalog-premium-proof,
.catalog-premium-ready,
.catalog-popular-families,
.catalog-families,
.catalog-showcase,
.front-catalog__section,
.front-product__panel,
.front-product__conversion-panel>div,
.front-product__faq,
.front-product__similar,
.product-price-card,
.configuration-sales-assistant{
    border-radius:var(--kp-premium-radius);
}

.catalog-premium-proof,
.catalog-premium-ready,
.catalog-popular-families,
.catalog-families,
.catalog-showcase{
    display:grid;
    gap:18px;
    padding:24px;
    border:1px solid var(--kp-premium-line);
    background:rgba(255,255,255,.82);
    box-shadow:var(--kp-premium-shadow-soft);
}

.catalog-premium-proof-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

.catalog-premium-proof-grid article,
.catalog-premium-ready{
    border:1px solid var(--kp-premium-line);
    background:linear-gradient(180deg,#fff,#fbfdff);
    box-shadow:0 10px 26px rgba(15,23,42,.05);
}

.catalog-premium-proof-grid article{
    display:grid;
    gap:9px;
    padding:20px;
    border-radius:20px;
}

.catalog-premium-proof-grid article>span{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:#111827;
    color:var(--kp-premium-gold);
    font-weight:900;
}

.catalog-premium-proof-grid h3,
.catalog-premium-ready h2{
    margin:0;
    letter-spacing:-.035em;
}

.catalog-premium-proof-grid p,
.catalog-premium-ready p{
    margin:0;
    color:var(--kp-premium-muted);
    line-height:1.6;
}

.catalog-premium-ready{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:24px;
}

.catalog-premium-ready span{
    display:block;
    margin-bottom:6px;
    color:#b26f00;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.12em;
}

.catalog-popular-family-card,
.front-catalog__card{
    border-color:var(--kp-premium-line);
    border-radius:24px;
}

.catalog-popular-family-card:hover,
.front-catalog__card:hover{
    transform:translateY(-3px);
    box-shadow:0 22px 50px rgba(15,23,42,.13);
}

.front-catalog__toolbar{
    position:sticky;
    top:12px;
    z-index:20;
    border-radius:22px;
    backdrop-filter:blur(12px);
}

.front-catalog__toolbar input:focus,
.front-catalog__toolbar select:focus,
.front-configurator__property select:focus,
.front-configurator__property input:focus{
    border-color:var(--kp-premium-gold);
    box-shadow:0 0 0 4px rgba(245,160,0,.14);
    outline:0;
}

.front-catalog__image-fallback--premium{
    background:
        radial-gradient(circle at top right, rgba(245,160,0,.20), transparent 42%),
        linear-gradient(135deg,#fff,#f8fafc);
}

.front-catalog__image-fallback--premium span{
    color:#111827;
    border-color:#f3d58f;
    background:var(--kp-premium-gold-soft);
}

.front-product__summary h1,
.front-catalog__title,
.catalog-hero h1{
    letter-spacing:-.055em;
}

.front-product__spec,
.front-configurator__property,
.product-price-card,
.smart-assistant-panel,
.product-summary,
.product-cross-sell-panel{
    box-shadow:0 10px 28px rgba(15,23,42,.05);
}

.configuration-sales-assistant{
    background:
        radial-gradient(circle at top left, rgba(245,160,0,.16), transparent 38%),
        linear-gradient(180deg,#fffaf0,#fff);
}

.guided-selling-steps span{
    min-height:50px;
}

.product-price-card{
    position:sticky;
    top:18px;
    border:1px solid var(--kp-premium-line);
    box-shadow:0 24px 60px rgba(15,23,42,.13);
}

.product-shopify-cta{
    min-height:56px;
    border-radius:18px;
    font-size:15px;
    font-weight:900;
}

@media(max-width:1024px){
    .catalog-premium-proof-grid{
        grid-template-columns:1fr;
    }

    .catalog-premium-ready{
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(max-width:759px){
    .catalog-home,
    .front-catalog,
    .product-page{
        width:min(100% - 22px,1760px);
    }

    .catalog-premium-proof,
    .catalog-premium-ready,
    .catalog-popular-families,
    .catalog-families,
    .catalog-showcase{
        padding:16px;
        border-radius:20px;
    }

    .front-catalog__toolbar{
        position:static;
    }

    .front-catalog__grid,
    .catalog-product-grid{
        grid-template-columns:1fr!important;
    }

    .product-price-card{
        position:static;
        box-shadow:none;
    }
}

.premium-product-gallery {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 132px;
    max-width: 170px;
}

.premium-product-gallery.is-loading,
.premium-gallery-stage.is-loading {
    position: relative;
}

.premium-product-gallery.is-loading::after,
.premium-gallery-stage.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(110deg, rgba(246,247,249,.1), rgba(255,255,255,.62), rgba(246,247,249,.1));
    animation: premiumGallerySkeleton 700ms ease-out;
    pointer-events: none;
}

.premium-gallery-main {
    display: grid;
    gap: 7px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
}

.premium-gallery-image-frame {
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #eceff2;
    border-radius: 14px;
    background: #fff;
}

.premium-gallery-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .18s ease;
}

.premium-gallery-main img.is-crossfading,
.premium-gallery-stage figure img.is-crossfading {
    opacity: .35;
    filter: blur(2px);
}

.premium-gallery-main:hover img {
    transform: scale(1.025);
}

.premium-gallery-open-label {
    display: block;
    color: #4b5563;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.premium-gallery-main:hover .premium-gallery-open-label,
.premium-gallery-main:focus-visible .premium-gallery-open-label {
    color: #111;
}

.premium-gallery-main:focus-visible {
    outline: 2px solid #f5a000;
    outline-offset: 3px;
    border-radius: 14px;
}

.premium-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
}

.premium-gallery-thumbs button,
.premium-gallery-modal-thumbs button {
    overflow: hidden;
    padding: 0;
    border: 1px solid #e8edf2;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.premium-gallery-thumbs img,
.premium-gallery-modal-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-gallery-modal {
    width: min(1120px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: #fff;
    color: #111;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .24);
}

.premium-gallery-modal::backdrop {
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(4px);
}

.premium-gallery-shell {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
    gap: 14px;
    max-height: calc(100vh - 28px);
    padding: 18px;
}

.premium-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.premium-gallery-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.premium-gallery-header-actions output {
    padding: 6px 9px;
    border: 1px solid #e6ebf0;
    border-radius: 999px;
    color: #4b5563;
    font-size: 12px;
}

.premium-gallery-header span {
    color: #7b8490;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.premium-gallery-header h2 {
    margin: 3px 0 0;
    font-size: 22px;
}

.premium-gallery-header button,
.premium-gallery-stage > button,
.premium-gallery-footer button {
    border: 1px solid #e6ebf0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    cursor: pointer;
}

.premium-gallery-header button {
    width: 38px;
    height: 38px;
    font-size: 24px;
}

.premium-gallery-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.premium-gallery-categories button {
    padding: 7px 10px;
    border: 1px solid #e6ebf0;
    border-radius: 999px;
    background: #fff;
    color: #4b5563;
    font-size: 12px;
    cursor: pointer;
}

.premium-gallery-categories button.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
}

.premium-gallery-categories--inline {
    width: 100%;
    margin-top: 8px;
    max-height: 82px;
    overflow: auto;
}

.premium-gallery-stage {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 12px;
    min-height: 0;
}

.premium-gallery-stage.is-slide-next figure {
    animation: premiumGallerySlideNext 180ms ease-out;
}

.premium-gallery-stage.is-slide-prev figure {
    animation: premiumGallerySlidePrev 180ms ease-out;
}

.premium-gallery-stage > button {
    height: 42px;
    font-size: 28px;
}

.premium-gallery-stage figure {
    display: grid;
    gap: 10px;
    min-height: 0;
    margin: 0;
    text-align: center;
}

.premium-gallery-stage figure img {
    max-width: 100%;
    max-height: 58vh;
    margin: auto;
    border-radius: 16px;
    background: #f6f7f9;
    object-fit: contain;
    transition: opacity .18s ease, filter .18s ease, transform .18s ease;
}

.premium-gallery-stage figcaption {
    color: #5b6470;
    font-size: 13px;
}

.premium-gallery-modal.is-zoomed .premium-gallery-stage figure img {
    max-height: 72vh;
    cursor: zoom-in;
    transform: scale(1.18);
}

.premium-gallery-modal-thumbs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 72px;
    gap: 8px;
    overflow: auto;
    padding-bottom: 4px;
}

.premium-gallery-modal-thumbs button {
    height: 58px;
    opacity: .72;
}

.premium-gallery-modal-thumbs button.is-active {
    border-color: #f5a000;
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(245, 160, 0, .18);
}

.premium-gallery-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.premium-gallery-footer button {
    padding: 8px 12px;
    font-size: 12px;
}

@media(max-width: 760px) {
    .premium-product-gallery {
        max-width: none;
    }

    .product-premium-identity {
        align-items: flex-start;
    }

    .premium-gallery-stage {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
    }

    .premium-gallery-shell {
        padding: 14px;
    }

    .premium-gallery-stage figure img {
        max-height: 52vh;
    }
}

@keyframes premiumGallerySkeleton {
    0% {
        opacity: 0;
        transform: translateX(-12px);
    }
    45% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(12px);
    }
}

@keyframes premiumGallerySlideNext {
    0% {
        opacity: .45;
        transform: translateX(14px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes premiumGallerySlidePrev {
    0% {
        opacity: .45;
        transform: translateX(-14px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Quantités par procédé, informations et branding */
.selectable-list-group__heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.printing-method-info{padding:2px 0;border:0;background:transparent;color:var(--kp-primary-dark);font:inherit;font-size:12px;text-decoration:underline;cursor:pointer}
.printing-method-dialog{width:min(92vw,560px);padding:0;border:0;border-radius:16px;box-shadow:0 24px 80px rgba(15,23,42,.28)}
.printing-method-dialog::backdrop{background:rgba(15,23,42,.55)}
.printing-method-dialog__shell{padding:24px;display:grid;gap:10px}
.printing-method-dialog__shell h2,.printing-method-dialog__shell h3,.printing-method-dialog__shell p{margin:0}
.printing-method-dialog__shell h3{margin-top:8px;font-size:14px}
.printing-method-dialog__close{justify-self:end;margin-top:10px;padding:9px 14px;border:0;border-radius:9px;background:var(--kp-primary);cursor:pointer}
.portal-brand{height:auto;min-height:50px}
.portal-brand img{max-width:100%;object-fit:contain;flex:0 0 auto}


/* CHANGEMENT-008 - En-tête compact, navigation utile et délai horizontal */
.product-premium-header{
    grid-template-columns:minmax(250px,.55fr) minmax(0,1.45fr)!important;
    gap:14px!important;
    align-items:stretch!important;
}
.product-premium-identity{
    min-width:0;
}
.configurator-compact-guide{
    min-width:0;
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    grid-template-areas:
        "intro steps"
        "intro reassurance";
    align-items:center;
    gap:7px 14px;
    padding:8px 10px;
    border:1px solid #eceff3;
    border-radius:14px;
    background:#fafbfc;
}
.configurator-compact-guide__intro{
    grid-area:intro;
    min-width:170px;
}
.configurator-compact-guide__intro>span{
    color:#b26f00;
    font-size:9px;
    font-weight:800;
    letter-spacing:.12em;
}
.configurator-compact-guide__intro h2{
    margin:4px 0 0;
    color:#111827;
    font-size:clamp(16px,1.25vw,21px);
    font-weight:600;
    letter-spacing:-.025em;
    line-height:1.1;
}
.configurator-compact-guide .guided-selling-steps{
    grid-area:steps;
    margin:0;
    gap:6px;
}
.configurator-compact-guide .guided-selling-steps button{
    min-width:0;
    display:flex;
    align-items:center;
    gap:6px;
    padding:6px 8px;
    border:1px solid #e2e7ed;
    border-radius:10px;
    background:#fff;
    color:#374151;
    font:inherit;
    font-size:11px;
    cursor:pointer;
    transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.configurator-compact-guide .guided-selling-steps button:hover,
.configurator-compact-guide .guided-selling-steps button.is-active{
    border-color:var(--kp-primary);
    background:#fff7e6;
    box-shadow:0 0 0 2px rgba(245,160,0,.12);
    transform:translateY(-1px);
}
.configurator-compact-guide .guided-selling-steps button strong{
    width:20px;
    height:20px;
    flex:0 0 20px;
    font-size:10px;
}
.configurator-compact-guide .guided-selling-steps button span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.configurator-compact-guide .configuration-reassurance-strip{
    grid-area:reassurance;
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin:0;
}
.configurator-compact-guide .configuration-reassurance-strip span{
    padding:4px 7px;
    border-radius:999px;
    font-size:9px;
    line-height:1.1;
}
.production-delay-row,
.printing-options-row{
    margin:0 0 12px;
}
.production-delay-row[hidden],
.printing-options-row[hidden]{
    display:none!important;
}
.product-property--delay-row{
    padding:12px!important;
    border-color:#e1e6ec!important;
    background:#fff!important;
}
.product-property--delay-row .product-property-heading{
    margin-bottom:8px;
}
.product-property--delay-row .selectable-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(205px,1fr));
    gap:8px;
}
.product-property--delay-row .selectable-list-item{
    margin:0;
    min-height:68px;
}
.product-property--delay-row .selectable-list-item__select{
    min-height:66px;
    padding-top:9px;
    padding-bottom:9px;
}
@media(min-width:760px){
    .product-property--printing-row .selectable-list{
        display:flex!important;
        flex-flow:row wrap!important;
        align-items:stretch;
        gap:2px;
        overflow:visible;
        padding-bottom:0;
    }
    .product-property--printing-row .selectable-list-item{
        flex:0 0 auto!important;
        width:auto!important;
        min-width:0;
        max-width:none;
        min-height:0;
        margin:0;
    }
    .product-property--printing-row .selectable-list-item__select{
        display:inline-grid!important;
        grid-template-columns:12px max-content!important;
        align-items:center;
        width:auto!important;
        min-width:0;
        min-height:36px;
        padding:5px 7px;
        gap:4px;
        font-size:12px;
    }
    .product-property--printing-row .selectable-list-item__content,
    .product-property--printing-row .selectable-list-item__content strong{
        width:auto!important;
        min-width:0!important;
        white-space:nowrap!important;
        overflow-wrap:normal!important;
        word-break:keep-all!important;
        hyphens:none!important;
        line-height:1.15;
    }
    .product-property--printing-row .selectable-list-item__meta{
        display:none!important;
    }
}
.product-property,
#priceBox{
    transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.product-property.is-configuring,
#priceBox.is-configuring{
    border-color:rgba(245,160,0,.72)!important;
    background:#f7f8fa!important;
    box-shadow:0 0 0 3px rgba(245,160,0,.12),0 12px 26px rgba(15,23,42,.07)!important;
}
.product-property.is-configuring .product-property-heading{
    color:#111827;
}

@media(max-width:1180px){
    .product-premium-header{
        grid-template-columns:minmax(0,1fr)!important;
    }
    .configurator-compact-guide{
        grid-template-columns:minmax(160px,.45fr) minmax(0,1.55fr);
    }
}
@media(max-width:759px){
    .configurator-compact-guide{
        grid-template-columns:minmax(0,1fr);
        grid-template-areas:"intro" "steps" "reassurance";
        padding:9px;
    }
    .configurator-compact-guide .guided-selling-steps{
        display:flex;
        overflow-x:auto;
        padding-bottom:3px;
    }
    .configurator-compact-guide .guided-selling-steps button{
        flex:0 0 auto;
        min-width:104px;
    }
    .configurator-compact-guide .configuration-reassurance-strip{
        flex-wrap:nowrap;
        overflow-x:auto;
        padding-bottom:2px;
    }
    .configurator-compact-guide .configuration-reassurance-strip span{
        flex:0 0 auto;
    }
    .product-property--delay-row .selectable-list{
        display:flex;
        overflow-x:auto;
        scroll-snap-type:x mandatory;
    }
    .product-property--delay-row .selectable-list-item{
        flex:0 0 min(82vw,300px);
        scroll-snap-align:start;
    }
}


/* Catalog branding and customer favorites */
.portal-favorites-count{margin-left:auto;min-width:22px;padding:2px 6px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:11px;text-align:center}
.catalog-favorite-button{border:1px solid #d1d5db;border-radius:12px;background:#fff;color:#111827;padding:9px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.catalog-favorite-button:hover{border-color:#111827}
.catalog-favorite-button .catalog-favorite-icon{font-size:17px;line-height:1}
.catalog-favorite-button.is-favorite{background:#111827;border-color:#111827;color:#fff}
.catalog-favorite-button.is-favorite .catalog-favorite-icon{color:#fff}
.product-premium-copy .catalog-favorite-button{margin-top:12px;width:max-content}
.catalog-favorites-empty{grid-column:1/-1;padding:40px;border:1px dashed #cbd5e1;border-radius:18px;background:#fff;text-align:center;color:#64748b}
.catalog-favorites-empty h2{margin:0 0 8px;color:#111827}
.catalog-favorites-empty a{display:inline-flex;margin-top:12px;border-radius:12px;background:#111827;color:#fff;padding:11px 15px;text-decoration:none;font-weight:800}


/* Fixed application workspace: persistent navigation and purchase panels */
@media (min-width:1181px){
    body.portal-body:has(.cart-page),
    body.portal-body:has(.product-page){overflow:hidden}

    body.portal-body:has(.cart-page) .portal-main,
    body.portal-body:has(.product-page) .portal-main{
        height:100vh;
        overflow-y:auto;
        overscroll-behavior:contain;
        scrollbar-gutter:stable;
    }

    .portal-sidebar{
        height:100vh;
        padding:12px 10px;
        overflow:hidden;
    }
    .portal-brand{height:42px;gap:8px}
    .portal-brand img{width:42px;height:42px}
    .portal-nav{margin-top:9px;gap:8px}
    .portal-nav section{gap:2px}
    .portal-nav h2{margin:0 0 2px 8px;font-size:10px}
    .portal-nav a,.portal-nav button{min-height:31px;padding:5px 8px;font-size:12.5px;border-radius:10px}

    body.portal-body:has(.cart-page) .cart-summary{
        position:fixed;
        z-index:35;
        top:84px;
        right:20px;
        width:min(380px,calc(100vw - 300px));
        max-height:calc(100vh - 104px);
        overflow:auto;
        overscroll-behavior:contain;
    }

    body.portal-body:has(.product-page) .product-purchase{
        position:fixed;
        z-index:35;
        top:82px;
        right:12px;
        width:clamp(300px,20vw,320px);
        max-height:calc(100vh - 94px);
        overflow-y:auto;
        overscroll-behavior:contain;
        scrollbar-width:thin;
    }

    body.portal-body:has(.cart-page) .portal-footer,
    body.portal-body:has(.product-page) .portal-footer{
        padding-right:410px;
    }
}


/* Product workspace: fixed header/right rail, center-only scrolling */
@media (min-width:1181px){
    body.portal-body:has(.product-page) .portal-main{
        height:100vh;
        overflow:hidden;
    }

    body.portal-body:has(.product-page) .product-page{
        box-sizing:border-box;
        height:calc(100vh - 130px);
        margin:0 auto;
        padding:12px 0 36px;
        overflow-y:auto;
        overflow-x:hidden;
        overscroll-behavior:contain;
        scrollbar-gutter:stable;
    }

    body.portal-body:has(.product-page) .product-layout--premium{
        grid-template-columns:minmax(0,1fr) clamp(300px,20vw,320px)!important;
        align-items:start;
    }

    body.portal-body:has(.product-page) .product-purchase{
        position:sticky;
        z-index:35;
        top:0;
        right:auto;
        width:auto;
        max-height:calc(100vh - 154px);
        overflow:hidden;
        align-self:start;
    }

    body.portal-body:has(.product-page) .product-configurator{
        min-width:0;
        overflow:hidden;
    }
}

/* Illustrated option cards: activated only when option data resolves to an image. */
#configProperties .selectable-list:has(> .is-illustrated-option-card) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(132px, 100%), 1fr));
  gap: 10px;
  width: 100%;
}
#configProperties .is-illustrated-option-card { min-width: 0; overflow: hidden; }
#configProperties .is-illustrated-option-card .selectable-list-item__select { display: flex; position: relative; width: 100%; min-height: 176px; padding: 14px 10px 12px; align-items: stretch; }
#configProperties .is-illustrated-option-card .illustrated-option-card__content { flex: 1 1 auto; }
#configProperties .is-illustrated-option-card .selectable-list-item__meta:empty { display: none; }
#configProperties .is-illustrated-option-card:has(.illustrated-option-card__photo) .selectable-list-item__meta {
  position: absolute; top: 10px; left: 10px; right: auto; max-width: calc(100% - 42px);
}
#configProperties .illustrated-option-card__content {
  display: flex; min-width: 0; width: 100%; flex-direction: column;
  align-items: center; justify-content: space-between; gap: 10px; text-align: center;
  white-space: normal; word-break: normal; overflow-wrap: normal;
}
#configProperties .illustrated-option-card__icon {
  display: block; width: 88px; height: 88px; max-width: 100%; flex: 0 0 auto; object-fit: contain;
}
#configProperties .is-illustrated-option-card.is-selected .illustrated-option-card__icon { filter: brightness(0) invert(1); }
#configProperties .is-illustrated-option-card .illustrated-option-card__photo,
#configProperties .is-illustrated-option-card.is-selected .illustrated-option-card__photo {
  width: 100%; height: 112px; border-radius: 6px; background: #f5f3f2; object-fit: contain; filter: none;
}
#configProperties .is-illustrated-option-card .selectable-list-item__indicator { position: absolute; top: 9px; right: 9px; }
@media (max-width: 560px) {
  #configProperties .selectable-list:has(> .is-illustrated-option-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 340px) {
  #configProperties .selectable-list:has(> .is-illustrated-option-card) { grid-template-columns: minmax(0, 1fr); }
}

/* Illustrated format row: API-driven images promote the format above the configurator columns. */
#configProperties > .product-property--illustrated-format {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
}
#configProperties > .product-property--illustrated-format .selectable-list:has(> .is-illustrated-option-card) {
  display: flex;
  flex-flow: row nowrap;
  gap: 10px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  padding-bottom: 4px;
}
#configProperties > .product-property--illustrated-format .is-illustrated-option-card {
  flex: 1 0 132px;
  min-width: 132px;
  max-width: 220px;
  scroll-snap-align: start;
}
.illustrated-option-navigation {
  display: inline-flex;
  gap: 8px;
  margin-left: auto;
}
.illustrated-option-navigation__button {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid #dfe3e8;
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.illustrated-option-navigation__button:disabled { opacity: .35; cursor: default; }
.beachflag-accessories {
  min-width: 0;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  background: #fff;
}
.beachflag-accessories h2 { margin: 0; font-size: 15px; }
.beachflag-accessories__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.beachflag-accessory-card {
  display: flex;
  min-width: 0;
  min-height: 142px;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border: 1px solid #e6e9ed;
  border-radius: 8px;
  text-align: center;
}
.beachflag-accessory-card img { width: 100%; height: 96px; object-fit: contain; background: #f5f3f2; }
.beachflag-accessory-card strong { font-size: 11px; line-height: 1.3; }
@media (max-width: 900px) {
  .beachflag-accessories__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .beachflag-accessory-card { min-width: 142px; scroll-snap-align: start; }
}
@media (min-width: 1181px) {
  #configProperties > .product-property--illustrated-format .selectable-list:has(> .is-illustrated-option-card) {
    display: grid;
    grid-template-columns: repeat(var(--illustrated-option-count), minmax(0, 1fr));
    overflow: visible;
    scrollbar-gutter: auto;
  }
  #configProperties > .product-property--illustrated-format .is-illustrated-option-card {
    min-width: 0;
    max-width: none;
  }
}
/* Dépliants: keep the supplier-style folding labels readable on one line.
   The row intentionally scrolls horizontally when the eleven choices do not fit. */
#configForm[data-sku="folders"] #configProperties > .product-property--illustrated-format .selectable-list:has(> .is-illustrated-option-card) {
  display: flex;
  grid-template-columns: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-gutter: stable;
}
#configForm[data-sku="folders"] #configProperties > .product-property--illustrated-format .is-illustrated-option-card {
  flex: 0 0 184px;
  min-width: 184px;
  max-width: 184px;
}
#configForm[data-sku="folders"] #configProperties .is-illustrated-option-card .selectable-list-item__select {
  min-height: 174px;
  padding: 14px 12px 12px;
}
#configForm[data-sku="folders"] #configProperties .illustrated-option-card__icon {
  width: 112px;
  height: 112px;
}
#configForm[data-sku="folders"] #configProperties .illustrated-option-card__content strong {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
  font-size: 13px;
  line-height: 1.2;
}
@media (max-width: 759px) {
  #configProperties > .product-property--illustrated-format .is-illustrated-option-card {
    flex-basis: 142px;
  }
  #configForm[data-sku="folders"] #configProperties > .product-property--illustrated-format .is-illustrated-option-card {
    flex-basis: 168px;
    min-width: 168px;
    max-width: 168px;
  }
}

/* Product pages stay light on mobile, including devices using a dark OS theme. */
@media (max-width: 1180px) {
  html:has(body.portal-body .product-page),
  body.portal-body:has(.product-page),
  body.portal-body:has(.product-page) .portal-shell,
  body.portal-body:has(.product-page) .portal-main,
  body.portal-body:has(.product-page) .product-page {
    background: #fff !important;
    color-scheme: light;
  }
  body.portal-body:has(.product-page) .product-purchase,
  body.portal-body:has(.product-page) .product-purchase .product-price-card {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  body.portal-body:has(.product-page) .product-summary-list {
    max-height: none !important;
    overflow: visible !important;
  }
  body.portal-body:has(.product-page) .product-summary-row,
  body.portal-body:has(.product-page) .product-cross-sell-panel {
    position: relative;
    flex: none;
  }
}

/* Minimal configurator shell: one-line header and viewport-safe purchase rail. */
@media (min-width: 1181px) {
  .portal-header--white-label {
    grid-template-columns: minmax(280px, 1fr) repeat(6, auto) !important;
  }
  body.portal-body:has(.product-page) .product-purchase {
    height: calc(100vh - 154px);
    max-height: calc(100vh - 154px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
  body.portal-body:has(.product-page) .product-purchase .product-price-card {
    height: auto;
    max-height: none;
    overflow: visible;
  }
}


/* Authenticated drawer navigation
   Guest: sidebar markup is not rendered.
   Authenticated: sidebar stays closed until explicitly opened. */
.portal-shell{display:block!important;min-height:100vh}
.portal-main{width:100%;min-width:0;grid-column:auto!important}
.portal-body--authenticated .portal-header.portal-header--white-label{grid-template-columns:auto minmax(280px,1fr) auto auto auto auto auto auto!important}
.portal-sidebar{
    position:fixed!important;
    inset:0 auto 0 0!important;
    z-index:110!important;
    width:252px!important;
    max-height:none!important;
    overflow-y:auto!important;
    transform:translateX(-105%);
    visibility:hidden;
    opacity:0;
    box-shadow:18px 0 48px rgba(15,23,42,.24);
    transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .2s ease,visibility 0s linear .28s;
}
.portal-sidebar.is-open{
    transform:translateX(0);
    visibility:visible;
    opacity:1;
    transition-delay:0s;
}
.portal-sidebar-overlay{
    position:fixed;
    inset:0;
    z-index:105;
    display:block;
    padding:0;
    border:0;
    background:rgba(15,23,42,.42);
    backdrop-filter:blur(2px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .2s ease,visibility 0s linear .2s;
}
.portal-sidebar-overlay.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transition-delay:0s;
}
.portal-sidebar-open{overflow:hidden}
.portal-menu-toggle{
    width:42px;
    height:42px;
    display:grid;
    place-content:center;
    gap:4px;
    padding:0;
    border:1px solid #E1E7EF;
    border-radius:14px;
    background:#fff;
    color:#111827;
    cursor:pointer;
}
.portal-menu-toggle span{
    width:18px;
    height:2px;
    display:block;
    border-radius:999px;
    background:currentColor;
    transition:transform .2s ease,opacity .2s ease;
}
.portal-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.portal-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.portal-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media(max-width:900px){
    .portal-sidebar{position:fixed!important;width:min(86vw,320px)!important}
    .portal-nav{display:block!important;overflow:visible!important}
    .portal-nav section{min-width:0!important}
    .portal-body--authenticated .portal-header.portal-header--white-label{grid-template-columns:auto 1fr auto auto!important}
    .portal-body--authenticated .portal-header .catalog-search{grid-column:1/-1;order:5}
}
@media(prefers-reduced-motion:reduce){
    .portal-sidebar,.portal-sidebar-overlay,.portal-menu-toggle span{transition:none!important}
}


/* Barre client compacte : visible uniquement pour les comptes connectés. */
.portal-body--authenticated .portal-sidebar{
    width:82px!important;
    transform:translateX(0)!important;
    visibility:visible!important;
    opacity:1!important;
    transition:width .24s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease!important;
}
.portal-body--authenticated .portal-sidebar.is-open{width:252px!important}
.portal-body--authenticated .portal-main{margin-left:82px!important;transition:margin-left .24s cubic-bezier(.2,.8,.2,1)}
.portal-body--authenticated .portal-sidebar.is-open~.portal-main{margin-left:252px!important}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-brand{justify-content:center}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-brand strong,
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav h2,
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav a small{display:none!important}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav a{
    justify-content:center;
    min-height:46px;
    padding-inline:0;
    overflow:hidden;
    font-size:0!important;
}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav a>span{font-size:20px!important}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav section{border-top:1px solid rgba(255,255,255,.12);padding-top:8px}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-brand-logo-coin{
    width:52px!important;height:52px!important;flex-basis:52px
}
@media(max-width:900px){
    .portal-body--authenticated .portal-sidebar{width:76px!important}
    .portal-body--authenticated .portal-sidebar.is-open{width:min(252px,86vw)!important}
    .portal-body--authenticated .portal-main{margin-left:76px!important}
    .portal-body--authenticated .portal-sidebar.is-open~.portal-main{margin-left:76px!important}
}


/* Barre client compacte v2 : pictogrammes intégraux, aucun ascenseur interne. */
.portal-body--authenticated .portal-sidebar{
    box-sizing:border-box!important;
    overflow:hidden!important;
    padding:8px!important;
}
.portal-body--authenticated .portal-brand{height:52px!important}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav{
    width:100%!important;
    margin-top:6px!important;
    gap:4px!important;
    justify-items:center!important;
}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav section{
    width:100%!important;
    min-width:0!important;
    gap:0!important;
    padding-top:3px!important;
}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav a,
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav button{
    box-sizing:border-box!important;
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
    min-height:34px!important;
    margin:0 auto!important;
    padding:4px 0!important;
    gap:0!important;
    justify-content:center!important;
    text-indent:0!important;
}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav a>span,
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav button>span{
    display:inline-grid!important;
    width:26px!important;
    min-width:26px!important;
    max-width:26px!important;
    margin:0!important;
    place-items:center!important;
    overflow:visible!important;
    font-size:19px!important;
    line-height:1!important;
}
.portal-body--authenticated .portal-sidebar.is-open{
    overflow:hidden!important;
    padding:8px 10px!important;
}
.portal-body--authenticated .portal-sidebar.is-open .portal-brand{height:50px!important}
.portal-body--authenticated .portal-sidebar.is-open .portal-nav{margin-top:5px!important;gap:5px!important}
.portal-body--authenticated .portal-sidebar.is-open .portal-nav section{gap:0!important}
.portal-body--authenticated .portal-sidebar.is-open .portal-nav h2{margin:1px 0 1px 8px!important;font-size:9px!important;line-height:1.2!important}
.portal-body--authenticated .portal-sidebar.is-open .portal-nav a,
.portal-body--authenticated .portal-sidebar.is-open .portal-nav button{
    min-height:27px!important;
    padding:3px 7px!important;
    gap:7px!important;
    font-size:12px!important;
    line-height:1.15!important;
}
.portal-body--authenticated .portal-sidebar.is-open .portal-nav a>span,
.portal-body--authenticated .portal-sidebar.is-open .portal-nav button>span{
    width:20px!important;
    min-width:20px!important;
    font-size:15px!important;
}


/* Authenticated sidebar v3 — authoritative responsive layout.
   The rail participates in viewport width; opening it never overlays or blurs content. */
.portal-body--authenticated{
    --portal-sidebar-width:64px;
    overflow-x:hidden!important;
}
.portal-body--authenticated.portal-sidebar-open{
    overflow-x:hidden!important;
    overflow-y:auto!important;
}
.portal-body--authenticated .portal-shell{
    width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
}
.portal-body--authenticated .portal-sidebar{
    width:var(--portal-sidebar-width)!important;
    height:100dvh!important;
    max-height:100dvh!important;
    padding:5px 6px!important;
    overflow:hidden!important;
    box-shadow:none!important;
}
.portal-body--authenticated:has(.portal-sidebar.is-open){
    --portal-sidebar-width:224px;
}
.portal-body--authenticated .portal-sidebar.is-open{
    width:var(--portal-sidebar-width)!important;
    padding:5px 7px!important;
    overflow:hidden!important;
    box-shadow:none!important;
}
.portal-body--authenticated .portal-main,
.portal-body--authenticated .portal-sidebar.is-open~.portal-main{
    box-sizing:border-box!important;
    width:calc(100vw - var(--portal-sidebar-width))!important;
    max-width:calc(100vw - var(--portal-sidebar-width))!important;
    min-width:0!important;
    margin-left:var(--portal-sidebar-width)!important;
    overflow-x:hidden!important;
    filter:none!important;
    opacity:1!important;
    transition:width .24s cubic-bezier(.2,.8,.2,1),max-width .24s cubic-bezier(.2,.8,.2,1),margin-left .24s cubic-bezier(.2,.8,.2,1)!important;
}
.portal-body--authenticated .portal-sidebar-overlay,
.portal-body--authenticated .portal-sidebar-overlay.is-open{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    backdrop-filter:none!important;
    background:transparent!important;
}
.portal-body--authenticated .portal-brand{
    height:45px!important;
    min-height:45px!important;
}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-brand-logo-coin{
    width:43px!important;
    height:43px!important;
    flex-basis:43px!important;
}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav{
    display:grid!important;
    width:100%!important;
    margin-top:3px!important;
    gap:1px!important;
    overflow:hidden!important;
}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav section{
    display:grid!important;
    width:100%!important;
    gap:0!important;
    padding:2px 0!important;
}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav a,
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav button{
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:29px!important;
    min-height:29px!important;
    padding:2px 0!important;
    overflow:visible!important;
}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav a>span,
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav button>span{
    width:24px!important;
    min-width:24px!important;
    max-width:24px!important;
    font-size:17px!important;
}
.portal-body--authenticated .portal-sidebar.is-open .portal-nav{
    display:grid!important;
    margin-top:2px!important;
    gap:2px!important;
    overflow:hidden!important;
}
.portal-body--authenticated .portal-sidebar.is-open .portal-nav section{
    display:grid!important;
    gap:0!important;
    padding-top:1px!important;
}
.portal-body--authenticated .portal-sidebar.is-open .portal-nav h2{
    margin:0 0 1px 7px!important;
    font-size:8.5px!important;
    line-height:1.1!important;
}
.portal-body--authenticated .portal-sidebar.is-open .portal-nav a,
.portal-body--authenticated .portal-sidebar.is-open .portal-nav button{
    min-height:25px!important;
    height:25px!important;
    padding:2px 6px!important;
    gap:6px!important;
    font-size:11.5px!important;
    line-height:1!important;
}
.portal-body--authenticated .portal-sidebar.is-open .portal-nav a>span,
.portal-body--authenticated .portal-sidebar.is-open .portal-nav button>span{
    width:19px!important;
    min-width:19px!important;
    font-size:14px!important;
}
.portal-body--authenticated .portal-main>*{
    max-width:100%!important;
    min-width:0!important;
}
.portal-body--authenticated .product-page,
.portal-body--authenticated .product-layout,
.portal-body--authenticated .product-configurator,
.portal-body--authenticated #configProperties{
    min-width:0!important;
    max-width:100%!important;
}
@media(max-width:900px){
    .portal-body--authenticated{--portal-sidebar-width:58px}
    .portal-body--authenticated:has(.portal-sidebar.is-open){--portal-sidebar-width:min(210px,56vw)}
    .portal-body--authenticated .portal-main,
    .portal-body--authenticated .portal-sidebar.is-open~.portal-main{
        width:calc(100vw - var(--portal-sidebar-width))!important;
        max-width:calc(100vw - var(--portal-sidebar-width))!important;
        margin-left:var(--portal-sidebar-width)!important;
    }
    .portal-body--authenticated .portal-header.portal-header--white-label{
        grid-template-columns:auto minmax(0,1fr) auto!important;
        padding-inline:10px!important;
        gap:7px!important;
    }
    .portal-body--authenticated .portal-header .catalog-search{
        grid-column:auto!important;
        order:initial!important;
        min-width:0!important;
    }
    .portal-body--authenticated .topbar-account-button span:last-child,
    .portal-body--authenticated .topbar-logout-form{
        display:none!important;
    }
}


/* Persistent sidebar chevron: the only control allowed to change sidebar state. */
.portal-body--authenticated .portal-sidebar{padding-top:52px!important}
.portal-sidebar-toggle{position:absolute;z-index:3;top:8px;left:50%;width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;transform:translateX(-50%)}
.portal-sidebar-toggle span{display:block;font-size:31px;font-weight:300;line-height:1;color:var(--merchant-primary,#F5A000);transform:rotate(0deg);transition:transform .28s cubic-bezier(.2,.8,.2,1)}
.portal-sidebar-toggle[aria-expanded="true"] span{transform:rotate(180deg)}
.portal-body--authenticated .portal-sidebar.is-open .portal-sidebar-toggle{left:18px;transform:none}
.portal-body--authenticated .portal-sidebar .portal-brand{position:absolute;top:5px;left:50%;width:auto;height:44px!important;min-height:44px!important;transform:translateX(-50%)}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-brand{top:48px}
.portal-body--authenticated .portal-sidebar:not(.is-open){padding-top:94px!important}
.portal-body--authenticated .portal-sidebar.is-open{padding-top:52px!important}
.portal-body--authenticated .portal-sidebar.is-open .portal-brand{max-width:155px}
.portal-body--authenticated .portal-sidebar.is-open .portal-brand strong{white-space:nowrap}
.portal-body--authenticated .portal-header [data-sidebar-toggle]{display:none!important}
@media(max-height:760px){
.portal-body--authenticated .portal-sidebar:not(.is-open){padding-top:82px!important}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-brand{top:41px}
.portal-sidebar-toggle{top:4px;width:34px;height:34px}
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav a,.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-nav button{height:26px!important;min-height:26px!important}
.portal-body--authenticated .portal-sidebar.is-open .portal-nav a,.portal-body--authenticated .portal-sidebar.is-open .portal-nav button{height:23px!important;min-height:23px!important}
}
@media(prefers-reduced-motion:reduce){.portal-sidebar-toggle span{transition:none!important}}

/* Sidebar header correction: two stable rows prevent logo/toggle overlap. */
.portal-body--authenticated .portal-sidebar,
.portal-body--authenticated .portal-sidebar.is-open{
    padding-top:96px!important;
}
.portal-body--authenticated .portal-sidebar .portal-sidebar-toggle,
.portal-body--authenticated .portal-sidebar.is-open .portal-sidebar-toggle{
    top:6px!important;
    left:50%!important;
    transform:translateX(-50%)!important;
}
.portal-body--authenticated .portal-sidebar .portal-brand,
.portal-body--authenticated .portal-sidebar:not(.is-open) .portal-brand,
.portal-body--authenticated .portal-sidebar.is-open .portal-brand{
    top:48px!important;
    left:50%!important;
    width:calc(100% - 12px)!important;
    height:44px!important;
    min-height:44px!important;
    transform:translateX(-50%)!important;
    justify-content:center!important;
}
.portal-body--authenticated .portal-sidebar .portal-brand-logo-coin{
    flex-shrink:0!important;
}
.portal-body--authenticated .portal-sidebar.is-open .portal-brand{
    max-width:none!important;
}
@media(max-height:760px){
    .portal-body--authenticated .portal-sidebar,
    .portal-body--authenticated .portal-sidebar:not(.is-open),
    .portal-body--authenticated .portal-sidebar.is-open{
        padding-top:88px!important;
    }
    .portal-body--authenticated .portal-sidebar .portal-brand,
    .portal-body--authenticated .portal-sidebar:not(.is-open) .portal-brand,
    .portal-body--authenticated .portal-sidebar.is-open .portal-brand{
        top:40px!important;
    }
}


/* CHANGE 048 — customer portal personalization */
.account-theme-options{border:0;padding:0;margin:0;display:grid;gap:12px}
.account-theme-options legend{font-weight:700;margin-bottom:10px}
.account-theme-option{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #dfe5ec;border-radius:12px;cursor:pointer;background:#fff}
.account-theme-option:has(input:checked){border-color:var(--merchant-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--merchant-primary) 18%,transparent)}
.account-theme-swatches{display:flex;overflow:hidden;border-radius:8px}
.account-theme-swatches i{display:block;width:26px;height:26px}
.account-branding-preview{--preview-primary:#2563EB;--preview-secondary:#0F172A;--preview-accent:#38BDF8;min-height:220px;display:grid;grid-template-columns:150px 1fr;overflow:hidden;border:1px solid #dfe5ec;border-radius:16px;background:#f8fafc}
.account-branding-preview-sidebar{display:flex;flex-direction:column;gap:14px;padding:20px;background:var(--preview-secondary);color:#fff}
.account-branding-preview-sidebar img{width:92px;height:46px;object-fit:contain;object-position:left center}
.account-branding-preview-sidebar i{display:block;width:80%;height:8px;border-radius:999px;background:rgba(255,255,255,.28)}
.account-branding-preview-content{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:28px}
.account-branding-preview-content strong{font-size:1.1rem;color:var(--preview-secondary)}
.account-branding-preview-content span{display:block;width:90%;height:12px;border-radius:999px;background:#dfe5ec}
.account-branding-preview-content span+span{width:66%}
.account-branding-preview-content button{border:0;border-radius:10px;padding:10px 14px;background:var(--preview-primary);color:#fff;font-weight:700}
@media (max-width:640px){.account-branding-preview{grid-template-columns:110px 1fr}.account-branding-preview-content{padding:20px}}


/* FIX CHANGE 048 — keep KOTOPRINT visible for signed-out visitors */
.portal-guest-brand{width:52px;height:52px;display:grid;place-items:center;flex:0 0 auto;text-decoration:none}
.portal-guest-brand img{display:block;width:48px;height:48px;object-fit:contain}
.portal-body--guest .portal-header.portal-header--white-label{grid-template-columns:auto minmax(280px,1fr) auto auto!important}
@media(max-width:760px){
    .portal-guest-brand{width:44px;height:44px}
    .portal-guest-brand img{width:42px;height:42px}
    .portal-body--guest .portal-header.portal-header--white-label{grid-template-columns:auto 1fr auto!important}
    .portal-body--guest .portal-header .catalog-search{grid-column:1/-1}
}


/* CHANGE 052 — final desktop purchase rail override */
@media (min-width:1181px){
    body.portal-body:has(.product-page) .product-layout--premium{
        grid-template-columns:minmax(0,1fr)!important;
        padding-right:376px;
    }
    body.portal-body:has(.product-page) .product-purchase{
        position:fixed!important;
        top:96px!important;
        right:16px!important;
        bottom:auto!important;
        width:360px!important;
        height:auto!important;
        max-height:none!important;
        overflow:visible!important;
        overscroll-behavior:auto!important;
    }
    body.portal-body:has(.product-page) .product-price-card{
        position:static!important;
        width:100%!important;
        height:auto!important;
        max-height:none!important;
        overflow:visible!important;
    }
}


/* General desktop workspace: the complete left product page scrolls.
   The purchase rail stays fixed, complete and scrollbar-free. */
@media (min-width:1181px) {
    body.portal-body:has(.product-page) .portal-main {
        height:100vh;
        overflow:hidden;
    }

    body.portal-body:has(.product-page) .product-page {
        width:calc(100% - 356px);
        height:calc(100vh - 73px);
        margin:0 344px 0 12px;
        padding:12px 10px 36px 0;
        overflow-x:hidden;
        overflow-y:auto;
        overscroll-behavior:contain;
        scrollbar-gutter:stable;
        scrollbar-width:thin;
    }

    body.portal-body:has(.product-page) .product-layout--premium {
        grid-template-columns:minmax(0,1fr)!important;
        min-height:0;
        padding-right:0;
        overflow:visible;
    }

    body.portal-body:has(.product-page) .product-configurator {
        width:100%;
        height:auto;
        max-height:none;
        padding-right:0;
        overflow:visible;
    }

    body.portal-body:has(.product-page) .product-purchase {
        position:fixed!important;
        z-index:35;
        top:88px!important;
        right:12px!important;
        bottom:8px;
        width:clamp(300px,20vw,320px)!important;
        height:auto!important;
        max-height:none!important;
        overflow:hidden!important;
    }

    body.portal-body:has(.product-page) .product-purchase .product-price-card {
        position:static;
        display:flex;
        height:100%;
        max-height:none;
        padding:clamp(9px,1.3vh,15px);
        overflow:hidden;
    }

    body.portal-body:has(.product-page) .product-summary {
        flex:0 1 auto;
        padding:clamp(6px,1vh,11px) 0;
    }

    body.portal-body:has(.product-page) .product-summary-list {
        min-height:0;
        max-height:clamp(150px,31vh,310px);
        overflow-x:hidden;
        overflow-y:auto;
        scrollbar-gutter:stable;
    }

    body.portal-body:has(.product-page) .product-summary-row {
        min-height:34px;
        flex:none;
    }

    body.portal-body:has(.product-page) .product-cross-sell-panel,
    body.portal-body:has(.product-page) .product-delivery-info,
    body.portal-body:has(.product-page) .product-template-preview-button,
    body.portal-body:has(.product-page) .product-primary-action {
        flex:0 0 auto;
    }

    body.portal-body:has(.product-page) .product-cross-sell-panel {
        margin:clamp(5px,.8vh,10px) 0;
        padding:clamp(6px,.9vh,10px);
    }

    body.portal-body:has(.product-page) .product-cross-sell-panel h2 {
        margin-bottom:5px;
    }

    body.portal-body:has(.product-page) .product-cross-sell-panel div {
        gap:4px;
    }

    body.portal-body:has(.product-page) .product-cross-sell-panel a {
        padding:4px 7px;
        font-size:10px;
    }

    body.portal-body:has(.product-page) .product-delivery-info {
        margin-top:clamp(4px,.7vh,8px);
        padding:clamp(6px,.9vh,9px);
    }

    body.portal-body:has(.product-page) .product-template-preview-button {
        margin:clamp(4px,.7vh,8px) 0 2px;
        padding:clamp(7px,1vh,11px) 12px;
    }

    body.portal-body:has(.product-page) .product-shopify-cta {
        min-height:clamp(40px,5.5vh,50px);
    }

    body.portal-body:has(.product-page) .product-config-status {
        min-height:0;
        margin-top:4px;
        line-height:1.2;
    }
}

@media (min-width:1181px) and (max-height:950px) {
    body.portal-body:has(.product-page) .product-purchase .product-price-card {
        padding:7px 10px;
        font-size:13px;
    }

    body.portal-body:has(.product-page) .product-price-heading,
    body.portal-body:has(.product-page) .product-price-details,
    body.portal-body:has(.product-page) .product-key-data {
        padding-top:5px;
        padding-bottom:5px;
        gap:3px;
    }

    body.portal-body:has(.product-page) .product-price-heading strong {
        font-size:28px;
    }

    body.portal-body:has(.product-page) .product-summary {
        padding:4px 0;
    }

    body.portal-body:has(.product-page) .product-summary h2 {
        margin-bottom:3px;
        font-size:13px;
    }

    body.portal-body:has(.product-page) .product-summary-row {
        padding:3px 0;
    }

    body.portal-body:has(.product-page) .product-summary-icon {
        width:24px;
        height:24px;
    }

    body.portal-body:has(.product-page) .product-cross-sell-panel {
        margin:4px 0;
        padding:6px;
    }

    body.portal-body:has(.product-page) .product-cross-sell-panel h2 {
        margin-bottom:4px;
        font-size:12px;
    }

    body.portal-body:has(.product-page) .product-cross-sell-panel a {
        padding:3px 6px;
        font-size:9px;
    }

    body.portal-body:has(.product-page) .product-delivery-info {
        margin-top:3px;
        padding:5px 7px;
    }

    body.portal-body:has(.product-page) .product-template-preview-button {
        margin:4px 0 1px;
        padding:7px 10px;
    }

    body.portal-body:has(.product-page) .product-shopify-cta {
        min-height:40px;
    }

    body.portal-body:has(.product-page) .product-config-status {
        margin-top:3px;
        font-size:9px;
    }
}


/* Cart quote request — shared guest and authenticated cart component */
.cart-quote-request{
    margin-top:12px;
    border:1px solid var(--kp-border);
    border-radius:12px;
    background:#fff;
}
.cart-quote-request summary{
    padding:12px 14px;
    color:#111;
    font-size:13px;
    font-weight:500;
    cursor:pointer;
}
.cart-quote-request[open] summary{
    border-bottom:1px solid var(--kp-border);
}
.cart-quote-request form{
    display:grid;
    gap:9px;
    padding:12px 14px 14px;
}
.cart-quote-request label{
    display:grid;
    gap:4px;
    color:var(--kp-muted);
    font-size:11px;
}
.cart-quote-request input{
    width:100%;
    min-width:0;
    height:38px;
    padding:0 10px;
    border:1px solid var(--kp-border);
    border-radius:9px;
    background:#fff;
    color:#111;
}
.cart-quote-request input:focus{
    border-color:var(--kp-primary);
    outline:2px solid rgba(245,160,0,.15);
}
.cart-quote-request small{
    color:var(--kp-muted);
    font-size:10px;
    line-height:1.35;
}


/* CHANGE 058 — one-line guest actions and one canonical responsive purchase rail */
@media (min-width:761px) {
    .portal-body--guest .portal-header.portal-header--white-label {
        grid-template-columns:auto minmax(280px,1fr) auto auto auto!important;
        align-items:center;
    }
}

@media (max-width:760px) {
    .portal-body--guest .portal-header.portal-header--white-label {
        grid-template-columns:auto minmax(0,1fr) auto auto!important;
        align-items:center;
    }

    .portal-body--guest .portal-header .catalog-search {
        grid-column:1/-1!important;
        grid-row:2;
    }
}

/* This shared rule applies to every product page, signed in or signed out. */
@media (min-width:1181px) {
    body.portal-body:has(.product-page) {
        --product-rail-top:88px;
        --product-rail-bottom:8px;
    }

    body.portal-body:has(.product-page) .product-purchase {
        top:var(--product-rail-top)!important;
        bottom:var(--product-rail-bottom)!important;
        height:calc(100dvh - var(--product-rail-top) - var(--product-rail-bottom))!important;
        max-height:calc(100dvh - var(--product-rail-top) - var(--product-rail-bottom))!important;
        box-sizing:border-box;
    }

    body.portal-body:has(.product-page) .product-purchase .product-price-card {
        width:100%!important;
        height:100%!important;
        max-height:100%!important;
        box-sizing:border-box;
    }
}


/* CHANGE 059 — canonical cart workspace: left-only scrolling and fully visible fixed summary */
.cart-main-guidance{
    display:grid;
    gap:14px;
    padding:20px;
    border:1px solid var(--kp-border);
    border-radius:var(--kp-radius);
    background:#fff;
}
.cart-main-guidance .cart-next-note{
    margin:0;
    text-align:left;
}
.cart-main-guidance .cart-checkout-preview{
    margin:0;
}
.cart-main-guidance .cart-secure-note{
    justify-content:flex-start;
    text-align:left;
}

@media (min-width:1181px){
    body.portal-body:has(.cart-page){
        --cart-rail-width:380px;
        --cart-workspace-gap:20px;
        overflow:hidden!important;
    }

    body.portal-body:has(.cart-page) .portal-main{
        height:100dvh!important;
        overflow:hidden!important;
    }

    body.portal-body:has(.cart-page) .cart-page{
        box-sizing:border-box;
        width:calc(100% - var(--cart-rail-width) - var(--cart-workspace-gap))!important;
        max-width:none!important;
        height:calc(100dvh - 88px);
        margin:0!important;
        padding:14px 14px 40px 20px;
        overflow-y:auto!important;
        overflow-x:hidden!important;
        overscroll-behavior:contain;
        scrollbar-gutter:stable;
    }

    body.portal-body:has(.cart-page) .cart-layout{
        display:block!important;
    }

    body.portal-body:has(.cart-page) .cart-items{
        width:100%;
        min-width:0;
    }

    body.portal-body:has(.cart-page) .cart-summary{
        position:fixed!important;
        z-index:35;
        top:104px!important;
        right:12px!important;
        bottom:8px!important;
        box-sizing:border-box;
        width:var(--cart-rail-width)!important;
        height:calc(100dvh - 112px)!important;
        max-height:none!important;
        padding:22px!important;
        overflow:hidden!important;
        overscroll-behavior:none!important;
    }

    body.portal-body:has(.cart-page) .cart-summary h2{
        margin-bottom:14px;
    }

    body.portal-body:has(.cart-page) .cart-summary-count{
        padding-bottom:14px;
    }

    body.portal-body:has(.cart-page) .cart-summary-prices{
        margin-bottom:14px;
        padding:14px 0;
    }

    body.portal-body:has(.cart-page) .cart-next-step{
        min-height:54px;
    }

    body.portal-body:has(.cart-page) .portal-footer{
        display:none;
    }
}

@media (max-width:1180px){
    .cart-main-guidance{
        padding:16px;
    }
}


/* CHANGE 060 — centered quote modal and persistent saved-cart confirmation */
.cart-quote-open{
    width:100%;
    margin-top:12px;
}
.cart-save-later [data-save-cart-button]{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}
.cart-save-later [data-save-cart-button].is-saved{
    border-color:#16a34a;
    background:#f0fdf4;
    color:#15803d;
}
.cart-save-check{
    display:inline-grid;
    place-items:center;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#16a34a;
    color:#fff;
    font-weight:900;
}
.cart-save-check[hidden]{
    display:none;
}
.cart-quote-modal{
    position:fixed;
    inset:0;
    z-index:1000;
    padding:24px;
    display:grid;
    place-items:center;
    background:rgba(15,15,15,.58);
    backdrop-filter:blur(3px);
}
.cart-quote-modal[hidden]{
    display:none;
}
body.cart-quote-open{
    overflow:hidden!important;
}
.cart-quote-dialog{
    position:relative;
    box-sizing:border-box;
    width:min(620px,100%);
    max-height:calc(100dvh - 48px);
    padding:30px;
    overflow-y:auto;
    border:1px solid var(--kp-border);
    border-radius:22px;
    background:#fff;
    box-shadow:0 28px 80px rgba(0,0,0,.28);
}
.cart-quote-dialog h2{
    margin:5px 42px 8px 0;
    font-size:clamp(25px,4vw,34px);
    line-height:1.12;
}
.cart-quote-dialog > p{
    margin:0 0 20px;
    color:var(--kp-muted);
    line-height:1.5;
}
.cart-quote-close{
    position:absolute;
    top:16px;
    right:16px;
    width:38px;
    height:38px;
    border:1px solid var(--kp-border);
    border-radius:50%;
    background:#fff;
    color:#111;
    font-size:25px;
    line-height:1;
    cursor:pointer;
}
.cart-quote-form{
    display:grid;
    gap:15px;
}
.cart-quote-form label{
    display:grid;
    gap:6px;
    color:#111;
    font-size:14px;
    font-weight:600;
}
.cart-quote-form label small{
    color:var(--kp-muted);
    font-weight:400;
}
.cart-quote-form input{
    box-sizing:border-box;
    width:100%;
    min-width:0;
    height:46px;
    padding:0 13px;
    border:1px solid #cfd7e3;
    border-radius:11px;
    background:#fff;
    color:#111;
    font:inherit;
}
.cart-quote-form input:focus{
    border-color:var(--kp-primary);
    outline:3px solid rgba(245,160,0,.16);
}
.cart-quote-name-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}
.cart-quote-actions{
    display:grid;
    grid-template-columns:1fr 1.35fr;
    gap:12px;
    margin-top:5px;
}
.cart-quote-honeypot{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
}
.cart-quote-error{
    padding:10px 12px;
    border-radius:10px;
    background:#fff1f1;
    color:#b42318!important;
}

@media(max-width:560px){
    .cart-quote-modal{
        padding:12px;
        align-items:end;
    }
    .cart-quote-dialog{
        width:100%;
        max-height:calc(100dvh - 24px);
        padding:24px 18px 18px;
        border-radius:20px;
    }
    .cart-quote-name-grid,
    .cart-quote-actions{
        grid-template-columns:1fr;
    }
}


/* Global cart preview: a single responsive drawer used from every page. */
body.quick-cart-open{overflow:hidden}
.quick-cart-backdrop{position:fixed;inset:0;z-index:9990;background:rgba(17,24,39,.52);backdrop-filter:blur(2px)}
.quick-cart{position:fixed;z-index:9991;top:0;right:0;width:min(430px,100vw);height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#fff;box-shadow:-20px 0 60px rgba(15,23,42,.2)}
.quick-cart__header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid var(--kp-border)}
.quick-cart__header h2{margin:0;font-size:1.7rem}
.quick-cart__header button{width:42px;height:42px;border:0;border-radius:50%;background:#f5f7fa;font-size:1.8rem;cursor:pointer}
.quick-cart__items{overflow-y:auto;padding:18px 22px}
.quick-cart__item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;padding:15px 0;border-bottom:1px solid var(--kp-border)}
.quick-cart__item img{width:64px;height:64px;border-radius:10px;object-fit:contain;background:#f7f7f7}
.quick-cart__item div{display:grid;gap:5px;min-width:0}
.quick-cart__item strong{font-size:1rem}
.quick-cart__item span{color:var(--kp-muted);font-size:.86rem}
.quick-cart__item small{font-size:.95rem;font-weight:750}
.quick-cart__empty{color:var(--kp-muted);text-align:center;margin:40px 0}
.quick-cart__footer{display:grid;gap:10px;padding:20px 22px 24px;border-top:1px solid var(--kp-border);background:#fff}
.quick-cart__footer>div{display:flex;align-items:end;justify-content:space-between;margin-bottom:6px}
.quick-cart__footer>div strong{font-size:1.65rem}
.quick-cart__quote,.quick-cart__view{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:12px;font-weight:800;text-decoration:none}
.quick-cart__quote{border:1px solid #d8dde6;color:#111;background:#fff}
.quick-cart__view{background:var(--kp-primary);color:#111}
.cart-fulfilment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.cart-fulfilment-card{display:grid;align-content:start;gap:5px;min-width:0;padding:14px;border:1px solid var(--kp-border);border-radius:13px;background:#fff}
.cart-fulfilment-card strong{font-size:.9rem}
.cart-fulfilment-card span,.cart-fulfilment-card small{color:#4b5563;line-height:1.35;overflow-wrap:anywhere}
.cart-fulfilment-card--sender{grid-template-columns:minmax(0,1fr) auto}
.cart-fulfilment-card--sender img{width:46px;height:46px;object-fit:contain}
.cart-summary-address,.cart-summary-products{display:grid;gap:6px;padding:14px 0;border-bottom:1px solid var(--kp-border)}
.cart-summary-address strong,.cart-summary-products>strong{font-size:.92rem}
.cart-summary-address span,.cart-summary-address small{color:#4b5563;line-height:1.35}
.cart-summary-products ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.cart-summary-products li{display:flex;justify-content:space-between;gap:12px;font-size:.86rem}
@media(max-width:900px){
 .quick-cart{width:min(390px,100vw)}
 .cart-fulfilment-grid{grid-template-columns:1fr}
}


/* Global cart drawer: smooth motion and readable product cards */
.quick-cart-backdrop{
    opacity:0;
    visibility:hidden;
    transition:opacity .28s ease,visibility 0s linear .28s;
}
.quick-cart-backdrop.is-open{
    opacity:1;
    visibility:visible;
    transition-delay:0s;
}
.quick-cart{
    transform:translate3d(100%,0,0);
    visibility:hidden;
    transition:transform .32s cubic-bezier(.22,.61,.36,1),visibility 0s linear .32s;
    will-change:transform;
}
.quick-cart.is-open{
    transform:translate3d(0,0,0);
    visibility:visible;
    transition-delay:0s;
}
.quick-cart__items{
    display:grid;
    align-content:start;
    gap:12px;
    padding:16px;
}
.quick-cart__item{
    display:grid;
    grid-template-columns:56px minmax(0,1fr);
    gap:12px;
    min-width:0;
    padding:14px;
    border:1px solid var(--kp-border);
    border-radius:14px;
    background:#fff;
    box-shadow:0 3px 12px rgba(15,23,42,.04);
}
.quick-cart__item--no-image{
    grid-template-columns:minmax(0,1fr);
}
.quick-cart__item-image{
    width:56px!important;
    height:56px!important;
    border-radius:10px;
    object-fit:contain;
    background:#f6f7f8;
}
.quick-cart__item-content{
    display:grid!important;
    grid-template-columns:minmax(0,1fr);
    gap:5px!important;
    min-width:0;
}
.quick-cart__item-name{
    color:#111827;
    font-size:1rem!important;
    line-height:1.25;
    overflow-wrap:normal;
    word-break:normal;
}
.quick-cart__item-summary{
    display:flex;
    flex-wrap:wrap;
    gap:3px 6px;
    color:#374151!important;
    font-size:.86rem!important;
    line-height:1.35;
    overflow-wrap:normal;
    word-break:normal;
}
.quick-cart__details{
    display:grid!important;
    gap:13px!important;
    margin:10px 0 3px;
}
.quick-cart__details[hidden]{
    display:none!important;
}
.quick-cart__details-section{
    display:grid!important;
    gap:5px!important;
    min-width:0;
}
.quick-cart__details-section h3{
    margin:0;
    color:#7d9b72;
    font-size:.84rem;
    font-weight:750;
    line-height:1.3;
}
.quick-cart__details-section dl{
    display:grid;
    gap:5px;
    margin:0;
}
.quick-cart__details-section dl>div{
    display:grid!important;
    grid-template-columns:minmax(90px,.85fr) minmax(0,1.15fr);
    gap:8px!important;
    align-items:start;
}
.quick-cart__details-section dt{
    color:#667085;
    font-size:.74rem;
    font-weight:650;
    line-height:1.3;
    overflow-wrap:normal;
    word-break:normal;
}
.quick-cart__details-section dd,
.quick-cart__details-section p{
    margin:0;
    color:#111827;
    font-size:.8rem;
    line-height:1.35;
    overflow-wrap:normal;
    word-break:normal;
}
.quick-cart__details-section p{
    color:#374151;
}
.quick-cart__item-bottom{
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    gap:12px!important;
    min-width:0;
    margin-top:4px;
    padding-top:9px;
    border-top:1px dashed #cfd5dd;
}
.quick-cart__details-toggle{
    display:inline-flex;
    align-items:center;
    gap:5px;
    min-width:0;
    padding:0;
    border:0;
    background:transparent;
    color:#3f8ca1;
    font:inherit;
    font-size:.78rem;
    font-weight:800;
    white-space:nowrap;
    cursor:pointer;
}
.quick-cart__details-toggle>span:last-child{
    transition:transform .2s ease;
}
.quick-cart__details-toggle[aria-expanded="true"]>span:last-child{
    transform:rotate(180deg);
}
.quick-cart__item-bottom small{
    margin-left:auto;
    color:#111827;
    font-size:.88rem;
    font-weight:800;
    white-space:nowrap;
}
@media(max-width:480px){
    .quick-cart__header{
        padding:18px;
    }
    .quick-cart__items{
        padding:12px;
    }
    .quick-cart__item{
        grid-template-columns:44px minmax(0,1fr);
        gap:10px;
        padding:12px;
    }
    .quick-cart__item--no-image{
        grid-template-columns:minmax(0,1fr);
    }
    .quick-cart__item-image{
        width:44px!important;
        height:44px!important;
    }
    .quick-cart__details-section dl>div{
        grid-template-columns:minmax(82px,.8fr) minmax(0,1.2fr);
    }
}
@media(max-width:350px){
    .quick-cart__details-section dl>div{
        grid-template-columns:1fr;
        gap:2px!important;
    }
}
@media (prefers-reduced-motion:reduce){
    .quick-cart,.quick-cart-backdrop{transition-duration:.01ms}
}



/* CHANGE 064 — compact universal cart items and immediate useful content */
.cart-compact-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin:0 0 12px;
    padding:0 2px;
}
.cart-compact-toolbar>strong{
    color:#111827;
    font-size:1rem;
}
.cart-compact-toolbar .cart-header-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    flex-wrap:wrap;
}
.cart-compact-toolbar .cart-continue-shopping,
.cart-compact-toolbar .cart-clear{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:7px 11px;
    border-radius:9px;
    font-size:.78rem;
    line-height:1;
}
.cart-compact-toolbar .cart-continue-shopping{
    border:1px solid #d6dce5;
    background:#fff;
    color:#111827;
    text-decoration:none;
}
.cart-message:empty:not(.is-visible){
    display:none;
}
.cart-items{
    align-content:start;
}
.cart-item{
    grid-template-columns:120px minmax(0,1fr);
    border-radius:16px;
    box-shadow:0 8px 24px rgba(15,23,42,.06);
}
.cart-item-media,
.cart-item-media[style]{
    width:120px!important;
    min-width:120px!important;
    min-height:0;
    padding:12px;
}
.cart-item-media img{
    width:100%!important;
    height:112px!important;
    max-height:112px!important;
}
.cart-item-placeholder{
    width:58px;
    height:58px;
    border-radius:15px;
    font-size:20px;
}
.cart-item-content{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    padding:16px;
}
.cart-item-heading{
    gap:12px;
}
.cart-item-heading h2{
    margin-top:2px;
    font-size:1.2rem;
}
.cart-item-sku{
    display:none;
}
.cart-line-actions{
    gap:6px!important;
}
.cart-line-edit,
.cart-remove{
    min-height:34px!important;
    padding:7px 10px!important;
    font-size:.76rem!important;
}
.cart-options.cart-options--professional{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
    margin:0;
}
.cart-options.cart-options--professional>div{
    padding:8px 10px;
}
.cart-options.cart-options--professional dt{
    margin-bottom:2px;
    font-size:.68rem;
}
.cart-options.cart-options--professional dd{
    font-size:.8rem;
    line-height:1.3;
}
.cart-fulfilment-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    margin:0;
}
.cart-fulfilment-card{
    gap:3px;
    padding:10px;
    border-radius:11px;
}
.cart-fulfilment-card strong{
    font-size:.76rem;
}
.cart-fulfilment-card span,
.cart-fulfilment-card small{
    font-size:.7rem;
    line-height:1.3;
}
.cart-fulfilment-card--sender img{
    width:34px;
    height:34px;
}
.cart-line-workflow{
    margin:0;
}
.cart-line-address{
    margin:0;
    padding:10px;
}
.cart-line-file--clean{
    grid-template-columns:minmax(180px,260px) minmax(0,1fr)!important;
    gap:12px!important;
    margin:0!important;
    padding:12px!important;
}
.premium-upload-zone{
    min-height:120px!important;
    padding:14px!important;
}
.cart-file-check-button{
    min-height:40px;
    margin:7px 0 2px;
}
.cart-item-footer{
    align-items:center;
    padding-top:10px;
    gap:12px;
}
.cart-quantity>span{
    display:none;
}
.cart-quantity-control{
    height:36px;
}
.cart-next-ready{
    margin:0;
    padding:7px 10px;
    font-size:.72rem;
}
@media(min-width:1181px){
    body.portal-body:has(.cart-page) .cart-page{
        height:calc(100dvh - 88px);
        padding-top:10px;
    }
    body.portal-body:has(.cart-page) .cart-items{
        gap:12px;
    }
}
@media(max-width:900px){
    .cart-compact-toolbar{
        align-items:flex-start;
    }
    .cart-item{
        grid-template-columns:88px minmax(0,1fr);
    }
    .cart-item-media,
    .cart-item-media[style]{
        width:88px!important;
        min-width:88px!important;
        padding:9px;
    }
    .cart-item-media img{
        height:82px!important;
        max-height:82px!important;
    }
    .cart-options.cart-options--professional{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .cart-fulfilment-grid{
        grid-template-columns:1fr;
    }
}
@media(max-width:640px){
    .cart-compact-toolbar{
        display:grid;
    }
    .cart-compact-toolbar .cart-header-actions{
        justify-content:flex-start;
    }
    .cart-item{
        grid-template-columns:1fr;
    }
    .cart-item-media,
    .cart-item-media[style]{
        width:100%!important;
        min-width:0!important;
        max-height:110px;
    }
    .cart-item-media img{
        height:86px!important;
    }
    .cart-item-content{
        padding:13px;
    }
    .cart-item-heading{
        display:grid;
    }
    .cart-line-actions{
        justify-content:flex-start!important;
    }
    .cart-line-file--clean{
        grid-template-columns:1fr!important;
    }
}


/* CHANGE 065 — authenticated-only upload rail inside every cart item */
@media(min-width:901px){
    .portal-body--authenticated .cart-item{
        grid-template-columns:minmax(220px,250px) minmax(0,1fr);
    }
    .portal-body--authenticated .cart-item-media{
        box-sizing:border-box;
        width:100%!important;
        min-width:0!important;
        padding:12px;
        align-items:start;
    }
    .portal-body--authenticated .cart-item-media .cart-line-file--clean{
        display:grid!important;
        grid-template-columns:1fr!important;
        align-content:start!important;
        width:100%;
        min-width:0;
        gap:9px!important;
        padding:0!important;
        border:0;
        background:transparent;
    }
    .portal-body--authenticated .cart-item-media .cart-uploaded-visuals{
        padding:8px;
    }
    .portal-body--authenticated .cart-item-media .cart-uploaded-visual{
        flex-basis:92px;
    }
    .portal-body--authenticated .cart-item-media .cart-uploaded-visual img{
        width:76px;
        height:102px;
    }
    .portal-body--authenticated .cart-item-media .premium-upload-zone{
        min-height:170px!important;
        padding:14px 10px!important;
        text-align:center;
    }
    .portal-body--authenticated .cart-item-content{
        grid-template-columns:minmax(0,1fr) minmax(250px,.9fr);
        align-content:start;
    }
    .portal-body--authenticated .cart-item-heading,
    .portal-body--authenticated .cart-line-workflow,
    .portal-body--authenticated .cart-line-address,
    .portal-body--authenticated .cart-item-footer,
    .portal-body--authenticated .cart-next-ready{
        grid-column:1/-1;
    }
    .portal-body--authenticated .cart-options--professional{
        grid-column:1;
        grid-template-columns:repeat(2,minmax(0,1fr));
        align-content:start;
    }
    .portal-body--authenticated .cart-fulfilment-grid{
        grid-column:2;
        grid-row:2;
        grid-template-columns:1fr;
        align-content:start;
    }
}
@media(max-width:900px){
    .portal-body--authenticated .cart-item-media{
        width:88px!important;
        min-width:88px!important;
    }
    .portal-body--authenticated .cart-item-media .cart-line-file--clean{
        grid-template-columns:1fr!important;
        padding:0!important;
        border:0;
        background:transparent;
    }
    .portal-body--authenticated .cart-item-media .premium-upload-zone{
        min-height:110px!important;
        padding:9px 5px!important;
    }
    .portal-body--authenticated .cart-item-media .premium-upload-title,
    .portal-body--authenticated .cart-item-media .premium-upload-or,
    .portal-body--authenticated .cart-item-media .premium-upload-zone small{
        display:none;
    }
    .portal-body--authenticated .cart-item-media .premium-upload-zone strong{
        font-size:.7rem;
        line-height:1.25;
    }
}
@media(max-width:640px){
    .portal-body--authenticated .cart-item-media{
        width:100%!important;
        min-width:0!important;
        max-height:none;
    }
    .portal-body--authenticated .cart-item-media .premium-upload-zone{
        min-height:105px!important;
    }
    .portal-body--authenticated .cart-item-media .premium-upload-title,
    .portal-body--authenticated .cart-item-media .premium-upload-or,
    .portal-body--authenticated .cart-item-media .premium-upload-zone small{
        display:block;
    }
}

/* CHANGE 048 final cart boundary guard
   When the authenticated sidebar opens, the header search must be allowed
   to shrink so the right-most cart control never leaves the content area. */
.portal-body--authenticated:has(.portal-sidebar.is-open) .portal-header.portal-header--white-label{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-template-columns:minmax(0,1fr) repeat(5,max-content)!important;
}
.portal-body--authenticated:has(.portal-sidebar.is-open) .portal-header .catalog-search{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}
.portal-body--authenticated:has(.portal-sidebar.is-open) .topbar-cart-button{
    min-width:42px!important;
    max-width:42px!important;
    justify-self:end!important;
}
@media(max-width:900px){
    .portal-body--authenticated:has(.portal-sidebar.is-open) .portal-header.portal-header--white-label{
        grid-template-columns:minmax(0,1fr) auto auto!important;
    }
}


/* CHANGE 055 quick-cart inline remove */
.quick-cart__item{position:relative}
.quick-cart__remove{position:absolute;top:10px;right:10px;z-index:3;display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid rgba(180,62,49,.18);border-radius:50%;background:#fff8f6;color:#b23b31;font:800 20px/1 Arial,sans-serif;cursor:pointer;opacity:.78;transition:opacity .16s ease,transform .16s ease,background .16s ease,border-color .16s ease}
.quick-cart__remove:hover{opacity:1;transform:scale(1.05);background:#fff0ed;border-color:rgba(180,62,49,.34)}
.quick-cart__remove:disabled{opacity:.35;cursor:wait}
.quick-cart__item-content{padding-right:32px}

.checkout-actions--login{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.checkout-forgot-password{font-weight:700;color:#9a5b00;text-decoration:underline;text-underline-offset:3px}.checkout-forgot-password:hover{color:#f57c00}.password-reset-card{max-width:720px;margin:48px auto;padding:28px}.password-reset-card>p{color:#667085;margin:0 0 20px;line-height:1.55}


.account-production-progress{
    margin:18px 0 4px;
    padding:14px 16px;
    border:1px solid #dbe4ee;
    border-radius:16px;
    background:#f8fafc;
}

.account-production-progress header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    margin-bottom:14px;
}

.account-production-progress header strong{
    color:#111827;
    font-size:.95rem;
}

.account-production-progress header span{
    color:#047857;
    font-size:.82rem;
    font-weight:800;
}

.account-production-progress ol{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:8px;
    margin:0;
    padding:0;
    list-style:none;
}

.account-production-progress li{
    position:relative;
    display:grid;
    justify-items:center;
    gap:6px;
    color:#94a3b8;
    text-align:center;
}

.account-production-progress li:not(:last-child)::after{
    content:"";
    position:absolute;
    top:15px;
    left:calc(50% + 18px);
    width:calc(100% - 28px);
    height:3px;
    border-radius:999px;
    background:#dbe4ee;
}

.account-production-progress li > span{
    position:relative;
    z-index:1;
    display:grid;
    width:32px;
    height:32px;
    place-items:center;
    border:2px solid #cbd5e1;
    border-radius:50%;
    background:#fff;
    font-size:.78rem;
    font-weight:900;
}

.account-production-progress li small{
    max-width:150px;
    font-size:.72rem;
    font-weight:750;
    line-height:1.25;
}

.account-production-progress li.is-done,
.account-production-progress li.is-current{
    color:#047857;
}

.account-production-progress li.is-done > span,
.account-production-progress li.is-current > span{
    border-color:#10b981;
    background:#dcfce7;
}

.account-production-progress li.is-done::after{
    background:#10b981;
}

.account-production-progress li.is-current > span{
    box-shadow:0 0 0 5px rgba(16,185,129,.13);
}

.account-production-progress > p{
    margin:12px 0 0;
    color:#64748b;
    font-size:.75rem;
}

@media (max-width:760px){
    .account-production-progress header{align-items:flex-start;flex-direction:column;gap:4px}
    .account-production-progress ol{grid-template-columns:1fr;gap:7px}
    .account-production-progress li{grid-template-columns:32px 1fr;justify-items:start;align-items:center;text-align:left}
    .account-production-progress li:not(:last-child)::after{top:31px;left:15px;width:3px;height:calc(100% - 14px)}
}

/* Affiches : image produit plus lisible sur les écrans larges. */
@media (min-width: 760px) {
    .product-page:has(#configForm[data-sku="posters"]) .premium-product-gallery {
        width: 210px;
        max-width: 210px;
        flex: 0 0 210px;
    }
}
