/* Le-Biko — Category page and product cards. */

/* ==========================================================================
   Category page / product grid
   ========================================================================== */
.lb-crumbs { font-size: 13px; color: var(--lb-muted); margin-bottom: 14px; }
.lb-crumbs a { text-decoration: none; }
.lb-crumbs a:hover { color: var(--lb-ink); }
.lb-crumbs__sep { margin-inline: 8px; color: var(--lb-line); }

.lb-archive__head { margin-bottom: 22px; }
.lb-archive__title { margin: 0; font-family: var(--lb-font-display); font-weight: 500; font-size: clamp(26px, 4vw, 36px); line-height: 1.2; }
.lb-archive__desc { margin-top: 8px; color: var(--lb-ink-soft); max-width: 700px; font-size: 15px; }
.lb-archive__desc p { margin: 0; }
.lb-cats--sub { margin-bottom: 32px; }

.lb-toolbar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 0; margin-bottom: 18px;
	border-block: 1px solid var(--lb-line);
	font-size: 13.5px; color: var(--lb-muted);
}
.lb-toolbar .woocommerce-result-count { margin: 0; }
.lb-toolbar form { margin: 0; }
.lb-toolbar select {
	height: 36px; padding-inline: 10px 28px;
	border: 1px solid var(--lb-line); border-radius: var(--lb-radius);
	background-color: #fff; font: inherit; color: var(--lb-ink);
}

.lb-products {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px;
	margin: 0; padding: 0; list-style: none;
}
@media (min-width: 720px) { .lb-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1040px) { .lb-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.lb-product { display: flex; flex-direction: column; min-width: 0; }
.lb-product__media {
	display: block; aspect-ratio: 1; overflow: hidden;
	background: var(--lb-tile); border-radius: var(--lb-radius);
}
.lb-product__img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--lb-ease); }
@media (hover: hover) { .lb-product:hover .lb-product__img { transform: scale(1.04); } }
.lb-product__body { display: flex; flex-direction: column; flex: 1; padding-top: 12px; }
.lb-product__name { margin: 0; font-size: 15px; font-weight: 400; line-height: 1.4; }
.lb-product__name a { text-decoration: none; }
.lb-product__sku { margin: 3px 0 0; font-size: 12px; color: var(--lb-muted); }
.lb-product__price { margin: 8px 0 12px; }

.lb-price { display: flex; flex-direction: column; gap: 1px; font-variant-numeric: tabular-nums; }
.lb-price__incl { font-size: 16px; font-weight: 500; color: var(--lb-ink); }
.lb-price__excl { font-size: 13px; color: var(--lb-muted); }
.lb-price small { font-size: 12px; font-weight: 400; color: var(--lb-muted); }
.lb-price .woocommerce-Price-amount { white-space: nowrap; }

/* Buttons */
.lb-btn, .woocommerce .button, .woocommerce button.button, .single_add_to_cart_button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	margin-top: auto;
	min-height: 42px; padding: 0 18px;
	background: var(--lb-ink); color: #fff !important;
	border: 1px solid var(--lb-ink); border-radius: var(--lb-radius);
	font-family: var(--lb-font-body); font-size: 14px; font-weight: 500;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, transform .15s;
}
.lb-btn:hover, .woocommerce .button:hover { background: #3a3734; border-color: #3a3734; }
.lb-btn:active { transform: scale(.98); }
.lb-btn--ghost { background: transparent; color: var(--lb-ink) !important; }
.lb-btn--ghost:hover { background: var(--lb-ink); color: #fff !important; }
.lb-btn--disabled { background: var(--lb-tile); border-color: var(--lb-line); color: var(--lb-muted) !important; cursor: default; }
.lb-btn.loading { opacity: .6; pointer-events: none; }
.lb-btn.added { background: var(--lb-success); border-color: var(--lb-success); }
.lb-product .added_to_cart { display: none; }

/* Pagination */
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 36px 0 0; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: grid; place-items: center; min-width: 38px; height: 38px;
	border: 1px solid var(--lb-line); border-radius: var(--lb-radius); text-decoration: none; font-size: 14px;
}
.woocommerce-pagination .current { background: var(--lb-ink); color: #fff; border-color: var(--lb-ink); }

.lb-empty { text-align: center; color: var(--lb-muted); padding: 32px 0; }
