/* Maison Mona — couleur dominante #1F4D40, or, blanc */
:root {
  --olive: #1f4d40;
  --bg-site: #1f4d40;
  --olive-deep: #14382f;
  --olive-light: #6aad9e;
  --gold: #c9a227;
  --gold-hover: #ddb92e;
  --white: #ffffff;
  --gray-100: #f7f7f5;
  --gray-200: #e8e8e4;
  --gray-400: #9a9a8e;
  --text-on-bg: rgba(255, 255, 255, 0.92);
  --text-on-bg-muted: rgba(255, 255, 255, 0.7);
  --text-on-bg-dim: rgba(255, 255, 255, 0.48);
  --border-on-dark: rgba(255, 255, 255, 0.14);
  --surface-elevated: rgba(255, 255, 255, 0.09);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 16px 48px rgba(0, 0, 0, 0.35);
  --font-sans: "Montserrat", system-ui, sans-serif;
  --font-serif: "EB Garamond", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-site);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-on-bg);
  background: var(--bg-site);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
}

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

body:not(.admin-page) a {
  color: rgba(255, 255, 255, 0.9);
}

body:not(.admin-page) a:hover {
  color: var(--gold-hover);
}

.admin-page a {
  color: var(--olive);
}

.admin-page a:hover {
  color: var(--gold);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-site);
  border-bottom: 1px solid var(--border-on-dark);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.logo {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-on-bg);
}

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

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-main a {
  color: rgba(255, 255, 255, 0.9);
}

.nav-main a:hover {
  color: var(--gold-hover);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-on-dark);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-bg);
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 2px;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--gold-hover);
  color: var(--gold-hover);
}

.nav-toggle.is-active {
  background: rgba(255, 255, 255, 0.16);
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none !important;
  }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(10, 20, 18, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

.header-search {
  flex: 1 1 200px;
  min-width: 160px;
  max-width: 320px;
  margin-left: auto;
  position: relative;
}

.header-search input {
  width: 100%;
  padding: 0.55rem 2.25rem 0.55rem 0.85rem;
  border: 1px solid var(--border-on-dark);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-bg);
}

.header-search input::placeholder {
  color: var(--text-on-bg-dim);
}

.header-search .search-icon {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: 0.55;
  pointer-events: none;
  color: var(--text-on-bg-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-actions .icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--text-on-bg);
  position: relative;
}

.header-actions .icon-btn:hover {
  color: var(--gold-hover);
}

.header-actions,
.header-actions #cart-total-label {
  color: rgba(255, 255, 255, 0.88);
}

.cart-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
  font-weight: 700;
}

/* Hero collection mode — plein écran */
.hero-fashion {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--bg-site);
  overflow: hidden;
}

.hero-fashion-visual {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 2px;
}

.hero-fashion-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hero-fashion-col--stack {
  gap: 2px;
}

.hero-fashion-col--tall img,
.hero-fashion-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-fashion-col--tall {
  min-height: 0;
}

.hero-fashion-col--tall img {
  min-height: 100%;
}

.hero-fashion-cell {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.hero-fashion-cell img {
  min-height: 50%;
}

.hero-fashion-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 22, 0.15) 0%,
    rgba(26, 26, 22, 0.35) 45%,
    rgba(26, 26, 22, 0.5) 100%
  );
  pointer-events: none;
}

.hero-fashion-cta {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

.btn-hero-collection {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}

.btn-hero-collection:hover {
  background: var(--white);
  border-color: var(--white);
  color: #1f4d40;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .hero-fashion-visual {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 55vh 1fr;
  }

  .hero-fashion-col--tall.hero-fashion-col--end {
    grid-column: 1 / -1;
    max-height: 38vh;
  }

  .hero-fashion-col--tall:not(.hero-fashion-col--end) {
    grid-row: 1;
  }

  .hero-fashion-col--stack {
    grid-row: 1;
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .hero-fashion-visual {
    grid-template-columns: 1fr;
    grid-template-rows: 32vh 32vh 32vh;
  }

  .hero-fashion-col--tall,
  .hero-fashion-col--stack,
  .hero-fashion-col--end {
    grid-column: 1;
    grid-row: auto;
    max-height: none;
  }

  .hero-fashion-col--stack {
    flex-direction: row;
  }

  .hero-fashion-cell {
    flex: 1;
  }

  .hero-fashion-cell img {
    min-height: 32vh;
  }

  .hero-fashion-col--tall img {
    min-height: 32vh;
  }
}

/* Hero boutique */
.hero-shop {
  position: relative;
  scroll-margin-top: 4.5rem;
  background: linear-gradient(
    145deg,
    var(--olive-deep) 0%,
    var(--bg-site) 42%,
    #2a5c50 100%
  );
  overflow: hidden;
}

.hero-shop::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 Q15 10 30 30 T60 30' fill='none' stroke='%23ffffff' stroke-width='0.4' opacity='0.14'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.hero-shop-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-bg);
}

