*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#F4F0E8;color:#111316;font-family:Barlow,sans-serif}
img{max-width:100%}
:focus-visible{outline:3px solid #C8231B;outline-offset:2px}
.proto-banner{background:#F5B81C;color:#111316;font:600 14px/1.4 Barlow,sans-serif;text-align:center;padding:8px 16px}

/* Composants partagés (boutique & galerie) */
.chip{min-height:44px;padding:0 18px;border:1.5px solid #111316;background:#FFFFFF;color:#111316;font:700 15px 'Barlow Condensed',sans-serif;letter-spacing:.1em;cursor:pointer}
.chip.is-active{background:#111316;color:#FFFFFF}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.muted{color:#5B616B}.small{font-size:14px}
.btn-red,.btn-dark{border:0;color:#FFFFFF;font:700 15px 'Barlow Condensed',sans-serif;letter-spacing:.08em;cursor:pointer;min-height:44px;padding:0 14px}
.btn-red{background:#C8231B}.btn-red:hover{background:#A51C15}.btn-red:disabled{background:#9A9186;cursor:not-allowed}
.btn-dark{background:#111316}
.big{min-height:56px;font-size:18px;letter-spacing:.12em;padding:0 28px}
.price{font-family:Anton,sans-serif;font-size:24px;color:#14284A}
.price.big{font-size:32px;padding:0;min-height:0}.price.light{color:#F4F0E8}
.field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.field input,.field select{height:48px;border:1px solid #8C8578;padding:0 14px;font:inherit;font-weight:400;background:#FFFFFF;width:100%}
.grow{flex:1 1 260px}
fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
legend{font-size:14px;font-weight:700;margin-bottom:8px}
.radio{display:flex;gap:10px;align-items:center;font-size:15px;min-height:36px}
.radio input{width:20px;height:20px;accent-color:#C8231B}

/* Galerie */
.tile{padding:0;border:0;background:#FFFFFF;text-align:left;cursor:pointer;display:flex;flex-direction:column;font:inherit;color:inherit}
.tile img{width:100%;height:260px;object-fit:cover;display:block;transition:opacity .2s}
.tile:hover img{opacity:.88}
.tile-cap{padding:14px 16px 16px;display:flex;flex-direction:column;gap:4px}
.tile-cat{font:700 13px 'Barlow Condensed',sans-serif;letter-spacing:.16em;color:#C8231B}
.tile-title{font-size:17px;font-weight:600;line-height:1.3}
.lightbox{position:fixed;inset:0;background:rgba(17,19,22,.94);z-index:50;display:flex;align-items:center;justify-content:center;padding:24px}
.lightbox[hidden]{display:none}
.lb-inner{max-width:1100px;width:100%;display:flex;flex-direction:column;gap:16px}
.lb-top{display:flex;justify-content:space-between;align-items:center;gap:16px;color:#F4F0E8}
.lb-meta{font:700 13px 'Barlow Condensed',sans-serif;letter-spacing:.16em;color:#FF6B60}
.lb-title{font-family:Anton,sans-serif;font-size:28px}
.lb-icon{width:48px;height:48px;border:1.5px solid #F4F0E8;background:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none}
.lb-img{width:100%;max-height:68vh;object-fit:contain;display:block;background:#000}
.lb-nav{display:flex;justify-content:space-between;gap:12px}
.lb-btn{min-height:48px;padding:0 20px;border:1.5px solid #F4F0E8;background:none;color:#F4F0E8;font:700 16px 'Barlow Condensed',sans-serif;letter-spacing:.1em;cursor:pointer}

/* Boutique */
.shop-wrap{max-width:1280px;margin:0 auto;padding:40px 24px 96px;display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.shop-main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:24px}
.search-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.prod-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.prod{background:#FFFFFF;display:flex;flex-direction:column}
.prod-tile{height:150px;display:flex;align-items:center;justify-content:center;position:relative}
.prod-badge{position:absolute;top:10px;left:10px;background:#F4F0E8;color:#111316;font:700 12px 'Barlow Condensed',sans-serif;letter-spacing:.1em;padding:4px 8px}
.prod-body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}
.prod-body h3{margin:0;font-size:17px;font-weight:600;line-height:1.3}
.prod-body .muted{font-size:14px}
.prod-foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:8px}
.empty{margin:0;padding:40px;background:#FFFFFF;text-align:center;font-size:17px}
.cart{flex:1 1 320px;background:#FFFFFF;border-top:6px solid #C8231B;padding:24px;display:flex;flex-direction:column;gap:16px;position:sticky;top:16px}
.cart-head{display:flex;justify-content:space-between;align-items:baseline}
.cart h2{margin:0;font-family:Anton,sans-serif;font-weight:400;font-size:30px}
.line{display:flex;flex-direction:column;gap:8px;padding-bottom:14px;border-bottom:1px solid #E6E1D7}
.line-top{display:flex;justify-content:space-between;gap:12px;font-size:15px;font-weight:600;line-height:1.3}
.line-top strong{white-space:nowrap}
.line-qty{display:flex;align-items:center;gap:8px}
.qty{width:44px;height:44px;border:1px solid #8C8578;background:#F4F0E8;font-size:20px;cursor:pointer}
.qty-n{min-width:28px;text-align:center;font-weight:700}
.sums{display:flex;flex-direction:column;gap:6px;font-size:15px;border-top:1px solid #E6E1D7;padding-top:14px}
.sums div{display:flex;justify-content:space-between;align-items:baseline}
.sum-total{margin-top:6px}.sum-total strong{font-size:17px}
.checkout{flex:999 1 560px;min-width:0;background:#FFFFFF;padding:32px;display:flex;flex-direction:column;gap:20px}
.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.link-btn{align-self:flex-start;min-height:44px;padding:0;border:0;background:none;color:#C8231B;font:inherit;font-weight:600;cursor:pointer}
.h-xl{margin:0;font-family:Anton,sans-serif;font-weight:400;font-size:clamp(32px,4vw,44px);line-height:1}
.note{margin:0;padding:16px;background:#F4F0E8;font-size:15px;line-height:1.5}
.note.warn{background:#FDF2D0}
.recap{flex:1 1 320px;background:#14284A;color:#F4F0E8;padding:24px;display:flex;flex-direction:column;gap:12px}
.recap h3{margin:0;font-family:Anton,sans-serif;font-weight:400;font-size:26px}
.recap-line{display:flex;justify-content:space-between;gap:12px;font-size:15px;align-items:baseline}
.recap-line span:last-child{white-space:nowrap}
.recap-line.sep{border-top:1px solid #3A4E73;padding-top:12px}
.done{max-width:760px;margin:0 auto;padding:72px 24px 120px;display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center}
.done p{margin:0;font-size:18px;line-height:1.6;color:#3A3F47}
.done-check{width:96px;height:96px;border-radius:50%;background:#C8231B;display:flex;align-items:center;justify-content:center}
.script{font-family:Yellowtail,cursive;font-size:40px;color:#C8231B}

@media (max-width:760px){
  .cart{position:static}
  .checkout{padding:20px}
  nav{justify-content:center!important;text-align:center}
}
