/* === CSE Commande === */
.cse-order-page.cmd-layout{
  width:min(1320px,calc(100vw - 32px));
  margin:0 auto;
}
.cse-order-selector{
  margin-bottom:18px;
  padding:20px 72px 20px 20px;
  border-radius:28px;
  background:
    radial-gradient(circle at top right,rgba(255,224,174,.22),transparent 30%),
    linear-gradient(135deg,#fffefd 0%,#fffaf1 52%,#fff 100%);
  border:1px solid rgba(231,188,119,.20);
  box-shadow:0 18px 38px rgba(75,54,25,.06);
}
.cse-order-selector__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.cse-order-selector__stats{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  position:relative;
  z-index:3;
}
.cse-order-selector__stat{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:38px;
  padding:0 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(var(--brand-900-rgb),.10);
  color:#23453d;
  font-size:.82rem;
  font-weight:800;
  box-shadow:0 10px 20px rgba(16,42,42,.05);
}
.cse-order-selector__stat-btn{
  appearance:none;
  cursor:pointer;
}
.cse-order-selector__stat-btn.is-active{
  background:linear-gradient(180deg,#0d5b4a,#16715d);
  color:#fff;
  border-color:transparent;
  box-shadow:0 14px 26px rgba(var(--brand-900-rgb),.20);
}
.cse-order-selector__stat-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:9px;
  background:rgba(255,255,255,.9);
  color:#0d5b4a;
  font-size:.78rem;
  font-weight:900;
  flex:0 0 28px;
  box-shadow:inset 0 0 0 1px rgba(var(--brand-900-rgb),.08);
}
.cse-order-selector__stat-btn.is-active .cse-order-selector__stat-icon{
  background:rgba(255,255,255,.18);
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
}
.cse-order-selector__stat.is-open{
  background:linear-gradient(180deg,#f2fbf7,#e7f6ee);
  color:#0d5b4a;
}
.cse-order-selector__stat.is-closed{
  background:linear-gradient(180deg,#f4f5f8,#eceff3);
  color:#5e6978;
}
.cse-order-selector__eyebrow{
  color:#a97024;
  text-transform:uppercase;
  font-size:.78rem;
  letter-spacing:.08em;
  font-weight:800;
}
.cse-order-selector__title{
  margin:6px 0 0;
  font-size:1.24rem;
  color:#153831;
}
.cse-order-selector__tools{
  margin-top:10px;
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  position:relative;
  z-index:3;
}
.cse-order-filter-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.cse-order-filter-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(var(--brand-900-rgb),.10);
  background:rgba(255,255,255,.92);
  color:#315b51;
  font-weight:800;
  cursor:pointer;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.cse-order-filter-pill__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:9px;
  background:rgba(13,91,74,.08);
  color:#0d5b4a;
  font-size:.78rem;
  font-weight:900;
  flex:0 0 28px;
}
.cse-order-filter-pill:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(16,42,42,.06);
}
.cse-order-filter-pill.is-active{
  background:linear-gradient(180deg,#0d5b4a,#16715d);
  border-color:transparent;
  color:#fff;
  box-shadow:0 14px 26px rgba(var(--brand-900-rgb),.20);
}
.cse-order-filter-pill.is-active .cse-order-filter-pill__icon{
  background:rgba(255,255,255,.18);
  color:#fff;
}
.cse-order-filter{
  padding:12px 14px;
  min-width:280px;
  border:1px solid rgba(231,188,119,.18);
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#fffdf8);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.cse-order-filter:focus{
  outline:none;
  border-color:rgba(225,174,91,.46);
  box-shadow:0 0 0 5px rgba(225,174,91,.10);
}
.cse-order-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-top:18px;
}
.cse-order-card{
  border:1px solid rgba(var(--brand-900-rgb),.10);
  border-radius:24px;
  padding:16px;
  background:
    radial-gradient(circle at top right,rgba(244,199,112,.14),transparent 30%),
    linear-gradient(180deg,#fff,#f7fbfa);
  box-shadow:0 18px 38px rgba(16,42,42,.08);
  position:relative;
  overflow:hidden;
  cursor:pointer;
  min-height:368px;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto auto;
  gap:12px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, opacity .18s ease;
}
.cse-order-card:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 48px rgba(16,42,42,.12);
  border-color:var(--brand-900);
}
.cse-order-card.is-selected{
  border-color:var(--brand-900);
  box-shadow:0 22px 44px rgba(var(--brand-900-rgb),.14);
}
.cse-order-card.is-closed{
  opacity:.88;
  cursor:not-allowed;
  background:
    radial-gradient(circle at top right,rgba(207,213,221,.14),transparent 28%),
    linear-gradient(180deg,#fbfcfd,#f5f7f9);
}
.cse-order-card.is-closed:hover{
  transform:none;
  border-color:#D8E6E0;
  box-shadow:0 14px 32px rgba(0,0,0,.05);
}
.cse-order-card.is-closed .cse-order-card__media img{
  filter:saturate(.78);
}
.cse-order-card__media{
  height:244px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:18px;
  background:#edf3f1;
  border:1px solid rgba(var(--brand-900-rgb),.08);
  padding:12px;
  isolation:isolate;
  margin-bottom:0;
  z-index:1;
}
.cse-order-card__media.no-image{
  background:
    radial-gradient(circle at top right,rgba(255,214,143,.20),transparent 28%),
    linear-gradient(145deg,#194b3f 0%,#246856 55%,#163a31 100%);
  border-color:rgba(255,255,255,.08);
}
.cse-order-card__media::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:var(--media-url);
  background-size:cover;
  background-position:center;
  filter:blur(18px);
  transform:scale(1.08);
  opacity:.22;
  z-index:0;
}
.cse-order-card__media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.45),rgba(255,255,255,.7));
  z-index:1;
}
.cse-order-card__media.no-image::before{
  display:none;
}
.cse-order-card__media.no-image::after{
  background:
    radial-gradient(circle at 82% 18%,rgba(255,255,255,.18),transparent 0 24%),
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,0));
}
.cse-order-card__media img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  z-index:2;
  box-shadow:0 14px 28px rgba(0,0,0,.14);
  border-radius:14px;
  background:#fff;
}
.cse-order-card__visual{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
}
.cse-order-card__visual-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:72px;
  height:72px;
  border-radius:24px;
  background:
    radial-gradient(circle at 30% 24%,rgba(255,255,255,.28),transparent 38%),
    rgba(255,255,255,.12);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);
  color:#fff;
  font-size:1.35rem;
  font-weight:900;
  letter-spacing:.08em;
  align-self:flex-start;
  margin-top:auto;
  margin-bottom:4px;
}
.cse-order-card__visual-shape{
  position:absolute;
  right:-10px;
  bottom:-16px;
  width:128px;
  height:128px;
  border-radius:32px;
  background:
    radial-gradient(circle at 30% 30%,rgba(255,255,255,.18),transparent 36%),
    linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.05));
  transform:rotate(10deg);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
