/* sm-site-chrome.css — generated 2026-08-04T17:39:09+00:00 */

/* === sm-header-b2b (sm_header_b2b_get_css (args: "Mi cuenta", "")) === */
/* SM Header B2B v1.0.1 — complementa Custom Header Porto (post 2961) */
:root {
	--sm-hdr-navy: #0c1e4a;
	--sm-hdr-blue: #1d3d8f;
	--sm-hdr-border: #dce4f0;
	--sm-hdr-muted: #6b7a8f;
	--sm-hdr-cart: #f5a623;
	--sm-hdr-cart-hover: #e09410;
	--sm-hdr-search-h: 38px;
	--sm-hdr-search-pad: 2px;
	--sm-hdr-search-radius: 50px;
	--sm-hdr-notice-h: 24px;
	--sm-hdr-util-h: 28px;
	--sm-hdr-ribbon-py: 5px;
}

/* ── Barra aviso SSL (verde) — más compacta ── */
body.sm-hdr-b2b #header .header-notice-bar.vc_custom_hdr_notice,
body.sm-hdr-b2b #header .header-notice-bar {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	min-height: var(--sm-hdr-notice-h) !important;
	height: var(--sm-hdr-notice-h) !important;
	max-height: var(--sm-hdr-notice-h) !important;
	overflow: hidden !important;
}
body.sm-hdr-b2b #header .header-notice-bar > .vc_column_container,
body.sm-hdr-b2b #header .header-notice-bar .vc_column_container.vc_custom_hdr_notice_col {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	min-height: 0 !important;
	height: 100% !important;
}
body.sm-hdr-b2b #header .header-notice-bar .vc_column_container.vc_custom_hdr_notice_col > .vc_column-inner,
body.sm-hdr-b2b #header .header-notice-bar .vc_column-inner {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	min-height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
body.sm-hdr-b2b #header .header-notice-bar .wpb_wrapper {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	margin-bottom: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
}
body.sm-hdr-b2b #header .header-notice-bar .porto-u-heading {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	margin-bottom: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
}
body.sm-hdr-b2b #header .header-notice-bar .porto-u-sub-heading {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	margin-bottom: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
	font-size: 10.5px !important;
}
body.sm-hdr-b2b #header .header-notice-bar .porto-u-sub-heading a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 10.5px !important;
	line-height: 1 !important;
	letter-spacing: 0.2px !important;
	transform: translateY(-1.5px);
}

/* ── Barra utilitaria ── */
body.sm-hdr-b2b #header .header-utility-bar.vc_custom_hdr_util,
body.sm-hdr-b2b #header .header-utility-bar {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	min-height: 0 !important;
	max-height: var(--sm-hdr-util-h) !important;
	overflow: hidden !important;
	border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
body.sm-hdr-b2b #header .header-utility-bar .vc_column-inner {
	min-height: var(--sm-hdr-util-h);
	padding-top: 3px !important;
	padding-bottom: 3px !important;
	gap: 8px;
}
body.sm-hdr-b2b #header .header-utility-bar .vc_custom_heading {
	margin-bottom: 0 !important;
	line-height: 1.2 !important;
}
body.sm-hdr-b2b #header .header-utility-bar .vc_custom_heading a {
	color: rgba(255,255,255,0.92) !important;
	font-size: 11px !important;
	font-weight: 600;
	line-height: 1.2 !important;
	letter-spacing: 0.2px;
	text-decoration: none;
}
body.sm-hdr-b2b #header .header-utility-bar .vc_custom_heading a:hover {
	color: #fff !important;
}
body.sm-hdr-b2b #header .header-utility-bar .share-links {
	gap: 6px !important;
}
body.sm-hdr-b2b #header .header-utility-bar .share-links a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 20px !important;
	height: 20px !important;
	font-size: 12px !important;
	line-height: 1 !important;
	opacity: 0.82;
	transition: opacity 0.2s, transform 0.2s;
}
body.sm-hdr-b2b #header .header-utility-bar .share-links a:hover {
	opacity: 1;
	transform: translateY(-1px);
}

