/* ===== GG STORE — Palette sombre premium ===== */
:root {
  color-scheme: dark;
  --bg: #171717;
  --bg-alt: #06110C;
  --bg-card: #1E1E1E;
  --bg-elevated: #232323;
  --bg-input: #141414;
  --accent: #A31C1B;
  --accent-hover: #B82423;
  --accent-text: #E8605D;
  --text: #F5F1EA;
  --text-muted: #B8B8B0;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 120px;
  --touch-min: 44px;
  --success: #3DDC97;
  --danger: #E85D5D;
  --info: #3B82C4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  padding-bottom: 96px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100dvh;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Bandeau + header collés ensemble (sticky unique, pas de chevauchement) */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
}

.announce-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 6px 48px 6px 16px;
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.announce-bar.is-hidden {
  display: none;
}

.announce-text {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.35;
  color: #fff;
  overflow-wrap: anywhere;
  min-width: 0;
  flex: 1 1 auto;
}

.announce-close {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: var(--touch-min);
  height: var(--touch-min);
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.announce-close:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
}

header {
  background: var(--bg-alt);
  color: var(--text);
  padding: 14px 0 8px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

header .top-bar {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.logo {
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  font-weight: 800;
  color: var(--text);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--accent-text);
}

.search-bar {
  position: relative;
  flex: 1 1 180px;
  min-width: 0;
  max-width: 100%;
}

.search-bar .material-icons {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 1.25rem;
}

.search-bar input {
  width: 100%;
  max-width: 100%;
  min-height: var(--touch-min);
  padding: 12px 18px 12px 44px;
  margin-bottom: 0;
  border-radius: 999px;
  outline: none;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-bar input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(163, 28, 27, 0.25);
}

.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 16px 40px;
  min-width: 0;
}

/* --- Hero accueil (photo hero-gg-hd.webp + voile sombre) --- */
.home-hero {
  position: relative;
  background-color: var(--bg-alt);
  background-image:
    linear-gradient(90deg, rgba(6, 17, 12, 0.95) 0%, rgba(6, 17, 12, 0.86) 36%, rgba(23, 23, 23, 0.45) 68%, rgba(23, 23, 23, 0.25) 100%),
    url('hero-gg-hd.webp');
  background-size: cover;
  background-position: 65% center;
  background-repeat: no-repeat;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(24px, 5vw, 48px) clamp(16px, 4vw, 40px);
  margin-bottom: clamp(20px, 4vw, 36px);
  min-height: clamp(380px, 62dvh, 540px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  box-shadow: var(--shadow);
}

.home-hero > * {
  max-width: min(100%, 600px);
}

.home-hero-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.home-hero-brand {
  margin: 0;
  font-size: clamp(2.2rem, 9vw, 4.75rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}

.home-hero-brand span {
  color: var(--accent-text);
}

.home-hero-title {
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
  max-width: 24ch;
}

.home-hero-desc {
  margin: 0 0 8px;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  color: var(--text-muted);
  max-width: 40ch;
}

/* --- Sections vitrine accueil --- */
.home-welcome {
  margin-bottom: clamp(20px, 4vw, 36px);
}

.home-section {
  margin-bottom: clamp(20px, 4vw, 36px);
  min-width: 0;
  max-width: 100%;
}

.home-section-title {
  margin: 0 0 16px;
  padding-inline: 0;
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  color: var(--text);
  font-weight: 700;
}

.home-scroll-row {
  display: flex;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 110px;
  min-width: 0;
  margin: 0;
  padding: 16px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow-wrap: anywhere;
  text-align: center;
  width: auto;
}

.category-card:hover {
  background: var(--bg-card);
  border-color: rgba(163, 28, 27, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.category-card .material-icons {
  color: var(--accent-text);
  font-size: 2rem;
}

.category-card-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  min-width: 0;
  min-height: 110px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow-wrap: anywhere;
}

.why-card .material-icons {
  color: var(--accent-text);
  font-size: 1.85rem;
  margin-bottom: 8px;
  display: block;
}

.why-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--text);
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.home-see-more {
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
}

.home-selection-row .loader {
  margin: 24px auto;
  flex: 0 0 auto;
}

#home-selection[hidden] {
  display: none !important;
}

/* Mobile : rangées à glissement horizontal (peek) */
@media (max-width: 767px) {
  .home-scroll-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    gap: 12px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
    margin-inline: -16px;
    width: calc(100% + 32px);
    max-width: none;
    scrollbar-width: none;
  }

  .home-scroll-row::-webkit-scrollbar {
    display: none;
  }

  .home-scroll-row > .category-card,
  .home-scroll-row > .product,
  .home-scroll-row > .why-card {
    flex: 0 0 75%;
    width: 75%;
    max-width: 75%;
    scroll-snap-align: start;
    min-width: 0;
  }

  .home-section-title {
    padding-inline: 0;
  }
}

/* Desktop : grilles 4 colonnes */
@media (min-width: 768px) {
  .home-scroll-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    gap: 16px;
    padding-inline: 0;
    margin-inline: 0;
    width: 100%;
  }

  .home-categories-row,
  #home-categories-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .home-scroll-row > .category-card,
  .home-scroll-row > .product,
  .home-scroll-row > .why-card {
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .home-see-more {
    width: auto;
    min-width: 220px;
    display: inline-flex;
  }
}

.home-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  width: 100%;
  max-width: 100%;
  min-height: var(--touch-min);
  padding: 12px 20px;
  margin: 0;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.25s ease, transform 0.2s ease, opacity 0.2s ease;
  overflow-wrap: anywhere;
}

.hero-btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
}

.hero-btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.hero-btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
}

.hero-btn-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
}

@media (min-width: 768px) {
  .home-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
  }

  .hero-btn {
    width: auto;
    min-width: 200px;
    flex: 0 1 auto;
  }
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  background: transparent;
  padding: 10px 12px 6px;
}

.menu button {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 8px;
  width: var(--touch-min);
  height: var(--touch-min);
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  margin-bottom: 0;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: var(--radius-sm);
}

.menu button.active,
.menu button:hover {
  background: none;
  color: var(--accent-text);
  transform: scale(1.08);
}

#cart-count-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  display: none;
}

.page {
  display: none;
  min-width: 0;
}

.page.active {
  display: block;
}

