/* ============================================
   PC GUIDE - MAIN PAGE STYLES
   ============================================ */

#pc-guide {
	background-color: #f8f9fa;
	padding-top: 32px;
	padding-bottom: 32px;
}

@media (max-width: 767px) {
	body {
		background-color: #f8f9fa;
	}
}

/* HERO ---------------------------------- */

#pc-guide .hero {
	position: relative;
	display: flex;
	align-items: center;
	background: linear-gradient(to right, #f00028, #c5001d);
	margin: 0 32px;
	border-radius: 8px;
	min-height: 280px;
}

#pc-guide .hero-content {
	position: relative;
	z-index: 1;
	flex: 1 1 56%;
	color: white;
	padding: 40px 32px 40px 48px;
}

#pc-guide .hero-content h1 {
	font-size: 36px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

#pc-guide .hero-subtitle {
	display: block;
	font-size: 22px;
	font-weight: 500;
	margin-top: 8px;
	margin-bottom: 24px;
	text-transform: none;
	opacity: 0.9;
}

#pc-guide .hero-features {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

#pc-guide .hero-feature {
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
	cursor: help;
}

#pc-guide .hero-feature span {
	font-size: 18px;
	font-weight: 500;
}

#pc-guide .hero-feature span::after {
	content: "›";
	font-size: 20px;
	margin-left: 8px;
	opacity: 0.7;
}

#pc-guide .hero-feature::after {
	content: attr(data-tooltip);
	position: absolute;
	left: 32px;
	top: 100%;
	margin-top: 8px;
	padding: 8px 16px;
	background: white;
	color: #333;
	font-size: 12px;
	line-height: 1.4;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	width: 240px;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.2s ease,
		visibility 0.2s ease;
	pointer-events: none;
	z-index: 10;
}

/* Show on hover (desktop) and on the .open class (set by JS on tap).
   The :hover rule is scoped to real hover-capable devices because
   touch devices leave :hover sticky after a tap, which would prevent
   tapping the same feature again from closing the tooltip. */
@media (hover: hover) {
	#pc-guide .hero-feature:hover::after {
		opacity: 1;
		visibility: visible;
	}
}

#pc-guide .hero-feature.open::after {
	opacity: 1;
	visibility: visible;
}

#pc-guide .hero-image {
	position: relative;
	z-index: 1;
	flex: 1 1 44%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
}

#pc-guide .hero-decor {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 44%;
	border-radius: 0 8px 8px 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
	-webkit-mask-image: linear-gradient(to right, transparent, black 8%);
	mask-image: linear-gradient(to right, transparent, black 8%);
}

#pc-guide .hero-square {
	position: absolute;
	border-radius: 4px;
}

#pc-guide .hero-square-1 {
	top: 24px;
	right: 40px;
	width: 96px;
	height: 96px;
	background: rgba(255, 255, 255, 0.11);
}

#pc-guide .hero-square-2 {
	bottom: 32px;
	right: 72px;
	width: 72px;
	height: 72px;
	border: 1px solid rgba(255, 255, 255, 0.25);
}

#pc-guide .hero-square-3 {
	top: 40px;
	right: 128px;
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.14);
}

#pc-guide .hero-square-4 {
	bottom: 40px;
	right: 400px;
	width: 64px;
	height: 64px;
	border: 1px solid rgba(255, 255, 255, 0.22);
}

#pc-guide .hero-square-5 {
	bottom: 80px;
	right: 448px;
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.12);
}

#pc-guide .hero-square-6 {
	top: 96px;
	right: 304px;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.14);
}

#pc-guide .hero-square-7 {
	top: 120px;
	right: 272px;
	width: 24px;
	height: 24px;
	border: 1px solid rgba(255, 255, 255, 0.25);
}

#pc-guide .hero-tablet {
	display: none;
}

#pc-guide .hero-image img {
	max-width: 100%;
	max-height: 240px;
	height: auto;
	object-fit: contain;
}

@media (max-width: 991px) {
	#pc-guide .hero-content {
		flex: 1 1 60%;
		padding: 32px;
	}

	#pc-guide .hero-image {
		flex: 1 1 40%;
		padding: 24px;
	}

	#pc-guide .hero-decor {
		width: 40%;
	}

	#pc-guide .hero-content h1 {
		font-size: 28px;
	}

	#pc-guide .hero-subtitle {
		font-size: 18px;
		margin-bottom: 16px;
	}

	#pc-guide .hero-feature span {
		font-size: 16px;
	}

	#pc-guide .hero-image img {
		max-height: 200px;
	}
}

