/* =====================================================================
   FabriqLab — feuille de style unique
   ===================================================================== */

/* ---------------------------------------------------------------------
   Base : couleurs, mise en page, boutons, fiches produits, administration
   --------------------------------------------------------------------- */

:root {
  color-scheme: dark;
  --bg: #090c10;
  --panel: #141a20;
  --panel2: #1b242c;
  --line: #34414d;
  --text: #f3f6f8;
  --dim: #aebac4;
  --ink: #0f151a;
  --bright: #e1e8ed;
  --accent: #d6e0e7;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.5 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a4c6d9;
  outline-offset: 2px;
}
.container {
  max-width: 1220px;
  padding: 0 24px;
  margin: auto;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0b0e11f5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.topinner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}
.logo {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: #f2f5f7;
}
.logo span {
  color: #a2b2bd;
}
.toplinks {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.toplinks a {
  color: #bcc7cf;
  font-size: 13px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #d0dbe3;
  background: #e4eaee;
  color: #11171c;
  font-weight: 750;
  border-radius: 10px;
  padding: 12px 17px;
  white-space: normal;
  text-align: center;
}
.btn.secondary {
  background: #222c35;
  color: #f0f5f8;
  border: 1px solid #52616e;
}
.btn.ghost {
  background: transparent;
  color: #dce5ec;
  border: 1px solid #52616e;
}
.btn.danger {
  background: #352124;
  color: #ffd7d9;
  border-color: #795158;
}
.btn.small {
  padding: 8px 12px;
  font-size: 13px;
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.hero {
  background: radial-gradient(ellipse at 86% 25%, #26333d 0, transparent 48%);
  padding: 85px 0 75px;
}
.kicker {
  color: #afbfcb;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(43px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -2.3px;
  max-width: 850px;
  margin: 16px 0;
}
.hero h1 span {
  color: #a8bac5;
}
.lead {
  max-width: 720px;
  color: #bec9d0;
  font-size: 18px;
}
.heroactions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 27px 0;
}
.section {
  padding: 65px 0;
}
.section.light {
  background: #11171c;
}
.secthead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 25px;
}
.secthead h2 {
  font-size: clamp(29px, 3.8vw, 44px);
  letter-spacing: -1px;
  margin: 6px 0;
}
.muted {
  color: var(--dim);
}
.filters {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding-bottom: 16px;
}
.chip {
  border-radius: 22px;
  border: 1px solid #42505c;
  background: #1a2229;
  color: #c7d3dc;
  padding: 9px 14px;
  white-space: nowrap;
}
.chip.active {
  background: #e1e8ec;
  color: #10161a;
  border-color: #e1e8ec;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.productcard {
  background: #171e24;
  border: 1px solid #34414c;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cardimage {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #232c34;
}
.cardinner {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 19px;
}
.tag {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: #afbec9;
  text-transform: uppercase;
}
.productcard h3 {
  font-size: 19px;
  margin: 7px 0;
}
.productcard p {
  font-size: 13px;
  color: #aebac3;
  margin: 0 0 12px;
  flex: 1;
}
.pricebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.price {
  font-size: 19px;
  font-weight: 780;
}
.feature {
  padding: 35px;
  background: linear-gradient(140deg, #222d36, #13191e);
  border: 1px solid #3a4854;
  border-radius: 18px;
}
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: #a7b3bc;
}
.overlay {
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 50;
  display: none;
  overflow: auto;
  padding: 22px 12px;
}
.overlay.show {
  display: block;
}
.modal {
  max-width: 1030px;
  padding: 26px;
  border-radius: 20px;
  background: #131a20;
  border: 1px solid #40505c;
  margin: 22px auto;
}
.modal.narrow {
  max-width: 740px;
}
.modalheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.modalheader h2 {
  font-size: 23px;
  margin: 0;
}
.x {
  border: 1px solid #52616d;
  background: #202a32;
  color: #f2f5f7;
  border-radius: 9px;
  padding: 8px 13px;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.displayimage {
  background: #273039;
  border: 1px solid #3b4852;
  min-height: 315px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.displayimage img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.overlaytext {
  position: absolute;
  left: 16%;
  right: 16%;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-weight: 900;
  font-size: clamp(23px, 3vw, 37px);
  text-shadow: 0 1px 4px #fff8;
  color: #382318;
  line-height: 1.2;
  pointer-events: none;
  overflow-wrap: anywhere;
}
.smallnote {
  font-size: 12px;
  color: #aab9c4;
  margin: 8px 0;
}
.fieldlabel {
  display: block;
  font-weight: 700;
  color: #d9e3ea;
  font-size: 13px;
  margin-bottom: 7px;
}
.field {
  width: 100%;
  background: #0c1319;
  color: #f6f9fb;
  border: 1px solid #526370;
  border-radius: 9px;
  padding: 11px 12px;
  min-height: 44px;
}
.field[type="color"] {
  padding: 3px;
  height: 45px;
}
.field:disabled {
  opacity: 0.55;
}
.frow {
  margin: 0 0 17px;
}
.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.panel {
  background: #1a242c;
  border: 1px solid #3e4d59;
  border-radius: 13px;
  padding: 18px;
  margin: 15px 0;
}
.panel h3 {
  font-size: 17px;
  margin: 0 0 9px;
}
.notice {
  font-size: 13px;
  color: #c1ced8;
  background: #20303b;
  border: 1px solid #4c6373;
  border-radius: 10px;
  padding: 14px;
}
.toggleline {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px;
  border: 1px solid #455662;
  border-radius: 10px;
  background: #1a252e;
  margin: 9px 0;
  cursor: pointer;
}
.toggleline input {
  width: 19px;
  height: 19px;
  accent-color: #dce5ed;
  flex: none;
  margin: 2px 0;
}
.toggleline strong {
  display: block;
}
.toggleline small {
  display: block;
  color: #a6b6c3;
  font-size: 12px;
}
.choicearea {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pick {
  border: 1px solid #52616e;
  background: #202c35;
  color: #f0f3f5;
  text-align: left;
  padding: 14px;
  border-radius: 11px;
}
.pick.active {
  background: #dfe7eb;
  color: #12191f;
  border-color: #e8f2f6;
}
.pick span {
  display: block;
  font-size: 12px;
  opacity: 0.7;
  font-weight: 400;
  margin-top: 4px;
}
.amount {
  font-size: 22px;
  font-weight: 850;
  margin: 15px 0;
}
.stack {
  display: grid;
  gap: 12px;
}
.adminlist {
  display: grid;
  gap: 9px;
}
.adminrow {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 11px;
  border: 1px solid #3a4953;
  border-radius: 12px;
  background: #1b242c;
}
.adminrow img {
  width: 68px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}
.adminrow strong {
  display: block;
}
.tiny {
  font-size: 12px;
  color: #b3c1cb;
}
.state {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid #546777;
  border-radius: 16px;
  font-size: 11px;
  color: #d4e0e9;
}
.editorhead {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.editortabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}
.editortabs button {
  padding: 10px 14px;
  border-radius: 9px;
  background: #222d35;
  border: 1px solid #4b5d68;
  color: #dce6ed;
}
.editortabs button.active {
  background: #dce5ea;
  color: #151a1e;
}
.editbox {
  background: #161f26;
  border: 1px solid #41515e;
  border-radius: 14px;
  padding: 19px;
  margin-top: 10px;
}
.editbox h3 {
  margin: 0 0 8px;
  font-size: 19px;
}
.fieldhint {
  font-size: 12px;
  color: #a9b9c3;
  margin: 5px 0 0;
}
.optiongroup {
  border: 1px solid #4b5c68;
  border-radius: 12px;
  background: #202b34;
  padding: 14px;
  margin: 12px 0;
}
.optionline {
  border-top: 1px solid #43525d;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 1.5fr 105px auto auto;
  gap: 8px;
  align-items: end;
}
.optionline input[type="checkbox"] {
  width: 19px;
  height: 19px;
  vertical-align: middle;
}
.optionline .field {
  min-width: 0;
}
.optiontitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  margin: 14px 0;
}
.switch input {
  width: 19px;
  height: 19px;
  accent-color: #dce5ec;
}
.modecards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 12px 0;
}
.modecard {
  padding: 13px;
  border: 1px solid #536573;
  border-radius: 12px;
  background: #222d36;
  color: #e9f1f5;
  text-align: left;
}
.modecard.active {
  background: #e2e9ed;
  color: #11191f;
}
.modecard strong {
  display: block;
}
.modecard small {
  font-size: 12px;
  opacity: 0.8;
  display: block;
  margin-top: 3px;
}
.mediaPreview {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #56646e;
  margin: 8px 0;
}
.editorfooter {
  position: sticky;
  bottom: 0;
  background: #10171bf5;
  padding: 14px 0;
  border-top: 1px solid #42515b;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  z-index: 2;
  margin-top: 17px;
}
.pill {
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 20px;
  background: #24333e;
  color: #d6e1e8;
  display: inline-block;
}
.toast {
  position: fixed;
  z-index: 200;
  bottom: 19px;
  left: 50%;
  transform: translateX(-50%);
  background: #e6eef2;
  color: #11181c;
  border-radius: 9px;
  padding: 11px 17px;
  display: none;
  max-width: 90vw;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 13px;
  background: #242c32;
}
.gallery figcaption {
  font-size: 12px;
  color: #d1dbe1;
  margin-top: 7px;
}
.adminsearch {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.adminsearch .field {
  flex: 1;
  min-width: 200px;
}
.inlineactions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.helpbox {
  border-left: 3px solid #a5bac8;
  padding: 8px 13px;
  background: #1c2a34;
  color: #c4d1d9;
  margin: 12px 0;
  font-size: 13px;
}
@media (max-width: 800px) {
  .toplinks {
    display: none;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .columns {
    grid-template-columns: 1fr;
  }
  .modal {
    padding: 17px;
  }
  .section {
    padding: 48px 0;
  }
  .hero {
    padding: 60px 0;
  }
}
@media (max-width: 530px) {
  .container {
    padding: 0 14px;
  }
  .topinner {
    gap: 9px;
    min-height: 64px;
  }
  .logo {
    font-size: 17px;
    letter-spacing: 1px;
  }
  .topinner .btn {
    padding: 8px;
    font-size: 12px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .cardimage {
    aspect-ratio: 5/3;
  }
  .pricebar {
    align-items: stretch;
  }
  .pricebar .btn {
    min-width: 128px;
  }
  .hero h1 {
    letter-spacing: -1px;
  }
  .modal {
    margin: 2px auto;
    padding: 13px;
  }
  .modalheader h2 {
    font-size: 19px;
  }
  .twocol,
  .choicearea,
  .modecards {
    grid-template-columns: 1fr;
  }
  .adminrow {
    grid-template-columns: 56px 1fr;
  }
  .adminrow img {
    width: 55px;
    height: 58px;
  }
  .adminrow .btn {
    grid-column: 1/-1;
  }
  .optionline {
    grid-template-columns: 1fr 1fr;
  }
  .optionline > :first-child {
    grid-column: 1/-1;
  }
  .editortabs button {
    flex: 1;
  }
}

.blog-section {
  background: #0d1318;
  border-top: 1px solid #293943;
}
.blog-section .secthead {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 28px;
}
.seo-card {
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #18222a;
  border: 1px solid #364550;
  border-radius: 16px;
  padding: 25px;
  min-height: 265px;
  color: #e9edf2;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.seo-card:hover {
  transform: translateY(-3px);
  border-color: #b5c8d5;
}
.seo-card h3 {
  font-size: 21px;
  line-height: 1.25;
  margin: 4px 0;
}
.seo-card p {
  color: #bdcbd5;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.seo-cat {
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 11px;
  color: #b3c8d6;
}
.seo-link {
  font-weight: 800;
  font-size: 13px;
  margin-top: 10px;
}
@media (max-width: 900px) {
  .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .seo-grid {
    grid-template-columns: 1fr;
  }
  .blog-section .secthead {
    flex-direction: column;
    align-items: flex-start;
  }
  .seo-card {
    min-height: auto;
  }
}

/* FabriqLab V22 : bibliothèque photo / prix de variantes */
.vmedia-title,
.vmedia-quick,
.vmedia-pair-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.vmedia-quick {
  padding: 16px;
  background: linear-gradient(135deg, #243039, #182128);
  border: 1px solid #435866;
  border-radius: 12px;
  margin-top: 15px;
}
.vmedia-quick p {
  margin: 4px 0;
}
.vmedia-photo-row {
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  gap: 17px;
  padding: 18px;
  background: #1d2730;
  border: 1px solid #536472;
  border-radius: 14px;
  margin: 14px 0;
}
.vmedia-image-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 11px;
  background: #26323b;
}
.vmedia-image-wrap span {
  font-size: 11px;
  color: #bed0dd;
  display: block;
  margin-top: 7px;
}
.vmedia-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0;
}
.vmedia-row-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.vmedia-label {
  font-size: 12px;
  color: #d3e1eb;
  display: block;
  font-weight: 650;
  margin: 10px 0;
}
.vmedia-label .field {
  margin-top: 5px;
}
.vmedia-row-content {
  min-width: 0;
}
.vmedia-row-content .fieldhint {
  line-height: 1.5;
}
@media (max-width: 760px) {
  .vmedia-photo-row {
    grid-template-columns: 1fr;
  }
  .vmedia-image-wrap img {
    max-width: 420px;
  }
  .vmedia-row-bottom {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 460px) {
  .vmedia-filters {
    grid-template-columns: 1fr;
  }
}

/* Homepage restored directly from the supplied V20 */
.logo {
  display: flex;
  align-items: center;
  flex: none;
}
.logo img {
  height: 49px;
  width: auto;
  max-width: 195px;
  object-fit: contain;
  display: block;
}
.topinner {
  gap: 16px;
}
.hero {
  background: radial-gradient(ellipse at 80% 10%, #252d34, transparent 55%), linear-gradient(125deg, #090c10, #121820);
  padding: 90px 0 72px;
}
.hero h1 {
  font-weight: 850;
  font-size: clamp(47px, 6.8vw, 96px);
  line-height: 1.08;
  letter-spacing: -3.3px;
  max-width: 1060px;
}
.hero .lead {
  max-width: 730px;
}
.toplinks a:hover {
  text-decoration: underline;
}
.hidden {
  display: none !important;
}
@media (max-width: 530px) {
  .logo img {
    height: 35px;
    max-width: 130px;
  }
  .hero h1 {
    font-size: clamp(39px, 10vw, 62px);
    letter-spacing: -1.8px;
  }
  .hero {
    padding: 60px 0;
  }
  .topinner {
    gap: 8px;
  }
}

/* ---------------------------------------------------------------------
   Compléments de base
   --------------------------------------------------------------------- */
#galleryFilters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 18px;
  scrollbar-width: thin;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.work-card {
  background: #172029;
  border: 1px solid #3c4c58;
  color: inherit;
  text-align: left;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  width: 100%;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.work-card:hover {
  transform: translateY(-3px);
  border-color: #b2c4d1;
}
.work-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #243039;
}
.work-meta {
  display: grid;
  gap: 7px;
  padding: 17px;
}
.work-meta strong {
  font-size: 18px;
}
.work-meta .muted {
  font-size: 12px;
}
.gallery-empty {
  grid-column: 1/-1;
  padding: 35px;
  background: #1b252e;
  border-radius: 15px;
  color: #b6c6d0;
  text-align: center;
  border: 1px dashed #405360;
}
.media-list {
  display: grid;
  gap: 10px;
}
.media-row {
  display: grid;
  grid-template-columns: 90px minmax(160px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px;
  background: #1d2831;
  border: 1px solid #40505c;
  border-radius: 13px;
}
.media-row img,
.media-thumb {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 9px;
  background: #263440;
}
.media-thumb {
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 800;
  color: #9eb2bf;
}
.media-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.media-preview {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: contain;
  background: #25313a;
  border: 1px solid #425462;
  border-radius: 12px;
  margin-bottom: 10px;
}
.media-imgrow {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 14px;
  background: #1b2730;
  border: 1px solid #344753;
  padding: 12px;
  border-radius: 12px;
  margin: 10px 0;
}
.media-imgrow img {
  width: 90px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
  background: #22303a;
}
.seo-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 9px;
  margin-bottom: 6px;
}
.blog-figure {
  margin: 28px 0;
  text-align: center;
}
.blog-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  background: #202c34;
  border-radius: 14px;
  border: 1px solid #405462;
}
.blog-figure figcaption {
  font-size: 13px;
  color: #aebfcc;
  margin-top: 8px;
}
#workOverlay {
  z-index: 80;
}
#workOverlay .work-modal {
  max-width: 850px;
  background: #172129;
  padding: 20px;
  border-radius: 20px;
  margin: 30px auto;
  border: 1px solid #4d606e;
}
#workImg {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  background: #25313a;
  border-radius: 12px;
}
@media (max-width: 900px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
  .media-row {
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 8px;
  }
  .media-row img,
  .media-thumb {
    width: 65px;
    height: 65px;
  }
  .media-actions {
    grid-column: 1/-1;
    justify-content: flex-start;
  }
  .media-imgrow {
    grid-template-columns: 62px 1fr;
  }
  .media-imgrow img {
    width: 62px;
    height: 62px;
  }
  .media-preview {
    height: 220px;
  }
}

/* ---------------------------------------------------------------------
   Liens directs et codes QR (administration)
   --------------------------------------------------------------------- */

.qr-linkpage {
  display: grid;
  gap: 15px;
}
.qr-linkrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid #394a57;
  border-radius: 14px;
  background: #18232d;
  margin: 9px 0;
}
.qr-linkrow strong {
  display: block;
}
.qr-linkrow .tiny {
  overflow-wrap: anywhere;
}
.qr-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.qr-url {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  color: #c5e3f6;
  overflow-wrap: anywhere;
  border-radius: 10px;
  background: #0d161d;
  border: 1px solid #3b5060;
  padding: 12px;
}
.qr-qrwrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  padding: 16px;
  background: #111b23;
  border: 1px solid #304555;
  border-radius: 14px;
}
.qr-qrwrap img {
  height: 170px;
  width: 170px;
  background: white;
  padding: 9px;
  border-radius: 8px;
  object-fit: contain;
}
.qr-demo-pill {
  display: inline-block;
  background: #32424b;
  color: #f0f5f9;
  border: 1px solid #597282;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}
.admin-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.qr-info {
  background: #22313a;
  border: 1px solid #536777;
  border-radius: 12px;
  padding: 14px;
  color: #dce9ef;
  line-height: 1.55;
}
.qr-info.warning {
  background: #312922;
  border-color: #987c57;
}
.qr-link-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qr-mini {
  font-size: 12px;
  color: #aec1ce;
}
.qr-linkrow .qr-url {
  margin-top: 8px;
}
@media (max-width: 720px) {
  .qr-linkrow {
    grid-template-columns: 1fr;
  }
  .qr-buttons {
    justify-content: flex-start;
  }
  .qr-qrwrap img {
    height: 150px;
    width: 150px;
  }
  .admin-actions {
    justify-content: flex-start;
  }
  .qr-linkpage .btn {
    max-width: 100%;
  }
}

/* ---------------------------------------------------------------------
   Créateur d’enseigne de camping
   --------------------------------------------------------------------- */

/* FABRIQLAB V20 — studio d'enseignes de camping */
.camp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 5, 9, 0.88);
  z-index: 1000;
  display: none;
  overflow: auto;
  padding: 22px 14px;
  backdrop-filter: blur(12px);
}
.camp-overlay.show {
  display: block;
}
.camp-app {
  max-width: 1320px;
  margin: 0 auto 32px;
  background: #10171d;
  border: 1px solid #42525e;
  box-shadow: 0 25px 90px #000b;
  border-radius: 19px;
  overflow: clip; /* « clip » garde l'aperçu collant (sticky) */
  color: #eaf0f4;
}
.camp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  background: linear-gradient(120deg, #141f28, #0e141a);
  border-bottom: 1px solid #354551;
}
.camp-brand {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #a5bdcc;
}
.camp-header h2 {
  font-size: clamp(21px, 2.5vw, 29px);
  line-height: 1.15;
  margin: 4px 0 0;
  font-weight: 850;
}
.camp-sub {
  color: #a9bac5;
  font-size: 13px;
  margin: 6px 0 0;
}
.camp-x {
  background: #23313c;
  border: 1px solid #536875;
  border-radius: 9px;
  color: #edf5f8;
  padding: 9px 13px;
  cursor: pointer;
}
@keyframes camp-in {
  from {
    opacity: 0.3;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.camp-h {
  font-size: 21px;
  margin: 0 0 6px;
  font-weight: 820;
}
.camp-hint {
  font-size: 13px;
  color: #b0c1cd;
  line-height: 1.5;
  margin: 0 0 20px;
}
.camp-frow {
  margin: 0 0 16px;
}
.camp-label {
  display: block;
  color: #e9f0f4;
  font-size: 13px;
  font-weight: 720;
  margin-bottom: 7px;
}
.camp-input,
.camp-select,
.camp-textarea {
  width: 100%;
  padding: 12px 13px;
  border-radius: 10px;
  background: #0e151b;
  border: 1px solid #536575;
  color: #f3f8fa;
  outline: none;
  font-size: 15px;
  min-width: 0;
}
.camp-input:focus,
.camp-select:focus,
.camp-textarea:focus {
  border-color: #d5e7f1;
  box-shadow: 0 0 0 3px #86bfd328;
}
.camp-textarea {
  resize: vertical;
  min-height: 110px;
}
.camp-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.camp-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.camp-pick {
  background: #192630;
  border: 1px solid #4d6271;
  color: #e6f1f5;
  border-radius: 12px;
  padding: 13px;
  text-align: left;
  cursor: pointer;
}
.camp-pick strong {
  display: block;
  font-size: 15px;
}
.camp-pick span {
  display: block;
  font-size: 12px;
  color: #b7c5d0;
  padding-top: 4px;
}
.camp-pick.active {
  background: #233843;
  border: 2px solid #cbe2ed;
  padding: 12px;
}
.camp-btn {
  background: #e9f0f4;
  color: #14202a;
  border: 1px solid #e9f0f4;
  padding: 12px 17px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}
.camp-btn.secondary {
  background: #25333d;
  color: #ecf5fa;
  border-color: #526878;
}
.camp-btn.subtle {
  background: transparent;
  color: #d4e1e9;
  border-color: #526878;
}
.camp-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.camp-btn:focus-visible,
.camp-pick:focus-visible {
  outline: 3px solid #8abfd7;
  outline-offset: 2px;
}
.camp-pill {
  font-size: 11px;
  border-radius: 100px;
  background: #263c49;
  color: #dcecf5;
  border: 1px solid #4e6774;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
}
.camp-tiny {
  font-size: 12px;
  color: #b1c2cc;
}
@media (max-width: 520px) {
  .camp-overlay {
    padding: 0;
  }
  .camp-app {
    border-radius: 0;
    min-height: 100dvh;
    margin: 0;
    border: 0;
  }
  .camp-header {
    padding: 14px 16px;
  }
  .camp-sub {
    font-size: 11px;
  }
  .camp-header h2 {
    font-size: 20px;
  }
  .camp-two {
    grid-template-columns: 1fr;
  }
  .camp-choice {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------
   Navigation et menu mobile
   --------------------------------------------------------------------- */

/* Mise en page du logo et navigation restaurée — V24 */
#siteHeader {
  background: rgba(8, 12, 16, 0.96);
  border-bottom: 1px solid #33414c;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
}
#siteHeader .topinner {
  min-height: 94px;
  gap: 22px;
  display: flex;
  align-items: center;
}
#siteHeader .brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: none;
  gap: 0;
  background: linear-gradient(145deg, #1d2831, #151c22);
  border: 1px solid #3a4c59;
  border-radius: 13px;
  padding: 9px 16px 8px;
  min-width: 185px;
  box-shadow:
    inset 0 1px 0 #ffffff12,
    0 4px 16px #0003;
  text-decoration: none;
  line-height: 1;
}
#siteHeader .brand-lockup img {
  width: auto;
  height: 49px;
  max-width: 162px;
  object-fit: contain;
  display: block;
}
#siteHeader .toplinks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
}
#siteHeader .toplinks a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #c9d3da;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  white-space: nowrap;
  border-radius: 9px;
  transition:
    background 0.15s,
    color 0.15s;
}
#siteHeader .toplinks a:hover,
#siteHeader .toplinks a:focus-visible {
  background: #24303a;
  color: #fff;
  text-decoration: none;
}
#siteHeader .header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
}
#siteHeader .header-actions .btn {
  min-height: 39px;
}
#siteHeader .mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  justify-content: center;
  border: 1px solid #51616d;
  background: #1c2730;
  color: #edf2f6;
  padding: 9px 12px;
  border-radius: 10px;
  font-weight: 720;
  font-size: 13px;
  min-height: 40px;
}
#siteHeader .mobile-menu-toggle:hover {
  background: #293945;
}
#siteHeader .mobile-nav-panel {
  background: #131b21;
  border-top: 1px solid #374751;
  border-bottom: 1px solid #536674;
  box-shadow: 0 20px 25px #0007;
  padding: 11px 0 16px;
}
#siteHeader .mobile-nav-panel[hidden] {
  display: none !important;
}
#siteHeader .mobile-nav-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
#siteHeader .mobile-nav-links a,
#siteHeader .mobile-nav-links button {
  font: inherit;
  font-size: 14px;
  font-weight: 670;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  background: #202c36;
  color: #e4edf2;
  border: 1px solid #40525f;
  border-radius: 9px;
  padding: 9px 10px;
  text-decoration: none;
}
#siteHeader .mobile-nav-links a:hover,
#siteHeader .mobile-nav-links button:hover {
  background: #30404b;
}
@media (max-width: 1060px) {
  #siteHeader .toplinks {
    display: none;
  }
  #siteHeader .mobile-menu-toggle {
    display: inline-flex;
  }
  #siteHeader .header-actions {
    margin-left: auto;
  }
  #siteHeader .topinner {
    min-height: 84px;
  }
}
@media (max-width: 560px) {
  #siteHeader .topinner {
    min-height: 72px;
    gap: 9px;
  }
  #siteHeader .brand-lockup {
    padding: 8px 10px 7px;
    min-width: 0;
    max-width: 155px;
    border-radius: 10px;
  }
  #siteHeader .brand-lockup img {
    height: 38px;
    max-width: 119px;
  }
  #siteHeader .header-actions {
    gap: 6px;
  }
  #siteHeader .header-actions .btn {
    min-height: 38px;
    padding: 8px 9px;
    font-size: 12px;
  }
  #siteHeader .header-admin {
    display: none;
  }
  #siteHeader .mobile-menu-toggle {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }
  #siteHeader .mobile-menu-toggle svg {
    width: 17px;
    height: 17px;
  }
  #siteHeader .mobile-nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 360px) {
  #siteHeader .brand-lockup img {
    height: 33px;
  }
  #siteHeader .mobile-menu-toggle span {
    display: none;
  }
  #siteHeader .mobile-menu-toggle {
    padding: 9px;
  }
}

