/**
 * EasyKitchen — vitrine & espace vendeur
 * Direction : carnet de chef · papier chaud · bistro contemporain
 */

:root {
  --ek-ink: #161311;
  --ek-ink-soft: rgba(22, 19, 17, 0.58);
  --ek-paper: #faf7f2;
  --ek-paper-deep: #f0ebe3;
  --ek-card: #fffcfa;
  --ek-card-glass: rgba(255, 252, 250, 0.82);
  --ek-line: rgba(22, 19, 17, 0.09);
  --ek-line-strong: rgba(22, 19, 17, 0.14);
  --ek-sage: #4a6b58;
  --ek-sage-deep: #3d5a49;
  --ek-sage-soft: #e2eee6;
  --ek-terracotta: #b84a32;
  --ek-terracotta-bright: #c45c3e;
  --ek-terracotta-soft: #fceae5;
  --ek-mustard: #c4922e;
  --ek-mustard-soft: #f7efd9;
  --ek-copper: #9a5c3c;
  --ek-shadow-sm: 0 2px 8px rgba(22, 19, 17, 0.04);
  --ek-shadow: 0 12px 40px rgba(22, 19, 17, 0.07);
  --ek-shadow-lift: 0 20px 50px rgba(22, 19, 17, 0.1);
  --ek-shadow-glow: 0 8px 28px rgba(184, 74, 50, 0.22);
  --ek-radius: 1.35rem;
  --ek-radius-sm: 0.9rem;
  --ek-font: var(--ecm-font-body);
  --ek-display: var(--ecm-font-display);
  --ek-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ek-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

::selection {
  background: var(--ek-terracotta-soft);
  color: var(--ek-ink);
}

.ek-page {
  font-family: var(--ek-font);
  color: var(--ek-ink);
  background: var(--ek-paper);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

.ek-page__bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 80% at 0% -20%, rgba(184, 74, 50, 0.11), transparent 55%),
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(74, 107, 88, 0.12), transparent 48%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(196, 146, 46, 0.08), transparent 42%),
    linear-gradient(180deg, var(--ek-paper) 0%, var(--ek-paper-deep) 100%);
}

.ek-page__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.ek-wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1rem 3.5rem;
}

@media (min-width: 768px) {
  .ek-wrap {
    padding: 1.5rem 1.5rem 4.5rem;
  }
}

/* ——— Hero ——— */
.ek-hero {
  text-align: center;
  padding: 2.25rem 0 1.75rem;
  animation: ek-fade-up 0.7s var(--ek-ease-out) both;
}

@keyframes ek-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ek-hero__ornament {
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(90deg, transparent, var(--ek-copper), transparent);
  border-radius: 2px;
}

.ek-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--ek-card-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ek-line);
  box-shadow: var(--ek-shadow-sm);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ek-sage-deep);
}

.ek-hero__title {
  font-family: var(--ek-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 5.5vw, 2.65rem);
  line-height: 1.12;
  margin: 1.1rem 0 0.65rem;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--ek-ink);
}

.ek-hero__sub {
  color: var(--ek-ink-soft);
  font-size: 0.98rem;
  max-width: 26rem;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* ——— Surfaces ——— */
.ek-search-card {
  background: var(--ek-card);
  border-radius: var(--ek-radius);
  box-shadow: var(--ek-shadow);
  border: 1px solid var(--ek-line);
  padding: 1.15rem 1.2rem;
  margin-bottom: 1.85rem;
  transition: box-shadow 0.35s var(--ek-ease), border-color 0.25s ease;
  animation: ek-fade-up 0.65s var(--ek-ease-out) 0.08s both;
}

.ek-search-card:focus-within {
  border-color: rgba(74, 107, 88, 0.25);
  box-shadow: var(--ek-shadow), 0 0 0 3px rgba(74, 107, 88, 0.08);
}

.ek-track-card {
  composes: none;
}

.ek-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .ek-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .ek-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ——— Restaurant cards ——— */
.ek-card-restaurant {
  background: var(--ek-card);
  border-radius: var(--ek-radius);
  border: 1px solid var(--ek-line);
  overflow: hidden;
  box-shadow: var(--ek-shadow);
  transition: transform 0.45s var(--ek-ease), box-shadow 0.45s var(--ek-ease);
  animation: ek-fade-up 0.55s var(--ek-ease-out) both;
}

.ek-card-restaurant:nth-child(1) { animation-delay: 0.05s; }
.ek-card-restaurant:nth-child(2) { animation-delay: 0.1s; }
.ek-card-restaurant:nth-child(3) { animation-delay: 0.15s; }
.ek-card-restaurant:nth-child(4) { animation-delay: 0.2s; }
.ek-card-restaurant:nth-child(5) { animation-delay: 0.25s; }
.ek-card-restaurant:nth-child(6) { animation-delay: 0.3s; }

.ek-card-restaurant:hover {
  transform: translateY(-5px);
  box-shadow: var(--ek-shadow-lift);
}

.ek-card-restaurant__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--ek-sage-soft) 0%, var(--ek-terracotta-soft) 55%, var(--ek-mustard-soft) 100%);
  position: relative;
  overflow: hidden;
}

.ek-card-restaurant__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(22, 19, 17, 0.45) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ek-ease);
  pointer-events: none;
}

.ek-card-restaurant:hover .ek-card-restaurant__media::after {
  opacity: 1;
}

.ek-card-restaurant__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ek-ease);
}

.ek-card-restaurant:hover .ek-card-restaurant__media img {
  transform: scale(1.04);
}

.ek-card-restaurant__body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.ek-card-restaurant__name {
  font-family: var(--ek-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.ek-card-restaurant__meta {
  font-size: 0.82rem;
  color: var(--ek-ink-soft);
  margin-bottom: 0.85rem;
}

.ek-card-restaurant__featured {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.ek-card-restaurant__featured-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1 1 calc(50% - 0.5rem);
  max-width: 100%;
  padding: 0.35rem 0.45rem;
  border-radius: 0.75rem;
  background: rgba(74, 107, 88, 0.06);
  border: 1px solid var(--ek-line);
}

.ek-card-restaurant__featured-img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ek-paper-deep);
}

.ek-card-restaurant__featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ek-card-restaurant__featured-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ek-sage);
  font-size: 0.85rem;
  opacity: 0.7;
}

.ek-card-restaurant__featured-txt {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ek-card-restaurant__featured-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ek-ink);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ek-card-restaurant__featured-price {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ek-terracotta);
}

.ek-distance-pill {
  background: var(--ek-sage-soft) !important;
  color: var(--ek-sage-deep) !important;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.35em 0.75em;
}

/* ——— Buttons ——— */
.ek-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  background: linear-gradient(135deg, var(--ek-terracotta) 0%, #a3412b 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--ek-shadow-glow);
  transition: transform 0.2s var(--ek-ease), filter 0.2s ease, box-shadow 0.25s ease;
}

.ek-btn-primary:hover {
  filter: brightness(1.06);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(184, 74, 50, 0.28);
}

.ek-btn-primary:active {
  transform: translateY(0);
}

.ek-btn-primary:focus-visible {
  outline: 2px solid var(--ek-sage);
  outline-offset: 3px;
}

.ek-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  border: 1px solid var(--ek-line-strong);
  background: var(--ek-card);
  color: var(--ek-ink);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ek-ease);
}

.ek-btn-ghost:hover {
  background: var(--ek-paper-deep);
  border-color: rgba(22, 19, 17, 0.18);
  color: var(--ek-ink);
}

.ek-btn-ghost:focus-visible {
  outline: 2px solid var(--ek-terracotta);
  outline-offset: 2px;
}

/* ——— Restaurant page ——— */
.ek-r-hero {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ek-line);
  animation: ek-fade-up 0.55s var(--ek-ease-out) both;
}

.ek-r-head {
  margin-bottom: 0;
}

.ek-r-head__back {
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}

.ek-r-head__back a {
  color: var(--ek-sage-deep);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ek-r-head__back a:hover {
  color: var(--ek-terracotta);
}

.ek-r-title {
  font-family: var(--ek-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 4.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.ek-week-strip {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.35rem 0 0.85rem;
  margin: 0 -0.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ek-sage-soft) transparent;
}

.ek-week-strip::-webkit-scrollbar {
  height: 5px;
}

.ek-week-strip::-webkit-scrollbar-thumb {
  background: var(--ek-sage-soft);
  border-radius: 99px;
}

.ek-day-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 4.65rem;
  padding: 0.6rem 0.7rem;
  border-radius: 1.05rem;
  border: 1px solid var(--ek-line);
  background: var(--ek-card);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s var(--ek-ease), border-color 0.25s ease, transform 0.2s var(--ek-ease);
}

.ek-day-chip:hover {
  border-color: rgba(74, 107, 88, 0.35);
  transform: translateY(-2px);
}

.ek-day-chip--active {
  border-color: var(--ek-sage);
  background: linear-gradient(165deg, var(--ek-sage-soft), #fff);
  box-shadow: 0 6px 20px rgba(74, 107, 88, 0.12);
}

.ek-day-chip__lab {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ek-sage-deep);
}

.ek-day-chip__date {
  font-size: 0.85rem;
  font-weight: 700;
}

.ek-day-chip__count {
  font-size: 0.68rem;
  color: var(--ek-ink-soft);
}

/* Service pills (restaurant) */
.ek-pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}

.ek-pill-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--ek-line-strong);
  background: var(--ek-card);
  color: var(--ek-ink-soft);
  transition: all 0.25s var(--ek-ease);
}

.ek-pill-tab:hover {
  border-color: var(--ek-sage);
  color: var(--ek-ink);
  background: var(--ek-sage-soft);
}

.ek-pill-tab--active {
  background: var(--ek-ink);
  border-color: var(--ek-ink);
  color: #fff;
  box-shadow: 0 6px 20px rgba(22, 19, 17, 0.15);
}

.ek-pill-tab--active:hover {
  background: var(--ek-ink);
  color: #fff;
  border-color: var(--ek-ink);
}

