/**
 * wideum-shop-pdp.css
 *
 * Fitxa de producte: hardware (.wshop-pdp-*), ressenyes i
 * plantilla de programari (.wshop-software-*).
 *
 * F2 · Consolidació de CSS: aquestes regles vivien duplicades al custom_css
 * dels documents d'Elementor (#984, #1260, #1145, #1146, #1261, #1262).
 * Generat per tools/design/extract-doc-css.php --block=pdp --write
 */

/* == GENERAT PER tools/design/extract-doc-css.php — NO EDITIS A MÀ == */

.wshop-pdp-breadcrumb .woocommerce-breadcrumb {
	margin: 0;
	padding: 0;
}

.wshop-pdp-title .product_title {
	margin: 0;
}

.wshop-pdp-rating .woocommerce-product-rating {
	margin: 0;
}

.wshop-pdp-brand img.wshop-pdp-brandimg,
.wshop-pdp-brand img {
	max-height: 34px;
	width: auto;
	display: block;
}

.wshop-pdp-price .price {
	margin: 0;
	display: block;
}

.wshop-pdp-price .price del {
	opacity: .5;
	margin-right: 8px;
}

.wshop-pdp-assurances .elementor-icon-list-item:nth-child(2) .elementor-icon-list-icon i {
	color: #1E9E5A;
}

.wshop-pdp-assurances .elementor-icon-list-item:nth-child(2) .elementor-icon-list-text {
	color: #1E9E5A;
	font-weight: 600;
}

.wshop-pdp-assurances .elementor-icon-list-item:nth-child(3) .elementor-icon-list-icon i {
	color: #1CA3B5;
}

.wshop-pdp-assurances .elementor-icon-list-item:nth-child(3) .elementor-icon-list-text {
	color: #1CA3B5;
}

.wshop-pdp-atc form.cart {
	margin: 0;
}

.wshop-pdp-atc .single_add_to_cart_button {
	width: 100%;
	transition: background .2s ease;
}

.wshop-pdp-ctarow .elementor-button {
	white-space: nowrap;
}

.wshop-pdp-desc {
	color: #333;
	font-size: 16px;
	line-height: 1.7;
}

.wshop-pdp-desc h2,
.wshop-pdp-desc h3 {
	color: #00175C;
	font-weight: 700;
	font-size: 26px;
	line-height: 1.3;
	margin: 40px 0 14px;
}

.wshop-pdp-desc h4,
.wshop-pdp-desc h5 {
	color: #00175C;
	font-weight: 700;
	font-size: 19px;
	margin: 26px 0 10px;
}

.wshop-pdp-desc p {
	margin: 0 0 14px;
}

.wshop-pdp-desc a {
	color: #1CA3B5;
}

.wshop-pdp-desc ul {
	list-style: none;
	margin: 14px 0 22px;
	padding-left: 0;
}

.wshop-pdp-desc ul li {
	position: relative;
	padding-left: 34px;
	margin: 0 0 12px;
}

.wshop-pdp-desc ul li::marker {
	content: "";
}

.wshop-pdp-desc ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 22px;
	height: 22px;
	background: url(http://localhost:8888/wp-content/themes/wideum/images/icon-check-gradient.svg) no-repeat center/22px;
}

.wshop-pdp-desc ul li p {
	margin: 0;
}

.wshop-pdp-desc .ts-advanced-tables-container {
	margin: 18px 0;
	max-width: 100%;
	overflow-x: auto;
}

.wshop-pdp-desc table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #E5E8EF;
	border-radius: 10px;
	overflow: hidden;
	margin: 18px 0;
	font-size: 15px;
}

.wshop-pdp-desc table th {
	background: #00175C;
	color: #fff;
	text-align: left;
	padding: 12px 16px;
	font-weight: 700;
	border: 0;
}

.wshop-pdp-desc table td {
	padding: 11px 16px;
	border: 0;
	border-top: 1px solid #EDF0F5;
	vertical-align: middle;
	color: #333;
	background: #fff;
}

.wshop-pdp-desc table tbody tr:nth-child(even) td {
	background: #F7F8FA;
}

.wshop-pdp-desc table td.ts-cell-weight-bold,
.wshop-pdp-desc table td[data-cell-scope="row"] {
	color: #00175C;
	font-weight: 600;
}

.wshop-pdp-desc p b,
.wshop-pdp-desc p strong {
	color: #00175C;
}

.wshop-pdp-desc p:has(> b:only-child) {
	margin: 20px 0 6px;
	font-size: 17px;
}

.wshop-pdp-upsell section.up-sells>h2,
.wshop-pdp-upsell .up-sells h2 {
	color: #00175C;
}

