/*
Theme Name: Dinamicol
Description: Tema hijo de Blocksy para la tienda Dinamicol. Todo el codigo propio de la tienda vive aqui.
Template: blocksy
Version: 0.5.9
Text Domain: dinamicol
*/

/* =====================================================================
 * Indice
 *  1. Marca: colores y fuentes
 *  2. Base
 *  3. Encabezado y barra azul
 *  4. Pie de pagina
 *  5. Tarjetas del catalogo y categorias
 *  6. Ficha de producto
 *  7. Portada (clases que usa la pagina de Elementor)
 *  8. Celular y tableta
 * Puntos de quiebre: 690 px (celular) y 1000 px (escritorio), los de Blocksy.
 * =================================================================== */

/* 1. Marca ------------------------------------------------------------ */

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/wp-content/uploads/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/wp-content/uploads/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/wp-content/uploads/fonts/barlow-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/wp-content/uploads/fonts/barlow-latin-700-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow";
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url("/wp-content/uploads/fonts/barlow-latin-700-italic.woff2") format("woff2");
}

:root {
	--dnc-azul: #1b2fc2;
	--dnc-azul-oscuro: #12229a;
	--dnc-tinta: #121733;
	--dnc-accion: #ff8a00;
	--dnc-accion-hover: #e67c00;
	--dnc-accion-texto: #1a1200;
	--dnc-verde: #0f6b3f;
	--dnc-linea: #dce0ee;
	--dnc-gris: #535b78;
	--dnc-fondo: #f4f5fa;
	--dnc-foto: #e9ecf6;
	--dnc-celeste: #e3e8fb;
	--dnc-durazno: #ffe9cc;
	--dnc-ancho: 1200px;
	--dnc-texto: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
	--dnc-titulos: "Barlow", "Source Sans 3", system-ui, sans-serif;
}

/* 2. Base ------------------------------------------------------------- */

body {
	--theme-palette-color-1: #1b2fc2;
	--theme-palette-color-2: #12229a;
	--theme-palette-color-3: #121733;
	--theme-palette-color-4: #121733;
	--theme-font-family: var(--dnc-texto);
	font-family: var(--dnc-texto);
	color: var(--dnc-tinta);
}
html body {
	background-color: var(--dnc-fondo);
}
h1, h2, h3, h4, h5, h6,
.entry-title,
.product_title {
	font-family: var(--dnc-titulos);
	color: var(--dnc-tinta);
}
a {
	color: var(--dnc-azul);
}

/* Franja superior */
.dnc-franja {
	background: var(--dnc-tinta);
	color: #fff;
	text-align: center;
	padding: 8px 16px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
}

/* Botones de accion (comprar): naranja con texto oscuro */
.dnc-boton-accion,
.single-product .product:not(.product-type-external) .single_add_to_cart_button,
ul.products li.product:not(.product-type-external) .button {
	background: var(--dnc-accion);
	color: var(--dnc-accion-texto);
	font-weight: 600;
	border: 0;
	border-radius: 8px;
	min-height: 46px;
}
.single-product .product:not(.product-type-external) .single_add_to_cart_button:hover,
ul.products li.product:not(.product-type-external) .button:hover {
	background: var(--dnc-accion-hover);
	color: var(--dnc-accion-texto);
}

/* Boton hacia Amazon: contorno azul, nunca naranja */
.single-product div.product.product-type-external .single_add_to_cart_button,
ul.products li.product.product-type-external .button {
	background: #fff;
	color: var(--dnc-azul);
	border: 2px solid var(--dnc-azul);
	border-radius: 8px;
	font-weight: 600;
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	text-decoration: none;
}
.single-product div.product.product-type-external .single_add_to_cart_button:hover,
ul.products li.product.product-type-external .button:hover {
	background: var(--dnc-azul);
	color: #fff;
}

/* Etiquetas */
.dnc-etiqueta {
	display: inline-block;
	align-self: flex-start;
	border-radius: 999px;
	padding: 3px 12px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 10px;
}
.dnc-etiqueta--propio {
	background: var(--dnc-azul);
	color: #fff;
}
.dnc-etiqueta--amazon {
	border: 1px solid var(--dnc-tinta);
	color: var(--dnc-tinta);
	background: #fff;
}

/* 3. Encabezado y barra azul ----------------------------------------- */

