/* Variables CSS */
:root {
  --primary-color: #FF3200;
  --primary-hover: #d62828;
  --secondary-color: #f1faee;
  --accent-color: #ffb703;
  --bg-light: #ffffff;
  --bg-beige: #fef9e7;
  --bg-card: #ffffff;
  --border-color: #e0e0e0;
  --border-hover: #e63946;
  --text-primary: #2b2d42;
  --text-secondary: #8d99ae;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --radius: 16px;
  --radius-sm: 8px;
  --spacing: 24px;
}

/* Wrapper principal */
.pizza-config-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Container principal - 100% largeur sans récap */
.pizza-config-container {
  /* max-width: calc(100% - 420px); */ /* Réserve espace pour récap */
  width: 100%;
  margin: 0;
  padding: 0 40px 40px 40px;
  box-sizing: border-box;
}

@media (max-width: 1400px) {
  .pizza-config-container {
    /* max-width: calc(100% - 380px); */
    padding: 0 30px 30px 30px;
  }
  
  .pizza-preview-section {
    margin: 0 30px 24px 30px;
  }
  
  .pizza-summary {
    width: 360px;
    right: 15px;
  }
  
  .pizza-options-grid {
    grid-template-columns: repeat(auto-fill, minmin(170px, 1fr));
  }
}

@media (max-width: 1200px) {
  .pizza-config-container {
    /* max-width: calc(100% - 340px); */
    padding: 0 20px 20px 20px;
  }
  
  .pizza-preview-section {
    margin: 0 20px 20px 20px;
  }
  
  .pizza-summary {
    width: 320px;
    right: 10px;
  }
  
  .pizza-options-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
  
  .summary-card {
    padding: 24px;
  }
}

/* Section principale - 100% largeur */
.pizza-config-main {
  width: 100%;
  max-width: 100%;
}

/* Section de prévisualisation de la pizza - en haut, pleine largeur */
.pizza-preview-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  margin: 0 40px 30px 40px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(230, 57, 70, 0.1);
}

.pizza-preview-section:hover {
  box-shadow: 0 15px 50px rgba(230, 57, 70, 0.15);
  transform: translateY(-2px);
}

.pizza-canvas-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: linear-gradient(135deg, #fef9e7 0%, #fef5e7 100%);
  border-radius: 15px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  /* max-width: 500px; */
  margin-left: auto;
  margin-right: auto;
}

.pizza-canvas-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.03) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

#pizza-canvas {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
  transition: filter 0.3s ease;
  position: relative;
  z-index: 1;
}

#pizza-canvas:hover {
  filter: drop-shadow(0 12px 30px rgba(230, 57, 70, 0.2));
}

.pizza-preview-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pizza-status {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0;
}

/* Navigation entre les étapes */
.pizza-steps-navigation {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.step-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
}

.step-nav-btn:hover:not(:disabled) {
  border-color: var(--primary-color);
  background: var(--secondary-color);
}

.step-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.step-nav-btn.active {
  border-color: var(--primary-color);
  background: rgba(230, 57, 70, 0.1);
}

.step-nav-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
}

.step-nav-btn:disabled .step-nav-number {
  background: var(--text-secondary);
}

.step-nav-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Étapes de configuration - 100% largeur */
.pizza-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.pizza-step {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.4s ease;
  width: 100%;
  box-sizing: border-box;
}

.step-header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.step-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
}

.step-back {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 18px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.step-back:hover {
  color: var(--primary-color);
}

.step-info {
  width: 100%;
  color: var(--text-secondary);
  font-size: 14px;
  margin: 8px 0 0 0;
}

/* Grille des options */
.pizza-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Cartes d'options */
.pizza-option-card {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 22px 18px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  cursor: pointer;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pizza-option-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.pizza-option-card:hover:not(.selected) {
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(230, 57, 70, 0.2);
  transform: translateY(-6px) scale(1.02);
  background: linear-gradient(135deg, #ffffff 0%, #fff5f6 100%);
}

.pizza-option-card:hover::before {
  transform: scaleX(1);
}

.pizza-option-card.selected {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(230, 57, 70, 0.05) 100%);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.15), 0 8px 25px rgba(230, 57, 70, 0.25);
  transform: scale(1.03);
  animation: pulse-select 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pulse-select {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1.03); }
}

.pizza-option-card.selected::before {
  transform: scaleX(1);
}

.option-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.option-card-body img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.option-color-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.option-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.option-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  display: block;
  line-height: 1.4;
}

.option-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  display: block;
}

/* Récapitulatif - fixed à droite de l'écran */
.pizza-summary {
  position: fixed;
  top: 30%;
  right: 20px;
  width: 380px;
  z-index: 100;
  max-height: calc(100vh - 40px);
}