.box {
  background: var(--bg-card);
  padding: clamp(16px, 3vw, 24px);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  min-width: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

h3 {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: var(--text);
}

p {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

label,
input,
button,
textarea,
select {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 10px;
  font-size: 1rem;
  font-family: inherit;
}

label {
  color: var(--text-muted);
  margin-bottom: 6px;
}

input,
textarea,
select {
  padding: 12px 14px;
  min-height: var(--touch-min);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 88px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(163, 28, 27, 0.25);
}

select {
  cursor: pointer;
  appearance: auto;
}

button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 18px;
  min-height: var(--touch-min);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background 0.25s ease, transform 0.2s ease, opacity 0.2s ease;
}

button:hover {
  background: var(--accent-hover);
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

button:disabled:hover {
  background: var(--accent);
}

/* --- Grille produits --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.product {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card-interactive:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(163, 28, 27, 0.35);
}

.product-image {
  position: relative;
  aspect-ratio: 3 / 4;
  height: auto;
  background: var(--bg-input);
  overflow: hidden;
  min-width: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.product p {
  margin: 0 0 14px;
  color: var(--text-muted);
  min-height: 48px;
}

.product small {
  color: var(--accent-text);
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-top: 4px;
}

.product-card-interactive:hover .product-image img {
  transform: scale(1.06);
}

.product-content {
  padding: 12px;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-content strong {
  color: var(--text);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  display: block;
}

.product-description {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.add-to-cart-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background-color: rgba(23, 23, 23, 0.75);
  color: #fff;
  border: 1px solid var(--border);
  width: var(--touch-min);
  height: var(--touch-min);
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.add-to-cart-icon:hover {
  background-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}

.add-to-cart-icon .material-icons {
  font-size: 22px;
}

.product-actions-seller {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.action-btn {
  flex: 1 1 100px;
  padding: 10px 8px;
  font-size: 0.85rem;
  min-width: 0;
  min-height: var(--touch-min);
}

.edit-btn {
  background: var(--info);
  color: #fff;
}

.edit-btn:hover {
  background: #2f6aa3;
}

.delete-btn {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--text);
}

.delete-btn:hover {
  background: rgba(163, 28, 27, 0.2);
  color: #fff;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  min-width: 0;
  overflow-wrap: anywhere;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item button {
  width: auto;
  min-width: 120px;
  flex-shrink: 0;
}

small {
  color: var(--text-muted);
}

.pay-info {
  background: var(--bg-alt);
  padding: 18px;
  border-radius: 16px;
  margin-top: 10px;
  color: var(--text);
  border: 1px solid var(--border);
}

.pay-info p {
  color: var(--text-muted);
}

.notice {
  background: var(--bg-alt);
  padding: clamp(14px, 3vw, 18px);
  border-radius: 16px;
  margin-bottom: 20px;
  color: var(--text);
  border: 1px solid var(--border);
  overflow-wrap: anywhere;
}

.notice p,
.notice h3 {
  color: var(--text);
}

.notice p {
  color: var(--text-muted);
}

.notice h3 {
  color: var(--text);
  margin-top: 1.25em;
}

.notice h3:first-child {
  margin-top: 0;
}

/* --- Loader --- */
.loader {
  border: 5px solid var(--border);
  border-top: 5px solid var(--accent);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 50px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.category-showcase,
.category-title,
.products-scroll-container {
  all: unset;
}

/* --- Responsive --- */
@media (max-width: 479px) {
  header .top-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-bar {
    flex: 1 1 auto;
  }

  .menu {
    gap: 4px 10px;
  }

  .products-grid {
    gap: 10px;
  }
}

@media (min-width: 480px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  header .top-bar {
    flex-wrap: nowrap;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .container,
  header .top-bar {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

.badge-bounce {
  display: inline-block;
  animation: bounce 0.3s ease;
}

.footer-animation-container {
  width: 100%;
  max-width: 100%;
  height: 80px;
  overflow: hidden;
  position: relative;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.walking-scene {
  position: absolute;
  left: -200px;
  bottom: 10px;
  display: flex;
  align-items: center;
  animation: moveRight 15s linear infinite;
}

@keyframes moveRight {
  from { left: -200px; }
  to { left: 100%; }
}

.avatar-icon {
  font-size: 2.8rem !important;
  color: var(--text);
}

.cart-box {
  position: relative;
  margin-left: -5px;
}

.cart-icon {
  font-size: 2.2rem !important;
  color: var(--accent);
}

.cloth-icon {
  position: absolute;
  top: -18px;
  left: 6px;
  font-size: 1.4rem !important;
  color: var(--text);
  animation: dropCloth 2s infinite;
}

@keyframes dropCloth {
  0% { transform: translateY(-20px); opacity: 0; }
  20% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(5px); opacity: 0; }
}

.mande-footer {
  text-align: center;
  padding: 10px 16px 88px;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  overflow-wrap: anywhere;
}

/* Bouton WhatsApp flottant (bas droite) ; le bouton retour en haut est juste au-dessus */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 16px;
  z-index: 99;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.25s ease;
}

.whatsapp-float:hover {
  background: #1ebe57;
  color: #fff;
  transform: scale(1.06);
}

.whatsapp-float svg {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Modale aperçu image */
.image-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(6, 17, 12, 0.92);
  cursor: pointer;
}

.image-modal-content {
  margin: auto;
  display: block;
  width: min(80%, 700px);
  max-width: 100%;
  height: auto;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 24px;
  color: var(--text);
  font-size: clamp(2rem, 6vw, 2.5rem);
  font-weight: bold;
  transition: color 0.3s;
  line-height: 1;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal-btn:hover,
.close-modal-btn:focus {
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}

/* Bouton retour en haut */
#back-to-top-btn {
  position: fixed;
  bottom: 92px;
  right: 20px;
  z-index: 99;
  outline: none;
  background-color: var(--accent);
  border: none;
  color: #fff;
  cursor: pointer;
  width: 48px;
  height: 48px;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  margin: 0;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background-color 0.25s;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#back-to-top-btn:hover {
  background-color: var(--accent-hover);
  transform: scale(1.08) translateY(0);
}

#back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#cart-summary p {
  color: var(--text-muted);
}

#cart-summary strong {
  color: var(--accent-text);
  font-weight: 700;
}

#payment-result {
  overflow-wrap: anywhere;
  margin-top: 12px;
}

progress {
  accent-color: var(--accent);
  width: 100%;
  max-width: 100%;
}

@media (max-width: 360px) {
  .whatsapp-float {
    bottom: 16px;
    right: 12px;
  }

  #back-to-top-btn {
    bottom: 84px;
    right: 16px;
  }
}

/* Hero mobile : voile vertical, sujet de la photo visible */
@media (max-width: 767px) {
  .home-hero {
    background-image:
      linear-gradient(0deg, rgba(6, 17, 12, 0.93) 0%, rgba(6, 17, 12, 0.72) 55%, rgba(23, 23, 23, 0.5) 100%),
      url('hero-gg-hd.webp');
    background-position: 70% center;
    min-height: clamp(360px, 58dvh, 480px);
  }
}

/* --- Transition douce entre les pages (fondu + léger glissement) --- */
.container {
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.container.is-leaving {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

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

  .container.is-leaving {
    transform: none;
  }
}

/* --- Message de confirmation (toast) --- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translate(-50%, 20px);
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  text-align: center;
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* ===== REFONTE : noir / rouge / crème, angles droits ===== */
:root{--bg:#0A0A0A;--bg-alt:#0A0A0A;--bg-card:#131010;--bg-elevated:#1a1515;--bg-input:#0A0A0A;
--accent:#D4161C;--accent-hover:#E62B30;--accent-text:#FF4A47;--text:#FFF6DC;--text-muted:#B9AE98;
--border:rgba(255,246,220,.12);--radius:2px;--radius-sm:2px;--mono:'Space Mono',ui-monospace,Menlo,Consolas,monospace}
h1,h2,h3,.home-section-title,.logo,button,.hero-btn,.category-card-label{font-family:var(--mono)}
.box,.product,.category-card,.why-card,.notice,button,input,select,textarea,.add-to-cart-icon,.image-modal-content{border-radius:2px}
.home-section-title,h2{text-transform:uppercase;letter-spacing:.03em}
.announce-bar{background:var(--accent);padding:4px 40px;font-family:var(--mono)}
.announce-text{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase}

/* barre du haut : petite pilule crème flottante */
.site-chrome{display:contents}
header{position:sticky;top:0;height:0;padding:0;background:transparent;border:0;z-index:100}
.pill{width:min(calc(100% - 24px),720px);margin:12px auto 0;display:flex;align-items:center;gap:8px;padding:6px 8px 6px 14px;background:#FFF6DC;color:#111;border-radius:4px;box-shadow:0 6px 24px rgba(0,0,0,.45)}
.pill .logo{font-size:.95rem;color:#111;white-space:nowrap}
.pill .logo span{color:#C4161C}
.pill .menu{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:2px;margin:0 0 0 auto;padding:0;width:auto;max-width:none;background:none;border:0;box-shadow:none}
.pill .menu button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:4px;width:auto;min-width:34px;min-height:34px;margin:0;padding:0 7px;background:transparent;color:#111;border:0;box-shadow:none;border-radius:2px;font:700 .68rem var(--mono);letter-spacing:.05em}
.pill .menu button:hover{background:rgba(0,0,0,.08)}
.pill .menu button.active{color:#C4161C}
.pill .material-icons{font-size:1.2rem}
.nav-label{display:none}
@media(min-width:700px){.pill .menu .txt .material-icons{display:none}.pill .menu .nav-label{display:inline}}
.search-panel{display:none;position:relative;width:min(calc(100% - 24px),720px);margin:6px auto 0}
.search-panel.open{display:block}
.search-panel .material-icons{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-muted)}
.search-panel input{width:100%;margin:0;padding:12px 14px 12px 40px;background:#0A0A0A;color:var(--text);border:1px solid var(--text-muted)}
.container{padding-top:84px}

/* hero plein cadre, format presque carré */
.home-hero{position:relative;display:block;margin:-84px -16px 28px;padding:0;border:0;border-radius:0;box-shadow:none;min-height:0;aspect-ratio:4/5;max-height:92dvh;overflow:hidden;background:#0A0A0A url('hero-gg-hd.webp') 52% center/cover no-repeat}
.home-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,0,0,.6) 0%,rgba(10,0,0,0) 26%,rgba(10,0,0,0) 42%,rgba(8,0,0,.94) 100%)}
.home-hero>*{max-width:none}
.hero-copy{position:absolute;left:16px;right:16px;bottom:16px;display:flex;flex-direction:column;gap:10px;z-index:1}
.home-hero-eyebrow{font:700 .62rem var(--mono);letter-spacing:.14em;color:var(--text)}
.home-hero-title{font:700 clamp(1.5rem,7.2vw,3.1rem)/1.03 var(--mono);text-transform:uppercase;color:var(--text);max-width:16ch}
.hero-foot{display:flex;flex-direction:column;gap:10px}
.hero-trust{margin:0;font:700 .6rem/1.5 var(--mono);letter-spacing:.1em;color:var(--text-muted)}
.home-hero-actions{display:flex;flex-wrap:wrap;gap:8px}
.hero-btn{border-radius:2px;padding:13px 16px;font:700 .72rem var(--mono);letter-spacing:.05em;text-transform:uppercase;text-align:center}
.hero-btn-whatsapp{background:var(--accent);color:#fff;border:0}
.hero-btn-whatsapp:hover{background:var(--accent-hover)}
.hero-btn-ghost{background:transparent;color:var(--text);border:1px solid rgba(255,246,220,.5)}
.hero-btn-ghost:hover{background:rgba(255,246,220,.12)}
.hero-side{position:absolute;right:16px;top:84px;width:84px;display:flex;flex-direction:column;gap:6px;padding:6px;border:1px solid rgba(255,246,220,.25);background:rgba(10,0,0,.35);cursor:pointer;z-index:1}
.hero-side[hidden]{display:none}
.hero-side img{width:100%;aspect-ratio:1;object-fit:cover}
@media(min-width:768px){
  .home-hero{aspect-ratio:4/3;max-height:760px;margin-inline:0}
  .hero-copy{left:28px;right:28px;bottom:28px;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:24px}
  .hero-copy>*:not(.hero-foot):not(h1){display:none}
  .home-hero-eyebrow{display:block!important;position:absolute;bottom:calc(100% + 0px);left:0}
  .hero-foot{align-items:flex-end}
  .hero-side{right:28px;top:96px;width:120px}
}
.whatsapp-float{background:var(--accent);color:#fff}


/* Corrections GG STORE : hero plein écran et navigation sans blocage */
@media (min-width: 768px) {
  .container { padding-top: 0; }
  .home-hero {
    width: 100vw; height: 100vh; height: 100svh; min-height: 620px;
    max-height: none; aspect-ratio: auto;
    margin: 0 calc(50% - 50vw) 32px; background-position: center center;
  }
  .home-hero::before { background: linear-gradient(90deg, rgba(10,0,0,.76) 0%, rgba(10,0,0,.35) 52%, rgba(8,0,0,.12) 100%); }
  .hero-copy { top: 50%; bottom: auto; transform: translateY(-50%); left: clamp(32px, 8vw, 120px); right: clamp(32px, 8vw, 120px); align-items: flex-start; flex-direction: column; gap: 22px; }
  .home-hero-title { max-width: 18ch; font-size: clamp(2.5rem, 5vw, 5rem); }
  .hero-foot { align-items: flex-start; }
}
@media (min-width: 768px) and (max-height: 700px) { .home-hero { min-height: 100vh; } }
.profile-info-link { display: inline-flex; width: auto; align-items: center; gap: 8px; padding: 10px 14px; background: transparent; color: var(--text); border: 1px solid var(--border); cursor: pointer; }
.profile-info-link .material-icons { font-size: 1.15rem; }
.search-panel { z-index: 120; }
.search-panel.open { display: block; }

@media (min-width: 700px) { .pill .menu #search-toggle .nav-label, .pill .menu [data-page="cart-page"] .nav-label, .pill .menu [data-page="account-page"] .nav-label { display: inline; } }


/* Recherche : le panneau reste sous la navigation et réserve sa place dans la page. */
.search-panel { box-sizing: border-box; }
.search-panel.open { display: block; padding-bottom: 8px; }
.container.search-is-open { padding-top: 148px !important; }
@media (min-width: 768px) {
  .container.search-is-open { padding-top: 76px !important; }
}
@media (max-width: 767px) {
  .container.search-is-open { padding-top: 148px !important; }
}
/* Quatre produits lisibles dans la sélection du moment, sans modifier le catalogue. */
.home-selection-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 23%); overflow-x: auto; }
@media (max-width: 767px) {
  .home-selection-row { grid-auto-columns: minmax(68%, 1fr); }
}

/* Recherche : le panneau reste dans le flux normal, la page n'a pas besoin d'un décalage artificiel. */
.container.search-is-open { padding-top: 20px !important; }
@media (min-width: 768px) { .container.search-is-open { padding-top: 0 !important; } }
@media (max-width: 767px) { .container.search-is-open { padding-top: 20px !important; } }
.search-panel { position: relative; margin: 8px auto 12px; }
.search-panel.open { display: block; }

/* Profil premium : habillage ajouté sans remplacer les formulaires ni les identifiants existants. */
.profile-page { max-width: 1040px; margin-inline: auto; }
.profile-shell { position: relative; padding: clamp(18px, 3.5vw, 36px); border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: linear-gradient(145deg, rgba(36,36,36,.98), rgba(17,17,17,.98)); box-shadow: 0 24px 70px rgba(0,0,0,.3); overflow: hidden; }
.profile-shell::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg, var(--accent), rgba(163,28,27,0)); }
.profile-heading { position:relative; display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:220px; margin:-8px -8px 24px; padding:clamp(22px,4vw,38px); border:1px solid rgba(255,255,255,.12); border-radius:18px; overflow:hidden; background:linear-gradient(90deg,rgba(8,8,8,.94) 0%,rgba(8,8,8,.78) 48%,rgba(8,8,8,.28) 100%),url("hero-gg-hd.webp") center 43%/cover no-repeat; box-shadow:inset 0 0 55px rgba(0,0,0,.22); }
.profile-heading-copy, .profile-mark { position:relative; z-index:1; }
.profile-heading-copy { min-width:0; }
.profile-kicker { margin:0 0 8px; color:var(--accent-text); font:700 .68rem/1.4 var(--mono); letter-spacing:.16em; }
.profile-heading h2 { margin:0; font-size:clamp(2rem,5vw,3.25rem); letter-spacing:-.055em; }
.profile-heading h2 span { color:var(--accent-text); }
.profile-subtitle { margin:8px 0 0; color:#f0ece7; max-width:54ch; text-shadow:0 2px 12px rgba(0,0,0,.8); }
.profile-mark { display:grid; place-items:center; flex:0 0 clamp(58px,8vw,90px); width:clamp(58px,8vw,90px); aspect-ratio:1; border-radius:50%; border:1px solid rgba(255,255,255,.14); background:radial-gradient(circle at 30% 25%, rgba(163,28,27,.35), rgba(0,0,0,.25)); }
.profile-mark .material-icons { font-size:clamp(2.1rem,4vw,3.2rem); color:#f4eee7; }
.profile-info-link { display:flex; width:100%; justify-content:flex-start; align-items:center; gap:10px; min-height:52px; margin:0 0 18px; padding:14px 16px; border-radius:12px; background:rgba(163,28,27,.09); border:1px solid rgba(163,28,27,.35); color:var(--text); text-align:left; }
.profile-info-link .profile-arrow { margin-left:auto; }
.profile-panel { padding:clamp(16px,2.6vw,26px); border:1px solid var(--border); border-radius:16px; background:rgba(255,255,255,.025); }
.profile-panel-heading { display:flex; align-items:flex-start; gap:14px; margin-bottom:22px; }
.profile-panel-icon { display:grid; place-items:center; width:44px; height:44px; flex:0 0 44px; border-radius:12px; background:rgba(163,28,27,.16); color:#f08a86; font-size:1.4rem; }
.profile-panel-heading h3 { margin:0 0 4px; font-size:1.1rem; }
.profile-panel-heading p { margin:0; color:var(--text-muted); font-size:.92rem; }
#login-form { display:grid; grid-template-columns:1fr; gap:9px; }
#login-form label { margin-top:5px; color:#e9e4dc; font-size:.88rem; }
#login-form input { min-height:48px; border-radius:10px; }
#login-form button { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px; margin-top:10px; border-radius:10px; }
.profile-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.profile-shortcut { display:flex; align-items:center; gap:12px; min-width:0; min-height:92px; padding:15px; text-align:left; color:var(--text); background:#191919; border:1px solid var(--border); border-radius:13px; transition:border-color .18s ease, transform .18s ease, background .18s ease; }
.profile-shortcut:hover { border-color:rgba(163,28,27,.65); background:#202020; transform:translateY(-2px); }
.profile-shortcut > .material-icons:first-child { color:#e87874; font-size:1.55rem; }
.profile-shortcut span:nth-child(2) { display:flex; flex:1; flex-direction:column; gap:5px; min-width:0; }
.profile-shortcut strong { font-size:.88rem; }
.profile-shortcut small { color:var(--text-muted); font-size:.75rem; line-height:1.4; }
.profile-shortcut .shortcut-arrow { color:var(--text-muted); font-size:1.2rem; }
.profile-account-actions { display:flex; justify-content:flex-end; margin-top:18px; }
#logout-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; width:auto; min-height:44px; padding:10px 15px; border:1px solid rgba(255,255,255,.13); border-radius:10px; background:transparent; color:var(--text); }
#publish-area, #buyer-area { padding-top:18px; border-top:1px solid var(--border); }
@media (max-width:760px) { .profile-shortcuts { grid-template-columns:1fr; } .profile-shortcut { min-height:76px; } .profile-heading { align-items:flex-start; min-height:190px; margin:-4px -4px 20px; padding:22px 18px; background-position:58% center; } .profile-mark { margin-top:8px; } }
@media (max-width:420px) { .profile-shell { padding:16px 12px; border-radius:16px; } .profile-heading { gap:10px; min-height:170px; padding:18px 14px; background-position:60% center; } .profile-subtitle { font-size:.9rem; } .profile-mark { flex-basis:52px; width:52px; } }

/* Transition de page : le hero sert de fond temporaire, avec un voile sombre doux. */
body::after { content:""; position:fixed; inset:0; z-index:90; pointer-events:none; opacity:0; background:linear-gradient(rgba(5,5,5,.76),rgba(5,5,5,.88)),url('hero-gg-hd.webp') center/cover no-repeat; transition:opacity .28s ease; }
body.page-transitioning::after { opacity:1; }
.site-chrome { z-index:100; }
@media (prefers-reduced-motion: reduce) { body::after { transition:none; } .profile-shortcut { transition:none; } }

/* FIX FINAL — la navigation et la recherche occupent leur vraie place dans le document.
   La barre de recherche ouverte agrandit le bandeau au lieu de recouvrir le contenu. */
.site-chrome {
  display: block !important;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
}
header {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 0 8px !important;
  margin: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  z-index: 100;
}
.pill {
  position: relative;
  z-index: 2;
  margin: 12px auto 0;
}
.search-panel {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  width: min(calc(100% - 24px), 720px);
  margin: 8px auto 4px !important;
  box-sizing: border-box;
}
.search-panel[hidden] { display: none !important; }
.search-panel.open { display: block !important; }
.search-panel input {
  display: block;
  min-height: 46px;
  box-sizing: border-box;
}
/* Aucun padding artificiel : l'espace est réservé naturellement par le panneau ouvert. */
.container,
.container.search-is-open {
  padding-top: 0 !important;
}
.home-hero {
  margin-top: 0 !important;
}
@media (max-width: 699px) {
  .site-chrome { position: relative; }
  .pill {
    width: calc(100% - 16px);
    gap: 4px;
    padding: 6px;
  }
  .pill .logo { font-size: .85rem; }
  .pill .menu { gap: 0; }
  .pill .menu button { min-width: 32px; padding-inline: 5px; }
  .search-panel { width: calc(100% - 24px); }
}
@media (min-width: 768px) {
  .home-hero {
    margin: 0 calc(50% - 50vw) 32px !important;
  }
}


/* GG STORE — navigation fluide : animation GPU, sans réduction de hauteur ni reflow. */
.site-chrome {
  display: block !important;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
}

.site-chrome > header {
  position: relative !important;
  top: auto !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 360ms cubic-bezier(.22, 1, .36, 1), opacity 260ms ease;
  will-change: transform;
  backface-visibility: hidden;
}

.site-chrome > header.nav-hidden {
  transform: translate3d(0, -105%, 0);
  opacity: 0;
  pointer-events: none;
}

.pill {
  padding-left: 18px;
}
.pill .logo {
  font-size: 1.05rem !important;
  margin-left: 3px;
}

@media (max-width: 699px) {
  .site-chrome { position: sticky !important; }
  .site-chrome > header { max-height: none !important; }
  .pill { padding-left: 10px !important; }
  .pill .logo { font-size: .98rem !important; margin-left: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-chrome > header { transition: none !important; will-change: auto; }
}


/* Espace vendeur : interface courte, sans tableau de bord. */
.seller-mode .profile-shell { background: linear-gradient(115deg, rgba(8,8,8,.88), rgba(18,8,8,.78)), url('hero-gg-hd.webp') center 42% / cover no-repeat; }
.seller-shortcuts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 0 18px; }
.seller-shortcuts .profile-shortcut { min-height:82px; background:rgba(12,12,12,.78); backdrop-filter:blur(8px); }
.seller-publish-area { padding:20px; border:1px solid rgba(255,255,255,.13); border-radius:15px; background:rgba(10,10,10,.78); backdrop-filter:blur(8px); }
.seller-area-heading { margin-bottom:18px; }
.seller-area-heading h3 { margin:0 0 6px; font-size:1.45rem; }
.seller-area-heading p:last-child { margin:0; max-width:58ch; }
.seller-form-title { padding-top:16px; border-top:1px solid var(--border); }
.seller-mode #publish-area form { display:grid; gap:8px; }
.seller-mode #publish-area input, .seller-mode #publish-area select, .seller-mode #publish-area textarea { border-radius:9px; }
@media (max-width:600px) { .seller-shortcuts { grid-template-columns:1fr; } .seller-publish-area { padding:15px 12px; } }


/* Ajustements demandés : espace vendeur direct et épuré. */
.profile-info-icon { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; padding:0; border:1px solid rgba(255,255,255,.18); border-radius:50%; background:rgba(255,255,255,.04); color:var(--text); cursor:pointer; }
.profile-info-icon .material-icons { font-size:1.25rem; }
.profile-bottom-actions { justify-content:space-between; align-items:center; margin-top:24px; padding-top:16px; border-top:1px solid var(--border); }
.seller-mode .profile-info-icon { margin-right:auto; }
.seller-mode .profile-heading { min-height:180px; }
.seller-mode #publish-area { margin-top:0 !important; padding-top:0; border-top:0; }
.seller-mode .seller-publish-area { margin-top:0 !important; }
.seller-mode .seller-form-title { margin:0 0 16px; padding:0; border:0; font-size:1.45rem; }
.seller-mode .profile-bottom-actions { margin-top:24px; }

/* GG STORE — harmonisation des espaces client et vendeur.
   Correctifs visuels uniquement : les identifiants et le fonctionnement restent inchangés. */
.profile-page,
.profile-page * {
  box-sizing: border-box;
}

.profile-page {
  width: min(100% - 28px, 1040px);
  min-width: 0;
  margin: clamp(18px, 3vw, 32px) auto 40px;
}

.profile-shell {
  min-width: 0;
  padding: clamp(14px, 2.5vw, 28px);
  border-radius: clamp(14px, 2vw, 22px);
}

.profile-heading {
  min-width: 0;
  min-height: clamp(150px, 19vw, 190px);
  margin: 0 0 clamp(16px, 2vw, 22px);
  padding: clamp(18px, 3vw, 30px);
  gap: clamp(12px, 2vw, 20px);
}

.profile-heading-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.profile-heading h2 {
  max-width: 100%;
  font-size: clamp(1.65rem, 4.4vw, 3.05rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.profile-subtitle {
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.profile-mark {
  flex-shrink: 0;
}

.profile-panel {
  min-width: 0;
  padding: clamp(14px, 2.4vw, 24px);
}

.profile-panel-heading {
  min-width: 0;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.profile-panel-heading > div {
  flex: 1 1 auto;
  min-width: 0;
}

.profile-panel-heading h3,
.profile-panel-heading p,
.profile-shortcut strong,
.profile-shortcut small {
  overflow-wrap: anywhere;
  word-break: normal;
}

.profile-shortcuts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(8px, 1.4vw, 12px);
  margin-bottom: 18px;
}

.profile-shortcut {
  width: 100%;
  min-width: 0;
  height: 100%;
  align-items: flex-start;
  padding: clamp(11px, 1.5vw, 15px);
  gap: 9px;
}

.profile-shortcut > span:nth-child(2) {
  flex: 1 1 0;
  min-width: 0;
}

.profile-shortcut strong {
  line-height: 1.35;
}

.profile-shortcut small {
  line-height: 1.45;
}

/* Formulaire vendeur : champs bien espacés, largeur maîtrisée et aucun débordement. */
.seller-mode .profile-heading {
  min-height: clamp(150px, 18vw, 180px);
}

.seller-mode .seller-publish-area {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(14px, 2.2vw, 22px);
  border-radius: 14px;
}

.seller-mode .seller-form-title {
  margin: 0 0 14px;
  line-height: 1.3;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  overflow-wrap: anywhere;
}

.seller-mode #publish-area form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.seller-mode #publish-area input,
.seller-mode #publish-area select,
.seller-mode #publish-area textarea,
.seller-mode #publish-area button {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}

.seller-mode #publish-area input,
.seller-mode #publish-area select {
  min-height: 44px;
}

.seller-mode #publish-area textarea {
  min-height: 82px;
  resize: vertical;
}

.seller-mode #publish-area label {
  margin: 3px 0 -3px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.seller-mode #upload-progress-container {
  min-width: 0;
  margin: 0 !important;
}

.seller-mode #upload-progress {
  display: block;
  max-width: 100%;
}

.profile-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
  margin-top: clamp(18px, 2.5vw, 24px);
  padding-top: 14px;
}

.profile-bottom-actions button {
  max-width: 100%;
}

#logout-btn {
  white-space: normal;
  line-height: 1.3;
}

/* L'espace client et l'espace vendeur partagent les mêmes règles de structure. */
#buyer-area {
  min-width: 0;
  margin-top: 18px !important;
  padding-top: 18px;
  line-height: 1.55;
}

#buyer-area h3 {
  margin: 0 0 8px;
  line-height: 1.3;
}

#buyer-area p {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .profile-page {
    width: calc(100% - 24px);
    margin-top: 18px;
  }

  .profile-heading {
    align-items: center;
    min-height: 150px;
    margin: 0 0 16px;
    padding: 18px 16px;
  }

  .profile-heading h2 {
    font-size: clamp(1.55rem, 6vw, 2.25rem);
  }

  .profile-mark {
    flex-basis: 54px;
    width: 54px;
  }

  .profile-mark .material-icons {
    font-size: 2rem;
  }

  .profile-shortcuts {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-shortcut {
    min-height: 70px;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .profile-page {
    width: calc(100% - 16px);
    margin: 12px auto 24px;
  }

  .profile-shell {
    padding: 10px;
    border-radius: 14px;
  }

  .profile-heading {
    gap: 10px;
    min-height: 136px;
    padding: 15px 12px;
    background-position: 58% center;
  }

  .profile-kicker {
    font-size: .6rem;
    letter-spacing: .1em;
    overflow-wrap: anywhere;
  }

  .profile-heading h2 {
    font-size: clamp(1.35rem, 6.4vw, 1.8rem);
    letter-spacing: -.035em;
  }

  .profile-subtitle {
    font-size: .84rem;
    line-height: 1.45;
  }

  .profile-mark {
    flex-basis: 42px;
    width: 42px;
  }

  .profile-mark .material-icons {
    font-size: 1.65rem;
  }

  .profile-panel {
    padding: 12px;
  }

  .profile-panel-heading {
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 14px;
  }

  .profile-panel-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 1.15rem;
  }

  .seller-mode .seller-publish-area {
    padding: 12px 10px;
  }

  .seller-mode .profile-bottom-actions {
    gap: 10px;
  }

  #logout-btn {
    padding: 9px 11px;
    font-size: .85rem;
  }
}

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

/* Correctif : titre « Publier un article » collé au bord du cadre.
   La règle « .seller-mode #publish-area { padding-top:0 } » écrasait le padding du cadre. */
.seller-mode #publish-area {
  padding: clamp(18px, 2.6vw, 26px) clamp(14px, 2.2vw, 22px) clamp(14px, 2.2vw, 22px);
}
.seller-mode #publish-area .seller-form-title,
.seller-mode #publish-area > h3 {
  margin: 0 0 16px;
  padding: 0;
  line-height: 1.35;
}
@media (max-width: 480px) {
  .seller-mode #publish-area {
    padding: 18px 12px 14px;
  }
}