.cse-order-card__status,
.cse-order-card__timer{
  position:absolute;
  z-index:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-size:.76rem;
  font-weight:800;
}
.cse-order-card__status{
  left:12px;
  top:12px;
  padding:7px 11px;
  background:rgba(255,255,255,.94);
  color:var(--brand-900);
  border:1px solid rgba(var(--brand-900-rgb),.12);
  backdrop-filter:blur(10px);
  box-shadow:0 10px 20px rgba(16,42,42,.08);
}
.cse-order-card__timer{
  right:12px;
  top:12px;
  min-width:98px;
  padding:8px 13px;
  background:linear-gradient(180deg,rgba(var(--brand-900-rgb),.95),rgba(14,64,53,.95));
  color:#fff;
  box-shadow:0 14px 26px rgba(var(--brand-900-rgb),.22);
}
.cse-order-card__timer.is-closed{
  background:linear-gradient(180deg,rgba(107,114,128,.96),rgba(75,85,99,.96));
  box-shadow:0 12px 24px rgba(107,114,128,.18);
}
.cse-order-card__title{
  margin:0;
  font-weight:800;
  font-size:1.12rem;
  color:#12352E;
  line-height:1.18;
}
.cse-order-card.no-image .cse-order-card__title{
  margin-top:2px;
}
.cse-order-card__desc{
  margin:0;
  color:#60716C;
  font-size:.92rem;
  line-height:1.5;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.cse-order-card__desc--soft{
  color:#72817b;
}
.cse-order-card__meta{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:auto;
  color:#4F655F;
  font-size:.9rem;
  font-weight:700;
  padding-top:12px;
  border-top:1px solid rgba(216,230,224,.8);
}
.cse-order-card.no-image .cse-order-card__meta{
  border-top-color:rgba(var(--brand-900-rgb),.10);
}
.cse-order-card__meta svg{
  width:18px;
  height:18px;
  flex:0 0 18px;
}
.cse-order-card__footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:0;
}
.cse-order-card__pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:800;
  border:1px solid rgba(var(--brand-900-rgb),.12);
  background:linear-gradient(180deg,#f5fbf8,#eaf6f1);
  color:var(--brand-900);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.cse-order-card__pill.is-current{
  background:linear-gradient(180deg,#0d5b4a,#16715d);
  color:#fff;
  border-color:transparent;
  box-shadow:0 12px 22px rgba(var(--brand-900-rgb),.18);
}
.cse-order-card__pill.is-closed{
  border-color:rgba(156,163,175,.26);
  background:#F3F4F6;
  color:#6B7280;
}
.cse-order-card__arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:linear-gradient(180deg,#0d5b4a,#16715d);
  color:#fff;
  box-shadow:0 12px 24px rgba(var(--brand-900-rgb),.18);
  font-size:1.18rem;
  font-weight:800;
}
.cse-order-card.is-closed .cse-order-card__arrow{
  background:#9CA3AF;
  box-shadow:none;
}
.cse-order-card__overlay{
  position:absolute;
  inset:0;
  z-index:4;
  text-indent:-9999px;
  overflow:hidden;
  background:transparent;
  border:0;
  padding:0;
  cursor:inherit;
}
.cse-order-card__overlay:focus-visible{
  outline:3px solid rgba(var(--brand-700-rgb),.35);
  outline-offset:-6px;
  border-radius:22px;
}
@media (max-width:980px){
  .cse-order-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width:720px){
  .cse-order-page.cmd-layout{
    width:100%;
    padding-inline:12px;
  }
  .cse-order-selector{
    padding:14px;
    border-radius:22px;
    margin-bottom:14px;
  }
  .cse-order-selector__top{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .cse-order-selector__title{
    font-size:1.08rem;
    line-height:1.25;
  }
  .cse-order-selector__tools{
    display:grid;
    grid-template-columns:1fr;
    margin-top:12px;
  }
  .cse-order-selector__stats{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
    gap:8px;
  }
  .cse-order-selector__stat{
    justify-content:center;
    min-height:34px;
    font-size:.78rem;
    padding:0 10px;
    text-align:center;
  }
  .cse-order-selector__stat-icon,
  .cse-order-filter-pill__icon{
    width:24px;
    height:24px;
    border-radius:8px;
    font-size:.72rem;
    flex-basis:24px;
  }
  .cse-order-filter{
    width:100%;
    min-width:0;
    font-size:16px;
  }
  .cse-order-filter-pills{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    width:100%;
    gap:8px;
  }
  .cse-order-filter-pill{
    width:100%;
    justify-content:center;
    min-height:36px;
    padding:0 12px;
    font-size:.84rem;
  }
  .cse-order-grid{
    gap:16px;
  }
  .cse-order-card{
    min-height:auto;
    padding:14px;
    border-radius:20px;
    grid-template-rows:auto;
  }
  .cse-order-card__media{
    height:208px;
  }
  .cse-order-card__footer{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:10px;
  }
  .cse-order-card__visual-mark{
    width:62px;
    height:62px;
    border-radius:20px;
    font-size:1.18rem;
    margin-bottom:2px;
  }
  .cse-order-card__visual-shape{
    width:108px;
    height:108px;
    border-radius:28px;
  }
  .cse-order-card__meta{
    font-size:.86rem;
    line-height:1.4;
  }
  .cse-order-card__pill{
    min-height:38px;
    width:100%;
  }
  .cse-order-card__arrow{
    width:38px;
    height:38px;
  }
}
@media (max-width:480px){
  .cse-order-page.cmd-layout{
    width:100%;
    padding-inline:10px;
  }
  .cse-order-selector{
    padding:12px;
  }
  .cse-order-selector__eyebrow{
    font-size:.72rem;
  }
  .cse-order-selector__stats{
    grid-template-columns:1fr;
  }
  .cse-order-selector__stat{
    justify-content:center;
    min-height:36px;
    padding:0 10px;
    text-align:center;
  }
  .cse-order-card{
    border-radius:22px;
    padding:12px;
    gap:10px;
  }
  .cse-order-card__media{
    height:188px;
    border-radius:16px;
    padding:10px;
  }
  .cse-order-card__status,
  .cse-order-card__timer{
    position:static;
    width:100%;
    font-size:.72rem;
  }
  .cse-order-card__status{
    padding:6px 9px;
  }
  .cse-order-card__timer{
    min-width:84px;
    padding:7px 10px;
  }
  .cse-order-card__media{
    align-items:flex-end;
  }
  .cse-order-card__media .cse-order-card__status,
  .cse-order-card__media .cse-order-card__timer{
    position:absolute;
    width:auto;
  }
  .cse-order-card__media .cse-order-card__status{
    left:10px;
    top:10px;
  }
  .cse-order-card__media .cse-order-card__timer{
    right:10px;
    top:10px;
  }
  .cse-order-card__footer{
    grid-template-columns:1fr 38px;
  }
  .cse-order-card__visual-kicker{
    padding:7px 10px;
    font-size:.72rem;
  }
  .cse-order-card__visual-mark{
    width:54px;
    height:54px;
    border-radius:18px;
    font-size:1.02rem;
    margin-bottom:0;
  }
  .cse-order-card__visual-shape{
    width:92px;
    height:92px;
    border-radius:24px;
  }
  .cse-order-card__title{
    font-size:1.02rem;
  }
  .cse-order-card__desc{
    font-size:.88rem;
  }
}
.cse-order-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:20px;
  align-items:start;
}
.cse-order-header{
  background:
    radial-gradient(circle at top right,rgba(255,224,174,.20),transparent 30%),
    linear-gradient(135deg,#fffefd 0%,#fffaf1 52%,#fff 100%);
  border:1px solid rgba(231,188,119,.20);
  border-radius:24px;
  padding:28px;
  box-shadow:0 18px 44px rgba(75,54,25,.06);
  margin-bottom:20px;
}
.cse-order-header__grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 220px auto;
  gap:20px;
  align-items:center;
}
.cse-order-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  color:#5E726C;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.cse-order-eyebrow::before{
  content:"";
  width:9px;
  height:9px;
  border-radius:999px;
  background:var(--brand-900);
  box-shadow:0 0 0 5px rgba(var(--brand-900-rgb),.10);
}
.cse-order-header h1{
  margin:0;
  font-size:2rem;
  line-height:1.08;
  color:#12352E;
}
.cse-order-header__desc{
  margin:10px 0 0;
  color:#60716C;
  font-size:1rem;
  line-height:1.6;
  max-width:760px;
  text-wrap:pretty;
}
.cse-order-header__meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}
.cse-order-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 16px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(231,188,119,.18);
  color:#315B51;
  font-weight:700;
  box-shadow:0 8px 20px rgba(15,23,42,.05);
}
.cse-order-chip svg{
  width:18px;
  height:18px;
}
.cse-order-cover img{
  width:220px;
  height:156px;
  object-fit:cover;
  border-radius:24px;
  box-shadow:0 18px 34px rgba(15,23,42,.16);
  border:1px solid rgba(var(--brand-900-rgb),.10);
  background:#fff;
}
.cse-order-header__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.cse-order-header__actions .btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 16px;
  border-radius:999px;
  text-decoration:none;
  border:1px solid rgba(231,188,119,.20);
  background:linear-gradient(180deg,#fff,#fff8ed);
  box-shadow:0 12px 22px rgba(75,54,25,.06);
  font-weight:800;
}
.cse-order-header__actions .btn-ghost:hover{
  background:linear-gradient(180deg,#fffdf8,#fff3dd);
}
.cse-order-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  font-size:.82rem;
  font-weight:800;
  background:#ECF7F2;
  color:var(--brand-900);
  border:1px solid rgba(var(--brand-900-rgb),.16);
}
.cse-order-body,
.cse-order-summary{
  background:
    radial-gradient(circle at top right,rgba(255,224,174,.14),transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,241,.96));
  border-radius:24px;
  border:1px solid rgba(231,188,119,.18);
  box-shadow:0 18px 44px rgba(75,54,25,.06);
}
.cse-order-body{
  padding:26px 28px;
  overflow:hidden;
}
.cse-order-summary{
  position:sticky;
  top:92px;
  padding:22px;
  background:
    radial-gradient(circle at top right,rgba(255,224,174,.14),transparent 30%),
    linear-gradient(180deg,#ffffff,#fff8ed);
}
.cse-order-summary__eyebrow{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#6A7D78;
  font-weight:800;
}
.cse-order-summary h3{
  margin:6px 0 0;
  color:#12352E;
}
.cse-order-summary__stats{
  display:grid;
  gap:12px;
  margin-top:18px;
}
.cse-order-summary__stat{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:16px;
  background:#fff;
  border:1px solid #E6ECE9;
  box-shadow:0 8px 18px rgba(15,23,42,.04);
}
.cse-order-summary__label{
  color:#60716C;
  font-weight:700;
}
.cse-order-summary__value{
  color:#12352E;
  font-weight:800;
}
.cse-order-summary__total{
  margin-top:18px;
  padding:18px;
  border-radius:18px;
  background:linear-gradient(180deg,var(--brand-900),#126553);
  color:#fff;
  box-shadow:0 16px 28px rgba(var(--brand-900-rgb),.22);
}
.cse-order-summary__total small{
  display:block;
  opacity:.8;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:700;
}
.cse-order-summary__total strong{
  display:block;
  margin-top:8px;
  font-size:2rem;
}
.cse-order-summary__note{
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  background:#F4F8F6;
  border:1px solid #E3ECE7;
  color:#60716C;
  font-size:.94rem;
  line-height:1.5;
}
.cse-order-submit{
  width:100%;
  margin-top:16px;
}
.cse-order-table tbody td{
  vertical-align:middle;
}
.cse-order-table tbody td:first-child{
  min-width:280px;
}
.cse-order-table .line-total{
  font-weight:800;
  color:#12352E;
}
.cse-order-status{
  letter-spacing:.02em;
}
.cse-order-card__title{
  text-wrap:balance;
}
.cse-order-card__desc{
  min-height:2.9em;
}