.hero-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-cats a {
  color: var(--text-on-bg-muted);
}

.hero-cats a:hover,
.hero-cats a.is-active {
  color: var(--gold-hover);
}

.tagline-wrap {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-on-dark);
}

.tagline {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

/* Toolbar produits */
.shop-toolbar {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border-on-dark);
  font-size: 0.8rem;
  color: var(--text-on-bg-muted);
}

.toolbar-show {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toolbar-show span {
  color: var(--text-on-bg-dim);
}

.toolbar-show button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.15rem 0.35rem;
}

.toolbar-show button:hover,
.toolbar-show button.is-active {
  color: var(--gold-hover);
  font-weight: 600;
}

.toolbar-views {
  display: flex;
  gap: 0.35rem;
}

.toolbar-views button {
  width: 36px;
  height: 32px;
  border: 1px solid var(--border-on-dark);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  border-radius: 2px;
  display: grid;
  place-items: center;
  color: var(--text-on-bg-muted);
}

.toolbar-views button:hover {
  border-color: var(--gold-hover);
  color: var(--gold-hover);
}

.toolbar-views button.is-active {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.95);
  color: #1f4d40;
}

.toolbar-sort select {
  padding: 0.45rem 2rem 0.45rem 0.65rem;
  border: 1px solid var(--border-on-dark);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--text-on-bg);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

/* Grille produits */
.shop-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.product-grid {
  display: grid;
  gap: 1.75rem;
}

.product-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.product-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.product-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.product-grid.list-view {
  grid-template-columns: 1fr;
}

@media (max-width: 1100px) {
  .product-grid.cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .product-grid.cols-3,
  .product-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .product-grid.cols-2,
  .product-grid.cols-3,
  .product-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-elevated);
  border: 1px solid var(--border-on-dark);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-card);
  border-color: rgba(221, 185, 46, 0.35);
}

.product-card.list-view {
  flex-direction: row;
  gap: 1.25rem;
}

.product-card.list-view .product-image-wrap {
  flex: 0 0 200px;
  max-width: 200px;
}

.product-image-wrap {
  aspect-ratio: 1;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-on-bg);
  line-height: 1.35;
}

.product-meta {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  color: var(--text-on-bg-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-meta .sub {
  font-style: italic;
  text-transform: none;
  letter-spacing: normal;
}

.product-price {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-bg);
}

.product-price .currency {
  color: var(--gold-hover);
}

.product-card-link {
  display: block;
}

.btn-cart {
  margin-top: auto;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: var(--white);
  color: #1f4d40;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-cart,
a.btn-cart {
  color: #1f4d40;
  text-decoration: none;
}

body:not(.admin-page) a.btn-cart {
  color: #1f4d40;
}

.btn-cart:hover {
  background: var(--gold-hover);
  color: #1f4d40;
}

body:not(.admin-page) a.btn-cart:hover {
  color: #1f4d40;
}

.btn-cart-outline {
  background: transparent;
  border: 1px solid var(--border-on-dark);
  color: var(--text-on-bg);
}

a.btn-cart.btn-cart-outline {
  color: var(--text-on-bg);
}

body:not(.admin-page) a.btn-cart.btn-cart-outline {
  color: var(--text-on-bg);
}

.btn-cart-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-hover);
}

.product-detail-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.product-detail-media {
  background: var(--surface-elevated);
  border: 1px solid var(--border-on-dark);
}

.product-detail-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 0.45rem;
  padding: 0.55rem;
  border-top: 1px solid var(--border-on-dark);
}

.product-detail-thumb {
  border: 1px solid var(--border-on-dark);
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.78;
}

.product-detail-thumb.is-active,
.product-detail-thumb:hover {
  opacity: 1;
  border-color: var(--gold-hover);
}

.product-detail-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-detail-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-bg-dim);
}

.product-detail-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 6vw, 2rem);
  color: var(--text-on-bg);
}

.product-detail-price {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-hover);
}

.product-detail-description {
  margin: 0 0 0.55rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.62;
}

.product-detail-list {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.86);
}

.product-detail-list li {
  margin: 0 0 0.35rem;
  line-height: 1.7;
}

.product-detail-break {
  height: 0.3rem;
}

.product-detail-description strong,
.product-detail-list strong {
  color: var(--text-on-bg);
  font-weight: 700;
}

.product-detail-description em,
.product-detail-list em {
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
}

.product-variants {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.product-variants label {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-bg-dim);
}

.product-variants select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border-on-dark);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-bg);
  font-family: inherit;
}

.product-variants select option {
  color: #1f4d40;
  background: #ffffff;
}

.product-detail-actions {
  display: grid;
  gap: 0.55rem;
}

