/**
 * Producto individual WooCommerce bÃ¡sico.
 * Tema OZ â€” cargado solo en single product.
 */
body.single-product,
body.single-product .site,
body.single-product .site-main.site-main--woo-single {
	background: #ffffff;
}

body.single-product .site,
body.single-product .site-main.site-main--woo-single {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	box-sizing: border-box;
}

.site-main.site-main--woo-single {
	padding-bottom: 2rem;
}

.oz-single-product {
	max-width: 100%;
	margin-inline: auto;
	padding: 1.5rem clamp(1rem, 3vw, 3rem) 2rem;
	box-sizing: border-box}

/* ===== Layout con barra lateral de Categorías (misma barra que la tienda) ===== */
.oz-single-product .oz-sp-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}
.oz-single-product .oz-sp-layout--no-sidebar {
	grid-template-columns: minmax(0, 1fr);
}
.oz-single-product .oz-sp-layout__sidebar { min-width: 0; }
.oz-single-product .oz-sp-layout__main { min-width: 0; }
/* Tablet/móvil: se oculta el sidebar y el producto ocupa todo el ancho. */
@media (max-width: 991px) {
	.oz-single-product .oz-sp-layout { grid-template-columns: minmax(0, 1fr); }
	.oz-single-product .oz-sp-layout__sidebar { display: none; }
}

/* ===== Franja superior de la ficha (título + migas) con la imagen Recurso-9,
   igual que la tienda. Se incluye vía archive/banner-bar.php en single-product.php.
   Estos estilos son propios de la ficha (shop-archive.css no se carga aquí). ===== */
.site-main--woo-single .oz-shop-page-banner {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	background-color: #eef1f3;
	background-image: url("https://www.gabicsafety.com/wp-content/uploads/2024/02/Recurso-9.png");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
	box-sizing: border-box}
.site-main--woo-single .oz-shop-page-banner__inner {
	max-width: 1440px;
	min-height: 78px;
	margin: 0 auto;
	padding: 32px 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	box-sizing: border-box}
.site-main--woo-single .oz-shop-page-banner__main,
.site-main--woo-single .oz-shop-page-banner__aside {
	min-width: 0;
	text-align: center}
.site-main--woo-single .oz-shop-page-banner__title {
	margin: 0;
	text-align: center;
	font-family: var(--OZ-Font-Headings);
	font-size: clamp(1.35rem, 3vw, 2rem);
	font-weight: 700;
	color: #0f172a;
	line-height: 1.15}
.site-main--woo-single .oz-shop-page-banner__crumbs {
	margin: 0;
	text-align: center}
.site-main--woo-single .oz-shop-page-banner__wc-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.25rem 0.35rem;
	margin: 0;
	font-size: 0.875rem;
	color: #6b7280}
.site-main--woo-single .oz-shop-page-banner__wc-breadcrumb a {
	color: #db0209;
	font-weight: 600;
	text-decoration: none}
.site-main--woo-single .oz-shop-page-banner__wc-breadcrumb a:hover {
	text-decoration: underline}
.site-main--woo-single .oz-shop-page-banner__crumb-sep {
	color: #9ca3af}

/* La miga de pan ya aparece en la franja: ocultar la del resumen (evita duplicado). */
.oz-single-product .ozc-single-product__breadcrumbs {
	display: none}

/* Card principal de la ficha: galería + resumen */
.oz-single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
	gap: clamp(1.5rem, 3vw, 2rem);
	align-items: start;
	margin: 1.5rem 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box}

/* La ficha del plugin (.ozc-single-product) maqueta galería+resumen en su propio
   grid interno (.ozc-single-product__inner, en loops.css). El grid 46/54 del tema
   sobre div.product sólo tiene UN hijo aquí, así que dejaba media columna vacía a la
   derecha. Con la tarjeta del plugin, div.product debe ser bloque y ocupar el 100%. */
.oz-single-product div.product:has(.ozc-single-product) {
	display: block;
}

@media (max-width: 991px) {
	.oz-single-product {
		padding: 1rem 0.75rem 1.75rem}

	.oz-single-product div.product {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 1rem}
}

.oz-single-product .woocommerce-product-gallery,
.oz-single-product .entry-summary {
	width: auto;
	float: none;
	min-width: 0}