.summary-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(230, 57, 70, 0.15);
  max-height: 100%;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.summary-card:hover {
  box-shadow: 0 20px 70px rgba(230, 57, 70, 0.25);
  border-color: rgba(230, 57, 70, 0.3);
}

/* Bouton flottant mobile */
.summary-mobile-toggle {
  display: none; /* Caché sur desktop */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  background: var(--primaryllw-color);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 16px 24px;
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.summary-mobile-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.5);
}

.summary-mobile-toggle .toggle-icon {
  font-size: 20px;
}

.summary-mobile-toggle .toggle-text {
  font-weight: 700;
}

.summary-mobile-toggle .toggle-price {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
}

.summary-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-color);
}

.summary-content {
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-item:last-of-type {
  border-bottom: none;
}

.summary-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.summary-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
  flex: 1;
  margin-left: 12px;
}

.summary-condiments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  flex: 1;
  margin-left: 12px;
}

.condiment-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--secondary-color);
  color: var(--text-primary);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 2px solid var(--border-color);
  margin-bottom: 20px;
}

.total-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.total-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
}

.btn-order {
  width: 100%;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  background: var(--primaryllw-color);
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-order::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-order:hover::before {
  width: 300px;
  height: 300px;
}

.btn-order:hover:not(:disabled) {
  background: linear-gradient(135deg, #d62828 0%, #c41e1e 100%);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.5);
  transform: translateY(-3px) scale(1.02);
}

.btn-order:active:not(:disabled) {
  transform: translateY(0);
}

.btn-order:disabled {
  background: var(--text-secondary);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Récapitulatif simple pour mobile/tablette - caché sur desktop */
.pizza-summary-mobile-simple {
  display: none; /* Caché par défaut sur desktop */
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 12px;
  border: 2px solid rgba(230, 57, 70, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.summary-simple-content {
  margin-bottom: 16px;
}

.summary-simple-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-simple-item:last-of-type {
  border-bottom: none;
}

.summary-simple-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.summary-simple-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
  flex: 1;
  margin-left: 12px;
}

.summary-simple-condiments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  flex: 1;
  margin-left: 12px;
}

.summary-simple-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 0 0;
  border-top: 2px solid var(--border-color);
}

.summary-simple-total-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.summary-simple-total-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

/* Bouton d'action en bas de l'étape */
.step-action-button {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--border-color);
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.5s ease 0.3s both;
}

.step-action-button .btn-order {
  max-width: 400px;
  width: 100%;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1600px) {
  .pizza-config-container {
    max-width: 100%;
    padding: 0 16px 80px 16px; /* Padding bottom pour bouton */
  }
  
  .pizza-preview-section {
    margin: 0 16px 20px 16px;
  }
  
  /* Afficher le récapitulatif simple sur mobile/tablette */
  .pizza-summary-mobile-simple {
    display: block;
  }
  
  /* Récap devient un panneau mobile */
  .pizza-summary {
    position: fixed;
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-radius: 20px 20px 0 0;
    z-index: 1002;
  }
  
  .pizza-summary.open {
    transform: translateY(0);
  }
  
  .summary-card {
    max-height: 80vh;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
  }
  
  /* Bouton visible sur mobile */
  .summary-mobile-toggle {
    display: flex !important;
  }
  
  /* Ajuster l'espacement du bouton avec le récap simple */
  .step-action-button {
    margin-top: 20px;
    padding-top: 20px;
  }
  
  .pizza-options-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
  
  .pizza-step {
    padding: 20px;
  }
  
  /* Overlay sombre mobile */
  .pizza-summary::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
  }
  
  .pizza-summary.open::before {
    opacity: 1;
    pointer-events: all;
  }
  
  /* Bouton fermer mobile */
  .summary-card::after {
    content: '×';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 300;
  }
  
  .pizza-steps-navigation {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .step-nav-btn {
    flex: 1;
    min-width: calc(33.333% - 8px);
  }
  
  /* Cacher le récap fixed sur mobile */
  body:not(.summary-open) .pizza-summary:not(.open) {
    display: none;
  }
}

@media (max-width: 768px) {
  .pizza-config-container {
    padding: 16px;
    gap: 20px;
  }
  
  .pizza-preview-section {
    padding: 20px;
    margin-bottom: 16px;
  }
  
  .pizza-canvas-wrapper {
    padding: 20px;
  }
  
  #pizza-canvas {
    width: 100%;
    max-width: 280px;
    height: auto;
  }
  
  .pizza-step {
    padding: 16px;
  }
  
  .step-header {
    margin-bottom: 16px;
  }
  
  .step-header h2 {
    font-size: 18px;
  }
  
  .step-number,
  .step-nav-number {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  
  .step-nav-label {
    font-size: 12px;
  }
  
  .step-nav-btn {
    padding: 10px 12px;
    min-width: auto;
  }
  
  .pizza-options-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
  }
  
  .pizza-option-card {
    padding: 16px 12px;
    min-height: 150px;
  }
  
  .option-card-body img,
  .option-color-box {
    width: 60px;
    height: 60px;
  }
  
  .option-icon {
    width: 50px;
    height: 50px;
  }
  
  .option-title {
    font-size: 14px;
  }
  
  .summary-card {
    padding: 20px;
  }
  
  .summary-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }
  
  .summary-item {
    padding: 10px 0;
  }
  
  .summary-label,
  .summary-value {
    font-size: 13px;
  }
  
  .total-label {
    font-size: 16px;
  }
  
  .total-price {
    font-size: 22px;
  }
  
  .btn-order {
    padding: 14px 20px;
    font-size: 14px;
  }
  
  .step-action-button {
    margin-top: 24px;
    padding-top: 20px;
  }
  
  .step-action-button .btn-order {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .pizza-config-container {
    padding: 12px;
  }
  
  .pizza-preview-section {
    padding: 16px;
  }
  
  .pizza-canvas-wrapper {
    padding: 16px;
  }
  
  #pizza-canvas {
    max-width: 240px;
  }
  
  .pizza-steps-navigation {
    padding: 12px;
    gap: 8px;
  }
  
  .step-nav-btn {
    padding: 8px;
    min-width: calc(33.333% - 6px);
  }
  
  .step-nav-number {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  
  .step-nav-label {
    font-size: 11px;
  }
  
  .pizza-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .pizza-option-card {
    padding: 12px 8px;
    min-height: 130px;
  }
  
  .option-card-body img,
  .option-color-box {
    width: 50px;
    height: 50px;
  }
  
  .option-icon {
    width: 40px;
    height: 40px;
  }
  
  .option-title {
    font-size: 12px;
    line-height: 1.3;
  }
  
  .option-price {
    font-size: 11px;
  }
  
  .pizza-step {
    padding: 12px;
  }
  
  .step-header {
    margin-bottom: 12px;
  }
  
  .step-header h2 {
    font-size: 16px;
  }
  
  .step-number {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .step-info {
    font-size: 12px;
  }
  
  .summary-card {
    padding: 16px;
    border-radius: 16px;
  }
  
  .summary-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  
  .summary-content {
    margin-bottom: 16px;
  }
  
  .summary-item {
    padding: 8px 0;
  }
  
  .summary-label,
  .summary-value {
    font-size: 12px;
  }
  
  .condiment-tag {
    font-size: 10px;
    padding: 3px 8px;
  }
  
  .summary-total {
    padding: 16px 0;
    margin-bottom: 16px;
  }
  
  .total-label {
    font-size: 14px;
  }
  
  .total-price {
    font-size: 20px;
  }
  
  .btn-order {
    padding: 12px 16px;
    font-size: 13px;
    letter-spacing: 0.5px;
  }
  
  .step-action-button {
    margin-top: 20px;
    padding-top: 16px;
  }
}

/* Animations pour les condiments sur la pizza */
#pizza-condiments-visual image {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#pizza-condiments-visual circle {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Animation de pulsation désactivée - on garde juste la définition pour compatibilité */
@keyframes subtle-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Animation de sélection pour les cartes de condiments */
.pizza-option-card.selected {
  animation: card-select 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes card-select {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1) rotate(2deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* Amélioration visuelle du canvas pizza */
#pizza-canvas {
  transition: transform 0.3s ease;
}

/* Effet hover désactivé - focus sur l'animation de dépôt uniquement */

/* Effet de brillance sur les images de condiments */
#pizza-condiments-visual image {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Hover désactivé - l'interaction se fait via l'animation de dépôt */



/****** Détails des condiments ******/

/* Styles pour l'affichage des dĂ©tails de pizza dans le panier */
.pizza-config-details {
    margin: 10px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e63946;
    font-size: 14px;
}

.pizza-config-details > div:first-child {
    font-weight: bold;
    color: #e63946;
    margin-bottom: 10px;
    font-size: 15px;
}

.pizza-config-details > div:not(:first-child) {
    margin-bottom: 5px;
    line-height: 1.6;
}

.pizza-config-details strong {
    color: #2b2d42;
    font-weight: 600;
}

.pizza-config-details span[style*="background: #e63946"] {
    display: inline-block;
    background: #e63946 !important;
    color: white !important;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin: 2px;
    font-weight: 500;
}

/* Pour le back-office */
.panel.card .pizza-config-details,
.card-body .pizza-config-details {
    background: white;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .pizza-config-details {
        padding: 10px;
        font-size: 13px;
    }
    
    .pizza-config-details span[style*="background: #e63946"] {
        font-size: 11px;
        padding: 2px 8px;
    }
}


@media (min-width: 1601px) {
  .summary-mobile-toggle {
    display: none !important;
  }
  
  .pizza-summary-mobile-simple {
    display: none !important;
  }
}
