/* ===========================
   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: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;
}

.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{min-width:0;padding:10px 12px;display:grid;gap:2px;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-results span{overflow:hidden;font-size:14px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}
.catalog-search-results small{color:var(--kp-muted)}
.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:repeat(3,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-results{grid-template-columns:repeat(2,minmax(0,1fr))}.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:repeat(2,minmax(0,1fr));gap:10px;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-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:calc(100vh - 88px);
        align-self:start;
    }

    .product-price-card{
        position:static;
        top:auto;
        width:100%;
        height:100%;
        max-height:calc(100vh - 88px);
        padding:16px;
        overflow-x:visible;
        overflow-y:auto;
    }

    .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-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);
}

.custom-quantity-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{
    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-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-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-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:#0F172A;color:#E5E7EB}
.portal-brand{height:50px;display:flex;align-items:center;gap:10px;color:#FFFFFF;text-decoration:none}
.portal-brand span{width:38px;height:38px;display:grid;place-items:center;border-radius:14px;background:var(--merchant-primary,#F5A000);color:#111827;font-weight:700}
.portal-brand img{width:42px;height:42px;object-fit:contain;border-radius:12px;background:#fff}
.portal-brand strong{letter-spacing:.08em;font-size:13px}
.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}}
.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);
    }
}

.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 {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #eceff2;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}

.premium-gallery-main img {
    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-main span {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(17, 17, 17, .78);
    color: #fff;
    font-size: 10px;
    text-align: center;
}

.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);
    }
}
