:root {
  --dj-green: #04764e;
  --dj-green-dark: #033f38;
  --dj-green-light: #e8f5ef;
  --dj-success: #22c55e;
  --dj-text: #1a1a1a;
  --dj-muted: #6b7280;
  --dj-border: #e5e7eb;
  --dj-bg: #f4f6f5;
  --dj-radius: 16px;
  --dj-radius-lg: 24px;
  --dj-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --dj-shadow-lg: 0 8px 32px rgba(4, 118, 78, 0.18);
}

/* ── Add button feedback ── */
.btn-add.dj-added,
.btn-add-light.dj-added {
  background: var(--dj-success) !important;
  color: #fff !important;
  transform: scale(1.08);
  transition: background 0.2s, transform 0.2s;
}

/* Carte produit : bouton fixe + label « Ajouté » au-dessus */
.menu-category-section .product-card .box-price,
#modal-product-list .product-card .box-price {
  position: relative;
  overflow: visible;
}

.menu-category-section .product-card .btn-add-light,
#modal-product-list .product-card .btn-add-light {
  position: relative;
  flex-shrink: 0;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

.menu-category-section .product-card .btn-add-light.dj-added,
#modal-product-list .product-card .btn-add-light.dj-added {
  width: 30px !important;
  min-width: 30px !important;
  transform: scale(1);
}

.menu-category-section .product-card .btn-add-light.dj-added::before,
#modal-product-list .product-card .btn-add-light.dj-added::before {
  content: "Ajouté";
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  padding: 5px 10px;
  background: var(--dj-success);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
  pointer-events: none;
  z-index: 10;
  animation: djAddedPop 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.menu-category-section .product-card .btn-add-light.dj-added::after,
#modal-product-list .product-card .btn-add-light.dj-added::after {
  content: "";
  position: absolute;
  right: 9px;
  bottom: calc(100% + 3px);
  border: 5px solid transparent;
  border-top-color: var(--dj-success);
  pointer-events: none;
  z-index: 10;
}

@keyframes djAddedPop {
  0% { opacity: 0; transform: translateY(4px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Cart badge ── */
.dj-cart-badge {
  position: absolute;
  top: -2px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--dj-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 99px;
  box-shadow: 0 2px 6px rgba(4, 118, 78, 0.4);
}
.dj-cart-badge:empty,
.dj-cart-badge[data-count="0"] {
  display: none;
}
.dj-cart-badge.dj-bounce {
  animation: djBadgeBounce 0.5s ease;
}
.menubar-footer .inner li a {
  position: relative;
}

@keyframes djBadgeBounce {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.35); }
  70% { transform: scale(0.9); }
}

/* ── Toast ── */
.dj-toast {
  position: fixed;
  left: 50%;
  right: auto;
  width: calc(100% - 32px);
  max-width: 400px;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--dj-radius);
  box-shadow: var(--dj-shadow-lg);
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.3s;
  pointer-events: none;
  box-sizing: border-box;
}
.dj-toast.dj-toast-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.dj-toast-check {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--dj-green-light);
  color: var(--dj-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.dj-toast-body {
  flex: 1;
  min-width: 0;
}
.dj-toast-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--dj-text);
  margin: 0 0 2px;
}
.dj-toast-meta {
  font-size: 13px;
  color: var(--dj-muted);
  margin: 0;
}
.dj-toast-link {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--dj-green);
  text-decoration: none;
  white-space: nowrap;
}

/* Floating cart bar — désactivé */
.dj-cart-bar {
  display: none !important;
}

/* ── Flow pages shared ── */
body.dj-flow-page {
  background: var(--dj-bg);
}
body.dj-flow-page .app {
  padding-bottom: 120px;
}
.dj-flow-header {
  background: #fff;
  box-shadow: 0 1px 0 var(--dj-border);
}
.dj-flow-header .title-header-bar h1 {
  font-size: 18px;
}

/* Stepper */
.dj-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.dj-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--dj-muted);
  white-space: nowrap;
}
.dj-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--dj-border);
  color: var(--dj-muted);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dj-step.dj-step-active {
  color: var(--dj-green-dark);
  font-weight: 700;
}
.dj-step.dj-step-active .dj-step-num {
  background: var(--dj-green);
  color: #fff;
}
.dj-step.dj-step-done .dj-step-num {
  background: var(--dj-green-light);
  color: var(--dj-green);
}
.dj-step-arrow {
  color: var(--dj-border);
  font-size: 10px;
}