.oz-single-product .woocommerce-product-gallery {
	padding: 0.875rem;
	background: #eef2f7;
	border-radius: 12px;
	box-sizing: border-box}

.oz-single-product .entry-summary {
	display: flex;
	flex-direction: column;
	gap: 1rem}

.oz-single-product .entry-summary > * {
	margin-top: 0;
	margin-bottom: 0}

.oz-single-product .woocommerce-product-gallery__wrapper,
.oz-single-product .flex-viewport {
	border-radius: 12px;
	overflow: hidden}

.oz-single-product .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	/* Caja cuadrada uniforme + imagen contenida: mismas dimensiones para todos los
	   productos, sin distorsión ni recorte, y sin saltos en galerías de varias
	   imágenes (todos los slides quedan del mismo alto). */
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #ffffff;
	border-radius: 12px;
	transition: transform 0.25s ease;
	transform-origin: var(--oz-zoom-x, 50%) var(--oz-zoom-y, 50%);
	will-change: transform}

.oz-single-product .woocommerce-product-gallery__image:hover img,
.oz-single-product .woocommerce-product-gallery__image a:hover img,
.oz-single-product .woocommerce-product-gallery__image a:focus-visible img {
	transform: scale(1.05)}

.oz-single-product .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin: 0.875rem 0 0;
	padding: 0;
	list-style: none}

.oz-single-product .flex-control-thumbs li {
	margin: 0;
	flex: 0 0 68px}

.oz-single-product .flex-control-thumbs img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #ffffff;
	border-radius: 8px;
	border: 1px solid transparent;
	opacity: 0.84;
	cursor: pointer;
	transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease}

/* La galería usaba layout vertical (miniaturas al costado). En productos de 1 sola
   imagen esa columna lateral quedaba vacía y la imagen principal no llenaba → hueco a
   la derecha. La pasamos a BLOQUE: imagen principal a ancho completo y miniaturas (si
   hay varias) en fila debajo. Selectores con .oz-single-product .oz-wc-gallery.oz-wc-
   gallery--vertical para ganarle en especificidad a product-gallery.css (que carga
   después). Se usa hijo directo (>) para el caso de 1 imagen sin romper el slider. */
@media (min-width: 992px) {
	.oz-single-product .oz-wc-gallery.oz-wc-gallery--vertical {
		display: block !important}

	.oz-single-product .oz-wc-gallery.oz-wc-gallery--vertical .flex-viewport {
		width: 100% !important}

	.oz-single-product .oz-wc-gallery.oz-wc-gallery--vertical > .woocommerce-product-gallery__wrapper,
	.oz-single-product .oz-wc-gallery.oz-wc-gallery--vertical > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important}

	.oz-single-product .oz-wc-gallery.oz-wc-gallery--vertical .flex-control-thumbs {
		order: 0 !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		width: 100% !important;
		min-width: 0 !important;
		max-height: none !important;
		margin: 12px 0 0 !important;
		padding: 0 !important;
		overflow: visible !important}

	.oz-single-product .oz-wc-gallery.oz-wc-gallery--vertical .flex-control-thumbs img {
		width: 68px !important;
		height: 68px !important;
		object-fit: contain !important}
}

.oz-single-product .flex-control-thumbs li:hover img,
.oz-single-product .flex-control-thumbs img.flex-active {
	opacity: 1;
	border-color: #b8cad8;
	box-shadow: 0 0 0 1px rgba(15, 61, 94, 0.08)}

.oz-single-product .product_title {
	font-family: var(--OZ-Font-Headings);
	font-size: clamp(1.5rem, 2.8vw, 1.75rem);
	font-weight: 700;
	line-height: 1.15;
	color: #111827}

.oz-single-product .price {
	color: #111827;
	font-weight: 700;
	font-size: 1.2rem}

.oz-single-product .woocommerce-product-details__short-description {
	color: #6b7280;
	font-size: 0.98rem;
	line-height: 1.7}

.oz-single-product .woocommerce-product-details__short-description p {
	margin: 0 0 0.85rem}

.oz-single-product .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0}

.oz-single-product .woocommerce-product-details__short-description ul {
	margin: 0.25rem 0 0;
	padding-left: 1.2rem;
	color: #4b5563}

.oz-single-product .ozc-single-product__summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 0.75rem;
	row-gap: 0;
	align-items: start}

