/* buyer-browse screen styles - /home /browse /product /store /services /service */

/* stacked lines inside a .row's flexible middle column */
.bb-line { display: block; }
.bb-line + .bb-line { margin-top: 2px; }

/* verified tick next to a seller name or state */
.bb-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; margin-left: 5px; border-radius: 50%;
  background: var(--green-100); color: var(--green);
  font-size: 10px; font-weight: 800; line-height: 1; vertical-align: middle;
}
.bb-tick svg { width: 9px; height: 9px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* home: full-bleed hero with gradient and the search inside it */
.bb-hero { position: relative; margin: -16px -16px 0; aspect-ratio: 4 / 3; background: var(--green-900) center / cover no-repeat; }
.bb-hero-ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; color: var(--white); background: linear-gradient(to top, rgba(28,22,16,.85) 0%, rgba(28,22,16,.25) 55%, transparent 100%); }
.bb-hero h1 { color: var(--white); font-size: 24px; }
.bb-hero p { font-size: 13px; opacity: .88; margin: 4px 0 12px; }
.bb-hero .search { border: none; }

/* home: category grid */
.bb-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bb-cat { display: flex; flex-direction: column; align-items: center; gap: 6px; color: inherit; }
.bb-cat:active .bb-cat-photo { opacity: .8; }
.bb-cat-photo { width: 100%; aspect-ratio: 1; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.bb-cat-name { font-size: 11px; font-weight: 600; text-align: center; line-height: 1.2; color: var(--muted); }

/* home: horizontal strip of raw-material listings */
.bb-hscroll { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.bb-hscroll::-webkit-scrollbar { display: none; }
.bb-hcard { flex: 0 0 148px; }

/* browse: state and sort selects side by side */
.bb-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* product and service: price line */
.bb-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bb-price-big { font-size: 26px; }

/* seller row rendered as a card */
.bb-seller { text-decoration: none; }

/* store header */
.bb-store-name { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }

/* service row: rate on the right */
.bb-rate { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.bb-rate .money { font-size: 14px; }