#header {
	position: relative;
	z-index: 50;
}
.dnc-cab {
	position: relative;
	background: #fff;
}
.dnc-cab-in {
	max-width: var(--dnc-ancho);
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	gap: 28px;
}
.dnc-logo {
	display: block;
	flex: none;
	line-height: 0;
}
.dnc-logo-img {
	display: block;
	height: 52px;
	width: auto;
}
.dnc-logo-txt {
	font-family: var(--dnc-titulos);
	font-style: italic;
	font-weight: 700;
	font-size: 30px;
	line-height: 1;
	color: var(--dnc-azul);
}
.dnc-buscador {
	flex: 1;
	min-width: 240px;
	display: flex;
	margin: 0;
}
.dnc-buscador input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 46px;
	margin: 0;
	padding: 0 16px;
	border: 2px solid var(--dnc-azul);
	border-right: 0;
	border-radius: 8px 0 0 8px;
	background: #fff;
	color: var(--dnc-tinta);
	font: inherit;
	box-shadow: none;
}
.dnc-buscador button {
	flex: none;
	width: 56px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0 8px 8px 0;
	background: var(--dnc-azul);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.dnc-buscador button:hover {
	background: var(--dnc-azul-oscuro);
}
.dnc-cuenta,
.dnc-carrito {
	flex: none;
	min-height: 44px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	text-decoration: none;
}
.dnc-cuenta {
	color: var(--dnc-azul);
}
.dnc-cuenta svg {
	display: none;
}
.dnc-carrito {
	padding: 0 16px;
	border: 1px solid var(--dnc-linea);
	border-radius: 8px;
	color: var(--dnc-tinta);
}
.dnc-carrito:hover,
.dnc-cuenta:hover {
	color: var(--dnc-azul-oscuro);
}
.dnc-carrito-n {
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--dnc-accion);
	color: var(--dnc-accion-texto);
	font-size: 13px;
	line-height: 22px;
	text-align: center;
}
.dnc-menu-btn {
	display: none;
}

.dnc-barra {
	background: var(--dnc-azul);
}
.dnc-barra-in {
	max-width: var(--dnc-ancho);
	margin: 0 auto;
	padding: 0 24px;
}
.dnc-menu {
	display: flex;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--dnc-titulos);
	font-weight: 600;
	font-size: 17px;
}
.dnc-menu li {
	position: relative;
	margin: 0;
}
.dnc-menu > li > a {
	display: block;
	padding: 12px 0;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}
.dnc-menu > li > a:hover,
.dnc-menu > li.current-menu-item > a,
.dnc-menu > li.current-menu-ancestor > a {
	box-shadow: inset 0 -3px 0 var(--dnc-accion);
}
.dnc-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: -18px;
	z-index: 70;
	min-width: 230px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 10px 24px rgba(18, 23, 51, 0.16);
	font-family: var(--dnc-texto);
	font-size: 16px;
}
.dnc-menu li:hover > .sub-menu,
.dnc-menu li:focus-within > .sub-menu {
	display: block;
}
.dnc-menu .sub-menu a {
	display: block;
	padding: 10px 18px;
	color: var(--dnc-tinta);
	text-decoration: none;
}
.dnc-menu .sub-menu a:hover {
	background: #eef1fb;
}

/* Panel del menu en celular */
.dnc-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 80;
	max-height: 75vh;
	overflow-y: auto;
	padding: 8px 16px 16px;
	background: #fff;
	border-top: 1px solid var(--dnc-linea);
	box-shadow: 0 16px 30px rgba(18, 23, 51, 0.18);
}
.dnc-panel[hidden] {
	display: none;
}
.dnc-panel-menu,
.dnc-panel-menu .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}
.dnc-panel-menu a,
.dnc-panel-cuenta {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--dnc-linea);
	color: var(--dnc-tinta);
	font-weight: 600;
	text-decoration: none;
}
.dnc-panel-menu .sub-menu a {
	padding-left: 18px;
	font-weight: 400;
}
.dnc-panel-cuenta {
	border-bottom: 0;
	color: var(--dnc-azul);
}

/* 4. Pie de pagina --------------------------------------------------- */

.dnc-pie {
	background: var(--dnc-tinta);
	color: #e6e9f5;
}
.dnc-pie-in {
	max-width: var(--dnc-ancho);
	margin: 0 auto;
	padding: 36px 24px 24px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
}
.dnc-pie-col {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 15px;
}
.dnc-pie-col strong {
	color: #fff;
}
.dnc-pie-marca {
	font-family: var(--dnc-titulos);
	font-style: italic;
	font-size: 24px;
}
.dnc-pie-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.dnc-pie a {
	color: #e6e9f5;
	text-decoration: none;
}
.dnc-pie a:hover {
	color: #fff;
	text-decoration: underline;
}
.dnc-pie-final {
	max-width: var(--dnc-ancho);
	margin: 0 auto;
	padding: 16px 24px 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 14px;
	color: #b9bfd6;
}

/* 5. Tarjetas del catalogo y categorias ------------------------------ */