.oz-single-product .ozc-single-product__summary > :not(.ozc-single-product__wa):not(.oz-wc-ficha-tecnica) {
	grid-column: 1 / -1}

.oz-single-product .ozc-single-product__breadcrumbs {
	margin-bottom: 0.55rem}

.oz-single-product .ozc-single-product__title {
	margin-bottom: 0.9rem}

/* Título del producto en rojo de marca Proinval. */
.oz-single-product .ozc-single-product__title .product_title,
.oz-single-product .ozc-single-product__title h1 {
	color: #db0209}

/* El precio es 0 (catálogo mayorista): no mostrarlo en la ficha. */
.oz-single-product .ozc-single-product__price {
	display: none !important}

.oz-single-product .ozc-single-product__excerpt {
	margin-bottom: 0;
	padding-bottom: 1.15rem}

.oz-single-product form.cart {
	/* 10px arriba/abajo. !important para ganar al margin-bottom:2em por defecto de
	   WooCommerce (.woocommerce div.product form.cart), que metía 32px abajo. */
	margin: 10px 0 !important;
}

.oz-single-product form.cart table.variations {
	margin: 0 0 0.875rem;
	width: 100%;
}

.oz-single-product form.cart.variations_form {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	align-items: stretch;
}

.oz-single-product form.cart:not(.variations_form):not(.grouped_form),
.oz-single-product form.cart.variations_form .woocommerce-variation-add-to-cart,
.oz-single-product form.cart:not(.grouped_form) > div:has(.quantity):has(.single_add_to_cart_button),
.oz-single-product form.cart:not(.grouped_form) > div:has(.quantity):has(button[type='submit'].single_add_to_cart_button) {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	box-sizing: border-box;
}

.oz-single-product .ozc-single-product__cta {
	display: contents;
}

.oz-single-product .ozc-single-product__summary form.cart,
.oz-single-product .entry-summary form.cart {
	order: 1;
	grid-column: 1 / -1;
}

.oz-single-product .ozc-single-product__summary .ozc-single-product__cta {
	margin-top: 1.15rem}

.oz-single-product .ozc-single-product__summary .ozc-single-product__wa {
	order: 2;
	grid-column: 1;
	width: 100%;
	margin-top: 0.8rem;
}

.oz-single-product .ozc-single-product__summary .oz-wc-ficha-tecnica,
.oz-single-product .entry-summary .oz-wc-ficha-tecnica {
	order: 3;
	grid-column: 2;
	width: 100%;
	margin-top: 0.8rem;
}

.oz-single-product .ozc-single-product__summary:has(.ozc-single-product__wa):not(:has(.oz-wc-ficha-tecnica)) .ozc-single-product__wa,
.oz-single-product .ozc-single-product__summary:not(:has(.ozc-single-product__wa)):has(.oz-wc-ficha-tecnica) .oz-wc-ficha-tecnica {
	grid-column: 1 / -1;
}

.oz-single-product .ozc-single-product__summary .ozc-single-product__meta {
	order: 0;
	margin-top: 0;
	padding: 0.9rem 0;
	border-top: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
}

/* Nota mayorista (diseño Gabic): icono + texto, al final del resumen */
.oz-single-product .ozc-single-product__summary .ozc-single-product__note {
	order: 5;
	grid-column: 1 / -1;
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-top: 1rem;
	color: #6b7280;
	font-size: 0.85rem;
	line-height: 1.45;
}
.ozc-single-product__note-icon {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	margin-top: 1px;
	background-color: #9aa3af;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3 2 8v13h6v-6h8v6h6V8L12 3Zm-2 9H6v-2h4v2Zm0 4H6v-2h4v2Zm8-4h-4v-2h4v2Z'/%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 24 24'%3E%3Cpath fill='%23000' d='M12 3 2 8v13h6v-6h8v6h6V8L12 3Zm-2 9H6v-2h4v2Zm0 4H6v-2h4v2Zm8-4h-4v-2h4v2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.oz-single-product form.cart .quantity,
.oz-single-product form.cart.variations_form .woocommerce-variation-add-to-cart .quantity {
	flex: 0 0 auto;
}

body.single-product .oz-single-product .ozc-single-product__cta form.cart .quantity {
	border-radius: 8px;
}

.oz-single-product form.cart .single_add_to_cart_button,
.oz-single-product form.cart .button.alt,
.oz-single-product form.cart button[type='submit'].single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
	min-height: 44px;
	padding: 0 1.35rem;
	border-radius: 8px;
	border: 1px solid #db0209;
	background: #db0209;
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: none;
	transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.oz-single-product form.cart .single_add_to_cart_button:hover,
.oz-single-product form.cart .button.alt:hover {
	background: #b00006;
	border-color: #b00006;
	color: #ffffff;
	box-shadow: none;
}

/* Stepper de cantidad: radio 10px, borde #e6e6e6, botones 46px en rojo #db0209. */
.oz-single-product form.cart .quantity .oz-qty-stepper {
	display: flex;
	align-items: stretch;
	height: 44px;
	max-width: none;
	/* El borde visible lo pone el wrapper .quantity (#e6e6e6). Aquí sin borde
	   para no duplicarlo. */
	border: 0;
	border-radius: 10px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: none;
	padding: 0;
}

.oz-single-product form.cart .quantity .oz-qty-stepper__btn {
	flex: 0 0 46px;
	width: 46px;
	min-width: 46px;
	height: 44px;
	border: 0;
	background: #ffffff;
	color: #db0209;
	cursor: pointer;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	display: grid;
	place-items: center;
	transition: background 0.18s ease;
}

.oz-single-product form.cart .quantity .oz-qty-stepper__btn:hover {
	background: #fdecec;
	color: #db0209;
}

.oz-single-product form.cart .quantity .oz-qty-stepper__input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 44px;
	border: 0;
	border-left: 1px solid #e6e6e6;
	border-right: 1px solid #e6e6e6;
	padding: 0 0.3rem;
	text-align: center;
	background: #ffffff;
	color: #1a1a1a;
	font-size: 15px;
	font-weight: 400;
	appearance: textfield;
	-moz-appearance: textfield;
}

.oz-single-product form.cart .quantity .oz-qty-stepper__input::-webkit-outer-spin-button,
.oz-single-product form.cart .quantity .oz-qty-stepper__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
}