/* ── Fila principal ── */
body.sm-hdr-b2b #header .header-main-row {
	background: #fff;
	border-bottom: 1px solid var(--sm-hdr-border);
	box-shadow: 0 1px 0 rgba(12,30,74,0.04);
}
body.sm-hdr-b2b #header .header-main-row .vc_column-inner {
	padding-top: 14px !important;
	padding-bottom: 12px !important;
	gap: 10px;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
}
body.sm-hdr-b2b #header .header-main-row .logo,
body.sm-hdr-b2b #header .header-main-row .overlay-logo {
	flex-shrink: 0;
}
/* Porto logo-overlay: el visible estaba en position:absolute;top:0 */
body.sm-hdr-b2b #header.logo-overlay-header .header-main-row .overlay-logo {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	display: inline-flex !important;
	align-items: center;
	opacity: 1 !important;
	visibility: visible !important;
}
body.sm-hdr-b2b #header.logo-overlay-header .header-main-row .logo {
	display: none !important;
	opacity: 0 !important;
	transform: none !important;
}
body.sm-hdr-b2b #header.logo-overlay-header.sticky-header .header-main-row .overlay-logo {
	display: none !important;
}
body.sm-hdr-b2b #header.logo-overlay-header.sticky-header .header-main-row .logo {
	display: inline-flex !important;
	align-items: center;
	opacity: 1 !important;
	transform: none !important;
}
body.sm-hdr-b2b #header .header-main-row .logo img,
body.sm-hdr-b2b #header .header-main-row .overlay-logo img {
	max-height: 52px !important;
	width: auto !important;
	vertical-align: middle;
}
/* Ocultar separador entre logo y grupo de acciones */
body.sm-hdr-b2b #header .header-main-row .logo + .separator,
body.sm-hdr-b2b #header .header-main-row .overlay-logo + .separator {
	display: none !important;
}
body.sm-hdr-b2b #header .header-main-row .separator {
	border-left-color: var(--sm-hdr-border) !important;
}

/* Badge B2B + acciones: bloque alineado a la derecha */
body.sm-hdr-b2b #header .header-main-row .wpb_custom_470669b62a1cb72010b4ab8baaf4d7e2 {
	background: linear-gradient(135deg, #f4f8ff 0%, #eef3fb 100%);
	border: 1px solid var(--sm-hdr-border);
	border-radius: 8px;
	padding: 6px 12px !important;
	margin-left: auto !important;
	margin-right: 0 !important;
	flex-shrink: 0;
}
body.sm-hdr-b2b #header .header-main-row a.my-account,
body.sm-hdr-b2b #header .header-main-row a.my-wishlist,
body.sm-hdr-b2b #header .header-main-row #mini-cart,
body.sm-hdr-b2b #header .header-main-row a[href*="contactanos"] {
	flex-shrink: 0;
}
body.sm-hdr-b2b #header .header-main-row .wpb_custom_470669b62a1cb72010b4ab8baaf4d7e2 .porto-sicon-title {
	font-size: 9px !important;
	letter-spacing: 1px !important;
	margin-bottom: 1px !important;
}
body.sm-hdr-b2b #header .header-main-row .wpb_custom_470669b62a1cb72010b4ab8baaf4d7e2 .porto-sicon-header p {
	font-size: 18px !important;
	line-height: 1 !important;
}
body.sm-hdr-b2b #header .header-main-row .wpb_custom_470669b62a1cb72010b4ab8baaf4d7e2 .porto-icon {
	font-size: 22px !important;
}

/* Cuenta — pill estilo distribuidor */
body.sm-hdr-b2b #header .header-main-row a.my-account {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px !important;
	margin: 0 !important;
	border: 1px solid var(--sm-hdr-border) !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: var(--sm-hdr-navy) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
	white-space: nowrap;
}
body.sm-hdr-b2b #header .header-main-row a.my-account::after {
	content: 'Mi cuenta';
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
}
body.sm-hdr-b2b #header .header-main-row a.my-account i {
	font-size: 17px !important;
	flex-shrink: 0;
}
body.sm-hdr-b2b #header .header-main-row a.my-account:hover {
	border-color: #94a8c8 !important;
	box-shadow: 0 2px 8px rgba(12,30,74,0.08);
	color: var(--sm-hdr-blue) !important;
}

/* Wishlist — icono discreto */
body.sm-hdr-b2b #header .header-main-row a.my-wishlist {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--sm-hdr-border);
	border-radius: 8px;
	background: #fff;
	color: var(--sm-hdr-navy) !important;
	font-size: 18px !important;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}
body.sm-hdr-b2b #header .header-main-row a.my-wishlist:hover {
	border-color: #94a8c8;
	color: var(--sm-hdr-blue) !important;
	background: #f8faff;
}

