/* Match the viewed carousel's inner geometry to the reusable home catalog row. */
.bitshop-product-row-viewed .catalog-products-viewed {
	margin-right: 0;
	margin-left: 0;
}

.bitshop-home-panel {
	position: relative;
	margin: 0;
	padding: 32px 0;
	border: 0;
	border-radius: 14px;
	background: var(--bitshop-white);
	box-shadow: none;
}

.bitshop-home-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.bitshop-home-section-heading h2 {
	margin: 0;
	color: var(--bitshop-graphite);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
}

.bitshop-home-section-heading p {
	margin: 6px 0 0;
	color: var(--bitshop-graphite-muted);
	font-size: 13px;
}

.bitshop-home-section-heading > a {
	color: var(--bitshop-cyan-dark);
	font-size: 13px;
	font-weight: 700;
}

.bitshop-home-section-heading > .bitshop-section-link-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 16px;
	border: 1px solid var(--bitshop-cyan-dark);
	border-radius: 9px;
	background: var(--bitshop-white);
	color: var(--bitshop-cyan-dark);
	line-height: 1.2;
	text-decoration: none;
	transform: none;
	transition: background-color .18s ease, color .18s ease;
}

.bitshop-home-section-heading > .bitshop-section-link-button:hover,
.bitshop-home-section-heading > .bitshop-section-link-button:focus-visible {
	background: var(--bitshop-cyan-soft);
	color: var(--bitshop-cyan-dark);
	text-decoration: none;
	transform: none;
	outline: 0;
}

.bitshop-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.bitshop-category-card {
	position: relative;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	grid-template-rows: 1fr;
	column-gap: 18px;
	min-height: 112px;
	padding: 0 22px 0 0;
	overflow: hidden;
	border: 1px solid var(--bitshop-transparent);
	border-radius: 10px;
	background: var(--bitshop-surface-soft);
	color: var(--bitshop-graphite);
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.bitshop-category-card:hover {
	border-color: var(--bitshop-cyan-dark);
	color: var(--bitshop-graphite);
	text-decoration: none;
	box-shadow: none;
}

.bitshop-category-card-media {
	display: inline-flex;
	grid-row: 1;
	align-items: center;
	justify-content: center;
	width: 112px;
	height: 112px;
	border-radius: 0;
	background: var(--bitshop-surface-soft);
	overflow: hidden;
}

.bitshop-category-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	padding: 8px;
	object-fit: contain;
}

.bitshop-category-card-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: var(--bitshop-cyan-dark);
	color: var(--bitshop-white);
	font-size: 24px;
	font-weight: 800;
}

.bitshop-category-name {
	align-self: center;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
}

.bitshop-home-brands {
	margin-bottom: 0;
}

.bitshop-brand-scroll {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding: 0;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.bitshop-brand-scroll::-webkit-scrollbar {
	display: none;
}

.bitshop-brand-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 0 0 calc((100% - 84px) / 8);
	min-width: 0;
	min-height: 112px;
	padding: 20px;
	border: 1px solid var(--bitshop-border);
	border-radius: 10px;
	background: var(--bitshop-white);
	color: var(--bitshop-graphite);
	text-align: center;
	text-decoration: none;
	scroll-snap-align: start;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.bitshop-brand-card:hover {
	border-color: var(--bitshop-cyan-dark);
	box-shadow: none;
	color: var(--bitshop-graphite);
	text-decoration: none;
}

.bitshop-brand-card:focus,
.bitshop-brand-card:focus-visible {
	outline: 0;
}

.bitshop-carousel-button {
	position: absolute;
	top: 58%;
	z-index: 30;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--bitshop-cyan-dark);
	cursor: pointer;
	opacity: 1;
	transform: translateY(-50%);
	transition: background-color .18s ease, color .18s ease;
}

