/* ==========================================================
   style.css — Styles communs Kek-Ina
   Utilisé par index.html, wallpapers.html et les futures
   pages de collection. Ne contient que ce qui est identique
   sur toutes les pages : chrome (header/nav/footer mini/back-
   to-top) et les blocs de présentation de collection.
   ========================================================== */

/* Reset marges globales */
html {
  overflow-x: hidden;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

/* Animation fluide et sombre pour l'arrière-plan "Aurore boréale" */
@keyframes auroraMotion {
  0% { transform: translate(0%, 0%); }
  33% { transform: translate(-4%, 4%); }
  66% { transform: translate(4%, -3%); }
  100% { transform: translate(0%, 0%); }
}

body {
  background-color: #08090c;
  color: #ffffff;
  position: relative;
}

/* Le décor est sur un pseudo-élément fixe et surdimensionné, animé via
   transform (traité par le GPU, sans repaint) plutôt que via
   background-position (repaint à chaque frame) : identique visuellement,
   beaucoup plus léger pour le processeur et la batterie. */
body::before {
  content: "";
  position: fixed;
  inset: -15%;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 87, 34, 0.50) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(255, 183, 3, 0.40) 0%, transparent 65%),
    radial-gradient(circle at 50% 50%, rgba(45, 53, 68, 0.95) 0%, #040507 100%);
  z-index: -1;
  animation: auroraMotion 10s ease-in-out infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

/* En-tête de la marque */
.hero-header {
  width: 100%;
  background: transparent;
  padding: 22px 20px 20px 20px;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.hero-header::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(255, 183, 3, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.logo-frame {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 190px;
  margin: 0 auto 10px auto;
  overflow: hidden;
  filter: drop-shadow(0 5px 20px rgba(255, 87, 34, 0.4));
  transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
}
.logo-frame img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.logo-frame:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 25px rgba(255, 183, 3, 0.7))
          drop-shadow(0 0 45px rgba(255, 87, 34, 0.5));
}

.hero-header .tagline {
  font-size: 1.25rem;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-header .sub-tagline {
  font-size: 1rem;
  color: #ffb703;
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff5722, #ffb703);
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 87, 34, 0.5);
}

/* Barre de navigation rapide stylisée */
.quick-nav {
  background: rgba(15, 17, 21, 0.95);
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 2px solid #ff5722;
  border-bottom: 2px solid #ff5722;
  box-shadow: 0 0 20px rgba(255, 87, 34, 0.5),
              0 0 10px rgba(255, 183, 3, 0.3),
              inset 0 0 10px rgba(255, 87, 34, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.quick-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.quick-nav a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #ff5722, #e31b23);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(255, 87, 34, 0.4);
  transform: translateY(-2px);
}

/* Menu déroulant "Collections" dans la nav rapide */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > summary {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { content: " ▾"; }
.nav-dropdown[open] > summary::after { content: " ▴"; }
.nav-dropdown > summary:hover {
  background: linear-gradient(135deg, #ff5722, #e31b23);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(255, 87, 34, 0.4);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(15, 17, 21, 0.98);
  border: 1px solid rgba(255, 87, 34, 0.4);
  border-radius: 12px;
  padding: 10px;
  min-width: 210px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 1001;
}
.nav-dropdown-menu a { text-align: center; }

/* Mosaïque de collections sur l'accueil : 2 tuiles par ligne */
.collections-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 20px;
  margin-bottom: 20px;
}
.collection-tile {
  background: rgba(15, 17, 21, 0.5);
  border: 2px solid rgba(255, 183, 3, 0.45);
  box-shadow: 0 0 18px rgba(255, 87, 34, 0.2);
  border-radius: 14px;
  margin-bottom: 0;
  padding: 18px 16px 16px 16px !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.collection-tile:hover {
  border-color: rgba(255, 183, 3, 0.75);
  box-shadow: 0 0 28px rgba(255, 87, 34, 0.35);
}
.collection-tile .collection-hero-window { padding: 16px; margin-bottom: 16px; }
.collection-tile .collection-hero-flex { flex-direction: column; }
.collection-tile .collection-hero-image { max-width: 100%; }
.collection-tile .collection-title-main { font-size: 1.25rem; border-left-width: 4px; padding-left: 10px; }
.collection-tile .collection-subtitle-main { font-size: 0.82rem !important; margin-bottom: 0 !important; font-weight: normal !important; }
.collection-tile .product-grid,
.collection-tile .collection-visual-grid { gap: 10px; }

@media (max-width: 760px) {
  .collections-mosaic { grid-template-columns: 1fr; }
}

/* ==========================================================
   Pages de collection dédiées (Team, puis Zodiac, Rockachibi...)
   Grille de visuels cliquables -> panneau détail -> fenêtres
   boutique avec carrousel de mockups.
   ========================================================== */

/* Grille des visuels (un bouton par produit, cliquable) */
.collection-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}
.visual-card {
  background: rgba(22, 25, 31, 0.9);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  color: #ffffff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.visual-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 87, 34, 0.25);
  border-color: #ff5722;
}
.visual-card[aria-expanded="true"] {
  border-color: #ffb703;
  box-shadow: 0 0 0 2px rgba(255, 183, 3, 0.5), 0 12px 30px rgba(255, 87, 34, 0.3);
}
.visual-card h3 {
  margin: 0;
  padding: 10px 10px 4px 10px;
  font-size: 0.95rem;
}
.visual-card-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 2px 10px 10px 10px;
  font-size: 0.72rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffb703;
}
.visual-card-hint::after { content: "▾"; font-size: 0.9rem; transition: transform 0.2s ease; display: inline-block; }
.visual-card[aria-expanded="true"] .visual-card-hint::after { transform: rotate(180deg); }
.visual-card .product-image {
  position: relative;
  width: 100%;
  height: 190px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.visual-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
  transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
}
.visual-card .product-image .img-mockup {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.visual-card:hover .img-visuel { opacity: 0; }
.visual-card:hover .img-mockup { opacity: 1; z-index: 3; transform: scale(1.06); }

/* Panneau détail : visuel + fenêtres boutique */
.detail-panel {
  margin-top: 20px;
  position: relative;
  background: rgba(15, 17, 21, 0.95);
  border: 1px solid rgba(255, 183, 3, 0.4);
  border-radius: 12px;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  box-shadow: 0 0 0 rgba(255, 87, 34, 0);
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.detail-panel.open {
  max-height: 3000px;
  opacity: 1;
  padding: 22px;
  box-shadow: 0 0 45px rgba(255, 87, 34, 0.4), 0 0 90px rgba(255, 183, 3, 0.15), 0 10px 30px rgba(0, 0, 0, 0.6);
}
/* Bannière collection en arrière-plan, semi-transparente, posée derrière tout le contenu */
.detail-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  pointer-events: none;
}
.detail-panel-header,
.shop-windows {
  position: relative;
  z-index: 1;
}
.detail-panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.detail-visual {
  width: 160px;
  height: 160px;
  flex: 0 0 160px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-visual img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
.detail-panel-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(255, 87, 34, 0.5);
  line-height: 1.25;
}
.detail-panel-close {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
}
.detail-panel-close:hover { background: #ff5722; border-color: transparent; }

.shop-windows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.shop-window {
  background: rgba(15, 17, 21, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
  background-size: cover;
  background-position: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Redbubble : noir profond */
.shop-window.shop-redbubble { background-color: #050505; }
/* Displate : style argenté/métallique du bouton Displate de l'accueil */
.shop-window.shop-displate {
  background-image: linear-gradient(145deg, #2b2f33 0%, #5a6066 55%, #8a9095 100%);
}
.shop-window:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.shop-window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}
.shop-window-header h4 { margin: 0; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
.shop-window-header a {
  font-size: 0.72rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 14px;
  white-space: nowrap;
  transition: box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}
.shop-window-header a:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

/* Couleurs dédiées par boutique : le nom, le contour et le bouton "Voir" partagent la même teinte */
.shop-window.shop-zazzle {
  border: 2px solid rgba(70, 120, 200, 0.7);
  box-shadow: 0 0 16px rgba(44, 90, 160, 0.25);
}
.shop-window.shop-zazzle h4 { color: #6ea8ff; }
.shop-window.shop-zazzle .shop-window-header a {
  background: linear-gradient(135deg, #1a3a6b, #2c5aa0);
  box-shadow: 0 3px 10px rgba(26, 58, 107, 0.5);
}
.shop-window.shop-zazzle .shop-window-header a:hover { box-shadow: 0 5px 16px rgba(44, 90, 160, 0.7); }
.shop-window.shop-zazzle:hover { border-color: rgba(110, 168, 255, 0.9); box-shadow: 0 0 26px rgba(44, 90, 160, 0.45); }

.shop-window.shop-redbubble {
  border: 2px solid rgba(227, 27, 35, 0.7);
  box-shadow: 0 0 16px rgba(227, 27, 35, 0.25);
}
.shop-window.shop-redbubble h4 { color: #ff6b6f; }
.shop-window.shop-redbubble .shop-window-header a {
  background: linear-gradient(135deg, #ff3b3f, #e31b23);
  box-shadow: 0 3px 10px rgba(227, 27, 35, 0.5);
}
.shop-window.shop-redbubble .shop-window-header a:hover { box-shadow: 0 5px 16px rgba(227, 27, 35, 0.7); }
.shop-window.shop-redbubble:hover { border-color: rgba(255, 107, 111, 0.9); box-shadow: 0 0 26px rgba(227, 27, 35, 0.45); }

.shop-window.shop-displate {
  border: 2px solid rgba(28, 111, 209, 0.7);
  box-shadow: 0 0 16px rgba(28, 111, 209, 0.25);
}
/* Contrado : pas de mockup, un bouton plein (même identité visuelle que le reste du site) qui
   s'étire pour matcher la hauteur des fenêtres boutique voisines */
.shop-window.shop-contrado {
  background: linear-gradient(145deg, #f2f2f2 0%, #d4d4d4 55%, #b0b0b0 100%);
  border: 2px solid rgba(255, 149, 0, 0.7);
  box-shadow: 0 0 16px rgba(255, 149, 0, 0.2);
  padding: 0;
  display: flex;
}
.shop-window.shop-contrado:hover {
  border-color: rgba(255, 207, 64, 0.9);
  box-shadow: 0 0 26px rgba(255, 149, 0, 0.4);
}
.shop-window.shop-contrado a {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 16px;
  text-decoration: none;
  overflow: hidden;
}
.shop-window.shop-contrado a::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #ffcf40, #ff9500);
}
.shop-window.shop-contrado .platform-square-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 149, 0, 0.5);
  background: rgba(255, 149, 0, 0.12);
  color: #a45c00;
}
.shop-window.shop-contrado h4 {
  margin: 0;
  color: #1a1a1a;
  font-size: 1.05rem;
  text-transform: none;
}
.shop-window.shop-contrado p {
  margin: 0;
  color: #444444;
  font-size: 0.78rem;
  text-align: center;
}

/* Boutique annoncée mais pas encore disponible (ex: Displate en cours d'intégration) */
.shop-window.pending {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-style: dashed !important;
  opacity: 0.75;
}
.shop-window.pending h4 { margin: 0 0 6px 0; }
.shop-window.pending p {
  margin: 0;
  font-size: 0.75rem;
  color: #999999;
  font-style: italic;
}

.shop-window.shop-displate h4 { color: #7cc4ff; }
.shop-window.shop-displate .shop-window-header a {
  background: linear-gradient(135deg, #5cb3ff, #1c6fd1);
  box-shadow: 0 3px 10px rgba(28, 111, 209, 0.5);
}
.shop-window.shop-displate .shop-window-header a:hover { box-shadow: 0 5px 16px rgba(28, 111, 209, 0.7); }
.shop-window.shop-displate:hover { border-color: rgba(124, 196, 255, 0.9); box-shadow: 0 0 26px rgba(28, 111, 209, 0.45); }

/* Carrousel de mockups (swipe + scroll-snap, pas d'auto-défilement) */
.mockup-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 8px;
  border-radius: 6px;
  scrollbar-width: none;
}
.mockup-carousel::-webkit-scrollbar { display: none; }
.mockup-carousel a {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: block;
  height: 160px;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.mockup-carousel a:hover { box-shadow: 0 0 18px rgba(255, 183, 3, 0.35); }
.mockup-carousel img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.mockup-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}
.mockup-dots button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-dots button::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}
.mockup-dots button.active::before {
  background: #ffb703;
  transform: scale(1.3);
}

/* Petite note complémentaire dans une fenêtre boutique (ex: variante de fond disponible) */
.shop-window-note {
  margin: 8px 0 0 0;
  font-size: 0.72rem;
  font-style: italic;
  color: #c9c9c9;
}

@media (prefers-reduced-motion: reduce) {
  .detail-panel { transition: none; }
}

@media (max-width: 600px) {
  .detail-panel-header { gap: 12px; }
  .detail-visual { width: 110px; height: 110px; flex-basis: 110px; }
  .detail-panel-title { font-size: 1.25rem; }
  .shop-windows { grid-template-columns: 1fr; }
}

/* Mosaïque de collections : plusieurs collections en tuiles côte à côte,
   au lieu d'une section pleine largeur empilée pour chacune */
.collections-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
  align-items: start;
}
.collections-mosaic .collection-block {
  margin-bottom: 0;
  padding: 0 0 20px 0;
  background: rgba(8, 9, 12, 0.45);
  border: 1px solid rgba(255, 183, 3, 0.18);
  border-radius: 16px;
  overflow: hidden;
}
.collections-mosaic .collection-hero-window {
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 20px;
  padding: 0;
}
.collections-mosaic .collection-hero-flex {
  flex-direction: column;
  gap: 0;
}
.collections-mosaic .collection-hero-image {
  order: -1;
  flex: none;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
}
.collections-mosaic .collection-hero-image img { border-radius: 0; display: block; }
.collections-mosaic .collection-hero-text {
  flex: none;
  padding: 14px 18px 18px 18px;
}
.collections-mosaic .collection-title-main { font-size: 1.3rem; margin-bottom: 6px; }
.collections-mosaic .collection-subtitle-main { font-size: 0.85rem !important; font-weight: 400 !important; margin-bottom: 0 !important; }
.collections-mosaic .product-grid,
.collections-mosaic .collection-visual-grid {
  margin-left: 18px;
  margin-right: 18px;
  width: auto;
}
.collections-mosaic .grid-toggle-btn { margin-left: 18px; }

@media (max-width: 600px) {
  .collections-mosaic { grid-template-columns: 1fr; }
}

/* Bouton "Voir plus / Voir moins" sous une grille */
.product-grid.has-more .product-card:nth-child(n+6),
.product-grid.has-more .wp-card:nth-child(n+6) {
  display: none;
}
.product-grid.has-more.expanded .product-card:nth-child(n+6),
.product-grid.has-more.expanded .wp-card:nth-child(n+6) {
  display: flex;
}
/* Variante compacte : 2 visibles par défaut (collections sans page dédiée pour l'instant) */
.product-grid.has-more.compact .product-card:nth-child(n+3) { display: none; }
.product-grid.has-more.compact.expanded .product-card:nth-child(n+3) { display: flex; }
.grid-toggle-btn {
  display: block;
  width: fit-content;
  text-decoration: none;
  margin: 14px auto 0 auto;
  padding: 10px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 183, 3, 0.4);
  color: #ffb703;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.grid-toggle-btn:hover {
  background: linear-gradient(135deg, #ff5722, #ffb703);
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

/* Conteneur principal */
.main-content {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 20px;
}

/* Bloc de collection : titre + sous-titre */
.collection-block {
  border-radius: 16px;
  padding: 30px 20px 0 20px;
  margin-bottom: 20px;
}

.collection-title-main {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 5px 0;
  color: #ffffff;
  border-left: 6px solid #ff5722;
  padding-left: 15px;
}

.collection-subtitle-main {
  color: #ffb703;
  font-size: 0.95rem;
  margin: 0 0 30px 0;
  padding-left: 21px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.coming-soon-tag {
  display: inline-block;
  margin-left: 21px;
  margin-bottom: 20px;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.4);
  color: #ffb703;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 20px;
}

/* Fenêtre titre + image d'une collection */
.collection-hero-window {
  background: #080a0f;
  border: 1px solid rgba(255, 183, 3, 0.35);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.collection-hero-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.collection-hero-text { flex: 1 1 260px; }
.collection-hero-text .collection-subtitle-main { margin-bottom: 0; }
.collection-hero-text .collection-title-main { margin-bottom: 6px; }
.collection-hero-image {
  position: relative;
  flex: 1 1 260px;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
}
.collection-hero-image img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
@media (max-width: 700px) {
  .collection-hero-flex { flex-direction: column; }
  .collection-hero-image { max-width: 100%; }
}

/* Grille de produits/wallpapers compacte (mise en page seulement ;
   les cartes elles-mêmes — .product-card, .wp-card, etc. — restent
   définies dans chaque page, car leur contenu diffère) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

/* Pied de page minimal (pages secondaires : wallpapers, futures pages
   de collection). Le footer complet de la boutique reste dans index.html */
.site-footer-mini {
  text-align: center;
  padding: 30px 20px;
  color: #777777;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 183, 3, 0.15);
  margin-top: 20px;
}
.site-footer-mini a { color: #ffb703; text-decoration: none; font-weight: bold; }
.site-footer-mini a:hover { text-decoration: underline; }

/* Bouton Retour en haut */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #ff5722;
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 999;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.back-to-top:hover {
  background: #ffb703;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.5);
}

/* --- Adaptation mobile (max-width: 600px) --- */
@media (max-width: 600px) {
  .main-content {
    padding: 0 10px;
    margin: 20px auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .quick-nav { padding: 10px 5px; }
  .quick-nav a { font-size: 0.7rem; padding: 6px 10px; }

  .nav-dropdown > summary { font-size: 0.7rem; padding: 6px 10px; }
  .nav-dropdown-menu {
    min-width: 0;
    width: max-content;
    max-width: calc(100vw - 30px);
  }

  .grid-toggle-btn { font-size: 0.7rem; padding: 8px 18px; }

  .hero-header { padding: 18px 15px 15px 15px; }
  .logo-frame { height: 130px; }
  .hero-header .tagline { font-size: 1rem; letter-spacing: 1.5px; }
  .hero-header .sub-tagline { font-size: 0.85rem; }

  .collection-title-main { font-size: 1.4rem; }
  .collection-subtitle-main { font-size: 0.85rem; }
}