/* Carrito — CTA amarillo (referencia SYSCOM) */
body.sm-hdr-b2b #header .header-main-row #mini-cart {
	margin: 0 0 0 4px !important;
}
body.sm-hdr-b2b #header .header-main-row #mini-cart .cart-head {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px 0 12px !important;
	background: var(--sm-hdr-cart) !important;
	border: 1px solid #e09410 !important;
	border-radius: 8px !important;
	color: var(--sm-hdr-navy) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s;
	box-shadow: 0 1px 4px rgba(245,166,35,0.35);
}
body.sm-hdr-b2b #header .header-main-row #mini-cart .cart-head:hover {
	background: var(--sm-hdr-cart-hover) !important;
	box-shadow: 0 3px 10px rgba(245,166,35,0.4);
}
body.sm-hdr-b2b #header .header-main-row #mini-cart .cart-icon {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
body.sm-hdr-b2b #header .header-main-row #mini-cart .minicart-icon {
	font-size: 17px !important;
	color: var(--sm-hdr-navy) !important;
}
body.sm-hdr-b2b #header .header-main-row #mini-cart .cart-items {
	position: static !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--sm-hdr-navy) !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}
body.sm-hdr-b2b #header .header-main-row #mini-cart .cart-items-text {
	display: inline !important;
	font-size: 0 !important;
	color: transparent !important;
}
body.sm-hdr-b2b #header .header-main-row #mini-cart .cart-items-text::before {
	content: 'Carrito';
	font-size: 13px !important;
	font-weight: 700 !important;
	color: var(--sm-hdr-navy) !important;
}
body.sm-hdr-b2b #header .header-main-row #mini-cart.minicart-arrow-alt .cart-head::after {
	color: var(--sm-hdr-navy) !important;
	opacity: 0.75;
	font-size: 11px;
}

/* Ayuda */
body.sm-hdr-b2b #header .header-main-row a[href*="contactanos"] .porto-just-icon-wrapper,
body.sm-hdr-b2b #header .header-main-row a[href*="contactanos"] {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--sm-hdr-border);
	border-radius: 8px;
	background: #fff;
	transition: border-color 0.2s, background 0.2s;
}
body.sm-hdr-b2b #header .header-main-row a[href*="contactanos"]:hover {
	background: #f8faff;
}
body.sm-hdr-b2b #header .header-main-row a[href*="contactanos"] .porto-icon {
	font-size: 18px !important;
	color: var(--sm-hdr-navy) !important;
}