.ek-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ek-sage-deep);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--ek-sage-soft);
}

/* ——— Dish row ——— */
.ek-dish {
  display: flex;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: var(--ek-radius-sm);
  background: var(--ek-card);
  border: 1px solid var(--ek-line);
  margin-bottom: 0.7rem;
  align-items: flex-start;
  transition: border-color 0.25s ease, box-shadow 0.3s var(--ek-ease);
}

.ek-dish:hover {
  border-color: rgba(74, 107, 88, 0.2);
  box-shadow: var(--ek-shadow-sm);
}

.ek-dish__visual {
  flex-shrink: 0;
  width: 4.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ek-dish__gallery {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ek-sage-soft) transparent;
  width: 4.75rem;
  border-radius: 0.95rem;
  box-shadow: inset 0 0 0 1px var(--ek-line);
  background: var(--ek-sage-soft);
}

.ek-dish__gallery::-webkit-scrollbar {
  height: 3px;
}

.ek-dish__gallery-img {
  flex: 0 0 100%;
  width: 4.75rem;
  min-width: 4.75rem;
  height: 4.75rem;
  scroll-snap-align: start;
  object-fit: cover;
  display: block;
}

.ek-dish__img {
  width: 4.65rem;
  height: 4.65rem;
  border-radius: 0.95rem;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--ek-sage-soft);
  box-shadow: inset 0 0 0 1px var(--ek-line);
}

.ek-dish__img--ph {
  min-height: 4.75rem;
  min-width: 4.75rem;
  width: 4.75rem;
}

.ek-dish__video-wrap {
  width: 4.75rem;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #1a1816;
  box-shadow: 0 2px 10px rgba(22, 19, 17, 0.12);
}

.ek-dish__video {
  width: 100%;
  max-height: 5.5rem;
  display: block;
  vertical-align: bottom;
}

/* Recherche plats (page restaurant) */
.ek-dish-search {
  position: relative;
  margin-bottom: 1rem;
}

.ek-dish-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ek-ink-soft);
  font-size: 0.9rem;
  pointer-events: none;
}

.ek-dish-search__input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--ek-line-strong);
  background: var(--ek-card);
  padding: 0.65rem 1rem 0.65rem 2.65rem;
  font-size: 0.95rem;
  color: var(--ek-ink);
  box-shadow: var(--ek-shadow-sm);
  transition:
    border-color 0.25s var(--ek-ease),
    box-shadow 0.25s var(--ek-ease);
}

.ek-dish-search__input::placeholder {
  color: var(--ek-ink-soft);
}

.ek-dish-search__input:focus {
  outline: none;
  border-color: rgba(74, 107, 88, 0.45);
  box-shadow: 0 0 0 3px rgba(74, 107, 88, 0.12);
}

.ek-dish-search__empty {
  text-align: center;
  padding: 0.35rem 0 0.15rem;
}

.ek-dish__body {
  flex: 1;
  min-width: 0;
}

.ek-dish__name {
  font-weight: 700;
  font-size: 0.98rem;
  margin: 0 0 0.25rem;
  font-family: var(--ek-font);
  letter-spacing: -0.01em;
}

.ek-dish__desc {
  font-size: 0.8rem;
  color: var(--ek-ink-soft);
  margin: 0 0 0.45rem;
  line-height: 1.45;
}

.ek-dish__price {
  font-family: var(--ek-display);
  font-weight: 700;
  color: var(--ek-terracotta);
  font-size: 1.05rem;
}

.ek-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.4rem;
  background: var(--ek-paper-deep);
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid var(--ek-line);
}

.ek-qty button {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: none;
  background: var(--ek-card);
  font-weight: 700;
  line-height: 1;
  font-size: 1rem;
  color: var(--ek-ink);
  box-shadow: 0 1px 3px rgba(22, 19, 17, 0.06);
  transition: background 0.15s ease, transform 0.12s ease;
}

.ek-qty button:hover {
  background: var(--ek-sage-soft);
}

.ek-qty button:active {
  transform: scale(0.94);
}

/* ——— Cart bar + commande (formulaire au clic) ——— */
.ek-cart-bar {
  position: fixed;
  left: 0.65rem;
  right: 0.65rem;
  bottom: calc(4.65rem + env(safe-area-inset-bottom, 0px));
  z-index: 1038;
  max-width: min(1100px, 100%);
  margin: 0 auto;
  animation: ek-fade-up 0.55s var(--ek-ease-out) 0.12s both;
}

@media (min-width: 992px) {
  .ek-cart-bar {
    position: sticky;
    left: auto;
    right: auto;
    bottom: 0;
    margin: 2rem 0 0;
    max-width: none;
  }
}

.ek-cart-bar__accent {
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--ek-terracotta), var(--ek-mustard), var(--ek-sage));
  opacity: 0.9;
}

.ek-cart-bar__inner {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 252, 250, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--ek-line);
  border-radius: 1.15rem;
  box-shadow:
    0 -8px 36px rgba(22, 19, 17, 0.08),
    0 16px 48px rgba(22, 19, 17, 0.06);
}

.ek-cart-bar__sum {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
}

.ek-cart-bar__lab {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ek-ink-soft);
}

.ek-cart-bar__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.ek-cart-bar__total {
  font-family: var(--ek-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ek-ink);
  letter-spacing: -0.02em;
}

.ek-cart-bar__meta {
  font-size: 0.78rem;
  color: var(--ek-ink-soft);
}

.ek-cart-bar__action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--ek-sage-deep), var(--ek-sage));
  box-shadow: 0 4px 16px rgba(74, 107, 88, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.ek-cart-bar__action:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(74, 107, 88, 0.4);
}

.ek-cart-bar__action:not(:disabled):active {
  transform: translateY(0);
}

.ek-cart-bar__action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.ek-cart-bar__action-ico {
  font-size: 0.75rem;
  opacity: 0.85;
}

@media (min-width: 992px) {
  .ek-cart-bar__action-ico {
    transform: rotate(-90deg);
  }
}

/* Espace sous le menu pour ne pas masquer les derniers plats (barre fixe mobile) */
@media (max-width: 991.98px) {
  .ek-wrap:has(.ek-cart-bar) {
    padding-bottom: 6.5rem;
  }
}

/* Overlay formulaire */
.ek-order-panel {
  position: fixed;
  inset: 0;
  z-index: 1040;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s step-end;
}

.ek-order-panel.is-open {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s step-start;
}

body.ek-order-open {
  overflow: hidden;
}

@supports selector(:has(*)) {
  body:has(.ek-order-panel.is-open) {
    overflow: hidden;
  }
}

.ek-order-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 19, 17, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ek-ease);
}

.ek-order-panel.is-open .ek-order-panel__backdrop {
  opacity: 1;
}

.ek-order-panel__sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(92vh, 720px);
  display: flex;
  flex-direction: column;
  background: var(--ek-card);
  border-radius: 1.35rem 1.35rem 0 0;
  border: 1px solid var(--ek-line);
  box-shadow: 0 -20px 60px rgba(22, 19, 17, 0.18);
  transform: translateY(105%);
  transition: transform 0.42s var(--ek-ease-out);
}

@media (min-width: 576px) {
  .ek-order-panel__sheet {
    left: 50%;
    right: auto;
    width: min(100% - 1.5rem, 440px);
    border-radius: var(--ek-radius);
    bottom: 1.25rem;
    max-height: min(88vh, 640px);
    transform: translate(-50%, 105%);
  }
}

.ek-order-panel.is-open .ek-order-panel__sheet {
  transform: translateY(0);
}

@media (min-width: 576px) {
  .ek-order-panel.is-open .ek-order-panel__sheet {
    transform: translate(-50%, 0);
  }
}

.ek-order-panel__handle {
  width: 2.5rem;
  height: 4px;
  border-radius: 99px;
  background: var(--ek-line-strong);
  margin: 0.55rem auto 0;
  flex-shrink: 0;
}

@media (min-width: 576px) {
  .ek-order-panel__handle {
    display: none;
  }
}

.ek-order-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 1.1rem 0.85rem;
  border-bottom: 1px solid var(--ek-line);
  flex-shrink: 0;
}

.ek-order-panel__kicker {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.62rem !important;
}

.ek-order-panel__close {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: var(--ek-paper-deep);
  color: var(--ek-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.ek-order-panel__close:hover {
  background: var(--ek-terracotta-soft);
  transform: scale(1.05);
}

.ek-order-panel__body {
  padding: 1rem 1.1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ——— Parcours commande (étapes) ——— */
.ek-order-flow {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--ek-card);
  border: 1px solid var(--ek-line);
  border-radius: var(--ek-radius-sm);
  box-shadow: var(--ek-shadow-sm);
}

.ek-order-flow__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.ek-order-flow__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ek-ink-soft);
  transition: color 0.25s ease, transform 0.25s ease;
  position: relative;
}

.ek-order-flow__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0.85rem;
  left: calc(50% + 1.1rem);
  width: calc(100% - 0.5rem);
  height: 2px;
  background: var(--ek-line);
  z-index: 0;
  pointer-events: none;
}

.ek-order-flow__num {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--ek-paper-deep);
  border: 2px solid var(--ek-line);
  color: var(--ek-ink-soft);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  z-index: 1;
}

.ek-order-flow__step.is-done .ek-order-flow__num {
  background: var(--ek-sage-soft);
  border-color: var(--ek-sage);
  color: var(--ek-sage-deep);
}

.ek-order-flow__step.is-active .ek-order-flow__num {
  background: linear-gradient(135deg, var(--ek-sage-deep), var(--ek-sage));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(74, 107, 88, 0.35);
}

.ek-order-flow__step.is-active .ek-order-flow__txt {
  color: var(--ek-ink);
}

.ek-cart-bar__hint {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--ek-ink-soft);
  margin: 0;
  transition: color 0.2s ease;
}

.ek-cart-bar__progress-wrap {
  margin-top: 0.35rem;
}

