/*!
 * MayorDent – Cabecera con buscador
 *
 * Todo va bajo body.mdcb-activo: el plugin agrega esa clase solo cuando logra
 * insertar la cabecera, así que si algo falla el sitio se ve como siempre.
 *
 * Escritorio (1024 px o más):
 *   fila 1  ¡Hola! · links del menú ............................. carro
 *   ─────────────────────────────────────────────────────────────────────
 *   fila 2  logo   [ buscador FiboSearch                 ]  [ Buscar ]
 *   ─────────────────────────────────────────────────────────────────────
 *   fila 3  ☰ Todas las categorías ▾   Equipamiento   Insumos   ...
 *
 * Celular y tablet: ☰ logo carro / buscador a todo el ancho.
 */

/* =====================================================================
   1. Base
   ===================================================================== */

/* Buscador por defecto del tema (junto al carro) */
body.mdcb-activo .thb-secondary-area .thb-quick-search {
	display: none !important;
}

/* FiboSearch insertados a mano en el tema: se ocultan para no duplicar la barra */
body.mdcb-activo #wrapper > .dgwt-wcas-search-wrapp,
body.mdcb-activo #wrapper > div:not([class]) > .dgwt-wcas-search-wrapp:only-child,
body.mdcb-activo .md-fibo-home,
body.mdcb-activo .header-logo-row > .row > .dgwt-wcas-search-wrapp {
	display: none !important;
}

/* Piezas que solo se ven en escritorio */
body.mdcb-activo .mdcb-hola,
body.mdcb-activo .mdcb-sep,
body.mdcb-activo .mdcb-cats {
	display: none;
}

/* =====================================================================
   2. Barra de búsqueda (FiboSearch)
   ===================================================================== */

body.mdcb-activo .mdcb-buscador {
	display: flex;
	align-items: center;
	min-width: 0;
}

body.mdcb-activo .mdcb-buscador .dgwt-wcas-search-wrapp {
	max-width: none !important;
	width: 100%;
	padding: 0 !important;
	margin: 0 !important;
}

/* Campo y botón como piezas separadas, uno al lado del otro */
body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp {
	position: relative;
	display: flex !important;
	align-items: center;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
}

/* Lupa fija a la izquierda */
body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 50%;
	z-index: 2;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	pointer-events: none;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
}

/* Campo */
body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	flex: 1 1 0 !important;
	width: auto !important;
	min-width: 0 !important;
	height: 48px;
	margin: 0;
	padding: 0 44px 0 48px !important;
	font: 400 15px/48px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
	color: #1f2328 !important;
	background: #fff !important;
	border: 2px solid #1f2328 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	transition: border-color .15s ease, box-shadow .15s ease !important;
}

body.mdcb-activo .mdcb-buscador .dgwt-wcas-search-focused .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
	border-color: #d71920 !important;
	box-shadow: 0 0 0 4px rgba(215, 25, 32, .12) !important;
}

body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder {
	color: #6b7280 !important;
	font-weight: 400 !important;
	opacity: 1 !important;
}

/* Botón "Buscar" al lado del campo (font-size 0 oculta cualquier texto propio del estilo de FiboSearch) */
body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
	position: static !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	display: flex !important;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 120px !important;
	min-width: 0 !important;
	height: 48px !important;
	min-height: 48px !important;
	/* margen y no "gap": FiboSearch trae un elemento invisible que sumaría otro espacio */
	margin: 0 0 0 10px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #d71920 !important;
	color: #fff !important;
	font-size: 0 !important;
	text-transform: none !important;
	opacity: 1 !important;
	box-shadow: none !important;
	pointer-events: auto !important;
	animation: none !important;
	cursor: pointer;
	transition: background-color .15s ease;
}

body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover {
	background: #b8141a !important;
}

body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::before {
	display: none !important;
}

body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg {
	display: none !important;
}

body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::after {
	content: "Buscar";
	font: 600 15px/1 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	letter-spacing: .1px;
}

/* X para borrar y animación de carga, dentro del campo (botón 120 px + espacio 10 px + 12 px) */
body.mdcb-activo .mdcb-buscador .dgwt-wcas-preloader {
	right: 142px !important;
	margin-right: 0 !important;
}

