/**
 * 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: none;      /* ocupa TODO el ancho de la columna principal */
	margin-inline: 0;
	padding: 1.5rem 1rem 2rem;
	box-sizing: border-box}

/* ===== 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: none;
	margin: 0;
	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: #0f3d5e;
	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;
	background: transparent;
	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 naranja (diseño Gabic) */
.oz-single-product .ozc-single-product__title .product_title,
.oz-single-product .ozc-single-product__title h1 {
	color: #ef7f1a}

/* 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 #1b2a6b;
	background: #1b2a6b;
	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: #16225a;
	border-color: #16225a;
	color: #ffffff;
	box-shadow: none;
}

/* Igual, pixel a pixel, al stepper de las cards (design-packs/gabic/css/pack.css):
   radio 10px, borde #e6e6e6, botones 46px naranja #fd6500, input con divisores. */
.oz-single-product form.cart .quantity .oz-qty-stepper {
	display: flex;
	align-items: stretch;
	height: 44px;
	max-width: none;
	border: 1px solid #cfd4dc;
	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: #fd6500;
	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: #fd6500;
	color: #ffffff;
}

.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;
}

.oz-single-product .ozc-single-product__wa .ozc-product-card__wa-btn {
	width: 100%;
	min-height: 40px;
	padding: 0.55rem 1rem;
	border: 1px solid #f2c39a;
	border-radius: 8px;
	background: #fff7f0;
	color: #ef7f1a;
	font-size: 0.93rem;
	font-weight: 600;
	box-shadow: none;
	transition: background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.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: #fdeede;
	border-color: #e8985a;
	color: #d96f12;
}

.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 #c7d7e6;
	background: transparent;
	color: #0f3d5e;
	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: #eef5fb;
	border-color: #a9c2d8;
	color: #1f2937;
}

@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}

.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: #0f3d5e;
	border-bottom-color: #0f3d5e;
}

.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)}

/* ==========================================================================
   FIX GALERÍA: imagen principal SIEMPRE cuadrada (sin el hueco gris de abajo)
   + miniaturas en fila, una al lado de otra debajo de la imagen.
   FlexSlider a veces deja un alto inline enorme en .flex-viewport; forzamos que
   el alto lo marque la propia imagen (cuadrada).
   ========================================================================== */
/* La galería quedaba INVISIBLE: nace con opacity:0 y espera que el JS le añada
   .oz-wc-gallery--ready para verse, pero ese JS no siempre corre → recuadro gris
   vacío. La forzamos visible siempre. */
.oz-single-product .oz-wc-gallery,
.oz-single-product .woocommerce-product-gallery {
	opacity: 1 !important;
	visibility: visible !important;
}
/* Galería contenida a un cuadrado razonable (~520px, como producción). El visor
   de FlexSlider quedaba de 2000px+; lo capamos con alto máximo + recorte. */
