/* Norys.shop — style épuré inspiré d'une vitrine luxe sneaker */

:root {
  --gg-black: #000000;
  --gg-white: #ffffff;
  --gg-gold: #c9a962;
  --gg-beige: #f2f0ee;
  --gg-gray-100: #f7f7f7;
  --gg-line: #dedede;
  --gg-line-soft: #ececec;
  --gg-muted: #404040;
  --gg-font: "Inter", system-ui, -apple-system, sans-serif;
  --gg-wrap: min(1440px, 100% - 32px);
  --gg-wrap-pad: clamp(16px, 4vw, 48px);
  --gg-stagger: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Bandeau + barre de nav (une ligne) : hauteur approx. pour hero plein écran */
  --gg-hero-top-offset: 108px;
}

@media (max-width: 900px) {
  :root {
    /* Header mobile plus bas (une seule ligne) : garde une bonne base si le JS ne mesure pas */
    --gg-hero-top-offset: 132px;
  }
}

@media (max-width: 480px) {
  :root {
    --gg-hero-top-offset: 118px;
  }

  .gg-strip {
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 1.35;
  }

  html {
    overflow-x: clip;
  }
}

@media (max-width: 768px) {
  .gg-icon-btn,
  .gg-burger {
    min-width: 44px;
    min-height: 44px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--gg-font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--gg-black);
  background: var(--gg-white);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gg-wrap {
  width: var(--gg-wrap);
  margin-inline: auto;
  padding-inline: max(var(--gg-wrap-pad), env(safe-area-inset-left, 0px))
    max(var(--gg-wrap-pad), env(safe-area-inset-right, 0px));
}

/* ——— bandeau noir ——— */
.gg-strip {
  background: var(--gg-black);
  color: var(--gg-white);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 11px max(16px, env(safe-area-inset-right)) 11px max(16px, env(safe-area-inset-left));
  padding-top: max(11px, env(safe-area-inset-top));
}

/* ——— header ——— */
.gg-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--gg-white);
  border-bottom: 1px solid var(--gg-line-soft);
  transition: box-shadow 0.25s var(--gg-stagger);
}

.gg-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

/* ——— défilé logos marques ——— */
.gg-logo-marquee {
  overflow: hidden;
  background: var(--gg-white);
  border-top: 1px solid var(--gg-black);
  border-bottom: 1px solid var(--gg-black);
}

.gg-logo-marquee__track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  will-change: transform;
  animation: gg-logo-marquee-scroll 22s linear infinite;
}

.gg-logo-marquee__list {
  display: flex;
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  margin: 0;
  padding: 18px clamp(32px, 6vw, 72px);
  list-style: none;
  flex-shrink: 0;
}

.gg-logo-marquee__list li {
  flex-shrink: 0;
}

.gg-logo-marquee__list img {
  display: block;
  height: clamp(40px, 5.5vw, 56px);
  width: auto;
  max-width: min(220px, 28vw);
  min-width: 100px;
  object-fit: contain;
  object-position: center;
  filter: brightness(0);
}

/* Ruban = 2 listes identiques : translate 0 → -50% (défilement continu) */
@keyframes gg-logo-marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Moins d’animations OS : très lent au lieu d’un bandeau figé */
@media (prefers-reduced-motion: reduce) {
  .gg-logo-marquee__track {
    animation-duration: 75s;
  }
}

.gg-header__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 20px);
  min-height: 64px;
}

.gg-nav {
  display: none;
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
  order: 2;
  min-width: 0;
}

.gg-search {
  order: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 280px;
  max-width: 300px;
  min-width: 160px;
  padding: 8px 18px;
  background: #f6f6f6;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  box-shadow: none;
  cursor: text;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gg-search svg {
  width: 17px;
  height: 17px;
  stroke: var(--gg-black);
  stroke-width: 1.35;
  fill: none;
  flex-shrink: 0;
  opacity: 0.45;
}

.gg-search:focus-within {
  border-color: rgba(0, 0, 0, 0.12);
  background: var(--gg-white);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.gg-search:focus-within svg {
  opacity: 0.7;
}

.gg-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gg-black);
  outline: none;
}

.gg-search input::placeholder {
  color: #9a9a9a;
  font-weight: 400;
}

.gg-tools {
  order: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .gg-nav {
    display: flex;
  }
}

@media (max-width: 1023px) {
  .gg-header {
    padding-bottom: 12px;
    /* Bandeau blanc sous la barre : le hero ne commence pas « sous » la search comme sur l’image */
    border-bottom: 1px solid var(--gg-line);
  }

  .gg-header.is-scrolled {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  }

  .gg-header__row {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    row-gap: 0;
  }

  .gg-header .gg-logo {
    flex: 0 1 auto;
    min-width: 0;
    font-size: clamp(10px, 2.9vw, 13px);
    letter-spacing: 0.1em;
    padding-right: 2px;
  }

  /* Pas de recherche en-tête sur mobile (non fonctionnelle / UX fragile) */
  .gg-header .gg-search {
    display: none !important;
  }

  .gg-tools {
    order: 3;
    margin-left: auto;
    flex-shrink: 0;
    gap: 0;
  }

  .gg-header .gg-icon-btn,
  .gg-header .gg-burger {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .gg-header .gg-icon-btn svg {
    width: 19px;
    height: 19px;
  }

  .gg-hero.gg-hero--static {
    margin-top: 2px;
  }
}

@media (max-width: 380px) {
  .gg-header__row {
    gap: 6px;
  }

  .gg-header .gg-icon-btn,
  .gg-header .gg-burger {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
}

.gg-logo {
  order: 1;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--gg-black);
}

.gg-logo:hover {
  opacity: 0.72;
}

.gg-nav {
  display: none;
  flex: 1;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.gg-nav__trigger {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  color: var(--gg-black);
  font-family: inherit;
}

.gg-nav__trigger:hover,
.gg-nav__trigger.is-active {
  border-bottom-color: var(--gg-black);
}

.gg-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  color: var(--gg-black);
}

.gg-nav a[aria-current="page"] {
  border-bottom-color: var(--gg-black);
}

@media (min-width: 1024px) {
  .gg-nav {
    display: flex;
  }
}

.gg-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gg-icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 0;
}

.gg-icon-btn:hover {
  opacity: 0.55;
}

.gg-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--gg-black);
  stroke-width: 1.65;
  fill: none;
}

.gg-burger {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}

@media (min-width: 1024px) {
  .gg-burger {
    display: none;
  }
}

.gg-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gg-black);
  margin: 4px 0;
}

.gg-drawer {
  display: none !important;
}

/* ——— sidebar navigation (panneau gauche type Golden Goose) ——— */
.gg-sidebar {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
}

.gg-sidebar.is-open {
  pointer-events: auto;
}

.gg-sidebar__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s var(--gg-stagger);
}

.gg-sidebar.is-open .gg-sidebar__backdrop {
  opacity: 1;
}

.gg-sidebar__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(100%, 420px);
  max-width: 42vw;
  height: 100%;
  background: var(--gg-black);
  color: var(--gg-white);
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.35s var(--gg-stagger);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .gg-sidebar__panel {
    max-width: 88vw;
    width: 88vw;
  }
}

.gg-sidebar.is-open .gg-sidebar__panel {
  transform: translateX(0);
}

.gg-sidebar__top {
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.gg-sidebar__close {
  display: block;
  font-size: 28px;
  line-height: 1;
  color: var(--gg-white);
  margin-bottom: 20px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.gg-sidebar__close:hover {
  opacity: 0.7;
}

.gg-sidebar__back {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gg-white);
  padding: 8px 0;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.gg-sidebar__back:hover {
  color: var(--gg-gold);
}

.gg-sidebar__back[hidden] {
  display: none !important;
}

.gg-sidebar__list {
  padding: 8px 0 32px;
  flex: 1;
}

.gg-sidebar__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 16px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gg-white);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

a.gg-sidebar__item:hover,
button.gg-sidebar__item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.gg-sidebar__item.is-gold {
  color: var(--gg-gold);
}

.gg-sidebar__chevron {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.85;
  margin-left: 12px;
}

body.is-nav-open {
  overflow: hidden;
}

/* ——— hero ——— */
.gg-hero {
  position: relative;
  min-height: min(88vh, 820px);
  color: var(--gg-white);
}

/* Hero image seule : hauteur = viewport − (bandeau + navbar), --gg-hero-top-offset mesuré en JS sur index */
.gg-hero.gg-hero--static {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  min-height: calc(100svh - var(--gg-hero-top-offset));
  min-height: calc(100dvh - var(--gg-hero-top-offset));
}

.gg-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s var(--gg-stagger);
  pointer-events: none;
}

