:root {
  --wppd-bg: #eef3f6;
  --wppd-surface: #ffffff;
  --wppd-surface-soft: #f7fafb;
  --wppd-ink: #142031;
  --wppd-muted: #64748b;
  --wppd-border: rgba(15, 23, 42, 0.12);
  --wppd-border-soft: rgba(15, 23, 42, 0.08);
  --wppd-accent: #0ba3a2;
  --wppd-accent-strong: #087b7a;
  --wppd-dark: #111827;
  --wppd-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  --wppd-radius: 8px;
}

/* Nova “Voir chez moi” preview. Kept above Fabritor so it remains available in 2D and 3D. */
.wppd-fabritor-wrap { position: relative; }
.wppd-nova-launch { position:fixed; z-index:2147483001; top:56px; right:calc(var(--wppd-desktop-purchase-right, 18px) + var(--wppd-desktop-purchase-width, 322px) + 10px); display:inline-flex; min-height:38px; align-items:center; justify-content:center; gap:8px; padding:0 14px; border:1px solid rgba(8,126,128,.18); border-radius:8px; background:rgba(230,246,246,.96); color:#076568; font:800 12px/1 inherit; letter-spacing:.025em; text-transform:uppercase; box-shadow:0 8px 20px rgba(15,42,46,.12); backdrop-filter:blur(12px); cursor:pointer; transition:right 230ms cubic-bezier(.16,1,.3,1),transform 180ms ease,background-color 180ms ease,color 180ms ease,box-shadow 180ms ease; }
.wppd-nova-launch__icon { width:18px; height:18px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.wppd-nova-launch:hover { background:#0b9998; color:#fff; box-shadow:0 11px 23px rgba(7,105,107,.22); transform:translateY(-1px); }
.wppd-nova-launch:focus-visible { outline:3px solid rgba(11,163,162,.25); outline-offset:2px; }
@media (min-width:769px) {
  .wppd-nova-launch { visibility:hidden; opacity:0; pointer-events:none; }
  #ice-container .fabritor-bottom-bar > .wppd-nova-launch.is-toolbar-docked {
    position:relative;
    z-index:auto;
    top:auto;
    right:auto;
    bottom:auto;
    left:auto;
    visibility:visible;
    flex:0 0 auto;
    width:auto;
    min-width:0;
    height:32px;
    min-height:32px;
    margin:0 0 0 3px;
    padding:0 10px;
    gap:6px;
    border:1px solid rgba(15,23,42,.1);
    border-radius:7px;
    background:#f7f9fa;
    color:#52656a;
    box-shadow:none;
    backdrop-filter:none;
    opacity:1;
    pointer-events:auto;
    font-family:inherit;
    font-size:10px;
    font-weight:750;
    line-height:1;
    letter-spacing:.015em;
    text-transform:uppercase;
    transition:background-color 150ms ease,border-color 150ms ease,color 150ms ease,box-shadow 150ms ease;
  }
  #ice-container .fabritor-bottom-bar > .wppd-nova-launch.is-toolbar-docked::before {
    content:"";
    position:absolute;
    top:5px;
    bottom:5px;
    left:-5px;
    width:1px;
    background:rgba(15,23,42,.11);
  }
  #ice-container .fabritor-bottom-bar > .wppd-nova-launch.is-toolbar-docked .wppd-nova-launch__icon {
    width:15px;
    height:15px;
    stroke-width:1.7;
  }
  #ice-container .fabritor-bottom-bar > .wppd-nova-launch.is-toolbar-docked:hover {
    border-color:rgba(11,163,162,.24);
    background:#edf8f7;
    color:#087b7a;
    box-shadow:none;
    transform:none;
  }
}
.wppd-nova-modal { position:fixed; z-index:2147483002; inset:0; display:grid; place-items:center; padding:20px; background:rgba(12,22,26,.76); backdrop-filter:blur(5px); animation:wppd-nova-fade .2s ease both; }
.wppd-nova-dialog { position:relative; width:min(480px,100%); max-height:min(92vh,760px); box-sizing:border-box; overflow:auto; border-radius:20px; padding:30px; background:#fff; color:#172d32; box-shadow:0 26px 80px rgba(0,0,0,.42); text-align:center; animation:wppd-nova-rise .35s cubic-bezier(.16,1,.3,1) both; }
.wppd-nova-dialog h2 { margin:6px 0 10px; color:#172d32; font-size:27px; line-height:1.15; }
.wppd-nova-dialog p { margin:0 0 18px; color:#657276; font-size:14px; line-height:1.6; }
.wppd-nova-brand { color:#159e91; font-weight:800; letter-spacing:.16em; font-size:11px; }
.wppd-nova-close { position:absolute; right:12px; top:10px; display:grid; width:34px; height:34px; place-items:center; border:0; border-radius:50%; background:#f2f5f5; color:#405054; font-size:23px; line-height:1; cursor:pointer; }
.wppd-nova-close:hover { background:#e5ecec; }.wppd-nova-close:disabled { opacity:.35; cursor:not-allowed; }
.wppd-nova-intro { max-width:390px; margin-inline:auto!important; }
.wppd-nova-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:5px; margin:20px 0; }
.wppd-nova-steps span { position:relative; padding-top:16px; color:#9aa5a7; font-size:10px; font-weight:700; text-transform:uppercase; }
.wppd-nova-steps span::before { content:""; position:absolute; top:3px; left:calc(50% - 5px); width:10px; height:10px; border-radius:50%; background:#dce3e4; transition:.25s ease; }
.wppd-nova-steps span::after { content:""; position:absolute; top:7px; right:55%; width:90%; height:2px; background:#e5eaea; z-index:-1; }.wppd-nova-steps span:first-child::after { display:none; }
.wppd-nova-steps span.is-active,.wppd-nova-steps span.is-done { color:#168f84; }.wppd-nova-steps span.is-active::before { background:#20b7a7; box-shadow:0 0 0 5px rgba(32,183,167,.14); }.wppd-nova-steps span.is-done::before { background:#20b7a7; }
.wppd-nova-quota { display:flex; align-items:center; gap:10px; margin:-4px 0 14px; padding:10px 12px; border:1px solid #dce9e7; border-radius:11px; background:#f5faf9; color:#355e5b; text-align:left; }.wppd-nova-quota[hidden] { display:none; }.wppd-nova-quota__icon { display:grid; flex:0 0 28px; width:28px; height:28px; place-items:center; border-radius:50%; background:#dff5f1; color:#168f84; font-size:15px; }.wppd-nova-quota strong,.wppd-nova-quota small { display:block; }.wppd-nova-quota strong { font-size:12px; line-height:1.3; }.wppd-nova-quota small { margin-top:2px; color:#788789; font-size:9px; line-height:1.35; }.wppd-nova-quota.has-bonus { border-color:#b8e7de; background:#f0fbf8; }.wppd-nova-quota.is-empty { border-color:#f1d4cf; background:#fff7f5; color:#9d3f36; }.wppd-nova-quota.is-empty .wppd-nova-quota__icon { background:#ffe3de; color:#b5473d; }
.wppd-nova-upload { display:flex; align-items:center; gap:13px; padding:15px; border:1.5px dashed #9bcfc9; border-radius:13px; background:#f2fbf9; color:#176b64; text-align:left; cursor:pointer; transition:.2s ease; }.wppd-nova-upload:hover { border-color:#20b7a7; background:#e9f8f5; }.wppd-nova-upload[hidden] { display:none; }.wppd-nova-upload__icon { display:grid; flex:0 0 40px; width:40px; height:40px; place-items:center; border-radius:10px; background:#20b7a7; color:#fff; font-size:24px; }.wppd-nova-upload strong,.wppd-nova-upload small { display:block; }.wppd-nova-upload small { margin-top:3px; color:#708083; font-size:11px; }
.wppd-nova-room-preview { position:relative; height:150px; overflow:hidden; border-radius:13px; background:#eef2f2; }.wppd-nova-room-preview[hidden] { display:none; }.wppd-nova-room-preview img { width:100%; height:100%; object-fit:cover; }.wppd-nova-room-preview button { position:absolute; right:9px; bottom:9px; padding:7px 11px; border:0; border-radius:7px; background:rgba(23,45,50,.9); color:#fff; font:600 11px inherit; cursor:pointer; }
.wppd-nova-turnstile { display:flex; width:100%; min-width:0; min-height:65px; justify-content:center; align-items:center; margin-top:14px; overflow:hidden; }.wppd-nova-turnstile > div { width:100%!important; max-width:100%!important; margin-inline:auto; }.wppd-nova-turnstile iframe { display:block; width:100%!important; max-width:100%!important; }
.wppd-nova-progress { height:5px; overflow:hidden; margin:10px 0 12px; border-radius:99px; background:#e8eeee; }.wppd-nova-progress__bar { display:block; width:5%; height:100%; border-radius:inherit; background:linear-gradient(90deg,#20b7a7,#0c8988); transition:width .55s ease; }
.wppd-nova-status { display:flex; min-height:45px; align-items:center; gap:10px; padding:10px 12px; border-radius:10px; background:#f4f8f8; color:#526164; text-align:left; font-size:12px; line-height:1.45; }.wppd-nova-status__icon { display:grid; flex:0 0 25px; width:25px; height:25px; place-items:center; border-radius:50%; background:#dff5f1; color:#168f84; font-weight:800; }.wppd-nova-status.is-error { background:#fff1f0; color:#a23b35; }.wppd-nova-status.is-error .wppd-nova-status__icon { background:#ffdcd9; color:#b93d35; }.wppd-nova-status.is-success .wppd-nova-status__icon { background:#d9f5e7; color:#16865d; }
.wppd-nova-unlock { margin-top:12px; padding:14px; border:1px solid #d8e6e4; border-radius:12px; background:linear-gradient(145deg,#f8fbfb,#f1f8f7); text-align:left; }.wppd-nova-unlock[hidden] { display:none; }.wppd-nova-unlock__heading { display:flex; align-items:center; gap:10px; }.wppd-nova-unlock__heading>span { display:grid; flex:0 0 38px; height:38px; place-items:center; border-radius:10px; background:#17373a; color:#fff; font-size:12px; font-weight:850; }.wppd-nova-unlock__heading strong,.wppd-nova-unlock__heading small { display:block; }.wppd-nova-unlock__heading strong { color:#203b3f; font-size:12px; }.wppd-nova-unlock__heading small { margin-top:2px; color:#748386; font-size:9px; line-height:1.35; }.wppd-nova-unlock__contacts { display:flex; gap:7px; margin:11px 0 9px 48px; }.wppd-nova-unlock__contacts a { color:#0b8782!important; font-size:10px; font-weight:750; text-decoration:none!important; }.wppd-nova-unlock__contacts a+a::before { content:"·"; margin-right:7px; color:#a5b1b2; }.wppd-nova-code-form { display:flex; gap:7px; }.wppd-nova-code-form input { min-width:0; flex:1; height:39px; padding:0 10px; border:1px solid #ccd9d9; border-radius:8px; background:#fff; color:#263c40; font:700 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.035em; text-transform:uppercase; }.wppd-nova-code-form input:focus { border-color:#20a99d; outline:3px solid rgba(32,169,157,.12); }.wppd-nova-code-form button { flex:0 0 auto; min-width:82px; border:0; border-radius:8px; background:#17373a; color:#fff; font:750 10px/1 inherit; cursor:pointer; }.wppd-nova-code-form button:disabled { opacity:.55; cursor:wait; }.wppd-nova-code-feedback { display:block; min-height:14px; margin-top:6px; color:#748386; font-size:9px; line-height:1.4; }.wppd-nova-code-feedback.is-error { color:#ad4138; }.wppd-nova-code-feedback.is-success { color:#16865d; }
.wppd-nova-spinner { display:block; width:15px; height:15px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:wppd-nova-spin .7s linear infinite; }
.wppd-nova-submit { display:flex; width:100%; min-height:46px; justify-content:center; align-items:center; margin-top:15px; padding:0 18px; border:0; border-radius:9px; background:#20b7a7; color:#fff; font:750 13px inherit; text-transform:uppercase; letter-spacing:.04em; cursor:pointer; transition:.2s ease; }.wppd-nova-submit:hover:not(:disabled) { background:#168f84; transform:translateY(-1px); }.wppd-nova-submit:disabled { opacity:.45; cursor:not-allowed; }.wppd-nova-submit__loading { display:none; align-items:center; gap:9px; }.wppd-nova-submit.is-loading .wppd-nova-submit__label { display:none; }.wppd-nova-submit.is-loading .wppd-nova-submit__loading { display:flex; }
.wppd-nova-privacy { display:block; margin-top:11px; color:#899497; font-size:10px; }.wppd-nova-result { display:block; width:100%; max-height:55vh; margin:18px 0 0; object-fit:contain; border-radius:12px; background:#edf2f2; }.wppd-nova-success-mark { display:grid; width:50px; height:50px; place-items:center; margin:0 auto 10px; border-radius:50%; background:#d9f6eb; color:#16865d; font-size:25px; font-weight:800; animation:wppd-nova-pop .4s cubic-bezier(.16,1,.3,1); }
.wppd-nova-result-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:15px; }.wppd-nova-download,.wppd-nova-return { display:inline-flex; min-height:44px; align-items:center; justify-content:center; gap:8px; box-sizing:border-box; margin:0; padding:0 14px; border-radius:9px; font:750 12px/1.2 inherit; text-decoration:none!important; cursor:pointer; transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease; }.wppd-nova-download { border:0; background:#20b7a7; color:#fff!important; box-shadow:0 7px 17px rgba(22,143,132,.18); }.wppd-nova-download svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }.wppd-nova-download:hover { background:#168f84; color:#fff!important; transform:translateY(-1px); }.wppd-nova-return { border:1px solid #cfdadb; background:#fff; color:#526164; }.wppd-nova-return:hover { background:#f2f7f7; transform:translateY(-1px); }
@keyframes wppd-nova-spin { to { transform:rotate(360deg); } } @keyframes wppd-nova-fade { from { opacity:0; } } @keyframes wppd-nova-rise { from { opacity:0; transform:translateY(16px) scale(.97); } } @keyframes wppd-nova-pop { from { transform:scale(.4); opacity:0; } }
@media (prefers-reduced-motion:reduce) { .wppd-nova-modal,.wppd-nova-dialog,.wppd-nova-spinner,.wppd-nova-success-mark { animation:none!important; } }
@media (max-width:768px) { .wppd-nova-launch { top:auto; right:auto; bottom:calc(var(--wppd-mobile-bottom-stack,126px) + 14px); left:12px; width:42px; min-width:42px; height:42px; min-height:42px; padding:0; gap:0; border:1px solid rgba(8,126,128,.14); border-radius:9px; background:rgba(255,255,255,.96); color:#0b9998; box-shadow:0 7px 18px rgba(15,42,46,.15); backdrop-filter:blur(10px); transform:none; transition:opacity 140ms ease,visibility 140ms ease,transform 140ms ease,background-color 180ms ease; }.wppd-nova-launch.is-panel-covered { visibility:hidden; opacity:0; pointer-events:none; transform:translateY(6px); }.wppd-nova-launch span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }.wppd-nova-launch:hover { background:#f0fbf9; color:#07888a; transform:translateY(-1px); }.wppd-nova-launch__icon { width:19px; height:19px; }.wppd-nova-modal { padding:8px; align-items:end; }.wppd-nova-dialog { width:100%; max-height:92svh; padding:24px 18px 18px; border-radius:18px 18px 8px 8px; }.wppd-nova-steps span { font-size:8px; }.wppd-nova-room-preview { height:130px; }.wppd-nova-result-actions { grid-template-columns:1fr; } }

/* Reliable editor tutorial. It reuses Fabritor's help button and owns the tour overlay. */
.wppd-tutorial { position:fixed; z-index:2147483500; inset:0; color:#172d32; font-family:inherit; }
.wppd-tutorial__scrim { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; border-radius:0; background:rgba(9,20,25,.68)!important; cursor:default; backdrop-filter:blur(2px); }
.wppd-tutorial__focus { position:fixed; z-index:1; box-sizing:border-box; border:3px solid #2bc0b2; border-radius:12px; box-shadow:0 0 0 4px rgba(43,192,178,.18),0 12px 36px rgba(0,0,0,.28); pointer-events:none; transition:left .22s ease,top .22s ease,width .22s ease,height .22s ease; }
.wppd-tutorial__focus[hidden] { display:none; }
.wppd-tutorial__card { position:fixed; z-index:2; width:min(370px,calc(100vw - 32px)); box-sizing:border-box; padding:24px; border:1px solid rgba(11,163,162,.14); border-radius:16px; outline:0; background:#fff; box-shadow:0 24px 70px rgba(0,0,0,.35); }
.wppd-tutorial__close { position:absolute; top:10px; right:10px; display:grid; width:34px; height:34px; place-items:center; padding:0; border:0; border-radius:9px; background:#f1f5f5; color:#43565a; font-family:inherit; font-size:22px; font-weight:500; line-height:1; cursor:pointer; }
.wppd-tutorial__close:hover { background:#e4ecec; }
.wppd-tutorial__eyebrow { margin:0 42px 9px 0; color:#0b9998; font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.wppd-tutorial__progress { height:4px; margin:0 0 12px; overflow:hidden; border-radius:99px; background:#e8eeee; }
.wppd-tutorial__progress span { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,#2bc0b2,#07888a); transition:width .22s ease; }
.wppd-tutorial__counter { color:#7b898c; font-size:11px; font-weight:650; }
.wppd-tutorial__card h2 { margin:7px 0 8px; color:#172d32; font-size:23px; line-height:1.2; }
.wppd-tutorial__card p { min-height:66px; margin:0; color:#617176; font-size:14px; line-height:1.55; }
.wppd-tutorial__actions { display:flex; justify-content:space-between; gap:10px; margin-top:20px; }
.wppd-tutorial__actions button { min-height:42px; padding:0 16px; border-radius:9px; font-family:inherit; font-size:12px; font-weight:750; line-height:1; cursor:pointer; }
.wppd-tutorial__previous { border:1px solid #d5dfdf; background:#fff; color:#526164; }
.wppd-tutorial__previous:disabled { opacity:.38; cursor:default; }
.wppd-tutorial__next { min-width:108px; border:0; background:#0ba3a2; color:#fff; box-shadow:0 7px 17px rgba(11,163,162,.2); }
.wppd-tutorial__next:hover { background:#07888a; }
.wppd-tutorial button:focus-visible { outline:3px solid rgba(43,192,178,.35); outline-offset:2px; }
html.wppd-tutorial-active { overflow:hidden; }
@media (max-width:768px) {
  .wppd-tutorial__scrim { backdrop-filter:none; }
  .wppd-tutorial__focus { border-width:2px; border-radius:10px; }
  .wppd-tutorial__card { left:12px!important; right:12px!important; top:auto!important; bottom:calc(12px + env(safe-area-inset-bottom,0px)); width:auto; padding:20px; border-radius:15px; }
  .wppd-tutorial.is-card-top .wppd-tutorial__card { top:12px!important; bottom:auto; }
  .wppd-tutorial__card h2 { font-size:20px; }
  .wppd-tutorial__card p { min-height:62px; font-size:13px; }
  .wppd-tutorial__actions { margin-top:15px; }
}
@media (prefers-reduced-motion:reduce) {
  .wppd-tutorial__focus,.wppd-tutorial__progress span { transition:none; }
}

.wppd-form,
.wppd-shell,
.wppd-shell * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.wppd-form {
  width: 100%;
  margin: 0;
  color: var(--wppd-ink);
  font-family: inherit;
}

.wppd-shell {
  position: relative;
  display: grid;
  min-height: 720px;
  gap: 10px;
  padding: 10px;
  background: var(--wppd-bg);
  overflow: visible;
}

.wppd-shell button,
.wppd-shell input,
.wppd-shell select,
.wppd-shell textarea {
  font: inherit;
}

.wppd-shell button {
  cursor: pointer;
}

.wppd-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.wppd-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wppd-studio-topbar,
.wppd-stage,
.wppd-tool-dock,
.wppd-editor-rail,
.wppd-rail-card,
.wppd-purchase-dock,
.wppd-source-sheet,
.wppd-picker-sheet,
.wppd-library-item,
.wppd-picker-option,
.wppd-picker-trigger,
.wppd-upload-field,
.wppd-stage-controls,
.wppd-button,
.wppd-icon-btn,
.wppd-chip-btn,
.wppd-mobile-tools-toggle,
.wppd-mobile-actions-toggle {
  border-radius: var(--wppd-radius) !important;
}

.wppd-studio-topbar,
.wppd-rail-card,
.wppd-tool-dock,
.wppd-purchase-dock,
.wppd-stage-controls {
  border: 1px solid var(--wppd-border-soft);
  background: rgba(255, 255, 255, 0.92);
}

/* ── Fabritor editor wrapper ──────────────────────────────────── */

.wppd-fabritor-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  min-height: 540px;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.wppd-fabritor-wrap #ice-container {
  flex: 1;
  height: 100%;
  min-height: 0;
}

/* ── Full-screen studio layout ───────────────────────────────── */

html.wppd-studio-active .site,
html.wppd-studio-active .page-wrapper,
html.wppd-studio-active .main-container,
html.wppd-studio-active .content-area {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

html.wppd-studio-active .wppd-form {
  position: fixed;
  inset: 0;
  z-index: 2147482600;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

html.wppd-studio-active .wppd-form .wppd-fabritor-wrap {
  flex: 1;
  height: 100%;
}

html.wppd-studio-active .wppd-form .wc-stripe-clear,
html.wppd-studio-active .wppd-form .wc-stripe-notice {
  display: none !important;
}

/* ── Hide theme chrome & chat widgets globally ───────────────── */

html html.wppd-studio-active #wpadminbar,
html html.wppd-studio-active #wpfront-notification-bar,
html html.wppd-studio-active #wpfront-notification-bar-spacer,
html html.wppd-studio-active .header-top,
html html.wppd-studio-active .header-middle,
html html.wppd-studio-active .header-bottom,
html html.wppd-studio-active .ts-header,
html html.wppd-studio-active header:not(.wppd-studio-topbar),
html html.wppd-studio-active .breadcrumb-title-wrapper,
html html.wppd-studio-active .page-title,
html html.wppd-studio-active .footer-container,
html html.wppd-studio-active .site-footer,
html html.wppd-studio-active footer:not(.wppd-purchase-dock),
html html.wppd-studio-active #colophon,
html html.wppd-studio-active .ht-ctc,
html html.wppd-studio-active .ht-ctc-chat,
html html.wppd-studio-active #ht-ctc-chat,
html html.wppd-studio-active [class*="ht-ctc"],
html html.wppd-studio-active [id*="ht-ctc"],
html html.wppd-studio-active [class*="ctc_"],
html html.wppd-studio-active [class*="whatsapp"],
html html.wppd-studio-active [id*="whatsapp"],
html html.wppd-studio-active .joinchat,
html html.wppd-studio-active .qlwapp,
html html.wppd-studio-active #ht-ctc-chat *,
html html.wppd-studio-active [class*="ht_ctc"],
html html.wppd-studio-active [class*="ht_ctc"] *,
html html.wppd-studio-active [class*="ctc_s_"],
html html.wppd-studio-active [class*="ctc_s_"] *,
html html.wppd-studio-active [class*="chaty"],
html html.wppd-studio-active [class*="chaty"] *,
html html.wppd-studio-active [id*="chaty"],
html html.wppd-studio-active [id*="chaty"] *,
html html.wppd-studio-active [class*="buttonizer"],
html html.wppd-studio-active [class*="buttonizer"] *,
html html.wppd-studio-active [class*="wa__"],
html html.wppd-studio-active [class*="wa__"] *,
html html.wppd-studio-active [class*="qlwapp"],
html html.wppd-studio-active [class*="qlwapp"] *,
html html.wppd-studio-active [class*="joinchat"],
html html.wppd-studio-active [class*="joinchat"] *,
html html.wppd-studio-active .elementor-location-header,
html html.wppd-studio-active .elementor-location-footer {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html,
html.wppd-studio-active {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #fff !important;
}

/* ── Hide fabritor's internal continue / export buttons ──────── */

html.wppd-studio-active #fabritor-export-button {
  display: none !important;
}

html.wppd-studio-active .fabritor-header-export > .ant-dropdown-trigger {
  display: none !important;
}

/* ── Hide fabritor's internal checkout footer (TOTAL w/ ♡ + AJOUTER) ── */
html.wppd-studio-active .fabritor-section-footer-checkout,
html.wppd-studio-active .wppd-form section[class*="checkout"],
html.wppd-studio-active .wppd-form footer[class*="purchase"] {
}

/* ── Purchase dock styling (desktop) ─────────────────────────── */

.wppd-studio-topbar {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(280px, 380px) minmax(160px, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}

.wppd-studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wppd-studio-brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--wppd-radius);
  background: var(--wppd-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.wppd-studio-brand__text {
  overflow: hidden;
  color: var(--wppd-ink);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wppd-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-self: center;
  width: 100%;
  height: 38px;
  padding: 3px;
  border: 1px solid var(--wppd-border);
  border-radius: var(--wppd-radius);
  background: rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.wppd-mode-option {
  height: 30px;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.wppd-mode-option:hover,
.wppd-mode-option:focus-visible {
  outline: 0;
  color: var(--wppd-ink);
  background: rgba(255, 255, 255, 0.68);
}

.wppd-mode-option.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.wppd-studio-main {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(260px, 310px);
  grid-template-areas: "tools stage inspector";
  gap: 10px;
  min-height: 560px;
}

.wppd-tool-dock {
  grid-area: tools;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 6px;
}

.wppd-tool-dock__button {
  display: grid;
  min-height: 58px;
  place-items: center;
  gap: 4px;
  padding: 6px 4px;
  border: 1px solid var(--wppd-border-soft);
  border-radius: var(--wppd-radius);
  background: #fff;
  color: #334155;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.wppd-tool-dock__button:hover,
.wppd-tool-dock__button:focus-visible,
.wppd-tool-dock__button.is-active {
  outline: 0;
  color: var(--wppd-accent);
  border-color: rgba(15, 143, 131, 0.32);
  background: #f6fffd;
  transform: translateY(-1px);
}

.wppd-stage {
  grid-area: stage;
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--wppd-border-soft);
  background:
    radial-gradient(circle at 50% 42%, #fff 0, #f8fbfc 36%, #e6eef3 100%);
  box-shadow: inset 0 0 80px rgba(15, 23, 42, 0.04);
}

.wppd-canvas-wrap,
.wppd-canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: inherit;
  background: #fff;
}

.wppd-stage-overlay {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  z-index: 3;
}

.wppd-stage-badge,
.wppd-overlay-row,
.wppd-stage-controls {
  pointer-events: auto;
}

.wppd-stage-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--wppd-border-soft);
  border-radius: var(--wppd-radius);
  background: rgba(255, 255, 255, 0.9);
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.wppd-overlay-row--right {
  position: absolute;
  top: 0;
  right: 0;
}

.wppd-stage-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  gap: 5px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
}

.wppd-icon-btn,
.wppd-chip-btn,
.wppd-panel-close,
.wppd-library-page-btn,
.wppd-actions-close {
  display: inline-flex !important;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px !important;
  border: 1px solid var(--wppd-border);
  background: #fff;
  color: var(--wppd-ink);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.wppd-icon-btn {
  width: 36px;
  min-width: 36px;
  padding: 0 !important;
}

.wppd-editor-rail {
  grid-area: inspector;
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  overflow: visible;
}

.wppd-rail-card {
  display: grid;
  gap: 7px;
  padding: 10px;
}

.wppd-rail-card--source,
.wppd-rail-card--frame,
.wppd-rail-card--material,
.wppd-rail-card--color,
.wppd-rail-card--background {
  display: none;
}

.wppd-rail-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--wppd-ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.wppd-sticky-bar__dims {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wppd-sticky-bar__dims label {
  display: grid;
  gap: 6px;
  min-height: 70px;
  padding: 8px;
  border: 1px solid var(--wppd-border-soft);
  border-radius: var(--wppd-radius);
  background: #fff;
}

.wppd-sticky-bar__dims label > span {
  font-size: 11px;
  font-weight: 900;
  color: var(--wppd-ink);
}

.wppd-sticky-bar__dims input,
.wppd-note-toggle textarea,
.wppd-library-search input,
.wppd-pretty-select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--wppd-border);
  border-radius: var(--wppd-radius);
  background: #fff;
  color: var(--wppd-ink);
  font-weight: 800;
}

.wppd-sticky-bar__dims input {
  padding: 0 10px;
  font-size: 18px;
}

.wppd-note-toggle {
  display: grid;
  gap: 8px;
}

.wppd-note-toggle summary {
  cursor: pointer;
  color: var(--wppd-ink);
  font-size: 13px;
  font-weight: 900;
}

.wppd-note-toggle textarea {
  min-height: 74px;
  padding: 10px;
  resize: vertical;
  font-weight: 600;
}

.wppd-purchase-dock {
  display: grid;
  grid-template-columns: minmax(130px, 220px) minmax(240px, 420px);
  justify-content: end;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  box-shadow: var(--wppd-shadow);
}

.wppd-sticky-bar__meta {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--wppd-border-soft);
  border-radius: var(--wppd-radius);
  background: #fff;
}

.wppd-sticky-bar__meta > span {
  color: var(--wppd-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.wppd-price {
  color: var(--wppd-ink);
  font-size: clamp(22px, 1.7vw, 28px);
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.wppd-sticky-bar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.wppd-actions-sheet__head,
.wppd-mobile-actions-toggle,
.wppd-mobile-tools-toggle {
  display: none !important;
}

.wppd-ar-btn {
  grid-area: ar;
}

.wppd-purchase-dock .wishlist {
  grid-area: wishlist;
}

.wppd-purchase-dock .wishlist,
.wppd-purchase-dock .wishlist a {
  display: grid !important;
  width: 44px;
  min-width: 44px;
  height: 38px;
  min-height: 38px;
  place-items: center;
}

.wppd-purchase-dock .wishlist a {
  border: 1px solid var(--wppd-border);
  border-radius: var(--wppd-radius);
  background: #fff;
  color: var(--wppd-ink);
  text-decoration: none;
}

.wppd-purchase-dock .wishlist a > * {
  display: none !important;
}

.wppd-purchase-dock .wishlist a::before {
  content: "♡";
  font-size: 20px;
  line-height: 1;
}

.wppd-purchase-dock .wishlist a.is-saved::before,
.wppd-purchase-dock .wishlist a.added::before {
  content: "♥";
  color: var(--wppd-accent);
}

.wppd-cart-action {
  position: fixed;
  top: 3px;
  right: 56px;
  z-index: 2147482700;
  display: flex;
  width: auto;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.2));
}

.wppd-cart-action .wppd-add-to-cart {
  width: auto;
  min-width: 190px;
  min-height: 44px;
  padding: 0 18px !important;
  border-radius: 10px !important;
}

.wppd-add-to-cart {
  flex: 1 1 auto;
  width: auto;
  min-height: 46px;
  border: 0 !important;
  background: var(--wppd-accent) !important;
  color: #fff !important;
  text-transform: uppercase;
}

.wppd-add-to-cart:hover,
.wppd-add-to-cart:focus-visible {
  background: var(--wppd-accent-strong) !important;
  outline: 0;
}

.wppd-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 2147483002;
  max-width: min(420px, calc(100vw - 32px));
  padding: 10px 14px;
  border-radius: var(--wppd-radius);
  background: var(--wppd-dark);
  color: #fff;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.wppd-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.wppd-toast.is-error {
  background: #991b1b;
}

.wppd-source-modal,
.wppd-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(12px);
}

.wppd-source-modal[hidden],
.wppd-picker-modal[hidden],
.wppd-source-sheet[hidden],
.wppd-picker-panel[hidden],
[data-wppd-mode][hidden],
[data-wppd-panel][hidden] {
  display: none !important;
}

.wppd-source-modal__header {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.wppd-source-sheet,
.wppd-picker-sheet {
  width: min(980px, 100%);
  max-height: min(760px, calc(100dvh - 40px));
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--wppd-border);
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.wppd-picker-header,
.wppd-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.wppd-picker-header h3,
.wppd-section-head h3 {
  margin: 0;
  color: var(--wppd-ink);
  font-size: 18px;
  font-weight: 900;
}

.wppd-picker-grid,
.wppd-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.wppd-picker-option,
.wppd-library-item {
  display: grid;
  gap: 8px;
  min-height: 108px;
  padding: 10px;
  border: 1px solid var(--wppd-border-soft);
  background: #fff;
  color: var(--wppd-ink);
  text-align: left;
}

.wppd-picker-option:hover,
.wppd-library-item:hover,
.wppd-picker-option.is-active {
  border-color: rgba(15, 143, 131, 0.35);
  background: #f6fffd;
}

.wppd-library-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--wppd-radius);
}

.wppd-library-item span,
.wppd-picker-option__label {
  font-size: 12px;
  font-weight: 900;
}

.wppd-picker-option__icon,
.wppd-picker-trigger__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--wppd-border-soft);
  border-radius: var(--wppd-radius);
  background: var(--wppd-surface-soft);
}

.wppd-picker-option__icon--color,
.wppd-picker-trigger__icon--color {
  background: var(--wppd-swatch, #d4b58a) !important;
}

.wppd-picker-profile-icon {
  width: 32px;
  height: 28px;
}

.wppd-picker-profile-icon path {
  fill: currentColor;
}

.wppd-library-topbar,
.wppd-library-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.wppd-upload-field {
  display: grid;
  min-height: 220px;
  place-items: center;
  gap: 8px;
  padding: 20px;
  border: 1px dashed rgba(15, 23, 42, 0.25);
  background: #f8fafc;
  text-align: center;
}

.wppd-upload-field input {
  max-width: 100%;
}

.wppd-upload-title {
  color: var(--wppd-ink);
  font-size: 18px;
  font-weight: 900;
}

.wppd-debug-banner,
.tslg-screen {
  display: none !important;
}

@media (min-width: 1024px) {
  html.wppd-studio-active .wppd-stage-overlay .wppd-overlay-row--right {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .wppd-cart-action {
    top: 5px;
    right: 48px;
  }

  .wppd-cart-action .wppd-add-to-cart {
    min-width: 0;
    min-height: 40px;
    height: 40px;
    padding: 0 12px !important;
    font-size: 11px;
  }

  html html.wppd-studio-active #wpadminbar,
  html html.wppd-studio-active #wpfront-notification-bar,
  html html.wppd-studio-active #wpfront-notification-bar-spacer,
  html html.wppd-studio-active .header-top,
  html html.wppd-studio-active .header-middle,
  html html.wppd-studio-active .header-bottom,
  html html.wppd-studio-active .ts-header,
  html html.wppd-studio-active header:not(.wppd-studio-topbar),
  html html.wppd-studio-active .breadcrumb-title-wrapper,
  html html.wppd-studio-active .page-title,
  html html.wppd-studio-active .footer-container,
  html html.wppd-studio-active .site-footer,
  html html.wppd-studio-active footer:not(.wppd-purchase-dock),
  html html.wppd-studio-active #colophon,
  html html.wppd-studio-active .ht-ctc,
  html html.wppd-studio-active .ht-ctc-chat,
  html html.wppd-studio-active #ht-ctc-chat,
  html html.wppd-studio-active [class*="ht-ctc"],
  html html.wppd-studio-active [id*="ht-ctc"],
  html html.wppd-studio-active [class*="ctc_"],
  html html.wppd-studio-active [class*="whatsapp"],
  html html.wppd-studio-active [id*="whatsapp"],
  html html.wppd-studio-active .joinchat,
  html html.wppd-studio-active .qlwapp {
    display: none !important;
  }

  html,
  html.wppd-studio-active {
    width: 100% !important;
    height: 100% !important;
    overflow-x: hidden !important;
  }

  html.wppd-studio-active {
    overflow: hidden !important;
    background: var(--wppd-bg) !important;
  }

  .wppd-form {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147482000;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100svh !important;
    max-height: 100svh !important;
    margin: 0 !important;
    background: var(--wppd-bg);
    overflow: hidden !important;
  }

  .wppd-shell {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100vw;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    padding: max(10px, env(safe-area-inset-top)) 8px calc(116px + env(safe-area-inset-bottom));
    gap: 8px;
    overflow: hidden;
  }

  .wppd-studio-topbar {
    grid-template-columns: 1fr;
    padding: 7px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  }

  .wppd-studio-brand {
    display: none;
  }

  .wppd-mode-switch {
    height: 40px;
  }

  .wppd-mode-option {
    height: 34px;
    min-height: 34px;
  }

  .wppd-studio-main {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas: "stage";
    gap: 0;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .wppd-stage {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .wppd-canvas-wrap,
  .wppd-canvas {
    min-height: 0;
  }

  .wppd-stage-overlay {
    inset: 9px;
  }

  .wppd-overlay-row--right {
    top: 0;
    right: 0;
  }

  .wppd-stage-controls {
    top: 56px;
    right: 9px;
    bottom: auto;
    flex-direction: column;
  }

  .wppd-tool-dock {
    position: fixed !important;
    left: 8px;
    right: 8px;
    bottom: calc(144px + env(safe-area-inset-bottom));
    z-index: 2147482501;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  }

  .wppd-shell.is-tools-open .wppd-tool-dock {
    display: grid;
  }

  .wppd-mobile-tools-toggle {
    grid-area: tools;
    position: static;
    display: inline-flex !important;
    width: 44px;
    min-width: 44px;
    height: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px !important;
    border: 1px solid var(--wppd-border);
    background: #fff;
    color: var(--wppd-ink);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: none;
  }

  .wppd-mobile-tools-toggle:hover,
  .wppd-mobile-tools-toggle:focus-visible {
    outline: 0;
    border-color: rgba(15, 143, 131, 0.35);
    color: var(--wppd-accent);
    background: #f6fffd;
  }

  .wppd-mobile-tools-toggle span {
    display: none;
  }

  .wppd-shell.is-tools-open .wppd-mobile-tools-toggle {
    display: none !important;
  }

  .wppd-tool-dock__head {
    grid-column: 1 / -1;
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 2px;
    color: var(--wppd-ink);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .wppd-tool-dock__close {
    display: inline-flex;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 1px solid var(--wppd-border);
    border-radius: var(--wppd-radius);
    background: #fff;
    color: var(--wppd-muted);
    font-size: 0;
    line-height: 1;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
  }

  .wppd-tool-dock__close::before,
  .wppd-tool-dock__close::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .wppd-tool-dock__close::before {
    transform: rotate(45deg);
  }

  .wppd-tool-dock__close::after {
    transform: rotate(-45deg);
  }

  .wppd-tool-dock__close:hover,
  .wppd-tool-dock__close:focus-visible {
    outline: 0;
    border-color: rgba(15, 143, 131, 0.35);
    background: #f6fffd;
    color: var(--wppd-accent);
  }

  .wppd-editor-rail {
    position: absolute !important;
    inset: auto 0 0 auto !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    transform: none !important;
    filter: none !important;
    backdrop-filter: none !important;
  }

  .wppd-editor-rail > section {
    display: none !important;
  }

  .wppd-purchase-dock {
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    bottom: calc(8px + env(safe-area-inset-bottom)) !important;
    z-index: 2147482600;
    display: grid;
    grid-template-columns: 44px minmax(86px, 0.55fr) minmax(138px, 1fr);
    grid-template-areas: "wishlist price cart";
    align-items: center;
    gap: 7px;
    width: auto !important;
    min-height: 0;
    padding: 7px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.2);
  }

  .wppd-purchase-dock .wppd-sticky-bar__meta {
    grid-area: price;
    min-width: 0;
    padding: 5px 8px;
  }

  .wppd-price {
    overflow: hidden;
    font-size: clamp(19px, 5.5vw, 24px);
    text-overflow: ellipsis;
  }

  .wppd-mobile-actions-toggle {
    display: none !important;
  }

  .wppd-sticky-bar__actions {
    display: contents !important;
  }

  .wppd-actions-sheet__head {
    display: none !important;
  }

  .wppd-actions-close {
    display: none !important;
  }

  .wppd-purchase-dock .wppd-ar-btn {
    display: none !important;
  }

  .wppd-purchase-dock .wishlist,
  .wppd-purchase-dock .wishlist a {
    grid-area: wishlist;
    width: 44px;
    min-width: 44px;
    height: 42px;
    min-height: 42px;
  }

  .wppd-add-to-cart {
    grid-area: cart;
    height: 44px;
    min-height: 44px;
    min-width: 0;
    padding: 0 10px !important;
    font-size: 12px;
  }

  .wppd-source-modal,
  .wppd-picker-modal {
    z-index: 2147483000;
    place-items: end center;
    padding: 8px;
  }

  .wppd-source-sheet,
  .wppd-picker-sheet {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 12px;
  }

  .wppd-picker-grid,
  .wppd-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .wppd-mobile-tools-toggle {
    font-size: 11px;
  }

  .wppd-purchase-dock {
    grid-template-columns: 38px minmax(76px, 0.5fr) minmax(126px, 1fr);
    gap: 6px;
  }

  .wppd-price {
    font-size: clamp(18px, 5.2vw, 22px);
  }

  .wppd-add-to-cart {
    font-size: 11px;
  }
}

@media (max-width: 1023px) {
  html.wppd-studio-active #ht-ctc-chat,
  html.wppd-studio-active #ht-ctc-chat *,
  html.wppd-studio-active [class*="ht_ctc"],
  html.wppd-studio-active [class*="ht_ctc"] *,
  html.wppd-studio-active [class*="ctc_s_"],
  html.wppd-studio-active [class*="ctc_s_"] *,
  html.wppd-studio-active [class*="chaty"],
  html.wppd-studio-active [class*="chaty"] *,
  html.wppd-studio-active [id*="chaty"],
  html.wppd-studio-active [id*="chaty"] *,
  html.wppd-studio-active [class*="buttonizer"],
  html.wppd-studio-active [class*="buttonizer"] *,
  html.wppd-studio-active [class*="wa__"],
  html.wppd-studio-active [class*="wa__"] *,
  html.wppd-studio-active [class*="qlwapp"],
  html.wppd-studio-active [class*="qlwapp"] *,
  html.wppd-studio-active [class*="joinchat"],
  html.wppd-studio-active [class*="joinchat"] * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wppd-shell *,
  .wppd-shell *::before,
  .wppd-shell *::after {
    transition: none !important;
    animation: none !important;
  }
}

.fabritor-layout .ant-segmented .ant-segmented-item-selected
 {
    background: var(--editor-primary);
    border-radius: 8px !important;
    color: #fff;
    align-items: center;
}
.fabritor-layout .ant-segmented .ant-segmented-item{
  border-radius: 8px !important;
}

.fabritor-product-type-switcher .ant-segmented-group {
    height: 50px;
}
.fabritor-bottom-bar {
    padding: 0px 0px !important;
    border-radius: 8px !important;
    height: 45px !important;
    padding-inline: 8px !important;
}

@media (max-width: 1023px) {
    .wppd-cart-action {
        top: 56px;
        right: 39px;
    }
}

.fabritor-bottom-bar .ant-segmented .ant-segmented-group {
  height: 40px;
}
.ant-segmented .ant-segmented-group{
  gap: 5px;
}

.fabritor-base-info-price, .fabritor-base-info-price.is-down, .fabritor-base-info-price.is-up {
  transform: none;
}
.fabritor-bottom-bar .ant-segmented{
  border-radius: 8px !important;
}

.fabritor-panel-floating-tools{
  bottom: 80px !important;
}

div#rc-tabs-0-panel-image{
  padding-inline: 10px !important;
}

.fabritor-panel-section .fabritor-panel-section-content .fabritor-panel-wrapper .ant-flex-justify-space-around{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.fabritor-panel-section .fabritor-panel-section-content .fabritor-panel-wrapper .ant-flex-justify-space-around .div{
  width: 100% !important;
}
.fabritor-panel-section .fabritor-panel-section-content .fabritor-panel-wrapper {
    padding: 5px 5px 5px 5px;
}

.fabritor-layout .ant-btn-primary {
  width: 100% !important;
}
.fabritor-sider .ant-layout-sider-children{
  width: 100% !important;
}

:where(.css-9grv8v).ant-tabs-left >.ant-tabs-content-holder >.ant-tabs-content>.ant-tabs-tabpane, :where(.css-9grv8v).ant-tabs-left >div>.ant-tabs-content-holder >.ant-tabs-content>.ant-tabs-tabpane {
  padding-left: 0px !important;
}

.local-image-selector{
  width: 100% !important;
}

header.ant-layout-header.fabritor-header.css-9grv8v{
  height: 55px !important;
}
#ice-container > div > header > div.fabritor-header-logo.ant-flex.css-9grv8v.ant-flex-align-center.ant-flex-justify-normal > img{

  height: 100% !important;
}

#ice-container > div > div.ant-layout.ant-layout-has-sider.css-9grv8v > aside.ant-layout-sider.ant-layout-sider-dark.fabritor-sider.fabritor-panel-collapsed > div > div.ant-tabs.ant-tabs-left.ant-tabs-small.css-9grv8v{
  overflow: clip !important;
}

/* ─── Purchase bar (fixed bottom-right) ─── */
.wppd-purchase-bar {
  position: fixed;
  bottom: 16px;
  right: 18px;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.18);
  border: 1px solid var(--wppd-border);
  transform-origin: 100% 100%;
  animation: wppd-purchase-bar-enter 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transition:
    box-shadow 220ms cubic-bezier(0.2, 0, 0, 1),
    border-color 140ms ease,
    background-color 140ms ease;
}

.wppd-purchase-bar-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.wppd-purchase-bar-price-label {
  font-size: 11px;
  font-weight: 600;
  color: #6d7788;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wppd-purchase-bar-price-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--wppd-accent-strong);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transform-origin: left center;
}

.wppd-purchase-bar .wppd-add-to-cart {
  flex: none;
  min-width: 160px;
  min-height: 44px;
  padding: 0 10px !important;
  border-radius: 10px !important;
  font-size: 13px;
  transition:
    transform 140ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 140ms ease,
    box-shadow 220ms cubic-bezier(0.2, 0, 0, 1) !important;
}

.wppd-purchase-bar .wppd-add-to-cart:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .wppd-purchase-bar:hover {
    border-color: rgba(11, 163, 162, 0.22);
    box-shadow: 0 13px 38px rgba(15, 23, 42, 0.2);
  }

  .wppd-purchase-bar .wppd-add-to-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(11, 163, 162, 0.22) !important;
  }
}

@keyframes wppd-purchase-bar-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Keep the old cart-action hidden (moved to purchase-bar) */
.wppd-cart-action {
  display: none !important;
}

:where(.css-9grv8v).ant-form-vertical .ant-form-item-row {
    display: flex;
    align-content: space-between;
    flex-direction: row !important;
}
#ice-container > div > div.ant-layout.ant-layout-has-sider.css-9grv8v > aside.ant-layout-sider.ant-layout-sider-dark.fabritor-sider.fabritor-setter-sider > div > div:nth-child(2) > form > div:nth-child(1) > div > div.ant-col.ant-form-item-label.css-9grv8v{
  width: fit-content !important;
}
#ice-container > div > div.ant-layout.ant-layout-has-sider.css-9grv8v > aside.ant-layout-sider.ant-layout-sider-dark.fabritor-sider.fabritor-setter-sider > div > div:nth-child(2) > form > div:nth-child(1) > div > div.ant-col.ant-form-item-control.css-9grv8v{
  width: fit-content !important;
}

#ice-container > div > div.ant-layout.ant-layout-has-sider.css-9grv8v > aside.ant-layout-sider.ant-layout-sider-dark.fabritor-sider.fabritor-setter-sider > div > div:nth-child(2) > form > div:nth-child(1){
  margin-bottom: 0px !important;
}

.ant-form-item.css-9grv8v{
  margin-bottom: 5px !important;
}

/* ─── Mobile purchase strip ────────────────────────────────────
 * Commerce stays visible without competing with the bottom editor controls.
 * The Fabritor mobile shell reserves the matching space below its header.
 */
@media (max-width: 768px) {
  .wppd-purchase-bar {
    top: calc(100px + env(safe-area-inset-top, 0px));
    left: 8px;
    right: 8px;
    bottom: auto;
    width: auto;
    height: 48px;
    box-sizing: border-box;
    gap: 8px;
    padding: 4px 5px 4px 11px;
    border-radius: 12px;
    border-color: rgba(11, 163, 162, 0.14);
    box-shadow: 0 7px 22px rgba(15, 23, 42, 0.13);
    transform-origin: 50% 0;
    animation-name: wppd-purchase-bar-mobile-enter;
  }

  .wppd-purchase-bar-price {
    flex: 0 1 auto;
    min-width: 84px;
    align-items: flex-start;
  }

  .wppd-purchase-bar-price-label {
    font-size: 9px;
    line-height: 1;
  }

  .wppd-purchase-bar-price-value {
    max-width: 34vw;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(15px, 4.4vw, 18px);
    line-height: 1.25;
  }

  .wppd-purchase-bar .wppd-add-to-cart {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    max-width: 220px;
    min-height: 38px;
    height: 38px;
    margin-left: auto;
    padding-inline: 10px !important;
    gap: 6px;
    border-radius: 10px !important;
    font-size: clamp(10px, 3vw, 12px);
    white-space: nowrap;
  }

  .wppd-purchase-bar .wppd-add-to-cart .wppd-icon {
    width: 17px;
    height: 17px;
    flex: none;
  }
  .urbanart-ai-launcher-shell.is-left {
    left: 5px !important;
    bottom: 136px !important;
  }
  #urbanart-ai-widget-root > div > div.urbanart-ai-launcher-shell.is-left{
    left: 5px !important;
    bottom: 136px !important;
    display: none;
  }
}

@keyframes wppd-purchase-bar-mobile-enter {
  from {
    opacity: 0;
    transform: translate3d(0, -10px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 340px) {
  .wppd-purchase-bar {
    left: 5px;
    right: 5px;
    padding-left: 8px;
  }

  .wppd-purchase-bar-price {
    min-width: 72px;
  }

  .wppd-purchase-bar .wppd-add-to-cart {
    padding-inline: 7px !important;
  }
}

/* ─── Mobile commerce dock experiment ─────────────────────────
 * The purchase action sits at the physical bottom, with Fabritor's tool
 * navigation immediately above it. Every dependent overlay shares this
 * offset so controls never collide or become unreachable.
 */
@media (max-width: 768px) {
  html.wppd-studio-active {
    --wppd-mobile-purchase-height: 58px;
    --wppd-mobile-tools-height: 68px;
    --wppd-mobile-header-stack: 148px;
    --wppd-mobile-bottom-stack: calc(
      var(--wppd-mobile-purchase-height) +
      var(--wppd-mobile-tools-height) +
      env(safe-area-inset-bottom, 0px)
    );
  }

  .wppd-purchase-bar {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(
      var(--wppd-mobile-purchase-height) +
      env(safe-area-inset-bottom, 0px)
    );
    min-height: var(--wppd-mobile-purchase-height);
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
    border: 0;
    border-top: 1px solid rgba(11, 163, 162, 0.14);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.12);
    transform-origin: 50% 100%;
    animation-name: wppd-purchase-bar-bottom-enter;
  }

  .wppd-purchase-bar-price {
    flex: 0 0 auto;
    min-width: 98px;
    padding-left: 2px;
    align-items: flex-start;
    justify-content: center;
  }

  .wppd-purchase-bar-price-label {
    font-size: 9px;
    line-height: 1;
  }

  .wppd-purchase-bar-price-value {
    max-width: 38vw;
    font-size: clamp(16px, 4.6vw, 19px);
    line-height: 1.2;
  }

  .wppd-purchase-bar .wppd-add-to-cart {
    max-width: none;
    min-height: 42px;
    height: 42px;
    padding-inline: 14px !important;
    border-radius: 11px !important;
    box-shadow: 0 5px 14px rgba(11, 163, 162, 0.18);
  }

  .fabritor-main-layout {
    padding-top: 0 !important;
    padding-bottom: var(--wppd-mobile-bottom-stack) !important;
  }

  .fabritor-header {
    height: calc(
      var(--wppd-mobile-header-stack) +
      env(safe-area-inset-top, 0px)
    ) !important;
    min-height: calc(
      var(--wppd-mobile-header-stack) +
      env(safe-area-inset-top, 0px)
    ) !important;
  }

  .fabritor-header-product-switcher {
    top: calc(52px + env(safe-area-inset-top, 0px)) !important;
    bottom: auto !important;
    width: min(calc(100% - 32px), 360px) !important;
    max-width: 360px !important;
  }

  .fabritor-header-product-switcher .fabritor-product-type-switcher {
    height: 36px !important;
    padding: 3px !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    border-radius: 10px !important;
    background: #f3f5f6 !important;
    box-shadow:
      0 2px 5px rgba(15, 23, 42, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  .fabritor-bottom-bar {
    position: absolute !important;
    top: calc(96px + env(safe-area-inset-top, 0px)) !important;
    left: max(16px, calc((100% - 360px) / 2)) !important;
    right: max(16px, calc((100% - 360px) / 2)) !important;
    bottom: auto !important;
    z-index: 1302;
    width: auto !important;
    height: 46px !important;
    margin: 0;
    padding: 5px 6px !important;
    display: grid !important;
    grid-template-columns: minmax(96px, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 5px !important;
    border-color: rgba(15, 23, 42, 0.1);
    border-radius: 11px !important;
    background: #fff;
    box-shadow:
      0 3px 10px rgba(15, 23, 42, 0.09),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: none;
    animation: wppd-mobile-editor-controls-enter 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .fabritor-bottom-bar.is-3d-controls {
    grid-template-columns: 1fr;
  }

  .fabritor-bottom-bar-zoom {
    width: 100%;
    height: 34px;
    padding: 0 6px 0 1px;
    gap: 3px;
    border-right-color: rgba(15, 23, 42, 0.1);
  }

  .fabritor-bottom-bar-zoom .ant-btn {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
  }

  .fabritor-bottom-bar-zoom-value {
    min-width: 34px;
    font-size: 10px;
    font-weight: 750;
  }

  .fabritor-view-mode-switcher {
    width: 100%;
    height: 34px;
    padding: 3px !important;
    gap: 2px;
    border: 1px solid rgba(15, 23, 42, 0.09) !important;
    border-radius: 8px !important;
    background: #f3f5f6 !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.035);
  }

  .fabritor-view-mode-switcher > button {
    flex: 1 1 0;
    min-width: 0;
    height: 26px !important;
    padding: 0 5px !important;
    border-radius: 6px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px !important;
    letter-spacing: 0.01em;
  }

  .fabritor-bottom-bar.is-3d-controls .fabritor-view-mode-switcher {
    max-width: 100%;
  }

  .fabritor-bottom-bar.is-3d-controls .fabritor-view-mode-switcher > button {
    font-size: 11px !important;
  }

  .fabritor-main-layout.has-mobile-sheet {
    padding-bottom: calc(
      var(--wppd-mobile-bottom-stack) +
      var(--fabritor-mobile-sheet-height)
    ) !important;
  }

  .fabritor-mobile-tool-nav {
    bottom: calc(
      var(--wppd-mobile-purchase-height) +
      env(safe-area-inset-bottom, 0px)
    ) !important;
    height: var(--wppd-mobile-tools-height) !important;
    padding-bottom: 0;
  }

  .fabritor-mobile-tool-sheet,
  .fabritor-setter-sider {
    bottom: var(--wppd-mobile-bottom-stack) !important;
  }

  .fabritor-mobile-sheet-backdrop,
  .fabritor-mobile-setter-backdrop {
    top: calc(
      var(--wppd-mobile-header-stack) +
      env(safe-area-inset-top, 0px)
    );
    bottom: calc(
      var(--wppd-mobile-bottom-stack) +
      var(--fabritor-mobile-sheet-height)
    );
  }

  .fabritor-mobile-quick-actions {
    bottom: calc(
      200px + env(safe-area-inset-bottom, 0px)
    ) !important;
  }

  .fabritor-mobile-ai-shortcut {
    bottom: calc(
      201px + env(safe-area-inset-bottom, 0px)
    ) !important;
  }

  .fabritor-layout .fabritor-mobile-config-btn {
    bottom: calc(
      var(--wppd-mobile-bottom-stack) -
      env(safe-area-inset-bottom, 0px)
    ) !important;
    width: max-content !important;
    min-width: 118px;
    max-width: min(180px, calc(100vw - 48px)) !important;
    padding-inline: 16px !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@keyframes wppd-purchase-bar-bottom-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes wppd-mobile-editor-controls-enter {
  from {
    opacity: 0;
    transform: translate3d(0, -8px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Desktop commerce lives in the usable editor workspace, not over its panel. */
@media (min-width: 769px) {
  .wppd-purchase-bar {
    right: var(--wppd-desktop-purchase-right, 18px);
    bottom: 18px;
    z-index: 1400;
    gap: 13px;
    padding: 6px 7px 6px 13px;
    border: 1px solid rgba(8, 126, 128, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(15, 42, 46, 0.16);
    backdrop-filter: blur(12px);
    transition:
      right 230ms cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 180ms ease,
      border-color 180ms ease;
  }

  .wppd-purchase-bar-price {
    min-width: 126px;
    gap: 2px;
    align-items: flex-start;
  }

  .wppd-purchase-bar-price-label {
    color: #597174;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .wppd-purchase-bar-price-value {
    color: #076568;
    font-size: 19px;
    font-weight: 850;
    letter-spacing: -0.025em;
  }

  .wppd-purchase-bar .wppd-add-to-cart {
    min-width: 150px;
    min-height: 35px;
    padding: 0 8px !important;
    gap: 3px;
    border: none !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #0ba3a2 0%, #07888a 100%) !important;
    box-shadow: 0 8px 17px rgba(7, 124, 126, 0.2) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.025em;
  }

  .wppd-purchase-bar .wppd-add-to-cart .wppd-icon {
    width: 17px;
    height: 17px;
  }

  .wppd-purchase-bar .wppd-add-to-cart:hover,
  .wppd-purchase-bar .wppd-add-to-cart:focus-visible {
    transform: translateY(-1px);
    border-color: #076f70 !important;
    background: linear-gradient(135deg, #078f90 0%, #067779 100%) !important;
    box-shadow: 0 11px 21px rgba(7, 105, 107, 0.24) !important;
    
  }
  .wppd-purchase-bar{
    bottom: auto;
    top: 49px;
    border-radius: 0px 0px 8px 8px !important;
    border: none !important;
    
    background: rgb(230 246 246) !important;
  }
}
