/* ================================================
   FLUFFY CAT HOTEL — Shop / Page produit Herbacha
   Styles partagés (versions A & C)
   S'appuie sur les variables de style.css
   ================================================ */

/* --- Placeholders image (à remplacer par <img> quand photos prêtes) --- */
.img-ph {
  position: relative;
  width: 100%;
  background:
    linear-gradient(135deg, var(--sage-bg) 0%, var(--cream-dark) 100%);
  border: 1.5px dashed var(--sage-light);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
  color: var(--sage-dark);
}
.img-ph::before {
  content: "";
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%238B9E8B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.img-ph .ph-tag {
  position: absolute;
  top: 0.7rem; left: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--sage);
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
}
.img-ph .ph-num {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.img-ph .ph-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-mid);
  max-width: 30ch;
}
.ratio-1 { aspect-ratio: 1 / 1; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-169 { aspect-ratio: 16 / 9; }

/* --- Vraies photos (remplacent les placeholders) --- */
.shop-img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.gallery-thumbs .shop-img { border-radius: var(--radius-sm); }
.gthumb {
  cursor: pointer;
  opacity: 0.6;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: opacity 0.2s, outline-color 0.2s;
}
.gthumb:hover { opacity: 1; }
.gthumb.is-active { opacity: 1; outline-color: var(--sage); }

/* --- Bandeau d'info démo (retiré en prod) --- */
.demo-flag {
  background: var(--gold);
  color: var(--white);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
}
.demo-flag strong { font-weight: 600; }

/* --- Fil d'Ariane --- */
.crumb {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.03em;
}
.crumb a:hover { color: var(--sage); }

/* ================================================
   BLOC PRODUIT (version C — type fiche e-commerce)
   ================================================ */
.product-top {
  padding: 130px 0 90px;
  background: var(--cream);
}
.product-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: start;
}
.gallery-main { margin-bottom: 1rem; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.gallery-thumbs .img-ph { border-radius: var(--radius-sm); cursor: pointer; }
.gallery-thumbs .img-ph .ph-desc { display: none; }
.gallery-thumbs .img-ph::before { width: 30px; height: 30px; }

.buybox { position: sticky; top: 100px; }
.buybox .eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}
.buybox h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 0.6rem 0 0.3rem;
}
.buybox .subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.rating-row .stars { letter-spacing: 0.1em; }
.rating-row span { color: var(--text-light); }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.price-row .price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--text-dark);
}
.price-row .price-note { font-family: var(--font-body); font-size: 0.85rem; color: var(--text-light); }

.buy-feats { margin: 0 0 1.8rem; }
.buy-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.5rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--cream-dark);
}
.buy-feats li svg { flex: none; color: var(--sage); margin-top: 2px; }

.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.qty-row .qty-label { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-mid); }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--beige);
  border-radius: 100px;
  overflow: hidden;
}
.qty-stepper button {
  width: 42px; height: 42px;
  font-size: 1.2rem;
  color: var(--sage-dark);
  transition: background var(--transition);
}
.qty-stepper button:hover { background: var(--sage-bg); }
.qty-stepper .qty-val {
  width: 44px; text-align: center;
  font-family: var(--font-body); font-weight: 600; color: var(--text-dark);
}
.buybox .btn-primary { width: 100%; justify-content: center; padding: 1.1rem; font-size: 1rem; }
.buybox .buy-reassure {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex; align-items: center; gap: 0.5rem; justify-content: center;
}

/* ================================================
   HERO STORYTELLING (version A)
   ================================================ */
.story-hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--sage-bg) 0%, var(--cream) 100%);
  overflow: hidden;
}
.story-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.story-hero h1 { margin: 0.8rem 0 1.2rem; }
.story-hero .lead {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 46ch;
}
.story-hero .hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.story-hero .hero-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-dark);
}
.hero-badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sage-dark);
}
.hero-badge-soft svg { color: var(--gold); }
.story-hero .hero-visual { position: relative; }
.story-hero .hero-visual .img-ph { box-shadow: var(--shadow-lg); }

/* ================================================
   SECTIONS COMMUNES
   ================================================ */
.section-head { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.section-head p { margin-top: 0.8rem; }

/* Value props */
.values { background: var(--white); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-card {
  text-align: center;
  padding: 2rem 1.3rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .v-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage-bg);
  border-radius: 50%;
  color: var(--sage-dark);
}
.value-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; }

/* Story */
.story-block .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.story-block.reverse .story-text { order: 2; }
.story-block .story-text h2 { margin: 0.6rem 0 1.2rem; }

/* Composition */
.compo { background: var(--sage-bg); }
.compo .container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
.compo-list { margin-top: 1.5rem; }
.compo-list .compo-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--sage-light);
}
.compo-item .c-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--sage);
  line-height: 1;
  flex: none;
  width: 2.2rem;
}
.compo-item h4 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.compo-item p { font-size: 0.92rem; }

/* Anatomie (coussin en coupe) */
.anatomy { background: var(--white); }
.anatomy-visual { max-width: 900px; margin: 0 auto; }
.anatomy-visual .img-ph,
.anatomy-visual .shop-img { box-shadow: var(--shadow-md); }
.anatomy-caption {
  text-align: center;
  margin-top: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Testeurs (chats de l'hôtel) */
.testers { background: var(--cream); }
.testers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.testers-grid .img-ph { box-shadow: var(--shadow-sm); }

/* Recharge band */
.recharge {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 100%);
  color: var(--white);
}
.recharge .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.recharge .section-label { color: var(--sage-light); }
.recharge h2 { color: var(--white); margin: 0.5rem 0 1.2rem; }
.recharge p { color: rgba(255,255,255,0.88); }
.recharge .img-ph {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.recharge .img-ph .ph-desc { color: rgba(255,255,255,0.85); }

/* Transparence */
.transparency .container {
  max-width: 760px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-sm);
}
.transparency .t-emoji { font-size: 2.4rem; margin-bottom: 1rem; }
.transparency h2 { margin-bottom: 1rem; }
.transparency p { max-width: 56ch; margin: 0 auto; }

/* Collections */
.collections { background: var(--cream-dark); }
.collections .coll-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 1rem; }
.collections .coll-grid .img-ph { box-shadow: var(--shadow-sm); }

/* FAQ */
.faq .container { max-width: 760px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--sage);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.6rem 1.4rem; }
.faq-item .faq-body p { font-size: 0.95rem; }

/* CTA final */
.final-cta {
  background: linear-gradient(135deg, var(--sage-bg) 0%, var(--beige) 100%);
  text-align: center;
}
.final-cta .container { max-width: 680px; }
.final-cta h2 { margin-bottom: 1rem; }
.final-cta .fc-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text-dark);
  margin: 1.5rem 0;
}
.final-cta .fc-price small { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-light); display:block; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .product-grid,
  .story-hero .container,
  .story-block .container,
  .compo .container,
  .recharge .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-block.reverse .story-text { order: 0; }
  .buybox { position: static; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .testers-grid,
  .collections .coll-grid { grid-template-columns: 1fr 1fr; }
  .story-hero { padding: 120px 0 70px; }
  .product-top { padding: 110px 0 60px; }
}
@media (max-width: 560px) {
  .value-grid,
  .testers-grid,
  .collections .coll-grid { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .transparency .container { padding: 2.5rem 1.5rem; }
}
