/* Product discovery: recently viewed, frequently bought together, product Q&A. */
.petba-discovery { margin: 1.5rem 0; }
.petba-discovery-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.petba-discovery-title { font-size: 1.25rem; font-weight: 600; margin: 0 0 .75rem; }

.petba-recent-row { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.petba-recent-item { flex: 0 0 200px; max-width: 200px; scroll-snap-align: start; }
.petba-recent-item .product-thumb { height: 100%; margin-bottom: 0; }

.petba-together { border: 1px solid rgba(0, 0, 0, .08); border-radius: .75rem; padding: 1rem 1.25rem; }
.petba-together-item { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid rgba(0, 0, 0, .05); }
.petba-together-item:last-child { border-bottom: 0; }
.petba-together-thumb img { border-radius: .5rem; object-fit: cover; }
.petba-together-info { flex: 1; min-width: 0; }
.petba-together-name { display: block; color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.petba-together-price .price-old { text-decoration: line-through; color: #888; font-size: .875em; }
.petba-together-item.has-options { opacity: .85; }
.petba-together-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: .75rem; }

.petba-qa-list { margin: 0; }
.petba-qa-item { padding: .75rem 0; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.petba-qa-question { font-weight: 600; margin-bottom: .25rem; }
.petba-qa-q, .petba-qa-a { display: inline-block; min-width: 1.25rem; font-weight: 700; color: var(--bs-primary, #0d6efd); }
.petba-qa-answer { margin: .25rem 0 .5rem; }
.petba-qa-meta { margin-bottom: .25rem; }
.petba-qa-helpful.active { background: var(--bs-primary, #0d6efd); color: #fff; border-color: transparent; }