/* ---------------------------------------------------------------------
   Messagerie, catégories et galerie produit
   --------------------------------------------------------------------- */

#siteHeader .brand-lockup {
  padding: 7px 12px;
  min-width: 215px;
  min-height: 72px;
  align-items: center;
}
#siteHeader .brand-lockup img {
  max-width: 198px;
  height: 66px;
  width: 100%;
  object-fit: contain;
}
@media (max-width: 560px) {
  #myMessagesBtn {
    display: none;
  }
  #siteHeader .brand-lockup {
    min-width: 0;
    min-height: 54px;
    max-width: 154px;
    padding: 5px 7px;
  }
  #siteHeader .brand-lockup img {
    height: 47px;
    max-width: 142px;
  }
}
.thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 11px 0 13px;
  padding: 4px 1px 7px;
  scrollbar-width: thin;
}
.thumb {
  border: 2px solid #435869;
  border-radius: 10px;
  overflow: hidden;
  background: #22303b;
  padding: 3px;
  width: 78px;
  height: 70px;
  flex: none;
  cursor: pointer;
}
.thumb.selected {
  border-color: #e6edf2;
  background: #485d6d;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}
.editor-image {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  background: #1e2a33;
  border: 1px solid #445765;
  border-radius: 14px;
  padding: 13px;
  margin: 9px 0;
}
.editor-image img {
  width: 110px;
  height: 90px;
  object-fit: cover;
  border-radius: 9px;
}
.editor-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.group-title {
  grid-column: 1/-1;
  padding: 15px 1px 4px;
  border-bottom: 1px solid #374955;
  margin: 8px 0 2px;
  font-weight: 800;
  font-size: 21px;
  color: #e2eaf0;
}
.admin-category {
  padding: 13px;
  background: #1e2b34;
  border: 1px solid #425765;
  border-radius: 13px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 9px 0;
  flex-wrap: wrap;
}
.messages {
  display: grid;
  grid-template-columns: minmax(185px, 0.72fr) minmax(0, 1.28fr);
  gap: 13px;
}
.thread-list {
  display: grid;
  gap: 8px;
  max-height: 500px;
  overflow-y: auto;
  align-content: start;
}
.thread {
  border: 1px solid #415565;
  background: #23313a;
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  color: #e8f1f6;
  width: 100%;
  cursor: pointer;
}
.thread.active {
  border-color: #edf4f7;
  background: #30434e;
}
.bubbles {
  min-height: 160px;
  max-height: 320px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: #0c151c;
  border-radius: 10px;
  border: 1px solid #415463;
}
.bubble {
  padding: 11px 13px;
  border-radius: 11px;
  background: #273843;
  max-width: 86%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.bubble.owner {
  align-self: flex-end;
  background: #364c5a;
}
.bubble.staff {
  align-self: flex-start;
  background: #283541;
}
.bubble small {
  display: block;
  color: #b7cbd7;
  font-size: 11px;
  margin-bottom: 4px;
}
.chat-panel {
  background: #1a252f;
  border: 1px solid #455c6a;
  border-radius: 15px;
  padding: 18px;
}
.chat-launch {
  margin: 14px 0 0;
}
.visual-preview-wrap > * {
  min-width: 0;
}
.visual-upload {
  display: block;
  max-width: 100%;
  line-height: 1.5;
  overflow: hidden;
}
.visual-upload input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 10px;
  font-size: 12px;
  overflow: hidden;
}
.visual-stage {
  max-width: 100%;
}
.variant-preview {
  background: #19262d;
  border: 1px solid #476070;
  border-radius: 11px;
  padding: 12px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.variant-preview img {
  width: 120px;
  max-height: 110px;
  object-fit: contain;
  border-radius: 8px;
}
@media (max-width: 720px) {
  .messages {
    grid-template-columns: 1fr;
  }
  .editor-image {
    grid-template-columns: 75px minmax(0, 1fr);
  }
  .editor-image img {
    width: 75px;
    height: 70px;
  }
}

/* ---------------------------------------------------------------------
   Thème foncé du créateur camping
   --------------------------------------------------------------------- */

/* V26 — une teinte légèrement plus noire, sans changer l'identité argentée. */
:root {
  --bg: #05070a;
  --panel: #10151b;
  --panel2: #151d24;
  --line: #2a3641;
}
body {
  background: #05070a;
}
#siteHeader,
.topbar {
  background: rgba(6, 8, 11, 0.97);
}
.hero {
  background: radial-gradient(ellipse at 86% 25%, #19232c 0, transparent 48%), #070a0e;
}
.section.light {
  background: #0b1015;
}
.blog-section {
  background: #0a1015;
}
.productcard,
.work-card {
  background: #111820;
}
.feature {
  background: linear-gradient(140deg, #19242d, #0d1319);
}
.modal {
  background: #0e141a;
}
.panel,
.editbox {
  background: #121a21;
}
.optiongroup {
  background: #17212a;
}
.camp-app {
  background: #0b1117;
}
.camp-header {
  background: linear-gradient(120deg, #101920, #0a0f14);
}
.message-attachment {
  display: block;
  max-width: 250px;
  width: 100%;
  height: auto;
  border: 1px solid #536879;
  border-radius: 9px;
  margin-top: 9px;
}

/* ---------------------------------------------------------------------
   Vitrine : accueil, collections, boutique, pied de page
   --------------------------------------------------------------------- */

/* FABRIQLAB V27 — Vitrine éditoriale noire, sans toucher aux moteurs métier existants. */

:root {
  --bg: #080a0c;
  --panel: #11161b;
  --panel2: #1b2229;
  --line: #343b42;
  --text: #f4f5f3;
  --dim: #aab1b8;
  --accent: #d3d8d9;
  --bright: #e5e7e6;
}
html {
  scroll-padding-top: 110px;
}
body {
  font-family:
    "DM Sans",
    "Manrope",
    system-ui,
    -apple-system,
    sans-serif;
  background: #080a0c;
  color: #f1f2f0;
  letter-spacing: -0.012em;
}
.container {
  max-width: 1380px;
  padding: 0 38px;
}
.kicker,
.overline {
  font-size: 11px !important;
  letter-spacing: 0.22em !important;
  font-weight: 700 !important;
  color: #a8b1b9 !important;
  text-transform: uppercase;
}
.hero h1,
.section-heading h2,
.secthead h2,
.feature-text h2,
.story h2,
.services h2,
.faq h2 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.06em;
  line-height: 1.08;
  font-weight: 800;
}
em {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}
h2 em,
h1 em {
  font-style: italic;
  color: #b7c2c9;
}
.btn {
  background: #e7eaeb;
  border: 1px solid #e7eaeb;
  color: #101417;
  border-radius: 5px;
  font-size: 13px;
  letter-spacing: 0.01em;
  font-weight: 800;
  padding: 15px 21px;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  background: #fff;
  border-color: #fff;
}
.btn.secondary,
.btn.ghost {
  background: transparent;
  border: 1px solid #59646d;
  color: #ebeff0;
}
.btn.secondary:hover,
.btn.ghost:hover {
  background: #202830;
  border-color: #9eabb4;
}
.section {
  padding: 97px 0;
}
.section.light {
  background: #0d1216;
}
.section .secthead {
  align-items: end;
  margin-bottom: 35px;
}
.section .secthead h2 {
  font-size: clamp(34px, 4vw, 55px);
  max-width: 800px;
  margin: 14px 0;
}
.muted {
  color: #a6b0b8;
}
.announcement {
  height: 34px;
  display: flex;
  align-items: center;
  background: #b8c2c7;
  color: #11181c;
  font-size: 11px;
  letter-spacing: 0.055em;
  font-weight: 750;
}
.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.announcement a {
  color: #182027;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 780;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #152027;
  border-radius: 50%;
  margin: 0 8px 1px 0;
}
#siteHeader {
  background: rgba(10, 13, 16, 0.96);
  border-bottom: 1px solid #293139;
  box-shadow: none;
  backdrop-filter: blur(18px);
}
#siteHeader .topinner {
  min-height: 90px;
  gap: 26px;
}
#siteHeader .brand-lockup {
  background: #0a0c0f !important;
  border: 1px solid #333b43 !important;
  box-shadow: none !important;
  min-height: 63px !important;
  min-width: 180px !important;
  padding: 5px 13px !important;
  border-radius: 7px !important;
}
#siteHeader .brand-lockup img {
  max-width: 169px !important;
  height: 48px !important;
  filter: brightness(1.1);
}
#siteHeader .toplinks {
  gap: 4px;
}
#siteHeader .toplinks a {
  font-size: 12.5px;
  font-weight: 680;
  color: #c1c8cc;
  padding: 9px 14px;
  letter-spacing: 0.015em;
}
#siteHeader .toplinks a:hover {
  background: #20282e;
}
#siteHeader .header-actions .btn {
  min-height: 41px;
  font-size: 12px;
  padding: 10px 15px;
}
#siteHeader .header-actions #adminTop {
  background: #263038;
  border-color: #52606a;
  color: #e6ebef;
}
.hero-modern {
  padding: 0;
  min-height: 666px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #343a3e;
  background:
    radial-gradient(ellipse at 82% 10%, #252b31, transparent 50%), linear-gradient(130deg, #0c1014, #090b0d 65%);
}
.hero-modern:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.09;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, #a5b1b42b 1px, transparent 1px), linear-gradient(#a5b1b41c 1px, transparent 1px);
  background-size: 84px 84px;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 6%;
  min-height: 650px;
  padding-top: 55px;
  padding-bottom: 78px;
  position: relative;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 32px 0;
}
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #b5c2cb;
}
.spark {
  width: 9px;
  height: 9px;
  background: #d6dfe2;
  transform: rotate(45deg);
  display: inline-block;
}
.eyeline {
  width: 28px;
  height: 1px;
  background: #62727c;
  display: inline-block;
}
.hero-modern h1 {
  font-size: clamp(49px, 5.55vw, 84px);
  max-width: 770px;
  line-height: 1.12;
  letter-spacing: -0.074em;
  margin: 28px 0 20px;
}
.hero-modern h1 em {
  white-space: nowrap;
  letter-spacing: -0.063em;
  color: #b9c6ce;
  font-size: 0.96em;
}
.hero-lead {
  font-size: clamp(16px, 1.48vw, 19px);
  color: #bdc5ca;
  line-height: 1.72;
  max-width: 550px;
}
.hero-modern .heroactions {
  margin: 31px 0 0;
  gap: 12px;
}
.btn-main {
  min-width: 225px;
}
.btn-outlined {
  min-width: 230px;
}
.hero-proof {
  display: flex;
  gap: 26px;
  border-top: 1px solid #39434a;
  padding-top: 29px;
  margin-top: 57px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #c9d0d3;
}
.hero-proof span {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.hero-proof b {
  font-size: 10px;
  color: #7e8b93;
}
.hero-art {
  position: relative;
  align-self: center;
  min-width: 0;
  padding: 16px 0 24px 0;
}
.hero-frame {
  aspect-ratio: 0.93;
  max-height: 542px;
  width: 100%;
  position: relative;
  background: #1b242b;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 29px 80px #0009;
  border: 1px solid #57616b;
}
.hero-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center;
}
.photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 12, 14, 0.96) 0, rgba(9, 12, 14, 0.4) 28%, transparent 65%);
}
.frame-label {
  position: absolute;
  bottom: 30px;
  left: 29px;
  right: 22px;
  display: grid;
  gap: 8px;
}
.frame-label span {
  font-size: 10px;
  color: #edf0ec;
  letter-spacing: 0.22em;
  font-weight: 750;
}
.frame-label strong {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(23px, 2.4vw, 38px);
  letter-spacing: -0.025em;
}
.corner-note {
  position: absolute;
  right: -15px;
  top: -9px;
  display: grid;
  gap: 6px;
  background: #131a1f;
  border: 1px solid #4b5a64;
  padding: 15px 20px;
  box-shadow: 0 20px 45px #0008;
  color: #b8c4ca;
  font-size: 11px;
  max-width: 245px;
}
.corner-note .overline {
  font-size: 9px !important;
}
.hero-scroll {
  position: absolute;
  left: 38px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #83929c;
}
.benefits {
  background: #10161b;
  border-bottom: 1px solid #28333b;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 26px;
  padding-bottom: 26px;
  gap: 0;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 23px;
  border-right: 1px solid #35434c;
}
.benefit:first-child {
  padding-left: 0;
}
.benefit:last-child {
  border-right: 0;
  padding-right: 0;
}
.benefit-icon {
  font-size: 26px;
  color: #ced6da;
  min-width: 26px;
}
.benefit strong {
  font-size: 13px;
  color: #edf2f3;
}
.benefit p {
  font-size: 11px;
  color: #9eabb5;
  margin: 3px 0 0;
}
.discover {
  background: #080c10;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 39px;
}
.section-heading h2 {
  font-size: clamp(35px, 4vw, 56px);
  margin: 12px 0 0;
}
.section-heading p {
  color: #a8b4bc;
  max-width: 300px;
  font-size: 14px;
  line-height: 1.7;
}
.collection-grid {
  display: grid;
  grid-template-columns: 1.27fr 0.87fr 0.87fr 1fr;
  gap: 13px;
  min-height: 330px;
}
.collection-tile {
  position: relative;
  min-width: 0;
  min-height: 322px;
  display: block;
  text-align: left;
  color: #f7f8f7;
  background: #192028;
  border: 1px solid #343d44;
  padding: 0;
  overflow: hidden;
  border-radius: 2px;
  isolation: isolate;
  transition:
    border-color 0.22s,
    transform 0.22s;
}
.collection-tile:hover {
  transform: translateY(-4px);
  border-color: #b5c3cb;
}
.tile-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.6s ease;
}
.collection-tile:hover .tile-image {
  transform: scale(1.06);
}
.collection-noel .tile-image {
  background-position: 42% center;
}
.collection-kitchen .tile-image {
  background-image:
    linear-gradient(135deg, #171d23a6, #5b422c33),
    url("https://images.unsplash.com/photo-1700760933443-84ef4f5feac4?auto=format&fit=crop&w=1000&q=82");
  background-color: #46332b;
}
.collection-decor .tile-image {
  background-image:
    linear-gradient(135deg, #1520277a, #4b42383b),
    url("https://images.unsplash.com/photo-1684346819553-11174cbc8f05?auto=format&fit=crop&w=900&q=80");
  background-color: #23323a;
}
.collection-gift .tile-image {
  background-image:
    linear-gradient(135deg, #201c1e70, #4a354044),
    url("https://images.unsplash.com/photo-1625552187571-7ee60ac43d2b?auto=format&fit=crop&w=900&q=80");
  background-color: #4d3540;
}
.collection-tile:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 6, 8, 0.98), rgba(5, 10, 13, 0.25) 68%);
  z-index: 1;
}
.tile-copy {
  position: absolute;
  inset: auto 20px 23px;
  z-index: 2;
  display: grid;
  gap: 7px;
}
.tile-copy span {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #ced5d9;
}
.tile-copy strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(20px, 1.75vw, 29px);
  font-weight: 500;
  line-height: 1.14;
}
.tile-copy small {
  color: #c9d1d5;
  font-size: 11px;
}
.tile-copy i {
  position: absolute;
  bottom: 4px;
  right: 2px;
  font-size: 23px;
  font-style: normal;
}
#boutique {
  background: #0e1418;
  border-top: 1px solid #1e2930;
}
.shop-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 26px 0 21px;
}
.search-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 280px;
  max-width: 490px;
  flex: 1;
  background: #151e25;
  border: 1px solid #45535e;
  padding: 1px 14px;
  border-radius: 6px;
  color: #c9d3d9;
}
.search-wrap span {
  font-size: 25px;
  line-height: 1;
}
.search-wrap input {
  color: #e9f1f4;
  background: transparent;
  border: 0;
  outline: 0;
  width: 100%;
  height: 48px;
  font-size: 13px;
}
.search-wrap:focus-within {
  border-color: #b3c9d3;
}
.budget-buttons {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.budget-buttons button {
  border: 1px solid #404e59;
  border-radius: 5px;
  padding: 11px 12px;
  color: #bdcbd2;
  background: #1a242b;
  cursor: pointer;
  font-size: 12px;
}
.budget-buttons button.active {
  color: #101820;
  background: #dfe6e9;
  border-color: #dfe6e9;
}
#boutique .filters {
  gap: 8px;
  padding-bottom: 14px;
}
#boutique .chip {
  border-radius: 4px;
  border-color: #374550;
  background: #182129;
  font-size: 12px;
  padding: 10px 16px;
}
#boutique .chip.active {
  background: #d7e0e4;
  color: #172029;
}
.results-status {
  font-size: 12px;
  color: #99a8b2;
  min-height: 20px;
  margin: 5px 0 16px;
}
#products.grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
#products .productcard {
  background: #121b21;
  border: 1px solid #2d3b44;
  border-radius: 4px;
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
#products .productcard:hover {
  transform: translateY(-4px);
  border-color: #768995;
  box-shadow: 0 14px 25px #0003;
}
#products .cardimage {
  aspect-ratio: 1.15;
  object-fit: cover;
  display: block;
  background: #25313b;
  padding: 8px;
}
#products .cardinner {
  padding: 19px 18px 18px;
}
#products .tag {
  font-size: 10px;
  color: #9eafbb;
  letter-spacing: 0.16em;
}
#products h3 {
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1.32;
  min-height: 42px;
  margin: 9px 0 8px;
}
#products p {
  font-size: 12px;
  color: #a2b2bd;
  min-height: 53px;
  line-height: 1.5;
}
#products .pricebar {
  align-items: end;
  gap: 9px;
}
#products .price {
  font-size: 18px;
  letter-spacing: -0.02em;
}
#products .btn.small {
  font-size: 11px;
  padding: 10px 12px;
  border-radius: 4px;
}
#products .product-badge {
  font-size: 10px;
  display: inline-block;
  border: 1px solid #54646e;
  color: #cedee6;
  border-radius: 50px;
  padding: 3px 7px;
  margin: 7px 0 4px;
  width: max-content;
}
.editorial-feature {
  background: #0a0e12;
  padding: 94px 0;
  border-block: 1px solid #26323b;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}
.feature-visual {
  position: relative;
  background: radial-gradient(ellipse at 50% 40%, #3c3f40, #171c20 65%);
  min-height: 510px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3d464b;
  padding: 25px;
}
.feature-visual-inner {
  width: 100%;
  max-width: 485px;
  transform: rotate(-3deg);
  filter: drop-shadow(0 25px 25px #0009);
}
.wood-sign {
  border: 14px ridge #9b754d;
  border-radius: 15px;
  aspect-ratio: 2/1;
  background: linear-gradient(135deg, #8a5e3c, #c69b6c 25%, #d3b184 54%, #8a5b3b 95%);
  box-shadow:
    inset 0 0 0 5px #785033,
    0 9px 18px #0007;
  padding: 12px;
  color: #4c2b1b;
}
.wood-sign-inner {
  height: 100%;
  border: 2px dashed #825630;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 9px;
}
.wood-sign-inner span {
  font-size: clamp(11px, 1.1vw, 16px);
  font-weight: 900;
  letter-spacing: 0.14em;
}
.wood-sign-inner strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(25px, 3vw, 44px);
}
.wood-sign-inner small {
  font-size: 9px;
  letter-spacing: 0.24em;
  font-weight: 800;
}
.visual-caption {
  position: absolute;
  bottom: 14px;
  left: 24px;
  font-size: 10px;
  color: #c7d2d8;
}
.feature-text h2 {
  font-size: clamp(41px, 4.7vw, 66px);
  margin: 24px 0;
}
.feature-text p {
  color: #acb8c0;
  font-size: 17px;
  line-height: 1.78;
  max-width: 510px;
}
.feature-steps {
  border-top: 1px solid #39434a;
  border-bottom: 1px solid #39434a;
  padding: 15px 0;
  margin: 28px 0 30px;
  display: grid;
  gap: 0;
}
.feature-steps > div {
  display: flex;
  align-items: center;
  gap: 21px;
  padding: 11px 0;
  color: #d0d8dd;
  font-size: 13px;
}
.feature-steps b {
  font-size: 11px;
  color: #798b99;
}
#realisations {
  background: #10161b;
}
#gallery.works-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
#gallery .work-card {
  border-radius: 4px;
  background: #172129;
  border: 1px solid #36454d;
}
#gallery .work-card img {
  height: 245px;
}
#gallery .work-meta {
  padding: 18px;
}
.story {
  background: radial-gradient(ellipse at 65% 30%, #202b32, #0a0e12 65%);
}
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10%;
  align-items: center;
}
.story h2 {
  font-size: clamp(36px, 4.1vw, 61px);
  margin: 22px 0;
}
.story p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 595px;
  color: #acbbc5;
}
.text-link {
  color: #edf4f4;
  font-size: 13px;
  display: inline-block;
  border-bottom: 1px solid #96a8b2;
  padding: 6px 0;
  margin-top: 20px;
}
.story-art {
  height: 310px;
  border: 1px solid #47535c;
  background: linear-gradient(135deg, #263139, #12191f);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-art:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid #65737c;
  transform: rotate(45deg);
  left: 10%;
  top: -60px;
  opacity: 0.3;
}
.story-lines {
  display: flex;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.story-lines > span {
  font-size: 170px;
  font-weight: 900;
  letter-spacing: -0.15em;
  color: #c7d0d5;
  line-height: 1;
}
.story-lines div {
  display: grid;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 0.21em;
  color: #d0d9dc;
}
.micro-detail {
  position: absolute;
  bottom: 18px;
  right: 20px;
  letter-spacing: 0.18em;
  font-size: 9px;
  color: #9cb0bb;
}
#blogue {
  background: #0c1115;
  border-block: 1px solid #23303b;
}
#blogue .seo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
#blogue .seo-card {
  padding: 18px;
  border-radius: 4px;
  min-height: 350px;
  background: #141d24;
  border: 1px solid #303f4a;
}
#blogue .seo-card h3 {
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.03em;
}
#blogue .seo-card p {
  font-size: 12px;
  line-height: 1.6;
  color: #a8b8c2;
}
#blogue .seo-card-img {
  height: 156px;
  width: 100%;
  object-fit: cover;
  border-radius: 3px;
}
.services {
  background: #121a20;
  padding: 100px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 9%;
  align-items: center;
}
.services h2 {
  font-size: clamp(39px, 5vw, 72px);
  margin: 20px 0;
}
.services p {
  color: #aebbc5;
  max-width: 630px;
  font-size: 17px;
  line-height: 1.75;
}
.service-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}
.service-actions span {
  font-size: 12px;
  color: #8d9fac;
}
.service-display {
  border: 1px solid #41515c;
  min-height: 350px;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse, #2b343a, #11181d 68%);
  position: relative;
  overflow: hidden;
}
.svc-circle {
  width: 262px;
  height: 262px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid #7d8c96;
  border-radius: 50%;
  transform: rotate(-9deg);
  gap: 13px;
}
.svc-circle span,
.svc-circle small {
  font-size: 9px;
  color: #b3c2cb;
  letter-spacing: 0.26em;
}
.svc-circle strong {
  font-size: 37px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #e4e9ed;
}
.svc-detail {
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 9px;
  color: #8799a5;
  letter-spacing: 0.2em;
}
.faq {
  background: #080c0f;
  padding: 100px 0;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10%;
}
.faq h2 {
  font-size: clamp(37px, 4vw, 58px);
  margin: 17px 0;
}
.faq-layout > div > p {
  color: #9aabb6;
  font-size: 15px;
  line-height: 1.7;
}
.faq-list details {
  border-bottom: 1px solid #3a4650;
  padding: 18px 0;
}
.faq-list details:first-child {
  border-top: 1px solid #3a4650;
}
.faq-list summary {
  display: flex;
  cursor: pointer;
  justify-content: space-between;
  gap: 18px;
  font-size: 15px;
  color: #f0f4f5;
  list-style: none;
  padding: 7px 0;
  font-weight: 700;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  font-size: 20px;
  color: #a8bcc6;
}
.faq-list details[open] summary span {
  transform: rotate(45deg);
}
.faq-list p {
  color: #a7b7bf;
  line-height: 1.75;
  font-size: 13px;
  max-width: 680px;
  padding: 6px 16px 0 0;
}
.site-footer {
  background: #11181d;
  border-top: 1px solid #46535c;
  padding: 65px 0 29px;
  color: #b5c2ca;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 35px;
}
.footer-brand strong {
  display: block;
  font-size: 31px;
  letter-spacing: 0.17em;
  color: #f5f7f7;
}
.footer-brand strong span {
  color: #b9c5cc;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: #a1b0ba;
}
.footer-group {
  display: grid;
  align-content: start;
  gap: 13px;
}
.footer-group > span {
  color: #f4f6f6;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.footer-group a,
.footer-group button {
  font-size: 13px;
  color: #b9c7cf;
  text-align: left;
  padding: 0;
  border: 0;
  background: none;
  width: max-content;
  cursor: pointer;
}
.footer-group a:hover,
.footer-group button:hover {
  text-decoration: underline;
  color: white;
}
.footer-note {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid #3b474e;
  padding-top: 20px;
  font-size: 11px;
  color: #8fa1ad;
}
.footer-note small {
  width: 100%;
  font-size: 10px;
  color: #71828b;
}
/* Product dialogs and existing admin, re-skinned not replaced */
.overlay {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}
.modal {
  border-radius: 9px;
  border: 1px solid #46535c;
  background: #10171c;
  box-shadow: 0 20px 70px #000b;
}
.modal:not(.narrow) {
  max-width: 1190px;
}
.modalheader h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.modalheader {
  padding-bottom: 12px;
  border-bottom: 1px solid #384651;
  margin-bottom: 23px;
}
.columns {
  gap: 35px;
}
.displayimage {
  border-radius: 7px;
  background: #222e37;
  min-height: 360px;
}
.displayimage img {
  object-fit: contain;
}
.thumbs {
  margin-top: 15px;
}
.panel,
.editbox,
.optiongroup,
.chat-panel {
  border-radius: 8px;
}
.field,
textarea,
select {
  border-radius: 6px;
}
.pick,
.modecard {
  border-radius: 7px;
}
.editortabs button {
  border-radius: 6px;
}
#productDesc {
  font-size: 14px;
  line-height: 1.65;
}
.product-info {
  font-size: 12px;
  color: #a4b6c0;
  margin: 15px 0;
  padding: 14px 0;
  border-block: 1px solid #36424a;
  display: grid;
  gap: 8px;
}
.product-info b {
  color: #dce8ed;
}
#noProducts {
  display: none;
  padding: 32px;
  background: #182229;
  border: 1px dashed #566572;
  text-align: center;
  color: #b7c8d1;
}
@media (max-width: 1200px) {
  #products.grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-modern h1 {
    font-size: clamp(44px, 5vw, 70px);
  }
  .hero-layout {
    gap: 4%;
  }
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .collection-tile {
    min-height: 290px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 22px;
  }
  .announcement-inner a {
    display: none;
  }
  .announcement-inner {
    justify-content: center;
  }
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    min-height: 510px;
    gap: 3%;
    padding-top: 36px;
    padding-bottom: 45px;
  }
  .hero-modern h1 {
    font-size: clamp(39px, 5vw, 53px);
  }
  .hero-modern h1 em {
    white-space: normal;
  }
  .hero-lead {
    font-size: 15px;
  }
  .hero-proof {
    margin-top: 28px;
    gap: 14px;
  }
  .hero-frame {
    max-height: 450px;
  }
  .corner-note {
    right: 0;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }
  .benefit:nth-child(2) {
    border-right: 0;
  }
  .benefit:nth-child(3) {
    padding-left: 0;
  }
  .benefits-grid {
    padding-block: 23px;
  }
  .feature-grid,
  .story-grid,
  .services-grid,
  .faq-layout {
    gap: 5%;
  }
  #products.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #blogue .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .container {
    padding: 0 17px;
  }
  .section {
    padding: 67px 0;
  }
  .announcement {
    height: 31px;
    font-size: 9px;
    text-align: center;
    letter-spacing: 0;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 40px;
    padding-bottom: 65px;
  }
  .hero-modern {
    min-height: 0;
  }
  .hero-content {
    padding: 0;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.075em;
  }
  .eyeline {
    display: none;
  }
  .hero-modern h1 {
    font-size: clamp(46px, 10vw, 64px);
    margin: 22px 0 19px;
  }
  .hero-lead {
    font-size: 15px;
    line-height: 1.65;
  }
  .hero-modern .heroactions {
    margin-top: 23px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hero-modern .heroactions .btn {
    min-width: 0;
    font-size: 11px;
    padding: 12px 8px;
    line-height: 1.3;
  }
  .hero-proof {
    margin-top: 25px;
    padding-top: 20px;
    gap: 12px;
    font-size: 10px;
  }
  .hero-proof span {
    gap: 6px;
  }
  .hero-art {
    padding: 0 0 9px;
  }
  .hero-frame {
    aspect-ratio: 1.43;
    max-height: none;
  }
  .frame-label {
    bottom: 16px;
    left: 18px;
    gap: 4px;
  }
  .frame-label strong {
    font-size: 23px;
  }
  .frame-label span {
    font-size: 8px;
  }
  .corner-note {
    display: none;
  }
  .hero-scroll {
    left: 17px;
    bottom: 16px;
    font-size: 9px;
  }
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 10px;
  }
  .benefit {
    border: 0;
    padding: 0 !important;
    gap: 9px;
  }
  .benefit-icon {
    font-size: 19px;
    min-width: 20px;
  }
  .benefit strong {
    font-size: 11px;
  }
  .benefit p {
    font-size: 10px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 38px;
  }
  .section-heading p {
    margin-top: 16px;
    font-size: 13px;
  }
  .collection-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .collection-tile {
    min-height: 220px;
  }
  .tile-copy {
    inset: auto 11px 14px;
    gap: 5px;
  }
  .tile-copy span {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .tile-copy strong {
    font-size: 21px;
  }
  .tile-copy small {
    font-size: 10px;
  }
  .tile-copy i {
    font-size: 17px;
  }
  .secthead h2 {
    font-size: 36px !important;
  }
  .shop-tools {
    display: block;
  }
  .search-wrap {
    min-width: 0;
    max-width: none;
    margin-bottom: 12px;
  }
  .budget-buttons {
    display: flex;
    justify-content: space-between;
  }
  .budget-buttons button {
    flex: 1;
    font-size: 11px;
    padding: 9px 4px;
  }
  #products.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  #products .cardinner {
    padding: 12px;
  }
  #products .cardimage {
    aspect-ratio: 1.03;
    padding: 0;
  }
  #products h3 {
    font-size: 14px;
    min-height: 53px;
  }
  #products p {
    font-size: 11px;
    min-height: 67px;
    margin-bottom: 7px;
  }
  #products .pricebar {
    flex-direction: column;
    align-items: stretch;
  }
  #products .price {
    font-size: 15px;
  }
  #products .btn.small {
    width: 100%;
    font-size: 11px;
    padding: 10px 6px;
  }
  #products .tag {
    font-size: 8px;
    letter-spacing: 0.09em;
  }
  .editorial-feature {
    padding: 65px 0;
  }
  .feature-grid,
  .story-grid,
  .services-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  .feature-visual {
    min-height: 315px;
  }
  .feature-text h2,
  .story h2,
  .services h2,
  .faq h2 {
    font-size: 42px;
  }
  .feature-text p,
  .story p,
  .services p {
    font-size: 14px;
  }
  .story-art {
    height: 245px;
  }
  .story-lines > span {
    font-size: 110px;
  }
  #blogue .seo-grid {
    grid-template-columns: 1fr;
  }
  #blogue .seo-card {
    min-height: 0;
  }
  .service-display {
    min-height: 310px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-note {
    font-size: 10px;
  }
  .announcement .container {
    padding: 0 7px;
  }
  #siteHeader .topinner {
    min-height: 66px;
  }
  #siteHeader .brand-lockup {
    min-width: 0 !important;
    min-height: 51px !important;
    max-width: 155px !important;
    padding: 4px 8px !important;
  }
  #siteHeader .brand-lockup img {
    max-width: 143px !important;
    height: 40px !important;
  }
}
@media (max-width: 365px) {
  .hero-modern .heroactions {
    grid-template-columns: 1fr;
  }
  .hero-modern h1 {
    font-size: 43px;
  }
  .hero-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .collection-grid {
    grid-template-columns: 1fr 1fr;
  }
  .collection-tile {
    min-height: 210px;
  }
}