.ek-cart-bar__progress-wrap.is-complete .ek-cart-bar__progress-bar {
  background: linear-gradient(90deg, var(--ek-sage), #5a8f6a);
}

.ek-cart-bar__progress-track {
  height: 6px;
  border-radius: 99px;
  background: var(--ek-paper-deep);
  overflow: hidden;
  border: 1px solid var(--ek-line);
}

.ek-cart-bar__progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ek-mustard), var(--ek-terracotta));
  transition: width 0.45s var(--ek-ease-out);
}

.ek-cart-bar__progress-label {
  display: block;
  margin-top: 0.25rem;
  color: var(--ek-ink-soft);
}

/* Toast */
.ek-toast-host {
  position: fixed;
  left: 50%;
  bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 1042;
  max-width: min(420px, calc(100vw - 2rem));
  pointer-events: none;
}

@media (min-width: 992px) {
  .ek-toast-host {
    bottom: 2rem;
  }
}

.ek-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.95rem;
  border-radius: 1rem;
  background: rgba(22, 19, 17, 0.92);
  color: #fff;
  font-size: 0.84rem;
  line-height: 1.4;
  box-shadow: 0 12px 40px rgba(22, 19, 17, 0.25);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.32s ease, transform 0.32s var(--ek-ease-out);
}

.ek-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ek-toast__icon {
  color: #86efac;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* Récap panneau */
.ek-order-recap {
  padding: 0.75rem 0.85rem;
  background: var(--ek-paper-deep);
  border-radius: var(--ek-radius-sm);
  border: 1px solid var(--ek-line);
}

.ek-order-recap__badge {
  background: var(--ek-sage-soft) !important;
  color: var(--ek-sage-deep) !important;
  font-weight: 700;
  font-size: 0.65rem !important;
}

.ek-order-recap__list {
  max-height: 11rem;
  overflow-y: auto;
}

.ek-order-recap__line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.35rem 0.65rem;
  align-items: baseline;
  font-size: 0.86rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--ek-line);
}

.ek-order-recap__line:last-child {
  border-bottom: none;
}

.ek-order-recap__name {
  min-width: 0;
  font-weight: 600;
  color: var(--ek-ink);
}

.ek-order-recap__mid {
  color: var(--ek-ink-soft);
  font-variant-numeric: tabular-nums;
}

.ek-order-recap__sub {
  font-weight: 700;
  color: var(--ek-terracotta);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.ek-order-submit__busy {
  pointer-events: none;
}

/* Animation + plat sélectionné */
.ek-dish--in-cart {
  border-color: rgba(74, 107, 88, 0.35) !important;
  box-shadow: 0 8px 28px rgba(74, 107, 88, 0.1);
}

@keyframes ek-dish-pulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.015);
  }
  100% {
    transform: scale(1);
  }
}

.ek-dish--pulse {
  animation: ek-dish-pulse 0.45s var(--ek-ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .ek-dish--pulse {
    animation: none;
  }

  .ek-toast {
    transition: opacity 0.15s ease;
  }

  .ek-cart-bar__progress-bar {
    transition: none;
  }
}

/* ==========================================================================
   EasyKitchen home 2026 — destination gastronomique premium
   ========================================================================== */
.ek-home-2026 {
  --ek26-forest: #12372a;
  --ek26-forest-deep: #071f17;
  --ek26-lime: #d9f99d;
  --ek26-coral: #ff6b45;
  --ek26-cream: #f8f4ea;
  --ek26-ink: #14201b;
  overflow: hidden;
  background: var(--ek26-cream);
}

.ek-home-2026 .ek-page__bg {
  background:
    radial-gradient(circle at 5% 15%, rgba(255, 107, 69, .12), transparent 25rem),
    radial-gradient(circle at 92% 42%, rgba(217, 249, 157, .18), transparent 28rem),
    linear-gradient(180deg, #fbf9f3 0%, #f4efe3 100%);
}

.ek26-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 28px), 1280px);
  margin: 0 auto;
  padding: 18px 0 70px;
}

.ek26-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr);
  min-height: 650px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(217, 249, 157, .08), transparent 20rem),
    linear-gradient(130deg, #0d2d22 0%, #123d2e 58%, #0b2a20 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(7, 31, 23, .22);
}

.ek26-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .065;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ek26-hero__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  top: -180px;
  left: 38%;
  background: #d9f99d;
  border-radius: 50%;
  filter: blur(150px);
  opacity: .13;
}

.ek26-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 30px clamp(30px, 4.6vw, 70px) 38px;
  min-width: 0;
}

.ek26-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: auto;
}

.ek26-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  color: #173629;
  background: var(--ek26-lime);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.ek26-top-actions { display: flex; gap: 7px; }
.ek26-top-actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
}
.ek26-top-actions a:hover { color: #fff; background: rgba(255, 255, 255, .08); transform: translateY(-1px); }

.ek26-hero__copy { margin: 68px 0 28px; }
.ek26-eyebrow {
  display: block;
  color: var(--ek26-coral);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ek26-hero__copy .ek26-eyebrow { color: var(--ek26-lime); }
.ek26-hero__copy h1 {
  max-width: 700px;
  margin: 13px 0 17px;
  color: #fff;
  font-family: var(--ek-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #fff !important;
}
.ek26-hero__copy h1 em { color: var(--ek26-lime); font-weight: 500; -webkit-text-fill-color: var(--ek26-lime) !important; }
.ek26-hero__copy p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: clamp(.92rem, 1.25vw, 1.05rem);
  line-height: 1.7;
}

.ek26-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  max-width: 690px;
  padding: 8px;
  color: var(--ek26-ink);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .19);
  width: 100%;
  min-width: 0;
}

