/* Force body background to warm to avoid white gaps */
body {
  background-color: #F5F5F5 !important; /* Hardcoded warm color */
}

/* ==========================================================================
   MISTRAL PANS - Boutique / Configurator Styles
   Styles spÃƒÂ©cifiques ÃƒÂ  la page boutique
   ========================================================================== */

/* --------------------------------------------------------------------------
   Override des variables CSS pour la page Boutique
   Palette turquoise pour diffÃƒÂ©rencier du reste du site
   -------------------------------------------------------------------------- */
:root {
  --color-bg: #FAFAFA;
  --color-bg-warm: #F5F5F5;
  --color-accent: #0D7377;
  --color-accent-hover: #095456;
  --color-accent-light: #14919B;
  --color-border: #E5E7EB;
  --color-border-dark: #D1D5DB;
}

/* --------------------------------------------------------------------------
   Configurator Layout
   -------------------------------------------------------------------------- */
   
/* Hauteur du bandeau de navigation */
:root {
  --nav-band-height: 56px;
}

.configurator {
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: calc(100vh - var(--header-height) - var(--nav-band-height));
  padding-top: var(--header-height);
}

@media (max-width: 1024px) {
  .configurator {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Left Panel - Player
   -------------------------------------------------------------------------- */
.config-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-warm) 100%);
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height) - var(--nav-band-height));
  overflow: hidden;
}

@media (max-width: 1024px) {
  .config-player {
    position: relative;
    height: auto;
    min-height: 600px;
  }
}

.player-container {
  max-width: 880px;
  width: 100%;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 100%;
}

.player-info {
  text-align: center;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.player-info__name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.player-info__notes {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.player-info__mood {
  font-size: 0.9375rem;
  color: var(--color-accent);
  font-style: italic;
}

.player-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
  position: relative;
  overflow: visible;
  padding: 10px;
  flex: 1;
  min-height: 0;
}

.player-visual svg {
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
  overflow: visible;
  max-width: 100%;
  max-height: calc(100vh - 280px);
  height: auto;
  width: auto;
}

/* Note styles */
.note-group {
  cursor: pointer;
  transition: transform 0.1s ease;
}

.note-group:hover .note-circle {
  filter: brightness(1.2);
}

.note-group.active .note-circle {
  fill: var(--color-accent) !important;
}

.note-group.active .note-label {
  fill: white !important;
}

/* Note type colors */
.note-ding {
  fill: #4a4a4a;
}

.note-tonal {
  fill: #3d3d3d;
}

.note-mutant {
  fill: #5a4a3a;
}

.note-bottom {
  fill: #2d2d2d;
  stroke: #555;
  stroke-dasharray: 3 2;
}

/* Legend */
.player-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot--tonal {
  background: #3d3d3d;
}

.legend-dot--mutant {
  background: #5a4a3a;
}

.legend-dot--bottom {
  background: #2d2d2d;
  border: 1px dashed #777;
}

/* Controls */
.player-controls {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  padding-bottom: 0.5rem;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-family: inherit;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--color-text);
  color: white;
}

.btn-play:hover {
  background: var(--color-bg-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-play.playing {
  background: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Right Panel - Options
   -------------------------------------------------------------------------- */
.config-options {
  background: var(--color-white);
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-height) - var(--nav-band-height));
  overflow: hidden;
}

@media (max-width: 1024px) {
  .config-options {
    height: auto;
    max-height: none;
    border-left: none;
    border-top: 1px solid var(--color-border);
  }
}

.config-options-inner {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  padding-bottom: 0;
}

.config-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.config-subtitle {
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* Option Groups */
.option-group {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.option-group:last-of-type {
  border-bottom: none;
}

.option-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.option-value {
  font-weight: 500;
  color: var(--color-text);
  text-transform: none;
  letter-spacing: 0;
}

/* Chips */
.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.chip {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.chip.active {
  background: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-white);
}

/* Notes counter */
.notes-counter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.counter-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.counter-btn:hover:not(:disabled) {
  border-color: var(--color-text);
  background: var(--color-bg-warm);
}

.counter-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.counter-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  min-width: 50px;
  text-align: center;
}

.notes-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.375rem;
}

.notes-hint a {
  color: var(--color-accent);
  text-decoration: none;
}

/* Advanced options toggle */
.options-advanced {
  margin-bottom: 1rem;
}

.options-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--color-text-light);
  background: none;
  border: none;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: color 0.15s ease;
}