ul.products {
	--dnc-cols: 4;
	display: grid;
	grid-template-columns: repeat(var(--dnc-cols), minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.products::before,
ul.products::after {
	display: none;
}
ul.products li.product:not(.product-category) {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto;
	margin: 0;
	padding: 0 0 16px;
	background: #fff;
	border: 1px solid var(--dnc-linea);
	border-radius: 12px;
	overflow: hidden;
	text-align: left;
}
ul.products li.product > * {
	margin-left: 16px;
	margin-right: 16px;
}
ul.products li.product > figure {
	order: 0;
	margin: 0 0 14px;
	background: var(--dnc-foto);
}
ul.products li.product figure img {
	width: 100%;
	aspect-ratio: 1 / 1 !important;
	object-fit: cover;
	border-radius: 0;
}
ul.products li.product .dnc-etiqueta {
	order: 1;
	margin-bottom: 8px;
	font-size: 12px;
	padding: 1px 9px;
}
ul.products li.product .woocommerce-loop-product__title {
	order: 2;
	margin-top: 0;
	margin-bottom: 6px;
	font-family: var(--dnc-texto);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}
ul.products li.product .woocommerce-loop-product__title a {
	color: var(--dnc-tinta);
	text-decoration: none;
}
ul.products li.product .price {
	order: 3;
	display: block;
	margin-bottom: 4px;
	font-family: var(--dnc-titulos);
	font-weight: 700;
	font-size: 24px;
	line-height: 1.2;
	color: var(--dnc-tinta);
}
ul.products li.product .price del {
	font-size: 15px;
	font-weight: 600;
	color: var(--dnc-gris);
	opacity: 1;
}
ul.products li.product .price ins {
	text-decoration: none;
}
.dnc-llega {
	order: 4;
	color: var(--dnc-verde);
	font-weight: 600;
	font-size: 14px;
}
ul.products li.product .entry-meta,
ul.products li.product .star-rating {
	display: none;
}
ul.products li.product .ct-woo-card-actions {
	order: 9;
	margin-top: auto;
	padding-top: 12px;
}
ul.products li.product .ct-woo-card-actions .button,
ul.products li.product > .button {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
ul.products li.product .added_to_cart {
	display: block;
	margin-top: 8px;
	text-align: center;
	font-weight: 600;
}
ul.products li.product .onsale {
	top: 12px;
	left: 12px;
	right: auto;
	background: var(--dnc-tinta);
	color: #fff;
	border-radius: 6px;
	font-weight: 600;
}

/* Categorias en circulo */
ul.products li.product-category {
	margin: 0;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--dnc-linea);
	border-radius: 12px;
	text-align: center;
}
ul.products li.product-category a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	color: var(--dnc-tinta);
	text-decoration: none;
}
ul.products li.product-category img {
	width: 96px;
	height: 96px;
	margin: 0;
	border-radius: 50%;
	object-fit: cover;
	background: var(--dnc-foto);
}
ul.products li.product-category h2 {
	margin: 0;
	font-family: var(--dnc-texto);
	font-size: 16px;
	font-weight: 600;
}
ul.products li.product-category mark.count {
	display: none;
}

/* 6. Ficha de producto ----------------------------------------------- */

.dnc-aviso-afiliado {
	color: var(--dnc-gris);
	font-size: 14px;
	margin: 10px 0 0;
}
.dnc-externo {
	margin: 0;
}
.dnc-tarjeta {
	background: #fff;
	border: 1px solid var(--dnc-linea);
	border-radius: 12px;
	padding: 2px 16px;
	margin: 16px 0 0;
}
.dnc-fila {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--dnc-linea);
}
.dnc-fila:last-child {
	border-bottom: 0;
}
.dnc-fila strong {
	display: block;
	color: var(--dnc-tinta);
}
.dnc-fila span {
	color: var(--dnc-gris);
	font-size: 14px;
}
.dnc-fila .dnc-hoy {
	color: var(--dnc-verde);
	font-weight: 600;
}
.dnc-fila .dnc-valor {
	color: var(--dnc-tinta);
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}
.dnc-pagos {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}
.dnc-pagos li {
	border: 1px solid var(--dnc-linea);
	background: #fff;
	border-radius: 6px;
	padding: 4px 9px;
	font-weight: 600;
	color: var(--dnc-tinta);
}
.dnc-pagos .dnc-pagos-titulo {
	border: 0;
	background: none;
	padding-left: 0;
	font-weight: 400;
	color: var(--dnc-gris);
}
.dnc-whatsapp {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin: 12px 0 0;
	border: 2px solid var(--dnc-verde);
	border-radius: 8px;
	color: var(--dnc-verde);
	font-weight: 600;
	text-decoration: none;
}
.dnc-whatsapp:hover {
	background: var(--dnc-verde);
	color: #fff;
}
.dnc-acordeon {
	background: #fff;
	border: 1px solid var(--dnc-linea);
	border-radius: 12px;
	padding: 0 20px;
	margin: 32px 0;
	clear: both;
}
.dnc-acordeon details {
	border-bottom: 1px solid var(--dnc-linea);
	padding: 14px 0;
}
.dnc-acordeon details:last-child {
	border-bottom: 0;
}
.dnc-acordeon summary {
	cursor: pointer;
	font-family: var(--dnc-titulos);
	font-weight: 700;
	font-size: 19px;
	color: var(--dnc-tinta);
	min-height: 28px;
}
.dnc-acordeon-cuerpo {
	padding-top: 12px;
}
@media (min-width: 1000px) {
	.single-product div.product .entry-summary {
		position: sticky;
		top: 24px;
		align-self: flex-start;
	}
}

/* 7. Portada ---------------------------------------------------------
 * La pagina de inicio se arma en Elementor. Cada bloque lleva una clase
 * (Avanzado > Clases CSS) y el diseño vive aqui: en Elementor se edita
 * el contenido (textos, imagenes, enlaces) sin tocar estilos.
 * ------------------------------------------------------------------- */