.gg-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.gg-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
}

.gg-hero--static .gg-hero__slide::after {
  display: none;
}

/* Hero accueil : desktop + mobile (≤768px → header-landing-mobile.png) */
.gg-hero__slide--landing {
  background-color: #e8e8e8;
  background-image: url("../image/header-landing.png");
  background-repeat: no-repeat;
  /* Remplit toute la zone (plus de bandes latérales) ; ancré en haut pour garder le sujet */
  background-size: cover;
  background-position: center top;
}

@media (max-width: 768px) {
  .gg-hero__slide--landing {
    background-image: url("../image/header-landing-mobile.png");
    background-position: center top;
    background-size: cover;
  }
}

.gg-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 8vw, 96px) var(--gg-wrap-pad) clamp(48px, 10vw, 120px);
  max-width: 1440px;
  margin-inline: auto;
}

.gg-hero h1 {
  margin: 0 0 1.5rem;
  max-width: 14ch;
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.12;
  text-transform: uppercase;
}

.gg-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--gg-black);
  background: var(--gg-black);
  color: var(--gg-white);
  transition: background 0.2s, color 0.2s;
}

.gg-hero .gg-btn--outline {
  background: transparent;
  border-color: var(--gg-white);
  color: var(--gg-white);
}

.gg-hero .gg-btn--outline:hover {
  background: var(--gg-white);
  color: var(--gg-black);
}

.gg-btn:hover {
  background: var(--gg-white);
  color: var(--gg-black);
}

.gg-hero .gg-btn:not(.gg-btn--outline):hover {
  background: transparent;
  color: var(--gg-white);
  border-color: var(--gg-white);
}

.gg-hero__nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gg-white);
  opacity: 0.85;
}

.gg-hero__nav:hover {
  opacity: 1;
}

.gg-hero__nav--prev {
  left: 12px;
}

.gg-hero__nav--next {
  right: 12px;
}

.gg-hero__dots {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: var(--gg-wrap-pad);
  display: flex;
  gap: 8px;
}

.gg-hero__dot {
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
}

.gg-hero__dot.is-active {
  background: var(--gg-white);
}

/* ——— section heading + pill ——— */
.gg-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 639px) {
  .gg-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .gg-pill {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    border-radius: 999px;
    padding: 4px;
  }

  .gg-pill::-webkit-scrollbar {
    display: none;
  }

  .gg-pill button {
    flex: 0 0 auto;
    padding: 8px 16px;
  }
}

.gg-section-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gg-black);
}

.gg-pill {
  display: inline-flex;
  border: 1px solid var(--gg-line);
  border-radius: 999px;
  padding: 4px;
  background: var(--gg-white);
}

.gg-pill button {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background: transparent;
  color: var(--gg-black);
}

.gg-pill button.is-active {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.gg-pill button:not(.is-active):hover {
  opacity: 0.55;
}

/* ——— product grid ——— */
.gg-products {
  padding: clamp(48px, 8vw, 96px) 0;
}

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

@media (min-width: 640px) {
  .gg-product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 24px);
  }
}

.gg-card {
  display: flex;
  flex-direction: column;
}

.gg-card__visual {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--gg-beige);
  overflow: hidden;
}

.gg-card__tag {
  position: absolute;
  top: 0;
  left: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: var(--gg-black);
  color: var(--gg-white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 8px;
}

.gg-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gg-card__body {
  padding-top: 14px;
}

.gg-card__name {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--gg-black);
}

.gg-card__price {
  font-size: 13px;
  font-weight: 700;
}

.gg-card__line {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6f6f6f;
}

.gg-card--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.gg-card--link:hover .gg-card__name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— browse (catalogue sur l’accueil) ——— */
.gg-browse {
  padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 9vw, 100px);
}

.gg-browse__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  position: relative;
}

@media (min-width: 720px) {
  .gg-browse__top {
    justify-content: center;
  }
}

.gg-browse__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  flex: 1 1 auto;
}

@media (min-width: 720px) {
  .gg-browse__see-all {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .gg-browse__title {
    flex: none;
  }
}

.gg-browse__count {
  margin: 0 0 1.25rem;
  font-size: 13px;
  font-weight: 500;
  color: #5a5a5a;
}

.gg-browse__see-all {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gg-black);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.gg-browse__see-all:hover {
  opacity: 0.65;
}

.gg-browse__grid {
  margin-bottom: 2rem;
}

.gg-browse__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

.gg-browse__pager a,
.gg-browse__pager button.gg-browse__page,
.gg-browse__pager .is-current {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.gg-browse__pager a,
.gg-browse__pager button.gg-browse__page {
  text-decoration: none;
  color: var(--gg-black);
  background: transparent;
  cursor: pointer;
}

.gg-browse__pager a:hover,
.gg-browse__pager button.gg-browse__page:hover:not(:disabled) {
  border-color: #ccc;
}

.gg-browse__pager button.gg-browse__page:disabled {
  opacity: 0.35;
  cursor: default;
}

.gg-browse__pager .is-current {
  background: var(--gg-black);
  color: #ffffff;
  border-color: var(--gg-black);
}

.gg-browse__ellipsis {
  padding: 0 4px;
  color: #888;
  font-weight: 500;
}

.gg-browse__next {
  font-size: 16px;
}

/* ——— double bannières ——— */
.gg-split {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .gg-split {
    grid-template-columns: 1fr 1fr;
  }
}

.gg-split__tile {
  position: relative;
  min-height: min(70vw, 520px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: clamp(32px, 6vw, 64px);
  color: var(--gg-white);
}

.gg-split__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.55));
}

.gg-split__tile > div {
  position: relative;
  z-index: 1;
}

.gg-split__tile h2 {
  margin: 0 0 12px;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 18ch;
}

.gg-link-line {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.gg-link-line:hover {
  opacity: 0.75;
}

/* ——— compte (connexion / inscription) ——— */
.gg-auth-dialog {
  border: none;
  padding: 0;
  max-width: min(calc(100vw - 32px), 440px);
  width: 100%;
  background: transparent;
  color: var(--gg-black);
}

.gg-auth-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.gg-auth-dialog__surface {
  position: relative;
  background: var(--gg-white);
  border: 1px solid var(--gg-line);
  padding: clamp(22px, 4vw, 30px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.gg-auth-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--gg-black);
  border-radius: 999px;
  transition: background 0.15s ease;
}

.gg-auth-dialog__close:hover {
  background: var(--gg-gray-100);
}

.gg-auth-dialog__heading {
  margin: 0 2.5rem 1.25rem 0;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gg-auth-dialog__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--gg-line);
  margin-bottom: 1.35rem;
}

.gg-auth-dialog__tab {
  flex: 1 1 0;
  padding: 12px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gg-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.gg-auth-dialog__tab:hover {
  color: var(--gg-black);
}

.gg-auth-dialog__tab.is-active {
  color: var(--gg-black);
  border-bottom-color: var(--gg-black);
}

.gg-auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gg-auth-form__row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gg-auth-form__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gg-black);
}

.gg-auth-form__label input {
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  padding: 12px 14px;
  border: 1px solid var(--gg-line);
  border-radius: 0;
  background: var(--gg-white);
  color: var(--gg-black);
}

.gg-auth-form__label input:focus {
  outline: 2px solid var(--gg-black);
  outline-offset: 0;
}

.gg-auth-form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--gg-muted);
}

.gg-auth-form__check input {
  margin-top: 3px;
  accent-color: var(--gg-black);
}

.gg-auth-form__submit {
  margin-top: 4px;
  width: 100%;
  padding: 14px 18px;
  background: var(--gg-black);
  color: var(--gg-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--gg-black);
  transition: opacity 0.15s ease;
}

.gg-auth-form__submit:hover {
  opacity: 0.88;
}

.gg-auth-dialog__note {
  margin: 1.25rem 0 0;
  font-size: 12px;
  color: var(--gg-muted);
  line-height: 1.45;
}