.collection-kitchen .tile-image {
  background-image:
    linear-gradient(135deg, #171d2366, #5b422c22),
    url("https://images.unsplash.com/photo-1700760933443-84ef4f5feac4?auto=format&fit=crop&w=1000&q=82"),
    url("../img/tile-cuisine.svg");
  background-color: #46332b;
}
.collection-decor .tile-image {
  background-image:
    linear-gradient(135deg, #15202766, #4b423822),
    url("https://images.unsplash.com/photo-1684346819553-11174cbc8f05?auto=format&fit=crop&w=900&q=80"),
    url("../img/tile-decor.svg");
  background-color: #23323a;
}
.collection-gift .tile-image {
  background-image:
    linear-gradient(135deg, #201c1e66, #4a354022),
    url("https://images.unsplash.com/photo-1625552187571-7ee60ac43d2b?auto=format&fit=crop&w=900&q=80"),
    url("../img/tile-cadeaux.svg");
  background-color: #4d3540;
}

/* ---------------------------------------------------------------------
   Fiche produit : description et suggestions
   --------------------------------------------------------------------- */

.product-details,
.related-section {
  border-top: 1px solid #39434a;
  margin-top: 30px;
  padding-top: 29px;
}
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #aab7bd;
  margin-bottom: 9px;
}
.product-details h3,
.related-section h3 {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(22px, 2.7vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.05em;
  margin: 0 0 14px;
}
.description {
  white-space: pre-line;
  color: #cbd1d5;
  font-size: 15px;
  line-height: 1.85;
  max-width: 78ch;
  overflow-wrap: anywhere;
}
.related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.related-heading h3 {
  margin: 0;
}
.related-cat {
  padding: 6px 11px;
  border: 1px solid #394650;
  border-radius: 30px;
  color: #b6c3cb;
  font-size: 12px;
  white-space: nowrap;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.related-card {
  appearance: none;
  border: 1px solid #3e4951;
  background: #171f25;
  color: #edf2f4;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
  cursor: pointer;
}
.related-card:hover {
  border-color: #b1c1cb;
  transform: translateY(-2px);
  background: #222c34;
}
.related-card:focus-visible {
  outline: 3px solid #adccd9;
  outline-offset: 3px;
}
.related-card img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  display: block;
  background: #26313a;
}
.related-content {
  padding: 13px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
}
.related-content strong {
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
}
.related-price {
  font-size: 13px;
  color: #b4c4cd;
  font-weight: 700;
  margin-top: auto;
}
@media (max-width: 800px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .related-grid {
    gap: 9px;
  }
  .related-content {
    padding: 10px;
  }
  .related-cat {
    display: none;
  }
  .product-details,
  .related-section {
    padding-top: 23px;
    margin-top: 24px;
  }
}

/* ---------------------------------------------------------------------
   Aperçu personnalisé 2D (zones de texte)
   --------------------------------------------------------------------- */

.visual-preview-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(270px, 1fr);
  gap: 20px;
  align-items: start;
}
.visual-stage {
  background: linear-gradient(145deg, #313d46, #19242b);
  aspect-ratio: 600/430;
  border: 1px solid #536574;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  container-type: inline-size;
  width: 100%;
  touch-action: pan-y;
}
.visual-stage > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}
#visualStageZones {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#visualStageZones .visual-zone {
  pointer-events: auto;
}
.visual-stage .visual-zone {
  position: absolute;
  transform: translate(-50%, -50%) rotate(var(--rotation, 0deg));
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  cursor: grab;
  touch-action: none;
  user-select: none;
  max-width: 96%;
  padding: 3px 2px;
  border: 1px dashed transparent;
  background: transparent;
}
.visual-stage.editable .visual-zone {
  border-color: #adbfc979;
  background: #1118273d;
}
.visual-stage.editable .visual-zone.selected {
  outline: 2px solid #f4f8fa;
  outline-offset: 3px;
  background: #0a131c77;
}
.visual-stage .visual-zone:active {
  cursor: grabbing;
}
.visual-live-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  container-type: inline-size;
}
.visual-live-layer .visual-zone {
  position: absolute;
  transform: translate(-50%, -50%) rotate(var(--rotation, 0deg));
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  max-width: 95%;
  pointer-events: none;
}
.visual-minihelp {
  background: #1b2b34;
  border: 1px solid #425a6a;
  padding: 12px 14px;
  border-radius: 12px;
  color: #d1e0e7;
  font-size: 13px;
}
.visual-template {
  display: flex;
  gap: 8px;
  align-items: end;
  flex-wrap: wrap;
}
.visual-upload {
  border: 1px dashed #78909d;
  border-radius: 12px;
  padding: 16px;
  background: #1c2730;
}
.visual-editor-step {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a9c2d1;
  font-weight: 750;
}
.visual-zone-settings {
  background: #1b252d;
  border: 1px solid #3a4a57;
  padding: 14px;
  border-radius: 12px;
  margin-top: 12px;
}
.visual-client-panel {
  border: 1px solid #465663;
  background: #19232c;
  border-radius: 13px;
  padding: 17px;
  margin-top: 14px;
}
.visual-client-panel input {
  margin-top: 4px;
}
@media (max-width: 760px) {
  .visual-preview-wrap {
    grid-template-columns: 1fr;
  }
  .visual-stage {
    max-width: 640px;
  }
}