/* ── Fila búsqueda: compacta + borde LED al foco (FiboSearch en flujo normal) ── */
@keyframes sm-hdr-search-led-spin {
	to {
		transform: rotate(360deg);
	}
}
body.sm-hdr-b2b #header .header-search-row,
body.sm-hdr-b2b #header .sm-hdr-search-slot {
	position: static !important;
	background: linear-gradient(180deg, #f4f7fd 0%, #eef3fb 100%) !important;
	border-bottom: 1px solid var(--sm-hdr-border);
}
body.sm-hdr-b2b #header .header-search-row .porto-wrap-container,
body.sm-hdr-b2b #header .sm-hdr-search-slot .porto-wrap-container {
	max-width: 1320px;
}
body.sm-hdr-b2b #header .header-search-row .vc_custom_hdr_search,
body.sm-hdr-b2b #header .header-search-row .vc_column-inner,
body.sm-hdr-b2b #header .sm-hdr-search-slot .vc_custom_hdr_search,
body.sm-hdr-b2b #header .sm-hdr-search-slot .vc_column-inner {
	padding-top: var(--sm-hdr-search-pad) !important;
	padding-bottom: var(--sm-hdr-search-pad) !important;
}
body.sm-hdr-b2b #header .header-search-row .wpb_text_column,
body.sm-hdr-b2b #header .header-search-row .wpb_content_element,
body.sm-hdr-b2b #header .sm-hdr-search-slot .wpb_text_column,
body.sm-hdr-b2b #header .sm-hdr-search-slot .wpb_content_element {
	margin-bottom: 0 !important;
}
body.sm-hdr-b2b #header .header-search-row .wpb_text_column,
body.sm-hdr-b2b #header .header-search-row .wpb_wrapper,
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-wrapp,
body.sm-hdr-b2b #header .sm-hdr-search-slot .wpb_text_column,
body.sm-hdr-b2b #header .sm-hdr-search-slot .wpb_wrapper,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-search-wrapp {
	width: 100% !important;
	max-width: none !important;
	margin-bottom: 0 !important;
}
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-form,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-search-form {
	position: relative;
	min-height: var(--sm-hdr-search-h);
	border-radius: var(--sm-hdr-search-radius);
	isolation: isolate;
	overflow: visible;
}
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-form::before,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-search-form::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 2px;
	background: conic-gradient(
		from 0deg,
		#22d3ee 0deg,
		#3b82f6 55deg,
		#8b5cf6 110deg,
		#f59e0b 165deg,
		#10b981 220deg,
		#ef4444 275deg,
		#22d3ee 360deg
	);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	z-index: 0;
	pointer-events: none;
	transition: opacity .22s ease;
	animation: sm-hdr-search-led-spin 1.75s linear infinite;
	animation-play-state: paused;
}
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-form:focus-within::before,
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-form.dgwt-wcas-open::before,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-search-form:focus-within::before,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-search-form.dgwt-wcas-open::before {
	opacity: 1;
	animation-play-state: running;
}
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-sf-wrapp,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-sf-wrapp {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	border-radius: var(--sm-hdr-search-radius);
	background: #fff;
	overflow: hidden;
}
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-input,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-search-input {
	height: var(--sm-hdr-search-h) !important;
	min-height: var(--sm-hdr-search-h) !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
	padding: 0 14px 0 42px !important;
	border: 1px solid #d5deec !important;
	border-radius: var(--sm-hdr-search-radius) !important;
	box-shadow: none !important;
	transition: border-color .2s ease, background-color .2s ease;
}
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-input::placeholder,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-search-input::placeholder {
	font-size: 13px !important;
}
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-input:focus,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-search-input:focus {
	outline: 0 !important;
	border-color: transparent !important;
	background: #fff !important;
	box-shadow: none !important;
}
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-open .dgwt-wcas-search-input,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-open .dgwt-wcas-search-input {
	border-radius: var(--sm-hdr-search-radius) var(--sm-hdr-search-radius) 0 0 !important;
}
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-ico-magnifier,
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-submit,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-ico-magnifier,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-search-submit {
	position: absolute;
	left: 0;
	top: 0;
	height: var(--sm-hdr-search-h) !important;
	min-height: var(--sm-hdr-search-h) !important;
	width: 40px !important;
	min-width: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	z-index: 2;
}
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-ico-magnifier-handler,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-ico-magnifier-handler {
	width: 16px !important;
	height: 16px !important;
}
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-form:focus-within,
body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-form.dgwt-wcas-open,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-search-form:focus-within,
body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-search-form.dgwt-wcas-open {
	filter: drop-shadow(0 0 8px rgba(34, 211, 238, .45));
}
body.sm-hdr-b2b #header .header-search-row input[type="search"].dgwt-wcas-search-input,
body.sm-hdr-b2b #header .sm-hdr-search-slot input[type="search"].dgwt-wcas-search-input {
	height: var(--sm-hdr-search-h) !important;
	min-height: var(--sm-hdr-search-h) !important;
	max-height: var(--sm-hdr-search-h) !important;
	padding: 0 14px 0 42px !important;
	line-height: var(--sm-hdr-search-h) !important;
	box-sizing: border-box !important;
}

/* ── Cinta informativa (debajo del buscador): columnas según ítems del Custom Header ── */
body.sm-hdr-b2b #header .header-info-ribbon {
	overflow: visible !important;
	--sm-hdr-ribbon-cols: 4;
}
body.sm-hdr-b2b #header .header-info-ribbon .vc_column-inner,
body.sm-hdr-b2b #header .header-info-ribbon .wpb_wrapper {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}
body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel.owl-carousel,
body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	width: 100% !important;
	overflow: visible !important;
	margin-bottom: 0 !important;
}
body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel .owl-stage-outer {
	overflow: visible !important;
	width: 100% !important;
}
body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel .owl-stage {
	display: flex !important;
	flex-wrap: nowrap !important;
	width: 100% !important;
	transform: none !important;
	transition: none !important;
}
body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel .owl-item,
body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel > .porto-sicon-box {
	flex: 1 1 0 !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: calc(100% / var(--sm-hdr-ribbon-cols, 4)) !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}