body.mdcb-activo .mdcb-buscador .dgwt-wcas-close path {
	fill: #9aa0a6;
}

/* =====================================================================
   3. Desplegable de resultados
   ===================================================================== */

body.mdcb-activo .dgwt-wcas-suggestions-wrapp,
body.mdcb-activo .dgwt-wcas-details-wrapp {
	margin-top: 8px !important;
	border: 1px solid #e6e8ee !important;
	background: #fff !important;
	box-shadow: 0 18px 40px -12px rgba(16, 24, 40, .18) !important;
}

body.mdcb-activo .dgwt-wcas-suggestions-wrapp {
	overflow: hidden;
	padding: 6px 0 !important;
	border-radius: 16px !important;
}

body.mdcb-activo .dgwt-wcas-details-wrapp {
	border-radius: 16px !important;
}

/* Ficha del producto a la derecha */
body.mdcb-activo.dgwt-wcas-full-width .dgwt-wcas-suggestions-wrapp,
body.mdcb-activo.dgwt-wcas-details-right .dgwt-wcas-suggestions-wrapp {
	border-radius: 16px 0 0 16px !important;
}

body.mdcb-activo.dgwt-wcas-full-width .dgwt-wcas-details-wrapp,
body.mdcb-activo.dgwt-wcas-details-right .dgwt-wcas-details-wrapp {
	border-left: 0 !important;
	border-radius: 0 16px 16px 0 !important;
}

/* Ficha del producto a la izquierda */
body.mdcb-activo.dgwt-wcas-details-left .dgwt-wcas-suggestions-wrapp {
	border-radius: 0 16px 16px 0 !important;
}

body.mdcb-activo.dgwt-wcas-details-left .dgwt-wcas-details-wrapp {
	border-right: 0 !important;
	border-radius: 16px 0 0 16px !important;
}

body.mdcb-activo .dgwt-wcas-suggestion {
	padding: 9px 16px !important;
	border-bottom: 0 !important;
}

body.mdcb-activo .dgwt-wcas-suggestion-selected {
	background: #fdf1f2 !important;
}

body.mdcb-activo .dgwt-wcas-st {
	color: #1f2328 !important;
	font-size: 14px !important;
	line-height: 1.35 !important;
}

body.mdcb-activo .dgwt-wcas-suggestion strong {
	color: #d71920 !important;
	font-weight: 700 !important;
}

body.mdcb-activo .dgwt-wcas-si img {
	border: 1px solid #eef0f3;
	border-radius: 8px;
	background: #fff;
}

body.mdcb-activo .dgwt-wcas-suggestion-headline .dgwt-wcas-st {
	color: #8a9099 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: .08em;
	text-transform: uppercase;
}

body.mdcb-activo .dgwt-wcas-suggestion-more .dgwt-wcas-st-more {
	color: #d71920;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
}

body.mdcb-activo .dgwt-wcas-details-wrapp .button,
body.mdcb-activo .dgwt-wcas-details-wrapp a.button {
	border-radius: 999px !important;
	background: #d71920 !important;
}

/* =====================================================================
   4. Carro (ícono + contador)
   ===================================================================== */