/* Hero sur toute la page profil : avant connexion, côté client et côté vendeur (même habillage). */
.profile-shell {
  background:
    linear-gradient(115deg, rgba(8, 8, 8, .88), rgba(18, 8, 8, .78)),
    url('hero-gg-hd.webp') center 42% / cover no-repeat;
}
.profile-panel {
  background: rgba(10, 10, 10, .72);
  border-color: rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.profile-shortcuts .profile-shortcut {
  background: rgba(12, 12, 12, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.profile-info-link {
  background: rgba(10, 10, 10, .6);
}

/* Sélection du moment : défilement horizontal (de droite à gauche) aussi sur ordinateur.
   4 cartes visibles + un petit aperçu de la suivante ; flèches pour la souris ; mobile inchangé. */
.sel-nav { display: none; }
@media (min-width: 768px) {
  #home-selection { position: relative; }
  .home-selection-row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 4.25);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 246, 220, .3) transparent;
  }
  .home-selection-row > .product { scroll-snap-align: start; }
  .sel-nav { position: absolute; top: -2px; right: 0; display: flex; gap: 8px; }
  .sel-nav.is-inactive { display: none; }
}
.sel-nav-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; min-height: 40px; margin: 0; padding: 0; overflow: hidden; flex: 0 0 40px; background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: 2px; }
.sel-nav-btn:hover:not(:disabled), .sel-nav-btn:focus-visible { background: var(--accent); border-color: var(--accent); color: #fff; }
.sel-nav-btn:disabled { opacity: .35; }
.sel-nav-btn .material-icons { font-size: 1.4rem; }

/* Arrière-plan : le hero couvre toute la page Accueil, Boutique et Panier, comme dans l'espace client. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background:
    linear-gradient(115deg, rgba(8, 8, 8, .88), rgba(18, 8, 8, .78)),
    url('hero-gg-hd.webp') center 42% / cover no-repeat;
  transition: opacity .3s ease;
}
body.hero-backdrop::before { opacity: 1; }
body.hero-backdrop .category-card,
body.hero-backdrop .why-card {
  background: rgba(10, 10, 10, .68);
  border-color: rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
body.hero-backdrop .product {
  background: rgba(22, 17, 17, .82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
body.hero-backdrop #catalog-page .box,
body.hero-backdrop #cart-page .box {
  background: rgba(10, 10, 10, .72);
  border-color: rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@media (prefers-reduced-motion: reduce) { body::before { transition: none; } }

/* ===== Pied de page de l'accueil (infos + réseaux sociaux) ===== */
.home-footer { margin-top: clamp(28px, 5vw, 48px); padding: clamp(24px, 4vw, 40px) 0 8px; border-top: 1px solid var(--border); min-width: 0; }
.home-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-width: 0; }
.home-footer .hf-col { min-width: 0; overflow-wrap: anywhere; }
.home-footer .logo { font-size: 1.35rem; margin-bottom: 10px; }
.home-footer p { margin: 0 0 14px; font-size: .9rem; line-height: 1.55; }
.home-footer h3 { margin: 0 0 14px; font-size: .72rem; font-family: var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.hf-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hf-links li { font-size: .9rem; color: var(--text-muted); }
.hf-links a { color: var(--text-muted); text-decoration: none; transition: color .2s ease; }
.hf-links a:hover, .hf-links a:focus-visible { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.hf-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hf-social-link { display: inline-flex; align-items: center; justify-content: center; width: var(--touch-min); height: var(--touch-min); border: 1px solid var(--border); border-radius: 2px; color: var(--text); background: transparent; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.hf-social-link[hidden] { display: none; }
.hf-social-link:hover, .hf-social-link:focus-visible { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.hf-contact-btn { width: auto; max-width: 100%; }
.hf-copy { margin: 28px 0 0 !important; padding-top: 16px; border-top: 1px solid var(--border); text-align: center; font-size: .75rem !important; letter-spacing: .08em; color: var(--text-muted); }
@media (min-width: 640px) { .home-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .home-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } }
@media (prefers-reduced-motion: reduce) { .hf-social-link { transition: none; } }

/* Panier : le formulaire de commande laisse aussi transparaître le hero. */
body.hero-backdrop #cart-page .pay-info {
  background: rgba(10, 10, 10, .6);
  border-color: rgba(255, 255, 255, .13);
}

/* Bas de page : la barre noire « Davitrade » est supprimée (le nom reste en discret, sans fond ni bordure). */
.mande-footer {
  background: transparent;
  border-top: 0;
  padding: 4px 16px 12px;
}


/* ===== Profil : connexion / inscription, identité, informations client ===== */
.profile-page [hidden] { display: none !important; }

.auth-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
  background: rgba(0, 0, 0, .35);
}
.auth-tab {
  flex: 1 1 0;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.auth-tab:not(.active):hover { color: var(--text); }
.auth-tab.active { background: var(--accent); color: #fff; }

.auth-message {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .9rem;
  line-height: 1.4;
}
.auth-message:empty { display: none; }
.auth-message.is-error { color: var(--danger); background: rgba(232, 93, 93, .1); border: 1px solid rgba(232, 93, 93, .35); }
.auth-message.is-success { color: var(--success); background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .35); }

#register-form { display: grid; grid-template-columns: 1fr; gap: 9px; }
#register-form label { margin-top: 5px; color: #e9e4dc; font-size: .88rem; }
#register-form input, #register-form textarea { min-height: 48px; border-radius: 10px; }
#register-form button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; margin-top: 10px; border-radius: 10px; }

.profile-identity { display: flex; align-items: center; gap: 14px; min-width: 0; margin-bottom: 18px; }
.profile-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(163, 28, 27, .5);
  background: rgba(163, 28, 27, .22);
  color: #f4eee7;
  font: 700 1.3rem/1 var(--mono);
}
.profile-identity-copy { flex: 1 1 auto; min-width: 0; }
.profile-identity-copy h3 { margin: 0 0 4px; font-size: 1.1rem; overflow-wrap: anywhere; }
.profile-identity-copy p { margin: 0; color: var(--text-muted); font-size: .92rem; }
.profile-role-badge {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font: 700 .68rem/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.profile-role-badge.is-seller { border-color: rgba(163, 28, 27, .6); background: rgba(163, 28, 27, .2); }

#buyer-area.profile-details {
  margin: 0 0 18px !important;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 13px;
  background: rgba(12, 12, 12, .6);
}
#buyer-area.profile-details h3 { margin: 0 0 12px; font-size: .95rem; }
.profile-details-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin: 0; }
.profile-details-list > div { min-width: 0; }
.profile-details-list .is-wide { grid-column: 1 / -1; }
.profile-details-list dt { margin: 0 0 3px; color: var(--text-muted); font: 700 .66rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.profile-details-list dd { margin: 0; line-height: 1.45; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .profile-details-list { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .profile-identity { flex-wrap: wrap; }
  .profile-role-badge { order: 3; }
}
@media (prefers-reduced-motion: reduce) { .auth-tab { transition: none; } }

/* Lien « Mot de passe oublié ? » */
#login-form .auth-link {
  align-self: flex-start;
  justify-content: flex-start;
  width: auto;
  min-height: 0;
  margin: 2px 0 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--accent-text);
  font-size: .88rem;
  text-decoration: underline;
  cursor: pointer;
}