/* Botón WhatsApp en verde de marca WhatsApp, con su icono. */
.oz-single-product .ozc-single-product__wa .ozc-product-card__wa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	min-height: 44px;
	padding: 0.55rem 1rem;
	border: 1px solid #25d366;
	border-radius: 8px;
	background: #25d366;
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
	box-shadow: none;
	transition: background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

/* Icono WhatsApp (SVG máscara, toma el color del texto = blanco). */
.oz-single-product .ozc-single-product__wa .ozc-product-card__wa-btn::before {
	content: '';
	display: inline-block;
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%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 24 24'%3E%3Cpath fill='%23000' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.oz-single-product .ozc-single-product__wa .ozc-product-card__wa-btn:hover,
.oz-single-product .ozc-single-product__wa .ozc-product-card__wa-btn:focus-visible {
	background: #1ebe57;
	border-color: #1ebe57;
	color: #ffffff;
	box-shadow: 0 10px 22px rgba(37, 211, 102, 0.28);
	transform: translateY(-1px);
}

.oz-single-product .oz-wc-ficha-tecnica {
	width: 100%;
}

body.single-product .oz-single-product .oz-wc-ficha-tecnica .oz-wc-ficha-tecnica__btn.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 40px;
	padding: 0.55rem 0.95rem;
	border-radius: 8px;
	border: 1px solid #f0b6b8;
	background: transparent;
	color: #db0209;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.2;
	box-shadow: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	box-sizing: border-box;
}