body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel .owl-nav,
body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel .owl-dots {
	display: none !important;
}
body.sm-hdr-b2b #header .header-info-ribbon .porto-sicon-box {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: left !important;
	width: 100% !important;
	max-width: 100% !important;
	padding-top: var(--sm-hdr-ribbon-py) !important;
	padding-bottom: var(--sm-hdr-ribbon-py) !important;
	padding-left: 6px !important;
	padding-right: 6px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}
body.sm-hdr-b2b #header .header-info-ribbon .porto-sicon-default {
	flex-shrink: 0;
	line-height: 1 !important;
}
body.sm-hdr-b2b #header .header-info-ribbon .porto-just-icon-wrapper {
	margin-right: 8px !important;
	flex-shrink: 0;
	line-height: 1 !important;
}
body.sm-hdr-b2b #header .header-info-ribbon .porto-just-icon-wrapper .porto-icon {
	line-height: 1 !important;
}
body.sm-hdr-b2b #header .header-info-ribbon .porto-sicon-header {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
	text-align: left;
	overflow: hidden;
}
body.sm-hdr-b2b #header .header-info-ribbon .porto-sicon-title {
	letter-spacing: 0.5px !important;
	line-height: 1.15 !important;
	margin-bottom: 0 !important;
	white-space: normal !important;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: auto;
}
body.sm-hdr-b2b #header .header-info-ribbon .porto-sicon-header p {
	line-height: 1.2 !important;
	margin-bottom: 0 !important;
	white-space: normal !important;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: auto;
}

@media (min-width: 992px) {
	body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel .owl-item,
	body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel > .porto-sicon-box {
		flex: 1 1 0 !important;
		max-width: calc(100% / var(--sm-hdr-ribbon-cols, 4)) !important;
		width: auto !important;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel,
	body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel .owl-stage {
		flex-wrap: wrap !important;
	}
	body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel .owl-item,
	body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel > .porto-sicon-box {
		flex: 0 0 33.333% !important;
		max-width: 33.333% !important;
		width: 33.333% !important;
	}
}

@media (max-width: 767px) {
	body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel,
	body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel .owl-stage {
		flex-wrap: wrap !important;
	}
	body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel .owl-item,
	body.sm-hdr-b2b #header .header-info-ribbon .porto-carousel > .porto-sicon-box {
		flex: 0 0 50% !important;
		max-width: 50% !important;
		width: 50% !important;
	}
	body.sm-hdr-b2b #header .header-info-ribbon .porto-sicon-title,
	body.sm-hdr-b2b #header .header-info-ribbon .porto-sicon-header p {
		white-space: normal;
	}
}

/* ── Desktop: buscador compacto ── */
@media (min-width: 992px) {
	:root {
		--sm-hdr-search-h: 40px;
		--sm-hdr-search-pad: 3px;
	}
	body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-input,
	body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-search-input {
		font-size: 15px !important;
		padding-left: 44px !important;
	}
	body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-input::placeholder,
	body.sm-hdr-b2b #header .sm-hdr-search-slot .dgwt-wcas-search-input::placeholder {
		font-size: 14px !important;
	}
	body.sm-hdr-b2b #header .header-main-row .vc_column-inner {
		padding-top: 16px !important;
		padding-bottom: 14px !important;
	}
	body.sm-hdr-b2b #header .header-main-row .logo img,
	body.sm-hdr-b2b #header .header-main-row .overlay-logo img {
		max-height: 56px !important;
	}
}

/* ── Tablet / móvil ── */
@media (max-width: 1199px) {
	body.sm-hdr-b2b #header .header-main-row a.my-account::after {
		content: '';
		display: none;
	}
	body.sm-hdr-b2b #header .header-main-row a.my-account {
		width: 40px;
		padding: 0 !important;
		justify-content: center;
	}
	body.sm-hdr-b2b #header .header-main-row #mini-cart .cart-items-text {
		display: none !important;
	}
	body.sm-hdr-b2b #header .header-main-row #mini-cart .cart-head {
		padding: 0 10px !important;
	}
}

@media (max-width: 767px) {
	body.sm-hdr-b2b #header .header-main-row .wpb_custom_470669b62a1cb72010b4ab8baaf4d7e2 {
		display: none !important;
	}
	:root {
		--sm-hdr-search-h: 36px;
		--sm-hdr-search-pad: 2px;
	}
}

