/* ============================================================
   IZH COFFEE — Shop page styles
   ============================================================ */

/* ---------- header ---------- */
.shop-head {
  position: relative;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(20px, 3vh, 32px);
  overflow: hidden;
}
.sh-mark {
  position: absolute; right: -40px; top: 48%; transform: translateY(-46%) rotate(8deg);
  height: 130%; opacity: .05; pointer-events: none;
}
.shop-head h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  margin-top: clamp(8px, 1.6vh, 16px);
}
.shop-head p { color: var(--muted); margin-top: 8px; font-size: clamp(14px, 1.3vw, 16px); }

/* ---------- toolbar — sits below the fixed navbar, follows its hide/show ---------- */
.toolbar {
  position: sticky;
  top: var(--nav-h-small);
  z-index: 500;
  background: rgba(253, 251, 246, .9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: top .5s var(--ease-out);
}
body.nav-hidden .toolbar { top: 0; }
.tb-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding-block: 12px;
}
.tb-pills {
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tb-pills::-webkit-scrollbar { display: none; }
.pill {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease-spring);
}
.pill:hover { border-color: var(--gold-600); transform: translateY(-1px); }
.pill.active {
  background: linear-gradient(135deg, var(--gold-300), var(--gold));
  border-color: transparent;
  color: var(--espresso-900);
  box-shadow: var(--shadow-gold);
}
.tb-tools { display: flex; gap: 10px; align-items: center; }
.tb-search input {
  width: clamp(150px, 18vw, 230px);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 14px;
  transition: border-color .25s, box-shadow .25s;
}
.tb-search input:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 4px rgba(201, 168, 118, .15); }
#shopSort {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
}
#shopSort:focus { outline: none; border-color: var(--gold-600); }

/* ---------- grid ---------- */
.result-count {
  font-size: 13px; color: var(--muted);
  margin-bottom: 14px;
}

/* ---------- trust band ---------- */
.trust-band { background: var(--cream-200); border-top: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
.trust-item {
  display: flex; align-items: center; gap: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(13px, 1.6vw, 18px);
}
.trust-item .ti-ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(201, 168, 118, .15);
  color: var(--gold-600);
  display: grid; place-items: center;
}
.trust-item .ti-ic svg { width: 20px; height: 20px; }
.trust-item b { display: block; font-size: 14px; }
.trust-item small { color: var(--muted); font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .tb-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .tb-pills { order: 2; }
  .tb-tools { order: 1; justify-content: space-between; }
  .tb-search { flex: 1; }
  .tb-search input { width: 100%; }
}
@media (max-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust-item { flex-direction: column; text-align: center; gap: 9px; padding: 14px 10px; }
}