@media (max-width: 767px) {
	#pc-guide .hero {
		margin: 0;
		min-height: auto;
	}

	#pc-guide .hero-content {
		padding: 24px;
	}

	#pc-guide .hero-content h1 {
		font-size: 22px;
	}

	#pc-guide .hero-subtitle {
		font-size: 14px;
		margin-bottom: 16px;
	}

	#pc-guide .hero-feature span {
		font-size: 14px;
	}

	#pc-guide .hero-desktop {
		display: none;
	}

	#pc-guide .hero-tablet {
		display: flex;
	}

	#pc-guide .hero-square-1 {
		top: 32px;
		right: 16px;
		width: 64px;
		height: 64px;
	}

	#pc-guide .hero-square-3 {
		top: 56px;
		right: 144px;
		width: 40px;
		height: 40px;
	}

	#pc-guide .hero-square-4 {
		bottom: 96px;
		right: 208px;
		width: 48px;
		height: 48px;
	}

	#pc-guide .hero-square-5 {
		bottom: 24px;
		right: 88px;
		width: 40px;
		height: 40px;
	}

	#pc-guide .hero-square-2,
	#pc-guide .hero-square-6,
	#pc-guide .hero-square-7 {
		display: none;
	}
}

@media (max-width: 575.98px) {
	#pc-guide .hero-tablet {
		display: none;
	}

	#pc-guide .hero-decor {
		display: none;
	}
}

/* SHARED ---------------------------------- */

#pc-guide .section-label {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #999;
	margin: 0 0 16px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

#pc-guide .section-label::before,
#pc-guide .section-label::after {
	content: "";
	height: 1px;
	flex: 1;
	max-width: 48px;
	background: #ccc;
}

@media (max-width: 767px) {
	#pc-guide {
		padding-top: 16px;
		padding-bottom: 16px;
	}

	#pc-guide .section-label {
		font-size: 12px;
	}

	#pc-guide .section-label::before,
	#pc-guide .section-label::after {
		display: none;
	}
}

/* PC LINEUP ---------------------------------- */

#pc-guide .pc-lineup {
	padding: 32px 32px 0;
}

#pc-guide .pc-lineup-link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

#pc-guide .pc-lineup-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 32px;
	text-align: center;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

#pc-guide .pc-lineup-link:hover .pc-lineup-card {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	transition:
		transform 0.15s ease-out,
		box-shadow 0.15s ease-out;
}

#pc-guide .pc-lineup-title {
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 8px;
}

#pc-guide .pc-lineup-desc {
	font-size: 14px;
	line-height: 1.5;
	color: #555;
	margin: 0;
}

#pc-guide .pc-lineup-media {
	margin-top: auto;
	flex-shrink: 0;
	padding-top: 24px;
}

#pc-guide .pc-lineup-media img {
	display: block;
	margin: 0 auto;
}

#pc-guide .pc-lineup-cta {
	display: inline-block;
	margin-top: 24px;
	padding: 8px 32px;
	background-color: #e3000c;
	color: white;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 8px;
	font-size: 14px;
}

@media (max-width: 767px) {
	#pc-guide .pc-lineup {
		padding: 24px 0 0;
	}

	#pc-guide .pc-lineup-card {
		padding: 24px 16px;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	}

	#pc-guide .pc-lineup-link:active .pc-lineup-card {
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	}

	#pc-guide .pc-lineup-title {
		font-size: 16px;
	}

	#pc-guide .pc-lineup-desc {
		font-size: 12px;
		line-height: 1.45;
	}

	#pc-guide .pc-lineup-media {
		padding-top: 16px;
	}

	#pc-guide .pc-lineup-cta {
		margin-top: 16px;
		padding: 8px 24px;
		font-size: 12px;
	}
}

/* PC SERVICES ---------------------------------- */

#pc-guide .pc-services {
	padding: 32px 32px 0;
}

#pc-guide .pc-services-card {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 32px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
}

#pc-guide .pc-services-card img {
	max-width: 64px;
}

#pc-guide .pc-services-title {
	font-size: 18px;
	font-weight: 700;
	margin: 16px 0 8px;
}

#pc-guide .pc-services-card p {
	font-size: 14px;
	line-height: 1.5;
	color: #555;
	margin: 0 0 8px;
}