.wshop-pdp-upsell ul.products li.product {
	background: #fff;
	border: 1px solid #E5E8EF;
	border-radius: 10px;
	padding: 18px 18px 22px;
	text-align: center;
	transition: box-shadow .2s ease,transform .2s ease;
}

.wshop-pdp-upsell ul.products li.product:hover {
	box-shadow: 0 12px 32px rgba(0,23,92,.10);
	transform: translateY(-3px);
}

.wshop-pdp-upsell ul.products li.product img {
	border-radius: 8px;
	margin: 0 auto 12px;
}

.wshop-pdp-upsell ul.products li.product .woocommerce-loop-product__title {
	color: #00175C;
	font-weight: 700;
	font-size: 16px;
}

.wshop-pdp-upsell ul.products li.product .price {
	color: #00175C;
	font-weight: 700;
}

.wshop-pdp-upsell ul.products li.product .button {
	background: #00175C;
	color: #fff;
	border-radius: 10px;
	font-weight: 700;
}

.wshop-pdp-upsell ul.products li.product .button:hover {
	background: #4ADBC4;
}

.wshop-pdp-upsell ul.products li.product .onsale {
	background: #4ADBC4;
	color: #fff;
	border-radius: 10px;
}

.wshop-review-card .elementor-heading-title {
	margin: 0;
}

.wshop-review-quote p {
	margin: 0;
}

.wshop-pdp-cta .elementor-heading-title {
	margin: 0;
}

@media (max-width:767px) {
	body.single-product {
		overflow-x: hidden;
	}
	.wshop-pdp-hero,
	.wshop-pdp-hero>.e-con-inner,
	.wshop-pdp-gallery,
	.wshop-pdp-buybox {
		width: 100%!important;
		max-width: 100%!important;
		min-width: 0!important;
	}
	.wshop-pdp-hero {
		overflow: hidden;
		padding-left: 20px!important;
		padding-right: 20px!important;
	}
	.wshop-pdp-gallery .woocommerce-product-gallery,
	.wshop-pdp-gallery .woocommerce-product-gallery__wrapper {
		max-width: 100%!important;
	}
	.wshop-pdp-buybox .elementor-widget,
	.wshop-pdp-buybox .elementor-widget-container {
		max-width: 100%;
		min-width: 0;
	}
	.wpdp-highlights--compact {
		grid-template-columns: minmax(0,1fr)!important;
	}
	.wshop-pdp-gallery .flex-control-thumbs {
		display: grid!important;
		grid-template-columns: repeat(4,minmax(0,1fr));
		gap: 8px;
		overflow: hidden;
	}
	.wshop-pdp-gallery .flex-control-thumbs li {
		width: auto!important;
		min-width: 0!important;
		margin: 0!important;
	}
	.wshop-pdp-ctarow,
	.wshop-pdp-ctarow .elementor-widget-button,
	.wshop-pdp-ctarow .elementor-button {
		width: 100%!important;
	}
	.wshop-pdp-desc table {
		min-width: 560px;
	}
	.wshop-pdp-content {
		overflow: hidden;
	}
}

.wshop-software-media img {
	display: block;
	width: 100%;
	max-height: 560px;
	object-fit: contain;
	border-radius: 12px;
}

.wshop-software-cart form.cart {
	margin: 0!important;
}

.wshop-software-cart .button {
	width: 100%!important;
}

.wshop-software-story>.e-con-inner {
	max-width: none!important;
	padding: 0!important;
}

.wshop-software-story .wshop-source-software-block {
	margin-top: 0;
}

.wshop-software-final {
	max-width: 1160px;
	margin-left: auto!important;
	margin-right: auto!important;
}

@media (max-width:767px) {
	.wshop-software-media {
		order: -1;
	}
	.wshop-software-media img {
		max-height: 360px;
	}
	.wshop-software-final {
		margin-left: 20px!important;
		margin-right: 20px!important;
	}
}


/* == FI GENERAT (sota d'aquesta línia, edició manual) == */

/* Reforços manuals d'especificitat (es conserven en regenerar). */

/* Jerarquia del contingut editorial del producte (post_content dins de
   .wshop-pdp-desc): al web, els encapçalaments dins d'una secció són
   .subsection-title (32) i .subsection-title-small (24) — no poden competir
   amb els títols de secció de la plantilla (48). */
.wshop-pdp-desc h2 {
	font-size: var(--title-small-size);
	line-height: var(--title-small-lineheight);
	font-weight: var(--bold);
	color: var(--dark-blue);
	margin: 40px 0 14px;
}

.wshop-pdp-desc h3 {
	font-size: var(--text-large-size);
	line-height: var(--text-large-lineheight);
	font-weight: var(--bold);
	color: var(--dark-blue);
	margin: 28px 0 10px;
}
