/*
Theme Name: SGlow Paris
Theme URI: https://sglowparis.fr
Author: SGlow Paris
Description: Boutique K-Beauty premium — SGlow Paris. Skincare coréen authentique expédié depuis Paris.
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
License: Propriétaire
Text Domain: sglow
WC requires at least: 7.0
WC tested up to: 9.0
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a2a2a;
  background: #fafaf8;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --jade:        #2a6b5a;
  --jade-dark:   #1e4f43;
  --jade-light:  #e8f4f0;
  --accent:      #d4956a;
  --cream:       #f6f1eb;
  --white:       #ffffff;
  --text:        #1a2a2a;
  --text-muted:  #5a6e6b;
  --border:      #e0e8e5;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,.09);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.12);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-full: 999px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p  { line-height: 1.7; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-title { text-align: center; margin-bottom: .75rem; }
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--jade);
  color: #fff;
  border-color: var(--jade);
}
.btn-primary:hover {
  background: var(--jade-dark);
  border-color: var(--jade-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--jade);
  border-color: var(--jade);
}
.btn-outline:hover {
  background: var(--jade);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--jade);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--cream);
}
.btn-sm { padding: .55rem 1.2rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.4rem; font-size: 1.05rem; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--jade);
  color: #fff;
  text-align: center;
  padding: .55rem 1rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  position: relative;
  z-index: 200;
}
.announcement-bar a { color: #fff; text-decoration: underline; }
.announcement-items { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.ann-item { display: none; }
.ann-item.active { display: inline; }
@media (max-width: 600px) { .announcement-items { gap: .8rem; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}
.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.logo-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--jade);
  letter-spacing: -.01em;
}
.logo-sub {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}
.primary-nav { display: flex; align-items: center; gap: .2rem; }
.primary-nav a {
  padding: .5rem .9rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: background .2s, color .2s;
}
.primary-nav a:hover,
.primary-nav a.current { background: var(--jade-light); color: var(--jade); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text);
  transition: background .2s, color .2s;
  position: relative;
}
.icon-btn:hover { background: var(--jade-light); color: var(--jade); }
.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--accent);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
@media (max-width: 900px) {
  .primary-nav { display: none; position: fixed; inset: 0; top: 112px; background: #fff; flex-direction: column; align-items: flex-start; padding: 2rem; gap: .5rem; z-index: 99; box-shadow: var(--shadow-lg); }
  .primary-nav.open { display: flex; }
  .primary-nav a { font-size: 1.1rem; width: 100%; padding: .8rem 1rem; }
  .menu-toggle { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0d3d2e 0%, #1a5a45 40%, #2a6b5a 100%);
  color: #fff;
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,149,106,.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-full);
  padding: .35rem .9rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.2rem;
}
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero-desc {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-stat span { font-size: .78rem; color: rgba(255,255,255,.7); letter-spacing: .05em; }
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
}
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-md);
  padding: 1.2rem;
  backdrop-filter: blur(8px);
  transition: transform .3s;
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card:nth-child(2) { margin-top: 1.5rem; }
.hero-card:nth-child(4) { margin-top: -1.5rem; }
.hero-card-emoji { font-size: 1.8rem; margin-bottom: .5rem; }
.hero-card-name { font-size: .85rem; font-weight: 600; color: #fff; margin-bottom: .2rem; }
.hero-card-brand { font-size: .72rem; color: rgba(255,255,255,.65); }
.hero-card-price { font-size: 1rem; font-weight: 700; color: var(--accent); margin-top: .5rem; }
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ============================================================
   REASSURANCE BAR
   ============================================================ */