#pc-guide .pc-services-card p:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	#pc-guide .pc-services {
		padding: 24px 0 0;
	}

	#pc-guide .pc-services-card {
		padding: 24px 16px;
	}

	#pc-guide .pc-services-card img {
		max-width: 48px;
	}

	#pc-guide .pc-services-title {
		font-size: 16px;
	}

	#pc-guide .pc-services-card p {
		font-size: 12px;
	}
}

/* PCB BANNER ---------------------------------- */

#pc-guide .pcb-banner {
	display: flex;
	align-items: center;
	background: #1a1a1a;
	margin: 32px 32px 0;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: white;
	transition: box-shadow 0.3s ease;
}

#pc-guide .pcb-banner:hover {
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#pc-guide .pcb-banner-content {
	flex: 1 1 56%;
	padding: 40px 32px 40px 48px;
}

#pc-guide .pcb-banner-title {
	font-size: 22px;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.25;
	margin: 0 0 8px;
}

#pc-guide .pcb-banner-desc {
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 24px;
	max-width: 400px;
}

#pc-guide .pcb-banner-cta {
	display: inline-block;
	padding: 8px 32px;
	background-color: #e3000c;
	color: white;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	border-radius: 8px;
}

#pc-guide .pcb-banner-image {
	flex: 1 1 44%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
}

#pc-guide .pcb-banner-tablet {
	display: none;
}

#pc-guide .pcb-banner-glint {
	position: relative;
	display: inline-block;
	-webkit-mask-image: var(--glint-mask);
	mask-image: var(--glint-mask);
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

#pc-guide .pcb-banner-glint::after {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
	transition: left 0.8s ease;
}

#pc-guide .pcb-banner:hover .pcb-banner-glint::after {
	left: 100%;
}

#pc-guide .pcb-banner-image img {
	max-width: 100%;
	max-height: 200px;
	height: auto;
	object-fit: contain;
}

@media (max-width: 991px) {
	#pc-guide .pcb-banner-content {
		flex: 1 1 60%;
		padding: 32px;
	}

	#pc-guide .pcb-banner-image {
		flex: 1 1 40%;
		padding: 24px;
	}

	#pc-guide .pcb-banner-title {
		font-size: 20px;
	}

	#pc-guide .pcb-banner-image img {
		max-height: 160px;
	}
}

@media (max-width: 767px) {
	#pc-guide .pcb-banner {
		margin: 16px 0 0;
	}

	#pc-guide .pcb-banner-content {
		padding: 24px;
	}

	#pc-guide .pcb-banner-title {
		font-size: 18px;
	}

	#pc-guide .pcb-banner-desc {
		font-size: 12px;
		margin-bottom: 16px;
	}

	#pc-guide .pcb-banner-cta {
		font-size: 12px;
		padding: 8px 24px;
	}

	#pc-guide .pcb-banner-desktop {
		display: none;
	}

	#pc-guide .pcb-banner-tablet {
		display: flex;
	}
}

@media (max-width: 575.98px) {
	#pc-guide .pcb-banner-tablet {
		display: none;
	}
}

/* PRODUCTS ---------------------------------- */

#pc-guide .products {
	padding: 32px 32px 0;
}

#pc-guide .products-container {
	position: relative;
}

#pc-guide .products-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 2px solid #e2e2e2;
	background: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition:
		background 0.3s ease,
		border-color 0.3s ease,
		color 0.3s ease,
		transform 0.3s ease,
		box-shadow 0.3s ease;
	color: #333;
	z-index: 10;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#pc-guide .products-nav-prev {
	left: 8px;
}

#pc-guide .products-nav-next {
	right: 8px;
}

#pc-guide .products-nav-btn svg {
	width: 24px;
	height: 24px;
	display: block;
}

#pc-guide .products-nav-btn:hover:not(:disabled) {
	background: #e3000c;
	border-color: #e3000c;
	color: white;
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

#pc-guide .products-nav-btn:disabled {
	display: none;
}

/* The carousel splits its responsibilities across two elements so
   hover shadows and the drag surface don't conflict:

   .products-grid  = scroll container. Needs overflow-x: auto for the
                     horizontal scroll, which (per spec) forces
                     overflow-y to clip too. padding-block + negative
                     margin-block opens vertical breathing room inside
                     the clip so card hover shadows can render, without
                     pushing surrounding layout.

   .products-track = flex row that holds the cards and owns the drag.
                     Sized only to the cards, so the grid's vertical
                     padding isn't part of the drag hit area. */
#pc-guide .products-grid {
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-block: 32px;
	margin-block: -32px;
}

#pc-guide .products-grid::-webkit-scrollbar {
	display: none;
}