.gg-auth-error {
  margin: 0 0 0.75rem;
  font-size: 13px;
  color: #b42318;
  line-height: 1.4;
}

.gg-auth-signed-in__greet {
  margin: 0 0 0.35rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--gg-ink, #111);
}

.gg-auth-signed-in__mail {
  margin: 0 0 1rem;
  font-size: 13px;
  color: var(--gg-muted);
}

/* ——— footer ——— */
.gg-footer {
  background: var(--gg-black);
  color: var(--gg-white);
  position: relative;
  overflow: hidden;
}

.gg-footer__watermark {
  position: absolute;
  bottom: -4vw;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(4rem, 18vw, 14rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.gg-footer__nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 28px);
  padding: clamp(48px, 8vw, 96px) var(--gg-wrap-pad) 32px;
  max-width: 1440px;
  margin-inline: auto;
}

.gg-footer__nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.gg-footer__nav a:hover,
.gg-footer__nav a[aria-current="page"] {
  color: var(--gg-white);
}

.gg-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px var(--gg-wrap-pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1440px;
  margin-inline: auto;
}

.gg-footer__bottom span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.gg-social {
  display: flex;
  gap: 16px;
}

.gg-social a {
  opacity: 0.7;
}

.gg-social a:hover {
  opacity: 1;
}

.gg-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.gg-scroll-top {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gg-gray-100);
  color: var(--gg-black);
  border: none;
  cursor: pointer;
}

.gg-scroll-top:hover {
  background: var(--gg-line);
}

/* Language switcher — fixed bottom left */
.gg-lang-switcher {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 850;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 10px 12px;
  background: var(--gg-white);
  border: 1px solid var(--gg-line);
  border-radius: 999px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.14);
}

.gg-lang-switcher__label {
  display: flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
}

.gg-lang-switcher__icon {
  font-size: 18px;
  line-height: 1;
}

.gg-lang-switcher__select {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--gg-black);
  cursor: pointer;
  padding: 2px 4px 2px 0;
  max-width: 140px;
}

.gg-lang-switcher__select:focus {
  outline: 2px solid var(--gg-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-width: 480px) {
  .gg-lang-switcher {
    bottom: 14px;
    left: 14px;
    padding: 8px 12px 8px 10px;
  }

  .gg-lang-switcher__select {
    max-width: 110px;
    font-size: 12px;
  }
}

/* ——— catalogue marques (sneakers) ——— */
.gg-catalog-page {
  padding: clamp(32px, 5vw, 56px) var(--gg-wrap-pad) clamp(64px, 10vw, 120px);
  max-width: 1440px;
  margin-inline: auto;
  background: var(--gg-white);
  min-height: 50vh;
}

.gg-catalog__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gg-black);
}

.gg-catalog__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1.5rem;
}

@media (max-width: 639px) {
  .gg-catalog__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .gg-catalog__sort,
  .gg-catalog__sort select {
    width: 100%;
    min-width: 0;
  }

  .gg-catalog__filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 4px;
  }

  .gg-cat-filter {
    flex: 0 0 auto;
  }
}

.gg-catalog__count {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--gg-black);
}

.gg-catalog__sort {
  position: relative;
}

.gg-catalog__sort select {
  appearance: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--gg-line);
  border-radius: 4px;
  background: var(--gg-white);
  color: var(--gg-black);
  cursor: pointer;
  min-width: 180px;
}

.gg-catalog__sort::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--gg-black);
  transform: translateY(-25%);
  pointer-events: none;
}

.gg-catalog__filters {
  margin-bottom: 2rem;
}

.gg-catalog__filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.gg-cat-filter {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--gg-line);
  border-radius: 6px;
  background: var(--gg-white);
  color: var(--gg-black);
  cursor: pointer;
}

.gg-cat-filter:hover {
  border-color: #bbb;
}

.gg-cat-filter.is-active {
  background: var(--gg-black);
  border-color: var(--gg-black);
  color: var(--gg-white);
}

.gg-cat-filter--icon.is-active svg {
  fill: currentColor;
}

.gg-cat-filter:focus-visible {
  outline: 2px solid var(--gg-black);
  outline-offset: 2px;
}

.gg-catalog__sort select:focus-visible,
.gg-catalog-floatbar select:focus-visible {
  outline: 2px solid var(--gg-black);
  outline-offset: 2px;
}

.gg-cat-filter--icon svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 6px;
}

.gg-catalog__chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.gg-catalog__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gg-black);
  padding: 8px 12px;
  border: 1px solid var(--gg-line);
  border-radius: 6px;
  background: var(--gg-gray-100);
}

.gg-catalog__chip strong {
  font-weight: 700;
}

.gg-catalog__chip-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--gg-black);
  border-radius: 4px;
}

.gg-catalog__chip-remove:hover {
  background: rgba(0, 0, 0, 0.06);
}

.gg-catalog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 40px);
}

@media (min-width: 640px) {
  .gg-catalog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .gg-catalog__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .gg-catalog__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gg-cat-card {
  display: flex;
  flex-direction: column;
}

.gg-cat-card__img {
  position: relative;
  aspect-ratio: 1;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.1rem;
}

.gg-cat-card__img img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.gg-cat-card__name {
  margin: 0 0 0.35rem;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gg-black);
}

.gg-cat-card__line {
  margin: 0 0 0.6rem;
  font-size: 13px;
  font-weight: 500;
  color: #777;
}

.gg-cat-card__price {
  margin: 0 0 1rem;
  font-size: 15px;
  font-weight: 700;
  color: var(--gg-black);
}

.gg-cat-sizes {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px 4px;
}

.gg-cat-sizes--letters {
  grid-template-columns: repeat(4, 1fr);
  max-width: 100%;
}

.gg-cat-sizes--letters .gg-cat-size {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (min-width: 400px) {
  .gg-cat-sizes {
    gap: 6px;
  }
}

.gg-cat-size {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gg-black);
  border: 1px solid #ddd;
  background: var(--gg-white);
  cursor: default;
  padding: 0;
  min-height: 28px;
}

.gg-catalog-floatbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(16px, 4vw, 32px);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--gg-line);
  font-size: 13px;
}

.gg-catalog-floatbar select {
  font: inherit;
  font-size: 13px;
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--gg-line);
  border-radius: 4px;
  background: var(--gg-white);
}

.gg-catalog-floatbar__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gg-black);
  text-decoration: none;
}

.gg-catalog-floatbar__contact svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

body:has(.gg-product-page) {
  padding-bottom: max(72px, calc(56px + env(safe-area-inset-bottom, 0px)));
}

.gg-cat-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.gg-cat-card-link:hover .gg-cat-card__name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gg-cat-card-link:focus-visible {
  outline: 2px solid var(--gg-black);
  outline-offset: 4px;
}

/* ——— page produit (épurée) ——— */
.gg-product-page {
  background: var(--gg-white);
  padding: clamp(20px, 4vw, 40px) 0 clamp(56px, 10vw, 100px);
}

.gg-product__inner {
  max-width: 1120px;
}

.gg-product__crumbs {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin: 0 0 clamp(28px, 4vw, 40px);
  padding-bottom: 20px;
  border-bottom: 1px solid #eaeaea;
  line-height: 1.8;
}

.gg-product__crumb-sep {
  margin: 0 0.65rem;
  opacity: 0.45;
  font-weight: 400;
}

.gg-product__crumbs a {
  color: #8a8a8a;
  text-decoration: none;
}

.gg-product__crumbs a:hover {
  color: var(--gg-black);
}

.gg-product__crumb-current {
  color: var(--gg-black);
  font-weight: 600;
}

.gg-product__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  margin-bottom: clamp(56px, 9vw, 96px);
}

@media (max-width: 900px) {
  .gg-product__layout {
    grid-template-columns: 1fr;
  }
}

.gg-product__gallery {
  position: relative;
  background: #f7f7f7;
  border: none;
}

.gg-product__photo {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 48px);
  background: transparent;
}

.gg-product__photo img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.gg-product__zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  cursor: pointer;
  color: var(--gg-black);
  opacity: 0.85;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.gg-product__zoom:hover {
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gg-product__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--gg-black);
  line-height: 1.25;
  max-width: 28ch;
}

.gg-product__price-row {
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 18px;
}

