/**
 * 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: min(100%, var(--OZ-Container-PC));
	margin-inline: auto;
	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; /* franja gris a ANCHO COMPLETO, igual que la tienda (el __inner centra el texto a 1440px) */
	margin: 0 auto;
	background-color: #eef1f3;
	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: #e20613;
	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: 0;
	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: 0;
	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: 0;
	border: 1px solid #eef2f7;
	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.8)}

/* Touch (móvil + tableta): SIN zoom al tocar la imagen del producto; solo desktop con mouse.
   Se combina touch (hover:none) con ancho <=1024px para cubrir también simuladores. */
@media (hover: none), (max-width: 1024px) {
	.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,
	.oz-single-product .woocommerce-product-gallery__image img {
		transform: none !important}
}

.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);
	/* Tamaño del mockup: ~44px en el contenedor de 1440. */
	font-size: clamp(1.75rem, 3.2vw, 2.75rem);
	font-weight: 700;
	line-height: 1.12;
	color: #111827}

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

.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 (diseño 7K): oscuro */
.oz-single-product .ozc-single-product__title .product_title,
.oz-single-product .ozc-single-product__title h1 {
	color: #1f2937}

/* Precio visible (diseño 7K): regular tachado + oferta + "Incluye IGV" en rojo */
/* El precio llega envuelto en <div class="__price"><p class="price">…</p></div>.
   Como <p> es bloque, el ::after de "Incluye IGV" caía en su propia línea; con
   el contenedor en flex, <p> y el pseudo son hermanos de la misma fila y se
   alinean por la línea base del precio. */
.oz-single-product .ozc-single-product__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 14px;
	margin-bottom: 1.1rem;
	line-height: 1.25}
/* Sin font-size aquí: el tamaño base lo pone `.oz-single-product .price`, del
   que hereda el .amount de los productos sin oferta. */
.oz-single-product .ozc-single-product__price > p.price {
	margin: 0}
.oz-single-product .ozc-single-product__price del,
.oz-single-product .ozc-single-product__price del .amount {
	color: #9ca3af;
	font-weight: 500;
	font-size: 1.15rem;
	margin-right: 10px}
.oz-single-product .ozc-single-product__price ins {
	text-decoration: none}
.oz-single-product .ozc-single-product__price ins .amount,
.oz-single-product .ozc-single-product__price > p.price > .amount {
	color: #1f2937;
	font-weight: 700;
	font-size: 1.6rem}
.oz-single-product .ozc-single-product__price:has(.amount)::after {
	content: "Incluye IGV";
	color: #e20613;
	font-weight: 700;
	font-size: 1.1rem;
	white-space: nowrap}