.elementor .e-con.dnc-sec {
	width: 100%;
	max-width: calc(var(--dnc-ancho) + 48px);
	margin: 44px auto 0;
	padding: 0 24px;
	gap: 16px;
}
.elementor .e-con.dnc-sec--primera {
	margin-top: 24px;
}
.elementor .e-con.dnc-sec--ultima {
	margin-bottom: 56px;
}
.dnc-h2 .elementor-heading-title {
	margin: 0;
	font-family: var(--dnc-titulos);
	font-weight: 700;
	font-size: 28px;
	line-height: 1.2;
	color: var(--dnc-tinta);
}
.dnc-nota,
.dnc-nota p {
	margin: 0;
	max-width: 70ch;
	color: var(--dnc-gris);
}

/* Hero en cuadricula */
.elementor .e-con.dnc-hero {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 16px;
	padding: 0;
}
.elementor .e-con.dnc-hero-card {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	min-height: 380px;
	padding: 0;
	gap: 0;
	background: var(--dnc-azul);
	border-radius: 16px;
	overflow: hidden;
}
.elementor .e-con.dnc-hero-texto {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	padding: 44px 40px;
	color: #fff;
}
.dnc-hero-titulo .elementor-heading-title {
	margin: 0;
	font-family: var(--dnc-titulos);
	font-style: italic;
	font-weight: 700;
	font-size: 44px;
	line-height: 1.05;
	color: #fff;
}
.dnc-hero-bajada,
.dnc-hero-bajada p {
	margin: 0;
	font-size: 18px;
	color: #fff;
}
.dnc-boton-accion .elementor-button {
	padding: 14px 28px;
	background: var(--dnc-accion);
	color: var(--dnc-accion-texto);
	border-radius: 8px;
	font-family: var(--dnc-texto);
	font-size: 18px;
	font-weight: 600;
}
.dnc-boton-accion .elementor-button:hover {
	background: var(--dnc-accion-hover);
	color: var(--dnc-accion-texto);
}
.dnc-hero-img {
	height: 100%;
	background: #c9d0ec;
}
.dnc-hero-img,
.dnc-hero-img .elementor-widget-container {
	height: 100%;
}
.dnc-hero-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.elementor .e-con.dnc-hero-lados {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 16px;
	padding: 0;
}
.elementor .e-con.dnc-tile {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 4px;
	min-height: 182px;
	padding: 24px;
	border-radius: 16px;
	color: var(--dnc-tinta);
	text-decoration: none;
	transition: transform 0.15s ease;
}
.elementor .e-con.dnc-tile:hover {
	transform: translateY(-2px);
}
.dnc-tile--tec {
	background: var(--dnc-celeste);
}
.dnc-tile--bis {
	background: var(--dnc-durazno);
}
.dnc-tile .elementor-heading-title {
	margin: 0;
	font-family: var(--dnc-titulos);
	font-weight: 700;
	font-size: 26px;
	color: var(--dnc-tinta);
}
.dnc-tile p {
	margin: 0;
	color: var(--dnc-tinta);
}
.dnc-tile-ver p {
	font-weight: 600;
	color: var(--dnc-azul);
}

/* Franja de promesas */
.elementor .e-con.dnc-promesas {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding: 18px 24px;
	background: #fff;
	border: 1px solid var(--dnc-linea);
	border-radius: 12px;
}
.dnc-promesa .elementor-icon-box-wrapper {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	text-align: left;
}
.dnc-promesa .elementor-icon-box-icon {
	margin: 0;
	line-height: 0;
}
.dnc-promesa .elementor-icon {
	font-size: 28px;
	color: var(--dnc-azul);
	fill: var(--dnc-azul);
}
.dnc-promesa .elementor-icon svg {
	width: 28px;
	height: 28px;
	fill: var(--dnc-azul);
}
.dnc-promesa .elementor-icon-box-title {
	margin: 0;
	font-family: var(--dnc-texto);
	font-size: 16px;
	font-weight: 600;
	color: var(--dnc-tinta);
}
.dnc-promesa .elementor-icon-box-description {
	margin: 0;
	font-size: 14px;
	color: var(--dnc-gris);
}

/* Categorias de la portada: cinco por fila */
.dnc-cats ul.products {
	--dnc-cols: 5;
	gap: 16px;
}

/* 8. Celular y tableta ----------------------------------------------- */