/* ---------------------------------------------------------------------
   Lecteur d’articles du blogue
   --------------------------------------------------------------------- */

#articleOverlay {
  z-index: 100;
  padding: 14px;
  background: #070a0ef2;
}
#articleOverlay .reader-wrap {
  max-width: 1060px;
  margin: 16px auto 40px;
  background: #101820;
  border: 1px solid #42525e;
  border-radius: 18px;
  min-height: 72vh;
  overflow: hidden;
}
#articleOverlay .reader-head {
  position: sticky;
  top: 0;
  background: #141d25;
  z-index: 5;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #3b4c59;
  padding: 13px 20px;
}
#articleOverlay .reader-head strong {
  font-size: 16px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#articleOverlay .reader-head button {
  font-size: 14px;
}
#articleOverlay .reader-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.article-shell {
  max-width: 910px;
  padding: 34px 30px 75px;
  margin: auto;
}
.article-shell article {
  max-width: 750px;
}
.article-shell .crumb {
  color: #a9bac7;
  font-size: 13px;
  margin-bottom: 25px;
}
.article-shell a {
  color: #d9e8f2;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-shell .kicker {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #91b0c0;
}
.article-shell h1 {
  font-size: clamp(29px, 4vw, 45px);
  line-height: 1.13;
  letter-spacing: -0.7px;
  margin: 16px 0 25px;
}
.article-shell h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  margin: 0 0 12px;
  line-height: 1.25;
}
.article-shell h3 {
  font-size: 19px;
  margin: 21px 0 8px;
}
.article-shell p {
  color: #c2d0da;
  line-height: 1.75;
  margin: 12px 0;
  font-size: 16px;
}
.article-shell p.lead {
  color: #d8e3e9;
  font-size: 19px;
  border-bottom: 1px solid #3b4a56;
  padding-bottom: 24px;
}
.article-shell section {
  margin: 35px 0;
}
.article-shell .cta {
  background: #1c2932;
  border: 1px solid #496170;
  border-radius: 16px;
  padding: 25px;
  margin: 38px 0;
}
.article-shell .cta h2 {
  color: white;
}
.article-shell .cta .button {
  display: inline-block;
  background: #e3ebef;
  color: #111820 !important;
  padding: 12px 17px;
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none;
}
.article-shell .related {
  border-top: 1px solid #40505c;
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding-top: 28px;
}
.article-shell .related a {
  display: block;
  padding: 6px 0;
}
.article-shell .post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.article-shell .post-grid a {
  display: block;
  background: #192630;
  border: 1px solid #40505e;
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
}
.article-shell .post-grid a:hover {
  border-color: #c6d6e2;
}
.article-shell .post-grid small {
  color: #a5baca;
}
.article-shell .post-grid h2 {
  font-size: 21px;
  margin: 10px 0;
}
.article-shell .post-grid p {
  font-size: 14px;
}
@media (max-width: 620px) {
  #articleOverlay .reader-wrap {
    margin: 0;
    min-height: 95vh;
  }
  #articleOverlay {
    padding: 0;
  }
  #articleOverlay .reader-head {
    padding: 12px;
  }
  #articleOverlay .reader-head strong {
    font-size: 13px;
  }
  .article-shell {
    padding: 21px 16px 55px;
  }
  .article-shell .post-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------
   Compléments de la version PHP / MySQL
   --------------------------------------------------------------------- */