.bitshop-carousel-button:hover,
.bitshop-carousel-button:focus-visible {
	color: var(--bitshop-cyan-dark);
	background: var(--bitshop-cyan-soft);
	outline: 0;
}

.bitshop-carousel-button[hidden] {
	display: none !important;
}

.bitshop-carousel-button::before {
	display: block;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	content: "";
}

.bitshop-carousel-button-right {
	right: calc((var(--bitshop-layout-width) - 100%) / -4 - 20px);
}

.bitshop-carousel-button-right::before {
	transform: translateX(-2px) rotate(-45deg);
}

.bitshop-carousel-button-left {
	left: calc((var(--bitshop-layout-width) - 100%) / -4 - 20px);
}

.bitshop-carousel-button-left::before {
	transform: translateX(2px) rotate(135deg);
}

@media (max-width: 1199px) {
	.bitshop-brand-card {
		flex-basis: calc((100% - 36px) / 4);
	}
}

@media (max-width: 767px) {
	.bitshop-brand-card {
		flex-basis: calc((100% - 12px) / 2);
	}

	.bitshop-carousel-button {
		width: 32px;
		height: 32px;
	}

	.bitshop-carousel-button-right { right: calc((var(--bitshop-layout-width) - 100%) / -4 - 16px); }
	.bitshop-carousel-button-left { left: calc((var(--bitshop-layout-width) - 100%) / -4 - 16px); }
}

/* Mobile commerce flow */
.bitshop-mobile-context-back,
.bitshop-product-mobile-title-row,
.bitshop-product-mobile-name,
.bitshop-product-mobile-favorite,
.bitshop-product-mobile-buybar,
.bitshop-mobile-filter-trigger {
	display: none;
}

.bitshop-product-assurances {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 16px;
}

.bitshop-product-assurances > div {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	padding: 12px;
	border-radius: 10px;
	background: var(--bitshop-surface-soft);
}

.bitshop-product-assurances strong {
	color: var(--bitshop-graphite);
	font-size: 12px;
}

.bitshop-product-assurances span {
	color: var(--bitshop-graphite-muted);
	font-size: 11px;
	line-height: 1.25;
}

.bitshop-product-card-benefit {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: -4px 0 10px;
	order: 5;
}

.bitshop-product-card-benefit span {
	padding: 4px 7px;
	border-radius: 999px;
	background: var(--bitshop-cyan-soft);
	color: var(--bitshop-cyan-dark);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.15;
}

/* Delivery and warranty belong on the product page, not inside compact cards. */
.bitshop-product-card-benefit {
	display: none !important;
}