body.single-product .oz-single-product .oz-wc-ficha-tecnica .oz-wc-ficha-tecnica__btn.button::before {
	content: "";
	width: 15px;
	height: 15px;
	display: inline-block;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a.75.75 0 0 1 .75.75v9.69l2.72-2.72a.75.75 0 1 1 1.06 1.06l-4 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 1 1 1.06-1.06l2.72 2.72V3.75A.75.75 0 0 1 12 3Zm-6 13.5A.75.75 0 0 1 6.75 17v1.25c0 .414.336.75.75.75h9a.75.75 0 0 0 .75-.75V17a.75.75 0 0 1 1.5 0v1.25a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25V17a.75.75 0 0 1 .75-.75Z'/%3E%3C/svg%3E")
		no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a.75.75 0 0 1 .75.75v9.69l2.72-2.72a.75.75 0 1 1 1.06 1.06l-4 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 1 1 1.06-1.06l2.72 2.72V3.75A.75.75 0 0 1 12 3Zm-6 13.5A.75.75 0 0 1 6.75 17v1.25c0 .414.336.75.75.75h9a.75.75 0 0 0 .75-.75V17a.75.75 0 0 1 1.5 0v1.25a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25V17a.75.75 0 0 1 .75-.75Z'/%3E%3C/svg%3E")
		no-repeat center / contain}

body.single-product .oz-single-product .oz-wc-ficha-tecnica .oz-wc-ficha-tecnica__btn.button:hover,
body.single-product .oz-single-product .oz-wc-ficha-tecnica .oz-wc-ficha-tecnica__btn.button:focus-visible {
	background: #fdecec;
	border-color: #db0209;
	color: #b00006;
}

@media (max-width: 991px) {
	.oz-single-product form.cart:not(.variations_form):not(.grouped_form),
	.oz-single-product form.cart.variations_form .woocommerce-variation-add-to-cart,
	.oz-single-product form.cart:not(.grouped_form) > div:has(.quantity):has(.single_add_to_cart_button),
	.oz-single-product form.cart:not(.grouped_form) > div:has(.quantity):has(button[type='submit'].single_add_to_cart_button) {
		gap: 0.625rem;
	}
}

@media (max-width: 575px) {
	.oz-single-product .ozc-single-product__summary {
		grid-template-columns: minmax(0, 1fr);
	}

	.oz-single-product .ozc-single-product__summary .ozc-single-product__wa,
	.oz-single-product .ozc-single-product__summary .oz-wc-ficha-tecnica {
		grid-column: 1 / -1;
	}

	.oz-single-product form.cart:not(.variations_form):not(.grouped_form),
	.oz-single-product form.cart.variations_form .woocommerce-variation-add-to-cart,
	.oz-single-product form.cart:not(.grouped_form) > div:has(.quantity):has(.single_add_to_cart_button),
	.oz-single-product form.cart:not(.grouped_form) > div:has(.quantity):has(button[type='submit'].single_add_to_cart_button) {
		flex-wrap: wrap;
	}

	.oz-single-product form.cart .quantity,
	.oz-single-product form.cart .single_add_to_cart_button,
	.oz-single-product form.cart .button.alt,
	.oz-single-product form.cart button[type='submit'].single_add_to_cart_button {
		width: 100%;
	}
}

.oz-single-product .product_meta {
	padding-top: 0;
	margin-top: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #6b7280}

.oz-single-product .ozc-single-product__meta {
	padding-top: 0;
	border-top: 0}

/* Enlaces de Categoría/Etiqueta en rojo de marca (venían en naranja). */
.oz-single-product .product_meta a {
	color: #db0209;
	text-decoration: none}
.oz-single-product .product_meta a:hover {
	text-decoration: underline}

.oz-single-product .woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: 2rem;
}

.oz-single-product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
	border-bottom: 1px solid #e5e7eb;
}

.oz-single-product .woocommerce-tabs ul.tabs::before,
.oz-single-product .woocommerce-tabs ul.tabs::after {
	content: none !important;
	display: none !important;
}

.oz-single-product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.oz-single-product .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: 0.625rem 0.15rem 0.9rem;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.2;
	color: #6b7280;
	text-decoration: none;
	border: 0;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.oz-single-product .woocommerce-tabs ul.tabs li.active a,
.oz-single-product .woocommerce-tabs ul.tabs li a:hover,
.oz-single-product .woocommerce-tabs ul.tabs li a:focus-visible {
	color: #db0209;
	border-bottom-color: #db0209;
}

.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel {
	margin: 1rem 0 0;
	padding: 1.5rem;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
	color: #4b5563;
	font-size: 1rem;
	line-height: 1.65;
}

.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel > h2 {
	margin: 0 0 1rem;
	font-family: var(--OZ-Font-Headings);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	color: #111827;
}

.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel h3,
.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel h4 {
	margin: 1.5rem 0 0.75rem;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.35;
	color: #374151;
}

