/* ============================================
   Jessica Moro — Main Stylesheet
   Charte: Vélin Doré
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Sticky footer — pousse le footer en bas quand peu de contenu */
body > .site-main,
body > main {
  flex: 1 0 auto;
}
body > .site-footer {
  flex-shrink: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: 780px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-text);
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
}

h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.2;
}

h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.3;
}

h4 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

p {
  margin-bottom: 1rem;
}

blockquote {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text);
  padding-left: 1.5rem;
  border-left: 1px solid var(--color-accent);
  margin: 2rem 0;
}

/* --- Section Marker --- */
.section-marker {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.7;
  margin-bottom: 1.2rem;
}

/* --- Top bar (email + Instagram) --- */
.site-topbar {
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
}
.site-topbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6px var(--gutter);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}
.site-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s;
}
.site-topbar__link:hover { color: #FFFFFF; }
.site-topbar__link svg { flex-shrink: 0; }

/* Bloc social du menu mobile — caché en desktop */
.site-nav__social { display: none; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--color-border); }

/* Page artwork fullscreen — bloquer le scroll du body uniquement en desktop */
@media (min-width: 768px) {
  .artwork-fullscreen {
    overflow: hidden;
    height: 100vh;
  }
}

/* Masquer la top bar sur les pages artwork fullscreen */
.artwork-fullscreen .site-topbar {
  display: none;
}

/* Header fixé (opaque) sur les pages artwork fullscreen */
.artwork-fullscreen .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 0.5px solid var(--color-border);
}

/* Header transparent sur la homepage — fond parchemin au scroll */
.home-fullscreen-hero .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  transition: background 0.3s, border-color 0.3s;
}
.home-fullscreen-hero .site-header.scrolled {
  background: rgba(245, 242, 237, 0.96);
  border-bottom: 0.5px solid #E8E0D0;
}
.home-fullscreen-hero .site-topbar {
  background: rgba(42, 34, 24, 0.85);
}
/* Logo et liens en teinte sombre mais lisible sur fond héro */
.home-fullscreen-hero .site-header:not(.scrolled) .site-logo,
.home-fullscreen-hero .site-header:not(.scrolled) .nav-links a,
.home-fullscreen-hero .site-header:not(.scrolled) .nav-cta-link {
  color: rgba(42, 34, 24, 0.85);
}
.home-fullscreen-hero .site-header:not(.scrolled) .nav-cta-btn {
  border-color: rgba(42, 34, 24, 0.6);
  color: rgba(42, 34, 24, 0.85);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem var(--gutter);
  gap: 2rem;
}