/* Cards */
.dj-card {
  background: #fff;
  border-radius: var(--dj-radius);
  box-shadow: var(--dj-shadow);
  padding: 16px;
  margin-bottom: 12px;
}

/* Cart item */
.dj-cart-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.dj-cart-item-img {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--dj-green-light);
  padding: 4px;
}
.dj-cart-item-body {
  flex: 1;
  min-width: 0;
}
.dj-cart-item-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dj-text);
  margin: 0;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}
.dj-cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.dj-cart-item-top .dj-line-total {
  flex-shrink: 0;
  white-space: nowrap;
}
.dj-cart-item-unit {
  font-size: 13px;
  color: var(--dj-muted);
  margin: 0 0 10px;
}
.dj-cart-item-group {
  margin: 6px 0 8px;
}
.dj-cart-item-group-label,
.dj-confirm-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dj-muted);
  margin: 0 0 2px;
}
.dj-cart-item-composition,
.dj-confirm-composition {
  font-size: 13px;
  color: var(--dj-text, #1a1a1a);
  margin: 0 0 2px;
  font-weight: 600;
}
.dj-cart-item-extra,
.dj-confirm-extra {
  font-size: 13px;
  color: var(--dj-muted);
  margin: 0 0 4px;
}
.dj-cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dj-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--dj-bg);
  border-radius: 99px;
  overflow: hidden;
}
.dj-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 600;
  color: var(--dj-green-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dj-qty-btn:active {
  background: var(--dj-green-light);
}
.dj-qty-value {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}
.dj-line-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--dj-green-dark);
}
.dj-remove-btn {
  margin-top: 8px;
  border: none;
  background: none;
  color: #ef4444;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

/* Order summary */
.dj-order-summary {
  background: #fff;
  border-radius: var(--dj-radius);
  box-shadow: var(--dj-shadow);
  padding: 20px;
  margin-top: 8px;
}
.dj-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 15px;
  color: var(--dj-muted);
}
.dj-summary-row span:last-child {
  color: var(--dj-text);
  font-weight: 600;
}
.dj-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px solid var(--dj-border);
}
.dj-summary-total span:first-child {
  font-size: 16px;
  font-weight: 700;
  color: var(--dj-text);
}
.dj-summary-total span:last-child {
  font-size: 24px;
  font-weight: 800;
  color: var(--dj-green-dark);
}

/* Sticky CTA */
.dj-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, #fff 80%, rgba(255,255,255,0));
  z-index: 100;
}
.dj-btn-primary {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: var(--dj-green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: var(--dj-radius-lg);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--dj-shadow-lg);
  transition: transform 0.15s, background 0.15s;
}
.dj-btn-primary:active {
  transform: scale(0.98);
  background: var(--dj-green-dark);
}
.dj-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.dj-btn-secondary {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: #fff;
  color: var(--dj-green-dark);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  border: 2px solid var(--dj-green);
  border-radius: var(--dj-radius-lg);
  text-decoration: none;
  cursor: pointer;
  margin-top: 10px;
}

/* Empty state */
.dj-empty-state {
  text-align: center;
  padding: 60px 24px;
}
.dj-empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}
.dj-empty-state h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.dj-empty-state p {
  color: var(--dj-muted);
  margin-bottom: 24px;
}

/* Form */
.dj-form-group {
  margin-bottom: 20px;
}
.dj-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dj-text);
  margin-bottom: 8px;
}
.dj-form-group label .dj-optional {
  font-weight: 400;
  color: var(--dj-muted);
}
.dj-form-input {
  width: 100%;
  padding: 16px 18px;
  font-size: 16px;
  border: 2px solid var(--dj-border);
  border-radius: var(--dj-radius);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.dj-form-input:focus {
  outline: none;
  border-color: var(--dj-green);
  box-shadow: 0 0 0 4px var(--dj-green-light);
}
.dj-form-input.dj-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}
.dj-form-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
  display: none;
}
.dj-form-group.dj-has-error .dj-form-error {
  display: block;
}
.dj-payment-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--dj-green-light);
  border-radius: var(--dj-radius);
  margin-top: 8px;
}
.dj-payment-badge-icon {
  font-size: 28px;
}
.dj-payment-badge strong {
  display: block;
  font-size: 15px;
  color: var(--dj-green-dark);
}