/* ── Móvil: fila de búsqueda visible y usable (FiboSearch inline) ── */
@media (max-width: 991px) {
	body.sm-hdr-b2b #header .header-search-row {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		transform: none !important;
		filter: none !important;
		min-height: 0 !important;
		height: auto !important;
		padding: 0 !important;
		border: none !important;
		overflow: visible !important;
	}
	body.sm-hdr-b2b #header .header-search-row .porto-wrap-container,
	body.sm-hdr-b2b #header .header-search-row .row,
	body.sm-hdr-b2b #header .header-search-row .vc_column_container,
	body.sm-hdr-b2b #header .header-search-row .vc_column-inner,
	body.sm-hdr-b2b #header .header-search-row .wpb_wrapper,
	body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-wrapp {
		width: 100% !important;
		max-width: none !important;
	}
	body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-enable-mobile-form {
		display: none !important;
	}
	body.sm-hdr-b2b #header .header-search-row .dgwt-wcas-search-form {
		display: flex !important;
		width: 100% !important;
	}
}

/* === sm-footer-b2b (sm_footer_b2b_get_css) === */
/* WPBakery full-width: restaurar clearfix; el padding erróneo se corrige abajo. */
#footer .vc_row-full-width.vc_clearfix {
	display: block !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
}

/* WPBakery full-width en móvil */
#footer .ft-main-row.vc_row[data-vc-full-width="true"] {
	box-sizing: border-box !important;
}

@media (max-width: 991px) {
	#footer .ft-main-row.vc_row[data-vc-full-width="true"] {
		width: 100% !important;
		max-width: 100% !important;
		left: 0 !important;
		right: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
	}

	#footer .ft-grid .ft-col {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}

	#footer .ft-bottom-bar .vc_column_container {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		text-align: left !important;
	}

	#footer .ft-bottom-bar .text-center,
	#footer .ft-bottom-bar .text-right {
		text-align: left !important;
	}
}

#footer .payment-icons {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}

#footer .payment-icons .payment-icon {
	display: none !important;
}

#footer .payment-icons .sm-footer-pay-logo {
	display: block !important;
	height: 22px !important;
	width: auto !important;
	max-width: 56px !important;
	object-fit: contain !important;
	padding: 5px 10px !important;
	border-radius: 6px !important;
	background: rgba(255, 255, 255, 0.92) !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18) !important;
}

#footer .ft-fiscal-list .porto-info-list-item a.sm-footer-pdf-link {
	cursor: pointer !important;
}

.sm-footer-pdf-modal {
	z-index: 100050 !important;
}

.sm-footer-pdf-modal.show {
	display: block !important;
}

body.sm-footer-pdf-open .modal-backdrop.show {
	background: rgba(12, 30, 74, 0.62) !important;
	backdrop-filter: blur(6px) !important;
	-webkit-backdrop-filter: blur(6px) !important;
}

.sm-footer-pdf-backdrop {
	position: fixed !important;
	inset: 0 !important;
	background: rgba(12, 30, 74, 0.62) !important;
	backdrop-filter: blur(6px) !important;
	-webkit-backdrop-filter: blur(6px) !important;
	z-index: 100040 !important;
}

body.sm-footer-pdf-open {
	overflow: hidden !important;
}

.sm-footer-pdf-modal__dialog {
	max-width: 960px !important;
	width: calc(100% - 32px) !important;
	margin: 1.5rem auto !important;
}

.sm-footer-pdf-modal__content {
	border: 0 !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	box-shadow: 0 24px 64px rgba(12, 30, 74, 0.28), 0 8px 24px rgba(0, 0, 0, 0.12) !important;
	background: #fff !important;
}

.sm-footer-pdf-modal__header {
	display: flex !important;
	align-items: flex-start !important;
	justify-content: space-between !important;
	gap: 16px !important;
	padding: 20px 22px 18px !important;
	border: 0 !important;
	background: linear-gradient(135deg, #0c1e4a 0%, #1d3d8f 100%) !important;
}

.sm-footer-pdf-modal__head {
	min-width: 0 !important;
	flex: 1 !important;
}

.sm-footer-pdf-modal__badge {
	display: inline-flex !important;
	align-items: center !important;
	padding: 4px 10px !important;
	margin-bottom: 10px !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.12) !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	color: #bfdbfe !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: 0.8px !important;
	text-transform: uppercase !important;
	line-height: 1 !important;
}

