.ntdp-wrap,
.ntdp-wrap *{
  box-sizing:border-box;
}

.ntdp-wrap{
  --ntdp-bg:#080807;
  --ntdp-panel:#12100c;
  --ntdp-panel-2:#1a160f;
  --ntdp-gold:#caa85c;
  --ntdp-gold-2:#f0d58d;
  --ntdp-text:#fff7e8;
  --ntdp-muted:#d6c39a;
  --ntdp-soft-muted:#9f9279;
  --ntdp-line:rgba(202,168,92,.42);
  --ntdp-line-soft:rgba(202,168,92,.2);
  --ntdp-soft:rgba(202,168,92,.1);
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 0 28px;
  color:var(--ntdp-text);
  background:transparent;
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ntdp-wrap ::-webkit-scrollbar{
  width:0;
  height:0;
}

.ntdp-hero{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
  margin:8px 0 18px;
  padding:0 0 22px;
  border-bottom:1px solid var(--ntdp-line);
  background:transparent;
}

.ntdp-hero-main{
  min-width:0;
}

.ntdp-kicker{
  display:none !important;
}

.ntdp-hero h2{
  margin:0 0 10px;
  color:var(--ntdp-text);
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(30px, 4vw, 52px);
  font-weight:700;
  line-height:.98;
  letter-spacing:-.045em;
}

.ntdp-hero p{
  max-width:820px;
  margin:0;
  color:var(--ntdp-muted);
  font-size:15px;
  line-height:1.65;
}

.ntdp-toolbar{
  display:grid;
  grid-template-columns:250px minmax(260px, 1fr) auto;
  gap:12px;
  align-items:end;
  margin:0 0 18px;
  padding:14px;
  border:1px solid var(--ntdp-line-soft);
  border-radius:20px;
  background:linear-gradient(135deg, rgba(202,168,92,.08), rgba(255,255,255,.025));
  box-shadow:0 12px 36px rgba(0,0,0,.18);
}

.ntdp-field{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.ntdp-field label{
  color:var(--ntdp-gold-2);
  font-size:11px;
  font-weight:900;
  letter-spacing:.03em;
}

.ntdp-select,
.ntdp-input{
  width:100%;
  min-height:46px;
  border:1px solid var(--ntdp-line);
  border-radius:14px;
  outline:none;
  padding:0 14px;
  background:#080807;
  color:var(--ntdp-text);
  font:inherit;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.3);
}

.ntdp-select:focus,
.ntdp-input:focus{
  border-color:rgba(240,213,141,.82);
  box-shadow:0 0 0 3px rgba(202,168,92,.12), inset 0 0 0 1px rgba(0,0,0,.3);
}

.ntdp-input::placeholder{
  color:rgba(255,247,232,.42);
}

.ntdp-statusline{
  display:flex;
  justify-content:space-between;
  gap:14px;
  margin:0 2px 18px;
  color:var(--ntdp-soft-muted);
  font-size:13px;
}

.ntdp-status.is-error{
  color:#ffb5a7;
}

.ntdp-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
}