.ek26-search__field { display: flex; align-items: center; min-width: 0; padding: 3px 8px; }
.ek26-search__field > span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin-right: 9px;
  place-items: center;
  color: #d24c2c;
  background: #fff0eb;
  border-radius: 12px;
}
.ek26-search__field label { display: block; min-width: 0; width: 100%; }
.ek26-search__field small { display: block; color: #7d8983; font-size: .58rem; font-weight: 800; }
.ek26-search__field select {
  display: block;
  width: 100%;
  padding: 2px 24px 2px 0;
  color: #17211d;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: .82rem;
  font-weight: 800;
}

.ek26-search__geo,
.ek26-search__submit {
  min-height: 46px;
  padding: 0 15px;
  border-radius: 12px;
  font-size: .74rem;
  font-weight: 850;
  white-space: nowrap;
}
.ek26-search__geo { color: #244f3e; background: #edf6f0; border: 0; }
.ek26-search__geo i { margin-right: 5px; }
.ek26-search__submit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: var(--ek26-coral);
  border: 0;
  box-shadow: 0 8px 18px rgba(255, 107, 69, .3);
}
.ek26-search__submit:hover { background: #f05b35; transform: translateY(-1px); }

.ek26-geo-message {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 3;
  padding: 8px 12px;
  color: #173629;
  background: #ecfccb;
  border-radius: 9px;
  font-size: .68rem;
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}
.ek26-geo-message.is-error { color: #8b2f1b; background: #fff0eb; }
.ek26-location-active { margin-top: 13px; color: #ccebdc; font-size: .7rem; font-weight: 700; }
.ek26-location-active a { margin-left: 8px; color: #fff; }

.ek26-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: auto;
  padding-top: 28px;
}
.ek26-hero__proof div { display: flex; flex-direction: column; }
.ek26-hero__proof strong { color: #fff; font-family: var(--ek-display); font-size: 1.35rem; line-height: 1; }
.ek26-hero__proof span { margin-top: 5px; color: rgba(255, 255, 255, .5); font-size: .61rem; font-weight: 700; }

.ek26-hero__visual { position: relative; min-height: 650px; padding: 20px 20px 20px 0; }
.ek26-hero__photo { position: absolute; inset: 20px 20px 20px 0; overflow: hidden; border-radius: 26px; }
.ek26-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.ek26-hero__photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 20, 14, .05), rgba(4, 20, 14, .6));
}
.ek26-food-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-content: center;
  color: #173629;
  background: radial-gradient(circle at 60% 30%, #efffcf, #a9d7a8);
  text-align: center;
}
.ek26-food-placeholder i { margin-bottom: 18px; font-size: 5rem; opacity: .8; }
.ek26-food-placeholder span { font-family: var(--ek-display); font-size: 1.6rem; font-weight: 700; }

.ek26-featured {
  position: absolute;
  right: 42px;
  bottom: 48px;
  left: 22px;
  z-index: 2;
  display: block;
  padding: 19px 22px;
  color: #fff;
  background: rgba(7, 27, 20, .7);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  text-decoration: none;
  transition: .25s ease;
}
.ek26-featured:hover { color: #fff; background: rgba(7, 27, 20, .82); transform: translateY(-3px); }
.ek26-featured__label { display: block; margin-bottom: 7px; color: var(--ek26-lime); font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.ek26-featured > strong { display: block; font-family: var(--ek-display); font-size: 1.45rem; }
.ek26-featured small { color: rgba(255, 255, 255, .65); font-size: .68rem; }
.ek26-featured b { display: block; margin-top: 10px; color: #fff; font-size: .7rem; }

.ek26-delivery-card {
  position: absolute;
  z-index: 3;
  top: 60px;
  left: -33px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  color: #17211d;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .2);
}
.ek26-delivery-card > span { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; background: var(--ek26-coral); border-radius: 11px; }
.ek26-delivery-card strong,
.ek26-delivery-card small { display: block; }
.ek26-delivery-card strong { font-size: .7rem; }
.ek26-delivery-card small { margin-top: 2px; color: #7d8983; font-size: .57rem; }

.ek26-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 8px 0;
  padding: 18px 8px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(20, 32, 27, .08);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(20, 32, 27, .05);
  backdrop-filter: blur(10px);
}
.ek26-benefits > div { display: flex; align-items: center; gap: 11px; padding: 5px 16px; border-right: 1px solid rgba(20, 32, 27, .09); }
.ek26-benefits > div:last-child { border-right: 0; }
.ek26-benefits > div > span { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; color: #1e5b43; background: #e9f4ed; border-radius: 13px; }
.ek26-benefits p,
.ek26-benefits strong,
.ek26-benefits small { display: block; margin: 0; }
.ek26-benefits strong { color: #17211d; font-size: .72rem; }
.ek26-benefits small { margin-top: 3px; color: #7a847f; font-size: .57rem; line-height: 1.35; }

.ek26-discovery { padding: 74px 8px 25px; }
.ek26-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.ek26-section-head h2 {
  margin: 8px 0 7px;
  color: var(--ek26-ink);
  font-family: var(--ek-display);
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  letter-spacing: -.04em;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: var(--ek26-ink) !important;
}
.ek26-section-head p { margin: 0; color: #6d7772; font-size: .83rem; }
.ek26-result-count { padding: 7px 11px; color: #285542; background: #e8f2eb; border-radius: 999px; font-size: .66rem; font-weight: 850; white-space: nowrap; }

.ek26-city-rail { display: flex; gap: 8px; margin-bottom: 24px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.ek26-city-rail::-webkit-scrollbar { display: none; }
.ek26-city-rail a {
  flex: 0 0 auto;
  padding: 9px 15px;
  color: #53615a;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(20, 32, 27, .1);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  text-decoration: none;
}
.ek26-city-rail a:hover,
.ek26-city-rail a.is-active { color: #fff; background: var(--ek26-forest); border-color: var(--ek26-forest); }

.ek26-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ek26-restaurant-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 32, 27, .09);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(20, 32, 27, .07);
  transition: transform .35s var(--ek-ease), box-shadow .35s var(--ek-ease);
}
.ek26-restaurant-card:hover { transform: translateY(-7px); box-shadow: 0 25px 60px rgba(20, 32, 27, .13); }
.ek26-restaurant-card__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.ek26-restaurant-card__media { position: relative; height: 230px; overflow: hidden; background: #dfece3; }
.ek26-restaurant-card__media > img,
.ek26-card-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ek-ease); }
.ek26-restaurant-card:hover .ek26-restaurant-card__media > img { transform: scale(1.055); }
.ek26-card-placeholder { display: grid; place-items: center; color: #487260; background: linear-gradient(145deg, #dceee2, #f3e3d8); font-size: 3rem; }
.ek26-card-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, rgba(6, 21, 15, .52)); }
.ek26-card-status,
.ek26-card-distance { position: absolute; top: 13px; padding: 6px 9px; border-radius: 999px; font-size: .58rem; font-weight: 850; backdrop-filter: blur(10px); }
.ek26-card-status { left: 13px; color: #194d38; background: rgba(231, 255, 218, .9); }
.ek26-card-status i { margin-right: 4px; color: #22a75b; font-size: .4rem; vertical-align: middle; }
.ek26-card-distance { right: 13px; color: #fff; background: rgba(7, 27, 20, .62); }
.ek26-restaurant-card__body { display: flex; flex-direction: column; min-height: 285px; padding: 17px 18px 18px; }
.ek26-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ek26-card-title h3 { margin: 0; color: #14201b; font-family: var(--ek-display); font-size: 1.25rem; letter-spacing: -.025em; }
.ek26-card-title p { margin: 5px 0 0; color: #78827d; font-size: .67rem; }
.ek26-card-title > span { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; color: #285542; background: #ecf4ee; border-radius: 50%; font-size: .65rem; }
.ek26-card-tagline { min-height: 40px; margin: 12px 0; color: #65706a; font-size: .72rem; line-height: 1.55; }
.ek26-dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 12px 0 15px; }
.ek26-dish { display: flex; align-items: center; min-width: 0; gap: 7px; padding: 7px; background: #f8f6f0; border-radius: 11px; }
.ek26-dish img,
.ek26-dish > span { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.ek26-dish > span { display: grid; place-items: center; color: #47705e; background: #e7f0e9; }
.ek26-dish p,
.ek26-dish strong,
.ek26-dish small { display: block; min-width: 0; margin: 0; }
.ek26-dish strong { overflow: hidden; color: #28322d; font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
.ek26-dish small { margin-top: 3px; color: #d25435; font-size: .58rem; font-weight: 850; }
.ek26-card-promise { display: flex; gap: 6px; margin: 14px 0; }
.ek26-card-promise span { padding: 6px 8px; color: #527060; background: #eff5f0; border-radius: 8px; font-size: .58rem; font-weight: 750; }
.ek26-card-cta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; color: #cf4f30; border-top: 1px solid rgba(20, 32, 27, .08); font-size: .72rem; font-weight: 900; }

.ek26-empty { padding: 60px 20px; background: rgba(255, 255, 255, .7); border: 1px dashed rgba(20, 32, 27, .18); border-radius: 24px; text-align: center; }
.ek26-empty > span { display: grid; width: 62px; height: 62px; margin: 0 auto 15px; place-items: center; color: #d25435; background: #fff0eb; border-radius: 20px; font-size: 1.4rem; }
.ek26-empty h2 { font-family: var(--ek-display); font-size: 1.6rem; }
.ek26-empty p { max-width: 480px; margin: 0 auto 18px; color: #6b756f; font-size: .78rem; }
.ek26-empty button { padding: 10px 15px; color: #fff; background: var(--ek26-forest); border: 0; border-radius: 10px; font-size: .72rem; font-weight: 850; }

.ek26-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin: 60px 8px 0;
  padding: clamp(26px, 4vw, 48px);
  color: #fff;
  background:
    radial-gradient(circle at 90% 15%, rgba(217, 249, 157, .12), transparent 17rem),
    var(--ek26-forest-deep);
  border-radius: 26px;
}
.ek26-closing h2 { max-width: 650px; margin: 8px 0; color: #fff; font-family: var(--ek-display); font-size: clamp(1.6rem, 3vw, 2.5rem); }
.ek26-closing h2 { background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; -webkit-text-fill-color: #fff !important; }
.ek26-closing p { margin: 0; color: rgba(255, 255, 255, .6); font-size: .78rem; }
.ek26-closing a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; padding: 13px 17px; color: #173629; background: var(--ek26-lime); border-radius: 12px; font-size: .72rem; font-weight: 900; text-decoration: none; }

@media (max-width: 1050px) {
  .ek26-hero { grid-template-columns: 1fr .78fr; }
  .ek26-hero__content { padding-inline: 35px; }
  .ek26-top-actions a span { display: none; }
  .ek26-benefits { grid-template-columns: repeat(2, 1fr); }
  .ek26-benefits > div:nth-child(2) { border-right: 0; }
  .ek26-benefits > div:nth-child(-n+2) { padding-bottom: 13px; margin-bottom: 8px; border-bottom: 1px solid rgba(20, 32, 27, .09); }
}

@media (max-width: 850px) {
  .ek26-hero { display: block; }
  .ek26-hero__content { min-height: 620px; }
  .ek26-hero__visual { min-height: 480px; padding: 0 20px 20px; }
  .ek26-hero__photo { inset: 0 20px 20px; }
  .ek26-delivery-card { top: 24px; left: 5px; }
  .ek26-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .ek-home-2026,
  .ek26-shell,
  .ek26-hero,
  .ek26-hero__content,
  .ek26-hero__visual { max-width: 100%; }
  .ek26-shell { width: min(calc(100% - 16px), 1280px); padding-top: 8px; }
  .ek26-hero { border-radius: 23px; }
  .ek26-hero__content { min-height: auto; padding: 18px 18px 30px; }
  .ek26-topline { align-items: flex-start; margin-bottom: 0; }
  .ek26-top-actions { display: none; }
  .ek26-hero__copy { margin: 55px 0 24px; }
  .ek26-hero__copy h1 { font-size: clamp(2.4rem, 13vw, 3.6rem); }
  .ek26-hero__copy p { font-size: .82rem; }
  .ek26-search { grid-template-columns: minmax(0, 1fr) auto; padding: 7px; overflow: hidden; }
  .ek26-search__field { grid-column: 1 / -1; border-bottom: 1px solid #e8ece9; }
  .ek26-search__geo span { display: none; }
  .ek26-search__geo { padding-inline: 14px; }
  .ek26-search__submit { justify-content: center; max-width: 112px; padding-inline: 12px; }
  .ek26-hero__proof { gap: 19px; margin-top: 22px; padding-top: 0; }
  .ek26-hero__proof strong { font-size: 1.15rem; }
  .ek26-hero__proof span { max-width: 80px; }
  .ek26-hero__visual { min-height: 390px; }
  .ek26-hero__photo { right: 10px; left: 10px; }
  .ek26-featured { right: 31px; bottom: 32px; left: 31px; padding: 15px; }
  .ek26-featured > strong { font-size: 1.2rem; }
  .ek26-featured b { display: none; }
  .ek26-delivery-card { left: 10px; }
  .ek26-benefits { grid-template-columns: 1fr; margin-inline: 0; }
  .ek26-benefits > div,
  .ek26-benefits > div:nth-child(2) { padding: 11px 12px; margin: 0; border-right: 0; border-bottom: 1px solid rgba(20, 32, 27, .08); }
  .ek26-benefits > div:last-child { border-bottom: 0; }
  .ek26-discovery { padding: 55px 1px 20px; }
  .ek26-section-head { display: block; }
  .ek26-result-count { display: inline-block; margin-top: 12px; }
  .ek26-grid { grid-template-columns: 1fr; }
  .ek26-restaurant-card__media { height: 235px; }
  .ek26-restaurant-card__body { min-height: 265px; }
  .ek26-closing { display: block; margin: 45px 0 0; }
  .ek26-closing a { justify-content: center; margin-top: 20px; }
}

/* Ancienne feuille panier (compat) */
.ek-cart-sheet {
  display: none;
}

.ek-cart-inner {
  background: var(--ek-card);
  border: 1px solid var(--ek-line);
  border-radius: var(--ek-radius-sm);
  padding: 1.1rem;
  box-shadow: var(--ek-shadow);
}

/* ——— Track / receipt ——— */
.ek-track-shell .ek-search-card {
  animation: none;
}

.ek-track-top a {
  color: var(--ek-sage-deep);
  font-weight: 600;
}

.ek-track-live {
  background: linear-gradient(135deg, var(--ek-sage-soft), #fff) !important;
  color: var(--ek-sage-deep) !important;
  border: 1px solid rgba(74, 107, 88, 0.25);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.ek-track-steps .ek-track-step {
  position: relative;
  padding-left: 0.25rem;
}

.ek-track-steps .ek-track-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 2.25rem;
  bottom: -0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--ek-line-strong), transparent);
}

.ek-track-steps .ek-track-step span.rounded-circle {
  width: 30px !important;
  height: 30px !important;
  font-size: 0.75rem !important;
  box-shadow: 0 2px 8px rgba(22, 19, 17, 0.06);
}

.ek-receipt {
  border-radius: var(--ek-radius) !important;
  border: 1px solid var(--ek-line) !important;
  overflow: hidden;
  box-shadow: var(--ek-shadow) !important;
  background: var(--ek-card) !important;
}

.ek-receipt .list-group-item {
  border-color: var(--ek-line) !important;
  padding-top: 0.95rem !important;
  padding-bottom: 0.95rem !important;
}

.ek-receipt .list-group-item:last-child {
  background: linear-gradient(180deg, var(--ek-paper-deep), var(--ek-card));
}

/* ——— Empty state ——— */
.ek-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  animation: ek-fade-up 0.6s var(--ek-ease-out) both;
}

.ek-empty__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ek-sage-soft), var(--ek-terracotta-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--ek-sage-deep);
}

/* ——— Seller ——— */
.ek-seller-shell {
  font-family: var(--ek-font);
  background: var(--ek-paper);
  color: var(--ek-ink);
  min-height: 100%;
  padding-bottom: 2.5rem;
  -webkit-font-smoothing: antialiased;
}

/* Thème global EasyCM : body.ecm-body a un texte clair — forcer encre + champs lisibles dans tout le vendeur EK */
@keyframes ek-seller-surface-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ek-seller-field-focus {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 107, 88, 0);
  }
  100% {
    box-shadow: 0 0 0 3px rgba(74, 107, 88, 0.18);
  }
}

body.ecm-body .ek-seller-shell {
  color: var(--ek-ink) !important;
}

body.ecm-body .ek-seller-shell h1,
body.ecm-body .ek-seller-shell h2,
body.ecm-body .ek-seller-shell h3,
body.ecm-body .ek-seller-shell .h5,
body.ecm-body .ek-seller-shell .h6 {
  color: var(--ek-ink) !important;
}

body.ecm-body .ek-seller-shell .text-muted,
body.ecm-body .ek-seller-shell small.text-muted {
  color: #57534e !important;
}

body.ecm-body .ek-seller-shell nav.small,
body.ecm-body .ek-seller-shell nav.small a:not(.btn) {
  color: #44403c !important;
}

body.ecm-body .ek-seller-shell label.form-label,
body.ecm-body .ek-seller-shell .form-label,
body.ecm-body .ek-seller-shell .col-form-label,
body.ecm-body .ek-seller-shell .form-check-label {
  color: #1c1917 !important;
  font-weight: 600;
}

body.ecm-body .ek-seller-shell .form-control,
body.ecm-body .ek-seller-shell .form-select,
body.ecm-body .ek-seller-shell textarea.form-control {
  color: #0c0a09 !important;
  background-color: #ffffff !important;
  border-color: rgba(28, 25, 23, 0.2) !important;
  transition:
    border-color 0.28s var(--ek-ease),
    box-shadow 0.28s var(--ek-ease),
    transform 0.22s var(--ek-ease),
    background-color 0.22s ease;
}

body.ecm-body .ek-seller-shell .form-control::placeholder,
body.ecm-body .ek-seller-shell .form-select option {
  color: #57534e;
}

body.ecm-body .ek-seller-shell .form-control::placeholder {
  opacity: 0.85;
}

body.ecm-body .ek-seller-shell .form-control:hover:not(:focus):not(:disabled),
body.ecm-body .ek-seller-shell .form-select:hover:not(:focus):not(:disabled) {
  border-color: rgba(74, 107, 88, 0.35) !important;
}

body.ecm-body .ek-seller-shell .form-control:focus,
body.ecm-body .ek-seller-shell .form-select:focus {
  color: #0c0a09 !important;
  background-color: #fff !important;
  border-color: rgba(74, 107, 88, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(74, 107, 88, 0.16) !important;
  outline: none !important;
  transform: translateY(-1px);
  animation: ek-seller-field-focus 0.35s ease-out;
}

body.ecm-body .ek-seller-shell .form-check-input {
  border-color: rgba(45, 74, 62, 0.45) !important;
  background-color: #fff !important;
}

body.ecm-body .ek-seller-shell .form-check-input:checked {
  background-color: var(--ek-sage-deep) !important;
  border-color: var(--ek-sage-deep) !important;
}

body.ecm-body .ek-seller-shell .table {
  color: var(--ek-ink) !important;
}

body.ecm-body .ek-seller-shell .table thead th {
  color: #292524 !important;
}

body.ecm-body .ek-seller-shell .alert {
  color: inherit;
}

body.ecm-body .ek-seller-shell .ek-day-panel {
  animation: ek-seller-surface-in 0.5s var(--ek-ease-out) both;
}

body.ecm-body .ek-seller-shell .ek-day-panel:nth-of-type(2) {
  animation-delay: 0.04s;
}
body.ecm-body .ek-seller-shell .ek-day-panel:nth-of-type(3) {
  animation-delay: 0.08s;
}
body.ecm-body .ek-seller-shell .ek-day-panel:nth-of-type(4) {
  animation-delay: 0.12s;
}
body.ecm-body .ek-seller-shell .ek-day-panel:nth-of-type(5) {
  animation-delay: 0.16s;
}

body.ecm-body .ek-seller-shell button[type='submit']:not(.btn-link):not(:disabled) {
  transition:
    transform 0.2s var(--ek-ease),
    filter 0.2s ease,
    box-shadow 0.25s ease;
}

body.ecm-body .ek-seller-shell button[type='submit']:not(.btn-link):not(:disabled):hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

body.ecm-body .ek-seller-shell button[type='submit']:not(.btn-link):not(:disabled):active {
  transform: translateY(0);
}

/* Planning : même contrainte si Bootstrap injecte des couleurs globales */
body.ecm-body .ek-planner {
  color: var(--pl-ink) !important;
}

body.ecm-body .ek-planner .form-control:not([class*='is-']),
body.ecm-body .ek-planner .form-select:not([class*='is-']) {
  color: #0c0a09 !important;
  background-color: #ffffff !important;
}

body.ecm-body .ek-planner .form-control:focus,
body.ecm-body .ek-planner .form-select:focus {
  color: #0c0a09 !important;
  background-color: #fff !important;
}

.ek-breadcrumb a {
  color: var(--ek-sage-deep);
  font-weight: 500;
}

.ek-breadcrumb a:hover {
  color: var(--ek-terracotta);
}

.ek-seller-nav-wrap {
  overflow-x: auto;
  margin: 0 -0.25rem;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ek-seller-nav-wrap::-webkit-scrollbar {
  display: none;
}

.ek-seller-nav {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin-bottom: 0;
  min-width: min-content;
  padding: 0.35rem;
  background: var(--ek-card);
  border-radius: 999px;
  border: 1px solid var(--ek-line);
  box-shadow: var(--ek-shadow-sm);
}

.ek-seller-nav a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ek-ink-soft);
  white-space: nowrap;
  transition: all 0.25s var(--ek-ease);
}

.ek-seller-nav a:hover {
  color: var(--ek-ink);
  background: var(--ek-paper-deep);
}

.ek-seller-nav a.is-active {
  background: linear-gradient(135deg, var(--ek-sage) 0%, var(--ek-sage-deep) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(74, 107, 88, 0.28);
}

.ek-seller-nav a .badge {
  font-size: 0.65rem;
  vertical-align: middle;
}

.ek-day-panel {
  background: var(--ek-card);
  border: 1px solid var(--ek-line);
  border-radius: var(--ek-radius);
  padding: 1.15rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--ek-shadow-sm);
  transition: box-shadow 0.3s ease;
}

.ek-day-panel:hover {
  box-shadow: var(--ek-shadow);
}

/* ——— Vendeur : médias plat (galerie + vidéo) & zones d’upload ——— */
.ek-menu-media-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.35rem;
}

.ek-menu-media-stack__title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ek-ink-soft);
  margin: 0 0 0.5rem;
}

.ek-menu-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 0.65rem;
}

.ek-menu-media-pick {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  cursor: pointer;
  border-radius: var(--ek-radius-sm);
  overflow: hidden;
  border: 1px solid var(--ek-line);
  background: var(--ek-paper-deep);
  padding: 0.35rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ek-menu-media-pick:hover {
  border-color: rgba(74, 107, 88, 0.35);
  box-shadow: var(--ek-shadow-sm);
}

.ek-menu-media-pick img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.55rem;
  display: block;
}

.ek-menu-media-pick__lab {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ek-ink-soft);
}

.ek-menu-video-preview {
  border-radius: var(--ek-radius-sm);
  border: 1px solid var(--ek-line);
  padding: 0.75rem;
  background: linear-gradient(180deg, var(--ek-paper-deep), var(--ek-card));
}

.ek-menu-video-preview__el {
  width: 100%;
  max-height: 10rem;
  border-radius: 0.55rem;
  background: #111;
}

.ek-menu-video-preview__rm {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
}

.ek-upload-zone {
  position: relative;
  border-radius: var(--ek-radius-sm);
  border: 2px dashed rgba(74, 107, 88, 0.35);
  background: linear-gradient(145deg, rgba(226, 238, 230, 0.45), var(--ek-card));
  transition:
    border-color 0.25s var(--ek-ease),
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.ek-upload-zone:hover {
  border-color: rgba(184, 74, 50, 0.45);
  background: linear-gradient(145deg, rgba(252, 234, 229, 0.5), #fff);
  box-shadow: var(--ek-shadow-sm);
}

.ek-upload-zone--video {
  border-color: rgba(154, 92, 60, 0.32);
  background: linear-gradient(145deg, rgba(247, 239, 217, 0.55), var(--ek-card));
}

.ek-upload-zone--video:hover {
  border-color: rgba(196, 146, 46, 0.55);
}

.ek-upload-zone__hit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.1rem 1rem 1rem;
  margin: 0;
  cursor: pointer;
  min-height: 6.5rem;
  justify-content: center;
}

.ek-upload-zone__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ek-card);
  color: var(--ek-sage-deep);
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(22, 19, 17, 0.06);
  border: 1px solid var(--ek-line);
}

.ek-upload-zone--video .ek-upload-zone__icon {
  color: var(--ek-copper);
}

.ek-upload-zone__title {
  font-family: var(--ek-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ek-ink);
  line-height: 1.25;
}

.ek-upload-zone__hint {
  font-size: 0.72rem;
  color: var(--ek-ink-soft);
  line-height: 1.4;
  max-width: 18rem;
}

.ek-upload-zone__input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.ek-upload-zone__files {
  margin: 0;
  padding: 0 0.85rem 0.75rem;
  font-size: 0.72rem;
  color: var(--ek-sage-deep);
  font-weight: 600;
  word-break: break-word;
}

.ek-upload-zone--compact .ek-upload-zone__hit {
  min-height: 4.5rem;
  padding: 0.75rem 0.85rem;
}

.ek-upload-zone--compact .ek-upload-zone__icon {
  width: 2rem;
  height: 2rem;
  font-size: 0.85rem;
}

.ek-upload-zone--compact .ek-upload-zone__title {
  font-size: 0.82rem;
  font-family: var(--ek-font);
  font-weight: 700;
}

.ek-upload-zone--compact .ek-upload-zone__hint {
  font-size: 0.68rem;
}

.ek-day-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.ek-promo-strip {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ek-promo-card {
  background: linear-gradient(125deg, var(--ek-terracotta-soft) 0%, #fff 48%, var(--ek-mustard-soft) 100%);
  border: 1px solid var(--ek-line);
  border-radius: var(--ek-radius);
  padding: 1rem 1.15rem;
  position: relative;
  overflow: hidden;
}

.ek-promo-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 8rem;
  height: 8rem;
  background: radial-gradient(circle, rgba(184, 74, 50, 0.08), transparent 70%);
  pointer-events: none;
}

.ek-promo-card__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--ek-terracotta);
  color: #fff;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.ek-promo-card__title {
  font-family: var(--ek-display);
  font-weight: 700;
  font-size: 1.08rem;
  position: relative;
}

.ek-promo-card__body {
  color: var(--ek-ink);
  opacity: 0.88;
  position: relative;
}

/* Stat tiles (dashboard) */
.ek-stat-tile {
  border-radius: var(--ek-radius-sm);
  padding: 0.85rem 0.75rem;
  text-align: center;
  border: 1px solid var(--ek-line);
  background: linear-gradient(180deg, #fff, var(--ek-paper-deep));
  transition: transform 0.25s var(--ek-ease), box-shadow 0.25s ease;
}

.ek-stat-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--ek-shadow-sm);
}

.ek-stat-tile__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ek-ink-soft);
  margin-bottom: 0.25rem;
}

.ek-stat-tile__value {
  font-family: var(--ek-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ek-ink);
}

.ek-stat-tile--links {
  background: var(--ek-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  text-align: left;
  padding: 0.85rem 1rem;
}

.ek-stat-tile--links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ek-sage-deep);
  text-decoration: none;
}

.ek-stat-tile--links a:hover {
  color: var(--ek-terracotta);
}

/* Legacy: service tabs if still using Bootstrap inside .ek-service-tabs */
.ek-service-tabs .btn-dark {
  background: var(--ek-ink) !important;
  border-color: var(--ek-ink) !important;
}

.ek-service-tabs .btn-outline-secondary {
  border-color: var(--ek-line-strong) !important;
  color: var(--ek-ink-soft) !important;
}

.ek-service-tabs .btn-outline-secondary:hover {
  background: var(--ek-sage-soft) !important;
  border-color: var(--ek-sage) !important;
  color: var(--ek-ink) !important;
}

/* ——— Seller week planner (mobile-first, tactile) ——— */
.ek-planner {
  --pl-font: var(--ecm-font-body);
  --pl-display: var(--ecm-font-display);
  --pl-ink: #141210;
  --pl-ink-soft: rgba(20, 18, 16, 0.55);
  --pl-canvas: #f6f2eb;
  --pl-card: #fffefb;
  --pl-line: rgba(20, 18, 16, 0.08);
  --pl-accent: #2d4a3e;
  --pl-accent-hot: #c45c3e;
  --pl-dawn: #e8a849;
  --pl-noon: #4a7c6a;
  --pl-dusk: #3d4f6b;
  --pl-radius: 1.25rem;
  --pl-radius-sm: 0.85rem;
  --pl-touch: 2.75rem;
  position: relative;
  font-family: var(--pl-font);
  color: var(--pl-ink);
  background: var(--pl-canvas);
  min-height: 100%;
  -webkit-tap-highlight-color: transparent;
}

.ek-planner__noise {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.ek-planner__inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0.65rem 0.75rem 2rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0));
}

@media (min-width: 768px) {
  .ek-planner__inner {
    padding: 1rem 1.25rem 2.5rem;
  }
}

/* Sticky toolbar */
.ek-planner-toolbar {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0 -0.75rem 1rem;
  padding: 0.5rem 0.75rem 0.65rem;
  background: linear-gradient(180deg, rgba(246, 242, 235, 0.94) 0%, rgba(246, 242, 235, 0.88) 70%, transparent 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

@media (min-width: 768px) {
  .ek-planner-toolbar {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border-bottom-color: var(--pl-line);
    border-radius: 0 0 var(--pl-radius) var(--pl-radius);
  }
}

.ek-planner-crumb {
  font-size: 0.72rem;
  margin-bottom: 0.5rem;
}

.ek-planner-crumb a {
  color: var(--pl-noon);
  font-weight: 600;
  text-decoration: none;
}

.ek-planner-crumb a:hover {
  color: var(--pl-accent-hot);
}

.ek-planner-crumb__sep {
  opacity: 0.45;
  margin: 0 0.2rem;
}

.ek-planner-toolbar__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ek-planner-roundbtn {
  flex: 0 0 var(--pl-touch);
  width: var(--pl-touch);
  height: var(--pl-touch);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--pl-line);
  background: var(--pl-card);
  color: var(--pl-ink);
  box-shadow: 0 2px 10px rgba(20, 18, 16, 0.06);
  text-decoration: none;
  transition: transform 0.2s var(--ek-ease), border-color 0.2s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
}

.ek-planner-roundbtn:hover {
  border-color: rgba(74, 124, 106, 0.35);
  color: var(--pl-noon);
}

.ek-planner-roundbtn:active {
  transform: scale(0.96);
}

.ek-planner-toolbar__center {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.ek-planner-toolbar__eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pl-ink-soft);
}

.ek-planner-toolbar__range {
  margin: 0.15rem 0 0;
  font-family: var(--pl-display);
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.2;
}

.ek-planner-dup {
  margin-top: 0.65rem;
}

.ek-planner-dup__btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--pl-touch);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px dashed rgba(45, 74, 62, 0.35);
  background: rgba(255, 254, 251, 0.9);
  color: var(--pl-accent);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  touch-action: manipulation;
}

.ek-planner-dup__btn:hover {
  background: #fff;
  border-color: var(--pl-noon);
}

.ek-planner-flash {
  border-radius: var(--pl-radius-sm);
  padding: 0.65rem 0.9rem;
  font-size: 0.86rem;
  margin-bottom: 0.85rem;
  animation: ek-fade-up 0.45s var(--ek-ease-out) both;
}

.ek-planner-flash--ok {
  background: linear-gradient(125deg, #e8f2eb, #fff);
  border: 1px solid rgba(74, 124, 106, 0.25);
  color: #1e3d2f;
}

.ek-planner-flash--warn {
  background: linear-gradient(125deg, #fff4e8, #fff);
  border: 1px solid rgba(196, 92, 62, 0.35);
  color: #5c2e1a;
}

.ek-planner-hero {
  margin-bottom: 1.25rem;
}

.ek-planner-hero__title {
  font-family: var(--pl-display);
  font-size: clamp(1.75rem, 6vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height:1.1;
  margin: 0 0 0.4rem;
}

.ek-planner-hero__sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--pl-ink-soft);
  line-height: 1.55;
  max-width: 36rem;
}

/* Day cards */
.ek-planner-day {
  background: var(--pl-card);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius);
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 24px rgba(20, 18, 16, 0.045);
  overflow: hidden;
  animation: ek-fade-up 0.55s var(--ek-ease-out) both;
}

.ek-planner-day:nth-child(2) { animation-delay: 0.03s; }
.ek-planner-day:nth-child(3) { animation-delay: 0.06s; }
.ek-planner-day:nth-child(4) { animation-delay: 0.09s; }
.ek-planner-day:nth-child(5) { animation-delay: 0.12s; }
.ek-planner-day:nth-child(6) { animation-delay: 0.15s; }
.ek-planner-day:nth-child(7) { animation-delay: 0.18s; }
.ek-planner-day:nth-child(8) { animation-delay: 0.21s; }

.ek-planner-day.is-open {
  border-left: 4px solid var(--pl-noon);
}

.ek-planner-day.is-closed {
  opacity: 0.92;
  border-left: 4px solid rgba(20, 18, 16, 0.12);
}

.ek-planner-day__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--pl-line);
  background: linear-gradient(180deg, rgba(255, 254, 251, 1) 0%, rgba(250, 247, 242, 0.5) 100%);
}

.ek-planner-day__name {
  font-family: var(--pl-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.ek-planner-day__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  font-size: 0.8rem;
}

.ek-planner-day__date {
  font-weight: 600;
  color: var(--pl-ink-soft);
}

.ek-planner-day__count {
  color: var(--pl-ink-soft);
}

.ek-planner-pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.ek-planner-pill--open {
  background: rgba(74, 124, 106, 0.14);
  color: #2a4a3d;
}

.ek-planner-pill--closed {
  background: rgba(20, 18, 16, 0.06);
  color: var(--pl-ink-soft);
}

.ek-planner-day__toggle-form {
  flex-shrink: 0;
}

.ek-planner-day__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: var(--pl-touch);
  padding: 0.25rem 0.6rem 0.25rem 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--pl-line);
  background: #f3f0ea;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  touch-action: manipulation;
}

.ek-planner-day__toggle.is-on {
  background: rgba(74, 124, 106, 0.18);
  border-color: rgba(74, 124, 106, 0.35);
}

.ek-planner-day__toggle-knob {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(20, 18, 16, 0.12);
  transition: transform 0.25s var(--ek-ease);
}

.ek-planner-day__toggle.is-on .ek-planner-day__toggle-knob {
  transform: translateX(2px);
  background: var(--pl-noon);
  box-shadow: none;
}

.ek-planner-day__toggle-label {
  font-size: 0.78rem;
  font-weight: 700;
  padding-right: 0.35rem;
}

.ek-planner-day__body {
  padding: 0.9rem 0.85rem 1.1rem;
}

@media (min-width: 768px) {
  .ek-planner-day__body {
    padding: 1rem 1.1rem 1.2rem;
  }
}

.ek-planner-card {
  background: linear-gradient(145deg, #fff 0%, #faf7f2 100%);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-sm);
  padding: 0.85rem 0.9rem;
  margin-bottom: 1rem;
}

.ek-planner-card__label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pl-ink-soft);
  margin: 0 0 0.65rem;
}