.gg-product__price-row strong {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gg-product__shipping {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.gg-product__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #444;
}

.gg-product__sizes-wrap {
  margin-bottom: 1.75rem;
}

.gg-product__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gg-product__size {
  min-width: 42px;
  height: 40px;
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  background: var(--gg-white);
  cursor: pointer;
  color: var(--gg-black);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.gg-product__size:hover {
  border-color: #bbb;
}

.gg-product__size.is-selected {
  border-color: var(--gg-black);
  background: var(--gg-black);
  color: var(--gg-white);
  box-shadow: none;
}

.gg-product__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 2.5rem;
}

.gg-product__qty {
  width: 52px;
  height: 50px;
  text-align: center;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: var(--gg-white);
}

.gg-product__add-cart {
  flex: 1;
  min-width: 200px;
  height: 50px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  background: var(--gg-black);
  color: var(--gg-white);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.gg-product__add-cart:hover {
  opacity: 0.88;
}

.gg-product__icon-btn {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: var(--gg-white);
  cursor: pointer;
  color: var(--gg-black);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.gg-product__icon-btn:hover {
  border-color: #c0c0c0;
}

.gg-product__icon-btn.is-on {
  background: var(--gg-black);
  color: var(--gg-white);
  border-color: var(--gg-black);
}

.gg-icon-heart {
  fill: currentColor;
}

.gg-icon-heart--line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}

.gg-product__text-btn.is-on {
  font-weight: 700;
}

.gg-product__text-btn.is-on .gg-icon-heart--line {
  fill: var(--gg-black);
  stroke: none;
}

.gg-product__specs {
  margin: 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid #eaeaea;
  font-size: 12px;
  line-height: 1.65;
  color: #5c5c5c;
}

.gg-product__spec-ref {
  margin: 0 0 0.35rem;
}

.gg-product__spec-label {
  display: inline-block;
  min-width: 5.5rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.gg-product__spec-extra {
  margin: 0;
  font-weight: 500;
}

.gg-product__wishlist-link {
  margin: 1.5rem 0 0;
}

.gg-product__text-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: none;
  border: none;
  cursor: pointer;
  color: #444;
  padding: 0;
}

.gg-product__text-btn:hover {
  color: var(--gg-black);
}

.gg-product__text-btn:hover .gg-icon-heart--line {
  stroke: var(--gg-black);
}

/* Avis — bloc centré, échelle généreuse */
.gg-reviews {
  --gg-review-col: min(100%, 680px);
  max-width: var(--gg-review-col);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(56px, 10vw, 96px);
  padding-top: clamp(48px, 7vw, 80px);
  padding-inline: 0;
  border-top: 1px solid #eaeaea;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gg-reviews__heading {
  margin: 0 0 2rem;
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gg-black);
}

.gg-reviews__distribution {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 2.25rem;
  text-align: left;
}

.gg-reviews__row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.gg-reviews__row-stars {
  display: flex;
  gap: 3px;
  width: 108px;
  flex-shrink: 0;
  font-size: 17px;
  letter-spacing: -1px;
  line-height: 1;
}

.gg-reviews__star {
  color: #e0e0e0;
}

.gg-reviews__star.is-on {
  color: var(--gg-black);
}

.gg-reviews__row-bar {
  flex: 1;
  height: 6px;
  background: #ececec;
  border-radius: 3px;
  overflow: hidden;
}

.gg-reviews__row-bar-fill {
  display: block;
  height: 100%;
  background: var(--gg-black);
}

.gg-reviews__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.75rem;
  width: 100%;
}

.gg-reviews__filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  background: var(--gg-white);
  color: var(--gg-black);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.gg-reviews__filter svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.gg-reviews__filter:hover {
  border-color: var(--gg-black);
}

.gg-reviews__filter.is-active {
  background: var(--gg-black);
  border-color: var(--gg-black);
  color: var(--gg-white);
}

.gg-reviews__empty {
  font-size: 16px;
  font-weight: 500;
  color: #666;
  margin: 0 0 2.5rem;
  width: 100%;
  letter-spacing: 0.02em;
}

.gg-review-form {
  width: 100%;
  max-width: var(--gg-review-col);
  margin: 0;
  text-align: left;
}

.gg-review-form__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--gg-black);
  text-align: center;
}

.gg-review-form__hint {
  margin: 0 0 0.5rem;
  font-size: 15px;
  font-weight: 500;
  color: #444;
  text-align: center;
}

.gg-review-form__privacy {
  margin: 0 0 1.75rem;
  font-size: 14px;
  line-height: 1.55;
  color: #666;
  text-align: center;
  max-width: 48ch;
  margin-inline: auto;
}

.gg-review-form__stars-field {
  border: none;
  margin: 0 0 1.75rem;
  padding: 0;
  width: 100%;
}

.gg-review-form__stars-field legend {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  padding: 0;
  text-align: center;
  width: 100%;
}

.gg-review-form__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.gg-star-btn {
  font-size: 36px;
  line-height: 1;
  padding: 4px 6px;
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  color: #dedede;
  transition: color 0.15s ease, transform 0.15s ease;
}

.gg-star-btn:hover {
  transform: scale(1.06);
}

.gg-star-btn.is-on,
.gg-star-btn:hover {
  color: var(--gg-black);
}

.gg-review-form__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  color: var(--gg-black);
}

.gg-review-form__label input[type="text"],
.gg-review-form__label input[type="email"],
.gg-review-form__label textarea {
  display: block;
  width: 100%;
  margin-top: 10px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.gg-review-form__label textarea {
  min-height: 180px;
  resize: vertical;
}

.gg-review-form__label input:focus,
.gg-review-form__label textarea:focus {
  border-color: var(--gg-black);
  outline: none;
}

.gg-review-form__label input[type="file"] {
  margin-top: 12px;
  font-size: 15px;
  width: 100%;
  padding: 12px 0;
  border: 1px dashed #ccc;
  border-radius: 8px;
  background: #fafafa;
  cursor: pointer;
}

.gg-review-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 560px) {
  .gg-review-form__row {
    grid-template-columns: 1fr;
  }
}

.gg-review-form__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 1.75rem;
  color: #444;
}

.gg-review-form__check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gg-black);
}

.gg-review-submit {
  display: block;
  width: fit-content;
  min-width: 220px;
  margin-inline: auto;
  padding: 18px 40px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  background: var(--gg-black);
  color: var(--gg-white);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.gg-review-submit:hover {
  opacity: 0.88;
}

.gg-review-form input:focus-visible,
.gg-review-form textarea:focus-visible,
.gg-review-form select:focus-visible {
  outline: 2px solid var(--gg-black);
  outline-offset: 2px;
}

/* Produits associés */
.gg-related {
  padding-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid #eaeaea;
}

.gg-related__title {
  margin: 0 0 2rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gg-black);
}

.gg-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

@media (min-width: 720px) {
  .gg-related__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gg-related__card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.gg-related__card:hover .gg-related__name {
  text-decoration: underline;
}

.gg-related__img {
  aspect-ratio: 1;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: none;
}

.gg-related__img img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.gg-related__name {
  margin: 0 0 0.35rem;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.gg-related__line {
  margin: 0 0 0.4rem;
  font-size: 11px;
  font-weight: 500;
  color: #7a7a7a;
}

.gg-related__price {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.gg-related__stars {
  margin: 0.4rem 0 0;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gg-black);
}

/* ——— page sur mesure ——— */
.gg-custom {
  padding: clamp(40px, 7vw, 88px) var(--gg-wrap-pad) clamp(64px, 12vw, 120px);
  max-width: 720px;
  margin-inline: auto;
}

.gg-custom__intro {
  margin-bottom: clamp(32px, 5vw, 48px);
  text-align: center;
}

.gg-custom__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gg-black);
}

.gg-custom__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
  color: #444;
  max-width: 54ch;
  margin-inline: auto;
}

.gg-custom__form {
  text-align: left;
}

.gg-custom__row {
  margin-bottom: 1.35rem;
}

.gg-custom__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--gg-black);
}

.gg-custom__req {
  color: var(--gg-black);
}

.gg-custom__input,
.gg-custom__select,
.gg-custom__textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 16px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: var(--gg-white);
  color: var(--gg-black);
}

.gg-custom__textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.5;
}