/* Confirmation */
.dj-confirm-section {
  margin-bottom: 20px;
}
.dj-confirm-section h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dj-muted);
  margin-bottom: 12px;
}
.dj-confirm-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--dj-border);
  font-size: 15px;
}
.dj-confirm-line:last-child {
  border-bottom: none;
}
.dj-confirm-line-qty {
  color: var(--dj-muted);
  font-size: 13px;
}
.dj-confirm-customer {
  line-height: 1.6;
  font-size: 15px;
}
.dj-flow-msg {
  padding: 14px 16px;
  border-radius: var(--dj-radius);
  margin: 16px 0;
  display: none;
  font-size: 14px;
}
.dj-flow-msg.error {
  background: #fef2f2;
  color: #b91c1c;
  display: block;
}

/* Success page */
.dj-success-hero {
  text-align: center;
  padding: 32px 16px 24px;
}
.dj-success-check {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  background: var(--dj-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  animation: djSuccessPop 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes djSuccessPop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.dj-success-hero h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dj-green-dark);
  margin-bottom: 8px;
}
.dj-success-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}
.dj-success-meta-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--dj-radius);
  box-shadow: var(--dj-shadow);
  font-size: 14px;
}
.dj-success-meta-item strong {
  color: var(--dj-green-dark);
}

/* Timeline */
.dj-timeline {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.dj-timeline-item {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 28px;
}
.dj-timeline-item:last-child {
  padding-bottom: 0;
}
.dj-timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: var(--dj-border);
}
.dj-timeline-item.dj-done:not(:last-child)::before,
.dj-timeline-item.dj-active:not(:last-child)::before {
  background: var(--dj-green);
}
.dj-timeline-dot {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dj-border);
  color: var(--dj-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  z-index: 1;
}
.dj-timeline-item.dj-done .dj-timeline-dot {
  background: var(--dj-green);
  color: #fff;
}
.dj-timeline-item.dj-active .dj-timeline-dot {
  background: var(--dj-green-light);
  color: var(--dj-green);
  box-shadow: 0 0 0 4px var(--dj-green-light);
  animation: djPulse 1.5s infinite;
}
@keyframes djPulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--dj-green-light); }
  50% { box-shadow: 0 0 0 8px rgba(4, 118, 78, 0.15); }
}
.dj-timeline-content h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 4px 0 2px;
  color: var(--dj-muted);
}
.dj-timeline-item.dj-done .dj-timeline-content h4,
.dj-timeline-item.dj-active .dj-timeline-content h4 {
  color: var(--dj-text);
}
.dj-timeline-content p {
  font-size: 13px;
  color: var(--dj-muted);
  margin: 0;
}

.dj-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

@media (min-width: 480px) {
  .dj-toast {
    max-width: 420px;
  }
  .dj-cart-bar {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(150%);
    width: min(420px, calc(100% - 24px));
  }
  .dj-cart-bar.dj-cart-bar-visible {
    transform: translateX(-50%) translateY(0);
  }
  .dj-sticky-cta {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ── Fiche produit ── */
body.dj-product-page {
  background: var(--dj-bg);
  padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
}

.dj-product-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--dj-muted);
}

.dj-product-loader {
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  border: 3px solid var(--dj-green-light);
  border-top-color: var(--dj-green);
  border-radius: 50%;
  animation: djSpin 0.8s linear infinite;
}

@keyframes djSpin {
  to { transform: rotate(360deg); }
}

.dj-product-page-inner {
  animation: djProductIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes djProductIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dj-product-hero {
  background: linear-gradient(165deg, #04764e 0%, #033f38 55%, #022e29 100%);
  padding: 12px 0 0;
  position: relative;
}

.dj-product-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 12px;
}

.dj-product-back {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  backdrop-filter: blur(6px);
}

.dj-product-back:active {
  transform: scale(0.94);
  background: rgba(255, 255, 255, 0.28);
}

.dj-product-image-wrap {
  display: flex;
  justify-content: center;
  padding: 4px 20px 40px;
  min-height: 280px;
  align-items: flex-end;
}

.dj-product-image-wrap img {
  width: min(300px, 78vw);
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.3));
  animation: djImageIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes djImageIn {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.dj-product-body {
  background: #fff;
  border-radius: 28px 28px 0 0;
  margin-top: -24px;
  position: relative;
  z-index: 1;
  padding: 28px 16px 24px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.06);
}