.ek-planner-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pl-ink-soft);
  margin-bottom: 0.25rem;
}

.ek-planner-input,
.ek-planner-select {
  border-radius: 0.65rem !important;
  border-color: var(--pl-line) !important;
  font-size: 0.9rem !important;
}

.ek-planner-import__form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 576px) {
  .ek-planner-import__form {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
  }
  .ek-planner-import__field {
    flex: 1 1 12rem;
  }
  .ek-planner-import__field--price {
    flex: 0 0 7rem;
  }
}

.ek-planner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--pl-touch);
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.ek-planner-btn:active {
  transform: scale(0.98);
}

.ek-planner-btn--primary {
  background: linear-gradient(135deg, var(--pl-accent) 0%, #243d33 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(45, 74, 62, 0.25);
}

.ek-planner-btn--accent {
  background: linear-gradient(135deg, var(--pl-accent-hot) 0%, #a84a32 100%);
  color: #fff;
  box-shadow: 0 6px 22px rgba(196, 92, 62, 0.28);
  width: 100%;
}

/* Slots */
.ek-planner-slot {
  margin-bottom: 1.1rem;
  padding-left: 0.65rem;
  border-left: 3px solid var(--pl-line);
}

.ek-planner-slot--morning {
  border-left-color: var(--pl-dawn);
}

.ek-planner-slot--midday {
  border-left-color: var(--pl-noon);
}

.ek-planner-slot--evening {
  border-left-color: var(--pl-dusk);
}

.ek-planner-slot--all {
  border-left-color: rgba(20, 18, 16, 0.2);
}

.ek-planner-slot__title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pl-ink-soft);
  margin: 0 0 0.65rem;
}

