:root { --primary:#5936f6; --secondary:#0e0e52; --max-width-content:1100px; --margin-mobile:10px; --margin-tablet:14px; --margin-desktop:18px; --margin-large:20px; --container-x:var(--margin-mobile); }
    * { box-sizing:border-box; }
    body { margin:0; font-family:Arial,sans-serif; background:#f6f8ff; color:#111827; padding-top:92px; }
    .sr-header { position:fixed; top:0; left:0; right:0; z-index:50; height:88px; background:#fff; border-bottom:1px solid #e5e7eb; box-shadow:0 4px 18px rgba(14,14,82,.08); }
    .sr-header-inner { max-width:var(--max-width-content); height:100%; margin:0 auto; padding:0 var(--container-x); display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; box-sizing:border-box; }
    .sr-logo-wrap { display:flex; align-items:center; text-decoration:none; justify-self:start; }
    .sr-logo { width:210px; height:58px; object-fit:contain; }
    .sr-header-center { display:flex; align-items:center; justify-content:center; gap:12px; width:100%; }
    .sr-header-center a { color:#0e0e52; text-decoration:none; font-weight:700; font-size:18px; padding:10px 12px; border-radius:8px; white-space:nowrap; }
    .sr-tool-link { display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:0 12px; border-radius:999px; background:#5936f6; color:#fff; font-size:13px; font-weight:800; }
    .sr-header-center .sr-tool-link { display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:0 12px; border-radius:999px; background:#5936f6; color:#fff; font-size:13px; font-weight:800; }
    .sr-header-center .sr-tool-link:hover { background:#4b2ee0; color:#fff; }
    .sr-header-center a:hover { background:#f3f4f6; color:#5936f6; }
    .sr-header-right { display:flex; align-items:center; justify-content:flex-end; gap:10px; justify-self:end; }
    .cart-link { position:relative; display:inline-flex; align-items:center; justify-content:center; width:62px; height:50px; border-radius:999px; color:#0e0e52; text-decoration:none; }
    .cart-link:hover { background:#f3f4f6; color:#5936f6; }
    .cart-link svg { width:28px; height:28px; }
    .sr-external-link { display:inline-flex; align-items:center; gap:8px; color:#5936f6; text-decoration:none; font-size:16px; }
    .sr-external-link img { width:32px; height:32px; object-fit:contain; }
    .sr-footer { margin-top:22px; background:#0e0e52; color:#fff; }
    .sr-footer-inner { max-width:var(--max-width-content); margin:0 auto; padding:24px var(--container-x) 18px; box-sizing:border-box; }
    .sr-footer-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin-bottom:16px; }
    .sr-footer-col ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
    .sr-footer-col a { color:#fff; text-decoration:none; opacity:.92; font-size:14px; }
    .sr-footer-col a:hover { opacity:1; text-decoration:underline; }
    .sr-footer-bottom { border-top:1px solid rgba(255,255,255,.15); padding-top:14px; display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
    .sr-footer-brand img { width:180px; height:48px; object-fit:contain; }
    .sr-footer-copy { margin:0; text-align:center; font-size:12px; line-height:1.5; color:rgba(255,255,255,.9); }
    .sr-footer-badges { display:flex; align-items:center; gap:8px; }
    .sr-footer-badges img { width:36px; height:36px; object-fit:contain; }
    .sr-footer-social { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:999px; background:rgba(255,255,255,.12); color:#fff; text-decoration:none; }
    .wrap { max-width:var(--max-width-content); margin:0 auto; padding:18px var(--container-x) 40px; }
    .card { background:#fff; border-radius:16px; padding:18px; box-shadow:0 10px 24px rgba(14,14,82,.08); }
    h1 { margin:0 0 10px; color:var(--secondary); text-align:center; }
    .muted { color:#4b5563; }
    .intro-text { text-align:center; }
    .toolbar { margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }
    .btn { border:none; border-radius:999px; min-height:40px; padding:0 14px; font-weight:700; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; }
    .btn-primary { background:var(--primary); color:#fff; }
    .btn-outline { background:#fff; color:#2b2f4d; border:1px solid #d7dbef; }
    .panier-layout { margin-top:10px; display:block; }
    .cart-grid { margin-top:16px; display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,320px)); gap:12px; align-items:stretch; justify-content:start; }
    .cart-card { border:1px solid #e5e7eb; border-radius:14px; overflow:hidden; background:#fff; display:flex; flex-direction:column; height:100%; min-height:282px; }
    .cart-media { background:#ffffff; height:200px; min-height:200px; display:flex; align-items:center; justify-content:center; padding:12px; }
    .cart-media img { width:auto; height:auto; max-width:88%; max-height:88%; object-fit:contain; background:#ffffff; }
    .cart-media img.compact-visual { transform:scale(.84); transform-origin:center; }
    .cart-body { padding:12px; display:flex; flex-direction:column; gap:8px; flex:1; }
    .cart-title { margin:0; color:#0e0e52; font-size:16px; }
    .cart-line { margin:0; font-size:14px; color:#4b5563; }
    .cart-actions { margin-top:auto; padding-top:6px; display:flex; justify-content:space-between; align-items:center; gap:8px; }
    .cart-actions-right { display:flex; justify-content:flex-end; }
    .cart-actions-right { margin-left:auto; }
    .note-toggle-btn {
      border:1px solid #d7dbef;
      background:#f8f7ff;
      color:#5936f6;
      border-radius:999px;
      min-height:34px;
      width:34px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:0;
      font-weight:700;
      cursor:pointer;
      font-size:16px;
      line-height:1;
    }
    .note-toggle-btn svg {
      width:20px;
      height:20px;
      stroke:currentColor;
      fill:none;
      stroke-width:1.45;
      stroke-linecap:round;
      stroke-linejoin:round;
      display:block;
    }
    .cart-note-details {
      display:none;
      margin:0;
      padding:10px;
      border:1px dashed #d7dbef;
      border-radius:10px;
      background:#fbfcff;
      color:#374151;
      font-size:13px;
      line-height:1.4;
      white-space:pre-wrap;
    }
    .cart-note-details.visible { display:block; }
    .empty { margin-top:18px; padding:18px; border:1px dashed #cfd5ef; border-radius:14px; text-align:center; color:#4b5563; background:#fbfcff; }
    .summary { margin-top:12px; font-weight:700; color:#0e0e52; }
    .checkout-wrap { display:flex; flex-direction:column; align-items:stretch; gap:8px; margin-top:18px; width:100%; max-width:none; }
    .checkout-note-title { margin:0; color:#0e0e52; font-weight:700; font-size:14px; }
    .checkout-note-input {
      width:100%;
      min-height:88px;
      border:1px solid #d7dbef;
      border-radius:12px;
      padding:10px 12px;
      font:inherit;
      color:#111827;
      background:#fff;
      resize:vertical;
    }
    .checkout-note-input:focus { outline:2px solid #c7bcff; border-color:#8d75ff; }
    .checkout-wrap .btn-primary { align-self:center; }
    .checkout-note { margin:0; color:#4b5563; font-size:14px; text-align:center; }
    @media (min-width:761px) and (max-width:1199px) { :root { --container-x:var(--margin-tablet); } }
    @media (min-width:1200px) and (max-width:1439px) { :root { --container-x:var(--margin-desktop); } }
    @media (min-width:1440px) { :root { --container-x:var(--margin-large); } }
    @media (max-width:900px){ .checkout-wrap { max-width:none; } }
    @media (max-width:760px) { :root { --container-x:var(--margin-mobile); } .logo { width:150px; height:44px; } .sr-footer-grid { grid-template-columns:1fr; } .sr-footer-bottom { justify-content:center; } }
