.catalog-section .product-item-container {
	height: 100%;
}

.catalog-section .product-item-container.hover {
	height: auto !important;
}

/* Product strips are continuous: cards must not draw separators between items. */
:is(.catalog-section, .catalog-products-viewed) .product-item,
.bx-no-touch :is(.catalog-section, .catalog-products-viewed) .product-item-container.hover .product-item {
	border: 0;
	box-shadow: none;
}

.bitshop-popular :is(.catalog-section, .catalog-products-viewed) [data-entity="items-row"] > [class*="col-"],
.bitshop-popular :is(.catalog-section, .catalog-products-viewed) .product-item-container,
.bitshop-popular :is(.catalog-section, .catalog-products-viewed) .product-item-image-wrapper {
	border-right: 0;
	border-left: 0;
	outline: 0;
	box-shadow: none;
}

.bitshop-popular :is(.catalog-section, .catalog-products-viewed) .product-item-image-wrapper {
	background: var(--bitshop-white);
}

.catalog-section .product-item {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 13px;
	border: 0;
	border-radius: 14px;
	background: var(--bitshop-white);
	box-shadow: none;
	transition: none;
}

.catalog-section .product-item:hover {
	border-color: var(--bitshop-transparent);
	box-shadow: none;
	transform: none;
}

.bx-no-touch .catalog-section .product-item-container.hover .product-item {
	position: static;
	right: auto;
	left: auto;
	width: 100%;
	padding: 13px;
	border-color: var(--bitshop-transparent);
	background: var(--bitshop-white);
	box-shadow: none;
	animation: none;
	transform: none;
}

.bx-no-touch .catalog-section .product-item-container.hover {
	z-index: auto;
}

.bx-no-touch .catalog-section .product-item-container.hover .product-item-image-wrapper,
.catalog-section .product-item-container.hover.product-item-scalable-card .product-item-image-wrapper {
	padding-top: 0;
}

.bx-no-touch .catalog-section .product-item-container.hover .product-item-image-original {
	opacity: 1;
}

.bx-no-touch .catalog-section .product-item-container.hover .product-item-image-alternative {
	opacity: 0;
}

.bx-no-touch .catalog-section .product-item-container .product-item-info-container.product-item-hidden,
.bx-no-touch .catalog-section .product-item-container.hover .product-item-info-container.product-item-hidden {
	display: none !important;
	opacity: 0 !important;
}

.catalog-section .product-item-info-container[data-entity="buttons-block"].product-item-hidden,
.bx-no-touch .catalog-section .product-item-container.hover .product-item-info-container[data-entity="buttons-block"].product-item-hidden {
	display: block !important;
	opacity: 1 !important;
}

.catalog-section .product-item-image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	height: auto !important;
	padding-top: 0 !important;
	margin: 0 0 12px;
	border: 0;
	border-radius: 10px;
	background: var(--bitshop-white);
	overflow: hidden;
}

.catalog-section .product-item-image-wrapper:before {
	display: none;
}

