/* Product-type tabs and the divider between the chosen type and the rest of the store. */

/* The theme stacks its category filter in a column on phones; five tabs read better wrapped in rows. */
.frendsis-store .qodef-woo-product-list .qodef-filter-holder .qodef-category-filter .frendsis-type-nav .qodef-category-list {
	flex-direction: row;
	flex-wrap: wrap;
	row-gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.frendsis-type-link {
	position: relative;
	display: inline-block;
	white-space: nowrap;
}

/* A thumb-sized hit area without changing the boxed label the theme draws (::after is the theme's). */
.frendsis-type-link::before {
	content: "";
	position: absolute;
	inset: -10px -6px;
}

.frendsis-type-link:focus-visible {
	outline: 1px solid #000;
	outline-offset: 3px;
}

/* Sorting and price ranges belong to the full listing; in a grouped view they would undo the grouping. */
.frendsis-store:not([data-type=""]) .qodef-order-price-filter {
	display: none;
}

/* Cards draw their own top edge instead of the grid, so an unfilled row above the divider doesn't
   leave a line hanging over the empty columns. The -1px overlaps it with the row above. */
.frendsis-store .qodef-woo-product-list.qodef-item-layout--boxed-below.qodef-gutter--no.qodef-enable-border--yes > .qodef-grid-inner {
	border-top: 0;
}

.frendsis-store .qodef-woo-product-list.qodef-item-layout--boxed-below.qodef-gutter--no.qodef-enable-border--yes > .qodef-grid-inner > .qodef-grid-item {
	margin-top: -1px;
	border-top: 1px solid #000;
}

/* A full-width row inside the bordered grid. It covers the grid's left border so the groups read as two
   separate boxes; the cards below draw the second group's top edge themselves. */
.frendsis-store-divider {
	grid-column: 1 / -1;
	position: relative;
	margin-left: -1px;
	padding: 112px 0 18px 1px;
	background: #fff;
}

.frendsis-store-divider__title {
	margin: 0;
	font-family: "Noto Sans", sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 15px;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	color: #000;
}

::view-transition-group(*) {
	animation-duration: 420ms;
	animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 680px) {
	.frendsis-store .qodef-filter-holder {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		row-gap: 14px;
	}

	.frendsis-store .qodef-category-filter {
		flex: 1 1 100%;
	}

	.frendsis-store .qodef-order-price-filter {
		margin-left: auto;
	}

	.frendsis-store-divider {
		padding-top: 72px;
	}
}