.gg-custom__select {
  cursor: pointer;
}

.gg-custom__file {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px dashed #c0c0c0;
  border-radius: 8px;
  background: #fafafa;
  font-size: 14px;
  cursor: pointer;
}

.gg-custom__hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: #555;
}

.gg-custom__note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #666;
}

.gg-custom__grid2 {
  display: grid;
  gap: 0 20px;
}

@media (min-width: 560px) {
  .gg-custom__grid2 {
    grid-template-columns: 1fr 1fr;
  }
}

.gg-custom__privacy {
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  margin: 0 0 1.5rem;
}

.gg-custom__submit {
  display: block;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  padding: 16px 28px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  background: var(--gg-black);
  color: var(--gg-white);
  cursor: pointer;
}

.gg-custom__submit:hover {
  opacity: 0.88;
}

.gg-custom__success {
  padding: clamp(28px, 5vw, 40px);
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background: #fafafa;
}

.gg-custom__success-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gg-black);
}

.gg-custom__success-ref {
  margin: 0 0 1rem;
  font-size: 15px;
}

.gg-custom__success-text {
  margin: 0 0 1rem;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.gg-custom__success-files {
  margin: 0 0 1.25rem;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
}

.gg-custom__success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.gg-custom__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 8px;
  background: var(--gg-black);
  color: var(--gg-white);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.gg-custom__btn:hover {
  opacity: 0.88;
}

.gg-custom__btn--secondary {
  background: var(--gg-white);
  color: var(--gg-black);
  border: 1px solid var(--gg-black);
}

.gg-custom__btn--ghost {
  background: transparent;
  color: var(--gg-black);
  border: 1px solid #ccc;
}

.gg-custom__input:focus-visible,
.gg-custom__select:focus-visible,
.gg-custom__textarea:focus-visible,
.gg-custom__file:focus-visible,
.gg-custom__submit:focus-visible,
.gg-custom__btn:focus-visible {
  outline: 2px solid var(--gg-black);
  outline-offset: 2px;
}

/* ——— admin (demo, localStorage) ——— */
.gg-admin-body {
  margin: 0;
  min-height: 100vh;
  background: #f6f6f6;
  font-family: var(--gg-font);
  color: var(--gg-black);
}

.gg-admin-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--gg-white);
  border-bottom: 1px solid var(--gg-line-soft);
}

.gg-admin-topbar__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  min-height: 56px;
  padding-block: 10px;
}

.gg-admin-topbar__brand {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--gg-black);
}

.gg-admin-topbar__brand:hover {
  opacity: 0.75;
}

.gg-admin-topbar__pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gg-black);
  color: var(--gg-white);
}

.gg-admin-topbar__spacer {
  flex: 1;
  min-width: 8px;
}

.gg-admin-topbar__link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--gg-black);
}

.gg-admin-main {
  padding-block: clamp(32px, 6vw, 56px);
  max-width: 920px;
}

.gg-admin-h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gg-admin-lead {
  margin: 0 0 12px;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

.gg-admin-demo-hint {
  margin: 0 0 28px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  background: #fff;
  border: 1px solid var(--gg-line);
  border-radius: 8px;
  color: #333;
}

.gg-admin-demo-hint code {
  font-size: 13px;
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
}

.gg-admin-form {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gg-admin-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.gg-admin-input {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--gg-line);
  border-radius: 8px;
  background: var(--gg-white);
}

.gg-admin-input:focus-visible {
  outline: 2px solid var(--gg-black);
  outline-offset: 2px;
}

.gg-admin-error {
  margin: 0;
  min-height: 1.25em;
  font-size: 14px;
  font-weight: 600;
  color: #b00020;
}

.gg-admin-submit {
  margin-top: 4px;
  padding: 14px 24px;
  width: fit-content;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  background: var(--gg-black);
  color: var(--gg-white);
  cursor: pointer;
}

.gg-admin-submit:hover {
  opacity: 0.88;
}

.gg-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 24px;
}

.gg-admin-count {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.gg-admin-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gg-admin-btn {
  padding: 10px 18px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  background: var(--gg-black);
  color: var(--gg-white);
  cursor: pointer;
}

.gg-admin-btn:hover {
  opacity: 0.88;
}

.gg-admin-btn--ghost {
  background: var(--gg-white);
  color: var(--gg-black);
  border: 1px solid var(--gg-line);
}

.gg-admin-empty {
  padding: 24px 20px;
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  color: #555;
  background: var(--gg-white);
  border: 1px dashed #ccc;
  border-radius: 10px;
  margin-bottom: 24px;
}

.gg-admin-empty a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gg-admin-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gg-admin-card {
  background: var(--gg-white);
  border: 1px solid var(--gg-line-soft);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.gg-admin-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gg-line-soft);
}

.gg-admin-card__ref {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.gg-admin-card__time {
  font-size: 13px;
  color: #666;
}

.gg-admin-card__dl {
  margin: 0;
  display: grid;
  gap: 12px 24px;
}

.gg-admin-card__dl > div {
  display: grid;
  gap: 4px;
}

.gg-admin-card__dl dt {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777;
}

.gg-admin-card__dl dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--gg-black);
}

.gg-admin-card__dl a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

.gg-admin-card__desc {
  white-space: pre-wrap;
}

/* Made-to-measure admin dashboard */
.gg-mtm-admin {
  padding-bottom: 48px;
}

.gg-mtm-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.gg-mtm-stat {
  padding: 16px 18px;
  background: var(--gg-white);
  border: 1px solid var(--gg-line-soft);
  border-radius: 10px;
}

.gg-mtm-stat__value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.gg-mtm-stat__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gg-mtm-stat--new .gg-mtm-stat__value {
  color: #1e3a5f;
}

.gg-mtm-stat--progress .gg-mtm-stat__value {
  color: #9a6b00;
}

.gg-mtm-stat--done .gg-mtm-stat__value {
  color: #1a6b3a;
}

.gg-mtm-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 20px;
  align-items: flex-end;
}

.gg-mtm-search {
  flex: 1 1 220px;
  min-width: 0;
}

.gg-mtm-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
}

.gg-mtm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 20px;
  align-items: start;
}

.gg-mtm-table-wrap {
  overflow-x: auto;
  background: var(--gg-white);
  border: 1px solid var(--gg-line-soft);
  border-radius: 12px;
}

.gg-mtm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.gg-mtm-table th,
.gg-mtm-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--gg-line-soft);
  vertical-align: top;
}

.gg-mtm-table th {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
  background: #fafafa;
}

.gg-mtm-table tbody tr {
  cursor: pointer;
  transition: background 0.12s ease;
}

.gg-mtm-table tbody tr:hover,
.gg-mtm-table tbody tr.is-selected {
  background: #f4f6f8;
}

.gg-mtm-table tbody tr.is-selected {
  box-shadow: inset 3px 0 0 var(--gg-black);
}

.gg-mtm-table__ref {
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.gg-mtm-table__contact {
  max-width: 200px;
  word-break: break-word;
  color: #444;
}

.gg-mtm-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  white-space: nowrap;
}

.gg-mtm-badge--new {
  background: #e8eef5;
  color: #1e3a5f;
}

.gg-mtm-badge--in_progress {
  background: #fff4d6;
  color: #9a6b00;
}

.gg-mtm-badge--done {
  background: #e6f4ec;
  color: #1a6b3a;
}

.gg-mtm-detail {
  position: sticky;
  top: 88px;
  background: var(--gg-white);
  border: 1px solid var(--gg-line-soft);
  border-radius: 12px;
  padding: 20px;
  min-height: 280px;
}

.gg-mtm-detail__empty {
  margin: 40px 0;
  text-align: center;
  font-size: 14px;
  color: #777;
  line-height: 1.5;
}

.gg-mtm-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gg-line-soft);
}