@media (max-width: 999px) {
	ul.products {
		--dnc-cols: 3;
	}
	.dnc-cab-in {
		display: grid;
		grid-template-columns: 44px 1fr 44px;
		grid-template-areas:
			"menu logo carrito"
			"buscar buscar buscar";
		gap: 8px;
		padding: 8px 12px 12px;
	}
	.dnc-menu-btn {
		grid-area: menu;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--dnc-tinta);
		cursor: pointer;
	}
	.dnc-menu-btn svg {
		width: 26px;
		height: 26px;
	}
	.dnc-logo {
		grid-area: logo;
		justify-self: center;
	}
	.dnc-logo-img {
		height: 40px;
	}
	.dnc-buscador {
		grid-area: buscar;
		min-width: 0;
	}
	.dnc-cuenta {
		display: none;
	}
	.dnc-carrito {
		grid-area: carrito;
		position: relative;
		width: 44px;
		padding: 0;
		border: 0;
		justify-content: center;
	}
	.dnc-carrito svg {
		width: 26px;
		height: 26px;
	}
	.dnc-carrito-txt {
		display: none;
	}
	.dnc-carrito-n {
		position: absolute;
		top: 0;
		right: -4px;
		min-width: 18px;
		height: 18px;
		padding: 0 4px;
		font-size: 11px;
		line-height: 18px;
	}
	.dnc-barra-in {
		padding: 0 12px;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.dnc-barra-in::-webkit-scrollbar {
		display: none;
	}
	.dnc-menu {
		gap: 20px;
		font-size: 16px;
	}
	.dnc-menu > li > a {
		padding: 13px 0;
	}
	.dnc-menu .sub-menu,
	.dnc-menu li:hover > .sub-menu,
	.dnc-menu li:focus-within > .sub-menu {
		display: none;
	}
	.dnc-pie-in {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.elementor .e-con.dnc-hero {
		grid-template-columns: minmax(0, 1fr);
	}
	.elementor .e-con.dnc-hero-card {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}
	.dnc-hero-img {
		display: none;
	}
	.elementor .e-con.dnc-hero-lados {
		grid-template-rows: none;
		grid-template-columns: 1fr 1fr;
	}
	.elementor .e-con.dnc-promesas {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.dnc-cats ul.products {
		display: flex;
		overflow-x: auto;
		scrollbar-width: none;
		padding-bottom: 4px;
	}
	.dnc-cats ul.products li.product-category {
		flex: none;
		width: 128px;
	}
}

@media (max-width: 689px) {
	ul.products {
		--dnc-cols: 2;
		gap: 12px;
	}
	ul.products li.product > * {
		margin-left: 12px;
		margin-right: 12px;
	}
	ul.products li.product .woocommerce-loop-product__title {
		font-size: 15px;
	}
	ul.products li.product .price {
		font-size: 20px;
	}
	.dnc-llega {
		font-size: 13px;
	}
	.dnc-franja {
		font-size: 14px;
	}
	.dnc-pie-in {
		grid-template-columns: minmax(0, 1fr);
	}

	.elementor .e-con.dnc-sec {
		margin-top: 28px;
		padding: 0 16px;
		gap: 12px;
	}
	.elementor .e-con.dnc-sec--primera {
		margin-top: 16px;
	}
	.dnc-h2 .elementor-heading-title {
		font-size: 22px;
	}
	.elementor .e-con.dnc-hero-texto {
		padding: 24px 20px;
		gap: 12px;
	}
	.dnc-hero-titulo .elementor-heading-title {
		font-size: 30px;
		line-height: 1.08;
	}
	.dnc-hero-bajada,
	.dnc-hero-bajada p {
		font-size: 16px;
	}
	.dnc-boton-accion,
	.dnc-boton-accion .elementor-button {
		width: 100%;
	}
	.dnc-boton-accion .elementor-button {
		justify-content: center;
		min-height: 50px;
	}
	.elementor .e-con.dnc-hero-lados {
		gap: 12px;
	}
	.elementor .e-con.dnc-tile {
		min-height: 120px;
		padding: 14px;
	}
	.dnc-tile .elementor-heading-title {
		font-size: 20px;
	}
	.dnc-tile p {
		font-size: 14px;
	}
	.dnc-tile-ver {
		display: none;
	}
	.elementor .e-con.dnc-promesas {
		gap: 12px;
		padding: 14px;
	}
	.dnc-promesa .elementor-icon-box-icon {
		display: none;
	}
	.dnc-promesa .elementor-icon-box-title {
		font-size: 15px;
	}
	.dnc-promesa .elementor-icon-box-description {
		font-size: 13px;
	}
	.dnc-cats ul.products li.product-category {
		width: 104px;
		padding: 10px 6px;
		border: 0;
		background: none;
	}
	.dnc-cats ul.products li.product-category img {
		width: 80px;
		height: 80px;
	}
	.dnc-cats ul.products li.product-category h2 {
		font-size: 14px;
	}
	body.single-product.dnc-compra-fija {
		padding-bottom: 76px;
	}
	.single-product .product-type-simple form.cart {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		margin: 0;
		padding: 10px 16px;
		background: #fff;
		border-top: 1px solid var(--dnc-linea);
		box-shadow: 0 -4px 12px rgba(18, 23, 51, 0.08);
		display: flex;
		gap: 10px;
	}
	.single-product .product-type-simple form.cart .single_add_to_cart_button {
		flex: 1;
	}
}

/* ---------------------------------------------------------------------
 * Version 0.3.1: ajustes tras ver la portada
 * ------------------------------------------------------------------- */

/* Un solo ancho de contenido (1200 px) para encabezado, paginas y pie */
body {
	--theme-normal-container-max-width: var(--dnc-ancho);
}
.dnc-cab-in,
.dnc-barra-in,
.dnc-pie-in,
.dnc-pie-final {
	max-width: calc(var(--dnc-ancho) + 48px);
}

/* Fotos de categoria en circulo (WooCommerce trae una regla mas fuerte) */
ul.products li.product.product-category a img {
	width: 96px !important;
	height: 96px !important;
	margin: 0 !important;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	object-fit: cover;
}

/* Imagen del hero: llena todo el alto de la tarjeta */
.elementor .dnc-hero-img,
.elementor .dnc-hero-img .elementor-widget-container {
	height: 100%;
}
.elementor .dnc-hero-img img {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
}

@media (max-width: 689px) {
	ul.products li.product.product-category a img {
		width: 80px !important;
		height: 80px !important;
	}
}

/* ---------------------------------------------------------------------
 * Version 0.3.2
 * ------------------------------------------------------------------- */

/* Categorias: la foto va sola, sin el fondo cuadrado de las tarjetas */
ul.products li.product.product-category > * {
	margin-left: 0;
	margin-right: 0;
}
ul.products li.product.product-category figure,
ul.products li.product.product-category .ct-media-container {
	margin: 0;
	background: none;
}

/* Promesas: icono a la izquierda y texto alineado (Elementor carga su CSS despues) */
.elementor-widget.dnc-promesa .elementor-icon-box-wrapper {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	text-align: left;
}

/* Boton de las tarjetas: en celular solo "Agregar" */
@media (max-width: 689px) {
	.elementor-widget.dnc-promesa .elementor-icon-box-icon {
		display: none;
	}
	.dnc-btn-mas {
		display: none;
	}
}

/* ---------------------------------------------------------------------
 * Version 0.3.3
 * ------------------------------------------------------------------- */

/* Ficha: foto cuadrada completa (Blocksy usa 3:4 y recorta) y precio grande */
.single-product .woocommerce-product-gallery img,
.single-product .ct-product-gallery-container img,
.single-product .flexy-items img {
	aspect-ratio: 1 / 1 !important;
	object-fit: contain;
	background: var(--dnc-foto);
}
.single-product div.product .entry-summary .price {
	font-family: var(--dnc-titulos);
	font-weight: 700;
	font-size: 34px;
	color: var(--dnc-tinta);
}
.single-product div.product .entry-summary .price del {
	font-size: 18px;
	font-weight: 600;
	color: var(--dnc-gris);
}
.single-product div.product .entry-summary .price ins {
	text-decoration: none;
}

/* Promesas en celular: texto a la izquierda (gana al CSS del widget) */
.elementor-widget.elementor-widget-icon-box.dnc-promesa .elementor-icon-box-wrapper,
.elementor-widget.elementor-widget-icon-box.dnc-promesa .elementor-icon-box-content {
	text-align: left;
}

/* ---------------------------------------------------------------------
 * Version 0.3.4
 * ------------------------------------------------------------------- */

/* Miniaturas de la galeria de la ficha: en fila, 5 en escritorio y 4 en celular */
.single-product .flexy-pills ol {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
}
.single-product .flexy-pills ol li {
	width: auto !important;
	margin: 0 !important;
}
@media (max-width: 689px) {
	.single-product .flexy-pills ol {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ---------------------------------------------------------------------
 * Version 0.3.5: pagina "Proximamente" (plantilla coming-soon de WooCommerce)
 * ------------------------------------------------------------------- */

/* Mientras la tienda no esta abierta, la franja de entrega no aplica */
body:has(.wp-block-woocommerce-coming-soon) .dnc-franja {
	display: none;
}
body:has(.wp-block-woocommerce-coming-soon) {
	background: var(--dnc-fondo);
	border-top: 6px solid var(--dnc-azul);
}
.dnc-pronto {
	min-height: calc(100vh - 6px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 40px 24px;
	text-align: center;
	font-family: var(--dnc-texto);
}
.dnc-pronto .wp-block-image {
	margin: 0 0 8px;
}
.dnc-pronto .wp-block-image img {
	width: 240px;
	max-width: 70vw;
	height: auto;
}
.dnc-pronto h1 {
	margin: 0;
	font-family: var(--dnc-titulos);
	font-style: italic;
	font-weight: 700;
	font-size: clamp(34px, 7vw, 54px);
	line-height: 1.05;
	color: var(--dnc-azul);
}
.dnc-pronto p {
	max-width: 520px;
	margin: 0 auto;
	font-size: 19px;
	line-height: 1.45;
	color: var(--dnc-tinta);
}
.dnc-pronto .dnc-pronto-nota {
	display: inline-block;
	margin-top: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--dnc-durazno);
	font-size: 15px;
	font-weight: 600;
	color: var(--dnc-accion-texto);
}

/* ---------------------------------------------------------------------
 * Version 0.4.0: carrito lateral y barra de envio gratis
 * ------------------------------------------------------------------- */

html.dnc-sin-scroll {
	overflow: hidden;
}
.dnc-carro {
	position: fixed;
	inset: 0;
	z-index: 1000;
}
.dnc-carro[hidden] {
	display: none;
}
.dnc-carro-fondo {
	position: absolute;
	inset: 0;
	background: rgba(18, 23, 51, 0.45);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.dnc-carro-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(420px, 92vw);
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: -12px 0 30px rgba(18, 23, 51, 0.18);
	transform: translateX(100%);
	transition: transform 0.2s ease;
}
.dnc-carro.abierto .dnc-carro-fondo {
	opacity: 1;
}
.dnc-carro.abierto .dnc-carro-panel {
	transform: none;
}
.dnc-carro-cab {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	border-bottom: 1px solid var(--dnc-linea);
}
.dnc-carro-cab h2 {
	margin: 0;
	font-size: 22px;
}
.dnc-carro-cerrar {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--dnc-tinta);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}
.dnc-carro .widget_shopping_cart_content {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	padding: 16px 20px 20px;
}
.dnc-carro .woocommerce-mini-cart {
	margin: 0;
	padding: 0;
	list-style: none;
}
.dnc-carro .woocommerce-mini-cart-item {
	position: relative;
	display: block;
	min-height: 76px;
	margin: 0;
	padding: 12px 32px 12px 88px;
	border-bottom: 1px solid var(--dnc-linea);
	font-weight: 600;
	line-height: 1.3;
}
.dnc-carro .woocommerce-mini-cart-item a:not(.remove) {
	color: var(--dnc-tinta);
	text-decoration: none;
}
.dnc-carro .woocommerce-mini-cart-item img {
	position: absolute;
	top: 12px;
	left: 0;
	width: 72px;
	height: 72px;
	margin: 0;
	border-radius: 8px;
	object-fit: cover;
	background: var(--dnc-foto);
}
.dnc-carro .woocommerce-mini-cart-item .quantity {
	display: block;
	margin-top: 4px;
	font-weight: 400;
	color: var(--dnc-gris);
}
.dnc-carro .woocommerce-mini-cart-item .remove {
	position: absolute;
	top: 10px;
	right: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: var(--dnc-gris);
	font-size: 22px;
	line-height: 26px;
	text-align: center;
	text-decoration: none;
}
.dnc-carro .woocommerce-mini-cart-item .remove:hover {
	background: #fde8e8;
	color: #b42318;
}
.dnc-carro .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: 16px 0 12px;
	font-size: 18px;
}
.dnc-carro .woocommerce-mini-cart__total .amount {
	font-family: var(--dnc-titulos);
	font-weight: 700;
	font-size: 22px;
}
.dnc-carro .woocommerce-mini-cart__buttons {
	display: flex;
	flex-direction: column-reverse;
	gap: 10px;
	margin: auto 0 0;
}
.dnc-carro .woocommerce-mini-cart__buttons .button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin: 0;
	border-radius: 8px;
	font-weight: 600;
	background: #fff;
	color: var(--dnc-azul);
	border: 2px solid var(--dnc-azul);
}
.dnc-carro .woocommerce-mini-cart__buttons .checkout {
	background: var(--dnc-accion);
	color: var(--dnc-accion-texto);
	border-color: var(--dnc-accion);
}
.dnc-carro .woocommerce-mini-cart__empty-message {
	margin: 24px 0 16px;
	text-align: center;
	color: var(--dnc-gris);
}
.dnc-carro .dnc-carro-seguir {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border-radius: 8px;
	background: var(--dnc-accion);
	color: var(--dnc-accion-texto);
	font-weight: 600;
}
.dnc-envio-gratis {
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #eef1fb;
}
.dnc-envio-gratis p {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--dnc-tinta);
}
.dnc-envio-barra {
	display: block;
	height: 8px;
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}
.dnc-envio-barra span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--dnc-verde);
}
/* El panel reemplaza el enlace "Ver carrito" que WooCommerce agrega bajo el boton */
ul.products li.product .added_to_cart {
	display: none;
}