@media (max-width: 767px) {
	.bitshop-mobile-context-back {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 38px;
		margin: 0 0 6px;
		color: var(--bitshop-cyan-dark);
		font-size: 13px;
		font-weight: 800;
		text-decoration: none;
	}

	.bitshop-mobile-context-back > span {
		display: grid;
		width: 22px;
		height: 28px;
		place-items: center;
		background: transparent;
		font-size: 0;
	}

	.bitshop-mobile-context-back > span svg {
		display: none;
	}

	.bitshop-mobile-context-back > span::before {
		display: block;
		width: 10px;
		height: 10px;
		border-bottom: 2px solid currentColor;
		border-left: 2px solid currentColor;
		content: "";
		transform: rotate(45deg);
	}

	.bitshop-catalog-layout > .bitshop-characteristics-filter {
		display: none !important;
	}

	.bitshop-catalog-layout > .bitshop-catalog-products-column {
		flex: 0 0 100%;
		max-width: 100%;
		padding-right: 0;
		padding-left: 0;
	}

	.bitshop-catalog-toolbar {
		position: sticky;
		top: 0;
		z-index: 35;
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 8px;
		margin: 0 0 14px;
		padding: 8px 0 12px;
		border-bottom: 0;
		background: var(--bitshop-white);
	}

	.bitshop-mobile-filter-trigger {
		position: relative;
		display: flex;
		grid-column: 1;
		grid-row: 1;
		align-items: center;
		justify-content: center;
		gap: 7px;
		height: 42px;
		padding: 0 12px;
		border: 1px solid var(--bitshop-border);
		border-radius: 10px;
		background: var(--bitshop-white);
		color: var(--bitshop-graphite);
		font-size: 13px;
		font-weight: 800;
	}

	.bitshop-mobile-filter-trigger svg {
		width: 19px;
		height: 19px;
		fill: none;
		stroke: currentColor;
		stroke-width: 2;
		stroke-linecap: round;
	}

	.bitshop-mobile-filter-trigger b {
		display: grid;
		min-width: 19px;
		height: 19px;
		padding: 0 5px;
		place-items: center;
		border-radius: 999px;
		background: var(--bitshop-cyan-dark);
		color: var(--bitshop-white);
		font-size: 10px;
	}

	.bitshop-catalog-sort {
		grid-column: 2;
		grid-row: 1;
		min-width: 0;
	}

	.bitshop-catalog-sort label {
		display: none;
	}

	.bitshop-catalog-sort select {
		width: 100%;
		height: 42px;
		font-size: 12px;
	}

	.bitshop-all-filters-modal {
		z-index: 420;
	}

	.bitshop-all-filters-dialog {
		height: calc(100dvh - env(safe-area-inset-bottom));
		max-height: none;
	}

	.bitshop-all-filters-header h2 {
		font-size: 21px;
	}

	.catalog-section .product-item-title {
		max-height: 48px;
		font-size: 13px;
		line-height: 1.22;
		-webkit-line-clamp: 3;
	}

	.catalog-section .bitshop-product-features {
		display: none;
	}

	.catalog-section .product-item-image-wrapper {
		margin-bottom: 9px;
	}

	.catalog-section .bitshop-product-price-value,
	.catalog-section .product-item-price-current,
	.catalog-section .bitshop-product-price {
		font-size: 15px;
	}

	:is(.catalog-section, .catalog-products-viewed) .bitshop-product-price-label {
		display: block;
		font-size: 10px;
		line-height: 1.25;
	}

	.bitshop-product-card-benefit {
		gap: 3px;
		margin-top: -3px;
	}

	.bitshop-product-card-benefit span {
		padding: 3px 5px;
		font-size: 8.5px;
	}

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

	:is(.catalog-section, .catalog-products-viewed) .product-item-button-container {
		right: 14px;
	}

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

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

	.bitshop-product-mobile-title-row {
		display: flex;
		align-items: stretch;
		gap: 6px;
		margin: 0 0 10px;
	}

	.bitshop-product-mobile-title-row .bitshop-product-mobile-back {
		flex: 0 0 auto;
		margin: 0;
		min-height: 0;
	}

	.bitshop-product-mobile-title-row .bitshop-product-mobile-name {
		display: block;
		margin: 0;
		color: var(--bitshop-graphite);
		font-size: 20px;
		font-weight: 800;
		line-height: 1.16;
	}

	.bitshop-product-summary .bitshop-product-name {
		display: none;
	}

	.bx-catalog-element > .bitshop-product-hero > div:nth-child(2) > .row {
		display: flex;
		flex-direction: column;
	}

	.bx-catalog-element > .bitshop-product-hero > div:nth-child(2) > .row > div:last-child {
		order: 1;
	}

	.bx-catalog-element > .bitshop-product-hero > div:nth-child(2) > .row > .bitshop-product-summary {
		display: none;
	}

	.bx-catalog-element .product-item-detail-slider-container {
		position: relative;
	}

	.bitshop-product-mobile-favorite {
		position: absolute;
		top: 14px;
		right: 16px;
		z-index: 20;
		display: grid;
		width: 42px;
		height: 42px;
		padding: 7px;
		place-items: center;
		border: 0;
		border-radius: 50%;
		background: transparent;
		color: var(--bitshop-cyan-dark);
		box-shadow: none;
	}

	.bitshop-product-mobile-favorite svg {
		width: 28px;
		height: 28px;
		fill: transparent;
		stroke: currentColor;
		stroke-linejoin: round;
		stroke-width: 1.8;
	}

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

	.bx-catalog-element .bitshop-product-secondary-actions {
		display: none;
	}

	.bx-catalog-element .product-item-detail-pay-block {
		margin: 0 12px 8px;
		padding: 20px;
		border: 1px solid var(--bitshop-transparent);
		border-radius: 16px;
		background: var(--bitshop-surface-soft);
	}

	.bx-catalog-element .product-item-detail-pay-block > :not(.bitshop-product-prices) {
		display: none !important;
	}

	.bx-catalog-element .bitshop-product-prices {
		margin: 0 !important;
	}

	.bx-catalog-element .bitshop-detail-price-list {
		gap: 7px;
		margin: 0;
	}

	.bx-catalog-element .bitshop-detail-price-row {
		width: 100%;
		justify-content: space-between;
		gap: 16px;
	}

	.bx-catalog-element .bitshop-detail-price-label {
		flex: 0 1 auto;
		font-size: 14px;
		text-align: left;
	}

	.bx-catalog-element .bitshop-detail-price-value {
		margin-left: auto;
		font-size: 22px;
		text-align: right;
	}

	.bitshop-product-assurances {
		gap: 6px;
		margin-top: 12px;
	}

	.bitshop-product-assurances > div {
		padding: 9px 7px;
		text-align: center;
	}

	.bitshop-product-assurances strong {
		font-size: 11px;
	}

	.bitshop-product-assurances span {
		font-size: 9.5px;
	}

	body:has(.bitshop-product-mobile-buybar) #bx_eshop_wrap {
		padding-bottom: calc(138px + env(safe-area-inset-bottom));
	}

	.bitshop-product-mobile-buybar {
		position: fixed;
		right: 0;
		bottom: calc(64px + env(safe-area-inset-bottom));
		left: 0;
		z-index: 295;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: center;
		gap: 12px;
		min-height: 70px;
		padding: 9px 16px;
		border-top: 1px solid var(--bitshop-border);
		background: rgba(255, 255, 255, .97);
		box-shadow: none;
		backdrop-filter: blur(14px);
	}

	.bitshop-product-mobile-buybar button {
		height: 46px;
		border: 0;
		border-radius: 11px;
		background: var(--bitshop-cyan-dark);
		color: var(--bitshop-white);
		font-size: 14px;
		font-weight: 900;
	}

	.bitshop-product-mobile-buybar .bitshop-product-mobile-buy-now {
		border: 1px solid var(--bitshop-cyan-dark);
		background: var(--bitshop-white);
		color: var(--bitshop-cyan-dark);
	}

	.bitshop-product-mobile-buybar button:disabled {
		background: var(--bitshop-border);
		color: var(--bitshop-graphite-muted);
	}

	.bitshop-product-mobile-buybar [hidden] {
		display: none !important;
	}

	.bitshop-product-mobile-quantity {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		height: 46px;
		border: 1px solid var(--bitshop-border);
		border-radius: 11px;
		background: var(--bitshop-surface-soft);
		overflow: hidden;
	}

	.bitshop-product-mobile-quantity button,
	.bitshop-product-mobile-quantity span {
		display: grid;
		height: 44px;
		padding: 0;
		place-items: center;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: var(--bitshop-graphite);
		font-size: 20px;
		font-weight: 800;
		line-height: 1;
	}

	.bitshop-product-mobile-quantity button {
		color: var(--bitshop-cyan-dark);
	}

	.bitshop-product-mobile-quantity button:disabled,
	.bitshop-product-mobile-quantity button[aria-disabled="true"] {
		color: var(--bitshop-graphite-muted);
		cursor: default;
		opacity: .55;
	}

	.bitshop-mobile-nav > a,
	.bitshop-mobile-nav > button {
		flex-direction: column;
		gap: 3px;
		padding-top: 5px;
	}

	.bitshop-mobile-nav svg {
		width: 22px;
		height: 22px;
	}

	.bitshop-mobile-nav-label {
		display: block;
		max-width: 100%;
		overflow: hidden;
		font-size: 9px;
		font-weight: 700;
		line-height: 1;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.bitshop-mobile-nav .bitshop-cart-count {
		top: 3px;
	}
}

