.wshop-compat {
	color: #001c63;
}

/* Capçal segons el kit de disseny (SectionHead): eyebrow + títol a l'esquerra.
   La variant compacta (chips sobre navy) conserva el centrat propi. */
.wshop-compat__eyebrow {
	display: block;
	margin-bottom: 8px;
	color: #1ca3b5;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.wshop-compat > h2 {
	margin: 0 0 28px;
	font-weight: 700;
	text-align: left;
}

.wshop-compat--compact > h2 {
	text-align: center;
}

/* El tema aplica padding vertical global a tots els <section> (wideum-theme.css
   línia ~111, amb !important als breakpoints) — aquests grups interns no són
   seccions de pàgina, així que el neutralitzem. */
.wshop-compat__group {
	padding: 0 !important;
	overflow: visible;
}

.wshop-compat__group + .wshop-compat__group {
	margin-top: 28px;
}

.wshop-compat__group h3 {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #53617c;
}

.wshop-compat__grid {
	display: grid;
	/* auto-fit (no auto-fill): amb 1-2 ítems no es reserven pistes buides.
	   Alineat a l'esquerra, com el capçal de la secció. */
	grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
	justify-content: start;
	gap: 16px;
}

/* Mini-card vertical de producte (mateix llenguatge que les cards del shop). */
.wshop-compat__card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	position: relative;
	padding: 14px;
	border: 1px solid #dfe4ed;
	border-radius: 10px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.wshop-compat__card:hover,
.wshop-compat__card:focus-visible {
	border-color: #1ca3b5;
	box-shadow: 0 8px 24px rgba(0, 28, 99, .08);
	transform: translateY(-2px);
}

.wshop-compat__thumb {
	display: block;
	margin-bottom: 12px;
	border-radius: 8px;
	background: #f7f8fa;
	overflow: hidden;
}

.wshop-compat__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	padding: 10%;
}

.wshop-compat__thumb--cover img {
	object-fit: cover;
	padding: 0;
}

.wshop-compat__name {
	display: block;
	color: #00175c;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.wshop-compat__price {
	display: block;
	margin-top: 4px;
	color: #53617c;
	font-size: 14px;
	font-weight: 600;
}

.wshop-compat__arrow {
	position: absolute;
	right: 14px;
	bottom: 12px;
	color: #1ca3b5;
	font-weight: 700;
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity .2s ease, transform .2s ease;
}

.wshop-compat__card:hover .wshop-compat__arrow,
.wshop-compat__card:focus-visible .wshop-compat__arrow {
	opacity: 1;
	transform: translateX(0);
}

/* ---- Panell navy "Better together" (grup software, patró SuiteValue del kit) */
.wshop-compat__group--suite {
	margin-top: 32px;
}

.wshop-suitepanel {
	position: relative;
	overflow: hidden;
	padding: 44px 40px;
	border-radius: 14px;
	background: #00175c;
	color: #fff;
}

.wshop-suitepanel::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(900px 300px at 88% -10%, rgba(74, 219, 196, .30), transparent 60%);
	opacity: .5;
	pointer-events: none;
}

.wshop-suitepanel > * {
	position: relative;
}

.wshop-suitepanel__eyebrow {
	display: block;
	margin-bottom: 10px;
	color: #4adbc4;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* Especificitat: guanya la regla genèrica .wshop-compat__group h3 (petita i
   gris) que altrament trepitjaria el títol del panell. */
.wshop-compat__group--suite h3.wshop-suitepanel__title {
	margin: 0 0 10px;
	max-width: 620px;
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}

.wshop-suitepanel__lead {
	margin: 0 0 26px;
	max-width: 620px;
	color: rgba(255, 255, 255, .8);
	font-size: 15.5px;
	line-height: 1.55;
}

.wshop-suitepanel__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.wshop-suitepanel__card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 12px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	text-decoration: none;
	transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.wshop-suitepanel__card:hover,