/* ---------------------------------------------------------------------
 * Version 0.4.1
 * ------------------------------------------------------------------- */

/* Miniatura del carrito lateral: Blocksy la envuelve en .ct-media-container */
.dnc-carro .woocommerce-mini-cart-item .ct-media-container {
	position: absolute;
	top: 12px;
	left: 0;
	width: 72px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--dnc-foto);
}
.dnc-carro .woocommerce-mini-cart-item .ct-media-container img {
	position: static;
	width: 100%;
	height: 100%;
	border-radius: 0;
}

/* Con sesion iniciada, el panel empieza debajo de la barra de administracion */
.admin-bar .dnc-carro-panel {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* ---------------------------------------------------------------------
 * Version 0.4.2
 * ------------------------------------------------------------------- */

/* El panel lateral reemplaza el boton "Ver carrito" que aparece junto al de compra */
.single-product .entry-summary .added_to_cart {
	display: none;
}

/* ---------------------------------------------------------------------
 * Version 0.4.3
 * ------------------------------------------------------------------- */

.dnc-fila .dnc-valor {
	text-align: right;
}
.dnc-fila .dnc-gratis {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	font-weight: 600;
	color: var(--dnc-verde);
	white-space: nowrap;
}

/* ---------------------------------------------------------------------
 * Version 0.5.1: estructura del catalogo
 * ------------------------------------------------------------------- */

/* Encabezado compacto en tienda, categorias y busqueda: los productos se ven antes */
.post-type-archive-product .hero-section[data-type="type-2"],
.tax-product_cat .hero-section[data-type="type-2"],
.tax-product_tag .hero-section[data-type="type-2"],
.search .hero-section[data-type="type-2"] {
	min-height: 0;
	padding: 0;
	background: none;
}
.post-type-archive-product .hero-section[data-type="type-2"] > figure,
.tax-product_cat .hero-section[data-type="type-2"] > figure,
.tax-product_tag .hero-section[data-type="type-2"] > figure {
	display: none;
}
.post-type-archive-product .hero-section[data-type="type-2"] .entry-header,
.tax-product_cat .hero-section[data-type="type-2"] .entry-header,
.tax-product_tag .hero-section[data-type="type-2"] .entry-header,
.search .hero-section[data-type="type-2"] .entry-header {
	max-width: calc(var(--dnc-ancho) + 48px);
	width: 100%;
	margin: 0 auto;
	padding: 28px 24px 0;
	text-align: left;
}
.post-type-archive-product .page-title,
.tax-product_cat .page-title,
.tax-product_tag .page-title,
.search .page-title {
	margin: 0;
	font-size: 34px;
	color: var(--dnc-tinta);
}
.post-type-archive-product .ct-container[data-vertical-spacing],
.tax-product_cat .ct-container[data-vertical-spacing],
.tax-product_tag .ct-container[data-vertical-spacing],
.search .ct-container[data-vertical-spacing] {
	padding-top: 16px;
}

/* Botones de subcategoria */
.dnc-subcats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
}
.dnc-subcats a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--dnc-linea);
	border-radius: 999px;
	background: #fff;
	color: var(--dnc-tinta);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.dnc-subcats a:hover {
	border-color: var(--dnc-azul);
	color: var(--dnc-azul);
}
.dnc-subcats a[aria-current="page"] {
	background: var(--dnc-azul);
	border-color: var(--dnc-azul);
	color: #fff;
}