#pc-guide .products-grid.dragging {
	scroll-behavior: auto;
}

#pc-guide .products-track {
	display: flex;
	flex-wrap: nowrap;
	gap: 32px;
	cursor: grab;
	user-select: none;
}

#pc-guide .products-grid.dragging .products-track {
	cursor: grabbing;
}

#pc-guide .products-track * {
	user-select: none;
}

#pc-guide .products-track img {
	pointer-events: none;
	-webkit-user-drag: none;
}

#pc-guide .products-track > * {
	flex: 0 0 calc(25% - 24px);
	min-width: calc(25% - 24px);
	display: flex;
	flex-direction: column;
}

/* Product Cards */

#pc-guide .product-item {
	display: flex;
	height: 100%;
}

#pc-guide .product-link {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

#pc-guide .product-card {
	background: white;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	height: 100%;
	overflow: hidden;
	position: relative;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
	display: grid;
	grid-template-rows:
		auto
		auto
		minmax(48px, auto)
		minmax(40px, auto)
		auto;
	align-items: start;
}

#pc-guide .product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	transition:
		transform 0.15s ease-out,
		box-shadow 0.15s ease-out;
}

#pc-guide .product-image {
	padding: 24px;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#pc-guide .product-image img {
	width: 100%;
	max-height: 176px;
	object-fit: contain;
}

#pc-guide .product-info {
	display: contents;
}

#pc-guide .product-brand {
	font-size: 12px;
	font-weight: 600;
	color: #767676;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0;
	padding: 0 24px;
}

#pc-guide .product-title {
	font-size: 14px;
	font-weight: 700;
	color: #333;
	line-height: 1.4;
	margin: 0;
	padding: 4px 24px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

#pc-guide .product-addon {
	font-size: 12px;
	color: #767676;
	margin: 0;
	padding: 4px 24px 0;
}

#pc-guide .product-prices {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	margin-top: auto;
	padding: 16px 24px 24px;
	align-self: end;
}

#pc-guide .product-price-old {
	font-size: 12px;
	color: #767676;
	text-decoration: line-through;
	margin: 0;
}

#pc-guide .product-price {
	font-size: 20px;
	font-weight: 700;
	color: #ad0109;
	margin: 0;
}

#pc-guide .product-category {
	position: absolute;
	top: 0;
	left: 0;
	background-color: #001424;
	color: white;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 8px 16px;
	border-radius: 8px 0 8px 0;
	z-index: 2;
}

@media (max-width: 1199.98px) {
	#pc-guide .products-track > * {
		flex: 0 0 calc((100% - 64px) / 3.25);
		min-width: calc((100% - 64px) / 3.25);
	}
}

@media (max-width: 991.98px) {
	#pc-guide .products-track {
		gap: 24px;
	}

	#pc-guide .products-track > * {
		flex: 0 0 calc((100% - 48px) / 2.25);
		min-width: calc((100% - 48px) / 2.25);
	}
}

@media (max-width: 767px) {
	#pc-guide .products {
		padding: 24px 0 0;
	}

	#pc-guide .products-nav-btn {
		top: 35%;
		width: 40px;
		height: 40px;
	}

	#pc-guide .products-nav-btn svg {
		width: 20px;
		height: 20px;
	}

	#pc-guide .product-title {
		font-size: 12px;
	}

	#pc-guide .product-price {
		font-size: 18px;
	}
}

@media (max-width: 575.98px) {
	#pc-guide .products-track {
		gap: 16px;
	}

	#pc-guide .products-track > * {
		flex: 0 0 calc((100% - 16px) / 1.25);
		min-width: calc((100% - 16px) / 1.25);
	}

	#pc-guide .product-image {
		padding: 16px;
		min-height: 160px;
	}

	#pc-guide .product-image img {
		max-height: 144px;
	}

	#pc-guide .product-brand {
		padding: 0 16px;
	}

	#pc-guide .product-title {
		padding: 4px 16px 0;
		min-height: 40px;
	}

	#pc-guide .product-addon {
		padding: 4px 16px 0;
	}

	#pc-guide .product-prices {
		padding: 8px 16px 16px;
	}

	#pc-guide .product-category {
		padding: 4px 8px;
	}
}

/* SEO TEXT (CMS-injected below #pc-guide) ---------------------------------- */

#seoTextContainer {
	padding: 16px 32px 0;
}

@media (max-width: 767px) {
	#seoTextContainer {
		padding: 0;
	}
}