.wshop-suitepanel__card:focus-visible {
	border-color: #4adbc4;
	background: rgba(74, 219, 196, .10);
	transform: translateY(-2px);
}

.wshop-suitepanel__name {
	margin-bottom: 8px;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}

/* Logo wordmark (navy + gradient, per a fons clar) dins pastilla blanca. */
.wshop-suitepanel__logo {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	margin-bottom: 12px;
	padding: 8px 14px;
	border-radius: 10px;
	background: #fff;
}

.wshop-suitepanel__logo img {
	display: block;
	height: 30px;
	width: auto;
}

.wshop-suitepanel__tag {
	margin-bottom: 12px;
	color: rgba(255, 255, 255, .78);
	font-size: 13.5px;
	line-height: 1.5;
}

.wshop-suitepanel__meta {
	margin-bottom: 14px;
	color: rgba(255, 255, 255, .9);
	font-size: 14px;
	font-weight: 700;
}

.wshop-suitepanel__meta .woocommerce-Price-amount {
	color: #fff;
}

.wshop-suitepanel__cta {
	margin-top: auto;
	color: #4adbc4;
	font-size: 14px;
	font-weight: 700;
}

.wshop-compat__note {
	margin: 20px 0 0;
	color: #53617c;
	font-size: 14px;
}

.wshop-compat--compact {
	max-width: 1100px;
	margin-inline: auto;
	text-align: center;
}

.wshop-compat--compact > h2 {
	margin-bottom: 10px;
}

.wshop-compat__intro {
	max-width: 720px;
	margin: 0 auto 24px;
	color: #53617c;
	font-size: 16px;
	line-height: 1.6;
}

.wshop-compat--compact .wshop-compat__group h3 {
	margin-bottom: 18px;
	color: #53617c;
	font-size: 15px;
	font-weight: 500;
}

.wshop-compat__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.wshop-compat__chip {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 9px 15px;
	border: 1px solid #dfe4ed;
	border-radius: 999px;
	background: #fff;
	color: #001c63;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.wshop-compat__chip:hover,
.wshop-compat__chip:focus-visible {
	border-color: #1ca3b5;
	background: #eef9f8;
}

.wshop-compat__all {
	display: inline-block;
	margin-top: 20px;
	color: #00175c;
	font-weight: 700;
	text-decoration: none;
}

.wshop-pdp-compatibility-section--software {
	position: relative;
	overflow: hidden;
}

.wshop-pdp-compatibility-section--software::before {
	content: "";
	position: absolute;
	inset: auto -8% -170px auto;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: rgba(74, 219, 196, .10);
	pointer-events: none;
}

.wshop-pdp-compatibility-section--software .wshop-compat {
	position: relative;
	z-index: 1;
}

.wshop-pdp-compatibility-section--software .wshop-compat > h2 {
	color: #fff;
	font-size: clamp(28px, 3vw, 40px);
}

.wshop-pdp-compatibility-section--software .wshop-compat__intro,
.wshop-pdp-compatibility-section--software .wshop-compat__group h3 {
	color: rgba(255, 255, 255, .76);
}

.wshop-pdp-compatibility-section--software .wshop-compat__chip {
	border-color: rgba(255, 255, 255, .28);
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

.wshop-pdp-compatibility-section--software .wshop-compat__chip:hover,
.wshop-pdp-compatibility-section--software .wshop-compat__chip:focus-visible {
	border-color: #4adbc4;
	background: rgba(74, 219, 196, .16);
}

.wshop-pdp-compatibility-section--software .wshop-compat__all {
	color: #4adbc4;
}

@media (max-width: 767px) {
	.wshop-compat__grid {
		grid-template-columns: 1fr;
	}

	.wshop-suitepanel {
		padding: 30px 22px;
	}

	.wshop-suitepanel__title {
		font-size: 22px;
	}

	.wshop-suitepanel__grid {
		grid-template-columns: 1fr;
	}
}