.gg-mtm-detail__ref {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.gg-mtm-detail__date {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #666;
}

.gg-mtm-detail__status-select {
  min-width: 140px;
}

.gg-mtm-detail__dl {
  margin: 0 0 20px;
  display: grid;
  gap: 12px;
}

.gg-mtm-detail__dl > div {
  display: grid;
  gap: 4px;
}

.gg-mtm-detail__dl dt {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777;
}

.gg-mtm-detail__dl dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.gg-mtm-detail__desc {
  white-space: pre-wrap;
}

.gg-mtm-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gg-mtm-detail__actions .gg-admin-btn {
  text-align: center;
  text-decoration: none;
}

.gg-mtm-detail__delete {
  color: #a33;
  border-color: #e8c4c4;
}

.gg-mtm-respond {
  margin-bottom: 18px;
  padding: 14px;
  background: #f8f9fb;
  border: 1px solid var(--gg-line-soft);
  border-radius: 10px;
}

.gg-mtm-respond__title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gg-mtm-respond__hint {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #666;
}

.gg-mtm-respond__status {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.gg-mtm-respond__status.is-accepted {
  color: #1a6b3a;
}

.gg-mtm-respond__status.is-rejected {
  color: #a33;
}

.gg-mtm-respond__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gg-mtm-respond-btn {
  padding: 12px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.gg-mtm-respond-btn:hover {
  opacity: 0.92;
}

.gg-mtm-respond-btn:active {
  transform: scale(0.98);
}

.gg-mtm-respond-btn--yes {
  background: #1a6b3a;
  color: #fff;
}

.gg-mtm-respond-btn--no {
  background: #fff;
  color: #a33;
  border: 1px solid #e8c4c4;
}

.gg-mtm-badge--accepted {
  background: #e6f4ec;
  color: #1a6b3a;
}

.gg-mtm-badge--rejected {
  background: #fdeaea;
  color: #a33;
}

.gg-mtm-badge--pending {
  background: #f0f0f0;
  color: #666;
}

/* Admin menu manager */
.gg-menu-admin {
  padding-bottom: 48px;
}

.gg-menu-admin__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.gg-menu-admin__tab {
  padding: 10px 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--gg-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.gg-menu-admin__tab.is-active {
  background: var(--gg-black);
  color: #fff;
  border-color: var(--gg-black);
}

.gg-menu-admin__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.gg-menu-admin__form {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--gg-line-soft);
  border-radius: 12px;
}

.gg-menu-admin__form-title {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gg-menu-admin__list-wrap {
  padding: 20px;
  background: #fafafa;
  border: 1px dashed #ccc;
  border-radius: 12px;
  min-height: 200px;
}

.gg-menu-admin__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gg-menu-admin__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gg-line-soft);
}

.gg-menu-admin__item:last-child {
  border-bottom: none;
}

.gg-menu-admin__meta {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: #666;
}

.gg-menu-admin__del {
  flex-shrink: 0;
  padding: 6px 12px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #e8c4c4;
  border-radius: 6px;
  background: #fff;
  color: #a33;
  cursor: pointer;
}

.gg-menu-admin__empty {
  font-size: 14px;
  color: #777;
  padding: 8px 0;
}

@media (max-width: 800px) {
  .gg-menu-admin__grid {
    grid-template-columns: 1fr;
  }
}

.gg-mtm-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  max-width: min(360px, calc(100vw - 32px));
  margin: 0;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  background: var(--gg-black);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

@media (max-width: 960px) {
  .gg-mtm-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gg-mtm-layout {
    grid-template-columns: 1fr;
  }

  .gg-mtm-detail {
    position: static;
  }
}

.gg-admin-footnote {
  margin: 32px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #888;
}

.gg-admin-footnote--top {
  margin: 0 0 20px;
}

.gg-admin-main--wide {
  max-width: 1100px;
}

.gg-admin-h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gg-admin-tabs {
  display: flex;
  gap: 8px;
  margin: 24px 0 20px;
  border-bottom: 1px solid var(--gg-line);
  padding-bottom: 0;
}

.gg-admin-tab {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 18px;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: #666;
  cursor: pointer;
}

.gg-admin-tab.is-active {
  color: var(--gg-black);
  border-bottom-color: var(--gg-black);
}

.gg-admin-panel[hidden] {
  display: none !important;
}

.gg-admin-toolbar--sub {
  margin-top: 0;
  margin-bottom: 16px;
}

.gg-admin-input--search {
  min-width: 180px;
  max-width: 240px;
}

.gg-admin-submit--sm {
  padding: 10px 16px;
  font-size: 12px;
  white-space: nowrap;
}

.gg-admin-articles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gg-admin-article-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--gg-line);
  border-radius: 10px;
}

.gg-admin-article-row__thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
}

.gg-admin-article-row__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.gg-admin-article-row__name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.gg-admin-article-row__meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: #555;
}

.gg-admin-article-row__desc {
  margin: 8px 0 0;
  font-size: 13px;
  color: #666;
  line-height: 1.45;
}

.gg-admin-article-row__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.gg-admin-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--gg-black);
  color: #fff;
}

.gg-admin-badge--muted {
  background: #e8e8e8;
  color: #333;
}

.gg-admin-badge--warn {
  background: #fff3cd;
  color: #856404;
}

.gg-admin-btn--danger {
  border-color: #c62828;
  color: #c62828;
}

.gg-admin-btn--danger:hover {
  background: #ffebee;
}

.gg-admin-dialog {
  border: none;
  border-radius: 12px;
  padding: 0;
  max-width: min(560px, calc(100vw - 32px));
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.gg-admin-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.gg-admin-dialog__form {
  padding: 0;
}

.gg-admin-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 12px;
  border-bottom: 1px solid var(--gg-line-soft);
}

.gg-admin-dialog__close {
  font-size: 28px;
  line-height: 1;
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px 8px;
  color: #666;
}

.gg-admin-dialog__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  padding: 18px 22px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
}

.gg-admin-label--full {
  grid-column: 1 / -1;
}

.gg-admin-textarea {
  resize: vertical;
  min-height: 100px;
}

.gg-admin-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.gg-admin-check input {
  width: 18px;
  height: 18px;
}

.gg-admin-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gg-admin-preview {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
  border: 1px solid var(--gg-line);
}

.gg-admin-preview[hidden] {
  display: none;
}

.gg-admin-dialog__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 20px;
  border-top: 1px solid var(--gg-line-soft);
}

.gg-admin-dialog__spacer {
  flex: 1;
  min-width: 8px;
}

.gg-product__spec-desc {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  white-space: pre-wrap;
}

/* Admin sur le catalogue (même grille que la boutique) */
.gg-catalog-admin-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #111;
  color: #fff;
  border-radius: 10px;
}

.gg-catalog-admin-bar[hidden] {
  display: none !important;
}

.gg-catalog-admin-bar__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: auto;
}