.ntdp-card{
  overflow:hidden;
  border:1px solid var(--ntdp-line-soft);
  border-radius:18px;
  background:#14120e;
  box-shadow:0 10px 26px rgba(0,0,0,.24);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ntdp-card:hover{
  transform:translateY(-3px);
  border-color:rgba(240,213,141,.5);
  box-shadow:0 18px 42px rgba(0,0,0,.32);
}

.ntdp-card-visual{
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:1/1;
  padding:18px;
  background:#fff;
}

.ntdp-card-visual img{
  display:block;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.ntdp-card-body{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:14px;
  border-top:1px solid rgba(202,168,92,.14);
  background:linear-gradient(180deg, #17140f, #100e0b);
}

.ntdp-card-meta{
  min-height:15px;
  color:var(--ntdp-muted);
  font-size:10px;
  font-weight:800;
  line-height:1.35;
  text-transform:uppercase;
  letter-spacing:.025em;
}

.ntdp-card-title{
  min-height:42px;
  margin:0;
  color:var(--ntdp-text);
  font-family:Georgia, "Times New Roman", serif;
  font-size:16px;
  font-weight:700;
  line-height:1.25;
}

.ntdp-card-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin-top:2px;
}

.ntdp-primary,
.ntdp-secondary{
  min-height:42px;
  border:1px solid var(--ntdp-line);
  border-radius:999px;
  padding:9px 12px;
  cursor:pointer;
  font:inherit;
  font-size:12px;
  font-weight:900;
  transition:transform .16s ease, border-color .16s ease, opacity .16s ease, background .16s ease;
}

.ntdp-primary{
  color:#171008;
  background:linear-gradient(135deg, var(--ntdp-gold-2), var(--ntdp-gold));
}

.ntdp-secondary{
  color:var(--ntdp-gold-2);
  background:rgba(0,0,0,.22);
}

.ntdp-primary:hover,
.ntdp-secondary:hover{
  transform:translateY(-1px);
  border-color:rgba(240,213,141,.86);
}

.ntdp-secondary:hover{
  background:rgba(202,168,92,.12);
}

.ntdp-primary.is-disabled,
.ntdp-secondary.is-disabled{
  opacity:.48;
  cursor:not-allowed;
}

.ntdp-empty{
  grid-column:1/-1;
  padding:34px;
  border:1px dashed var(--ntdp-line);
  border-radius:20px;
  color:var(--ntdp-muted);
  text-align:center;
  background:rgba(255,255,255,.03);
}

@media (max-width:1024px){
  .ntdp-grid{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
}

@media (max-width:760px){
  .ntdp-wrap{ padding:0 0 20px; }
  .ntdp-hero{ flex-direction:column; align-items:flex-start; }
  .ntdp-toolbar{ grid-template-columns:1fr; }
  .ntdp-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }
  .ntdp-statusline{ flex-direction:column; }
}

@media (max-width:480px){
  .ntdp-grid{ grid-template-columns:1fr; }
}


/* Vitrine accueil : derniers designs sans actions Studio / Impression */
.ntdp-showcase-wrap{
  --ntdp-showcase-columns:4;
}

.ntdp-showcase-hero{
  align-items:center;
}

.ntdp-showcase-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 16px;
  border:1px solid var(--ntdp-line);
  border-radius:999px;
  color:#171008;
  background:linear-gradient(135deg, var(--ntdp-gold-2), var(--ntdp-gold));
  font-size:13px;
  font-weight:950;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 10px 22px rgba(0,0,0,.22);
}

.ntdp-showcase-cta:hover{
  transform:translateY(-1px);
  border-color:rgba(240,213,141,.86);
  text-decoration:none;
}

.ntdp-showcase-grid{
  grid-template-columns:repeat(var(--ntdp-showcase-columns), minmax(0, 1fr));
}

.ntdp-showcase-card .ntdp-card-body{
  min-height:108px;
}

.ntdp-showcase-card .ntdp-card-title{
  min-height:auto;
}

.ntdp-showcase-footer{
  display:flex;
  justify-content:center;
  margin-top:22px;
}

.ntdp-showcase-cta--footer{
  min-width:min(100%, 360px);
}

@media (max-width:1024px){
  .ntdp-showcase-grid{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
}

@media (max-width:760px){
  .ntdp-showcase-hero{ align-items:flex-start; }
  .ntdp-showcase-cta{ width:100%; }
  .ntdp-showcase-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}

@media (max-width:480px){
  .ntdp-showcase-grid{ grid-template-columns:1fr; }
}

/* v2.0.7 — Collections récentes + archives mensuelles, thème Premium Soft Gold */
.ntdp-quick-collections{
  margin:18px 0 12px;
  padding:14px;
  border:1px solid var(--ntdp-line-soft);
  border-radius:22px;
  background:linear-gradient(135deg, rgba(202,168,92,.08), rgba(255,255,255,.025));
  box-shadow:0 12px 36px rgba(0,0,0,.18);
}
.ntdp-quick-title{font-weight:900;color:var(--ntdp-gold-2);margin-bottom:10px;font-size:14px}
.ntdp-quick-chips{display:flex;gap:8px;flex-wrap:wrap}
.ntdp-chip{
  border:1px solid rgba(202,168,92,.42);
  background:#080807;
  color:var(--ntdp-text);
  border-radius:999px;
  padding:9px 12px;
  font-weight:900;
  cursor:pointer;
}
.ntdp-chip:hover{border-color:rgba(240,213,141,.72);background:rgba(202,168,92,.12)}
.ntdp-chip.is-active{background:linear-gradient(135deg,#f7df9d,#b98324);color:#1b1208}


/* v2.0.8 — date d'expiration des designs temporaires */
.ntdp-card-expiry{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-top:-2px;
  padding:9px 10px;
  border:1px solid rgba(202,168,92,.24);
  border-radius:12px;
  background:rgba(202,168,92,.07);
  color:var(--ntdp-gold-2);
  font-size:11px;
  font-weight:900;
  line-height:1.35;
}
.ntdp-card-expiry small{
  color:var(--ntdp-muted);
  font-size:10px;
  font-weight:800;
}
.ntdp-card-expiry.is-urgent{
  border-color:rgba(255,160,109,.52);
  background:rgba(255,120,72,.09);
  color:#ffd7bf;
}
.ntdp-card-expiry.is-urgent small{color:#ffc5a6;}
.ntdp-showcase-card .ntdp-card-expiry{margin-top:0;}


/* v2.0.9 — MyDesign : conservation et renouvellement global */
.ntdp-mydesign-retention{margin:14px 0 18px;padding:16px 18px;border:1px solid rgba(212,175,55,.28);border-radius:18px;background:linear-gradient(135deg,rgba(212,175,55,.09),rgba(255,255,255,.035));display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.ntdp-mydesign-retention[hidden]{display:none!important}
.ntdp-mydesign-retention>div{display:grid;gap:4px}
.ntdp-mydesign-retention strong{color:#f0cf6d;font-size:14px}
.ntdp-mydesign-retention span{color:var(--ntdp-muted,#b8ae9c);font-size:12px;line-height:1.45}
@media(max-width:720px){.ntdp-mydesign-retention .ntdp-primary{width:100%}}