/* Vue vendeur : une ligne par commande (client, n°, date + bouton facture) */
.order-row-info { display: flex; flex-direction: column; gap: 4px; flex: 1 1 200px; min-width: 0; }
.order-row-info strong { overflow-wrap: anywhere; }

.order-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.order-delivered { color: var(--success); font-weight: 700; white-space: nowrap; }
.order-row .order-deliver-btn { background: transparent; border: 1px solid var(--success); color: var(--success); }


/* ===== THÈME HÉROS GG STORE : noir / blanc / rouge (la photo hero-gg-hd.webp est le fil conducteur) ===== */
:root{--bg:#050505;--bg-alt:#050505;--bg-card:#0b0b0c;--bg-elevated:#141416;--bg-input:#0b0b0c;
--accent:#C1121F;--accent-hover:#E3202F;--accent-text:#FF4D58;--text:#F6F6F8;--text-muted:#A8A8B0;--border:rgba(255,255,255,.14)}
html{background:#000}
.pill{background:#fff;color:#000}
.pill .logo,.pill .menu button{color:#000}
.pill .logo span{color:#C1121F}

/* le héros est en fond sur TOUTES les pages (profil compris) */
body::before{opacity:1!important;
  background:linear-gradient(180deg,rgba(0,0,0,.84),rgba(0,0,0,.66) 40%,rgba(0,0,0,.9)),url('hero-gg-hd.webp') 64% center/cover no-repeat!important}
.profile-shell,.seller-mode .profile-shell{background:rgba(8,8,9,.72)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}

/* héros de l'accueil : la photo (avec le logo) reste bien visible */
body .home-hero::before{background:linear-gradient(180deg,rgba(0,0,0,.4) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,0) 55%,rgba(0,0,0,.88) 100%)!important}
body .home-hero{background-position:64% center}
body .home-hero-title{font-size:clamp(1.1rem,5.2vw,1.6rem);max-width:20ch}
@media(min-width:768px){
  body .hero-copy{top:auto;bottom:clamp(24px,6vh,64px);transform:none}
  body .home-hero-title{font-size:clamp(1.4rem,2.6vw,2.4rem);max-width:24ch}
}
/* téléphone : on zoome sur le personnage et sur le logo */
@media(max-width:767px){
  body::before{background-position:76% center!important}
  body .home-hero{background-size:auto 118%;background-position:72% 30%;background-repeat:no-repeat}
}

/* bloc noir / blanc avec le personnage qui flotte */
.home-drop{display:grid;grid-template-columns:1fr 1fr;margin:0 0 clamp(20px,4vw,36px);overflow:hidden;border:1px solid var(--border)}
.home-drop-text{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:clamp(22px,5vw,56px);background:#000}
.home-drop-text h2{margin:0;font-family:var(--mono);font-size:clamp(1.8rem,4vw,3rem);line-height:1.05;text-transform:uppercase}
.home-drop-text p{margin:0;color:#c9c9d0}
.home-drop-text .home-drop-kicker{color:#E3202F;font:700 .72rem var(--mono);letter-spacing:.22em}
.home-drop-visual{position:relative;display:flex;align-items:center;justify-content:center;padding:24px;background:#fff}
.home-drop-visual img{display:block;width:min(100%,420px);height:auto;mix-blend-mode:multiply;animation:gg-float 4.5s ease-in-out infinite}
.home-drop-visual::after{content:"";position:absolute;left:30%;right:30%;bottom:7%;height:16px;border-radius:50%;background:rgba(0,0,0,.22);filter:blur(9px);animation:gg-shadow 4.5s ease-in-out infinite}
@keyframes gg-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-16px) rotate(2deg)}}
@keyframes gg-shadow{0%,100%{transform:scaleX(1);opacity:.9}50%{transform:scaleX(.7);opacity:.5}}
@media(max-width:767px){.home-drop{grid-template-columns:1fr}.home-drop-visual img{width:min(100%,320px)}}
@media(prefers-reduced-motion:reduce){.home-drop-visual img,.home-drop-visual::after{animation:none}}


/* ===== Héros en fond FLOU sur toutes les pages (et sous l'accueil) ===== */
/* Cause du fond invisible : le fond opaque du <body> recouvrait l'image fixe. */
body{background:transparent!important}
body::before{
  opacity:1!important; inset:-24px; filter:blur(7px);
  background:linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,.34) 45%,rgba(0,0,0,.64)),url('hero-gg-hd.webp') 64% center/cover no-repeat!important;
}
@media(max-width:767px){body::before{background-position:76% center!important}}

/* les blocs deviennent du verre fumé : le fond reste visible derrière */
body .box,body .product,body .category-card,body .why-card,body .notice,body .profile-shortcut,body .home-footer,body .pay-info{
  background:rgba(8,8,9,.5)!important;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
body .profile-shell,body.seller-mode .profile-shell{background:rgba(8,8,9,.42)!important}
body .home-section-title,body h2{text-shadow:0 2px 14px rgba(0,0,0,.75)}


/* ===== Ajustements : fond stable sur téléphone, blocs retirés, textes lisibles, personnage détouré ===== */
/* Fond flou pré-calculé (hero-flou-hd.webp) : plus de filtre CSS coûteux, et hauteur « grand écran » fixe
   pour que la barre d'adresse du téléphone ne le fasse plus bouger au défilement. */
body::before{
  filter:none!important; inset:0!important; height:100vh!important;
  transform:translateZ(0); backface-visibility:hidden; will-change:transform;
  background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.44) 45%,rgba(0,0,0,.72)),url('hero-flou-hd.webp') 64% center/cover no-repeat!important;
}
@supports (height:100lvh){body::before{height:100lvh!important}}
@media(max-width:767px){body::before{background-position:76% center!important}}

/* « Nos engagements », contact, navigation et bloc d'intro : on garde seulement les textes */
body .why-card,body .home-footer,body .home-footer-grid,body .hf-col,
body .home-drop,body .home-drop-text,body .home-drop-visual{
  background:none!important; border:0!important; box-shadow:none!important;
  -webkit-backdrop-filter:none!important; backdrop-filter:none!important;
}
body .home-footer{border-top:1px solid rgba(255,255,255,.18)!important}

/* textes bien lisibles sur le fond */
body .home-section,body .home-footer,body .home-drop-text,body .why-card,body .hf-col{
  color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.9),0 0 18px rgba(0,0,0,.75);
}
body .home-section p,body .home-footer p,body .home-footer a:not(.hero-btn),body .why-card p,body .home-drop-text p{color:#ececf1}
body .home-section-title,body .home-drop-text h2{color:#fff}
body .home-hero-title,body .home-hero-eyebrow,body .hero-trust{
  color:#fff!important; text-shadow:0 2px 4px rgba(0,0,0,.95),0 0 26px rgba(0,0,0,.85);
}
body .home-hero::before{background:linear-gradient(180deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,0) 24%,rgba(0,0,0,0) 38%,rgba(0,0,0,.92) 100%)!important}
body .home-hero-eyebrow,body .hero-trust{font-weight:700;letter-spacing:.12em}

/* personnage détouré : il saute et flotte directement sur le fond */
body .home-drop-visual{padding:8px 8px 36px}
body .home-drop-visual img{
  mix-blend-mode:normal!important; width:min(100%,460px);
  filter:drop-shadow(0 22px 26px rgba(0,0,0,.55));
  animation:gg-jump 3.6s cubic-bezier(.45,0,.55,1) infinite;
}
body .home-drop-visual::after{bottom:4%;left:32%;right:32%;background:rgba(0,0,0,.5);animation:gg-jump-shadow 3.6s cubic-bezier(.45,0,.55,1) infinite}
@keyframes gg-jump{0%,100%{transform:translateY(6px) rotate(-3deg)}45%{transform:translateY(-30px) rotate(3deg)}}
@keyframes gg-jump-shadow{0%,100%{transform:scaleX(1);opacity:.65}45%{transform:scaleX(.6);opacity:.3}}


/* ===== Titre du héros : plus grand, fin et élégant (pas en gras) ===== */
.hero-trust{display:none!important}
body .home-hero-title{
  font-family:'Outfit','Segoe UI',system-ui,sans-serif!important;
  font-weight:400!important; text-transform:none!important;
  font-size:clamp(2rem,8.6vw,2.8rem)!important; line-height:1.06; letter-spacing:-.01em;
  max-width:16ch;
}
@media(min-width:768px){
  body .home-hero-title{font-size:clamp(3rem,5.6vw,5.4rem)!important;max-width:17ch}
}