.oz-single-product .woocommerce-product-gallery {
	max-width: 100% !important;
	margin: 0 !important;
}
.oz-single-product .flex-viewport {
	aspect-ratio: 1 / 1 !important;
	height: auto !important;
	max-height: 720px !important;
	overflow: hidden !important;
	border-radius: 12px;
}
.oz-single-product .flex-viewport .woocommerce-product-gallery__wrapper,
.oz-single-product .flex-viewport .woocommerce-product-gallery__image {
	height: 100% !important;
}
.oz-single-product .woocommerce-product-gallery__image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	aspect-ratio: auto !important;
}
.oz-single-product .woocommerce-product-gallery__image img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: contain !important;
	background: #fff;
}
/* Miniaturas: fila horizontal (gana a cualquier layout vertical) */
.oz-single-product .flex-control-thumbs,
.oz-single-product .flex-control-nav.flex-control-thumbs,
.oz-single-product .oz-wc-gallery.oz-wc-gallery--vertical .flex-control-thumbs {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 10px !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 .flex-control-thumbs li {
	flex: 0 0 auto !important;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}
.oz-single-product .flex-control-thumbs img {
	width: 68px !important;
	height: 68px !important;
	object-fit: contain !important;
}
/* Con orientación horizontal la galería es un bloque (imagen arriba, miniaturas
   abajo), no un flex de 2 columnas */
.oz-single-product .oz-wc-gallery.oz-wc-gallery--vertical {
	display: block !important;
}

/* ==========================================================================
   LAYOUT: ancho completo + barra lateral (Categorías + Filtro, la misma de la
   tienda) FIJA a la izquierda; producto (banner + galería + resumen) a la
   derecha.
   ========================================================================== */
.oz-single-shell {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	align-items: start;
	gap: 24px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0 0 48px;
}
/* La columna principal llena todo el espacio restante y su contenido nunca se
   desborda (el botón se cortaba). */
.oz-single-main,
.oz-single-main .oz-single-product,
.oz-single-main .oz-single-product div.product,
.oz-single-main .oz-single-product .summary,
.oz-single-main .oz-single-product .entry-summary,
.oz-single-main .oz-single-product form.cart {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}
/* Precio en ROJO (como producción) */
.oz-single-product .price,
.oz-single-product .price .woocommerce-Price-amount,
.oz-single-product .price bdi,
.oz-single-product .entry-summary .price {
	color: #FF0000 !important;
}
.oz-single-shell--no-sidebar {
	max-width: var(--OZ-Container-PC, 1320px);
	margin-inline: auto;
	padding: 24px 24px 48px;
}

/* Barra lateral: usa las MISMAS clases que la tienda (.oz-shop-archive__sidebar)
   para heredar el riel navy #071647 y los estilos de los widgets. Aquí sólo el
   ajuste de columna/altura. */
.oz-single-sidebar {
	min-width: 0;
	box-sizing: border-box;
	align-self: stretch; /* el riel navy llena toda la altura de la columna */
}
/* El contenido de la barra queda FIJO (sticky) debajo del header fijo (~90px) */
.oz-single-sidebar .oz-shop-archive__sidebar-inner {
	position: sticky;
	top: 104px !important;
	/* Barra de scroll propia: si las categorías/filtros son más altos que la
	   ventana (bajo el header fijo de ~104px), el riel navy hace scroll interno
	   en vez de cortarse por abajo. */
	max-height: calc(100vh - 124px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.oz-single-sidebar .oz-shop-archive__sidebar-inner::-webkit-scrollbar {
	width: 8px;
}

.oz-single-sidebar .oz-shop-archive__sidebar-inner::-webkit-scrollbar-track {
	background: transparent;
}

.oz-single-sidebar .oz-shop-archive__sidebar-inner::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.3);
	border-radius: 8px;
}

.oz-single-sidebar .oz-shop-archive__sidebar-inner:hover::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.5);
}

/* Columna principal (banner + producto) */
.oz-single-main {
	flex: 1 1 auto;
	min-width: 0;
}
.oz-single-main .oz-shop-page-banner {
	margin-bottom: 22px;
}
/* Aire alrededor del contenido del producto (la galería/resumen no pegados al borde) */
.oz-single-main .oz-single-product {
	padding: 0 clamp(16px, 2.5vw, 40px);
	box-sizing: border-box;
}

/* Responsive: bajo 992px el sidebar (Categorías/Filtros) no se muestra;
   antes se apilaba a ancho completo encima del producto. */
@media (max-width: 991px) {
	.oz-single-shell {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 0 0 32px;
	}
	.oz-single-sidebar {
		display: none;
	}
	.oz-single-sidebar .oz-shop-archive__sidebar-inner {
		position: static;
		top: auto !important;
	}
	.oz-single-main .oz-single-product {
		padding: 0 12px;
	}
}

/* ==========================================================================
   FIX DEFINITIVO galería + resumen: WooCommerce impone width:48% y float con
   MÁS especificidad que el tema (.woocommerce div.product .X), por eso la
   galería quedaba pequeña (48% de su celda) y el resumen descolocado con el
   botón cortado. Aquí forzamos el grid real: galería ~520px + resumen al resto.
   ========================================================================== */