.gg-catalog-admin-bar__btn {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.gg-catalog-admin-bar__btn--ghost {
  background: transparent;
  color: #fff;
}

.gg-catalog-admin-bar__link {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gg-cat-card-wrap--admin .gg-cat-card-link {
  pointer-events: none;
}

.gg-cat-card-wrap--admin .gg-cat-admin-actions {
  pointer-events: auto;
}

.gg-cat-card-wrap .gg-cat-admin-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gg-cat-card-wrap .gg-cat-admin-edit,
.gg-cat-card-wrap .gg-cat-admin-delete {
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gg-cat-card-wrap .gg-cat-admin-edit {
  background: var(--gg-black);
  color: #fff;
}

.gg-cat-card-wrap .gg-cat-admin-delete {
  background: #b42318;
  color: #fff;
}

.gg-cat-admin-edit:hover,
.gg-cat-admin-delete:hover {
  opacity: 0.85;
}

.gg-cat-card-wrap--add .gg-cat-card--add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 280px;
  border: 2px dashed var(--gg-line);
  background: #fafafa;
  cursor: pointer;
  font: inherit;
}

.gg-cat-card--add__plus {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.gg-cat-card--add__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gg-is-admin .gg-cat-card-wrap {
  position: relative;
}

.gg-product-admin-edit {
  display: block;
  margin: 12px 0 0;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--gg-black);
  background: var(--gg-black);
  color: #fff;
  cursor: pointer;
}

.gg-product-admin-edit:hover {
  opacity: 0.85;
}

.gg-admin-dialog--editor {
  max-width: min(920px, calc(100vw - 24px));
}

.gg-admin-dialog__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}

.gg-admin-editor {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 24px;
  padding: 20px 22px;
  max-height: min(70vh, 560px);
  overflow-y: auto;
}

.gg-admin-editor__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.gg-admin-preview--lg {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.gg-admin-editor__hint {
  margin: 0;
  font-size: 12px;
  color: #888;
}

.gg-admin-editor__section {
  margin-bottom: 20px;
}

.gg-admin-editor__section-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gg-catalog-filter-panel {
  margin-top: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--gg-line);
  border-radius: 10px;
}

.gg-catalog-filter-panel[hidden] {
  display: none !important;
}

.gg-catalog-filter-panel__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.gg-catalog-filter-panel__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.gg-catalog-filter-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.gg-catalog-filter-panel__chips button {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border: 1px solid var(--gg-line);
  border-radius: 6px;
  background: #fafafa;
  cursor: pointer;
}

.gg-catalog-filter-panel__chips button.is-on,
.gg-catalog-filter-panel__chips button:hover {
  background: var(--gg-black);
  color: #fff;
  border-color: var(--gg-black);
}

.gg-catalog-filter-panel__apply,
.gg-catalog-filter-panel__clear {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  margin-right: 8px;
  margin-top: 4px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.gg-catalog-filter-panel__apply {
  background: var(--gg-black);
  color: #fff;
}

.gg-catalog-filter-panel__clear {
  background: transparent;
  border: 1px solid var(--gg-line);
}

.gg-catalog-filter-panel__lead {
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gg-catalog-filter-panel__lead:first-child {
  margin-top: 0;
}

.gg-catalog-filter-panel__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.gg-catalog-filter-panel__grid a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gg-price-range {
  margin-bottom: 8px;
}

.gg-price-range__label {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
}

.gg-price-range__values {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gg-muted, #555);
}

.gg-price-range__track {
  position: relative;
  height: 28px;
  margin: 0 4px;
}

.gg-price-range__rail {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  margin-top: -1.5px;
  background: #d8d8d8;
  border-radius: 999px;
}

.gg-price-range__fill {
  position: absolute;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  background: #1e3a5f;
  border-radius: 999px;
  pointer-events: none;
}

.gg-price-range input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  margin: -14px 0 0;
  height: 28px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.gg-price-range input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: transparent;
}

.gg-price-range input[type="range"]::-moz-range-track {
  height: 3px;
  background: transparent;
}

.gg-price-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 22px;
  height: 22px;
  margin-top: -9.5px;
  border: none;
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff 0 5px, #1e3a5f 5px 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.gg-price-range input[type="range"]::-moz-range-thumb {
  pointer-events: all;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff 0 5px, #1e3a5f 5px 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.gg-catalog-filter-panel__chips--pointures button {
  min-width: 40px;
  padding-inline: 10px;
}

@media (max-width: 720px) {
  .gg-admin-editor {
    grid-template-columns: 1fr;
  }

  .gg-admin-article-row {
    grid-template-columns: 56px 1fr;
  }

  .gg-admin-article-row__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .gg-admin-dialog__grid {
    grid-template-columns: 1fr;
  }

  .gg-admin-toolbar__actions {
    width: 100%;
  }

  .gg-admin-input--search {
    flex: 1;
    max-width: none;
  }
}

.gg-page {
  padding: clamp(40px, 6vw, 80px) var(--gg-wrap-pad);
  max-width: 800px;
  margin-inline: auto;
}

.gg-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gg-black);
}

.gg-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gg-black);
}

.gg-page p,
.gg-page li {
  font-size: 15px;
  color: var(--gg-black);
  line-height: 1.65;
  font-weight: 500;
}

.gg-page ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.gg-page a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— page 404 ——— */
.gg-404 {
  max-width: 440px;
  margin: clamp(56px, 12vw, 120px) auto;
  padding: clamp(40px, 8vw, 56px) clamp(28px, 5vw, 40px);
  border: 3px solid var(--gg-black);
  text-align: center;
  background: var(--gg-white);
}

.gg-404__title {
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--gg-black);
}

.gg-404__title .gg-404__code {
  margin: 0;
  font-size: clamp(4.5rem, 16vw, 7.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.gg-404__title-text {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gg-404__lead {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--gg-muted);
}

.gg-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.gg-404__actions .gg-btn {
  min-width: 140px;
}

.gg-404__actions .gg-btn--outline {
  background: transparent;
  color: var(--gg-black);
  border: 2px solid var(--gg-black);
}

.gg-404__actions .gg-btn--outline:hover {
  background: var(--gg-black);
  color: var(--gg-white);
}

/* ——— wishlist + cart (localStorage) ——— */
[data-wishlist-open],
[data-cart-open] {
  position: relative;
}

.gg-wishlist-badge,
.gg-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  background: var(--gg-black);
  color: var(--gg-white);
  border-radius: 999px;
  pointer-events: none;
}

[data-wishlist-open].has-items svg {
  fill: var(--gg-black);
  stroke: none;
}

.gg-wishlist-dialog {
  border: none;
  padding: 0;
  max-width: min(calc(100vw - 24px), 420px);
  width: 100%;
  background: transparent;
  color: var(--gg-black);
}

.gg-wishlist-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.gg-wishlist-dialog__surface {
  position: relative;
  background: var(--gg-white);
  border: 1px solid var(--gg-line);
  padding: clamp(20px, 4vw, 28px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  max-height: min(80vh, 560px);
  display: flex;
  flex-direction: column;
}

.gg-wishlist-dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--gg-black);
  border-radius: 999px;
  border: none;
  background: none;
  cursor: pointer;
}

.gg-wishlist-dialog__close:hover {
  background: var(--gg-gray-100);
}

.gg-wishlist-dialog__heading {
  margin: 0 2.5rem 1rem 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gg-wishlist-dialog__empty {
  margin: 0;
  font-size: 14px;
  color: var(--gg-muted);
}

.gg-wishlist-dialog__list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gg-wishlist-dialog__item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gg-line-soft);
}

.gg-wishlist-dialog__thumb {
  display: block;
  width: 72px;
  height: 72px;
  background: var(--gg-gray-100);
  border-radius: 6px;
  overflow: hidden;
}

.gg-wishlist-dialog__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gg-wishlist-dialog__ph {
  width: 72px;
  height: 72px;
  background: #e8e8e8;
  border-radius: 6px;
}

.gg-wishlist-dialog__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--gg-black);
  text-decoration: none;
}

.gg-wishlist-dialog__name:hover {
  text-decoration: underline;
}

.gg-wishlist-dialog__price {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.gg-wishlist-dialog__remove {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
  border: none;
  border-radius: 6px;
  background: var(--gg-gray-100);
  color: var(--gg-black);
  cursor: pointer;
}

.gg-wishlist-dialog__remove:hover {
  background: #e5e5e5;
}

/* ——— shopping bag dialog ——— */
.gg-cart-dialog {
  border: none;
  padding: 0;
  max-width: min(calc(100vw - 24px), 420px);
  width: 100%;
  background: transparent;
  color: var(--gg-black);
}

.gg-cart-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.gg-cart-dialog__surface {
  position: relative;
  background: var(--gg-white);
  border: 1px solid var(--gg-line);
  padding: clamp(20px, 4vw, 28px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  max-height: min(80vh, 560px);
  display: flex;
  flex-direction: column;
}

.gg-cart-dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--gg-black);
  border-radius: 999px;
  border: none;
  background: none;
  cursor: pointer;
}

.gg-cart-dialog__close:hover {
  background: var(--gg-gray-100);
}

.gg-cart-dialog__heading {
  margin: 0 2.5rem 1rem 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gg-cart-dialog__empty {
  margin: 0;
  font-size: 14px;
  color: var(--gg-muted);
}

.gg-cart-dialog__list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gg-cart-dialog__item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid var(--gg-line-soft);
}

.gg-cart-dialog__thumb {
  display: block;
  width: 72px;
  height: 72px;
  background: var(--gg-gray-100);
  border-radius: 6px;
  overflow: hidden;
}

.gg-cart-dialog__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gg-cart-dialog__ph {
  width: 72px;
  height: 72px;
  background: #e8e8e8;
  border-radius: 6px;
}

.gg-cart-dialog__meta {
  min-width: 0;
}

.gg-cart-dialog__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--gg-black);
  text-decoration: none;
}

.gg-cart-dialog__name:hover {
  text-decoration: underline;
}

.gg-cart-dialog__size {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--gg-muted);
}