.ek-planner-dishes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ek-planner-dish {
  display: grid;
  gap: 0.65rem 0.85rem;
  align-items: start;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  padding: 0.85rem 0.65rem;
  margin-bottom: 0.65rem;
  background: var(--pl-card);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-sm);
  box-shadow: 0 2px 12px rgba(20, 18, 16, 0.04);
}

.ek-planner-dish.is-hidden-item {
  opacity: 0.88;
  background: #faf8f5;
}

.ek-planner-dish__media {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(145deg, #eef4f0, #f5ebe5);
}

.ek-planner-dish__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ek-planner-dish__media--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(45, 74, 62, 0.35);
  font-size: 1.1rem;
}

.ek-planner-dish__main {
  min-width: 0;
}

.ek-planner-dish__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}

.ek-planner-dish__name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
}

.ek-planner-badge-muted {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(20, 18, 16, 0.07);
  color: var(--pl-ink-soft);
}

.ek-planner-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--pl-line);
  margin-top: 0.25rem;
}

.ek-planner-dish__desc {
  font-size: 0.78rem;
  color: var(--pl-ink-soft);
  line-height: 1.45;
  margin: 0.35rem 0 0.25rem;
}

.ek-planner-dish__price {
  font-family: var(--pl-display);
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--pl-accent-hot);
  margin: 0.35rem 0 0;
}