.catalog-section .product-item-image-wrapper:after {
	content: "BITSHOP";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	color: var(--bitshop-graphite-muted);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.catalog-section .product-item-container.has-product-placeholder .product-item-image-wrapper:after {
	display: none;
}

.catalog-section .product-item-container.has-product-placeholder .product-item-image-original,
.catalog-section .product-item-container.has-product-placeholder .product-item-image-alternative {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.catalog-section .product-item-image-original,
.catalog-section .product-item-image-alternative,
.catalog-section .product-item-image-slide {
	z-index: 2;
}

.catalog-section .product-item-title {
	display: -webkit-box;
	min-height: 0;
	max-height: 42px;
	margin: 0;
	overflow: hidden;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.bitshop-product-features {
	display: -webkit-box;
	min-height: 35px;
	margin: 0 0 8px;
	overflow: hidden;
	color: var(--bitshop-graphite-muted);
	font-size: 13px;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.catalog-section .product-item-title a {
	color: var(--bitshop-graphite);
	text-decoration: none;
}

.catalog-section .product-item-title a:hover {
	color: var(--bitshop-cyan-dark);
	text-decoration: none;
}

.catalog-section .product-item-info-container {
	margin-bottom: 6px;
	order: 4;
}

.catalog-section .product-item-price-container {
	min-height: 28px;
	margin-top: 2px;
	order: 3;
}

.catalog-section .bitshop-product-prices ~ .product-item-price-container,
.catalog-section .bitshop-product-price ~ .product-item-price-container {
	display: none !important;
}

.bitshop-product-prices {
	min-height: 27px;
	margin: 0 0 4px;
	order: 3;
}

.bitshop-product-prices.has-multiple-prices,
.bitshop-product-prices:has(> .bitshop-product-price-row:nth-child(2)) {
	padding-right: 10px;
	padding-left: 10px;
}

.bitshop-product-price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	line-height: 1.45;
}

.bitshop-product-price-label {
	min-width: 0;
	overflow: hidden;
	color: var(--bitshop-graphite-muted);
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bitshop-product-price-value {
	flex: none;
	color: var(--bitshop-cyan-dark);
	font-size: 16px;
	font-weight: 900;
}

.bitshop-product-price {
	min-height: 27px;
	margin: 2px 0 4px;
	color: var(--bitshop-cyan-dark);
	font-size: 21px;
	font-weight: 900;
	line-height: 1.2;
	order: 3;
	text-align: left;
}

.bitshop-product-availability {
	display: none;
}

.bitshop-product-availability.is-unavailable {
	display: block;
	order: 4;
	margin-top: 6px;
	color: var(--bitshop-error);
	font-size: 13px;
	font-weight: 700;
}

.bitshop-product-availability.is-available {
	color: var(--bitshop-mint-dark);
}

.catalog-section .product-item-price-current {
	color: var(--bitshop-cyan-dark);
	font-size: 19px;
	font-weight: 900;
	line-height: 1.2;
	text-align: left;
}

.catalog-section .product-item-price-old {
	color: var(--bitshop-graphite-muted);
	font-size: 13px;
	font-weight: 700;
}

:is(.catalog-section, .catalog-products-viewed) .product-item-button-container,
:is(.catalog-section, .catalog-products-viewed) .product-item-button-container .btn {
	width: 50px;
}

:is(.catalog-section, .catalog-products-viewed) .product-item-button-container {
	position: absolute;
	top: 0;
	right: 22px;
	bottom: auto;
	z-index: 15;
	margin: 0;
	order: 9;
}

:is(.catalog-section, .catalog-products-viewed) .product-item-button-container .btn,
:is(.catalog-section, .catalog-products-viewed) .product-item-button-container .btn-primary {
	display: grid;
	width: 50px;
	height: 50px;
	min-height: 50px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--bitshop-cyan-dark);
	font-size: 0;
	font-weight: 800;
	box-shadow: none;
}

:is(.catalog-section, .catalog-products-viewed) .product-item-button-container .btn::before {
	display: block;
	width: 32px;
	height: 32px;
	margin: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M5 12h22l-1.2 13.2A3 3 0 0 1 22.8 28H9.2a3 3 0 0 1-3-2.8L5 12Zm4 0V9a7 7 0 0 1 14 0v3h-3V9a4 4 0 0 0-8 0v3Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M5 12h22l-1.2 13.2A3 3 0 0 1 22.8 28H9.2a3 3 0 0 1-3-2.8L5 12Zm4 0V9a7 7 0 0 1 14 0v3h-3V9a4 4 0 0 0-8 0v3Z'/%3E%3C/svg%3E") center / contain no-repeat;
	content: "";
}

:is(.catalog-section, .catalog-products-viewed) .product-item-button-container .btn:hover,
:is(.catalog-section, .catalog-products-viewed) .product-item-button-container .btn-primary:hover {
	background: transparent;
	color: var(--bitshop-cyan-dark);
}

@media (min-width: 768px) {
	:is(.catalog-section, .catalog-products-viewed) .product-item-button-container .btn,
	:is(.catalog-section, .catalog-products-viewed) .product-item-button-container .btn-primary,
	:is(.catalog-section, .catalog-products-viewed) .product-item-button-container .btn:hover,
	:is(.catalog-section, .catalog-products-viewed) .product-item-button-container .btn-primary:hover {
		background: transparent;
	}

	:is(.catalog-section, .catalog-products-viewed) .product-item-button-container .btn.is-in-cart {
		outline: 0;
	}
}

:is(.catalog-section, .catalog-products-viewed) .product-item-button-container .btn.is-in-cart::after {
	position: absolute;
	top: -5px;
	right: -5px;
	display: grid;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	place-items: center;
	border: 2px solid var(--bitshop-white);
	border-radius: 999px;
	background: var(--bitshop-cyan-dark);
	color: var(--bitshop-white);
	content: attr(data-cart-quantity);
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
}

.bitshop-catalog-favorite {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 15;
	display: grid;
	width: 42px;
	height: 42px;
	padding: 7px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--bitshop-mint);
	cursor: pointer;
}

.bitshop-catalog-compare {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 15;
	display: grid;
	width: 42px;
	height: 42px;
	padding: 7px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--bitshop-mint);
	cursor: pointer;
}

.bitshop-catalog-compare svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.bitshop-catalog-compare.is-active {
	background: transparent;
	color: var(--bitshop-cyan-dark);
}

@media (min-width: 768px) {
	.bitshop-catalog-compare {
		top: 21px;
		left: 21px;
		width: 36px;
		height: 36px;
		padding: 2px;
		border: 2px solid transparent;
		border-radius: 50%;
	}

	.bitshop-catalog-compare.is-active {
		border-color: var(--bitshop-cyan-dark);
	}
}

.bitshop-catalog-favorite svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: var(--bitshop-transparent);
	stroke: currentColor;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bitshop-catalog-favorite.is-active {
	color: var(--bitshop-cyan-dark);
}

.bitshop-catalog-favorite.is-active svg {
	fill: currentColor;
}

.bitshop-home-cart-popover {
	position: fixed;
	z-index: 1100;
	display: none;
	width: 148px;
	padding: 8px;
	border: 0;
	border-radius: 17px;
	background: var(--bitshop-white);
	color: var(--bitshop-graphite);
}

.bitshop-home-cart-popover.is-open {
	display: grid;
	gap: 6px;
}

.bitshop-home-cart-popover::after {
	position: absolute;
	top: calc(50% - 9px);
	right: -9px;
	width: 0;
	height: 0;
	border-top: 9px solid var(--bitshop-transparent);
	border-bottom: 9px solid var(--bitshop-transparent);
	border-left: 10px solid var(--bitshop-white);
	content: "";
}

.bitshop-home-cart-popover.is-right::after {
	right: auto;
	left: -9px;
	border-right: 10px solid var(--bitshop-white);
	border-left: 0;
}

.bitshop-home-buy-now,
.bitshop-home-cart-counter {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	border: 0;
	border-radius: 13px;
	background: var(--bitshop-surface-soft);
	color: var(--bitshop-graphite);
}

.bitshop-home-buy-now {
	width: 100%;
	padding: 8px 10px;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.bitshop-home-cart-counter {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

.bitshop-home-cart-counter button,
.bitshop-home-cart-counter span {
	display: grid;
	height: 40px;
	padding: 0;
	place-items: center;
	border: 0;
	background: var(--bitshop-transparent);
	color: var(--bitshop-graphite);
	font-size: 19px;
	font-weight: 700;
	line-height: 1;
}

.bitshop-home-cart-counter button {
	cursor: pointer;
}

.bitshop-home-cart-counter button:disabled,
.bitshop-home-cart-counter button[aria-disabled="true"] {
	color: var(--bitshop-graphite-muted);
	cursor: default;
}

.bitshop-home-cart-popover.is-busy {
	pointer-events: none;
	opacity: .72;
}

.catalog-section .product-item-label-ring span,
.catalog-section .product-item-label-text span {
	border-radius: 999px;
	font-weight: 800;
}

@media (max-width: 1279px) and (min-width: 1200px) {
	.bitshop-market-header {
		grid-template-columns: 210px 128px minmax(360px, 1fr) 330px;
	}

	.bitshop-market-header-no-catalog {
		grid-template-columns: 210px minmax(360px, 1fr) 330px;
	}

	.bitshop-market-header-authorized {
		grid-template-columns: 210px 128px minmax(360px, 1fr) 330px;
	}

	.bitshop-market-header-no-catalog.bitshop-market-header-authorized {
		grid-template-columns: 210px minmax(360px, 1fr) 330px;
	}

	.bitshop-market-actions {
		width: min(310px, 100%);
		gap: 10px;
	}

	.bitshop-market-actions-authorized {
		width: min(310px, 100%);
	}
}

@media (max-width: 1199px) {
	.bitshop-market-header {
		grid-template-columns: 200px 130px minmax(240px, 1fr);
	}

	.bitshop-market-header-no-catalog {
		grid-template-columns: 200px minmax(240px, 1fr);
	}

	.bitshop-market-actions {
		grid-column: 1 / -1;
		justify-self: end;
		width: 340px;
		gap: 10px;
	}

	.bitshop-market-actions-authorized {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

}

@media (max-width: 767px) {
	body.bitshop-city-modal-open {
		overflow: hidden;
		overscroll-behavior: none;
	}

	.bitshop-city-strip-inner {
		justify-content: flex-start;
	}

	.bitshop-city-selector[open] {
		z-index: 120;
	}

	.bitshop-city-backdrop {
		position: fixed;
		inset: 0;
		z-index: 70;
		display: block;
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: rgb(0 0 0 / 58%);
		cursor: default;
	}

	.bitshop-city-backdrop[hidden] {
		display: none;
	}

	.bitshop-city-selector[open] .bitshop-city-trigger {
		position: relative;
		z-index: 90;
	}

	.bitshop-city-dropdown {
		position: fixed;
		top: 44px;
		left: 20px;
		z-index: 90;
		width: calc(100vw - 40px);
		max-height: calc(100vh - 64px);
		max-height: calc(100dvh - 64px);
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding: 16px;
	}

	.bitshop-city-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bitshop-market-logo .bx-logo-block.d-md-none {
		display: flex !important;
	}

	.bx-header-section.container,
	.bx-content-section.container,
	.bx-footer .container {
		padding-right: 20px;
		padding-left: 20px;
	}

	.bitshop-market-header {
		display: grid;
		grid-template-columns: 180px 1fr;
		gap: 10px;
		min-height: 0;
		padding: 6px 0 10px;
		margin-bottom: 0;
	}

	.bitshop-header-search,
	.bitshop-header-catalog,
	.bitshop-market-actions {
		grid-column: 1 / -1;
	}

	.bitshop-header-search {
		width: 100%;
	}

	.bitshop-header-catalog-button,
	.bitshop-header-search input[type="text"],
	.bitshop-header-search input[type="search"] {
		min-height: 44px;
		height: 44px;
	}

	.bitshop-market-actions {
		justify-self: center;
		gap: 6px;
		width: min(310px, 100%);
	}

	.bitshop-catalog-dropdown {
		position: fixed;
		top: var(--bitshop-catalog-top, 190px);
		left: 0;
		right: 0;
		width: 100vw;
		height: calc(100vh - var(--bitshop-catalog-top, 190px));
		max-height: none;
		min-height: 0;
		margin: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.bitshop-catalog-dropdown-inner {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto minmax(0, 1fr);
		width: 100%;
		height: 100%;
		padding: 12px 16px 18px;
	}

	.bitshop-catalog-sidebar {
		display: flex;
		gap: 4px;
		padding: 0 0 12px;
		border-right: 0;
		overflow-x: scroll;
		overflow-y: hidden;
	}

	.bitshop-catalog-sidebar-shell {
		border-right: 0;
		border-bottom: 1px solid var(--bitshop-border);
	}

	.bitshop-catalog-sidebar-shell > .bitshop-catalog-scroll-track {
		display: none !important;
	}

	.bitshop-catalog-dropdown-row {
		flex: 0 0 auto;
		width: auto;
	}

	.bitshop-catalog-item {
		display: block;
		min-height: 40px;
		margin: 0;
		padding: 11px 13px;
	}

	.bitshop-catalog-item-image,
	.bitshop-catalog-item-arrow {
		display: none;
	}

	.bitshop-catalog-item-title {
		font-size: 12px;
		white-space: nowrap;
	}

	.bitshop-catalog-content {
		padding: 18px 0 0;
	}

	.bitshop-catalog-submenu-title {
		margin-bottom: 16px;
		font-size: 22px;
	}

	.bitshop-catalog-submenu-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.bitshop-catalog-subgroup {
		min-height: 52px;
		padding: 8px 10px;
	}

	.bitshop-market-actions > a,
	.bitshop-profile-trigger {
		min-height: 48px;
		font-size: 11px;
	}

	.bitshop-action-icon {
		width: 22px;
		height: 22px;
		margin-bottom: 4px;
	}

	.bitshop-profile-trigger .bitshop-action-icon {
		margin-bottom: 4px;
	}

	.bitshop-profile-dropdown {
		right: 0;
		width: min(320px, calc(100vw - 40px));
	}

	.bitshop-home {
		margin-top: 0;
	}

	.bitshop-hero {
		min-height: 500px;
		margin-right: -30px;
		margin-left: -30px;
		padding: 0;
	}

	.bitshop-hero-image {
		object-position: 68% center;
	}

	.bitshop-hero-slide::after {
		background:
			linear-gradient(90deg, rgba(8, 12, 22, .93), rgba(8, 12, 22, .64)),
			linear-gradient(0deg, rgba(8, 12, 22, .78), transparent 58%);
	}

	.bitshop-hero-link {
		align-items: flex-end;
		padding: 34px 20px 82px;
	}

	.bitshop-hero-content {
		max-width: 520px;
	}

	.bitshop-hero h1,
	.bitshop-hero h2 {
		max-width: 460px;
		font-size: 28px;
		line-height: 1.08;
	}

	.bitshop-hero-description {
		max-width: 460px;
		margin-bottom: 18px;
		font-size: 14px;
	}

	.bitshop-hero-button {
		min-height: 42px;
		padding: 0 15px;
		font-size: 13px;
	}

	.bitshop-hero-controls {
		inset: 0;
	}

	.bitshop-hero-dots {
		bottom: 20px;
	}

	.bitshop-hero-arrows {
		top: 36%;
		right: 8px;
		left: 8px;
	}

	.bitshop-hero-arrow {
		width: 36px;
		height: 36px;
	}

	.bitshop-hero-dot {
		width: 18px;
	}

	.bitshop-hero-dot.is-active {
		width: 34px;
	}

	.bitshop-personal-layout {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.bitshop-personal-content {
		padding: 22px 0 0;
		border-top: 0;
		border-left: 0;
	}

	.bitshop-catalog-page {
		column-count: 1;
	}

}

@media (prefers-reduced-motion: reduce) {
	.bitshop-hero-slide,
	.bitshop-hero-content,
	.bitshop-hero-button {
		transition: none;
	}

	.bitshop-hero-progress span {
		animation: none !important;
	}
}

@media (max-width: 1199px) {
	.bitshop-brands-page-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.catalog-section .product-item-small-card,
	.catalog-section .product-item-big-card {
		flex-basis: 33.333333%;
		max-width: 33.333333%;
	}
}

@media (max-width: 767px) {
	.bitshop-brands-page-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bitshop-brand-card {
		flex-basis: 154px;
		min-height: 94px;
		padding: 16px;
	}

	.catalog-section .product-item-small-card,
	.catalog-section .product-item-big-card {
		flex-basis: 50%;
		max-width: 50%;
	}

	.catalog-section [data-entity="items-row"] {
		margin-right: -6px;
		margin-left: -6px;
		row-gap: 14px;
	}

	.catalog-section [data-entity="items-row"] > [class*="col-"],
	.catalog-section .product-item-small-card,
	.catalog-section .product-item-big-card {
		padding-right: 6px;
		padding-bottom: 14px;
		padding-left: 6px;
	}

	.catalog-section .product-item {
		padding: 10px;
	}

}

.bitshop-popular .catalog-section {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin-right: 0;
	margin-left: 0;
	padding-bottom: 0;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.bitshop-popular .catalog-section [data-entity="items-row"] {
	display: contents;
}

.bitshop-popular .product-item {
	padding-right: 0;
	padding-left: 0;
}

.bitshop-popular .catalog-section::-webkit-scrollbar {
	display: none;
}

.bitshop-popular .catalog-section [data-entity="items-row"] > [class*="col-"],
.bitshop-popular .catalog-section .product-item-small-card,
.bitshop-popular .catalog-section .product-item-big-card {
	flex: 0 0 calc((100% - 50px) / 6);
	max-width: calc((100% - 50px) / 6);
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	scroll-snap-align: start;
}

.bitshop-popular .catalog-section .product-item-info-container[data-entity="buttons-block"].product-item-hidden {
	display: block !important;
	opacity: 1 !important;
}

/* catalog.products.viewed uses a different root class but shares the home row design. */
.bitshop-popular .catalog-products-viewed {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin-right: 0;
	margin-left: 0;
	padding-bottom: 0;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.bitshop-popular .catalog-products-viewed::-webkit-scrollbar { display: none; }

.bitshop-popular .catalog-products-viewed [data-entity="items-row"] { display: contents; }
.bitshop-popular .catalog-products-viewed [data-entity="items-row"] > [class*="col-"] {
	flex: 0 0 calc((100% - 50px) / 6);
	max-width: calc((100% - 50px) / 6);
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	scroll-snap-align: start;
}

/* Bitrix can retain a viewed-product column after its product becomes unavailable. */
.bitshop-popular .catalog-products-viewed [data-entity="items-row"] > [class*="col-"]:not(:has(.product-item)) {
	display: none;
}

.bitshop-popular .catalog-products-viewed .product-item-info-container[data-entity="buttons-block"].product-item-hidden {
	display: block !important;
	opacity: 1 !important;
}

@media (max-width: 1199px) {
	.bitshop-popular .catalog-products-viewed [data-entity="items-row"] > [class*="col-"] {
		flex-basis: calc((100% - 30px) / 4);
		max-width: calc((100% - 30px) / 4);
	}
}

@media (max-width: 767px) {
	.bitshop-popular .catalog-products-viewed [data-entity="items-row"] > [class*="col-"] {
		flex-basis: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}
}

@media (max-width: 1199px) {
	.bitshop-popular .catalog-section [data-entity="items-row"] > [class*="col-"],
	.bitshop-popular .catalog-section .product-item-small-card,
	.bitshop-popular .catalog-section .product-item-big-card {
		flex-basis: calc((100% - 30px) / 4);
		max-width: calc((100% - 30px) / 4);
	}
}

@media (max-width: 767px) {
	.bitshop-popular {
		padding: 24px 0;
	}

	.bitshop-home-panel {
		padding: 24px 0;
	}

	.bitshop-category-grid { grid-template-columns: 1fr; }

	.bitshop-popular-heading h2 {
		font-size: 23px;
	}

	.bitshop-home-section-heading h2 { font-size: 23px; }

	.bitshop-popular .catalog-section [data-entity="items-row"] > [class*="col-"],
	.bitshop-popular .catalog-section .product-item-small-card,
	.bitshop-popular .catalog-section .product-item-big-card {
		flex-basis: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	.bitshop-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bx-wrapper { }

.bitshop-mobile-card-cart { display: none; }

@media (max-width: 767px) {
	.bitshop-mobile-card-cart {
		position: absolute;
		right: 8px;
		z-index: 20;
		display: block;
		height: 36px;
		border-radius: 999px;
		background: transparent;
		color: var(--bitshop-cyan-dark);
		box-shadow: none;
	}

	.bitshop-mobile-card-cart button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: transparent;
		color: inherit;
		font-size: 23px;
		line-height: 1;
		cursor: pointer;
		touch-action: manipulation;
	}

	.bitshop-mobile-card-cart button:disabled { opacity: .45; cursor: default; }
	.bitshop-mobile-card-cart button:focus-visible { outline: 2px solid var(--bitshop-cyan-dark); outline-offset: -4px; }
	.bitshop-mobile-card-cart [data-mobile-cart-counter] { display: flex; align-items: center; border-radius: 13px; background: var(--bitshop-surface-soft); color: var(--bitshop-graphite); }
	.bitshop-mobile-card-cart [hidden] { display: none; }
	.bitshop-mobile-card-cart [data-mobile-cart-value] { min-width: 24px; text-align: center; font-size: 14px; font-weight: 800; }
	.bitshop-mobile-card-cart svg { width: 26px; height: 26px; fill: currentColor; }
	:is(.catalog-section, .catalog-products-viewed) .bitshop-catalog-favorite { right: 8px; width: 36px; height: 36px; padding: 4px; }
	.bitshop-mobile-card-cart [data-mobile-cart-counter] button { font-size: 19px; font-weight: 700; }
	.bitshop-mobile-cart-status:empty { display: none; }
	.bitshop-mobile-cart-status:not(:empty) { position: absolute; right: 0; bottom: 42px; width: 140px; padding: 8px; border-radius: 8px; background: var(--bitshop-white); color: var(--bitshop-graphite); font-size: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
}

@media (max-width: 767px) {
	.bitshop-home-cart-popover,
	.bitshop-home-cart-popover.is-open { display: none; }
}