@media (max-width: 479.98px) {
	.bitshop-category-tile-title {
		font-size: 12px;
		line-height: 1.08;
	}

	.bitshop-category-tile-media {
		width: min(40px, 100%);
	}
}

.bitshop-brand-card--tp-link {
	background: #4acbd6;
}

.bitshop-brand-card--a4tech {
	background: #252b35;
}

.bitshop-brand-card--ugreen,
.bitshop-brand-card--bloody {
	background: #050505;
}

.bitshop-brand-card--europrint {
	background: #078cc5;
}

.bitshop-brand-card img {
	display: block;
	max-width: 150px;
	max-height: 58px;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.bitshop-brand-card img[src$="samsung.png"],
.bitshop-brand-card img[src$="hp.svg"] {
	width: auto;
	max-width: 94px;
	max-height: 68px;
}

.bitshop-brand-card img[src$="svc.png"],
.bitshop-brand-card img[src$="delux.png"],
.bitshop-brand-card img[src$="pccooler.png"],
.bitshop-brand-card img[src$="x-game.png"] {
	width: 52px;
	height: 52px;
}

.bitshop-brand-card--ugreen img,
.bitshop-brand-card--bloody img,
.bitshop-brand-card--europrint img {
	max-width: 154px;
	max-height: 66px;
}

.bitshop-brand-name {
	display: block;
	max-width: 100%;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.bitshop-brands-page {
	padding: 12px 0 56px;
}

.bitshop-breadcrumb-row {
	margin-bottom: 12px;
}

@media (max-width: 767.98px) {
	.bitshop-breadcrumb-row {
		display: none;
	}
}

.bitshop-brands-page-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.bitshop-brands-page-heading h1 {
	margin: 0;
}

.bitshop-brand-types {
	margin-bottom: 38px;
}

.bitshop-brand-types-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.bitshop-brand-types-heading h2 {
	margin: 0;
	color: var(--bitshop-graphite);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
}

.bitshop-brand-types-heading a {
	color: var(--bitshop-cyan-dark);
	font-size: 14px;
	font-weight: 700;
}

.bitshop-category-tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.bitshop-category-tile {
	position: relative;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	min-width: 0;
	height: 270px;
	padding: 20px;
	border: 1px solid var(--bitshop-transparent);
	border-radius: 14px;
	background: var(--bitshop-surface-soft);
	color: var(--bitshop-graphite);
	overflow: hidden;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.bitshop-category-tile:hover,
.bitshop-category-tile:focus,
.bitshop-category-tile.is-active {
	border-color: var(--bitshop-cyan-dark);
	color: var(--bitshop-graphite);
	box-shadow: none;
	text-decoration: none;
}

.bitshop-category-tile.is-active::after {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--bitshop-cyan-dark);
	content: "";
}

.bitshop-category-tile-title {
	position: relative;
	z-index: 2;
	max-width: calc(100% - 12px);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.25;
}

.bitshop-category-tile-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(205px, 100%);
	aspect-ratio: 1;
	margin: auto;
}

.bitshop-category-tile-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.bitshop-category-tile-media picture {
	display: block;
	width: 100%;
	height: 100%;
}

.bitshop-catalog-item-image picture,
.bitshop-category-card-media picture,
.bitshop-search-category-media picture {
	display: contents;
}

.bitshop-category-tile-placeholder {
	position: relative;
	width: 96px;
	height: 76px;
	border: 8px solid var(--bitshop-border);
	border-radius: 14px;
	opacity: .7;
}

.bitshop-category-tile-placeholder::after {
	position: absolute;
	right: 18px;
	bottom: -18px;
	left: 18px;
	height: 8px;
	border-radius: 8px;
	background: var(--bitshop-border);
	content: "";
}

.bitshop-brand-empty {
	padding: 32px;
	border: 1px solid var(--bitshop-border);
	border-radius: 14px;
	background: var(--bitshop-surface-soft);
	color: var(--bitshop-graphite-muted);
	font-size: 16px;
}

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

@media (max-width: 767.98px) {
	.bitshop-brands-page-heading {
		align-items: center;
		justify-content: flex-start;
		gap: 8px;
	}

	.bitshop-brands-page-heading .bitshop-mobile-context-back {
		flex: 0 0 auto;
		min-height: 0;
		margin: 0;
	}

	.bitshop-brand-types {
		margin-bottom: 28px;
	}

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

	.bitshop-category-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.bitshop-category-tile {
		height: auto;
		aspect-ratio: 1;
		padding: 10px;
		border-radius: 12px;
	}

	.bitshop-category-tile-title {
		max-width: 100%;
		font-size: 14px;
		line-height: 1.15;
		overflow-wrap: anywhere;
	}

	.bitshop-category-tile-media {
		width: min(110px, 100%);
	}
}

@media (max-width: 479.98px) {
	.bitshop-category-tiles {
		gap: 8px;
	}

	.bitshop-category-tile {
		padding: 8px;
		border-radius: 10px;
	}

	.bitshop-category-tile-title {
		font-size: 13px;
		line-height: 1.08;
	}

	.bitshop-category-tile-media {
		width: min(78px, 100%);
	}
}

.bitshop-brands-page-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}