@media (max-width: 689px) {
	.post-type-archive-product .hero-section[data-type="type-2"] .entry-header,
	.tax-product_cat .hero-section[data-type="type-2"] .entry-header,
	.tax-product_tag .hero-section[data-type="type-2"] .entry-header,
	.search .hero-section[data-type="type-2"] .entry-header {
		padding: 18px 16px 0;
	}
	.post-type-archive-product .page-title,
	.tax-product_cat .page-title,
	.tax-product_tag .page-title,
	.search .page-title {
		font-size: 26px;
	}
	.dnc-subcats {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		margin-right: -16px;
		padding-right: 16px;
	}
}

/* ---------------------------------------------------------------------
 * Version 0.5.2: el CSS dinamico de Blocksy se carga despues; selectores con body
 * ------------------------------------------------------------------- */
body.post-type-archive-product .hero-section[data-type="type-2"],
body.tax-product_cat .hero-section[data-type="type-2"],
body.tax-product_tag .hero-section[data-type="type-2"],
body.search .hero-section[data-type="type-2"] {
	background: none;
}
body.post-type-archive-product .hero-section[data-type="type-2"] .entry-header,
body.tax-product_cat .hero-section[data-type="type-2"] .entry-header,
body.tax-product_tag .hero-section[data-type="type-2"] .entry-header,
body.search .hero-section[data-type="type-2"] .entry-header {
	min-height: 0;
}