.dj-product-head {
  margin-bottom: 8px;
}

.dj-product-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--dj-green-dark);
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dj-product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.dj-product-base-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dj-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dj-product-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--dj-green);
  margin: 0;
}

.dj-product-desc {
  font-size: 15px;
  color: var(--dj-muted);
  line-height: 1.55;
  margin: 12px 0 0;
}

.dj-product-section {
  margin-bottom: 28px;
}

.dj-product-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.dj-product-section h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--dj-text);
  margin: 0;
}

.dj-section-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.dj-section-badge-required {
  background: #fef2f2;
  color: #b91c1c;
}

.dj-section-badge-optional {
  background: var(--dj-green-light);
  color: var(--dj-green-dark);
}

.dj-section-hint {
  font-size: 13px;
  color: var(--dj-muted);
  margin: 0 0 14px;
  line-height: 1.45;
}

.dj-product-section-composants {
  padding: 18px 16px;
  background: linear-gradient(180deg, #f0faf5 0%, #fff 100%);
  border: 2px solid rgba(4, 118, 78, 0.15);
  border-radius: var(--dj-radius-lg);
}

.dj-product-section-extras {
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--dj-border);
  border-radius: var(--dj-radius-lg);
}

.dj-product-section-qty h2 {
  margin-bottom: 12px;
}

.dj-qty-row {
  display: inline-flex;
  align-items: center;
  background: var(--dj-bg);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid var(--dj-border);
}

.dj-qty-row .dj-qty-btn {
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  font-size: 22px;
  font-weight: 700;
  color: var(--dj-green-dark);
  cursor: pointer;
  transition: background 0.15s;
}

.dj-qty-row .dj-qty-btn:active {
  background: var(--dj-green-light);
}

.dj-qty-row .dj-qty-value {
  min-width: 40px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

.dj-compositions-list,
.dj-extras-list {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.dj-compositions-list.has-items,
.dj-extras-list.has-items {
  display: flex;
}

.dj-choice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--dj-radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dj-choice-item:active {
  transform: scale(0.99);
}

.dj-choice-item.dj-choice-selected {
  border-color: var(--dj-green);
  background: var(--dj-green-light);
  box-shadow: 0 4px 16px rgba(4, 118, 78, 0.12);
}

.dj-choice-item input {
  accent-color: var(--dj-green);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.dj-choice-item label {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  line-height: 1.35;
}

.dj-choice-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--dj-green);
  white-space: nowrap;
}

.dj-section-required::after {
  content: " *";
  color: #ef4444;
}

.dj-extras-empty,
.dj-compositions-empty {
  padding: 16px;
  background: var(--dj-bg);
  border-radius: var(--dj-radius);
  color: var(--dj-muted);
  font-size: 14px;
  line-height: 1.5;
}

.dj-product-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 -4px 28px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.dj-product-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto;
}

.dj-product-sticky-total {
  flex-shrink: 0;
  min-width: 88px;
}

.dj-product-total-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dj-muted);
  margin: 0 0 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dj-product-total-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--dj-green-dark);
  margin: 0;
  transition: transform 0.2s;
}

.dj-product-total-value.dj-total-pulse {
  animation: djTotalPulse 0.35s ease;
}

@keyframes djTotalPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); color: var(--dj-green); }
}

.dj-product-add-btn {
  flex: 1;
  min-height: 52px;
  padding: 14px 20px;
  border: none;
  border-radius: var(--dj-radius-lg);
  background: var(--dj-green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--dj-shadow-lg);
  transition: transform 0.15s, background 0.2s, opacity 0.2s;
}

.dj-product-add-btn:active:not(:disabled) {
  transform: scale(0.98);
  background: var(--dj-green-dark);
}

.dj-product-add-btn.dj-added {
  background: var(--dj-success) !important;
}

.dj-product-add-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 380px) {
  .dj-product-sticky-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .dj-product-sticky-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
  }

  .dj-product-add-btn {
    max-width: none;
    width: 100%;
  }
}