body.mdcb-activo .header .thb-quick-cart .thb-quick-cart-inner {
	position: relative;
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	height: 36px !important;
	padding: 0 2px !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #1f2328 !important;
	font: 500 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

body.mdcb-activo .header .thb-quick-cart .thb-quick-cart-inner::before {
	content: "";
	display: block;
	flex: 0 0 23px;
	width: 23px;
	height: 23px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2328' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3.5h2.6l2.3 11.2a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.2L21 7.5H6.1'/%3E%3C/svg%3E");
}

body.mdcb-activo .header .thb-quick-cart .thb-item-text {
	color: inherit !important;
}

body.mdcb-activo .header .thb-quick-cart .thb-cart-count {
	position: absolute;
	left: 13px;
	top: 1px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: #d71920;
	color: #fff !important;
	font: 700 10.5px/17px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
	text-align: center;
}

body.mdcb-activo .header .thb-quick-cart .thb-cart-count::before,
body.mdcb-activo .header .thb-quick-cart .thb-cart-count::after {
	content: none !important;
}

body.mdcb-activo .header .thb-quick-cart .thb-quick-cart-inner:hover {
	color: #d71920 !important;
}

/* =====================================================================
   5. Escritorio: 3 filas
   ===================================================================== */

@media (min-width: 1024px) {

	body.mdcb-activo .header-logo-row > .row {
		flex-wrap: wrap;
		align-items: center;
	}

	body.mdcb-activo .mdcb-hola,
	body.mdcb-activo .mdcb-sep {
		display: block;
	}

	body.mdcb-activo .mdcb-cats {
		display: flex;
	}

	/* Orden: hola · menú · carro / línea / logo · buscador / línea / categorías */
	body.mdcb-activo .header .header-logo-row > .row > .mdcb-hola {
		order: 1;
		flex: 0 0 auto;
		margin-right: 26px;
		color: #1f2328;
		font: 400 12px/28px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
		white-space: nowrap;
	}

	body.mdcb-activo .mdcb-hola a {
		color: #d71920 !important;
		text-decoration: underline;
		text-underline-offset: 2px;
	}

	body.mdcb-activo .header .header-logo-row > .row > .show-for-large {
		position: relative;
		z-index: 70;
		order: 2;
		flex: 1 1 auto !important;
		width: auto !important;
		max-width: none !important;
	}

	body.mdcb-activo .header .header-logo-row > .row > .small-3.large-3.columns {
		order: 3;
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: none !important;
	}

	body.mdcb-activo .header .header-logo-row > .row > .mdcb-sep--1 {
		order: 4;
	}

	body.mdcb-activo .header .header-logo-row > .row > .small-6.large-3.columns {
		order: 5;
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: none !important;
		padding: 16px 0 !important;
	}

	body.mdcb-activo .header-logo-row .logo-holder .logoimg {
		width: auto !important;
		max-height: 60px !important;
	}

	body.mdcb-activo .header .header-logo-row > .row > .mdcb-buscador.columns {
		order: 6;
		flex: 1 1 0 !important;
		max-width: none !important;
		padding: 0 0 0 44px !important;
	}

	body.mdcb-activo .header .header-logo-row > .row > .mdcb-sep--2 {
		order: 7;
	}

	body.mdcb-activo .header .header-logo-row > .row > .mdcb-cats {
		order: 8;
	}

	/* Líneas divisorias de borde a borde (box-shadow no genera scroll horizontal) */
	body.mdcb-activo .mdcb-sep {
		flex: 0 0 100%;
		height: 1px;
		background: #e6e8ec;
		box-shadow: 0 0 0 100vmax #e6e8ec;
		clip-path: inset(0 -100vmax);
	}

	/* Fila 1: barra delgada de 28 px (el tema trae altos mínimos de 45 px y 10 px de relleno en el carro) */
	body.mdcb-activo .header .header-logo-row > .row > .show-for-large,
	body.mdcb-activo .header-logo-row .thb-navbar,
	body.mdcb-activo .header-logo-row nav.full-menu,
	body.mdcb-activo .header-logo-row .thb-full-menu,
	body.mdcb-activo .header-logo-row .thb-full-menu > li {
		height: auto !important;
		min-height: 0 !important;
	}

	body.mdcb-activo .header-logo-row .thb-full-menu > li > .thb-submenu-toggle {
		height: 28px !important;
		min-height: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	body.mdcb-activo .header .header-logo-row > .row > .small-3.large-3.columns .thb-secondary-item {
		padding: 0 !important;
	}

	body.mdcb-activo .header .thb-quick-cart .thb-quick-cart-inner {
		height: 28px !important;
		gap: 6px;
		font-size: 12px !important;
	}

	body.mdcb-activo .header .thb-quick-cart .thb-quick-cart-inner::before {
		flex-basis: 19px;
		width: 19px;
		height: 19px;
	}

	body.mdcb-activo .header .thb-quick-cart .thb-cart-count {
		left: 11px;
		top: 0;
		min-width: 15px;
		height: 15px;
		padding: 0 3px;
		font-size: 9.5px !important;
		line-height: 15px !important;
	}

	body.mdcb-activo .header-logo-row .thb-navbar {
		justify-content: flex-start !important;
		width: 100%;
		margin: 0 !important;
	}

	body.mdcb-activo .header-logo-row .thb-full-menu {
		display: flex !important;
		flex-wrap: nowrap;
		justify-content: flex-start;
		padding: 0 !important;
	}

	body.mdcb-activo .header-logo-row .thb-full-menu > li {
		margin: 0 24px 0 0 !important;
	}

	/* "Categorías" pasa a la fila 3 */
	body.mdcb-activo .header-logo-row .thb-full-menu > li.categoriadeproductos {
		display: none !important;
	}

	body.mdcb-activo .header-logo-row .thb-full-menu > li > a {
		height: 28px !important;
		min-height: 0 !important;
		color: #1f2328 !important;
		font: 400 12px/28px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
		white-space: nowrap;
	}

	body.mdcb-activo .header-logo-row .thb-full-menu > li > a:hover {
		color: #d71920 !important;
	}

	/* Submenús del menú (ej. Servicio al cliente) */
	body.mdcb-activo .header-logo-row .thb-full-menu > li > .sub-menu {
		min-width: 230px !important;
		padding: 8px !important;
		border: 1px solid #e6e8ee !important;
		border-radius: 12px !important;
		background: #fff !important;
		box-shadow: 0 18px 40px -12px rgba(16, 24, 40, .22) !important;
	}

	body.mdcb-activo .header-logo-row .thb-full-menu .sub-menu li {
		padding: 0 !important;
		border: 0 !important;
	}

	body.mdcb-activo .header-logo-row .thb-full-menu .sub-menu li a {
		display: block !important;
		padding: 9px 12px !important;
		border-radius: 8px;
		color: #1f2328 !important;
		font: 400 13.5px/1.25 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
	}

	body.mdcb-activo .header-logo-row .thb-full-menu .sub-menu li a:hover {
		background: #fdf1f2 !important;
		color: #d71920 !important;
	}

	/* Fila 3: categorías */
	body.mdcb-activo .mdcb-cats {
		position: relative;
		z-index: 60;
		flex: 0 0 100%;
		align-items: center;
		height: 38px;
	}

	body.mdcb-activo .mdcb-cats__todas {
		position: relative;
		flex: 0 0 auto;
		margin-right: 22px;
	}

	body.mdcb-activo .mdcb-cats__boton {
		display: inline-flex !important;
		align-items: center;
		gap: 8px;
		height: 38px !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: none !important;
		box-shadow: none !important;
		color: #1f2328 !important;
		font: 700 12.5px/1 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
		letter-spacing: 0 !important;
		text-transform: none !important;
		cursor: pointer;
	}

	/* ☰ */
	body.mdcb-activo .mdcb-cats__boton::before {
		content: "";
		flex: 0 0 14px;
		width: 14px;
		height: 10px;
		background:
			linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
			linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
			linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
	}

	/* ▾ */
	body.mdcb-activo .mdcb-cats__boton::after {
		content: "";
		width: 6px;
		height: 6px;
		margin-left: 2px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
	}

	body.mdcb-activo .mdcb-cats__todas:hover .mdcb-cats__boton,
	body.mdcb-activo .mdcb-cats__todas.is-open .mdcb-cats__boton {
		color: #d71920 !important;
	}

	/* Con el panel abierto, el header queda sobre los elementos flotantes del sitio.
	   transition: none porque el tema anima "all" y el cambio de capa sería lento. */
	body.mdcb-activo .thb-main-header:has(.mdcb-cats__todas:hover),
	body.mdcb-activo .thb-main-header:has(.mdcb-cats__todas.is-open) {
		z-index: 100000 !important;
		transition: none !important;
	}

	body.mdcb-activo .mdcb-cats__panel {
		position: absolute;
		left: -18px;
		top: 100%;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 2px 16px;
		width: 600px;
		padding: 14px;
		border: 1px solid #e6e8ee;
		border-radius: 14px;
		background: #fff;
		box-shadow: 0 18px 40px -12px rgba(16, 24, 40, .22);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
	}

	body.mdcb-activo .mdcb-cats__todas:hover .mdcb-cats__panel,
	body.mdcb-activo .mdcb-cats__todas.is-open .mdcb-cats__panel {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}

	body.mdcb-activo .mdcb-cats__panel a {
		display: block;
		padding: 8px 12px;
		border-radius: 8px;
		color: #1f2328 !important;
		font: 400 13px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
		white-space: nowrap;
	}

	body.mdcb-activo .mdcb-cats__panel a:hover {
		background: #fdf1f2;
		color: #d71920 !important;
	}

	/* Links en línea: los que no caben bajan a una 2.ª línea que queda oculta */
	body.mdcb-activo .mdcb-cats__lista {
		display: flex;
		flex: 1 1 0;
		flex-wrap: wrap;
		column-gap: 22px;
		min-width: 0;
		height: 38px;
		overflow: hidden;
	}

	body.mdcb-activo .mdcb-cats__lista a {
		color: #1f2328 !important;
		font: 400 12.5px/38px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
		white-space: nowrap;
	}

	body.mdcb-activo .mdcb-cats__lista a:hover,
	body.mdcb-activo .mdcb-cats a.is-actual {
		color: #d71920 !important;
	}

	body.mdcb-activo .mdcb-cats a.is-actual {
		font-weight: 600;
	}

	/* Header fijo al bajar: una sola fila (logo · buscador · carro) */
	body.mdcb-activo .thb-main-header.fixed.headroom--not-top {
		box-shadow: 0 2px 14px rgba(16, 24, 40, .08) !important;
	}

	body.mdcb-activo .thb-main-header.fixed.headroom--not-top .mdcb-hola,
	body.mdcb-activo .thb-main-header.fixed.headroom--not-top .header-logo-row > .row > .show-for-large,
	body.mdcb-activo .thb-main-header.fixed.headroom--not-top .mdcb-sep,
	body.mdcb-activo .thb-main-header.fixed.headroom--not-top .mdcb-cats {
		display: none !important;
	}

	body.mdcb-activo .thb-main-header.fixed.headroom--not-top .header-logo-row > .row > .small-3.large-3.columns {
		order: 7 !important;
		margin-left: 28px !important;
	}

	body.mdcb-activo .thb-main-header.fixed.headroom--not-top .header-logo-row > .row > .small-6.large-3.columns {
		padding: 10px 0 !important;
	}

	body.mdcb-activo .thb-main-header.fixed.headroom--not-top .header-logo-row .logo-holder .logoimg {
		max-height: 46px !important;
	}
}

/* =====================================================================
   6. Celular y tablet: ☰ logo carro / buscador a todo el ancho
   ===================================================================== */

@media (max-width: 1023px) {

	body.mdcb-activo .header .header-logo-row > .row > .mdcb-buscador.columns {
		order: 10;
		grid-column: 1 / -1 !important;
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 4px 0 12px !important;
	}

	body.mdcb-activo .header .header-logo-row > .row > .small-3.large-3.columns {
		justify-content: flex-end;
		margin-left: auto !important;
	}

	body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
		height: 46px;
		padding: 0 38px 0 44px !important;
		font-size: 16px !important; /* 16 px evita el zoom automático en iPhone */
		line-height: 46px !important;
	}

	body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp::before {
		left: 16px;
	}

	/* Botón redondo con lupa, al lado del campo */
	body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
		width: 46px !important;
		height: 46px !important;
		min-height: 46px !important;
		margin-left: 8px !important;
		padding: 0 !important;
	}

	body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::after {
		content: "";
		width: 16px;
		height: 16px;
		background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
	}

	/* X dentro del campo: botón 46 px + espacio 8 px + 10 px */
	body.mdcb-activo .mdcb-buscador .dgwt-wcas-preloader {
		right: 64px !important;
	}

	body.mdcb-activo .dgwt-wcas-suggestions-wrapp,
	body.mdcb-activo.dgwt-wcas-full-width .dgwt-wcas-suggestions-wrapp,
	body.mdcb-activo.dgwt-wcas-details-left .dgwt-wcas-suggestions-wrapp,
	body.mdcb-activo.dgwt-wcas-details-right .dgwt-wcas-suggestions-wrapp {
		border-radius: 16px !important;
	}

	/* Solo el ícono del carro */
	body.mdcb-activo .header .thb-quick-cart .thb-item-text {
		display: none !important;
	}
}
