:root{--paper:#f7f4ed;--ink:#343b30;--muted:#75786d;--line:#dcded2;--accent:#7b4834}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}header{background:#fffdf7;border-bottom:1px solid var(--line);padding:20px max(24px,calc((100vw - 1200px)/2));display:flex;justify-content:space-between;align-items:center;gap:16px}header>a:last-child{font-size:12px}.brand{display:flex;gap:10px;align-items:center;font:25px Georgia,serif}.brand small{font:8px Arial,sans-serif;letter-spacing:2px;display:block;margin-top:7px}main{max-width:1250px;margin:0 auto;padding:45px 25px 70px}h1{font:44px/1.13 Georgia,serif;margin:8px 0 12px;letter-spacing:-1px}h2{font:28px/1.2 Georgia,serif;margin:0 0 15px}.eyebrow{font-size:9px;letter-spacing:2px}.card{background:#fffdf7;border:1px solid var(--line);border-radius:8px}.login{max-width:460px;margin:35px auto;padding:35px}.login>p:not(.eyebrow){color:var(--muted)}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:#fffdf7;color:var(--ink);padding:10px 16px;border-radius:4px}button:hover{border-color:var(--ink)}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--ink);border-color:var(--ink);color:white}.primary:hover{background:var(--accent);border-color:var(--accent)}.danger{background:#963b30;color:white;border-color:#963b30}label{display:block;font-size:12px;font-weight:bold;margin:18px 0 6px}label>span:not(.check span){font-size:10px;color:var(--muted);font-weight:normal}input:not([type=checkbox]):not([type=file]),textarea,select{background:white;border:1px solid #cfd3c5;color:var(--ink);border-radius:4px;padding:11px 12px;width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #8c9b79;outline-offset:1px}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}textarea{resize:vertical}.login button{width:100%;margin-top:20px}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-title p{color:var(--muted);margin:0}.actions{display:flex;gap:8px;flex-wrap:wrap}.toolbar{display:flex;gap:12px;margin-bottom:25px}.toolbar input{max-width:400px}.toolbar select{max-width:220px}.product-list{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product-card{overflow:hidden;background:#fffdf7;border:1px solid var(--line);border-radius:6px}.product-card>img{width:100%;height:230px;object-fit:cover;display:block}.product-placeholder{height:230px;display:grid;place-items:center;background:#e7e8dc;color:#727e63;font-size:40px}.product-body{padding:18px}.product-body h2{font-size:23px;overflow-wrap:anywhere;margin:10px 0}.badges{display:flex;gap:6px;flex-wrap:wrap}.badge{background:#e7eddc;color:#415334;border-radius:20px;font-size:10px;padding:3px 9px}.badge.draft{background:#eee7db;color:#806c4d}.badge.demo{background:#eee8e2;color:#806d63}.product-price{font-size:16px;margin:10px 0 18px}.card-actions{display:flex;gap:8px}.card-actions button{font-size:11px;padding:7px 12px}.help{font-size:12px;color:var(--muted);margin-top:30px}.empty{text-align:center;padding:50px 25px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}dialog{border:0;background:var(--paper);color:var(--ink);padding:30px;width:min(660px,calc(100% - 24px));max-height:92vh;overflow:auto;border-radius:8px;box-shadow:0 30px 100px #0004}dialog::backdrop{background:#1e261ea8}.dialog-title{display:flex;justify-content:space-between;gap:20px;align-items:start}.dialog-title button{padding:5px 12px}.dialog-title .eyebrow{margin-top:0}.field-help{font-size:11px;color:var(--muted);margin:0 0 12px}.photo-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:6px}.photo-heading label{margin-bottom:0}.photo-heading span{font-size:11px}.photo-list{display:flex;gap:10px;flex-wrap:wrap}.photo-item{width:100px;position:relative}.photo-item img{height:100px;width:100%;object-fit:cover;border-radius:5px}.photo-item button{font-size:10px;padding:3px 5px;display:block;width:100%;margin-top:4px}.photo-item .cover{font-size:9px;position:absolute;top:5px;left:5px;background:#fffdf7;padding:1px 6px;border-radius:2px}.upload{border:1px dashed #9aa28c;border-radius:5px;padding:15px;text-align:center;cursor:pointer;font-weight:normal}.upload input{display:block;max-width:100%;margin:10px auto 0;font-size:11px}.check{display:flex;gap:12px;align-items:start;font-weight:normal;background:#e9ecdf;padding:13px;border-radius:4px}.check input{margin-top:5px;accent-color:var(--ink)}.check small{display:block;font-size:10px;color:#5f6a56;margin-top:3px}.form-footer{display:flex;justify-content:end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}[role=alert]{color:#a1352a;font-size:12px;white-space:pre-wrap}#upload-status{font-size:11px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 22px;border-radius:4px;opacity:0;pointer-events:none;max-width:90%;z-index:5}#toast.visible{opacity:1}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}@media(max-width:1000px){.product-list{grid-template-columns:repeat(3,1fr)}.page-title{align-items:start;flex-direction:column}}@media(max-width:730px){.product-list{grid-template-columns:repeat(2,1fr)}.brand{font-size:20px}h1{font-size:37px}.product-card>img,.product-placeholder{height:200px}main{padding:30px 18px}.actions button{font-size:11px}.login{padding:25px}.product-body{padding:12px}}@media(max-width:420px){.product-list{grid-template-columns:1fr}.product-card>img,.product-placeholder{height:280px}.form-row{grid-template-columns:1fr;gap:0}.toolbar{flex-direction:column}.toolbar select{max-width:none}.form-footer{flex-wrap:wrap}dialog{padding:22px}.brand small{font-size:7px}header{padding:18px}header>a:last-child{font-size:10px}}

/* Univers Liberta Création : ivoire, brun, or patiné et formes douces. */
@font-face{font-family:LibertaBookman;src:url('/assets/fonts/URWBookman-Demi.otf') format('opentype');font-weight:700;font-display:swap}
:root{--paper:#f3e6cf;--ink:#4c3021;--muted:#78604a;--line:#d6bea0;--accent:#8c472c}
body{background:linear-gradient(125deg,#f8efdfed,#f1dfc4f5),url('/assets/liberta-univers.png') center/cover fixed}header{background:#fbf0dcdf;border-bottom:1px solid #c5a46e}.brand,h1,h2{font-family:LibertaBookman,Georgia,serif;font-weight:700}.brand{font-size:23px}.card,.product-card{background:#fff5e3;border-color:#d4b98e;border-radius:18px}.login{border:1px solid #c6a16a;box-shadow:0 15px 40px #6e4a2714}.primary,button{border-radius:22px}input:not([type=checkbox]):not([type=file]),textarea,select{background:#fffaf0;border-color:#cdb28b;border-radius:8px}.check{background:#ead9ba}.check small{color:#776044}.product-cover{height:230px;position:relative;overflow:hidden;background:#deccb0}.product-cover>img{width:100%;height:100%;object-fit:cover;display:block}.product-cover.framed{height:auto;aspect-ratio:1}.product-cover.framed>img{position:absolute;max-width:none;object-fit:fill}.badge{background:#e1e5cf;color:#495335}.badge.draft{background:#ead8b7;color:#6f542f}dialog{background:#fcf0da;border:1px solid #c6a16a;border-radius:18px}dialog::backdrop{background:#37271da8;backdrop-filter:blur(5px)}.upload{border-color:#af8d59;background:#f8ebd2}.help{max-width:900px}.field-help{color:#70583e}.photo-item img{object-fit:contain;background:#dfc9a7}#toast{border-radius:24px}@media(max-width:730px){.product-cover:not(.framed){height:200px}}@media(max-width:420px){.product-cover:not(.framed){height:280px}.brand{font-size:17px}}

@media(max-width:730px){button{min-height:44px}input:not([type=checkbox]):not([type=file]),textarea,select{font-size:16px;min-height:44px}.photo-item button{font-size:11px}.toolbar{flex-wrap:wrap}.toolbar input,.toolbar select{max-width:100%;min-width:0}.actions{width:100%}.form-row>div{min-width:0}.dialog-title h2{overflow-wrap:anywhere}.photo-item{width:calc(33.333% - 7px)}}

.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 35px;border-bottom:1px solid var(--line);padding-bottom:20px}.admin-tabs button[aria-selected=true]{background:var(--ink);color:white}.admin-tabs span{display:inline-block;margin-left:5px;font-size:11px}.test-banner{background:#ead5ad;border:1px solid #c8a66c;padding:12px 15px;border-radius:8px;font-size:12px}.order-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;background:#fff5e3;border:1px solid var(--line);border-radius:12px;margin:15px 0;padding:20px}.order-card h2{font-size:23px;margin:8px 0}.order-card p{font-size:12px;margin:5px 0;overflow-wrap:anywhere}.order-card .order-meta{color:var(--muted);font-size:11px}.order-card .badge{display:inline-block;margin-right:5px}.order-card .order-price{font-size:18px;font-weight:bold}.orders-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:25px;font-size:12px}#orders-filter{max-width:280px}.payment-status-card{padding:22px;margin:18px 0}.payment-status-card h2{font-size:25px}.payment-status-card p{font-size:13px}.payment-help{padding:25px;margin-top:25px;max-width:800px}.payment-help p{font-size:13px}#order-dialog{width:min(720px,calc(100% - 24px))}#order-items>div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:12px 0;font-size:13px}#order-items span{overflow-wrap:anywhere}#order-customer{font-size:13px;overflow-wrap:anywhere}#order-amount{font-weight:bold}#order-history{padding-left:20px;font-size:11px;color:var(--muted)}#order-history li{margin:8px 0}#order-dialog h3{font:700 22px LibertaBookman,Georgia,serif;margin-top:30px}#order-gateway-reference{overflow-wrap:anywhere}#order-save{margin-top:10px}@media(max-width:730px){.admin-tabs button{font-size:12px}.order-card{grid-template-columns:1fr;gap:10px}.order-card>div:last-child{display:flex;justify-content:space-between;align-items:center;gap:15px}.order-card h2{font-size:21px}.orders-pagination{flex-wrap:wrap}.payment-help{padding:20px}#order-items>div{flex-direction:column;gap:5px}.admin-tabs{gap:6px}.admin-tabs button{padding:8px 13px}}