.options-toggle:hover {
  color: var(--color-text);
}

.toggle-icon {
  transition: transform 0.25s ease;
}

.options-toggle.open .toggle-icon {
  transform: rotate(180deg);
}

.options-advanced-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.options-advanced-content.open {
  max-height: 500px;
}

.options-advanced-content .option-group:first-child {
  padding-top: 1rem;
}

/* Radio Cards */
.option-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.option-cards--2 {
  grid-template-columns: repeat(2, 1fr);
}

.radio-card {
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.radio-card:hover {
  border-color: var(--color-border-dark);
}

.radio-card.active {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, rgba(13, 115, 119, 0.05) 0%, transparent 100%);
}

.radio-card__value {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
}

.radio-card__label {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.radio-card__price {
  font-size: 0.6875rem;
  color: var(--color-accent);
  margin-top: 0.125rem;
}

/* --------------------------------------------------------------------------
   Price & CTA
   -------------------------------------------------------------------------- */
.config-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.5rem 1.5rem;
  flex-shrink: 0;
}

.price-display {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.price-label {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.price-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-text);
}

.config-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

.config-note a {
  color: var(--color-accent);
}

/* Flash dot animation */
.flash-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* --------------------------------------------------------------------------
   Flash Sales Section
   -------------------------------------------------------------------------- */
.flash-section {
  background: var(--color-bg-warm);
  padding: 4rem 0;
}

.flash-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.flash-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.flash-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-family: var(--font-body);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--color-success);
  color: white;
  font-weight: 500;
}

.flash-subtitle {
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

.flash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.flash-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
}

.flash-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.flash-card__image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #E8E4DC 0%, #D4CFC5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.flash-card__status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-success);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
}

.flash-card__content {
  padding: 1.5rem;
}

.flash-card__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.flash-card__specs {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.flash-card__notes {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.flash-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.flash-card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.flash-card__btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--color-text);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.flash-card__btn:hover {
  background: var(--color-bg-dark);
}

/* --------------------------------------------------------------------------
   Admin Styles
   -------------------------------------------------------------------------- */
.admin-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(13, 115, 119, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.2s ease;
}

.admin-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(13, 115, 119, 0.5);
}

.admin-fab.visible {
  display: flex;
}

.admin-fab svg {
  width: 24px;
  height: 24px;
}

/* Admin Modal */
.admin-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.admin-modal.open {
  display: flex;
}