.bitshop-brands-page-grid .bitshop-brand-card {
	position: relative;
	min-width: 0;
}

.bitshop-brand-count {
	position: absolute;
	right: 10px;
	bottom: 8px;
	color: var(--bitshop-graphite-muted);
	font-size: 11px;
}

.bitshop-home-viewed[hidden] { display: none; }

.bitshop-home-viewed .bitshop-popular-heading {
	margin-bottom: 14px;
}

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

.bitshop-personal-page #pagetitle {
	display: none;
}

.bitshop-personal-page .bitshop-breadcrumb-row {
	width: 100%;
	margin-right: 0;
	margin-left: 0;
}

.bitshop-personal-page .bitshop-breadcrumb-row > .col {
	padding-right: 0;
	padding-left: 0;
}

.bitshop-personal-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
    margin-bottom: 40px;
}

.bitshop-personal-mobile-home,
.bitshop-personal-mobile-section-heading {
	display: none;
}

.bitshop-personal-menu {
	display: grid;
	gap: 6px;
	padding: 14px;
	border: 1px solid var(--bitshop-transparent);
	border-radius: 8px;
	background: var(--bitshop-surface-soft);
	box-shadow: none;
}

@media (min-width: 768px) {
	.bitshop-personal-menu {
		position: sticky;
		top: 152px;
		max-height: calc(100vh - 172px);
		overflow-y: auto;
	}
}