/* Logo */
.site-logo-link {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-logo-img {
  height: 50px;
  width: auto;
  display: block;
}
.site-logo-text {
  display: flex;
  flex-direction: column;
}
.site-logo {
  font-family: var(--font-logo);
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--color-text);
  text-transform: uppercase;
  display: block;
}
.site-tagline {
  font-family: var(--font-logo);
  font-size: 7px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-top: 2px;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
  justify-content: flex-end;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links .current-menu-item a { color: var(--color-text); }

/* CTA group */
.nav-cta-group { flex-shrink: 0; display: flex; align-items: center; gap: 1rem; }
.nav-cta-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-cta-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 0.5px solid var(--color-text);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-cta-btn:hover { background: var(--color-text); color: var(--color-bg); }

.nav-cta-link {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-cta-link:hover { color: var(--color-text-muted); }

.nav-cta-group::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 16px;
  background: var(--color-border);
  vertical-align: middle;
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--color-text-light);
  transition: color 0.15s;
}
.nav-cart:hover { color: var(--color-text); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 300;
  color: var(--color-text);
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 0.5px;
  background: var(--color-text);
  transition: transform 0.2s, opacity 0.2s;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  border: 0.5px solid var(--color-text);
  padding: 10px 28px;
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-primary:hover {
  background: var(--color-text);
  color: #FFFFFF;
}

.btn-secondary {
  display: inline-block;
  border: 0.5px solid var(--color-border);
  padding: 10px 28px;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

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

.link-accent {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  border-bottom: 0.5px solid var(--color-accent);
  padding-bottom: 2px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  background: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.link-accent:hover {
  opacity: 0.7;
}

/* --- Hero Section --- */
.hero {
  padding: clamp(3rem, 8vw, 8rem) 0;
}

.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.hero-content {
  max-width: 500px;
}

.hero-lead {
  margin: 1.5rem 0 2.5rem;
}

.hero-image img,
.hero-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 0.5px solid var(--color-border);
}

.hero-placeholder {
  background: var(--color-bg-soft);
}

/* --- Collection Section --- */
.collection-section {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-footer {
  margin-top: 3rem;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

/* --- Product Card --- */
.products-grid,
.woocommerce ul.products {
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  height: 100%;
}

.product-card__image-link {
  display: block;
  overflow: hidden;
  background: var(--color-bg-soft);
  border: 0.5px solid var(--color-border);
  flex-shrink: 0;
}

.product-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

.product-card__image-link:hover .product-card__image img {
  transform: scale(1.04);
  opacity: 0.95;
}

.product-card__info {
  padding: 1rem 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.3rem;
}

.product-card__cat {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-light);
  min-height: 14px;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(17px * 1.3 * 2);
}

.product-card__title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s;
}

.product-card__title a:hover {
  color: var(--color-text-muted);
}

.product-card__price {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-top: auto;
  padding-top: 0.6rem;
}

.product-card__price .woocommerce-Price-amount {
  color: var(--color-text);
}

.product-card__btn {
  margin-top: 0.8rem;
  padding: 9px 18px;
  align-self: stretch;
  text-align: center;
  border: 0.5px solid var(--color-text);
  background: transparent;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.product-card__btn:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

/* Harmoniser les hauteurs dans les grilles WooCommerce */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}
.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
.products-grid {
  align-items: stretch;
}
.products-grid > * {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* --- About Strip --- */
.about-strip {
  padding: clamp(3rem, 6vw, 6rem) 0;
  background: var(--color-bg-soft);
}

.about-strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.about-strip__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 0.5px solid var(--color-border);
}

.about-strip__content {
  max-width: 500px;
}

.about-strip__quote {
  margin: 1.5rem 0;
}

/* --- Commande CTA --- */
.commande-cta {
  padding: clamp(3rem, 6vw, 6rem) 0;
  text-align: center;
}

.commande-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.commande-cta__inner .section-marker {
  margin: 0 auto 0.5rem;
}

.commande-cta__closed {
  font-style: italic;
  color: var(--color-text-light);
}

/* --- Single Product Page --- */
.single-product-page {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.product-category {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 0.5rem;
}

.product-category a {
  color: var(--color-text-light);
}

.product-title {
  margin-bottom: 1rem;
}

.product-price {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.product-short-description {
  margin-bottom: 1.5rem;
}

.product-short-description p {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Description longue pleine largeur --- */
.product-full-description {
  margin-top: clamp(3rem, 5vw, 5rem);
  padding-top: clamp(3rem, 5vw, 5rem);
  border-top: 0.5px solid var(--color-border);
  max-width: 780px;
}

.product-full-description h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  margin-bottom: 2rem;
}

.product-full-description__content p {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.product-full-description__content h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  color: var(--color-text);
  margin: 2.5rem 0 1rem;
}

.product-meta-table {
  margin: 2rem 0;
  border-top: 0.5px solid var(--color-border);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 0.5px solid var(--color-border);
  font-size: 12px;
}

.meta-label {
  font-weight: 300;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
}

.meta-value {
  color: var(--color-text);
}

.product-commande-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--color-bg-soft);
  border: 0.5px solid var(--color-border);
}

.product-commande-note p {
  margin-bottom: 0.8rem;
}

/* --- Shop Page --- */
.shop-page {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.shop-header {
  margin-bottom: 3rem;
}

/* --- Page Content --- */
.page-content {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.page-header {
  margin-bottom: 2.5rem;
}

.entry-content {
  max-width: 720px;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

/* --- 404 --- */
.page-404 {
  text-align: center;
  padding: clamp(4rem, 10vw, 10rem) 0;
}

.page-404 h1 {
  margin-bottom: 1rem;
}

.page-404 p {
  margin-bottom: 2rem;
}

.page-404 .section-marker {
  margin: 0 auto 1.2rem;
}

/* --- Posts Grid --- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.post-card h3 {
  margin-top: 0.8rem;
}

.post-card h3 a:hover {
  color: var(--color-text-muted);
}

/* --- Footer --- */
.site-footer {
  border-top: 0.5px solid var(--color-border);
  padding: 0.6rem 0;
  margin-top: 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.2rem;
  row-gap: 0.2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}
.footer-brand .footer-logo { font-size: 11px; }
.footer-brand .footer-tagline { font-size: 9px; display: inline; }

.footer-logo {
  font-family: var(--font-logo);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
}

.footer-tagline {
  display: block;
  font-family: var(--font-logo);
  font-size: 7px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.footer-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.footer-menu a {
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.footer-menu a:hover {
  color: var(--color-text);
}

.footer-social a {
  color: var(--color-text-light);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--color-text);
}

.footer-legal {
  width: 100%;
  text-align: center;
  margin-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  padding-top: 0.3rem;
  border-top: 0.5px dashed var(--color-border);
}
.footer-legal .footer-text,
.footer-legal .footer-links,
.footer-legal p {
  margin: 0;
  font-size: 9px;
  line-height: 1.4;
}
.footer-links {
  display: inline-flex;
  gap: 0.6rem;
}
.footer-social a svg { display: block; }

.footer-legal p {
  font-size: 10px;
  color: var(--color-text-light);
  margin: 0;
}

/* --- Archive --- */
.archive-header {
  margin-bottom: 3rem;
}

.archive-description {
  margin-top: 0.5rem;
}

/* --- Gallery Archive (artwork) --- */
.gallery-archive {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.gallery-header {
  margin-bottom: 2.5rem;
}

.gallery-header h1 {
  margin-bottom: 0.5rem;
}

.gallery-intro {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: 560px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.filter-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  padding-bottom: 2px;
  border-bottom: 0.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.filter-link:hover,
.filter-link.is-active {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.gallery-pagination {
  margin-top: 3rem;
  text-align: center;
}

.gallery-pagination .nav-links {
  display: inline-flex;
  gap: 0.5rem;
}

.gallery-pagination a,
.gallery-pagination span {
  font-family: var(--font-body);
  font-size: 12px;
  padding: 6px 12px;
  border: 0.5px solid var(--color-border);
  color: var(--color-text-muted);
}

.gallery-pagination span.current {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

.gallery-empty {
  text-align: center;
  font-style: italic;
  color: var(--color-text-light);
  padding: 4rem 0;
}

/* --- Artwork Card --- */
.artwork-card {
  background: transparent;
}

.artwork-card__link {
  display: block;
}

.artwork-card__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 0.5px solid var(--color-border);
  transition: opacity 0.3s;
}

.artwork-card__link:hover .artwork-card__image img {
  opacity: 0.85;
}

.artwork-card__placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--color-bg-soft);
  border: 0.5px solid var(--color-border);
}

.artwork-card__info {
  padding: 0.8rem 0;
}

.artwork-card__cat {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 0.3rem;
}

.artwork-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.artwork-card__technique {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Product → Artwork back link --- */
.product-artwork-link {
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: var(--color-bg-soft);
  border: 0.5px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-artwork-link__thumb {
  flex-shrink: 0;
  width: 60px;
  height: 75px;
}

.product-artwork-link__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-artwork-link__text {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-text-muted);
}

.product-artwork-link__text strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  display: block;
  margin-bottom: 2px;
}

/* --- WooCommerce Pagination --- */
.woocommerce nav.woocommerce-pagination {
  margin-top: 3rem;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  gap: 0.5rem;
  list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  font-family: var(--font-body);
  font-size: 12px;
  padding: 6px 12px;
  border: 0.5px solid var(--color-border);
  color: var(--color-text-muted);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

/* ── Page Commande & Contact ─────────────────────────────── */
.page-commande-contact .page-header {
  padding: calc(var(--gutter) * 2) 0 var(--gutter);
  border-bottom: 0.5px solid var(--color-border);
}
.page-header__intro {
  max-width: 560px;
  margin-top: 0.8rem;
}

.commande-contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  padding-top: var(--gutter);
  padding-bottom: var(--gutter);
  align-items: start;
}

/* Onglets */
.form-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 0.5px solid var(--color-border);
}
.form-tab {
  padding: 10px 24px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  margin-bottom: -0.5px;
  transition: color 0.15s, border-color 0.15s;
}
.form-tab.active { color: var(--color-text); border-bottom-color: var(--color-text); }
.form-tab:hover { color: var(--color-text); }

.form-panel { display: none; }
.form-panel.active { display: block; }

/* Formulaire */
.jm-form { display: flex; flex-direction: column; gap: 1.2rem; }
.jm-field { display: flex; flex-direction: column; gap: 6px; }
.jm-field label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.jm-field input,
.jm-field select,
.jm-field textarea {
  border: 0.5px solid var(--color-border);
  background: transparent;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}
.jm-field input:focus,
.jm-field select:focus,
.jm-field textarea:focus { border-color: var(--color-text); }

/* Aside artiste */
.commande-contact-aside { position: sticky; top: 6rem; }
.aside-artist-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(20%);
  margin-bottom: 1.5rem;
}
.aside-artist-info h2 {
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 0.8rem;
}
.aside-artist-info .link-accent {
  display: block;
  margin-top: 0.5rem;
}
.aside-citation {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 1px solid var(--color-accent);
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.commandes-fermees-notice {
  margin-top: 1.5rem;
  padding: 12px 16px;
  border: 0.5px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Toast */
.jm-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  padding: 12px 28px;
  white-space: nowrap;
  animation: fadeout 4s forwards;
  z-index: 999;
}
@keyframes fadeout { 0%,70%{opacity:1} 100%{opacity:0;pointer-events:none} }
