/* BraidsTribe web shop (Amazon affiliate catalog) */
.bts-section { padding-top: 2rem; }

.bts-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.bts-search {
  flex: 1 1 320px; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 0 14px; height: 48px;
}
.bts-search:focus-within { border-color: var(--primary); }
.bts-search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; min-width: 0; }

.bts-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; }
.bts-chips::-webkit-scrollbar { display: none; }
.bts-chip {
  flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: #fff0f8; color: var(--primary-dk);
  font-size: 13px; font-weight: 600; text-decoration: none; border: 1px solid #ffd3ec;
}
.bts-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.bts-cat { margin-top: 28px; scroll-margin-top: 90px; }
.bts-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bts-cat-head h2, .bts-cat-head h3 { margin: 0; font-size: 1.3rem; font-weight: 700; }
.bts-cat-head span { color: #9ca3af; font-size: 13px; }
.bts-cat-head a { color: var(--primary-dk); font-weight: 600; font-size: 14px; text-decoration: none; }

.bts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }

.bts-card {
  background: #fff; border: 1px solid #eef0f3; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s;
}
.bts-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.08); }
.bts-card-img { aspect-ratio: 1; background: #f7f7f9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bts-card-img img { width: 100%; height: 100%; object-fit: contain; }
.bts-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.bts-card-brand { font-size: 11px; font-weight: 700; letter-spacing: .4px; color: var(--primary-dk); text-transform: uppercase; }
.bts-card-name {
  margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; color: #2d3748;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bts-card-price { margin: 2px 0 8px; font-size: 13px; font-weight: 600; color: #6b7280; }
.bts-card-btn {
  margin-top: auto; text-align: center; background: var(--primary); color: #fff; font-weight: 700; font-size: 13px;
  padding: 10px 12px; border-radius: 10px; text-decoration: none;
}
.bts-card-btn:hover { background: var(--primary-dk); }

/* Home page rows */
.bts-row-block { margin-bottom: 26px; }
.bts-row { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; }
.bts-row .bts-card { flex: 0 0 200px; scroll-snap-align: start; }

.bts-message { text-align: center; padding: 56px 16px; color: #6b7280; }
.bts-message .btn { margin-top: 14px; }
.bts-disclosure { text-align: center; color: #9ca3af; font-size: 12px; margin: 28px 0 4px; }

/* Loading skeleton */
.bts-skel .bts-card-img { background: linear-gradient(90deg,#f1f1f4 25%,#e8e8ee 50%,#f1f1f4 75%); background-size: 200% 100%; animation: bts-shimmer 1.4s infinite; }
.bts-skel-line { height: 12px; border-radius: 6px; background: #eee; margin: 6px 0; }
.bts-skel-line.short { width: 55%; }
@keyframes bts-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

@media (max-width: 600px) {
  .bts-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bts-row .bts-card { flex-basis: 160px; }
}