.bitshop-personal-user {
    padding: 6px 12px 12px;
    border-bottom: 0;
    text-align: right;
}

.bitshop-personal-menu-link,
.bitshop-personal-menu-logout {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 12px;
	border-radius: 6px;
	color: var(--bitshop-graphite);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none;
}

.bitshop-personal-menu-link:hover {
    background: var(--bitshop-interactive-soft);
    color: var(--bitshop-graphite);
    text-decoration: none;
}

.bitshop-personal-menu-link-active,
.bitshop-personal-menu-link-active:hover {
    background: var(--bitshop-cyan-soft);
    color: var(--bitshop-cyan-dark);
    text-decoration: none;
}

.bitshop-personal-menu-logout {
	justify-content: center;
	margin-top: 10px;
	background: var(--bitshop-cyan-dark);
	color: var(--bitshop-white);
}

.bitshop-personal-menu-logout:hover {
	background: var(--bitshop-cyan-dark);
	color: var(--bitshop-white);
	text-decoration: none;
}

.bitshop-personal-content {
	padding: 0 28px 26px;
	border-left: 0;
	background: var(--bitshop-white);
}

@media (min-width: 768px) {
	.bitshop-personal-content {
		padding-bottom: 0;
	}
}

.bitshop-personal-content .bitshop-orders-heading h1 {
	margin: 0;
	color: var(--bitshop-graphite);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.15;
}