.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel p {
	margin: 0 0 1rem;
}

.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel p:last-child {
	margin-bottom: 0;
}

.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel ul,
.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel ol {
	margin: 0.25rem 0 1rem;
	padding-left: 1.25rem;
}

.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel li + li {
	margin-top: 0.45rem;
}

.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel strong,
.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel b {
	color: #374151;
	font-weight: 600;
}

.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel :is(table.woocommerce-product-attributes, table.shop_attributes) {
	width: 100%;
	font-size: 0.98rem;
	border-collapse: collapse;
}

.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel :is(table.woocommerce-product-attributes, table.shop_attributes) th,
.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel :is(table.woocommerce-product-attributes, table.shop_attributes) td {
	padding: 0.85rem 0.65rem;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: top;
	color: #4b5563;
}

.oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel :is(table.woocommerce-product-attributes, table.shop_attributes) th {
	color: #374151;
	font-weight: 600;
}

.oz-single-product .related,
.oz-single-product .upsells {
	grid-column: 1 / -1;
	margin-top: 2.5rem;
}

.oz-single-product .related > h2,
.oz-single-product .upsells > h2 {
	font-family: var(--OZ-Font-Headings);
	font-size: clamp(1.35rem, 2.2vw, 1.6rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1.25rem;
	color: #111827;
}

.oz-single-product .related ul.products,
.oz-single-product .upsells ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.oz-single-product .related ul.products::before,
.oz-single-product .related ul.products::after,
.oz-single-product .upsells ul.products::before,
.oz-single-product .upsells ul.products::after {
	content: none !important;
	display: none !important}

.oz-single-product .related ul.products li.product .ozc-product-card--related,
.oz-single-product .upsells ul.products li.product .ozc-product-card--related {
	padding-bottom: 1rem;
}

.oz-single-product .related ul.products li.product .ozc-product-card--pack-myg,
.oz-single-product .upsells ul.products li.product .ozc-product-card--pack-myg {
	height: 100%;
}

.oz-single-product .related ul.products li.product .ozc-product-card--pack-myg .ozc-product-card__actions,
.oz-single-product .upsells ul.products li.product .ozc-product-card--pack-myg .ozc-product-card__actions {
	margin-top: auto;
	padding-top: 0.55rem;
}

@media (max-width: 1199px) {
	.oz-single-product .related ul.products,
	.oz-single-product .upsells ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr))}
}

@media (max-width: 991px) {
	.oz-single-product .related ul.products,
	.oz-single-product .upsells ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr))}
}

@media (max-width: 575px) {
	.oz-single-product .related ul.products,
	.oz-single-product .upsells ul.products {
		grid-template-columns: 1fr}
}

.oz-single-product .related ul.products li.product,
.oz-single-product .upsells ul.products li.product {
	float: none !important;
	width: auto !important;
	
	clear: none !important;
	
	border: 1px solid var(--OZ-Color-6);
	border-radius: 16px;
	background: var(--OZ-Color-5);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	height: 100%;
	text-align: left}

.oz-single-product .related ul.products li.product a.woocommerce-LoopProduct-link,
.oz-single-product .upsells ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	color: inherit;
	text-decoration: none}

.oz-single-product .related ul.products li.product img,
.oz-single-product .upsells ul.products li.product img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: 12px;
	background: #fff}

.oz-single-product .related ul.products li.product .woocommerce-loop-product__title,
.oz-single-product .upsells ul.products li.product .woocommerce-loop-product__title {
	
	font-family: var(--OZ-Font-Headings);
	font-size: 1rem;
	line-height: 1.35;
	color: var(--OZ-Color-1)}

.oz-single-product .related ul.products li.product .price,
.oz-single-product .upsells ul.products li.product .price {
	
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--OZ-Color-1)}

.oz-single-product .related ul.products li.product .button,
.oz-single-product .upsells ul.products li.product .button {
	
	align-self: flex-start;
	border-radius: 999px;
	
	line-height: 1.2;
	text-align: center}

/*
 * OZ Cotizador â€” mismas plantillas de card que en tienda (content-product del plugin).
 * En single no existe body.ozc-loops--replace; el <li> seguÃ­a con borde/fondo del tema
 * pensado para el loop nativo â†’ â€œdoble cajaâ€ sobre la card del plugin.
 */