.sm-footer-pdf-modal__title {
	margin: 0 0 6px !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #fff !important;
	line-height: 1.3 !important;
	letter-spacing: -0.02em !important;
}

.sm-footer-pdf-modal__subtitle {
	margin: 0 !important;
	font-size: 12.5px !important;
	font-weight: 400 !important;
	color: rgba(255, 255, 255, 0.72) !important;
	line-height: 1.45 !important;
}

.sm-footer-pdf-modal__close {
	flex-shrink: 0 !important;
	margin: 2px 0 0 !important;
	opacity: 0.85 !important;
	filter: brightness(0) invert(1) !important;
}

.sm-footer-pdf-modal__close:hover {
	opacity: 1 !important;
}

.sm-footer-pdf-modal__body {
	padding: 14px !important;
	background: linear-gradient(180deg, #eef2f8 0%, #e8edf5 100%) !important;
}

.sm-footer-pdf-modal__viewer {
	border-radius: 12px !important;
	overflow: hidden !important;
	border: 1px solid #d7e0ec !important;
	background: #fff !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.sm-footer-pdf-frame {
	display: block !important;
	width: 100% !important;
	height: min(74vh, 680px) !important;
	min-height: 420px !important;
	border: 0 !important;
	background: #fff !important;
}

.sm-footer-pdf-modal__footer {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: wrap !important;
	gap: 12px !important;
	padding: 14px 18px !important;
	border-top: 1px solid #e8edf5 !important;
	background: #fff !important;
}

.sm-footer-pdf-modal__hint {
	margin: 0 !important;
	font-size: 11.5px !important;
	color: #64748b !important;
	line-height: 1.4 !important;
}

.sm-footer-pdf-modal__hint::before {
	content: "" !important;
	display: inline-block !important;
	width: 7px !important;
	height: 7px !important;
	margin-right: 8px !important;
	border-radius: 50% !important;
	background: #34d399 !important;
	vertical-align: middle !important;
}

.sm-footer-pdf-modal__actions {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	margin-left: auto !important;
}

.sm-footer-pdf-download {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 10px 16px !important;
	border-radius: 10px !important;
	background: linear-gradient(135deg, #1d3d8f 0%, #2563eb 100%) !important;
	border: 1px solid #1d3d8f !important;
	color: #fff !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(29, 61, 143, 0.28) !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

.sm-footer-pdf-download:hover {
	background: linear-gradient(135deg, #0c1e4a 0%, #1d4ed8 100%) !important;
	border-color: #0c1e4a !important;
	color: #fff !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 18px rgba(12, 30, 74, 0.32) !important;
}

.sm-footer-pdf-close {
	padding: 10px 16px !important;
	border-radius: 10px !important;
	background: #fff !important;
	border: 1px solid #dbe4f0 !important;
	color: #475569 !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease !important;
}

.sm-footer-pdf-close:hover {
	border-color: #93c5fd !important;
	color: #1d3d8f !important;
	background: #f8fbff !important;
}

@media (max-width: 767px) {
	.sm-footer-pdf-modal__dialog {
		width: calc(100% - 16px) !important;
		margin: 0.75rem auto !important;
	}

	.sm-footer-pdf-modal__header {
		padding: 16px 16px 14px !important;
	}

	.sm-footer-pdf-modal__title {
		font-size: 16px !important;
	}

	.sm-footer-pdf-modal__subtitle {
		font-size: 11.5px !important;
	}

	.sm-footer-pdf-modal__body {
		padding: 10px !important;
	}

	.sm-footer-pdf-frame {
		min-height: 320px !important;
		height: min(68vh, 560px) !important;
	}

	.sm-footer-pdf-modal__footer {
		flex-direction: column !important;
		align-items: stretch !important;
	}

	.sm-footer-pdf-modal__actions {
		width: 100% !important;
		margin-left: 0 !important;
	}

	.sm-footer-pdf-download,
	.sm-footer-pdf-close {
		flex: 1 1 auto !important;
		justify-content: center !important;
	}
}

@media (max-width: 991px) {
	#footer .ft-bottom-bar .payment-icons {
		margin-top: 10px !important;
		justify-content: flex-start !important;
	}
}

/* === sm-wa-cta (sm_wa_cta_get_css) === */
/* Flotante: una línea, verde plano, icono y texto centrados */
.single-product #ht-ctc-chat .ht-ctc-style-8 .s_8,
body #ht-ctc-chat .ht-ctc-style-8 .s_8 {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	background: #25D366 !important;
	border-radius: 999px !important;
	padding: 9px 16px !important;
	min-height: 42px !important;
	height: auto !important;
	line-height: 1 !important;
	box-shadow: 0 3px 12px rgba(37, 211, 102, 0.28) !important;
	animation: none !important;
	overflow: visible !important;
}
.single-product #ht-ctc-chat .ht-ctc-style-8 .s_8:hover,
body #ht-ctc-chat .ht-ctc-style-8 .s_8:hover {
	background: #1da851 !important;
	transform: translateY(-1px);
}
.single-product #ht-ctc-chat .ht-ctc-style-8 .s_8 .s_8_icon,
body #ht-ctc-chat .ht-ctc-style-8 .s_8 .s_8_icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: center !important;
	flex-shrink: 0 !important;
	margin-right: 9px !important;
	margin-left: 0 !important;
	order: 0 !important;
	line-height: 0 !important;
}
.single-product #ht-ctc-chat .ht-ctc-style-8 .s_8 .s_8_icon svg,
body #ht-ctc-chat .ht-ctc-style-8 .s_8 .s_8_icon svg {
	width: 22px !important;
	height: 22px !important;
	display: block !important;
}
.single-product .ht-ctc.style-8,
.single-product .ht-ctc-style-8,
.single-product .ht-ctc-style-8 .s_8,
body .ht-ctc.style-8,
body .ht-ctc-style-8,
body .ht-ctc-style-8 .s_8 {
	width: auto !important;
	max-width: calc(100vw - 24px);
}
.single-product #ht-ctc-chat .ht-ctc-s8-text.s8_span,
body #ht-ctc-chat .ht-ctc-s8-text.s8_span,
.single-product #ht-ctc-chat .ht-ctc-s8-text,
body #ht-ctc-chat .ht-ctc-s8-text {
	display: inline-flex !important;
	align-items: center !important;
	align-self: center !important;
	height: auto !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	white-space: nowrap !important;
	line-height: 1 !important;
	padding: 0 !important;
	margin: 0 !important;
	vertical-align: middle !important;
}
.single-product #ht-ctc-chat,
body #ht-ctc-chat {
	z-index: 99999998 !important;
}