[hidden] {
  display: none !important;
}

/* Petits utilitaires d'espacement */
.m-0 {
  margin: 0;
}
.mt-6 {
  margin-top: 6px;
}
.mt-8 {
  margin-top: 8px;
}
.mt-12 {
  margin-top: 12px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-22 {
  margin-top: 22px;
}
.my-16 {
  margin: 16px 0;
}
.field-short {
  max-width: 190px;
}
.field-medium {
  max-width: 350px;
}
.qty-field {
  max-width: 130px;
}

/* Boutique et fiche produit */
.collection-noel .tile-image {
  background-image: url("../img/hero-noel.jpg");
}
#noProducts {
  display: block;
  grid-column: 1 / -1;
}
.pick-wide {
  width: 100%;
  margin: 6px 0;
}
.idea-preview {
  max-width: 180px;
  max-height: 140px;
  border-radius: 9px;
  margin-top: 10px;
  object-fit: contain;
}

/* Administration */
.admin-login {
  max-width: 420px;
}
.zone-pick {
  width: 100%;
  text-align: left;
}
.zone-add {
  margin: 12px 0;
}
.qr-help {
  max-width: 285px;
}
.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Créateur camping */
.camp-notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  background: #eaf0f5;
  color: #11202c;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 750;
  box-shadow: 0 6px 30px #0008;
  max-width: 90vw;
  text-align: center;
}

/* Articles du blogue (lecteur intégré et pages blogue/) */
.article-shell ul {
  color: #c2d0da;
  line-height: 1.75;
  padding-left: 22px;
}
#articleOverlay .article-shell {
  max-width: 910px;
}

/* Pages du blogue (blogue/index.php et blogue/article.php) */
.blog-page {
  background: #101820;
}
.blog-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0b0e11f5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.blog-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}
.blog-topbar .logo img {
  height: 38px;
  width: auto;
  display: block;
}
.blog-topbar nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #bcc7cf;
}
.blog-topbar nav a:hover {
  color: #fff;
}
.blog-page .article-shell {
  max-width: 910px;
  margin: 0 auto;
  padding: 34px 24px 70px;
}
.blog-page .article-shell article {
  max-width: 760px;
}
.blog-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: #a7b3bc;
  font-size: 13px;
}
.blog-footer a {
  text-decoration: underline;
}
@media (max-width: 620px) {
  .blog-topbar nav {
    gap: 12px;
    font-size: 13px;
  }
  .blog-page .article-shell {
    padding: 22px 16px 50px;
  }
  .blog-page .post-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------
   Panier et commande
   --------------------------------------------------------------------- */
.checkout-modal {
  max-width: 820px;
}
.checkout-steps {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: -6px 0 20px;
  font-size: 12px;
  color: #8fa1ad;
}
.checkout-steps li {
  flex: 1;
  padding: 8px 10px;
  border-bottom: 2px solid #34414d;
}
.checkout-steps li.active {
  color: #f3f6f8;
  border-color: #dfe7eb;
  font-weight: 700;
}
.cart-lines {
  display: grid;
  gap: 10px;
}
.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #182129;
  border: 1px solid #34414d;
  border-radius: 10px;
}
.cart-line.has-error {
  border-color: #8a4b51;
}
.cart-thumb {
  width: 64px;
  height: 56px;
  object-fit: cover;
  border-radius: 7px;
  background: #232c34;
}
.cart-line-info strong {
  display: block;
}
.cart-error {
  color: #ffb4ba;
  font-size: 12px;
  margin-top: 4px;
}
.cart-line-price {
  text-align: right;
  font-weight: 750;
  display: grid;
  gap: 4px;
  justify-items: end;
}
.cart-remove {
  background: none;
  border: 0;
  color: #9fb1bd;
  font-size: 12px;
  text-decoration: underline;
  padding: 0;
  font-weight: 400;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #4b5a66;
  border-radius: 8px;
  overflow: hidden;
}
.qty-control button {
  background: #222c35;
  color: #f0f5f8;
  border: 0;
  width: 32px;
  height: 32px;
  font-size: 16px;
}
.qty-control span {
  min-width: 34px;
  text-align: center;
  font-weight: 700;
}
.cart-empty {
  padding: 34px;
  text-align: center;
  border: 1px dashed #4b5a66;
  border-radius: 10px;
}
.cart-totals {
  margin: 16px 0;
  padding: 14px 16px;
  background: #141c23;
  border: 1px solid #34414d;
  border-radius: 10px;
  display: grid;
  gap: 6px;
}
.cart-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #c3cfd8;
}
.cart-totals .cart-grand-total {
  border-top: 1px solid #3a4853;
  padding-top: 9px;
  margin-top: 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.cart-totals p {
  margin: 4px 0 0;
}
.cart-actions {
  justify-content: space-between;
  margin-top: 8px;
}
.checkout-block {
  border: 1px solid #34414d;
  border-radius: 10px;
  padding: 14px 16px 2px;
  margin: 14px 0;
}
.checkout-block legend {
  padding: 0 6px;
  font-weight: 750;
  color: #dbe5eb;
}
.threecol {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 12px;
}
.delivery-pick {
  cursor: pointer;
  display: block;
  position: relative;
  padding-left: 40px;
}
.delivery-pick input {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 17px;
  height: 17px;
  accent-color: #11181d;
}
.delivery-pick:has(input:checked) {
  background: #dfe7eb;
  color: #12191f;
  border-color: #e8f2f6;
}

/* ---------------------------------------------------------------------
   Page de suivi (suivi.html)
   --------------------------------------------------------------------- */
.tracking-main {
  max-width: 1020px;
  padding-top: 34px;
  padding-bottom: 60px;
  display: grid;
  gap: 18px;
}
.tracking-card {
  background: #141c23;
  border: 1px solid #34414d;
  border-radius: 12px;
  padding: 22px;
}
.tracking-card h1 {
  font-size: clamp(26px, 4vw, 38px);
  margin: 6px 0;
  letter-spacing: -0.02em;
}
.tracking-card h2 {
  font-size: 17px;
  margin: 0 0 12px;
}
.tracking-lookup {
  max-width: 560px;
  margin: 20px auto;
}
.tracking-form {
  margin-top: 18px;
}
.tracking-forgot {
  margin-top: 18px;
  color: #b3c1cb;
  font-size: 14px;
}
.tracking-forgot summary {
  cursor: pointer;
  text-decoration: underline;
}
.tracking-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.tracking-steps {
  list-style: none;
  padding: 0;
  margin: 26px 0 4px;
  display: flex;
  gap: 0;
}
.tracking-steps li {
  flex: 1;
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12px;
  color: #8a9ba7;
}
.tracking-steps li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: #2e3a44;
  z-index: 0;
}
.tracking-steps li:first-child::before {
  display: none;
}
.tracking-steps li.done::before {
  background: #9fd4b4;
}
.tracking-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #24303a;
  border: 2px solid #3d4c58;
  position: relative;
  z-index: 1;
  font-weight: 800;
  color: #0f1a14;
}
.tracking-steps li.done .tracking-dot {
  background: #9fd4b4;
  border-color: #9fd4b4;
}
.tracking-steps li.done {
  color: #dbe8e0;
}
.tracking-steps li.current {
  color: #fff;
  font-weight: 750;
}
.tracking-steps li.current .tracking-dot {
  box-shadow: 0 0 0 5px #9fd4b433;
}
.tracking-shipment {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-color: #4f6f86;
}
.tracking-number {
  margin-top: 4px;
  color: #c9d6de;
}
.tracking-number code {
  font-size: 15px;
  background: #0c1217;
  padding: 3px 8px;
  border-radius: 5px;
}
.tracking-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}
.tracking-timeline,
.admin-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
.tracking-timeline li,
.admin-timeline li {
  border-left: 2px solid #3a4853;
  padding: 0 0 18px 16px;
  position: relative;
}
.tracking-timeline li::before,
.admin-timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9fb1bd;
}
.tracking-timeline li:first-child::before {
  background: #9fd4b4;
}
.tracking-timeline time,
.admin-timeline time {
  display: block;
  font-size: 12px;
  color: #8fa1ad;
}
.tracking-timeline p,
.admin-timeline p {
  margin: 4px 0 0;
  color: #d3dee5;
  white-space: pre-line;
}
.tracking-item,
.order-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #2c3842;
}
.tracking-banner {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #20303b;
  border: 1px solid #4c6373;
}
.tracking-banner.success {
  background: #173226;
  border-color: #2f6b4b;
  color: #d6f5e2;
}
.tracking-banner.danger {
  background: #3a1d1d;
  border-color: #7a3b3b;
  color: #ffd4cf;
  margin-top: 18px;
}
.tracking-other {
  text-align: center;
}

/* Pastilles d'étape (suivi et administration) */
.status-badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 750;
  background: #2a3640;
  color: #dbe5eb;
  border: 1px solid #455562;
  white-space: nowrap;
  vertical-align: middle;
}
.kind-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.kind-badge.paid {
  background: #173226;
  color: #b9ecca;
}
.kind-badge.unpaid {
  background: #3a1d1d;
  color: #ffcbc4;
}
.kind-badge.quote {
  background: #2c2440;
  color: #dccfff;
}

/* ---------------------------------------------------------------------
   Administration (plein écran, menu latéral)
   --------------------------------------------------------------------- */