.oz-single-product .related ul.products li.product:has(.ozc-product-card),
.oz-single-product .upsells ul.products li.product:has(.ozc-product-card) {
	
	border: 0;
	background: transparent;
	border-radius: 0;
	gap: 0;
	box-shadow: none}

.oz-single-product .related ul.products li.product .ozc-product-card,
.oz-single-product .upsells ul.products li.product .ozc-product-card {
	min-width: 0;
	width: 100%;
	align-self: stretch}

.oz-single-product .related .ozc-product-card__title,
.oz-single-product .upsells .ozc-product-card__title {
	font-family: var(--OZ-Font-Headings);
	font-size: clamp(0.9rem, 2.8vw, 1rem);
	line-height: 1.3}

.oz-single-product .related .ozc-product-card__category,
.oz-single-product .upsells .ozc-product-card__category {
	font-size: clamp(0.75rem, 2.2vw, 0.85rem)}

@media (max-width: 575px) {
	.oz-single-product .related .ozc-product-card__section,
	.oz-single-product .related .ozc-product-card__media,
	.oz-single-product .upsells .ozc-product-card__media {
		border-radius: 12px}

	.oz-single-product .related .ozc-product-card__btn,
	.oz-single-product .related .ozc-product-card__wa-btn,
	.oz-single-product .upsells .ozc-product-card__btn,
	.oz-single-product .upsells .ozc-product-card__wa-btn {
		min-height: 44px;
		font-size: 14px}
}

/* Ficha OZ Cotizador (.ozc-single-product): mÃ³vil / tablet estrecha â€” tÃ­tulo 26px; columna qty â†’ carrito â†’ WhatsApp */
@media (max-width: 991px) {
	.oz-single-product .ozc-single-product__title .product_title,
	.oz-single-product .ozc-single-product__title h1 {
		font-size: 26px !important;
		line-height: 1.2}

	.oz-single-product .ozc-single-product__cta form.cart:not(.variations_form):not(.grouped_form),
	.oz-single-product .ozc-single-product__cta form.cart.variations_form .woocommerce-variation-add-to-cart,
	.oz-single-product .ozc-single-product__cta form.cart:not(.grouped_form) > div:has(.quantity):has(.single_add_to_cart_button),
	.oz-single-product .ozc-single-product__cta form.cart:not(.grouped_form) > div:has(.quantity):has(button[type='submit'].single_add_to_cart_button) {
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		gap: 12px}

	.oz-single-product .ozc-single-product__cta form.cart:not(.variations_form):not(.grouped_form) .quantity,
	.oz-single-product .ozc-single-product__cta form.cart.variations_form .woocommerce-variation-add-to-cart .quantity,
	.oz-single-product .ozc-single-product__cta form.cart:not(.grouped_form) > div:has(.quantity):has(.single_add_to_cart_button) .quantity,
	.oz-single-product .ozc-single-product__cta form.cart:not(.grouped_form) > div:has(.quantity):has(button[type='submit'].single_add_to_cart_button) .quantity {
		align-self: flex-start;
		flex: 0 0 auto !important}

	.oz-single-product .ozc-single-product__cta form.cart:not(.variations_form):not(.grouped_form) .single_add_to_cart_button,
	.oz-single-product .ozc-single-product__cta form.cart:not(.variations_form):not(.grouped_form) button[type='submit'].single_add_to_cart_button,
	.oz-single-product .ozc-single-product__cta form.cart.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button,
	.oz-single-product .ozc-single-product__cta form.cart.variations_form .woocommerce-variation-add-to-cart button[type='submit'].single_add_to_cart_button,
	.oz-single-product .ozc-single-product__cta form.cart:not(.grouped_form) > div:has(.quantity):has(.single_add_to_cart_button) .single_add_to_cart_button,
	.oz-single-product .ozc-single-product__cta form.cart:not(.grouped_form) > div:has(.quantity):has(button[type='submit'].single_add_to_cart_button) .single_add_to_cart_button {
		width: 100% !important;
		flex: 0 0 auto !important;
		max-width: none !important}
	.oz-single-product .ozc-single-product__wa .ozc-product-card__wa-btn {
		width: 100%;
		box-sizing: border-box}
}