.gg-cart-dialog__unit {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.gg-cart-dialog__ea {
  font-weight: 500;
  color: var(--gg-muted);
}

.gg-cart-dialog__qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
  width: fit-content;
  border: 1px solid var(--gg-line-soft);
  border-radius: 6px;
  overflow: hidden;
  background: var(--gg-white);
}

.gg-cart-qty-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  border: none;
  background: var(--gg-gray-100);
  color: var(--gg-black);
  cursor: pointer;
}

.gg-cart-qty-btn:hover {
  background: #e8e8e8;
}

.gg-cart-qty-val {
  min-width: 28px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.gg-cart-dialog__remove {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
  border: none;
  border-radius: 6px;
  background: var(--gg-gray-100);
  color: var(--gg-black);
  cursor: pointer;
}

.gg-cart-dialog__remove:hover {
  background: #e5e5e5;
}

.gg-cart-dialog__footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gg-line-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gg-cart-dialog__subtotal {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  gap: 12px;
}

.gg-cart-dialog__subtotal strong {
  font-size: 1.1rem;
}

.gg-cart-dialog__checkout {
  width: 100%;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  background: var(--gg-black);
  color: var(--gg-white);
  cursor: not-allowed;
  opacity: 0.55;
}

/* Bouton cœur sur cartes */
.gg-wishlist-toggle {
  -webkit-tap-highlight-color: transparent;
}

.gg-wishlist-toggle--floating {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--gg-black);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gg-wishlist-toggle--floating:hover {
  background: var(--gg-white);
}

.gg-wishlist-toggle--floating.is-on {
  background: var(--gg-black);
  color: var(--gg-white);
  border-color: var(--gg-black);
}

.gg-wishlist-heart path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}

.gg-wishlist-toggle--floating.is-on .gg-wishlist-heart path {
  fill: currentColor;
  stroke: none;
}

.gg-card-wrap,
.gg-cat-card-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
}

.gg-cat-card-wrap .gg-wishlist-toggle--floating {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.gg-cat-card-wrap .gg-cat-card-link {
  position: relative;
  z-index: 1;
}

.gg-card-wrap .gg-wishlist-toggle--floating {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

/* ——— customer account (dashboard) ——— */
/* Page claire comme le reste du site ; survol / actif en noir (pas de bleu). */

.gg-account {
  width: var(--gg-wrap);
  margin-inline: auto;
  padding-inline: max(var(--gg-wrap-pad), env(safe-area-inset-left, 0px))
    max(var(--gg-wrap-pad), env(safe-area-inset-right, 0px));
  padding-block: clamp(2rem, 5vw, 3.25rem) clamp(3rem, 8vw, 5rem);
}

.gg-account__page-title {
  margin: 0 0 2rem;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  color: var(--gg-black);
}

.gg-account__layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 900px) {
  .gg-account__layout {
    display: grid;
    grid-template-columns: min(240px, 32%) 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
}

.gg-account__nav {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gg-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--gg-white);
}

@media (max-width: 899px) {
  .gg-account__nav {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0.35rem;
    gap: 0.35rem;
  }
}

.gg-account__nav-btn {
  font: inherit;
  margin: 0;
  padding: 0.75rem 1rem;
  border: none;
  border-bottom: 1px solid var(--gg-line-soft);
  background: var(--gg-white);
  color: var(--gg-muted);
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.03em;
  transition: color 0.15s ease, background 0.15s ease;
}

@media (max-width: 899px) {
  .gg-account__nav-btn {
    flex: 1 1 auto;
    min-width: calc(50% - 0.35rem);
    border: 1px solid var(--gg-line-soft);
    border-radius: 8px;
    text-align: center;
    padding: 0.6rem 0.5rem;
    font-size: 11px;
  }
}

.gg-account__nav-btn:last-child {
  border-bottom: none;
}

@media (max-width: 899px) {
  .gg-account__nav-btn:last-child {
    flex-basis: 100%;
    margin-top: 0.35rem;
  }
}

.gg-account__nav-btn:hover {
  background: var(--gg-gray-100);
  color: var(--gg-black);
}

.gg-account__nav-btn.is-active {
  color: var(--gg-black);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--gg-black);
}

@media (max-width: 899px) {
  .gg-account__nav-btn.is-active {
    box-shadow: inset 0 -2px 0 var(--gg-black);
  }
}

.gg-account__nav-btn--logout {
  color: var(--gg-muted);
  margin-top: 0;
}

@media (min-width: 900px) {
  .gg-account__nav-btn--logout {
    border-top: 1px solid var(--gg-line-soft);
    margin-top: 0.25rem;
    border-bottom: none;
  }
}

.gg-account__content {
  min-width: 0;
}

.gg-account__panel[hidden] {
  display: none !important;
}

.gg-account__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gg-black);
}

.gg-account__lead {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--gg-muted);
  line-height: 1.55;
}

.gg-account__subtitle {
  margin: 0 0 0.65rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gg-muted);
}

.gg-account__subtitle--spaced {
  margin-top: 2.25rem;
}

.gg-account__muted {
  margin: 0;
  color: var(--gg-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.gg-account__cards {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
  border: 1px solid var(--gg-line);
  border-radius: 10px;
  overflow: hidden;
}

.gg-account__stat-card {
  border: none;
  border-radius: 0;
  padding: 1.25rem 1.35rem;
  background: var(--gg-gray-100);
  border-right: 1px solid var(--gg-line-soft);
}

.gg-account__stat-card:last-child {
  border-right: none;
}

@media (max-width: 540px) {
  .gg-account__stat-card {
    border-right: none;
    border-bottom: 1px solid var(--gg-line-soft);
  }

  .gg-account__stat-card:last-child {
    border-bottom: none;
  }
}

.gg-account__stat-label {
  margin: 0 0 0.5rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gg-muted);
}

.gg-account__stat-value {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gg-black);
}

.gg-account__stat-hint {
  margin: 0 0 0.75rem;
  font-size: 13px;
  color: var(--gg-muted);
  line-height: 1.45;
}

.gg-account__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gg-black);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding-bottom: 1px;
  display: inline-block;
  width: fit-content;
}

.gg-account__link:hover {
  border-bottom-color: var(--gg-black);
  color: var(--gg-black);
}

.gg-account__notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--gg-gray-100);
  border: 1px solid var(--gg-line);
  border-radius: 10px;
}

.gg-account__notice-text {
  margin: 0;
  color: var(--gg-muted);
  font-size: 0.95rem;
}

.gg-account__btn {
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border-radius: 6px;
  border: 1px solid var(--gg-black);
  background: transparent;
  color: var(--gg-black);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gg-account__btn:hover {
  background: var(--gg-black);
  color: var(--gg-white);
  opacity: 1;
}

.gg-account__btn--primary {
  background: var(--gg-black);
  border-color: var(--gg-black);
  color: var(--gg-white);
}

.gg-account__btn--primary:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  color: var(--gg-white);
}

.gg-account__mini-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--gg-line);
  border-radius: 10px;
  overflow: hidden;
}

.gg-account__mini-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid var(--gg-line-soft);
  font-size: 13px;
}

.gg-account__mini-row:last-child {
  border-bottom: none;
}

.gg-account__mini-ref {
  font-weight: 600;
}

.gg-account__mini-cat {
  color: var(--gg-muted);
}

.gg-account__empty-inline {
  padding: 1.1rem 1.25rem;
  font-size: 13px;
  color: var(--gg-muted);
}

.gg-account__empty-inline a {
  color: var(--gg-black);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.gg-account__empty-inline a:hover {
  border-bottom-color: var(--gg-black);
}

.gg-account__form {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gg-account__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gg-muted);
}

.gg-account__input {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--gg-line);
  border-radius: 6px;
  background: var(--gg-white);
  color: var(--gg-black);
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: none;
}

.gg-account__input:focus {
  outline: none;
  border-color: var(--gg-black);
}

.gg-account__input:read-only {
  background: var(--gg-gray-100);
  color: var(--gg-muted);
}

.gg-account__msg {
  margin: 0;
  font-size: 13px;
  color: var(--gg-muted);
}

.gg-account__msg:not([hidden]):not(.gg-account__msg--error) {
  color: #166534;
}

.gg-account__msg--error:not([hidden]) {
  color: #b42318;
}

@media (min-width: 900px) {
  .gg-account__nav {
    position: sticky;
    top: calc(var(--gg-hero-top-offset, 108px) + 8px);
  }
}