.admin-overlay {
  padding: 0;
  background: #0b1014;
  backdrop-filter: none;
}
.admin-app {
  display: grid;
  grid-template-columns: 236px 1fr;
  min-height: 100vh;
}
.admin-app.logged-out {
  grid-template-columns: 1fr;
}
.admin-sidebar {
  background: #0f151a;
  border-right: 1px solid #26313a;
  padding: 18px 12px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 12px;
  border-bottom: 1px solid #26313a;
}
.admin-brand img {
  height: 30px;
  width: auto;
}
.admin-brand span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fa1ad;
}
.admin-nav-group {
  display: grid;
  gap: 2px;
  margin-bottom: 10px;
}
.admin-nav-title {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f808c;
  padding: 6px 10px;
}
.admin-nav-group button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #c8d3da;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 14px;
}
.admin-nav-group button i {
  font-style: normal;
  width: 18px;
  text-align: center;
  color: #8fa1ad;
}
.admin-nav-group button:hover {
  background: #1a232a;
  color: #fff;
}
.admin-nav-group button.active {
  background: #e3e9ed;
  color: #10161a;
  font-weight: 700;
}
.admin-nav-group button.active i {
  color: #10161a;
}
.admin-badge {
  margin-left: auto;
  background: #e8b84a;
  color: #1b1405;
  border-radius: 10px;
  font-size: 11px;
  padding: 1px 7px;
  font-weight: 800;
}
.admin-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: #0b1014f2;
  border-bottom: 1px solid #26313a;
  backdrop-filter: blur(10px);
}
.admin-topbar h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.02em;
  flex: 1;
}
.admin-topbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.admin-menu-btn {
  background: #1a232a;
  color: #fff;
  border: 1px solid #3a4853;
  border-radius: 7px;
  padding: 6px 11px;
  font-size: 18px;
}
.admin-content {
  padding: 24px 28px 60px;
  max-width: 1240px;
  width: 100%;
}
.admin-content .modal,
.admin-content .editbox {
  background: #10171c;
}
.admin-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.admin-page-head h3,
.admin-page-head h4 {
  margin: 4px 0;
}
.admin-card {
  background: #121a20;
  border: 1px solid #2c3842;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 16px;
}
.admin-card h4 {
  margin: 0 0 10px;
  font-size: 15px;
}
.admin-card p {
  margin: 6px 0;
}
.admin-empty {
  padding: 26px;
  text-align: center;
  color: #9fb1bd;
}
.admin-login {
  max-width: 420px;
  margin: 8vh auto;
  background: #121a20;
  border: 1px solid #2c3842;
  border-radius: 12px;
  padding: 26px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.stat-card {
  text-align: left;
  background: #121a20;
  border: 1px solid #2c3842;
  border-radius: 10px;
  padding: 16px;
  color: #dbe5eb;
  display: grid;
  gap: 4px;
}
.stat-card strong {
  font-size: 26px;
  color: #fff;
}
.stat-card span {
  font-size: 12px;
  color: #9fb1bd;
}
.stat-card.attention {
  border-color: #7a6526;
  background: #1f1c12;
}
.stat-card:hover {
  border-color: #5b6b77;
}
.quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.order-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.order-filters .chip b {
  margin-left: 4px;
  opacity: 0.7;
}
.order-tools {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 10px;
  margin-bottom: 12px;
}
.order-table {
  border: 1px solid #2c3842;
  border-radius: 10px;
  overflow: hidden;
}
.order-row {
  display: grid;
  grid-template-columns: 110px 1.6fr 1fr 130px 100px 170px;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: #121a20;
  border: 0;
  border-bottom: 1px solid #26313a;
  color: #dbe5eb;
  padding: 12px 16px;
  font-size: 13px;
}
.order-row:last-child {
  border-bottom: 0;
}
button.order-row:hover {
  background: #18222a;
}
.order-head {
  background: #0f151a;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7f909b;
}
.order-number {
  font-weight: 800;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.order-client strong,
.order-client small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-client small {
  color: #8fa1ad;
}
.order-total {
  font-weight: 750;
}
.order-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 22px;
}
.admin-stepper {
  list-style: none;
  padding: 0;
  margin: 4px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-stepper li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 7px;
  border-radius: 20px;
  background: #161f26;
  border: 1px solid #2c3842;
  color: #8fa1ad;
  font-size: 12px;
}
.admin-stepper li span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #26313a;
  font-size: 11px;
  font-weight: 800;
}
.admin-stepper li.done {
  color: #d6efe0;
  border-color: #2f6b4b;
}
.admin-stepper li.done span {
  background: #9fd4b4;
  color: #0f1a14;
}
.admin-stepper li.current {
  background: #e3e9ed;
  color: #10161a;
  font-weight: 750;
}
.order-detail {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}
.status-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.status-pick {
  border: 1px solid #4b5a66;
  background: #1a232b;
  color: #dce6ec;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 13px;
}
.status-pick.active {
  background: #e3e9ed;
  color: #10161a;
  border-color: #e3e9ed;
  font-weight: 750;
}
.status-pick.is-current {
  opacity: 0.55;
  border-style: dashed;
}
.status-pick.danger {
  border-color: #795158;
  color: #ffcdd1;
}
.status-pick.danger.active {
  background: #c9505c;
  color: #fff;
}
.order-side .btn {
  width: 100%;
}

@media (max-width: 1100px) {
  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .order-detail {
    grid-template-columns: 1fr;
  }
  .order-row {
    grid-template-columns: 100px 1.4fr 120px 90px 150px;
  }
  .order-row .order-date {
    display: none;
  }
}
@media (max-width: 900px) {
  .admin-app {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    z-index: 20;
    transform: translateX(-105%);
    transition: transform 0.2s;
    box-shadow: 10px 0 40px #000a;
  }
  .admin-app.menu-open .admin-sidebar {
    transform: none;
  }
  .admin-topbar {
    padding: 12px 16px;
  }
  .admin-content {
    padding: 18px 16px 50px;
  }
  .tracking-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 901px) {
  .admin-menu-btn {
    display: none;
  }
}
@media (max-width: 680px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .order-tools,
  .threecol {
    grid-template-columns: 1fr;
  }
  .order-head {
    display: none;
  }
  .order-row {
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
  }
  .order-row > span:nth-child(4) {
    display: none;
  }
  .cart-line {
    grid-template-columns: 52px 1fr;
  }
  .cart-thumb {
    width: 52px;
    height: 48px;
  }
  .qty-control,
  .cart-line-price {
    grid-column: 2;
    justify-self: start;
    text-align: left;
    justify-items: start;
  }
  .tracking-steps li {
    font-size: 10px;
  }
  .tracking-dot {
    width: 24px;
    height: 24px;
  }
  .tracking-steps li::before {
    top: 11px;
  }
  .admin-topbar h2 {
    font-size: 17px;
  }
  .admin-topbar-actions .btn {
    display: none;
  }
}