.ek-planner-dish__compare {
  text-decoration: line-through;
  opacity: 0.45;
  font-size: 0.85em;
  margin-right: 0.35rem;
}

.ek-planner-dish__currency {
  font-size: 0.72em;
  font-weight: 600;
  opacity: 0.75;
}

.ek-planner-dish__rail {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem 0 0.35rem;
  margin: 0 -0.15rem;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 74, 62, 0.25) transparent;
}

.ek-planner-dish__rail::-webkit-scrollbar {
  height: 4px;
}

.ek-planner-dish__rail::-webkit-scrollbar-thumb {
  background: rgba(45, 74, 62, 0.22);
  border-radius: 99px;
}

.ek-planner-dish__form {
  flex: 0 0 auto;
}

.ek-planner-iconbtn {
  flex: 0 0 auto;
  min-width: var(--pl-touch);
  min-height: var(--pl-touch);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 0.65rem;
  border-radius: 0.75rem;
  border: 1px solid var(--pl-line);
  background: #fff;
  color: var(--pl-ink);
  font-size: 0.9rem;
  cursor: pointer;
  scroll-snap-align: start;
  touch-action: manipulation;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ek-planner-iconbtn:hover:not(:disabled) {
  border-color: rgba(74, 124, 106, 0.35);
  color: var(--pl-noon);
}

.ek-planner-iconbtn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ek-planner-iconbtn--danger:hover:not(:disabled) {
  border-color: rgba(196, 92, 62, 0.45);
  color: var(--pl-accent-hot);
  background: rgba(196, 92, 62, 0.06);
}

.ek-planner-iconbtn__text {
  font-size: 0.72rem;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .ek-planner-iconbtn__text {
    display: none;
  }
}

.ek-planner-dish > .collapse {
  grid-column: 1 / -1;
}

.ek-planner-edit__form {
  margin-top: 0.35rem;
  padding: 0.85rem 0.75rem;
  border-radius: var(--pl-radius-sm);
  background: linear-gradient(180deg, #f8f5ef 0%, #fff 40%);
  border: 1px solid var(--pl-line);
}

@media (min-width: 768px) {
  .ek-planner-dish {
    grid-template-columns: 5rem minmax(0, 1fr) auto;
    padding: 1rem 0.9rem;
    align-items: center;
  }

  .ek-planner-dish__media,
  .ek-planner-dish__media--ph {
    width: 5rem;
    height: 5rem;
  }

  .ek-planner-dish__rail {
    grid-column: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    overflow: visible;
    max-width: 14rem;
    padding-top: 0;
    margin: 0;
  }

  .ek-planner-iconbtn__text {
    display: inline;
  }
}

.ek-planner-add__grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ek-planner-add__row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 576px) {
  .ek-planner-add__row {
    flex-direction: row;
  }
  .ek-planner-add__row > * {
    flex: 1;
  }
}

.ek-planner-empty {
  text-align: center;
  padding: 1.75rem 1rem;
}

.ek-planner-empty__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pl-ink-soft);
  font-size: 1.1rem;
}

.ek-planner-empty__text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--pl-ink-soft);
  line-height: 1.55;
  max-width: 22rem;
  margin-inline: auto;
}

/* ——— Seller dashboard (contraste forcé : libellés & champs toujours lisibles) ——— */
.ek-dash {
  --dash-font: var(--ecm-font-body);
  --dash-display: var(--ecm-font-display);
  --dash-ink: #1c1917;
  --dash-ink-mid: #44403c;
  --dash-muted: #57534e;
  --dash-line: rgba(28, 25, 23, 0.12);
  --dash-card: #fffefb;
  --dash-canvas: #f3efe8;
  position: relative;
  font-family: var(--dash-font);
  color: var(--dash-ink);
  background: var(--dash-canvas);
  min-height: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* Contexte lisible (évite l’héritage d’un texte clair global sur fond papier) */
.ek-dash {
  color: var(--dash-ink);
}

.ek-dash h1,
.ek-dash h2,
.ek-dash h3 {
  color: var(--dash-ink);
}

.ek-dash__noise {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.ek-dash__inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.ek-dash-header {
  margin-bottom: 1.35rem;
}

.ek-dash-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.ek-dash-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 74, 62, 0.2);
  background: rgba(255, 255, 255, 0.72);
  color: #2d4a3e !important;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.ek-dash-chip:hover {
  border-color: rgba(184, 74, 50, 0.35);
  background: #fff;
  transform: translateY(-1px);
}

.ek-dash-breadcrumb {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.ek-dash-breadcrumb a {
  color: #2d4a3e !important;
  text-decoration: none;
}

.ek-dash-breadcrumb a:hover {
  color: var(--ek-terracotta-bright) !important;
}

.ek-dash-breadcrumb__sep {
  opacity: 0.4;
  margin: 0 0.25rem;
}

.ek-dash-title {
  font-family: var(--dash-display);
  font-size: clamp(1.85rem, 5.5vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5rem;
  color: var(--dash-ink) !important;
}

.ek-dash-lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--dash-muted) !important;
  max-width: 36rem;
}