.reassurance-bar {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}
.reassurance-items {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.reassurance-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
}
.reassurance-item .r-icon { font-size: 1.2rem; }
.reassurance-item strong { color: var(--text); }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.category-card {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  background: var(--jade-light);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.category-card-overlay {
  position: relative;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  padding: 1.2rem;
  color: #fff;
}
.category-card-name { font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.category-card-count { font-size: .78rem; opacity: .8; }
@media (max-width: 900px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .categories-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.product-card {
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card-img {
  aspect-ratio: 1;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.product-badge {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: var(--accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.product-badge.new { background: var(--jade); }
.product-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: .3rem; }
.product-brand { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--jade); }
.product-name { font-family: 'Playfair Display', serif; font-size: .95rem; font-weight: 600; line-height: 1.3; color: var(--text); }
.product-stars { color: #f6c90e; font-size: .8rem; }
.product-stars span { color: var(--text-muted); font-size: .75rem; margin-left: .2rem; }
.product-price { font-size: 1.05rem; font-weight: 700; color: var(--jade); margin-top: auto; }
.product-price del { color: var(--text-muted); font-weight: 400; font-size: .85rem; margin-right: .3rem; }
.product-card-footer { padding: 0 1rem 1rem; }
.btn-add {
  width: 100%;
  padding: .65rem;
  background: var(--jade);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: .85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  transition: background .2s;
  border: none;
  cursor: pointer;
}
.btn-add:hover { background: var(--jade-dark); }
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.social-proof { background: var(--jade); color: #fff; padding: 3rem 0; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.proof-number { font-size: 2.5rem; font-weight: 800; color: #fff; display: block; }
.proof-label { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: .2rem; }
@media (max-width: 768px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   BRANDS
   ============================================================ */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.brand-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1rem .8rem;
  text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.brand-card:hover { border-color: var(--jade); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.brand-emoji { font-size: 1.6rem; }
.brand-name { font-size: .75rem; font-weight: 600; color: var(--text); }
.brand-origin { font-size: .65rem; color: var(--text-muted); }
@media (max-width: 900px) { .brands-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .brands-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   ROUTINES TABS
   ============================================================ */
.routines-tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.routine-tab {
  padding: .6rem 1.4rem;
  border-radius: var(--r-full);
  border: 2px solid var(--border);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  cursor: pointer;
  transition: all .2s;
}
.routine-tab:hover,
.routine-tab.active {
  border-color: var(--jade);
  background: var(--jade);
  color: #fff;
}
.routine-panel { display: none; }
.routine-panel.active { display: block; }
.routine-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.routine-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow .2s;
}
.routine-step:hover { box-shadow: var(--shadow-sm); }
.step-num {
  width: 36px; height: 36px;
  background: var(--jade);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0;
}
.step-content h4 { font-size: .9rem; font-weight: 700; margin-bottom: .3rem; color: var(--text); }
.step-content p { font-size: .8rem; color: var(--text-muted); line-height: 1.5; }
.step-product { font-size: .75rem; color: var(--jade); font-weight: 600; margin-top: .4rem; }
@media (max-width: 768px) { .routine-steps { grid-template-columns: 1fr; } }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem;
}
.review-stars { color: #f6c90e; font-size: 1rem; margin-bottom: .6rem; }
.review-text { font-size: .88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: .7rem; }
.reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--jade-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.reviewer-name { font-size: .85rem; font-weight: 700; }
.reviewer-date { font-size: .72rem; color: var(--text-muted); }
@media (max-width: 768px) { .reviews-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) and (min-width: 769px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.blog-card {
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img {
  aspect-ratio: 16/9;
  background: var(--jade-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.3rem; }
.blog-cat {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: .4rem;
  display: block;
}
.blog-card-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.35; }
.blog-card-excerpt { font-size: .83rem; color: var(--text-muted); line-height: 1.6; margin-bottom: .8rem; }
.blog-meta { font-size: .75rem; color: var(--text-muted); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--jade) 0%, var(--jade-dark) 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.newsletter-section h2 { color: #fff; margin-bottom: .8rem; }
.newsletter-section p { color: rgba(255,255,255,.82); margin-bottom: 2rem; }
.newsletter-perks {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.newsletter-perk { font-size: .85rem; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: .4rem; }
.newsletter-form {
  display: flex;
  gap: .8rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-input {
  flex: 1;
  min-width: 220px;
  padding: .85rem 1.2rem;
  border-radius: var(--r-full);
  border: 2px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .95rem;
  outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-input:focus { border-color: rgba(255,255,255,.7); }
.newsletter-msg { margin-top: 1rem; font-size: .9rem; min-height: 1.4rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0d1f1a; color: rgba(255,255,255,.75); padding: 4rem 0 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-main { color: #fff; font-size: 1.4rem; margin-bottom: .8rem; display: block; }
.footer-brand p { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.6); max-width: 280px; margin-bottom: 1.2rem; }
.footer-socials { display: flex; gap: .6rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background .2s;
  text-decoration: none;
}
.social-link:hover { background: var(--jade); }
.footer-col h4 { font-size: .85rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.2rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.payment-badges { display: flex; gap: .4rem; flex-wrap: wrap; }
.payment-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  padding: .2rem .6rem;
  font-size: .7rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================================
   PAGE HERO (pages intérieures)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--jade) 0%, var(--jade-dark) 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.page-hero p { color: rgba(255,255,255,.8); margin-top: .5rem; }
.breadcrumb { display: flex; justify-content: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: .8rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }

/* ============================================================
   SHOP
   ============================================================ */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; padding: 2.5rem 0; }
.shop-sidebar { position: sticky; top: 90px; align-self: start; }
.filter-group { margin-bottom: 1.8rem; }
.filter-group h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: .8rem; }
.filter-list { display: flex; flex-direction: column; gap: .4rem; }
.filter-item { font-size: .88rem; color: var(--text-muted); cursor: pointer; padding: .3rem 0; display: flex; align-items: center; gap: .5rem; }
.filter-item:hover { color: var(--jade); }
.filter-item input { accent-color: var(--jade); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.results-count { font-size: .88rem; color: var(--text-muted); }
.sort-select { border: 1px solid var(--border); border-radius: var(--r-sm); padding: .5rem .8rem; font-size: .85rem; color: var(--text); }
.shop-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.btn-filter-mobile { display: none; }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; position: fixed; inset: 0; top: 0; z-index: 999; background: #fff; padding: 2rem; overflow-y: auto; }
  .shop-sidebar.open { display: block; }
  .shop-products { grid-template-columns: repeat(2, 1fr); }
  .btn-filter-mobile { display: flex; align-items: center; gap: .4rem; }
}

/* ============================================================
   PRODUCT SINGLE
   ============================================================ */
.product-single { padding: 3rem 0; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-gallery-main {
  aspect-ratio: 1;
  background: var(--cream);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 8rem;
  overflow: hidden;
  position: relative;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 72px; height: 72px;
  border-radius: var(--r-sm);
  background: var(--cream);
  border: 2px solid transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  transition: border-color .2s;
  overflow: hidden;
}
.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--jade); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info-brand { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--jade); margin-bottom: .4rem; }
.product-info-title { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .6rem; }
.product-info-rating { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .88rem; }
.product-info-price { font-size: 1.8rem; font-weight: 800; color: var(--jade); margin-bottom: 1rem; }
.product-info-price del { font-size: 1.1rem; font-weight: 400; color: var(--text-muted); margin-right: .4rem; }
.product-short-desc { font-size: .92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.skin-badges { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.skin-badge { background: var(--jade-light); color: var(--jade); border-radius: var(--r-full); padding: .25rem .7rem; font-size: .75rem; font-weight: 600; }
.add-to-cart-row { display: flex; gap: .8rem; margin-bottom: 1.5rem; align-items: center; }
.qty-input { width: 70px; height: 48px; border: 1px solid var(--border); border-radius: var(--r-sm); text-align: center; font-size: 1rem; }
.product-reassurance { background: var(--cream); border-radius: var(--r-md); padding: 1.2rem; margin-bottom: 1.2rem; }
.product-reassurance-items { display: flex; flex-direction: column; gap: .7rem; }
.product-reassurance-item { display: flex; align-items: center; gap: .6rem; font-size: .83rem; }
.product-reassurance-item .icon { font-size: 1.1rem; }
.product-tabs-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem; margin-top: 2rem; overflow-x: auto; }
.ptab { padding: .7rem 1.3rem; font-size: .9rem; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; transition: color .2s; }
.ptab.active { color: var(--jade); border-bottom-color: var(--jade); }
.ptab-panel { display: none; }
.ptab-panel.active { display: block; }
@media (max-width: 768px) { .product-layout { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 3rem 0; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--text); }
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .92rem;
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-control:focus { border-color: var(--jade); box-shadow: 0 0 0 3px rgba(42,107,90,.1); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card { background: var(--cream); border-radius: var(--r-md); padding: 1.3rem; display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-info-card h4 { font-size: .9rem; font-weight: 700; margin-bottom: .2rem; }
.contact-info-card p { font-size: .83rem; color: var(--text-muted); }
.faq-accordion { margin-top: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { padding: 1rem 0; font-weight: 600; cursor: pointer; font-size: .9rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--jade); transition: transform .2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 0 1rem; font-size: .88rem; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } .form-row-2 { grid-template-columns: 1fr; } }

/* ============================================================
   LEGAL / ABOUT PAGES
   ============================================================ */
.prose-content { max-width: 860px; margin: 0 auto; padding: 3rem 0; }
.prose-content h2 { font-size: 1.4rem; margin: 2rem 0 .8rem; color: var(--jade); }
.prose-content h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.prose-content p, .prose-content li { font-size: .92rem; color: var(--text-muted); line-height: 1.8; margin-bottom: .6rem; }
.prose-content ul { padding-left: 1.5rem; list-style: disc; }
.prose-content table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .88rem; }
.prose-content th, .prose-content td { border: 1px solid var(--border); padding: .6rem .9rem; text-align: left; }
.prose-content th { background: var(--cream); font-weight: 700; }

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   WOOCOMMERCE OVERRIDES (si WooCommerce actif)
   ============================================================ */
.woocommerce-breadcrumb { display: none !important; }
.woocommerce .woocommerce-result-count { font-size: .88rem; color: var(--text-muted); }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 1.2rem !important; }
.woocommerce ul.products li.product { float: none !important; width: 100% !important; margin: 0 !important; }
.woocommerce .button, .woocommerce button.button { background: var(--jade) !important; color: #fff !important; border-radius: var(--r-sm) !important; border: none !important; padding: .65rem 1.2rem !important; font-weight: 600 !important; transition: background .2s !important; }
.woocommerce .button:hover { background: var(--jade-dark) !important; }
.woocommerce-page .entry-title { display: none; }