/* Formulario Pro: visible al abrir desde inline */
.single-product .ht_ctc_chat_greetings_box.ctc_greetings_opened,
body .ht_ctc_chat_greetings_box.ctc_greetings_opened {
	z-index: 99999999 !important;
}

/* Inline — secundario vs Añadir al carrito (jerarquía de conversión) */
.single-product .sm-wa-inline {
	width: 100%;
	margin-top: 8px;
}
.single-product .sm-wa-inline__btn {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	color: #374151;
	cursor: pointer;
	text-align: left;
	transition: border-color 0.2s, background 0.2s;
	box-shadow: none;
}
.single-product .sm-wa-inline__btn:hover {
	border-color: #25D366;
	background: #f8faf9;
	box-shadow: none;
}
.single-product .sm-wa-inline__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
}
.single-product .sm-wa-inline__icon svg {
	width: 15px;
	height: 15px;
}
.single-product .sm-wa-inline__text {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.single-product .sm-wa-inline__title {
	font-size: 13px;
	font-weight: 650;
	color: #1f2937;
	line-height: 1.3;
}
.single-product .sm-wa-inline__sub {
	font-size: 10px;
	font-weight: 500;
	color: #6b7280;
	line-height: 1.35;
}
@media (max-width: 767px) {
	.single-product #ht-ctc-chat .ht-ctc-style-8 .s_8,
	body #ht-ctc-chat .ht-ctc-style-8 .s_8 {
		padding: 8px 14px !important;
		min-height: 40px !important;
	}
	.single-product #ht-ctc-chat .ht-ctc-s8-text.s8_span,
	body #ht-ctc-chat .ht-ctc-s8-text.s8_span,
	.single-product #ht-ctc-chat .ht-ctc-s8-text,
	body #ht-ctc-chat .ht-ctc-s8-text {
		font-size: 13px !important;
	}
	.single-product #ht-ctc-chat .ht-ctc-style-8 .s_8 .s_8_icon svg,
	body #ht-ctc-chat .ht-ctc-style-8 .s_8 .s_8_icon svg {
		width: 20px !important;
		height: 20px !important;
	}
}