.product-detail-msg {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--gold-hover);
}

@media (min-width: 901px) {
  .product-detail-page {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 1.5rem;
  }

  .product-detail-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  }

  .product-detail-title {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
  }

  .product-detail-price {
    font-size: 1.2rem;
  }
}

.empty-shop {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-on-bg-muted);
}

/* Panier latéral */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  padding: 0;
  cursor: pointer;
}

.cart-backdrop[hidden] {
  display: none !important;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 260;
  width: min(100%, 420px);
  height: 100%;
  background: var(--olive-deep);
  border-left: 1px solid var(--border-on-dark);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  color: var(--text-on-bg);
}

.cart-panel.is-open {
  transform: translateX(0);
}

.cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border-on-dark);
}

.cart-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-bg);
}

.cart-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-on-bg);
  cursor: pointer;
  border-radius: 4px;
}

.cart-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-hover);
}

.cart-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--text-on-bg-muted);
  font-size: 0.95rem;
}

.cart-lines {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1.25rem 1rem;
}

.cart-line {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-on-dark);
}

.cart-line-left {
  flex: 1;
  min-width: 0;
}

.cart-line-name {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-on-bg);
}

.cart-line-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-on-bg-muted);
}

.cart-line-price {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.cart-line-remove {
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border-on-dark);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  border-radius: 2px;
}

.cart-line-remove:hover {
  border-color: #ff8a80;
  color: #ffccbc;
}

.cart-panel-foot {
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--border-on-dark);
  background: rgba(0, 0, 0, 0.25);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.88);
}

.cart-total-row strong {
  font-size: 1.15rem;
  color: var(--gold-hover);
}

.cart-wa-hint {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  color: #ffccbc;
  line-height: 1.4;
}

.btn-whatsapp {
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 2px;
  background: #25d366;
  color: var(--white);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.2s, transform 0.05s;
}

.btn-whatsapp:hover:not(:disabled) {
  filter: brightness(1.05);
}

.btn-whatsapp:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.cart-open {
  overflow: hidden;
}


/* Page Le Cercle */
.header-inner--simple {
  justify-content: space-between;
  max-width: 1320px;
}

.nav-main a[aria-current="page"] {
  color: var(--gold-hover);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.cercle-main {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  text-align: center;
}

.cercle-ring {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(280px, 70vw);
  height: min(280px, 70vw);
  border: 1px solid var(--border-on-dark);
  border-radius: 50%;
  pointer-events: none;
}

.cercle-eyebrow {
  position: relative;
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-on-bg-muted);
}

.cercle-title {
  position: relative;
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 3.25rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--text-on-bg);
  line-height: 1.15;
}

.cercle-lead {
  position: relative;
  margin: 0 0 2.5rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.cercle-body {
  position: relative;
  text-align: left;
}

.cercle-body p {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.cercle-body strong {
  color: var(--text-on-bg);
  font-weight: 600;
}

.cercle-outro {
  font-style: italic;
  color: var(--text-on-bg-dim) !important;
  font-size: 0.9rem !important;
}

.cercle-actions {
  position: relative;
  margin: 2.75rem 0 0;
}

.btn-cercle-shop {
  display: inline-block;
  padding: 0.95rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-bg);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.btn-cercle-shop:hover {
  background: var(--white);
  border-color: var(--white);
  color: #1f4d40;
}


.hero-admin-slots {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.hero-admin-slot {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.hero-admin-slot:last-child {
  border-bottom: none;
}

.hero-admin-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--olive);
}

.hero-admin-preview {
  display: block;
  margin-top: 0.75rem;
  max-width: 180px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--gray-200);
}

/* Admin */
.admin-page {
  min-height: 100vh;
  background: var(--gray-100);
  color: var(--olive);
  padding: 2rem 1rem 4rem;
}

.admin-inner {
  max-width: 900px;
  margin: 0 auto;
}

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

.admin-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--olive);
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.admin-msg-global {
  padding-top: 1rem;
  padding-bottom: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.admin-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-accordion {
  padding: 0;
}

.admin-accordion-summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-accordion-summary::-webkit-details-marker {
  display: none;
}

.admin-accordion-summary::after {
  content: "+";
  font-size: 1.15rem;
  line-height: 1;
  color: var(--olive);
  font-weight: 700;
}

.admin-accordion[open] .admin-accordion-summary::after {
  content: "−";
}

.admin-accordion-content {
  padding: 0 1.5rem 1.5rem;
}

.admin-cat-add-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .admin-cat-add-row {
    grid-template-columns: 1fr;
  }
}

.admin-card h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--olive);
}

.admin-accordion-summary h2 {
  margin: 0;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
  color: var(--olive);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.9rem;
}

.form-row textarea {
  min-height: 90px;
  resize: vertical;
}