body.single-product .oz-single-product div.product {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; /* 50% imagen / 50% info */
	gap: clamp(1.5rem, 3vw, 2.5rem) !important;
	align-items: start !important;
	width: 100% !important;
	max-width: 100% !important;
}
body.single-product .oz-single-product div.product > .woocommerce-product-gallery {
	float: none !important;
	clear: none !important;
	width: 100% !important;
	max-width: 100% !important; /* llena su mitad → imagen grande */
	margin: 0 !important;
}
body.single-product .oz-single-product div.product > .summary,
body.single-product .oz-single-product div.product > .entry-summary,
body.single-product .oz-single-product div.product > .summary.entry-summary {
	float: none !important;
	clear: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

@media (max-width: 991px) {
	body.single-product .oz-single-product div.product {
		grid-template-columns: 1fr !important;
	}
	body.single-product .oz-single-product div.product > .woocommerce-product-gallery {
		max-width: 100% !important;
		margin: 0 auto !important;
	}
}

/* ==========================================================================
   Flechas de navegación de la galería: nueva animación. Antes el hover usaba
   transform:scale, que al reemplazar el translateY(-50%) hacía que la flecha
   "saltara". Ahora se mantiene centrada y se rellena de color suavemente.
   ========================================================================== */
body.single-product .oz-single-product .oz-wc-gallery .flex-direction-nav a {
	transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease !important;
}
body.single-product .oz-single-product .oz-wc-gallery .flex-direction-nav a:hover,
body.single-product .oz-single-product .oz-wc-gallery .flex-direction-nav a:focus-visible {
	transform: translateY(-50%) !important; /* mantiene el centrado vertical (sin salto) */
	background: #1b2a6b !important;
	color: #ffffff !important;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20) !important;
}

/* ==========================================================================
   "Presentaciones" (selector de variaciones) — diseño mejorado.
   Etiqueta destacada + select con borde redondeado, flecha propia y foco.
   ========================================================================== */
body.single-product .oz-single-product form.cart table.variations,
body.single-product .oz-single-product form.cart table.variations tbody {
	display: block !important;
	width: 100% !important;
	margin: 0 0 1rem !important;
	border: 0 !important;
}
body.single-product .oz-single-product form.cart table.variations tr {
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0 0 0.75rem !important;
	border: 0 !important;
}
body.single-product .oz-single-product form.cart table.variations tr:last-child {
	margin-bottom: 0 !important;
}
body.single-product .oz-single-product form.cart table.variations th.label {
	display: block !important;
	width: auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	font-family: var(--OZ-Font-Headings);
	font-weight: 700;
	font-size: 1rem;
	color: #0f172a;
	line-height: 1.2;
}
body.single-product .oz-single-product form.cart table.variations th.label label {
	margin: 0;
	font-weight: 700;
}
body.single-product .oz-single-product form.cart table.variations td.value {
	display: flex !important;
	align-items: center;
	gap: 10px;
	flex: 1 1 260px;
	min-width: 0;
	padding: 0 !important;
	border: 0 !important;
}
body.single-product .oz-single-product form.cart table.variations select {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 44px 0 16px;
	border: 1px solid #cfd4dc;
	border-radius: 10px;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 16px 16px;
	color: #1f2937;
	font-size: 0.95rem;
	line-height: 1.2;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	box-shadow: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
body.single-product .oz-single-product form.cart table.variations select:hover {
	border-color: #9aa3af;
}
body.single-product .oz-single-product form.cart table.variations select:focus {
	outline: none;
	border-color: #1b2a6b;
	box-shadow: 0 0 0 3px rgba(27, 42, 107, 0.14);
}
/* Enlace "Limpiar" (reset de variación) discreto */
body.single-product .oz-single-product form.cart .reset_variations {
	flex: 0 0 auto;
	font-size: 0.85rem;
	color: #ef7f1a;
	text-decoration: none;
	white-space: nowrap;
}
body.single-product .oz-single-product form.cart .reset_variations:hover {
	text-decoration: underline;
}

.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}
}
