/* ---------- stats band ---------- */
.stats { background: var(--brown-800); color: #f3e6cf; padding: 26px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stats-grid strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--gold); line-height: 1.2; }
.stats-grid span { font-size: 0.92rem; color: #e3cfb0; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; counter-reset: step; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); position: relative; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--caramel); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.steps h3 { margin: 0 0 6px; color: var(--brown-800); font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); background: var(--sand); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 26px 14px 10px;
  background: linear-gradient(transparent, rgba(31, 16, 9, 0.85)); color: #fff; font-size: 0.9rem;
}

/* ---------- product detail ---------- */
.product-page { padding-top: 40px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; margin-top: 16px; }
.product-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sand); }
.product-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-info h1 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--brown-800); margin: 8px 0 12px; line-height: 1.5; }
.lead { font-size: 1.05rem; color: var(--text); }
.specs { display: grid; gap: 10px; margin: 22px 0; padding: 0; }
.specs div { display: flex; gap: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.specs dt { color: var(--muted); min-width: 90px; }
.specs dd { margin: 0; font-weight: 700; color: var(--brown-800); }
.sub-title { margin: 56px 0 22px; color: var(--brown-800); font-size: 1.4rem; }
.meta { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.card-body h3 a:hover { color: var(--caramel); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--brown-800); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: inline-end; color: var(--caramel); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- preview mode (inside the admin) ---------- */
body.preview .site-header { position: static; }
body.preview [data-edit] { cursor: pointer; outline: 2px dashed transparent; outline-offset: 4px; transition: outline-color .15s; }
body.preview [data-edit]:hover { outline-color: var(--gold); }

@media (max-width: 920px) {
  .product-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stats-grid strong { font-size: 1.3rem; }
  .stats-grid span { font-size: 0.75rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
}