.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: center;
	gap: 0.75rem;
	margin-top: 1rem;
	color: #1a242c;
	font-size: 0.95rem;
	line-height: 1.35;
}
.ozc-single-product__note-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.ozc-single-product__note-title { font-weight: 700; }
.ozc-single-product__note-phones { font-weight: 700; letter-spacing: .2px; }
.ozc-single-product__note-icon {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	background-color: #1a242c;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18v-6a9 9 0 0 1 18 0v6'/%3E%3Cpath d='M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z'/%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' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18v-6a9 9 0 0 1 18 0v6'/%3E%3Cpath d='M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z'/%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 #e20613;
	background: #e20613;
	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: #c00510;
	border-color: #c00510;
	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;
	/* 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: #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: #fff4ec;
	color: #fd6500;
}

.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 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 40px;
	padding: 0.55rem 1rem;
	border: 1px solid #25a244;
	border-radius: 8px;
	background: #ffffff;
	color: #1e8c3a;
	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::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	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.71.306 1.263.489 1.694.625.712.227 1.36.195 1.872.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.437 9.885-9.885 9.885M20.52 3.449C18.24 1.245 15.24 0 12.045 0 5.463 0 .104 5.359.101 11.945c0 2.096.549 4.14 1.595 5.945L0 24l6.335-1.652a11.882 11.882 0 005.71 1.454h.006c6.585 0 11.946-5.36 11.949-11.945a11.821 11.821 0 00-3.495-8.415z'/%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='%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.71.306 1.263.489 1.694.625.712.227 1.36.195 1.872.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.437 9.885-9.885 9.885M20.52 3.449C18.24 1.245 15.24 0 12.045 0 5.463 0 .104 5.359.101 11.945c0 2.096.549 4.14 1.595 5.945L0 24l6.335-1.652a11.882 11.882 0 005.71 1.454h.006c6.585 0 11.946-5.36 11.949-11.945a11.821 11.821 0 00-3.495-8.415z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.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: #eafaf0;
	border-color: #25a244;
	color: #1e8c3a;
}

.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 #e20613;
	background: #ffffff;
	color: #e20613;
	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: none;
	width: 15px;
	height: 15px;
	display: none;
	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: #e20613;
	color: #c00510;
}

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

/* Título de la sección de recomendados ("También te recomendamos…").
   Es un <h3> (ver woocommerce/single-product/up-sells.php) y se presenta como
   título de sección, centrado, al estilo del mockup. */
.oz-single-product .upsells > h3,
.oz-single-product .upsells .oz-upsells__title {
	font-family: var(--OZ-Font-Headings);
	font-size: clamp(1.5rem, 2.8vw, 2.15rem);
	font-weight: 800;
	line-height: 1.15;
	/* En mayúsculas conviene algo de tracking positivo: pegadas se leen peor. */
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-align: center;
	margin: 0 0 1.75rem;
	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;
}

/* Con menos de 4 recomendados, la fila quedaría pegada a la izquierda debajo de
   un título centrado. En ese caso las tarjetas mantienen su ancho y el grupo se
   centra. Navegadores sin :has() se quedan con la rejilla de 4 columnas. */
.oz-single-product .upsells ul.products:not(:has(> li.product:nth-child(4))) {
	grid-template-columns: repeat(auto-fit, minmax(0, 320px));
	justify-content: center;
}

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

/* ===== Ajustes finales ficha 7K: ocultar meta (SKU/categoría) + separadores del diseño ===== */
.oz-single-product .ozc-single-product__summary .ozc-single-product__meta {
	display: none !important;
}
/* Línea separadora encima del bloque Cotizar (como el diseño) */
.oz-single-product .ozc-single-product__summary form.cart {
	border-top: 1px solid #e6e6e6;
	padding-top: 1.15rem;
}
/* Línea separadora debajo de la nota de contacto */
.oz-single-product .ozc-single-product__summary .ozc-single-product__note {
	border-bottom: 1px solid #e6e6e6;
	padding-bottom: 1.15rem;
}

/* Badge "¡Oferta!" en ROJO 7K (WooCommerce lo pinta verde-oliva #77a464 por defecto) */
.oz-single-product .ozc-single-product__media .onsale,
.oz-single-product .onsale {
	background-color: #e20613 !important;
	color: #ffffff !important;
}

/* ===== Lupa (abre el lightbox) arriba-derecha de la galería ===== */
.oz-single-product .woocommerce-product-gallery {
	position: relative;
}
.oz-wc-gallery__zoom {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	color: #1a242c;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.oz-wc-gallery__zoom svg {
	width: 20px;
	height: 20px;
	display: block;
}
.oz-wc-gallery__zoom:hover,
.oz-wc-gallery__zoom:focus-visible {
	background: #e20613;
	color: #ffffff;
	transform: scale(1.05);
}

/* Ficha Técnica: icono de documento (reactiva el ::before que estaba oculto) */
body.single-product .oz-single-product .oz-wc-ficha-tecnica .oz-wc-ficha-tecnica__btn.button::before {
	content: "" !important;
	display: inline-block !important;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%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' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ===== Teléfonos de la nota como enlaces WhatsApp ===== */
.oz-single-product .ozc-single-product__note .ozc-single-product__note-phone {
	color: #1e8c3a !important;
	text-decoration: none;
}
.oz-single-product .ozc-single-product__note .ozc-single-product__note-phone:hover,
.oz-single-product .ozc-single-product__note .ozc-single-product__note-phone:focus-visible {
	color: #146b2c !important;
	text-decoration: underline;
}
.ozc-single-product__note-sep { color: #9ca3af; font-weight: 400; }

/* ===== Cards "También te recomendamos": imagen COMPLETA, un poco más alta (solo related/upsell del single) ===== */
.oz-single-product .related ul.products li.product .ozc-product-card__media,
.oz-single-product .upsells ul.products li.product .ozc-product-card__media {
	flex: 0 0 auto !important;
	aspect-ratio: 1 / 1 !important;
	height: auto !important;
	overflow: visible !important;
}
.oz-single-product .related ul.products li.product .ozc-product-card__media img,
.oz-single-product .upsells ul.products li.product .ozc-product-card__media img {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: contain !important;
}

/* Related/upsell: quitar la altura fija de 428px (crece a su contenido) para no cortar el botón Cotizar */
.oz-single-product .related ul.products li.product .ozc-product-card,
.oz-single-product .upsells ul.products li.product .ozc-product-card {
	height: auto !important;
	min-height: 0 !important;
}

/* ===== Imagen del producto individual: máximo 630×630, responsive (escala hacia abajo) ===== */
.oz-single-product .woocommerce-product-gallery {
	max-width: 630px;
	width: 100%;
}
.oz-single-product .woocommerce-product-gallery__image img {
	max-width: 630px;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

/* Aquí estaban los estilos de `.oz-reco` (relacionados con intro a la izquierda
   y botón «Ver Tienda»). Esa sección ya no se imprime en la ficha, así que el
   bloque se eliminó por completo. */

/* ===== Pestañas extra: Especificaciones + Contáctanos ===== */
.oz-tab-spec__row { margin: 0 0 0.7rem; color: #374151; font-size: 0.95rem; }
.oz-tab-spec__row strong { color: #1f2937; }
.oz-tab-spec__row a { color: #0f3d5e; text-decoration: none; }
.oz-tab-spec__row a:hover { text-decoration: underline; }
.oz-tab-spec__list { margin: 1.1rem 0 0; padding-left: 1.2rem; list-style: disc; }
.oz-tab-spec__list li { margin: 0 0 0.45rem; color: #374151; font-size: 0.95rem; }
.oz-tab-contacto { max-width: 720px; }

/* La columna de la imagen (media) se fija a máx 630px: así el contenedor envuelve la imagen
   y la lupa queda en la esquina de la imagen (no flotando a la derecha). El resumen toma el resto. */
@media (min-width: 992px) {
	.oz-single-product .ozc-single-product__inner {
		grid-template-columns: minmax(0, 630px) minmax(0, 1fr) !important;
	}
}
.oz-single-product .ozc-single-product__media {
	max-width: 630px !important;
	width: 100% !important;
}
.oz-single-product .woocommerce-product-gallery {
	max-width: 630px !important;
	width: 100% !important;
}

/* ============================================================
   Pestañas de producto — diseño profesional (underline, rojo 7K).
   Con !important para ganarle a las "cajitas" de WooCommerce core.
   ============================================================ */
body.single-product .oz-single-product .woocommerce-tabs ul.tabs {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0 2.2rem !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #e5e7eb !important;
	background: transparent !important;
}
body.single-product .oz-single-product .woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.single-product .oz-single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .oz-single-product .woocommerce-tabs ul.tabs li::after {
	display: none !important;
	content: none !important;
}
body.single-product .oz-single-product .woocommerce-tabs ul.tabs li a {
	display: inline-block !important;
	padding: 0.8rem 0.1rem 0.95rem !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	color: #6b7280 !important;
	text-decoration: none !important;
	border: 0 !important;
	border-bottom: 3px solid transparent !important;
	border-radius: 0 !important;
	background: transparent !important;
	margin-bottom: -1px !important;
	transition: color .2s ease, border-color .2s ease !important;
}
body.single-product .oz-single-product .woocommerce-tabs ul.tabs li a:hover,
body.single-product .oz-single-product .woocommerce-tabs ul.tabs li a:focus-visible {
	color: #1f2937 !important;
}
body.single-product .oz-single-product .woocommerce-tabs ul.tabs li.active a {
	color: #e20613 !important;
	border-bottom-color: #e20613 !important;
}
/* Enlaces dentro del panel de pestañas (p. ej. los términos de atributo de
   "Información adicional": marca, material, etc.). Por defecto heredan el color
   de enlace global (--OZ-Color-3, naranja); aquí se fuerzan al rojo de marca. */
body.single-product .oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel a {
	color: #e20613 !important;
}
body.single-product .oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel a:hover,
body.single-product .oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel a:focus-visible {
	color: #b30510 !important;
	text-decoration: underline !important;
}

/* Panel de contenido: plano y limpio (sin la caja con sombra) */
body.single-product .oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel {
	margin-top: 1.6rem !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

/* Padding dentro del panel de contenido de las pestañas (contenedor sutil) */
body.single-product .oz-single-product .woocommerce-tabs .woocommerce-Tabs-panel {
	padding: 1.75rem 2rem !important;
	background: #ffffff !important;
	border: 1px solid #ececec !important;
	border-radius: 10px !important;
	box-shadow: none !important;
}

/* ============================================================
   Recomendados + "También te recomendamos": SLIDER (scroll-snap) en tablet y móvil.
   Tablet (echada/parada) = 2 cards visibles; móvil = 1. Desktop (>1199px) sigue en grilla.
   ============================================================ */
@media (max-width: 1199px) {
	.oz-single-product .oz-reco__cards,
	.oz-single-product .upsells {
		min-width: 0;
	}
	.oz-single-product .oz-reco__cards ul.products,
	.oz-single-product .upsells ul.products {
		display: flex !important;
		grid-template-columns: none !important;
		flex-wrap: nowrap !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 0 0.6rem !important;
		gap: 1rem !important;
		overflow-x: auto !important;
		scroll-snap-type: x mandatory !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: #e20613 #ececec;
	}
	.oz-single-product .oz-reco__cards ul.products::-webkit-scrollbar,
	.oz-single-product .upsells ul.products::-webkit-scrollbar { height: 6px; }
	.oz-single-product .oz-reco__cards ul.products::-webkit-scrollbar-track,
	.oz-single-product .upsells ul.products::-webkit-scrollbar-track { background: #ececec; border-radius: 3px; }
	.oz-single-product .oz-reco__cards ul.products::-webkit-scrollbar-thumb,
	.oz-single-product .upsells ul.products::-webkit-scrollbar-thumb { background: #e20613; border-radius: 3px; }

	.oz-single-product .oz-reco__cards ul.products > li.product,
	.oz-single-product .upsells ul.products > li.product {
		flex: 0 0 calc(50% - 0.5rem) !important;
		max-width: calc(50% - 0.5rem) !important;
		width: calc(50% - 0.5rem) !important;
		margin: 0 !important;
		scroll-snap-align: start !important;
	}
}
@media (max-width: 575px) {
	.oz-single-product .oz-reco__cards ul.products > li.product,
	.oz-single-product .upsells ul.products > li.product {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}
}

/* "También te recomendamos" (upsells) ocupa todo el ancho → en tablet echada 2 cards quedan gigantes.
   Solo en ese rango mostramos 3 cards (más chicas). Las de "Podrían interesarte" siguen en 2 (tienen intro que reduce el espacio). */
@media (min-width: 992px) and (max-width: 1199px) {
	.oz-single-product .upsells ul.products > li.product {
		flex: 0 0 calc(33.333% - 0.7rem) !important;
		max-width: calc(33.333% - 0.7rem) !important;
		width: calc(33.333% - 0.7rem) !important;
	}
}

/* ===== Móvil + tablet parada: qty y Cotizar UNO AL LADO DEL OTRO (no apilados) ===== */
@media (max-width: 991px) {
	body.single-product .oz-single-product .ozc-single-product__cta form.cart:not(.variations_form):not(.grouped_form),
	body.single-product .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: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		gap: 0.6rem !important;
	}
	body.single-product .oz-single-product .ozc-single-product__cta form.cart:not(.variations_form):not(.grouped_form) .quantity {
		flex: 0 0 auto !important;
		width: auto !important;
		align-self: center !important;
	}
	body.single-product .oz-single-product .ozc-single-product__cta form.cart:not(.variations_form):not(.grouped_form) .single_add_to_cart_button,
	body.single-product .oz-single-product .ozc-single-product__cta form.cart:not(.variations_form):not(.grouped_form) button[type='submit'].single_add_to_cart_button {
		flex: 1 1 auto !important;
		width: auto !important;
		max-width: none !important;
	}
}
/* En móvil chico, el botón Cotizar un poco menos de padding para que entre bien al lado del qty */
@media (max-width: 400px) {
	body.single-product .oz-single-product .ozc-single-product__cta form.cart .single_add_to_cart_button,
	body.single-product .oz-single-product .ozc-single-product__cta form.cart button[type='submit'].single_add_to_cart_button {
		padding-left: 0.6rem !important;
		padding-right: 0.6rem !important;
	}
}