/* Couleur des pastilles selon l'étape (classe status-<étape> ajoutée par le JavaScript) */
.status-received,
.status-quote_new,
.status-quote_accepted { background: #3b3216; border-color: #7a6526; color: #ffe8a6; }
.status-in_production { background: #1d2c45; border-color: #3f5f8f; color: #cfe0ff; }
.status-ready,
.status-shipped,
.status-quote_sent { background: #24323d; border-color: #5b7a90; color: #d6ecfa; }
.status-delivered { background: #173226; border-color: #2f6b4b; color: #c9f2d8; }
.status-cancelled,
.status-pending_payment { background: #3a1d1d; border-color: #7a3b3b; color: #ffd4cf; }

/* ---------------------------------------------------------------------
   Zones de texte : cadre limite et texte qui rapetisse pour tenir dedans
   --------------------------------------------------------------------- */
.visual-stage .visual-zone,
.visual-live-layer .visual-zone {
  position: absolute;
  transform: translate(-50%, -50%) rotate(var(--rotation, 0deg));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: none;
  padding: 0;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
}
.visual-zone > span { display: block; white-space: nowrap; }
.visual-zone.wrap > span { white-space: normal; max-width: 100%; overflow-wrap: anywhere; }
.visual-live-layer .visual-zone.is-sample { opacity: .55; }
.visual-live-layer { right: auto; bottom: auto; }
#visualStageZones { right: auto; bottom: auto; }
.visual-stage.editable .visual-zone { overflow: visible; outline: 1px dashed #c9d8e2a8; outline-offset: 0; border: 0; background: #0a131c33; }
.visual-stage.editable .visual-zone.selected { outline: 2px solid #f4f8fa; outline-offset: 0; background: #0a131c55; }
.visual-stage.editable .visual-zone > span { pointer-events: none; }
.zone-resize { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; border-radius: 3px; background: #f4f8fa; border: 2px solid #11181d; cursor: nwse-resize; touch-action: none; }
.photo-picker { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; }
.photo-pick { flex: 0 0 auto; width: 104px; background: #1a232b; border: 1px solid #3e4d59; border-radius: 8px; padding: 5px; color: #d6e1e8; font-size: 11px; text-align: left; }
.photo-pick img { width: 100%; height: 64px; object-fit: cover; border-radius: 5px; display: block; margin-bottom: 4px; background: #222c34; }
.photo-pick.active { border-color: #f4f8fa; box-shadow: 0 0 0 2px #f4f8fa; }
.photo-pick small { display: block; color: #9fb1bd; }
.photo-pick .custom-dot { color: #9fd4b4; }
.zone-scope { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; background: #14202a; border: 1px solid #3a4a57; border-radius: 8px; padding: 8px 10px; margin: 10px 0; font-size: 12px; }
.zone-test { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.zone-test .field { min-height: 36px; padding: 7px 10px; }
.category-separate { display: flex; gap: 6px; align-items: center; margin-top: 6px; cursor: pointer; }

/* ---------- Choix de couleurs et de variantes (fiche produit) ---------- */
.swatches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.swatch {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; padding: 0;
  background: var(--swatch, #ccc); border: 2px solid var(--line);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25); transition: transform 0.12s;
}
.swatch.big { width: 40px; height: 40px; }
.swatch:hover { transform: scale(1.08); }
.swatch.active { border-color: var(--bright); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--bright); }
.variant-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-buttons .chip { cursor: pointer; }
.variant-buttons .chip small { opacity: 0.75; margin-left: 4px; }
.zone-input { display: flex; gap: 8px; align-items: center; }
.zone-input .field { flex: 1; }
.zone-input .btn { white-space: nowrap; }
.zone-colors { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.color-free { width: 48px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: none; padding: 2px; cursor: pointer; }
.zone-palette { border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; margin: 8px 0 12px; }
.palette-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 8px; align-items: center; margin-bottom: 6px; }
.color-small { width: 56px; height: 38px; padding: 2px; }

/* ---------- Créateur d'enseigne de camping (aperçu en direct) ---------- */
.cc-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 22px 0; }
.cc-mode {
  display: flex; gap: 12px; align-items: center; text-align: left; cursor: pointer;
  background: #151e25; color: inherit; border: 2px solid #33424e; border-radius: 16px; padding: 14px 16px;
  transition: border-color 0.15s, transform 0.15s;
}
.cc-mode:hover { transform: translateY(-1px); }
.cc-mode.active { border-color: #f2b84b; background: #1d2822; }
.cc-mode strong { display: block; font-size: 16px; }
.cc-mode small { color: #b9c8d2; }
.cc-mode-icon { font-size: 30px; }
.cc-free { color: #8fe0a6; }
.cc-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 22px; padding: 18px 22px 24px; align-items: start; }
.cc-preview { position: sticky; top: 12px; }
.cc-canvas-wrap { border-radius: 20px; overflow: hidden; box-shadow: 0 18px 50px #0009; background: #0b1014; }
#campCanvas { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; }
.cc-preview-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 12px; }
.cc-note { color: #9fb0bc; font-size: 13px; margin: 10px 2px 0; }
.camp-btn.small { padding: 8px 12px; font-size: 13px; }
.cc-panel section { display: grid; gap: 14px; }
.cc-block { background: #141c23; border: 1px solid #2d3a45; border-radius: 16px; padding: 14px 16px; }
.cc-block h4 { margin: 0 0 10px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.cc-block h4 b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f2b84b; color: #1a1208; font-size: 13px; }
.cc-block h4 small { color: #9fb0bc; font-weight: 400; }
.cc-big-input { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.cc-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cc-theme {
  border: 2px solid transparent; border-radius: 12px; padding: 12px 6px; cursor: pointer; color: #fff; font-weight: 700; font-size: 13px;
  display: grid; justify-items: center; gap: 4px; text-shadow: 0 1px 3px #000a; transition: transform 0.12s;
}
.cc-theme span { font-size: 24px; }
.cc-theme:hover { transform: scale(1.03); }
.cc-theme.active { border-color: #fff; box-shadow: 0 0 0 3px #f2b84b; }
.theme-foret { background: linear-gradient(#2c5546, #10261c); }
.theme-lac { background: linear-gradient(#5b3a7a, #f0776a 55%, #ffc477); }
.theme-nuit { background: linear-gradient(#08112a, #2d3f72); }
.theme-rustique { background: repeating-linear-gradient(0deg, #d9b07a 0 18px, #cfa36c 18px 36px); color: #3f2412; text-shadow: none; }
.theme-montagne { background: linear-gradient(#9ed3ee, #4f7590); }
.theme-retro { background: linear-gradient(#f6ead0 50%, #2a9d8f 50% 62%, #e9c46a 62% 74%, #f4a261 74% 86%, #e76f51 86%); color: #264653; text-shadow: none; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cc-chips:first-child { margin-top: 0; }
.cc-chips .chip { cursor: pointer; font-size: 17px; }
.cc-drop {
  display: grid; justify-items: center; gap: 2px; padding: 16px; border: 2px dashed #4a5c69; border-radius: 14px; cursor: pointer;
  background: #10171d; text-align: center; transition: border-color 0.15s, background 0.15s;
}
.cc-drop span { font-weight: 800; font-size: 16px; }
.cc-drop small { color: #9fb0bc; }
.cc-drop.big { padding: 28px 16px; }
.cc-drop.big span { font-size: 19px; }
.cc-drop:hover, .cc-drop.over { border-color: #f2b84b; background: #1a2219; }
.cc-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cc-thumb { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 1px solid #3b4a56; }
.cc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-thumb button {
  position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0;
  background: #000b; color: #fff; cursor: pointer; line-height: 20px; font-size: 15px; padding: 0;
}
.cc-buy { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #1d2822; border: 1px solid #3d5a46; border-radius: 16px; padding: 14px 16px; }
.cc-buy small { display: block; color: #b9c8d2; }
.cc-buy strong { font-size: 26px; }
.cc-buy-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-contact { display: grid; gap: 10px; background: #141c23; border: 1px solid #3d5a46; border-radius: 16px; padding: 14px 16px; }
.cc-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0 0 6px; counter-reset: how; }
.cc-how li { counter-increment: how; background: #141c23; border: 1px solid #2d3a45; border-radius: 12px; padding: 10px; font-size: 13px; color: #c9d5dd; }
.cc-how li::before { content: counter(how); display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; background: #8fe0a6; color: #10261c; font-weight: 800; }
#campMontageForm { display: grid; gap: 12px; }
.cc-send { font-size: 17px; padding: 14px; }
.cc-sent { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 10px; }
.cc-sent-icon { font-size: 56px; }
@media (max-width: 900px) {
  .cc-layout { grid-template-columns: 1fr; padding: 14px; }
  .cc-preview { position: static; }
  .cc-modes { padding: 12px 14px 0; gap: 8px; }
  .cc-mode { padding: 10px; }
  .cc-mode-icon { font-size: 22px; }
  .cc-mode small { display: none; }
  .cc-themes { grid-template-columns: repeat(2, 1fr); }
  .cc-how { grid-template-columns: 1fr; }
}

/* ---------- Studio de visualisation IA ---------- */
.studio-teaser {
  display: flex; align-items: center; gap: 14px; width: 100%; max-width: 560px; margin-top: 22px; text-align: left; cursor: pointer;
  color: inherit; background: linear-gradient(120deg, #1d2530, #262035); border: 1px solid #5a4d7a; border-radius: 16px; padding: 14px 18px;
  transition: transform 0.15s, border-color 0.15s;
}
.studio-teaser:hover { transform: translateY(-2px); border-color: #a48cf0; }
.studio-teaser strong { display: block; font-size: 16px; }
.studio-teaser small { color: #c3c9d6; }
.studio-teaser-icon { font-size: 30px; }
.studio-modal { max-width: 1100px; }
.studio-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; flex-wrap: wrap; }
.studio-steps li { padding: 6px 12px; border-radius: 20px; border: 1px solid #3b4a56; color: #9fb0bc; font-size: 13px; }
.studio-steps li.active { background: #e1e8ec; color: #10161a; border-color: #e1e8ec; font-weight: 700; }
.studio-step { display: grid; gap: 14px; }
.studio-uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.studio-drop {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 210px; padding: 18px; text-align: center;
  border: 2px dashed #4a5c69; border-radius: 16px; background: #10171d; cursor: pointer; overflow: hidden; transition: border-color 0.15s;
}
.studio-drop:hover, .studio-drop.over { border-color: #a48cf0; }
.studio-drop.filled { border-style: solid; border-color: #5f8f6c; }
.studio-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: repeating-conic-gradient(#1a2229 0 25%, #222c34 0 50%) 0 0 / 22px 22px; }
.studio-drop.filled > span, .studio-drop.filled > strong, .studio-drop.filled > small { position: relative; z-index: 1; background: #000a; border-radius: 8px; padding: 2px 8px; }
.studio-drop.filled .studio-drop-icon { display: none; }
.studio-drop-icon { font-size: 36px; }
.studio-drop small { color: #9fb0bc; }
.studio-dims { display: grid; grid-template-columns: 1fr auto 1fr 90px; gap: 8px; align-items: center; max-width: 460px; }
.studio-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.studio-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 20px; background: #1a2229; border: 1px solid #3b4a56; font-size: 13px; }
.studio-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.studio-go { font-size: 17px; padding: 15px; }
.studio-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.studio-card { background: #10171d; border: 2px solid #2d3a45; border-radius: 16px; overflow: hidden; display: grid; transition: border-color 0.15s; }
.studio-card.favorite { border-color: #ff7a9a; }
.studio-img { display: block; padding: 0; border: 0; background: #0b1014; cursor: zoom-in; aspect-ratio: 4 / 3; }
.studio-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.studio-loading { aspect-ratio: 4 / 3; display: grid; place-items: center; align-content: center; gap: 10px; color: #9fb0bc; padding: 12px; text-align: center; background: linear-gradient(110deg, #10171d 30%, #1a242c 50%, #10171d 70%) 0 0 / 300% 100%; animation: studioShimmer 1.6s linear infinite; }
.studio-loading.error { animation: none; color: #ffb4a8; }
@keyframes studioShimmer { to { background-position: -300% 0; } }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #3b4a56; border-top-color: #e1e8ec; animation: spin 0.8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.studio-card-body { display: flex; justify-content: space-between; gap: 10px; padding: 12px 12px 4px; }
.studio-card-body small { display: block; color: #9fb0bc; font-size: 12px; margin-top: 2px; }
.studio-fav { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #4a5c69; background: #1a2229; color: #ff7a9a; font-size: 22px; cursor: pointer; }
.studio-fav.active { background: #ff7a9a; color: #fff; border-color: #ff7a9a; }
.studio-fav:disabled { opacity: 0.4; cursor: default; }
.studio-versions { display: flex; gap: 6px; padding: 4px 12px; flex-wrap: wrap; }
.studio-versions button { font-size: 12px; border-radius: 12px; border: 1px solid #3b4a56; background: none; color: #c9d5dd; padding: 2px 8px; cursor: pointer; }
.studio-versions button.active { background: #e1e8ec; color: #10161a; }
.studio-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 12px 12px; min-height: 20px; }
.studio-disclaimer { background: #2a2416; border: 1px solid #6d5a2a; color: #f1e2b8; border-radius: 12px; padding: 12px 14px; font-size: 13px; }
.studio-actions { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.studio-done { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 20px 0; }
.studio-zoom { position: fixed; inset: 0; z-index: 1200; background: #000e; display: grid; place-items: center; padding: 20px; }
.studio-zoom[hidden] { display: none; }
.studio-zoom img { max-width: 96vw; max-height: 84vh; border-radius: 10px; }
.studio-zoom .x { position: absolute; top: 16px; right: 16px; }
.studio-zoom p { color: #c9d5dd; margin: 10px 0 0; }
.studio-mode { color: #f2b84b; }
/* Administration du studio */
.studio-admin-list { display: grid; gap: 10px; margin: 12px 0; }
.studio-admin-row { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 14px; align-items: center; background: #10171d; border: 1px solid #2d3a45; border-radius: 14px; padding: 10px 12px; }
.studio-admin-row.disabled { opacity: 0.6; }
.studio-admin-row .switch { margin: 0; }
.studio-admin-info small { display: block; color: #9fb0bc; }
.studio-admin-ref { width: 72px; height: 54px; border-radius: 10px; overflow: hidden; background: #1a2229; display: grid; place-items: center; font-size: 10px; color: #7d8d99; text-align: center; }
.studio-admin-ref.big { width: 160px; height: 110px; }
.studio-admin-ref img { width: 100%; height: 100%; object-fit: cover; }
.studio-ref-edit { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.field.mono { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.studio-test-thumb { display: block; max-width: 140px; max-height: 90px; border-radius: 8px; margin-bottom: 6px; object-fit: contain; background: #1a2229; }
.studio-test-result { margin-top: 12px; }
.studio-test-result img { max-width: 100%; max-height: 480px; border-radius: 12px; }
.helpbox.ok { border-color: #3d6b4b; background: #14261b; }
@media (max-width: 760px) {
  .studio-uploads { grid-template-columns: 1fr; }
  .studio-drop { min-height: 160px; }
  .studio-admin-row { grid-template-columns: 56px 1fr; }
  .studio-admin-row .inlineactions, .studio-admin-row .switch { grid-column: 1 / -1; }
}
.montage-mode .cc-preview { display: none; }
.montage-mode .cc-layout { grid-template-columns: minmax(0, 760px); justify-content: center; }
.idea-previews { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Section « Enseignes murales » de l'accueil ---------- */
.signs-section { background: #0d1216; border-bottom: 1px solid #26323b; }
.signs-section .service-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.wall-mockup {
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px;
  background: linear-gradient(180deg, #d9d2c6 0%, #cbc2b4 72%, #b9ae9d 100%);
  box-shadow: inset 0 0 120px #0004;
}
.wall-mockup::before {
  /* lumière d'un spot au plafond */
  content: ''; position: absolute; left: 50%; top: -30%; width: 70%; height: 90%; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 30%, #fff8e6aa, transparent 65%);
}
.wall-sign {
  position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px;
  padding: 18px 34px; color: #f6efe2; background: #1e2a33; border-radius: 6px;
  box-shadow: 10px 16px 18px #0006, 0 0 0 4px #2b3a46;
}
.wall-sign-mark { width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(#e2b04a 0 25%, #f6efe2 0 50%, #e2b04a 0 75%, #f6efe2 0); }
.wall-sign strong { font-family: "Bebas Neue", Impact, sans-serif; font-size: clamp(26px, 3.2vw, 42px); letter-spacing: 0.08em; line-height: 1; }
.wall-sign small { font-size: 9px; letter-spacing: 0.28em; opacity: 0.75; }
.wall-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(#7a5a3e, #5e432d); }
@media (max-width: 900px) {
  .signs-section .feature-grid { grid-template-columns: 1fr; }
  .signs-section .feature-visual { min-height: 300px; }
}
.studio-master { display: flex; gap: 12px; align-items: center; padding: 14px 16px; margin: 12px 0; border-radius: 14px; border: 2px solid #4a3a3a; background: #1d1616; cursor: pointer; }
.studio-master.on { border-color: #3d6b4b; background: #14261b; }
.studio-master input { width: 22px; height: 22px; accent-color: #8fe0a6; }
.studio-master small { display: block; color: #b9c8d2; }
/* Créateur camping : styles, couleurs du texte, photo du terrain */
.cc-style {
  display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: 12px; cursor: pointer;
  border: 2px solid #33424e; background: #10171d; color: inherit; font-weight: 700; font-size: 13px; transition: transform 0.12s;
}
.cc-style span { font-size: 24px; }
.cc-style:hover { transform: scale(1.03); }
.cc-style.active { border-color: #f2b84b; background: #241f12; }
.cc-colors { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.cc-bg { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cc-bg .cc-thumb { width: 120px; height: 76px; }
#campOrderStart { width: 100%; }
#campPriceBox small:last-child { font-size: 12px; margin-top: 2px; }
.wall-sign strong { white-space: nowrap; }

/* ---------- Administration simplifiée ---------- */
.admin-subnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 5px; background: #121a20; border: 1px solid #2f3d48; border-radius: 12px; width: fit-content; max-width: 100%; }
.admin-subnav button { border: 0; background: none; color: #c9d5dd; padding: 9px 14px; border-radius: 9px; cursor: pointer; font-weight: 600; }
.admin-subnav button.active { background: #dce5ea; color: #151a1e; }
.editortabs button { font-size: 15px; font-weight: 600; cursor: pointer; }
.type-family { margin: 16px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #9fb0bc; }
.photo-section { border: 1px solid #2f3d48; border-radius: 14px; padding: 16px; margin: 14px 0; background: #121a20; }
.photo-section h4 { margin: 0 0 4px; font-size: 16px; }
.main-photo-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.main-photo-row .mediaPreview { margin: 0; }
.editor-more { margin-top: 12px; }
.editor-more > summary { cursor: pointer; color: #b9c8d2; font-weight: 600; font-size: 14px; }
.editor-more[open] > summary { margin-bottom: 6px; }
.help-list { display: grid; gap: 10px; }
.help-item { background: #161f26; border: 1px solid #34434f; border-radius: 12px; padding: 14px 16px; }
.help-item summary { cursor: pointer; font-weight: 700; font-size: 16px; }
.help-item div { margin-top: 10px; color: #d4dee5; line-height: 1.6; }
.help-item ol { margin: 8px 0; padding-left: 22px; }
.admin-sidebar nav button i { font-style: normal; width: 22px; display: inline-block; text-align: center; }
@media (max-width: 700px) { .main-photo-row { grid-template-columns: 1fr; } }

/* ---------- Choix en cartes avec photo (ex. modèles de gravure) + quantités ---------- */
.model-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.model-card { display: grid; background: #10171d; border: 2px solid #2d3a45; border-radius: 14px; overflow: hidden; transition: border-color 0.15s, transform 0.15s; }
.model-card.previewing { border-color: #8b9aa6; }
.model-card.picked { border-color: #8fe0a6; box-shadow: 0 0 0 1px #8fe0a6; }
.model-card-img { display: grid; place-items: center; aspect-ratio: 1; padding: 0; border: 0; background: #1a2229; cursor: zoom-in; color: #9fb0bc; font-size: 26px; font-weight: 800; }
.model-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.model-card-body { padding: 8px 10px 4px; }
.model-card-body strong { display: block; font-size: 14px; line-height: 1.25; }
.model-card-body small { color: #9fb0bc; font-size: 12px; }
.qty-step { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; margin: 6px 8px 10px; border: 1px solid #3b4a56; border-radius: 10px; overflow: hidden; }
.qty-step button { height: 36px; border: 0; background: #1f2a33; color: #fff; font-size: 20px; cursor: pointer; }
.qty-step button:hover { background: #2c3a45; }
.qty-step span { text-align: center; font-weight: 800; font-size: 16px; }
.model-card.picked .qty-step span { color: #8fe0a6; }
/* Administration : photo d'un choix */
.choice-photo-pick { display: grid; place-items: center; width: 56px; height: 56px; border: 1px dashed #4a5c69; border-radius: 10px; cursor: pointer; overflow: hidden; background: #10171d; font-size: 20px; }
.choice-photo-pick img { width: 100%; height: 100%; object-fit: cover; }
/* Assortiment au hasard : le choix d'un modèle précis reste discret */
.assort-note { margin: 4px 0 6px; color: #c9d5dd; font-size: 14px; }
.assort-pick > summary { display: inline-block; cursor: pointer; font-size: 12px; color: #8696a2; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.assort-pick > summary::-webkit-details-marker { display: none; }
.assort-pick[open] > summary { margin-bottom: 10px; color: #b9c8d2; }

/* ---------- Outil de cadrage des photos (administration) ---------- */
.crop-overlay { position: fixed; inset: 0; z-index: 3000; background: #000c; display: grid; place-items: center; padding: 16px; }
.crop-overlay[hidden] { display: none; }
.crop-box { background: #131a20; border: 1px solid #40505c; border-radius: 18px; padding: 20px; max-width: 780px; width: 100%; display: grid; gap: 12px; max-height: 96vh; overflow: auto; }
.crop-head h3 { margin: 0; }
.crop-stage { position: relative; justify-self: center; border-radius: 10px; overflow: hidden; background: #0b1014; touch-action: none; }
.crop-stage canvas { display: block; }
.crop-grid { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 33.1%, #ffffff40 33.3%, transparent 33.5%, transparent 66.5%, #ffffff40 66.7%, transparent 66.9%),
              linear-gradient(0deg, transparent 33.1%, #ffffff40 33.3%, transparent 33.5%, transparent 66.5%, #ffffff40 66.7%, transparent 66.9%); }
.crop-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.crop-zoom { display: flex; gap: 8px; align-items: center; flex: 1; min-width: 200px; }
.crop-zoom input { flex: 1; }
.crop-mode { display: flex; gap: 6px; }
.crop-mode .chip { cursor: pointer; }
.crop-warning { color: #f2c26b; margin: 0; }
.crop-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- Mêmes formats partout : produits 4:3, choix 1:1, réalisations 4:3, articles 16:9 ---------- */
#products .cardimage, .cardimage, .related-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.work-card img, #gallery .work-card img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.seo-card-img, #blogue .seo-card-img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 760px) { #products .cardimage, .cardimage { aspect-ratio: 4 / 3; } }

/* ---------- État des produits : en vente / épuisé / caché ---------- */
.cardimage-wrap { position: relative; }
.productcard.sold-out .cardimage { filter: grayscale(0.6) brightness(0.8); }
.soldout-badge { position: absolute; left: 10px; top: 10px; background: #f2b84bf0; color: #2a1d05; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 20px; }
.status-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.status-filter .chip { cursor: pointer; }
.status-switch { display: inline-flex; border: 1px solid #3b4a56; border-radius: 10px; overflow: hidden; }
.status-switch button { border: 0; background: #151d24; color: #b9c8d2; padding: 7px 10px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.status-switch button + button { border-left: 1px solid #3b4a56; }
.status-switch button.active { background: #dce5ea; color: #151a1e; font-weight: 700; }
.status-switch.big button { padding: 10px 16px; font-size: 14px; }
.adminrow.status-off { opacity: 0.6; }
.adminrow.status-soldout img { filter: grayscale(0.6); }
.admin-actions { flex-wrap: wrap; }

/* ---------- Livraison ---------- */
.ship-rates { display: grid; gap: 10px; margin: 14px 0; }
.ship-rate { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 12px; border: 1px solid #2f3d48; border-radius: 12px; background: #121a20; }
.ship-rate > .vmedia-label { flex: 1 1 150px; min-width: 130px; }
.ship-rate > .ship-rate-qty { flex: 0 0 auto; }
.ship-rate-qty .inlineactions { flex-wrap: nowrap; }
.ship-rate-qty input { width: 64px; }
.ship-calc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.ship-table { width: 100%; border-collapse: collapse; }
.ship-table td, .ship-table th { padding: 8px; border-bottom: 1px solid #2f3d48; text-align: left; }
.delivery-pick.disabled { opacity: 0.55; cursor: not-allowed; }
.shipping-note { color: #f2c26b; }
@media (max-width: 760px) { .ship-calc { grid-template-columns: 1fr 1fr; } }
.parcel-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; width: 100%; }
.parcel-row > b { flex: 0 0 100%; font-size: 13px; color: #c9d5dd; }
.parcel-row .vmedia-label { flex: 0 1 120px; }
.parcel-when { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; width: 100%; }
.parcel-when > .fieldlabel { flex: 0 0 100%; }
.unit-field { display: flex; align-items: center; gap: 6px; }
.unit-field small { color: #9fb0bc; }
.ship-test { display: grid; grid-template-columns: 2fr 70px 1.2fr auto; gap: 8px; }
.shipping-pending span:last-child { color: #f2c26b; font-size: 13px; }
@media (max-width: 760px) { .ship-test { grid-template-columns: 1fr 1fr; } }

/* ---------- Avis des clients ---------- */
.review-stars { color: #f2b84b; letter-spacing: 1px; }
.review-stars.big { font-size: 20px; }
.card-rating { margin: -4px 0 6px; font-size: 14px; }
.card-rating small { color: #9fb0bc; }
.product-reviews { margin-top: 26px; padding-top: 22px; border-top: 1px solid #2f3d48; }
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; }
.reviews-head h3 { margin: 4px 0 12px; }
.reviews-average { color: #c9d5dd; }
.reviews-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.review-card { background: #10171d; border: 1px solid #2d3a45; border-radius: 14px; padding: 14px 16px; }
.review-card p { margin: 8px 0; color: #dce6ed; line-height: 1.55; }
.review-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.review-top time { color: #8696a2; font-size: 12px; }
.review-name { font-size: 14px; color: #b9c8d2; }
#reviewsMore { grid-column: 1 / -1; justify-self: start; }
/* Administration des avis */
.star-pick button { background: none; border: 0; font-size: 30px; color: #3b4a56; cursor: pointer; padding: 0 2px; }
.star-pick button.on { color: #f2b84b; }
.review-admin-list { display: grid; gap: 10px; margin-top: 14px; }
.review-admin { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid #2f3d48; border-radius: 12px; background: #121a20; }
.review-admin p { margin: 6px 0 0; color: #c9d5dd; }
.review-admin.hidden-review { opacity: 0.55; }

/* ---------- FabriqBot : bulle de message discrète (style du site : sombre, bordures fines) ---------- */
.fbot { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.fbot > * { pointer-events: auto; }
.fbot.behind { display: none; }
.fbot-bubble {
  position: relative; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: #10171d; color: #e1e8ec; border: 1px solid #4b5d68; box-shadow: 0 10px 28px #0009;
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
.fbot-bubble:hover, .fbot.open .fbot-bubble { border-color: #dce5ea; background: #161f26; transform: translateY(-1px); }
.fbot-dot { position: absolute; top: 1px; right: 1px; width: 11px; height: 11px; border-radius: 50%; background: #f2b84b; border: 2px solid #10171d; }
.fbot-panel {
  width: min(350px, calc(100vw - 40px)); max-height: min(560px, calc(100vh - 110px)); display: flex; flex-direction: column;
  background: #0f151a; border: 1px solid #34414d; border-radius: 16px; box-shadow: 0 24px 60px #000c; overflow: hidden;
}
.fbot-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #26323b; background: #121a20; }
.fbot-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; font-family: "Manrope", "DM Sans", sans-serif; font-weight: 800; font-size: 19px; color: #151a1e; background: linear-gradient(145deg, #f3f6f8, #aebac4); }
.fbot-kicker { display: block; font-size: 9px; letter-spacing: 0.22em; color: #8696a2; font-weight: 700; }
.fbot-head strong { font-size: 15px; }
.fbot-x { margin-left: auto; background: none; border: 0; color: #9fb0bc; font-size: 22px; cursor: pointer; line-height: 1; }
.fbot-x:hover { color: #fff; }
.fbot-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; overflow: auto; min-height: 0; }
.fbot-msg { background: #161f26; border: 1px solid #26323b; border-radius: 4px 12px 12px 12px; padding: 10px 12px; font-size: 14px; line-height: 1.5; color: #dce6ed; }
.fbot-thread { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow: auto; padding-right: 2px; }
.fbot-thread .bubble { max-width: 92%; font-size: 14px; }
.fbot-thread .message-attachment { max-width: 100%; }
.fbot-form, .fbot-reply { display: grid; gap: 8px; }
.fbot-form textarea, .fbot-reply textarea { resize: vertical; min-height: 56px; font-size: 14px; }
.fbot-who { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fbot-who[hidden] { display: none; }
.fbot-me { margin: 0; font-size: 12px; color: #8696a2; }
.fbot-me button, .fbot-text-btn { background: none; border: 0; color: #b9c8d2; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 12px; padding: 0; justify-self: start; align-self: flex-start; }
.fbot-links { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; border-top: 1px solid #1f2a33; }
.fbot-links > * { font-size: 12px; padding: 6px 11px; border-radius: 8px; border: 1px solid #34414d; background: transparent; color: #c9d5dd; cursor: pointer; text-decoration: none; }
.fbot-links > *:hover { border-color: #8696a2; color: #fff; }
@media (max-width: 600px) { .fbot { right: 14px; bottom: 14px; } .fbot-bubble { width: 46px; height: 46px; } }

/* ---------------------------------------------------------------------
   Cadeaux d'entreprise
   --------------------------------------------------------------------- */
.corporate {
  background: #0c1115;
  padding: 100px 0;
  border-top: 1px solid #1d272f;
}
.corporate-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 8%;
  align-items: center;
}
.corporate h2 { font-size: clamp(36px, 4.6vw, 64px); margin: 20px 0; }
.corporate p { color: #aebbc5; max-width: 620px; font-size: 17px; line-height: 1.75; }
.corporate-points { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.corporate-points li { display: flex; gap: 14px; align-items: center; color: #d5dde3; font-size: 15px; }
.corporate-points b {
  width: 28px; height: 28px; flex: none; display: grid; place-items: center;
  border: 1px solid #5b6b77; border-radius: 50%; font-size: 12px; color: #e4e9ed;
}
.corporate-visual {
  display: grid; gap: 14px; padding: 34px;
  border: 1px solid #34414d;
  background: radial-gradient(ellipse at 30% 20%, #26313a, #0f151a 70%);
}
.corp-tag {
  display: grid; grid-template-columns: 74px 1fr; grid-template-rows: auto auto; column-gap: 16px;
  align-items: center; padding: 14px 18px; border-radius: 10px;
  background: linear-gradient(135deg, #c99a6b, #a8794d); color: #3b2414;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.corp-tag:nth-child(2) { transform: translateX(22px) rotate(-1.5deg); }
.corp-tag:nth-child(3) { transform: translateX(-10px) rotate(1deg); }
.corp-logo {
  grid-row: span 2; height: 46px; display: grid; place-items: center; text-align: center;
  border: 1.5px solid rgba(59, 36, 20, 0.6); border-radius: 50%; font-size: 8px; letter-spacing: 0.12em; font-weight: 700;
}
.corp-tag strong { font-family: 'Playfair Display', serif; font-style: italic; font-size: 22px; font-weight: 500; }
.corp-tag small { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.75; }
.corp-products { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.corp-products label {
  display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; cursor: pointer;
  border: 1px solid #3a4853; border-radius: 999px; font-size: 13px; color: #d5dde3;
}
.corp-products label:has(input:checked) { border-color: #d6e0e7; background: #1f2a33; }
@media (max-width: 900px) {
  .corporate { padding: 70px 0; }
  .corporate-grid { grid-template-columns: 1fr; gap: 40px; }
  .corporate-visual { padding: 22px; }
}

/* ---------------------------------------------------------------------
   Emballage cadeau (fiche produit)
   --------------------------------------------------------------------- */
.giftwrap { margin: 4px 0 10px; }
.giftwrap .toggleline { margin: 0; }
.giftwrap #giftMessage { margin-top: 8px; }

/* ---------------------------------------------------------------------
   Épreuves à approuver (suivi + admin) et page de partage
   --------------------------------------------------------------------- */
.proof-card { margin-top: 16px; border-color: #5b6b77; }
.proof { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; margin-top: 14px; }
.proof + .proof { padding-top: 16px; border-top: 1px solid #2a353e; }
.proof img { width: 100%; border-radius: 10px; border: 1px solid #34414d; background: #fff; display: block; }
.proof-old { grid-template-columns: 120px 1fr; opacity: 0.8; }
.proof-body { display: grid; gap: 10px; align-content: start; }
.proof-body p { margin: 0; color: #c6d0d7; }
.proof-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 12px; color: #8d9fac; }
.proof-comment { font-size: 14px; padding: 10px 12px; background: #1b242c; border-radius: 8px; }
.status-badge.proof-pending { background: #3d3418; color: #f3d98a; }
.status-badge.proof-approved { background: #183d2a; color: #8fe0b0; }
.status-badge.proof-changes { background: #3d2a18; color: #f0bb85; }
.admin-proof { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid #2a353e; }
.admin-proof img { width: 110px; height: 82px; object-fit: cover; border-radius: 8px; border: 1px solid #34414d; background: #fff; }
.admin-proof .btn { margin-top: 6px; }
.proof-new { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.proof-new textarea { flex-basis: 100%; }
.share-card { max-width: 820px; margin: 24px auto; }
.share-image img { width: 100%; border-radius: 12px; border: 1px solid #34414d; background: #fff; margin: 16px 0; display: block; }
.share-cta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-top: 6px; }
.share-cta > div:first-child { display: grid; gap: 4px; }
@media (max-width: 700px) {
  .proof, .proof-old { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Paniers non terminés (admin)
   --------------------------------------------------------------------- */
.abandoned-list { display: grid; gap: 12px; }
.abandoned.is-contacted { opacity: 0.65; }
.abandoned-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.abandoned-total { font-weight: 700; display: flex; gap: 8px; align-items: center; }
.abandoned ul { margin: 10px 0; padding-left: 18px; color: #c6d0d7; }
.danger-text { color: #f08f8f !important; }

/* Prix de lot (fiche produit) */
.bundle-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 10px; padding: 10px 14px; border: 1px dashed #5b6b77; border-radius: 10px; font-size: 14px; }
.bundle-offer span { padding: 3px 10px; border: 1px solid #3a4853; border-radius: 999px; color: #d5dde3; }
.bundle-offer span.on { border-color: #8fe0b0; color: #8fe0b0; background: #183d2a; }
.bundle-offer small { flex-basis: 100%; color: #aebbc5; }

/* ---------------------------------------------------------------------
   Page Entreprises (lien du catalogue)
   --------------------------------------------------------------------- */
.corp-page .blog-topbar nav .btn { color: var(--ink); }
.corp-hero { padding: 90px 0 100px; border-top: 0; }
.corp-hero h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; margin: 20px 0; letter-spacing: -0.03em; }
.corp-hero h1 em, .corp-page h2 em { font-family: 'Playfair Display', serif; font-weight: 400; color: #b9c6cf; }
.corp-page h2 { font-size: clamp(32px, 4vw, 52px); margin: 16px 0; letter-spacing: -0.02em; }
.corp-products-section { background: #0f151a; padding: 90px 0; }
.corp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 34px; }
.corp-card { display: grid; gap: 8px; align-content: start; color: inherit; text-decoration: none; background: #141c23; border: 1px solid #2c3842; border-radius: 12px; padding: 14px; transition: border-color 0.2s, transform 0.2s; }
.corp-card:hover { border-color: #7d8c96; transform: translateY(-2px); }
.corp-card-img { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #1b242c; }
.corp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.corp-card small { color: #aebbc5; font-size: 13px; line-height: 1.5; }
.corp-card-foot { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: 4px; font-size: 13px; }
.corp-card-foot em { font-style: normal; color: #aebbc5; }
.corp-how { background: #0c1115; padding: 90px 0; }
.corp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.corp-steps div { display: grid; gap: 8px; align-content: start; padding: 22px; border: 1px solid #2c3842; border-radius: 12px; }
.corp-steps b { font-size: 12px; letter-spacing: 0.2em; color: #8d9fac; }
.corp-steps span { color: #aebbc5; font-size: 14px; line-height: 1.6; }
.corp-form-section { background: #0f151a; padding: 90px 0 110px; }
.corp-form-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 6%; align-items: start; }
@media (max-width: 900px) {
  .corp-steps { grid-template-columns: 1fr 1fr; }
  .corp-form-wrap { grid-template-columns: 1fr; }
  .corp-hero { padding: 50px 0 70px; }
}
@media (max-width: 560px) {
  .corp-steps { grid-template-columns: 1fr; }
  .corp-page .blog-topbar nav a:not(.btn) { display: none; }
}

/* Admin → Entreprises */
.corp-admin-link { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.corp-admin-link code, .corp-admin-row code { background: #0f151a; border: 1px solid #2c3842; border-radius: 8px; padding: 8px 10px; font-size: 13px; word-break: break-all; }
.corp-admin-link code { flex: 1 1 320px; }
.corp-admin-new { display: flex; gap: 10px; margin: 12px 0; }
.corp-admin-new .field { flex: 1; }
.corp-admin-links { display: grid; gap: 10px; }
.corp-admin-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #2a353e; }
.corp-admin-row > div:first-child { display: grid; gap: 6px; min-width: 0; }
@media (max-width: 800px) { .corp-admin-row { grid-template-columns: 1fr; } }
.corp-card-foot { flex-wrap: wrap; }
.corp-card-foot em { font-family: inherit; font-size: 12px; }

/* Offre « Prenez-en 6 et obtenez une boîte cadeau! » */
.gift-promo { display: grid; gap: 4px; padding: 12px 14px; margin-bottom: 8px; border: 1px dashed #c99a6b; border-radius: 10px; background: rgba(201, 154, 107, 0.08); }
.gift-promo strong { color: #f1d3b3; }
.gift-promo small { color: #aebbc5; }
.gift-promo.on { border-style: solid; border-color: #8fe0b0; background: #183d2a; }
.gift-promo.on small { color: #8fe0b0; }

.gift-admin-choice { border-top: 1px solid #2a353e; padding-top: 10px; margin-top: 10px; }
.inline-unit { display: flex; align-items: center; gap: 10px; }
.inline-unit .field { max-width: 110px; }
.inline-unit span { color: #aebbc5; font-size: 14px; }

/* Personnalisation simple (un seul champ) */
.personal-panel h3 small { font-weight: 400; color: #8d9fac; font-size: 14px; }
.personal-examples { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0; }
.personal-examples span { font-size: 12px; color: #8d9fac; }
.personal-examples .chip { font-size: 12px; padding: 5px 10px; }
#personalPrice { color: #8fe0b0; min-height: 1em; }
.personal-upload { margin: 8px 0; }
.personal-upload summary { cursor: pointer; color: #d5dde3; font-size: 14px; }
.personal-free { color: #8d9fac; margin: 6px 0 0; }

.personal-panel h3 { margin-bottom: 10px; }
.personal-photo { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.personal-panel .idea-previews { margin-top: 8px; }
.personal-panel .idea-preview { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