.ek-dash-alert {
  border-radius: var(--ek-radius-sm);
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.ek-dash-alert--success {
  background: linear-gradient(125deg, #e8f2eb, #f8faf8);
  border-color: rgba(45, 74, 62, 0.22);
  color: #14532d !important;
}

.ek-dash-alert--danger {
  background: linear-gradient(125deg, #fef2f2, #fff);
  border-color: rgba(185, 28, 28, 0.25);
  color: #7f1d1d !important;
}

.ek-dash-card {
  background: var(--dash-card);
  border: 1px solid var(--dash-line);
  border-radius: var(--ek-radius);
  padding: 1.15rem 1.1rem 1.25rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 28px rgba(28, 25, 23, 0.06);
}

.ek-dash-card--hero {
  background: linear-gradient(165deg, #fffcfa 0%, #faf6f0 100%);
}

.ek-dash-divider {
  border-color: var(--dash-line) !important;
}

.ek-dash-quick-links {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
}

.ek-dash-quick-link {
  display: block;
  text-decoration: none;
  border-radius: 0.85rem;
  border: 1px solid rgba(45, 74, 62, 0.16);
  background: rgba(255, 255, 255, 0.88);
  padding: 0.65rem 0.8rem;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.ek-dash-quick-link:hover {
  border-color: rgba(184, 74, 50, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(28, 25, 23, 0.08);
}

.ek-dash-quick-link__kicker {
  display: block;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #78716c;
  font-weight: 800;
  margin-bottom: 0.16rem;
}

.ek-dash-quick-link__label {
  display: block;
  color: #1c1917;
  font-size: 0.85rem;
  font-weight: 700;
}

.ek-dash-stats .ek-dash-stat {
  height: 100%;
}

.ek-dash-stat {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: var(--ek-radius-sm);
  background: linear-gradient(180deg, #f5f1eb, #ebe6df);
  border: 1px solid var(--dash-line);
}

.ek-dash-stat__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dash-muted) !important;
  margin-bottom: 0.35rem;
}

.ek-dash-stat__value {
  font-family: var(--dash-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--dash-ink) !important;
  line-height: 1.2;
}

.ek-dash-stat__value--sm {
  font-size: 0.95rem;
  font-family: var(--dash-font);
  font-weight: 700;
}

.ek-dash-stat__value small {
  font-size: 0.65em;
  font-weight: 700;
  font-family: var(--dash-font);
  opacity: 0.75;
}

.ek-dash-stat--links {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  background: #fff;
}

.ek-dash-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: #2d4a3e !important;
  text-decoration: none;
}

.ek-dash-link:hover {
  color: var(--ek-terracotta) !important;
}

/* Formulaire : libellés & champs explicites (plus de blanc sur blanc) */
.ek-dash-form .ek-dash-label,
.ek-dash-form label.form-label,
.ek-dash-form .form-check-label {
  color: var(--dash-ink) !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  margin-bottom: 0.35rem;
}

.ek-dash-form .form-check-label {
  margin-bottom: 0;
  padding-top: 0.1rem;
}

.ek-dash-h2 {
  font-family: var(--dash-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
  color: var(--dash-ink) !important;
  letter-spacing: -0.02em;
}

.ek-dash-muted {
  font-size: 0.86rem;
  color: var(--dash-muted) !important;
  margin: -0.25rem 0 1rem;
  line-height: 1.5;
}

.ek-dash-hint {
  font-size: 0.78rem;
  color: var(--dash-muted) !important;
  margin: 0.4rem 0 0;
  line-height: 1.45;
}

.ek-dash-hr {
  margin: 1.25rem 0 1.35rem;
  border: 0;
  border-top: 1px solid var(--dash-line);
  opacity: 1;
}

.ek-dash-section {
  margin-bottom: 0.25rem;
}

.ek-dash-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.ek-dash-panel {
  border: 1px solid rgba(28, 25, 23, 0.11);
  border-radius: 1rem;
  background: linear-gradient(180deg, #fffefc 0%, #fdf9f3 100%);
  padding: 1rem;
}

.ek-dash-panel--highlight {
  background: linear-gradient(145deg, #fff8f4 0%, #fffefc 65%, #f6f1ea 100%);
  border-color: rgba(184, 74, 50, 0.22);
}

.ek-dash-control,
.ek-dash-form .form-control,
.ek-dash-form textarea.form-control {
  background-color: #ffffff !important;
  color: #0c0a09 !important;
  border: 1px solid rgba(28, 25, 23, 0.18) !important;
  border-radius: 0.75rem !important;
  font-size: 0.95rem !important;
  padding: 0.55rem 0.85rem;
}

.ek-dash-form .form-control::placeholder {
  color: #78716c !important;
  opacity: 1 !important;
}

.ek-dash-form .form-control:focus {
  border-color: rgba(45, 74, 62, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12) !important;
  outline: none !important;
  color: #0c0a09 !important;
  background-color: #fff !important;
}

.ek-dash-switch .form-check-input {
  width: 2.75rem;
  height: 1.45rem;
  margin-top: 0.15rem;
  cursor: pointer;
  border: 2px solid rgba(45, 74, 62, 0.35) !important;
  background-color: #e7e5e4 !important;
}

.ek-dash-switch .form-check-input:checked {
  background-color: #2d4a3e !important;
  border-color: #2d4a3e !important;
}

.ek-dash-switch .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.2) !important;
}

.ek-dash-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.5rem;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  touch-action: manipulation;
  background: linear-gradient(135deg, #c45c3e 0%, #a3412b 100%);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(196, 92, 62, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.ek-dash-submit:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.ek-dash-submit:active {
  transform: scale(0.98);
}

.ek-dash-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.ek-dash-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none !important;
  border: 1px solid rgba(28, 25, 23, 0.18);
  background: #fff !important;
  color: var(--dash-ink) !important;
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ek-dash-btn-secondary:hover {
  border-color: rgba(45, 74, 62, 0.35);
  background: #fafaf9 !important;
  color: #0c0a09 !important;
}

/* Nav pill strip sur carte dashboard : lisible sur fond clair */
.ek-dash-card .ek-seller-nav a {
  color: #57534e !important;
}

.ek-dash-card .ek-seller-nav a:hover {
  color: #1c1917 !important;
}

.ek-dash-card .ek-seller-nav a.is-active {
  color: #fff !important;
}

/* ——— EasyKitchen seller finance page ——— */
.ek-fin-wrap {
  max-width: 980px;
}

.ek-fin-breadcrumb {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #57534e;
}

.ek-fin-breadcrumb a {
  color: #2d4a3e;
  text-decoration: none;
}

.ek-fin-breadcrumb a:hover {
  color: var(--ek-terracotta);
}

.ek-fin-hero {
  border: 1px solid rgba(28, 25, 23, 0.1);
  background: linear-gradient(145deg, #fff8f4 0%, #fffefb 58%, #f7f2ea 100%);
  border-radius: 1.15rem;
  padding: 1rem 1rem 1.05rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.08);
}

.ek-fin-title {
  margin: 0;
  font-family: var(--ecm-font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1c1917;
}

.ek-fin-lead {
  margin: 0.55rem 0 0;
  color: #57534e;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 50rem;
}

.ek-fin-hero-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ek-fin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
}

.ek-fin-btn--primary {
  background: linear-gradient(135deg, #c45c3e 0%, #a3412b 100%);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(196, 92, 62, 0.26);
}

.ek-fin-btn--ghost {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(45, 74, 62, 0.26);
  color: #2d4a3e !important;
}

.ek-fin-btn--ghost:hover {
  background: #fff;
  border-color: rgba(184, 74, 50, 0.35);
}

.ek-fin-kpi {
  height: 100%;
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #fffefb 0%, #f6f1e9 100%);
  padding: 0.85rem 0.65rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(28, 25, 23, 0.05);
}

.ek-fin-kpi__label {
  color: #57534e;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.3rem;
}

.ek-fin-kpi__value {
  color: #1c1917;
  font-family: var(--ecm-font-display);
  font-size: clamp(1.05rem, 3.6vw, 1.5rem);
  line-height: 1.2;
}

.ek-fin-kpi__value--ok {
  color: #2d4a3e;
}

.ek-fin-card {
  border: 1px solid rgba(28, 25, 23, 0.11);
  border-radius: 1rem;
  background: #fffefc;
  box-shadow: 0 6px 22px rgba(28, 25, 23, 0.06);
  padding: 0.85rem 0.9rem;
}

.ek-fin-card__title {
  font-weight: 800;
  font-size: 0.83rem;
  letter-spacing: 0.02em;
  color: #1c1917;
  margin-bottom: 0.35rem;
}

.ek-fin-card__text {
  color: #57534e;
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

.ek-fin-subtitle {
  margin: 0.2rem 0 0.55rem;
  font-family: var(--ecm-font-display);
  font-size: 1.25rem;
  color: #1c1917;
}

.ek-fin-empty {
  border: 1px dashed rgba(28, 25, 23, 0.18);
  border-radius: 0.8rem;
  padding: 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.7);
}

.ek-fin-table-wrap {
  border: 1px solid rgba(28, 25, 23, 0.11);
  border-radius: 1rem;
  overflow: hidden;
  background: #fffefc;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.07);
}

.ek-fin-table thead th {
  background: linear-gradient(180deg, #f8f3ec 0%, #efe7dc 100%);
  border-bottom: 1px solid rgba(28, 25, 23, 0.13);
  color: #44403c;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.ek-fin-table tbody td {
  border-color: rgba(28, 25, 23, 0.08);
  vertical-align: middle;
}

.ek-fin-copy-btn {
  font-weight: 700;
  color: #2d4a3e !important;
}

@media (min-width: 768px) {
  .ek-dash__inner {
    max-width: 66rem;
  }

  .ek-dash-form-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }

  .ek-dash-card {
    padding: 1.3rem 1.3rem 1.35rem;
  }

  .ek-dash-quick-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ek-fin-hero {
    padding: 1.2rem 1.25rem 1.25rem;
  }

  .ek-fin-card {
    padding: 1rem 1.05rem;
  }
}

/* Suivi — bannière après commande */
.ek-track-flash {
  animation: ek-fade-up 0.5s var(--ek-ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ek-track-flash {
    animation: none;
  }
}