/* Version 0.5.5: comparacion con Mercado Libre bajo el precio */
.dnc-comparar {
	display: block;
	margin-top: 2px;
	font-family: var(--dnc-texto, 'Source Sans 3', sans-serif);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	color: #5b6275;
}
.dnc-comparar-ml { text-decoration: line-through; }
.dnc-comparar strong { color: #0f6b3f; font-weight: 600; }
.summary .dnc-comparar { font-size: 15px; margin-top: 4px; }

/* Version 0.5.7: descripcion de Amazon dentro de la columna de compra */
.dnc-desc-amazon {
	margin: 16px 0 20px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--dnc-tinta);
}
.dnc-desc-amazon p { margin: 0 0 10px; }
.dnc-desc-amazon ul { margin: 0 0 10px; padding-left: 20px; }
.dnc-desc-amazon li { margin-bottom: 4px; }
.dnc-desc-amazon p:last-child em { color: var(--dnc-gris); font-size: 14px; }

/* Version 0.5.9: boton flotante de WhatsApp */
.dnc-wa-flotante {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #1f9d55;
	color: #fff;
	box-shadow: 0 6px 16px rgba(18, 23, 51, 0.25);
}
.dnc-wa-flotante:hover { background: #17834a; color: #fff; }
/* En la ficha del celular hay barra de compra fija: el boton sube */
@media (max-width: 689px) {
	body.dnc-compra-fija .dnc-wa-flotante { bottom: 88px; }
	.dnc-wa-flotante { right: 14px; width: 52px; height: 52px; }
}
