/* ============================================================
   TOCI Chakras — Skin homepage
   Fichier : skins/chakras/chakras-homepage.css
   Périmètre : styles module homepage TOCI uniquement
   Fond pleine page : kadence-child-optimized/style.css
   Fonts / couleurs globales : Apparence > Typo (Kadence)
   ============================================================ */


/* ── HERO ────────────────────────────────────────────────── */

.toci-hero {
  background: transparent;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.toci-hero-title {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
  margin-bottom: 0.6rem;
}

.toci-hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 2.5rem;
}


/* ── BARRE DE RECHERCHE ──────────────────────────────────── */

.toci-search-wrap {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.toci-search-row {
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.toci-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  background: transparent;
  color: #1a1a2e;
}

.toci-search-input::placeholder { color: #9ca3af; }

.toci-btn-diag {
  background: #4c1d95;
  color: #ffffff;
  border: none;
  padding: 1rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.toci-btn-diag:hover { background: #5b21b6; }

.toci-upload-row {
  text-align: center;
  margin-top: 0.6rem;
}

.toci-btn-upload {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.2s;
}

.toci-btn-upload:hover { color: #ffffff; }


/* ── FILTRES CHAKRAS ─────────────────────────────────────── */

.toci-filters-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.toci-filter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  min-width: 90px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.toci-filter-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.toci-filter-card[data-entity="1572"] { background: #b91c1c; } /* Racine   */
.toci-filter-card[data-entity="1573"] { background: #c2410c; } /* Sacré    */
.toci-filter-card[data-entity="1574"] { background: #a16207; } /* Plexus   */
.toci-filter-card[data-entity="1575"] { background: #15803d; } /* Cœur     */
.toci-filter-card[data-entity="1576"] { background: #1d4ed8; } /* Gorge    */
.toci-filter-card[data-entity="1577"] { background: #4338ca; } /* 3e œil   */
.toci-filter-card[data-entity="1578"] { background: #7e22ce; } /* Couronne */

.toci-filter-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toci-filter-icon img,
.toci-filter-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.toci-filter-name {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  line-height: 1.2;
}

.toci-filter-cta {
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.68rem;
  text-align: center;
}


/* ── RÉSULTATS ───────────────────────────────────────────── */

.toci-results {
  width: 100%;
  max-width: 860px;
  margin: 2rem auto 0;
  padding: 0 1rem;
}


/* ── EN-TÊTES DE SECTION ─────────────────────────────────── */

.toci-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 0 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.toci-section-header h2 { color: #ffffff; margin: 0; }

.toci-section-header a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.toci-section-header a:hover { color: #ffffff; }


/* ── SECTION BLOG ────────────────────────────────────────── */

.toci-blog-section { padding: 3rem 1.5rem; }

.toci-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.toci-blog-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.toci-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.toci-blog-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.toci-blog-img img { width: 100%; height: 100%; object-fit: cover; }
.toci-blog-img-ph { width: 100%; height: 100%; background: rgba(255,255,255,0.05); }

.toci-blog-body { padding: 1rem 1rem 0.5rem; }

.toci-blog-cat {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.4rem;
}

.toci-blog-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.toci-blog-excerpt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.toci-blog-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
}

.toci-btn-like,
.toci-btn-comments,
.toci-btn-share {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.toci-btn-like:hover,
.toci-btn-comments:hover,
.toci-btn-share:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.toci-like-count { font-size: 0.78rem; }


/* ── SECTION BOUTIQUE ────────────────────────────────────── */

.toci-shop-section { padding: 3rem 1.5rem; }

.toci-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.toci-prod-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.toci-prod-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.toci-prod-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
}

.toci-prod-img img { width: 100%; height: 100%; object-fit: cover; }

.toci-btn-wish {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.toci-btn-wish:hover { color: #f43f5e; background: rgba(0,0,0,0.55); }

.toci-prod-body { padding: 0.75rem 0.75rem 0.25rem; }

.toci-prod-name {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.toci-prod-price {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  margin: 0;
}

.toci-prod-footer {
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
}

.toci-btn-cart {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.toci-btn-cart:hover { background: rgba(255, 255, 255, 0.22); }

.toci-btn-share-sm {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.55);
  border-radius: 5px;
  padding: 0.4rem 0.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.toci-btn-share-sm:hover { color: #ffffff; }


/* ── PARTAGE ─────────────────────────────────────────────── */

.toci-share-tray {
  background: rgba(8, 5, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1rem;
}

.toci-share-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.toci-share-btn {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  border-radius: 5px;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.2s;
}

.toci-share-btn:hover { background: rgba(255, 255, 255, 0.20); }

.toci-copy-ok {
  color: #34d399;
  font-size: 0.82rem;
  margin: 0.5rem 0 0;
}


/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 600px) {
  .toci-hero { padding: 3rem 1rem 2rem; min-height: 60vh; }
  .toci-filters-grid { gap: 0.5rem; }
  .toci-filter-card { min-width: 75px; padding: 0.6rem; }
  .toci-filter-icon { width: 36px; height: 36px; }
  .toci-blog-grid { grid-template-columns: 1fr; }
  .toci-shop-grid { grid-template-columns: repeat(2, 1fr); }
}