.admin-modal__content {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.admin-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.admin-modal__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.admin-modal__close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.admin-modal__close:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.admin-modal__body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.admin-section {
  margin-bottom: 2rem;
}

.admin-section:last-child {
  margin-bottom: 0;
}

.admin-section__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* Admin Annonce List */
.admin-annonce-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-annonce-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.admin-annonce-item__info {
  flex: 1;
}

.admin-annonce-item__name {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.admin-annonce-item__specs {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.admin-annonce-item__price {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-accent);
}

.admin-annonce-item__delete {
  background: none;
  border: 1px solid var(--color-error);
  color: var(--color-error);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-annonce-item__delete:hover {
  background: var(--color-error);
  color: white;
}

.admin-empty {
  text-align: center;
  padding: 2rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Admin Form */
.admin-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.admin-form__group.full-width {
  grid-column: 1 / -1;
}

.admin-form__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.admin-form__input {
  padding: 0.625rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text);
}

.admin-form__input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.admin-form__btn {
  grid-column: 1 / -1;
  padding: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.admin-form__btn:hover {
  background: var(--color-accent-light);
}

.admin-logout {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.admin-logout:hover {
  border-color: var(--color-error);
  color: var(--color-error);
}

/* --------------------------------------------------------------------------
   Boutique Footer (inline styles override)
   -------------------------------------------------------------------------- */
.boutique-footer {
  background: #1A1D21;
  color: white;
  padding: 3rem 0 1.5rem;
}

.boutique-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.boutique-footer a:hover {
  color: white;
}

/* ==========================================================================
   SWIPE NAVIGATION SYSTEM
   Mobile: Horizontal swipe between panels
   Desktop: Vertical scroll with indicator
   ========================================================================== */

/* ===== TABS (Mobile only) ===== */
.boutique-tabs {
  display: none;
  position: fixed;
  top: var(--header-height, 64px);
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.boutique-tabs__inner {
  display: flex;
}

.boutique-tab {
  flex: 1;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.boutique-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.boutique-tab.active {
  color: var(--color-accent);
}

.boutique-tab.active::after {
  transform: scaleX(1);
}

.boutique-tab__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--color-success);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 10px;
}

.boutique-tab__badge-dot {
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ===== WRAPPER ===== */
.boutique-wrapper {
  display: flex;
  flex-direction: column;
  background: #F5F5F5; /* Warm background */
}

/* ===== PANELS ===== */
.boutique-panel {
  min-height: calc(100vh - var(--header-height, 64px));
}

.boutique-panel--config {
  background: #F5F5F5; /* Same warm background */
}

.boutique-panel--stock {
  background: #F5F5F5 !important; /* Hardcoded warm */
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove ALL spacing from flash-section when inside panel-stock */
.boutique-panel--stock .flash-section {
  padding-top: 2rem;
  margin-top: 0;
  background: #F5F5F5 !important; /* Hardcoded */
}

/* ===== DOTS INDICATOR (Mobile only) ===== */
.boutique-dots {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.boutique-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.boutique-dot.active {
  background: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

/* ===== NAVIGATION BAND (Desktop only) ===== */
.boutique-nav-band {
  display: none;
  position: sticky;
  top: var(--header-height, 64px);
  z-index: 99;
  background: var(--color-accent);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.boutique-nav-band__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.boutique-nav-band__btn:hover {
  background: rgba(255,255,255,0.1);
}

.nav-band__arrow {
  transition: transform 0.2s ease;
}

.boutique-nav-band__btn:hover .nav-band__arrow--down {
  animation: bounceDown 0.5s ease infinite;
}

.boutique-nav-band__btn:hover .nav-band__arrow--up {
  animation: bounceUp 0.5s ease infinite;
}

.nav-band__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}

.nav-band__badge-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Hide badge when showing "Sur mesure" */
.boutique-nav-band.is-stock .nav-band__badge {
  display: none;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes bounceUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Show on desktop */
@media (min-width: 769px) {
  .boutique-nav-band {
    display: block;
  }
}

/* ===== FLASH CARDS MOSAIC GRID ===== */
.flash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .flash-cards {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
  }
}

@media (min-width: 1200px) {
  .flash-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
  /* Show tabs */
  .boutique-tabs {
    display: block;
  }
  
  /* Hide nav band on mobile */
  .boutique-nav-band {
    display: none !important;
  }
  
  /* Horizontal scroll wrapper */
  .boutique-wrapper {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0;
  }
  
  .boutique-wrapper::-webkit-scrollbar {
    display: none;
  }
  
  /* Each panel takes full width */
  .boutique-panel {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: calc(100vh - var(--header-height, 64px) - 48px);
    padding-top: 48px; /* Tab bar height */
    overflow-y: auto;
  }
  
  /* Show dots */
  .boutique-dots {
    display: flex;
  }
  
  /* Adjust configurator for mobile panel */
  .boutique-panel--config .configurator {
    min-height: auto;
  }
  
  /* Flash section adjustments */
  .boutique-panel--stock .flash-section {
    padding-top: 0;
  }
  
  /* Flash cards mobile */
  .flash-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Hide old flash button when tabs are shown */
@media (max-width: 768px) {
  #btn-flash {
    display: none !important;
  }
}