.editor-textarea {
  min-height: 190px;
  line-height: 1.55;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn-primary {
  background: var(--olive);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--olive);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--olive);
  color: var(--olive);
}

.btn-danger {
  background: #a94442;
  color: var(--white);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}

.admin-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

.admin-table img.thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 2px;
}

.msg {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.msg.ok {
  background: #e8f5e9;
  color: #2e7d32;
}
.msg.err {
  background: #ffebee;
  color: #c62828;
}

.key-hint {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.file-chip-list {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.file-chip-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: #f4f6f5;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
}

.file-chip-name {
  font-size: 0.78rem;
  color: var(--olive);
  word-break: break-all;
}

.file-chip-remove {
  width: 24px;
  height: 24px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: #fff;
  color: #a94442;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.file-chip-remove:hover {
  border-color: #a94442;
  background: #fff1f1;
}

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

/* Accueil : entête sans recherche */
.header-inner--home {
  justify-content: space-between;
  align-items: center;
}

.header-inner--home .nav-main {
  flex: 1;
  justify-content: center;
}

@media (max-width: 720px) {
  .header-inner--home {
    flex-wrap: wrap;
  }

  .header-inner--home .nav-main {
    order: 5;
    width: 100%;
  }
}

/* Optimisations responsive globales */
@media (max-width: 900px) {
  .header-inner {
    position: relative;
    padding: 0.85rem 1rem;
    gap: 0.75rem 1rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .header-search {
    order: 4;
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
  }

  .header-actions {
    order: 3;
    margin-left: 0;
  }

  .nav-main {
    order: 5;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 0;
    padding: 0.2rem 0.75rem;
    background: rgba(34, 83, 70, 0.98);
    border: 1px solid var(--border-on-dark);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.33);
    max-height: 75vh;
    opacity: 0;
    overflow: hidden;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 160;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav-main.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-main a {
    display: inline-block;
    width: 100%;
    padding: 0.2rem 0;
  }

  .shop-toolbar {
    padding: 1rem;
    align-items: stretch;
  }

  .toolbar-show,
  .toolbar-views,
  .toolbar-sort {
    width: 100%;
    justify-content: center;
  }

  .toolbar-show {
    flex-wrap: wrap;
  }

  .toolbar-sort select {
    width: 100%;
  }

  .product-card.list-view {
    flex-direction: column;
    gap: 0;
  }

  .product-card.list-view .product-image-wrap {
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .logo {
    font-size: 1.12rem;
  }

  .nav-main {
    font-size: 0.64rem;
    letter-spacing: 0.09em;
    gap: 0.6rem 0.9rem;
  }

  .hero-shop-inner {
    padding: 2.25rem 1rem 1.75rem;
  }

  .shop-toolbar {
    padding: 0.85rem 1rem;
  }

  .shop-main {
    padding: 1.25rem 1rem 3rem;
  }

  .toolbar-views button {
    width: 32px;
    height: 30px;
  }

  .cart-panel {
    width: 100%;
  }

  .cart-panel-head,
  .cart-lines,
  .cart-panel-foot {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .admin-page {
    padding: 1rem 0.6rem 2.5rem;
  }

  .admin-card {
    padding: 1rem;
  }

  .admin-accordion {
    padding: 0;
  }

  .admin-accordion-summary {
    padding: 0.95rem 1rem;
  }

  .admin-accordion-content {
    padding: 0 1rem 1rem;
  }

  .admin-header h1 {
    font-size: 1.15rem;
  }

  .admin-table {
    font-size: 0.78rem;
  }

  .form-actions .btn {
    width: 100%;
    text-align: center;
  }

  .cercle-main {
    padding: 2.25rem 1rem 3.5rem;
  }

  .site-version-footer {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }
}

/* Transition plein écran avant navigation vers la boutique */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(
    180deg,
    var(--olive-deep) 0%,
    var(--bg-site) 48%,
    var(--olive-deep) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
}

.page-transition.is-active {
  opacity: 1;
  pointer-events: auto;
}

body.is-page-leaving .hero-fashion {
  pointer-events: none;
}

/* Entrée page boutique */
.page-boutique .boutique-stage {
  animation: mm-boutique-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mm-boutique-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-transition {
    transition-duration: 0.01ms !important;
  }

  .page-transition.is-active {
    opacity: 1;
  }

  .page-boutique .boutique-stage {
    animation: none !important;
  }
}

/* Connexion admin (session serveur) */
.admin-login-screen {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.admin-login-inner {
  width: 100%;
  max-width: 440px;
}

.admin-login-card .admin-login-title {
  margin-top: 0;
  font-size: 1.35rem;
  color: var(--olive);
}

.site-version-footer {
  text-align: center;
  padding: 1.75rem 1rem 2rem;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-on-bg-dim);
}

.site-version-footer--admin {
  letter-spacing: 0.22em;
  color: var(--gray-400);
}