.bitshop-logout-confirm {
	position: fixed;
	inset: 0;
	z-index: 5000;
	display: grid;
	padding: 20px;
	place-items: center;
}

.bitshop-logout-confirm[hidden] {
	display: none;
}

.bitshop-logout-confirm-backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgba(12, 18, 31, .42);
	backdrop-filter: blur(3px);
}

.bitshop-logout-confirm-dialog {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: min(100%, 400px);
	padding: 28px;
	border-radius: 18px;
	background: var(--bitshop-white);
	box-shadow: 0 24px 64px rgba(12, 18, 31, .2);
	text-align: center;
}

.bitshop-logout-confirm-dialog h2 {
	margin: 0;
	color: var(--bitshop-graphite);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
}

.bitshop-logout-confirm-dialog p {
	margin: 12px 0 24px;
	color: var(--bitshop-graphite-muted);
	font-size: 15px;
	line-height: 1.45;
}

.bitshop-logout-confirm-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.bitshop-logout-confirm-actions button,
.bitshop-logout-confirm-actions a {
	display: flex;
	min-height: 46px;
	padding: 10px 16px;
	border: 0;
	border-radius: 10px;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.bitshop-logout-confirm-actions button {
	border: 1px solid var(--bitshop-cyan-dark);
	background: var(--bitshop-cyan-dark);
	color: var(--bitshop-white);
}

.bitshop-logout-confirm-actions a,
.bitshop-logout-confirm-actions a:hover {
	border: 1px solid var(--bitshop-border);
	background: var(--bitshop-surface-soft);
	color: var(--bitshop-graphite-muted);
}

body.bitshop-logout-confirm-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.bitshop-personal-page .bitshop-breadcrumb-row,
	.bitshop-personal-layout .bitshop-personal-menu {
		display: none;
	}

	.bitshop-personal-layout.bitshop-personal-menu-page,
	.bitshop-personal-layout.bitshop-personal-section-page {
		display: block;
	}

	.bitshop-personal-menu-page .bitshop-personal-mobile-home {
		display: block;
		min-height: calc(100dvh - 112px - env(safe-area-inset-bottom));
		padding: 4px 0 32px;
	}

	.bitshop-personal-menu-page .bitshop-personal-content {
		display: none;
	}

	.bitshop-personal-mobile-header {
		display: flex;
		min-height: 58px;
		margin-bottom: 12px;
		padding: 4px 2px 10px;
		border-bottom: 1px solid var(--bitshop-border);
		align-items: center;
		justify-content: space-between;
		gap: 14px;
	}

	.bitshop-personal-mobile-header h1 {
		margin: 0;
		overflow: hidden;
		color: var(--bitshop-graphite);
		font-size: 24px;
		font-weight: 800;
		line-height: 1.15;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.bitshop-personal-mobile-header-logout {
		display: inline-flex;
		min-height: 40px;
		padding: 0 4px 0 10px;
		color: var(--bitshop-graphite-muted);
		align-items: center;
		gap: 6px;
		font-size: 13px;
		font-weight: 800;
		text-decoration: none;
		flex: 0 0 auto;
	}

	.bitshop-personal-mobile-header-logout svg {
		width: 20px;
		height: 20px;
		fill: none;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1.8;
	}

	.bitshop-personal-mobile-nav {
		overflow: hidden;
		border: 1px solid var(--bitshop-border);
		border-radius: 16px;
		background: var(--bitshop-white);
	}

	.bitshop-personal-mobile-nav a {
		display: flex;
		min-height: 58px;
		padding: 10px 15px;
		color: var(--bitshop-graphite);
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		text-decoration: none;
	}

	.bitshop-personal-mobile-nav a + a {
		border-top: 1px solid var(--bitshop-border);
	}

	.bitshop-personal-mobile-nav strong {
		font-size: 15px;
		font-weight: 800;
		line-height: 1.2;
	}

	.bitshop-personal-mobile-nav svg {
		width: 18px;
		height: 18px;
		fill: none;
		stroke: var(--bitshop-cyan-dark);
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 2;
		flex: 0 0 18px;
	}

	.bitshop-personal-section-page .bitshop-personal-mobile-section-heading {
		display: flex;
		min-height: 52px;
		margin: 0 0 16px;
		color: var(--bitshop-graphite);
		align-items: center;
		gap: 8px;
	}

	.bitshop-personal-mobile-section-heading h1 {
		margin: 0;
		font-size: 27px;
		font-weight: 800;
		line-height: 1.15;
	}

	.bitshop-personal-mobile-back {
		display: grid;
		width: 36px;
		height: 44px;
		color: var(--bitshop-cyan-dark);
		place-items: center;
		flex: 0 0 36px;
	}

	.bitshop-personal-mobile-back svg {
		width: 25px;
		height: 25px;
		fill: none;
		stroke: var(--bitshop-cyan-dark);
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 2;
	}

	.bitshop-personal-section-page .bitshop-personal-content {
		padding-top: 0;
	}

	.bitshop-personal-section-page .bitshop-profile-heading,
	.bitshop-personal-section-page .bitshop-orders-heading,
	.bitshop-personal-section-page .bitshop-addresses-heading,
	.bitshop-personal-section-page .bitshop-companies-heading {
		display: none;
	}

	.bitshop-personal-content .bitshop-orders-heading h1 {
		font-size: 26px;
	}

	.bitshop-logout-confirm-dialog {
		padding: 24px 20px 20px;
		border-radius: 16px;
	}

	.bitshop-logout-confirm-dialog h2 {
		font-size: 22px;
	}
}

.bitshop-catalog-page {
	padding: 0 0 56px;
}

.bitshop-catalog-page-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.bitshop-catalog-page-heading h1 {
	margin: 0;
}

.bitshop-catalog-section-heading {
	margin: 0 0 20px;
	color: var(--bitshop-graphite);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
}

.bitshop-catalog-section-title-row {
	display: block;
}

.bitshop-privacy-heading {
	margin-bottom: 35px;
}

.bitshop-privacy-heading h1 {
	margin: 0;
}

@media (max-width: 767px) {
	.bitshop-privacy-heading {
		display: flex;
		align-items: flex-start;
		gap: 8px;
		margin-bottom: 24px;
	}

	.bitshop-privacy-heading .bitshop-privacy-back {
		flex: 0 0 22px;
		min-height: 34px;
		margin: 0;
	}

	.bitshop-privacy-heading h1 {
		font-size: 25px;
		line-height: 1.2;
	}

	.bitshop-catalog-section-title-row {
		display: flex;
		align-items: stretch;
		gap: 8px;
		margin: 0 0 16px;
	}

	.bitshop-catalog-section-title-row .bitshop-mobile-context-back {
		margin: 0;
		min-height: 0;
	}

	.bitshop-catalog-section-heading {
		margin: 0;
		font-size: 25px;
	}
}

.catalog-section {
	margin-bottom: 0;
}
