/* Hanlob My Account Pro v1.0 */
.hanlob-account-pro{
	--hanlob-account-primary:#2D93C8;
	--hanlob-account-dark:#14213D;
	--hanlob-account-muted:#64748B;
	--hanlob-account-border:#DCE7EF;
	width:100%;
	margin:0 auto;
	color:var(--hanlob-account-dark);
	box-sizing:border-box;
}

.hanlob-account-pro *,
.hanlob-account-pro *::before,
.hanlob-account-pro *::after{
	box-sizing:border-box;
}

.hanlob-account-pro__header{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:16px;
	margin:0 0 34px;
	padding:30px 24px;
	text-align:left;
}

.hanlob-account-pro__header-icon{
	display:flex;
	align-items:center;
	justify-content:center;
	width:58px;
	height:58px;
	flex:0 0 58px;
	border:1px solid var(--hanlob-account-border);
	border-radius:16px;
	background:#fff;
	font-size:25px;
	box-shadow:0 10px 24px rgba(20,33,61,.08);
}

.hanlob-account-pro__title{
	margin:0;
	color:var(--hanlob-account-dark);
	font-size:34px;
	font-weight:800;
	line-height:1.12;
	text-transform:uppercase;
}

.hanlob-account-pro__subtitle{
	margin:7px 0 0;
	color:var(--hanlob-account-muted);
	font-size:15px;
	line-height:1.5;
}

/* Logged-in layout */
.hanlob-account-pro .woocommerce{
	display:grid;
	grid-template-columns:280px minmax(0,1fr);
	align-items:start;
	gap:24px;
}

.hanlob-account-pro .woocommerce::before,
.hanlob-account-pro .woocommerce::after{
	display:none!important;
	content:none!important;
}

.hanlob-account-pro .woocommerce-MyAccount-navigation{
	float:none!important;
	width:100%!important;
	margin:0!important;
	padding:16px!important;
	border:1px solid var(--hanlob-account-border);
	background:#fff;
	box-shadow:0 14px 34px rgba(20,33,61,.06);
}

.hanlob-account-pro .woocommerce-MyAccount-navigation ul{
	display:grid;
	gap:8px;
	margin:0!important;
	padding:0!important;
	list-style:none!important;
}

.hanlob-account-pro .woocommerce-MyAccount-navigation li{
	margin:0!important;
	padding:0!important;
	border:0!important;
}

.hanlob-account-pro .woocommerce-MyAccount-navigation a{
	position:relative;
	display:flex;
	align-items:center;
	min-height:52px;
	padding:11px 14px 11px 50px;
	border:1px solid transparent;
	border-radius:12px;
	color:#475569!important;
	font-size:14px;
	font-weight:700;
	line-height:1.3;
	text-decoration:none!important;
	transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}

.hanlob-account-pro .woocommerce-MyAccount-navigation a::before{
	position:absolute;
	left:13px;
	top:50%;
	display:flex;
	align-items:center;
	justify-content:center;
	width:28px;
	height:28px;
	border-radius:9px;
	background:#EAF6FC;
	color:var(--hanlob-account-primary);
	font-size:14px;
	transform:translateY(-50%);
}

.hanlob-account-pro .woocommerce-MyAccount-navigation-link--dashboard a::before{content:"⌂"}
.hanlob-account-pro .woocommerce-MyAccount-navigation-link--orders a::before{content:"📦"}
.hanlob-account-pro .woocommerce-MyAccount-navigation-link--downloads a::before{content:"⬇"}
.hanlob-account-pro .woocommerce-MyAccount-navigation-link--edit-address a::before{content:"📍"}
.hanlob-account-pro .woocommerce-MyAccount-navigation-link--edit-account a::before{content:"👤"}
.hanlob-account-pro .woocommerce-MyAccount-navigation-link--customer-logout a::before{content:"↪"}

.hanlob-account-pro .woocommerce-MyAccount-navigation a:hover{
	border-color:#D6E7F0;
	background:#F7FBFD;
	color:var(--hanlob-account-dark)!important;
	transform:translateX(2px);
}

.hanlob-account-pro .woocommerce-MyAccount-navigation .is-active a{
	border-color:#C9E3F0;
	background:#EAF6FC;
	color:var(--hanlob-account-primary)!important;
	box-shadow:0 7px 16px rgba(45,147,200,.10);
}

.hanlob-account-pro .woocommerce-MyAccount-content{
	float:none!important;
	width:100%!important;
	min-width:0;
	margin:0!important;
	padding:28px!important;
	border:1px solid var(--hanlob-account-border);
	background:#fff;
	box-shadow:0 14px 34px rgba(20,33,61,.06);
}

.hanlob-account-pro .woocommerce-MyAccount-content > :first-child{
	margin-top:0!important;
}

.hanlob-account-pro .woocommerce-MyAccount-content > :last-child{
	margin-bottom:0!important;
}

.hanlob-account-pro .woocommerce-MyAccount-content p{
	color:#475569;
	font-size:14px;
	line-height:1.7;
}

.hanlob-account-pro .woocommerce-MyAccount-content a{
	color:var(--hanlob-account-primary);
	font-weight:700;
	text-decoration:none;
}

.hanlob-account-welcome{
	display:flex;
	align-items:center;
	gap:14px;
	margin:0 0 24px;
	padding:18px;
	border:1px solid #DCEAF2;
	border-radius:14px;
	background:linear-gradient(180deg,#F7FCFE 0%,#EFF8FC 100%);
}

.hanlob-account-welcome__icon{
	display:flex;
	align-items:center;
	justify-content:center;
	width:46px;
	height:46px;
	flex:0 0 46px;
	border-radius:13px;
	background:#fff;
	color:var(--hanlob-account-primary);
	font-size:20px;
	box-shadow:0 7px 16px rgba(20,33,61,.08);
}

.hanlob-account-welcome h2{
	margin:0!important;
	color:var(--hanlob-account-dark);
	font-size:21px;
	font-weight:800;
	line-height:1.25;
}

.hanlob-account-welcome p{
	margin:4px 0 0!important;
	color:var(--hanlob-account-muted)!important;
	font-size:13px!important;
	line-height:1.5!important;
}

/* WooCommerce tables */
.hanlob-account-pro table.shop_table,
.hanlob-account-pro .woocommerce-orders-table{
	width:100%;
	border:1px solid var(--hanlob-account-border)!important;
	border-collapse:separate!important;
	border-spacing:0!important;
	border-radius:13px!important;
	overflow:hidden;
}

.hanlob-account-pro table.shop_table th{
	padding:14px!important;
	background:#F7FAFC;
	color:#475569;
	font-size:12px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.03em;
}

.hanlob-account-pro table.shop_table td{
	padding:14px!important;
	border-top:1px solid #E8EEF3!important;
	color:#475569;
	font-size:13px;
}

.hanlob-account-pro .woocommerce-button,
.hanlob-account-pro .button,
.hanlob-account-pro button.button{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	min-height:44px!important;
	padding:10px 17px!important;
	border:1px solid var(--hanlob-account-primary)!important;
	border-radius:10px!important;
	background:var(--hanlob-account-primary)!important;
	color:#fff!important;
	font-size:13px!important;
	font-weight:800!important;
	text-decoration:none!important;
	box-shadow:0 8px 18px rgba(45,147,200,.20)!important;
}

/* Addresses */
.hanlob-account-pro .woocommerce-Addresses{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:18px;
}

.hanlob-account-pro .woocommerce-Address{
	float:none!important;
	width:100%!important;
	margin:0!important;
	padding:20px;
	border:1px solid var(--hanlob-account-border);
	border-radius:14px;
	background:#FBFDFE;
}

.hanlob-account-pro .woocommerce-Address-title h2{
	margin:0;
	color:var(--hanlob-account-dark);
	font-size:18px;
	font-weight:800;
}

/* Forms */
.hanlob-account-pro form .form-row{
	margin-bottom:16px!important;
}

.hanlob-account-pro label{
	display:block;
	margin-bottom:7px;
	color:#334155;
	font-size:13px;
	font-weight:800;
}

.hanlob-account-pro input.input-text,
.hanlob-account-pro input[type="text"],
.hanlob-account-pro input[type="email"],
.hanlob-account-pro input[type="password"],
.hanlob-account-pro input[type="tel"],
.hanlob-account-pro select,
.hanlob-account-pro textarea{
	width:100%!important;
	min-height:52px!important;
	padding:0 14px!important;
	border:1px solid #CBD5E1!important;
	border-radius:10px!important;
	background:#fff!important;
	color:var(--hanlob-account-dark)!important;
	font-size:14px!important;
	outline:none!important;
}

.hanlob-account-pro textarea{
	min-height:100px!important;
	padding-top:13px!important;
}

.hanlob-account-pro input:focus,
.hanlob-account-pro select:focus,
.hanlob-account-pro textarea:focus{
	border-color:var(--hanlob-account-primary)!important;
	box-shadow:0 0 0 3px rgba(45,147,200,.12)!important;
}

/* Logged-out login / register */
.hanlob-account-pro .woocommerce:not(:has(.woocommerce-MyAccount-navigation)){
	display:block;
}

.hanlob-account-pro #customer_login{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:24px;
	margin:0;
}

.hanlob-account-pro #customer_login .u-column1,
.hanlob-account-pro #customer_login .u-column2{
	float:none!important;
	width:100%!important;
	padding:26px;
	border:1px solid var(--hanlob-account-border);
	border-radius:16px;
	background:#fff;
	box-shadow:0 14px 34px rgba(20,33,61,.06);
}

.hanlob-account-pro #customer_login h2{
	margin:0 0 20px;
	color:var(--hanlob-account-dark);
	font-size:23px;
	font-weight:800;
}

.hanlob-account-pro .woocommerce-form-login,
.hanlob-account-pro .woocommerce-form-register{
	margin:0!important;
	padding:0!important;
	border:0!important;
}

/* Benefits */
.hanlob-account-pro__benefits{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:12px;
	margin-top:30px;
}

.hanlob-account-benefit{
	display:flex;
	align-items:center;
	gap:11px;
	min-height:72px;
	padding:13px 15px;
	border:1px solid var(--hanlob-account-border);
	border-radius:13px;
	background:#fff;
}

.hanlob-account-benefit > span{
	display:flex;
	align-items:center;
	justify-content:center;
	width:40px;
	height:40px;
	flex:0 0 40px;
	border-radius:50%;
	background:#EAF6FC;
	font-size:17px;
}

.hanlob-account-benefit strong{
	display:block;
	color:var(--hanlob-account-dark);
	font-size:13px;
	font-weight:800;
	line-height:1.3;
}

.hanlob-account-benefit small{
	display:block;
	margin-top:3px;
	color:var(--hanlob-account-muted);
	font-size:10px;
	line-height:1.35;
}

/* Notices */
.hanlob-account-pro .woocommerce-message,
.hanlob-account-pro .woocommerce-info,
.hanlob-account-pro .woocommerce-error{
	margin:0 0 18px!important;
	padding:15px 17px!important;
	border:1px solid #DCE7EF!important;
	border-radius:12px!important;
	background:#F7FBFD!important;
	color:#475569!important;
	font-size:13px!important;
}

/* Mobile */
@media(max-width:900px){
	.hanlob-account-pro .woocommerce{
		grid-template-columns:1fr;
		gap:16px;
	}

	.hanlob-account-pro .woocommerce-MyAccount-navigation{
		overflow-x:auto;
		padding:10px!important;
	}

	.hanlob-account-pro .woocommerce-MyAccount-navigation ul{
		display:flex;
		gap:8px;
		min-width:max-content;
	}

	.hanlob-account-pro .woocommerce-MyAccount-navigation a{
		min-width:118px;
		padding:10px 12px 10px 42px;
	}

	.hanlob-account-pro .woocommerce-MyAccount-navigation + .woocommerce-MyAccount-content{
		margin-left:0!important;
	}

	.hanlob-account-pro__benefits{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}

@media(max-width:767px){
	.hanlob-account-pro{
		max-width:100%!important;
	}

	.hanlob-account-pro__header{
		justify-content:flex-start;
		margin-bottom:22px;
		padding:18px 6px;
	}

	.hanlob-account-pro__header-icon{
		width:48px;
		height:48px;
		flex-basis:48px;
		border-radius:13px;
		font-size:21px;
	}

	.hanlob-account-pro__title{
		font-size:27px;
	}

	.hanlob-account-pro__subtitle{
		font-size:13px;
	}

	.hanlob-account-pro .woocommerce-MyAccount-content{
		padding:18px!important;
		border-radius:13px;
	}

	.hanlob-account-pro .woocommerce-MyAccount-navigation a{
		min-width:106px;
		min-height:48px;
		font-size:12px;
	}

	.hanlob-account-pro #customer_login{
		grid-template-columns:1fr;
		gap:16px;
	}

	.hanlob-account-pro #customer_login .u-column1,
	.hanlob-account-pro #customer_login .u-column2{
		padding:18px;
	}

	.hanlob-account-pro .woocommerce-Addresses{
		grid-template-columns:1fr;
	}

	.hanlob-account-pro table.shop_table,
	.hanlob-account-pro table.shop_table tbody,
	.hanlob-account-pro table.shop_table tr,
	.hanlob-account-pro table.shop_table td{
		display:block!important;
		width:100%!important;
	}

	.hanlob-account-pro table.shop_table thead{
		display:none!important;
	}

	.hanlob-account-pro table.shop_table tr{
		margin-bottom:12px;
		padding:12px;
		border:1px solid #E3EAF0;
		border-radius:12px;
		background:#FBFDFE;
	}

	.hanlob-account-pro table.shop_table td{
		display:flex!important;
		align-items:center;
		justify-content:space-between;
		gap:12px;
		padding:9px 0!important;
		border:0!important;
	}

	.hanlob-account-pro table.shop_table td::before{
		color:#64748B;
		font-size:11px;
		font-weight:800;
	}

	.hanlob-account-pro__benefits{
		grid-template-columns:1fr;
		gap:9px;
	}

	.hanlob-account-benefit{
		min-height:62px;
	}
}


/* =========================================================
   HANLOB MY ACCOUNT PRO v2.3
   Dashboard, Pedidos, Direcciones, Perfil y Login
   ========================================================= */

.hanlob-account-pro__header{
	margin-bottom:22px;
	padding-top:18px;
	padding-bottom:18px;
}

.hanlob-account-native-dashboard-text{
	display:none!important;
}

/* Dashboard */
.hanlob-account-dashboard{
	display:grid;
	gap:18px;
}

.hanlob-account-quick-actions{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:14px;
}

.hanlob-account-quick-card{
	display:flex;
	align-items:center;
	gap:13px;
	min-height:92px;
	padding:16px;
	border:1px solid #DCE7EF;
	border-radius:14px;
	background:#FFFFFF;
	color:var(--hanlob-account-dark)!important;
	text-decoration:none!important;
	box-shadow:0 8px 20px rgba(20,33,61,.04);
	transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.hanlob-account-quick-card:hover{
	transform:translateY(-2px);
	border-color:#C9E3F0;
	box-shadow:0 12px 26px rgba(20,33,61,.08);
}

.hanlob-account-quick-card__icon{
	display:flex;
	align-items:center;
	justify-content:center;
	width:46px;
	height:46px;
	flex:0 0 46px;
	border-radius:13px;
	background:#EAF6FC;
	font-size:20px;
}

.hanlob-account-quick-card strong{
	display:block;
	color:var(--hanlob-account-dark);
	font-size:15px;
	font-weight:800;
}

.hanlob-account-quick-card small{
	display:block;
	margin-top:4px;
	color:var(--hanlob-account-muted);
	font-size:11px;
	line-height:1.4;
}

.hanlob-account-summary{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:12px;
}

.hanlob-account-summary__item{
	display:flex;
	align-items:center;
	gap:10px;
	min-height:68px;
	padding:13px;
	border:1px solid #DCE7EF;
	border-radius:13px;
	background:#F9FCFE;
}

.hanlob-account-summary__item > span{
	display:flex;
	align-items:center;
	justify-content:center;
	width:36px;
	height:36px;
	flex:0 0 36px;
	border-radius:50%;
	background:#FFFFFF;
	box-shadow:0 6px 14px rgba(20,33,61,.06);
}

.hanlob-account-summary__item strong{
	display:block;
	font-size:12px;
	font-weight:800;
	color:var(--hanlob-account-dark);
}

.hanlob-account-summary__item small{
	display:block;
	margin-top:3px;
	font-size:10px;
	color:var(--hanlob-account-muted);
	line-height:1.35;
}

/* Orders */
.hanlob-account-pro .woocommerce-orders-table.hanlob-orders-ready tbody tr:not(.hanlob-order-card-row){
	display:none!important;
}

.hanlob-order-card-row td{
	padding:0 0 14px!important;
	border:0!important;
}

.hanlob-order-card{
	display:grid;
	gap:16px;
	padding:18px;
	border:1px solid #DCE7EF;
	border-radius:14px;
	background:#FFFFFF;
	box-shadow:0 8px 20px rgba(20,33,61,.04);
}

.hanlob-order-card__top,
.hanlob-order-card__meta{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:14px;
}

.hanlob-order-card small{
	display:block;
	color:#64748B;
	font-size:10px;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:.04em;
}

.hanlob-order-card strong{
	display:block;
	margin-top:3px;
	color:#14213D;
	font-size:14px;
	font-weight:800;
}

.hanlob-order-status{
	display:inline-flex;
	align-items:center;
	min-height:28px;
	padding:5px 10px;
	border-radius:999px;
	background:#EAF6FC;
	color:#2D93C8;
	font-size:11px;
	font-weight:800;
}

.hanlob-order-card__button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:42px;
	padding:9px 15px;
	border-radius:10px;
	background:#2D93C8;
	color:#FFFFFF!important;
	font-size:12px;
	font-weight:800;
	text-decoration:none!important;
}

/* Addresses */
.hanlob-account-pro .woocommerce-Address.hanlob-address-ready{
	position:relative;
	padding-top:64px;
}

.hanlob-address-icon{
	position:absolute;
	top:18px;
	left:18px;
	display:flex;
	align-items:center;
	justify-content:center;
	width:36px;
	height:36px;
	border-radius:11px;
	background:#EAF6FC;
	font-size:17px;
}

.hanlob-account-pro .woocommerce-Address address{
	margin-top:14px;
	color:#475569;
	font-size:13px;
	line-height:1.7;
}

/* Profile */
.hanlob-profile-heading{
	display:flex;
	align-items:center;
	gap:12px;
	margin-bottom:22px;
	padding-bottom:16px;
	border-bottom:1px solid #E8EEF3;
}

.hanlob-profile-heading > span{
	display:flex;
	align-items:center;
	justify-content:center;
	width:42px;
	height:42px;
	border-radius:12px;
	background:#EAF6FC;
	font-size:18px;
}

.hanlob-profile-heading h2{
	margin:0!important;
	color:#14213D;
	font-size:20px;
	font-weight:800;
}

.hanlob-profile-heading p{
	margin:4px 0 0!important;
	color:#64748B!important;
	font-size:12px!important;
}

.hanlob-profile-security{
	margin:22px 0 0!important;
	padding:18px!important;
	border:1px solid #DCE7EF!important;
	border-radius:13px!important;
	background:#F9FCFE!important;
}

.hanlob-profile-security__heading{
	margin-bottom:15px;
	color:#14213D;
	font-size:14px;
	font-weight:800;
}

/* Login / register */
.hanlob-login-intro{
	display:flex;
	align-items:center;
	gap:11px;
	margin-bottom:18px;
	padding:13px;
	border:1px solid #DCE7EF;
	border-radius:12px;
	background:#F7FBFD;
}

.hanlob-login-intro > span{
	display:flex;
	align-items:center;
	justify-content:center;
	width:38px;
	height:38px;
	border-radius:11px;
	background:#FFFFFF;
	font-size:17px;
	box-shadow:0 6px 14px rgba(20,33,61,.06);
}

.hanlob-login-intro strong{
	display:block;
	color:#14213D;
	font-size:14px;
	font-weight:800;
}

.hanlob-login-intro small{
	display:block;
	margin-top:3px;
	color:#64748B;
	font-size:10px;
	line-height:1.4;
}

@media(max-width:900px){
	.hanlob-account-quick-actions{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

	.hanlob-account-summary{
		grid-template-columns:1fr;
	}
}

@media(max-width:767px){
	.hanlob-account-pro__header{
		margin-bottom:16px;
		padding:12px 4px;
	}

	.hanlob-account-quick-actions{
		grid-template-columns:1fr;
		gap:10px;
	}

	.hanlob-account-quick-card{
		min-height:76px;
		padding:13px;
	}

	.hanlob-account-summary{
		grid-template-columns:1fr;
	}

	.hanlob-order-card__top,
	.hanlob-order-card__meta{
		align-items:flex-start;
	}

	.hanlob-order-card__meta{
		display:grid;
		grid-template-columns:1fr 1fr;
	}

	.hanlob-order-card__button{
		width:100%;
	}
}


/* =========================================================
   HANLOB CUSTOMER PORTAL PRO v3.0
   ========================================================= */

.hanlob-account-pro .woocommerce-MyAccount-navigation-link--downloads{display:none!important}
.hanlob-account-pro .woocommerce-MyAccount-navigation-link--facturacion a::before{content:"🧾"}

.hanlob-customer-dashboard{display:grid;gap:18px}
.hanlob-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hanlob-dashboard-stats>div{
	display:grid;grid-template-columns:38px 1fr;align-items:center;column-gap:10px;
	min-height:82px;padding:14px;border:1px solid var(--hanlob-account-border);
	border-radius:13px;background:#FBFDFE
}
.hanlob-dashboard-stats span{display:flex;grid-row:1/3;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;background:#EAF6FC}
.hanlob-dashboard-stats small{color:var(--hanlob-account-muted);font-size:10px;font-weight:700}
.hanlob-dashboard-stats strong{color:var(--hanlob-account-dark);font-size:14px;font-weight:900}

.hanlob-latest-order{padding:18px;border:1px solid #CBE3EF;border-radius:14px;background:linear-gradient(180deg,#F7FCFE,#EEF9FD)}
.hanlob-latest-order__top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.hanlob-latest-order small{display:block;color:var(--hanlob-account-muted);font-size:10px;font-weight:700;text-transform:uppercase}
.hanlob-latest-order strong{display:block;margin-top:4px;color:var(--hanlob-account-dark);font-size:18px;font-weight:900}
.hanlob-latest-order__top span{padding:7px 10px;border-radius:999px;background:#fff;color:var(--hanlob-account-primary);font-size:11px;font-weight:900}
.hanlob-latest-order__total{margin:16px 0}
.hanlob-latest-order>a{display:flex;justify-content:space-between;min-height:45px;padding:12px 15px;border-radius:10px;background:var(--hanlob-account-primary);color:#fff!important}

.hanlob-orders-grid{display:grid;gap:14px}
.hanlob-order-card{padding:18px;border:1px solid var(--hanlob-account-border);border-radius:14px;background:#fff;box-shadow:0 10px 25px rgba(20,33,61,.05)}
.hanlob-order-card__top,.hanlob-order-card__meta{display:flex;align-items:center;justify-content:space-between;gap:14px}
.hanlob-order-card small{display:block;color:var(--hanlob-account-muted);font-size:10px;text-transform:uppercase;font-weight:700}
.hanlob-order-card strong{display:block;margin-top:4px;color:var(--hanlob-account-dark);font-weight:900}
.hanlob-order-status{padding:7px 10px;border-radius:999px;background:#EAF6FC;color:var(--hanlob-account-primary);font-size:11px;font-weight:900}
.hanlob-order-progress-mini{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:16px 0}
.hanlob-order-progress-mini i{height:5px;border-radius:999px;background:#DDE7ED}
.hanlob-order-progress-mini i.is-done{background:var(--hanlob-account-primary)}
.hanlob-order-card__actions{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:15px}
.hanlob-order-card__button,.hanlob-order-card__invoice{display:flex;align-items:center;justify-content:center;min-height:43px;border-radius:10px;font-size:12px;font-weight:900!important}
.hanlob-order-card__button{background:var(--hanlob-account-primary);color:#fff!important}
.hanlob-order-card__invoice{padding:0 15px;border:1px solid #BBDCEB;background:#fff}

.hanlob-portal-section-heading,.hanlob-order-view-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #E5EDF2}
.hanlob-portal-section-heading>span,.hanlob-order-view-heading>span{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:11px;background:#EAF6FC}
.hanlob-portal-section-heading h2,.hanlob-order-view-heading h2{margin:0!important;font-size:20px!important;color:var(--hanlob-account-dark)}
.hanlob-portal-section-heading p,.hanlob-order-view-heading p{margin:3px 0 0!important;font-size:11px!important;color:var(--hanlob-account-muted)!important}

.hanlob-order-tracking-panel{margin-bottom:20px;padding:18px;border:1px solid #BFE0EF;border-radius:14px;background:linear-gradient(180deg,#F7FCFE,#EEF9FD)}
.hanlob-tracking-progress{display:flex;align-items:flex-start;justify-content:center;margin:18px 0}
.hanlob-tracking-progress>div{display:flex;flex:0 0 80px;flex-direction:column;align-items:center;gap:6px;text-align:center}
.hanlob-tracking-progress i{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:2px solid #D5E2E9;border-radius:50%;background:#fff;font-style:normal}
.hanlob-tracking-progress .is-done i,.hanlob-tracking-progress .is-current i{border-color:var(--hanlob-account-primary);background:var(--hanlob-account-primary);color:#fff}
.hanlob-tracking-progress span{font-size:9px;font-weight:800;color:#64748B}
.hanlob-tracking-progress b{flex:1;height:3px;margin-top:16px;background:#DDE7ED}
.hanlob-tracking-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hanlob-tracking-details>div{padding:12px;border:1px solid #D9E7EE;border-radius:10px;background:#fff}
.hanlob-tracking-details small{display:block;color:var(--hanlob-account-muted);font-size:9px;text-transform:uppercase;font-weight:700}
.hanlob-tracking-details strong{display:block;margin-top:4px;color:var(--hanlob-account-dark);font-size:12px;font-weight:900;overflow-wrap:anywhere}
.hanlob-track-button{display:flex;justify-content:space-between;margin-top:12px;padding:13px 15px;border-radius:10px;background:var(--hanlob-account-primary);color:#fff!important}
.hanlob-order-view-actions{margin-top:18px}
.hanlob-order-view-actions a{display:inline-flex;padding:12px 16px;border:1px solid var(--hanlob-account-primary);border-radius:10px}

.hanlob-account-pro .woocommerce-Addresses{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
.hanlob-account-pro .woocommerce-Address{position:relative;display:flex!important;flex-direction:column!important;min-height:280px!important;padding:22px!important}
.hanlob-address-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin-bottom:15px;border-radius:11px;background:#EAF6FC}
.hanlob-account-pro .woocommerce-Address-title{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px}
.hanlob-account-pro .woocommerce-Address address{margin-top:18px!important;font-style:normal!important;line-height:1.7!important}

.hanlob-profile-security{position:relative}
.hanlob-profile-security.is-collapsed>p,.hanlob-profile-security.is-collapsed>.form-row{display:none!important}
.hanlob-security-toggle{display:flex!important;width:100%!important;align-items:center!important;justify-content:space-between!important;min-height:48px!important;padding:12px 14px!important;border:1px solid #DCE7EF!important;border-radius:10px!important;background:#F7FBFD!important;color:var(--hanlob-account-dark)!important;box-shadow:none!important}

.hanlob-invoice-list{display:grid;gap:12px}
.hanlob-invoice-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:center;gap:12px;padding:16px;border:1px solid var(--hanlob-account-border);border-radius:13px;background:#fff}
.hanlob-invoice-card small{display:block;color:var(--hanlob-account-muted);font-size:9px;text-transform:uppercase;font-weight:700}
.hanlob-invoice-card strong{display:block;margin-top:4px;color:var(--hanlob-account-dark);font-size:12px;font-weight:900}
.hanlob-invoice-request{display:flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px;border-radius:10px;background:var(--hanlob-account-primary);color:#fff!important}

.hanlob-portal-empty{padding:24px;border:1px dashed #BFD9E6;border-radius:13px;background:#F8FCFE;text-align:center}

@media(max-width:900px){
	.hanlob-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
	.hanlob-invoice-card{grid-template-columns:repeat(2,minmax(0,1fr))}
	.hanlob-invoice-request{grid-column:1/-1}
}

@media(max-width:767px){
	.hanlob-dashboard-stats{grid-template-columns:1fr}
	.hanlob-order-card__actions{grid-template-columns:1fr}
	.hanlob-tracking-progress>div{flex-basis:60px}
	.hanlob-tracking-progress span{font-size:8px}
	.hanlob-tracking-details{grid-template-columns:1fr}
	.hanlob-account-pro .woocommerce-Addresses{grid-template-columns:1fr!important}
	.hanlob-account-pro .woocommerce-Address{min-height:0!important}
	.hanlob-invoice-card{grid-template-columns:1fr}
	.hanlob-invoice-request{grid-column:auto}
}


/* =========================================================
   HANLOB CUSTOMER PORTAL PRO v3.1
   Mejoras visuales, direcciones y móvil
   ========================================================= */

/* Contenedor general más equilibrado */
.hanlob-account-pro .woocommerce{
	max-width:1180px;
	margin:0 auto;
}

.hanlob-account-pro .woocommerce-MyAccount-content{
	min-width:0;
}

/* -------------------------
   DETALLE DE PEDIDO
   ------------------------- */
.hanlob-account-pro .woocommerce-order-details{
	margin-top:20px!important;
	padding:18px!important;
	border:1px solid var(--hanlob-account-border)!important;
	border-radius:14px!important;
	background:#fff!important;
	box-shadow:0 10px 26px rgba(20,33,61,.045)!important;
}

.hanlob-account-pro .woocommerce-order-details__title{
	margin:0 0 14px!important;
	padding-bottom:12px!important;
	border-bottom:1px solid #E6EDF2!important;
	color:var(--hanlob-account-dark)!important;
	font-size:18px!important;
	font-weight:900!important;
}

.hanlob-account-pro .woocommerce-table--order-details{
	margin:0!important;
	border-collapse:separate!important;
	border-spacing:0!important;
	border:1px solid #DCE7EF!important;
	border-radius:12px!important;
	overflow:hidden!important;
}

.hanlob-account-pro .woocommerce-table--order-details thead th{
	padding:13px 14px!important;
	border:0!important;
	border-bottom:1px solid #DCE7EF!important;
	background:#F4F8FA!important;
	color:var(--hanlob-account-dark)!important;
	font-size:10px!important;
	font-weight:900!important;
	text-transform:uppercase!important;
	letter-spacing:.04em!important;
}

.hanlob-account-pro .woocommerce-table--order-details tbody td,
.hanlob-account-pro .woocommerce-table--order-details tfoot th,
.hanlob-account-pro .woocommerce-table--order-details tfoot td{
	padding:13px 14px!important;
	border:0!important;
	border-bottom:1px solid #E7EDF1!important;
	vertical-align:middle!important;
	font-size:11px!important;
	line-height:1.45!important;
}

.hanlob-account-pro .woocommerce-table--order-details tbody tr:last-child td,
.hanlob-account-pro .woocommerce-table--order-details tfoot tr:last-child th,
.hanlob-account-pro .woocommerce-table--order-details tfoot tr:last-child td{
	border-bottom:0!important;
}

.hanlob-account-pro .woocommerce-table--order-details tfoot tr:last-child{
	background:linear-gradient(180deg,#F5FBFE,#EAF6FC)!important;
}

.hanlob-account-pro .woocommerce-table--order-details tfoot tr:last-child th,
.hanlob-account-pro .woocommerce-table--order-details tfoot tr:last-child td{
	color:var(--hanlob-account-primary)!important;
	font-size:15px!important;
	font-weight:900!important;
}

.hanlob-account-pro .woocommerce-order-details .woocommerce-button{
	margin-top:14px!important;
	border-radius:10px!important;
}

/* -------------------------
   DIRECCIONES
   ------------------------- */
.hanlob-account-pro .woocommerce-Addresses{
	display:grid!important;
	grid-template-columns:repeat(2,minmax(0,1fr))!important;
	gap:16px!important;
	align-items:stretch!important;
	margin-top:12px!important;
}

.hanlob-account-pro .woocommerce-Address{
	position:relative!important;
	display:flex!important;
	flex-direction:column!important;
	min-height:260px!important;
	margin:0!important;
	padding:20px!important;
	border:1px solid var(--hanlob-account-border)!important;
	border-radius:14px!important;
	background:#FBFDFE!important;
	box-shadow:0 8px 22px rgba(20,33,61,.04)!important;
}

.hanlob-account-pro .woocommerce-Address-title{
	display:flex!important;
	align-items:flex-start!important;
	justify-content:space-between!important;
	gap:12px!important;
	margin:0 0 14px!important;
	padding-bottom:12px!important;
	border-bottom:1px solid #E7EDF1!important;
}

.hanlob-account-pro .woocommerce-Address-title h2{
	margin:0!important;
	color:var(--hanlob-account-dark)!important;
	font-size:16px!important;
	font-weight:900!important;
	line-height:1.25!important;
}

.hanlob-account-pro .woocommerce-Address-title .edit{
	flex:0 0 auto!important;
	padding:7px 10px!important;
	border:1px solid #BBDCEB!important;
	border-radius:8px!important;
	background:#fff!important;
	color:var(--hanlob-account-primary)!important;
	font-size:10px!important;
	font-weight:900!important;
	text-decoration:none!important;
}

.hanlob-account-pro .woocommerce-Address address{
	margin:0!important;
	color:#475569!important;
	font-size:11px!important;
	font-style:normal!important;
	line-height:1.7!important;
	text-align:left!important;
}

.hanlob-address-icon{
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	width:40px!important;
	height:40px!important;
	margin-bottom:12px!important;
	border-radius:10px!important;
	background:#EAF6FC!important;
}

/* -------------------------
   FACTURACIÓN
   ------------------------- */
.hanlob-invoice-card{
	border-radius:14px!important;
	box-shadow:0 8px 22px rgba(20,33,61,.04)!important;
}

.hanlob-invoice-request{
	white-space:nowrap!important;
}

/* -------------------------
   PERFIL
   ------------------------- */
.hanlob-profile-heading{
	display:flex!important;
	align-items:center!important;
	gap:12px!important;
	margin-bottom:18px!important;
	padding-bottom:14px!important;
	border-bottom:1px solid #E7EDF1!important;
}

.hanlob-profile-heading>span{
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	width:42px!important;
	height:42px!important;
	border-radius:11px!important;
	background:#EAF6FC!important;
}

.hanlob-profile-heading h2{
	margin:0!important;
	font-size:20px!important;
	font-weight:900!important;
}

.hanlob-profile-heading p{
	margin:3px 0 0!important;
	font-size:11px!important;
	color:var(--hanlob-account-muted)!important;
}

/* -------------------------
   MÓVIL
   ------------------------- */
@media(max-width:767px){

	.hanlob-account-pro{
		width:100%!important;
		max-width:100%!important;
		padding-left:12px!important;
		padding-right:12px!important;
		box-sizing:border-box!important;
	}

	.hanlob-account-pro .woocommerce{
		width:100%!important;
		max-width:100%!important;
	}

	.hanlob-account-pro .woocommerce-MyAccount-content{
		width:100%!important;
		max-width:100%!important;
		margin:0!important;
		padding:0!important;
		text-align:left!important;
	}

	.hanlob-account-pro .woocommerce-MyAccount-navigation{
		width:100%!important;
		margin-bottom:14px!important;
	}

	/* Pedidos */
	.hanlob-order-card{
		padding:15px!important;
		text-align:left!important;
	}

	.hanlob-order-card__top,
	.hanlob-order-card__meta{
		align-items:flex-start!important;
		text-align:left!important;
	}

	.hanlob-order-card__meta{
		display:grid!important;
		grid-template-columns:1fr 1fr!important;
	}

	.hanlob-order-card__meta>div:last-child{
		text-align:right!important;
	}

	/* Seguimiento */
	.hanlob-order-tracking-panel{
		padding:15px!important;
		text-align:left!important;
	}

	.hanlob-tracking-details{
		grid-template-columns:1fr!important;
	}

	.hanlob-tracking-details>div{
		text-align:left!important;
	}

	.hanlob-tracking-progress{
		justify-content:space-between!important;
		overflow:hidden!important;
	}

	.hanlob-tracking-progress>div{
		flex:0 0 56px!important;
	}

	.hanlob-tracking-progress b{
		min-width:10px!important;
	}

	/* Tabla del pedido convertida a tarjetas */
	.hanlob-account-pro .woocommerce-table--order-details{
		display:block!important;
		border:0!important;
		background:transparent!important;
		overflow:visible!important;
	}

	.hanlob-account-pro .woocommerce-table--order-details thead{
		display:none!important;
	}

	.hanlob-account-pro .woocommerce-table--order-details tbody,
	.hanlob-account-pro .woocommerce-table--order-details tfoot{
		display:block!important;
	}

	.hanlob-account-pro .woocommerce-table--order-details tbody tr{
		display:grid!important;
		grid-template-columns:minmax(0,1fr) auto!important;
		gap:10px!important;
		margin-bottom:10px!important;
		padding:13px!important;
		border:1px solid #DCE7EF!important;
		border-radius:11px!important;
		background:#fff!important;
	}

	.hanlob-account-pro .woocommerce-table--order-details tbody td{
		display:block!important;
		padding:0!important;
		border:0!important;
		text-align:left!important;
	}

	.hanlob-account-pro .woocommerce-table--order-details tbody td:last-child{
		text-align:right!important;
		white-space:nowrap!important;
		font-weight:900!important;
	}

	.hanlob-account-pro .woocommerce-table--order-details tfoot tr{
		display:grid!important;
		grid-template-columns:minmax(0,1fr) auto!important;
		gap:12px!important;
		padding:11px 0!important;
		border-bottom:1px solid #E7EDF1!important;
	}

	.hanlob-account-pro .woocommerce-table--order-details tfoot th,
	.hanlob-account-pro .woocommerce-table--order-details tfoot td{
		display:block!important;
		padding:0!important;
		border:0!important;
		text-align:left!important;
	}

	.hanlob-account-pro .woocommerce-table--order-details tfoot td{
		text-align:right!important;
		font-weight:900!important;
	}

	.hanlob-account-pro .woocommerce-table--order-details tfoot tr:last-child{
		margin-top:8px!important;
		padding:14px!important;
		border:1px solid #BFE0EF!important;
		border-radius:11px!important;
	}

	/* Direcciones */
	.hanlob-account-pro .woocommerce-Addresses{
		grid-template-columns:1fr!important;
		gap:12px!important;
	}

	.hanlob-account-pro .woocommerce-Address{
		min-height:0!important;
		padding:16px!important;
		text-align:left!important;
	}

	.hanlob-account-pro .woocommerce-Address-title{
		display:grid!important;
		grid-template-columns:minmax(0,1fr) auto!important;
		align-items:start!important;
	}

	.hanlob-account-pro .woocommerce-Address-title h2,
	.hanlob-account-pro .woocommerce-Address-title .edit,
	.hanlob-account-pro .woocommerce-Address address{
		text-align:left!important;
	}

	/* Facturación */
	.hanlob-invoice-card{
		grid-template-columns:1fr!important;
		text-align:left!important;
	}

	.hanlob-invoice-card>div,
	.hanlob-invoice-card small,
	.hanlob-invoice-card strong{
		text-align:left!important;
	}

	.hanlob-invoice-request{
		width:100%!important;
	}

	/* Perfil */
	.hanlob-account-pro form.woocommerce-EditAccountForm .form-row{
		width:100%!important;
		float:none!important;
		text-align:left!important;
	}

	.hanlob-account-pro form.woocommerce-EditAccountForm label,
	.hanlob-account-pro form.woocommerce-EditAccountForm input{
		text-align:left!important;
	}

	.hanlob-security-toggle{
		text-align:left!important;
	}
}


/* Hanlob Customer Portal Pro v3.2 */
.hanlob-account-pro .woocommerce-customer-details{
	display:grid!important;
	grid-template-columns:repeat(2,minmax(0,1fr))!important;
	gap:16px!important;
	margin-top:20px!important;
}
.hanlob-account-pro .woocommerce-customer-details .woocommerce-column{
	width:auto!important;
	max-width:none!important;
	margin:0!important;
	padding:18px!important;
	border:1px solid var(--hanlob-account-border)!important;
	border-radius:14px!important;
	background:#FBFDFE!important;
	box-shadow:0 8px 22px rgba(20,33,61,.04)!important;
}
.hanlob-account-pro .woocommerce-customer-details .woocommerce-column__title{
	margin:0 0 14px!important;
	padding-bottom:12px!important;
	border-bottom:1px solid #E7EDF1!important;
	color:var(--hanlob-account-dark)!important;
	font-size:17px!important;
	font-weight:900!important;
	line-height:1.25!important;
}
.hanlob-account-pro .woocommerce-customer-details address{
	margin:0!important;
	color:#475569!important;
	font-size:11px!important;
	font-style:normal!important;
	line-height:1.7!important;
	text-align:left!important;
}

@media(max-width:767px){
	.hanlob-account-pro .woocommerce-customer-details{
		grid-template-columns:1fr!important;
		gap:12px!important;
		margin-top:16px!important;
	}
	.hanlob-account-pro .woocommerce-customer-details .woocommerce-column{
		width:100%!important;
		padding:16px!important;
		border-radius:12px!important;
		box-sizing:border-box!important;
	}
	.hanlob-account-pro .woocommerce-customer-details .woocommerce-column__title,
	.hanlob-account-pro .woocommerce-customer-details h2,
	.hanlob-account-pro .woocommerce-customer-details h3{
		margin:0 0 12px!important;
		padding:0 0 10px!important;
		font-size:22px!important;
		line-height:1.18!important;
		text-align:left!important;
		word-break:normal!important;
		overflow-wrap:normal!important;
	}
	.hanlob-account-pro .woocommerce-customer-details address{
		font-size:15px!important;
		line-height:1.55!important;
		text-align:left!important;
		overflow-wrap:anywhere!important;
	}
	.hanlob-account-pro .woocommerce-table--order-details tfoot tr.hanlob-row-payment{
		display:block!important;
		margin-top:10px!important;
		padding:14px!important;
		border:1px solid #BFE0EF!important;
		border-radius:11px!important;
		background:linear-gradient(180deg,#F5FBFE,#EAF6FC)!important;
	}
	.hanlob-account-pro .woocommerce-table--order-details tfoot tr.hanlob-row-payment th,
	.hanlob-account-pro .woocommerce-table--order-details tfoot tr.hanlob-row-payment td{
		display:block!important;
		width:100%!important;
		padding:0!important;
		text-align:left!important;
		line-height:1.35!important;
	}
	.hanlob-account-pro .woocommerce-table--order-details tfoot tr.hanlob-row-payment th{
		margin-bottom:7px!important;
		color:var(--hanlob-account-primary)!important;
		font-size:11px!important;
		font-weight:900!important;
		text-transform:uppercase!important;
		letter-spacing:.04em!important;
	}
	.hanlob-account-pro .woocommerce-table--order-details tfoot tr.hanlob-row-payment td{
		color:var(--hanlob-account-dark)!important;
		font-size:16px!important;
		font-weight:900!important;
		white-space:normal!important;
		overflow-wrap:anywhere!important;
	}
	.hanlob-order-view-actions a{
		width:100%!important;
		justify-content:center!important;
		min-height:46px!important;
		box-sizing:border-box!important;
	}
}


/* =========================================================
   HANLOB CUSTOMER PORTAL PRO v3.3
   Resumen propio, direcciones definitivas y móvil
   ========================================================= */

/* Ocultar estilos nativos conflictivos del pie de la tabla */
.hanlob-account-pro .woocommerce-table--order-details tfoot{
	display:none!important;
}

/* Resumen de compra propio */
.hanlob-order-summary-card{
	margin-top:18px;
	padding:18px;
	border:1px solid var(--hanlob-account-border);
	border-radius:14px;
	background:#fff;
	box-shadow:0 10px 26px rgba(20,33,61,.045);
}

.hanlob-order-summary-list{
	display:grid;
	gap:0;
}

.hanlob-order-summary-row{
	display:grid;
	grid-template-columns:minmax(0,1fr) minmax(180px,auto);
	align-items:start;
	gap:18px;
	padding:14px 0;
	border-bottom:1px solid #E7EDF1;
}

.hanlob-order-summary-row>span{
	color:#475569;
	font-size:12px;
	font-weight:800;
}

.hanlob-order-summary-row>strong,
.hanlob-order-summary-row>div{
	text-align:right;
}

.hanlob-order-summary-row strong{
	color:var(--hanlob-account-dark);
	font-size:13px;
	font-weight:900;
	line-height:1.35;
}

.hanlob-order-summary-row.is-shipping>div{
	display:flex;
	flex-direction:column;
	align-items:flex-end;
	gap:3px;
}

.hanlob-order-summary-row.is-shipping em{
	color:var(--hanlob-account-dark);
	font-size:11px;
	font-style:normal;
	font-weight:800;
	line-height:1.35;
}

.hanlob-order-summary-row.is-shipping small{
	color:var(--hanlob-account-muted);
	font-size:10px;
	font-weight:700;
	line-height:1.35;
}

.hanlob-order-summary-row.is-total{
	margin:10px 0;
	padding:16px;
	border:1px solid #BFE0EF;
	border-radius:11px;
	background:linear-gradient(180deg,#F5FBFE,#EAF6FC);
}

.hanlob-order-summary-row.is-total>span{
	color:var(--hanlob-account-dark);
	font-size:14px;
	font-weight:900;
}

.hanlob-order-summary-row.is-total strong{
	color:var(--hanlob-account-primary);
	font-size:22px;
}

.hanlob-order-summary-row.is-payment{
	border-bottom:0;
}

.hanlob-order-summary-row.is-payment strong{
	max-width:300px;
	overflow-wrap:anywhere;
}

/* Direcciones dentro de Ver pedido */
.hanlob-account-pro .hanlob-customer-addresses{
	display:grid!important;
	grid-template-columns:repeat(2,minmax(0,1fr))!important;
	gap:16px!important;
	margin-top:20px!important;
}

.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column{
	position:relative!important;
	display:flex!important;
	flex-direction:column!important;
	width:auto!important;
	max-width:none!important;
	min-height:250px!important;
	margin:0!important;
	padding:20px!important;
	border:1px solid var(--hanlob-account-border)!important;
	border-radius:14px!important;
	background:#FBFDFE!important;
	box-shadow:0 8px 22px rgba(20,33,61,.04)!important;
}

.hanlob-customer-address-icon{
	display:flex;
	align-items:center;
	justify-content:center;
	width:42px;
	height:42px;
	margin-bottom:13px;
	border-radius:11px;
	background:#EAF6FC;
	font-size:18px;
}

.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column__title{
	margin:0 0 13px!important;
	padding:0 0 12px!important;
	border-bottom:1px solid #E7EDF1!important;
	color:var(--hanlob-account-dark)!important;
	font-size:17px!important;
	font-weight:900!important;
	line-height:1.25!important;
}

.hanlob-account-pro .hanlob-customer-addresses address{
	margin:0!important;
	color:#475569!important;
	font-size:12px!important;
	font-style:normal!important;
	line-height:1.7!important;
	text-align:left!important;
}

/* Botón de factura */
.hanlob-order-view-actions{
	margin-top:16px;
}

.hanlob-order-view-actions a{
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	min-height:46px;
	border:1px solid var(--hanlob-account-primary);
	border-radius:10px;
	background:#fff;
	color:var(--hanlob-account-primary)!important;
	font-size:12px;
	font-weight:900!important;
}

/* Móvil */
@media(max-width:767px){

	.hanlob-order-summary-card{
		margin-top:14px;
		padding:15px;
		border-radius:12px;
	}

	.hanlob-order-summary-row{
		grid-template-columns:minmax(0,1fr) minmax(145px,auto);
		gap:12px;
		padding:13px 0;
	}

	.hanlob-order-summary-row>span{
		font-size:13px;
		text-align:left!important;
	}

	.hanlob-order-summary-row>strong,
	.hanlob-order-summary-row>div{
		text-align:right!important;
	}

	.hanlob-order-summary-row.is-shipping>div{
		align-items:flex-end!important;
	}

	.hanlob-order-summary-row.is-shipping strong{
		font-size:15px;
	}

	.hanlob-order-summary-row.is-shipping em{
		max-width:190px;
		font-size:12px;
		text-align:right!important;
	}

	.hanlob-order-summary-row.is-shipping small{
		max-width:190px;
		font-size:11px;
		text-align:right!important;
	}

	.hanlob-order-summary-row.is-total{
		grid-template-columns:1fr auto;
		padding:15px;
	}

	.hanlob-order-summary-row.is-total strong{
		font-size:20px;
	}

	.hanlob-order-summary-row.is-payment{
		display:block;
		padding:14px;
		border:1px solid #BFE0EF;
		border-radius:11px;
		background:#F7FBFD;
	}

	.hanlob-order-summary-row.is-payment>span,
	.hanlob-order-summary-row.is-payment>strong{
		display:block;
		width:100%;
		text-align:left!important;
	}

	.hanlob-order-summary-row.is-payment>span{
		margin-bottom:6px;
		color:var(--hanlob-account-primary);
		font-size:11px;
		font-weight:900;
		text-transform:uppercase;
		letter-spacing:.04em;
	}

	.hanlob-order-summary-row.is-payment>strong{
		max-width:none;
		font-size:16px;
		line-height:1.35;
	}

	.hanlob-account-pro .hanlob-customer-addresses{
		grid-template-columns:1fr!important;
		gap:12px!important;
		margin-top:16px!important;
	}

	.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column{
		min-height:0!important;
		padding:16px!important;
		border-radius:12px!important;
	}

	.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column__title{
		margin:0 0 12px!important;
		padding:0 0 10px!important;
		font-size:20px!important;
		line-height:1.2!important;
		text-align:left!important;
	}

	.hanlob-account-pro .hanlob-customer-addresses address{
		font-size:15px!important;
		line-height:1.55!important;
		text-align:left!important;
		overflow-wrap:anywhere!important;
	}
}


/* =========================================================
   HANLOB CUSTOMER PORTAL PRO v3.4
   Corrección definitiva de direcciones en escritorio
   ========================================================= */

/* El bloque de direcciones ocupa todo el ancho disponible */
.hanlob-account-pro .hanlob-customer-addresses{
	display:grid!important;
	grid-template-columns:repeat(2,minmax(0,1fr))!important;
	gap:16px!important;
	width:100%!important;
	max-width:none!important;
	margin:20px 0 0!important;
	padding:0!important;
	clear:both!important;
	align-items:stretch!important;
}

/* Eliminar anchos, floats y desplazamientos heredados de WooCommerce/tema */
.hanlob-account-pro .hanlob-customer-addresses::before,
.hanlob-account-pro .hanlob-customer-addresses::after{
	display:none!important;
	content:none!important;
}

.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column,
.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column--billing-address,
.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column--shipping-address{
	float:none!important;
	position:relative!important;
	left:auto!important;
	right:auto!important;
	top:auto!important;
	bottom:auto!important;
	display:flex!important;
	flex-direction:column!important;
	width:100%!important;
	max-width:none!important;
	min-width:0!important;
	min-height:250px!important;
	margin:0!important;
	padding:20px!important;
	transform:none!important;
	box-sizing:border-box!important;
}

/* Asegurar orden visual estable */
.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column--billing-address{
	grid-column:1!important;
	grid-row:1!important;
}

.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column--shipping-address{
	grid-column:2!important;
	grid-row:1!important;
}

/* Títulos y contenido equilibrados */
.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column__title{
	width:100%!important;
	margin:0 0 14px!important;
}

.hanlob-account-pro .hanlob-customer-addresses address{
	width:100%!important;
	max-width:none!important;
	margin:0!important;
}

/* Botón de factura separado y a todo el ancho */
.hanlob-order-view-actions{
	width:100%!important;
	clear:both!important;
	margin-top:18px!important;
}

/* Tablet */
@media(min-width:768px) and (max-width:1024px){
	.hanlob-account-pro .hanlob-customer-addresses{
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
		gap:14px!important;
	}

	.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column{
		min-height:230px!important;
		padding:17px!important;
	}
}

/* Móvil: mantener una sola columna */
@media(max-width:767px){
	.hanlob-account-pro .hanlob-customer-addresses{
		grid-template-columns:1fr!important;
		gap:12px!important;
	}

	.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column--billing-address,
	.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column--shipping-address{
		grid-column:1!important;
	}

	.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column--billing-address{
		grid-row:1!important;
	}

	.hanlob-account-pro .hanlob-customer-addresses .woocommerce-column--shipping-address{
		grid-row:2!important;
	}
}


/* =========================================================
   HANLOB CUSTOMER PORTAL PRO v4.0
   Direcciones y productos completamente personalizados
   ========================================================= */

/* Ocultar direcciones nativas cuando ya existe el bloque Hanlob */
.hanlob-account-pro .woocommerce-customer-details{
	display:none!important;
}

/* Productos del pedido */
.hanlob-order-products-card{
	margin-top:18px!important;
	padding:18px!important;
	border:1px solid var(--hanlob-account-border)!important;
	border-radius:14px!important;
	background:#fff!important;
	box-shadow:0 10px 26px rgba(20,33,61,.045)!important;
}

.hanlob-order-products-card>.woocommerce-order-details__title{
	display:none!important;
}

.hanlob-products-heading{
	display:flex;
	align-items:center;
	gap:12px;
	margin-bottom:16px;
	padding-bottom:14px;
	border-bottom:1px solid #E7EDF1;
}

.hanlob-products-heading>span{
	display:flex;
	align-items:center;
	justify-content:center;
	width:42px;
	height:42px;
	flex:0 0 42px;
	border-radius:11px;
	background:#EAF6FC;
}

.hanlob-products-heading h2{
	margin:0!important;
	color:var(--hanlob-account-dark)!important;
	font-size:18px!important;
	font-weight:900!important;
	line-height:1.2!important;
}

.hanlob-products-heading p{
	margin:3px 0 0!important;
	color:var(--hanlob-account-muted)!important;
	font-size:10px!important;
}

/* Direcciones completamente propias */
.hanlob-addresses-custom{
	width:100%;
	margin-top:18px;
	padding:18px;
	border:1px solid var(--hanlob-account-border);
	border-radius:14px;
	background:#fff;
	box-shadow:0 10px 26px rgba(20,33,61,.045);
}

.hanlob-addresses-custom__grid{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:16px;
	align-items:stretch;
}

.hanlob-address-card-custom{
	display:grid;
	grid-template-columns:46px minmax(0,1fr);
	gap:13px;
	min-height:220px;
	padding:18px;
	border:1px solid #DCE7EF;
	border-radius:13px;
	background:#FBFDFE;
}

.hanlob-address-card-custom__icon{
	display:flex;
	align-items:center;
	justify-content:center;
	width:46px;
	height:46px;
	border-radius:12px;
	background:#EAF6FC;
	font-size:19px;
}

.hanlob-address-card-custom__content small{
	display:block;
	color:var(--hanlob-account-primary);
	font-size:9px;
	font-weight:900;
	letter-spacing:.04em;
	text-transform:uppercase;
}

.hanlob-address-card-custom__content h3{
	margin:5px 0 12px!important;
	padding-bottom:10px;
	border-bottom:1px solid #E7EDF1;
	color:var(--hanlob-account-dark)!important;
	font-size:16px!important;
	font-weight:900!important;
	line-height:1.25!important;
}

.hanlob-address-card-custom__address{
	color:#475569;
	font-size:12px;
	line-height:1.7;
	overflow-wrap:anywhere;
}

/* Botones principales */
.hanlob-track-button,
.hanlob-order-view-actions a{
	box-shadow:0 10px 22px rgba(45,147,200,.14);
	transition:transform .18s ease,box-shadow .18s ease;
}

.hanlob-track-button:hover,
.hanlob-order-view-actions a:hover{
	transform:translateY(-1px);
	box-shadow:0 13px 26px rgba(45,147,200,.2);
}

/* Tablet */
@media(min-width:768px) and (max-width:1024px){
	.hanlob-address-card-custom{
		grid-template-columns:42px minmax(0,1fr);
		min-height:210px;
		padding:16px;
	}
}

/* Móvil */
@media(max-width:767px){
	.hanlob-order-products-card,
	.hanlob-addresses-custom{
		padding:15px!important;
		border-radius:12px!important;
	}

	.hanlob-products-heading h2,
	.hanlob-addresses-custom .hanlob-portal-section-heading h2{
		font-size:18px!important;
	}

	.hanlob-addresses-custom__grid{
		grid-template-columns:1fr;
		gap:12px;
	}

	.hanlob-address-card-custom{
		grid-template-columns:42px minmax(0,1fr);
		min-height:0;
		padding:15px;
	}

	.hanlob-address-card-custom__icon{
		width:42px;
		height:42px;
	}

	.hanlob-address-card-custom__content h3{
		font-size:17px!important;
	}

	.hanlob-address-card-custom__address{
		font-size:14px;
		line-height:1.55;
	}

	.hanlob-order-products-card .woocommerce-table--order-details tbody tr{
		margin-bottom:10px!important;
		padding:13px!important;
		border:1px solid #DCE7EF!important;
		border-radius:11px!important;
		background:#fff!important;
	}

	.hanlob-order-products-card .woocommerce-table--order-details tbody td{
		font-size:12px!important;
	}
}


/* =========================================================
   HANLOB CUSTOMER PORTAL PRO v4.3
   Integración visual con Quiero mi Factura V4
   ========================================================= */

.hanlob-qmf-heading{
	display:flex;
	align-items:center;
	gap:12px;
	margin-bottom:16px;
	padding:16px;
	border:1px solid #CFE3ED;
	border-radius:14px;
	background:linear-gradient(180deg,#F7FCFE,#EEF9FD);
}

.hanlob-qmf-heading>span{
	display:flex;
	align-items:center;
	justify-content:center;
	width:44px;
	height:44px;
	flex:0 0 44px;
	border-radius:12px;
	background:#FFFFFF;
	font-size:20px;
	box-shadow:0 6px 16px rgba(20,33,61,.05);
}

.hanlob-qmf-heading h2{
	margin:0!important;
	color:var(--hanlob-account-dark)!important;
	font-size:20px!important;
	font-weight:900!important;
	line-height:1.2!important;
}

.hanlob-qmf-heading p{
	margin:4px 0 0!important;
	color:var(--hanlob-account-muted)!important;
	font-size:11px!important;
	line-height:1.45!important;
}

.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:14px 16px;
	margin:0!important;
	padding:18px!important;
	border:1px solid var(--hanlob-account-border)!important;
	border-radius:14px!important;
	background:#FFFFFF!important;
	box-shadow:0 10px 26px rgba(20,33,61,.045)!important;
}

.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm .form-row{
	width:100%!important;
	float:none!important;
	margin:0!important;
	padding:0!important;
}

.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm .form-row-wide,
.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm #qmf_facturar_ahora_field,
.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm .hanlob-qmf-submit{
	grid-column:1/-1;
}

.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm label{
	display:block!important;
	margin:0 0 7px!important;
	color:var(--hanlob-account-dark)!important;
	font-size:12px!important;
	font-weight:900!important;
	line-height:1.35!important;
}

.hanlob-qmf-required{
	color:#D7263D;
}

.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm input[type="text"],
.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm select{
	width:100%!important;
	min-height:48px!important;
	margin:0!important;
	padding:11px 13px!important;
	border:1px solid #CDD9E2!important;
	border-radius:10px!important;
	background:#FFFFFF!important;
	color:var(--hanlob-account-dark)!important;
	font-size:13px!important;
	line-height:1.3!important;
	box-shadow:none!important;
	box-sizing:border-box!important;
	transition:border-color .18s ease,box-shadow .18s ease;
}

.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm input[type="text"]:focus,
.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm select:focus{
	border-color:var(--hanlob-account-primary)!important;
	box-shadow:0 0 0 3px rgba(45,147,200,.12)!important;
	outline:none!important;
}

.hanlob-qmf-select-wrap{
	position:relative;
}

.hanlob-qmf-select-wrap::after{
	content:"⌄";
	position:absolute;
	top:50%;
	right:14px;
	transform:translateY(-50%);
	color:var(--hanlob-account-primary);
	font-size:14px;
	font-weight:900;
	pointer-events:none;
}

.hanlob-qmf-select-wrap select{
	padding-right:38px!important;
	appearance:none!important;
	-webkit-appearance:none!important;
}

.hanlob-qmf-toggle{
	padding:14px!important;
	border:1px solid #D7E6EE!important;
	border-radius:11px!important;
	background:#F7FBFD!important;
}

.hanlob-qmf-toggle .woocommerce-input-wrapper{
	display:block!important;
}

.hanlob-qmf-toggle label.checkbox{
	display:flex!important;
	align-items:flex-start!important;
	gap:10px!important;
	margin:0!important;
	cursor:pointer;
}

.hanlob-qmf-toggle input[type="checkbox"]{
	width:20px!important;
	height:20px!important;
	flex:0 0 20px!important;
	margin:1px 0 0!important;
	accent-color:var(--hanlob-account-primary);
}

.hanlob-qmf-submit{
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	width:100%!important;
	min-height:48px!important;
	margin:4px 0 0!important;
	padding:12px 16px!important;
	border:0!important;
	border-radius:10px!important;
	background:var(--hanlob-account-primary)!important;
	color:#FFFFFF!important;
	font-size:13px!important;
	font-weight:900!important;
	box-shadow:0 10px 22px rgba(45,147,200,.18)!important;
	cursor:pointer!important;
	transition:transform .18s ease,box-shadow .18s ease!important;
}

.hanlob-qmf-submit:hover{
	transform:translateY(-1px);
	box-shadow:0 13px 26px rgba(45,147,200,.24)!important;
}

.hanlob-account-pro .woocommerce-message,
.hanlob-account-pro .woocommerce-error{
	margin-bottom:14px!important;
	padding:14px 16px!important;
	border-radius:11px!important;
	font-size:12px!important;
	line-height:1.45!important;
}

.hanlob-account-pro .woocommerce-message{
	border:1px solid #BFE8CF!important;
	background:#F2FBF5!important;
	color:#176B3A!important;
}

.hanlob-account-pro .woocommerce-error{
	border:1px solid #F0C8CF!important;
	background:#FFF5F6!important;
	color:#A61B34!important;
}

@media(max-width:767px){
	.hanlob-qmf-heading{
		padding:14px;
		border-radius:12px;
		align-items:flex-start;
	}

	.hanlob-qmf-heading h2{
		font-size:19px!important;
	}

	.hanlob-qmf-heading p{
		font-size:12px!important;
	}

	.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm{
		grid-template-columns:1fr;
		gap:14px;
		padding:15px!important;
		border-radius:12px!important;
	}

	.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm .form-row,
	.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm .form-row-wide,
	.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm #qmf_facturar_ahora_field,
	.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm .hanlob-qmf-submit{
		grid-column:1!important;
	}

	.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm label{
		font-size:14px!important;
	}

	.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm input[type="text"],
	.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm select{
		min-height:52px!important;
		font-size:16px!important;
	}

	.hanlob-qmf-toggle label.checkbox{
		font-size:14px!important;
		line-height:1.45!important;
	}

	.hanlob-qmf-submit{
		min-height:52px!important;
		font-size:16px!important;
	}
}


/* =========================================================
   HANLOB CUSTOMER PORTAL PRO v4.4
   Última actualización de la sección de facturación
   ========================================================= */

.hanlob-qmf-heading{
	gap:14px!important;
	background:linear-gradient(180deg,#F9FDFE 0%,#EEF8FC 100%)!important;
}

.hanlob-qmf-heading>span{
	width:48px!important;
	height:48px!important;
	flex-basis:48px!important;
	font-size:22px!important;
}

.hanlob-qmf-toggle{
	background:#FAFCFD!important;
}

.hanlob-qmf-toggle label.checkbox{
	align-items:center!important;
	font-weight:700!important;
	line-height:1.4!important;
}

.hanlob-qmf-toggle input[type="checkbox"]{
	margin-top:0!important;
}

.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm input[type="text"],
.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm select{
	border-color:#D9E5EC!important;
}

.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm input[type="text"]::placeholder{
	color:#9AA7B3!important;
	opacity:1!important;
}

.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm input[type="text"]:focus,
.hanlob-account-pro form.woocommerce-EditDatosFacturacionForm select:focus{
	border-color:var(--hanlob-account-primary)!important;
	box-shadow:0 0 0 4px rgba(45,147,200,.14)!important;
}

.hanlob-qmf-select-wrap::after{
	content:"⌄"!important;
	right:15px!important;
	color:var(--hanlob-account-primary)!important;
	font-size:17px!important;
	line-height:1!important;
}

.hanlob-qmf-submit{
	transition:background-color .2s ease,transform .2s ease,box-shadow .2s ease!important;
}

.hanlob-qmf-submit:hover{
	background:#247FAE!important;
	transform:translateY(-1px)!important;
}

.hanlob-qmf-success{
	display:flex!important;
	align-items:flex-start!important;
	gap:10px!important;
	padding:15px 16px!important;
	border:1px solid #B7E3C5!important;
	border-radius:11px!important;
	background:#F1FBF4!important;
	color:#176B3A!important;
	font-weight:800!important;
}

.hanlob-qmf-success__icon{
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	width:24px!important;
	height:24px!important;
	flex:0 0 24px!important;
	border-radius:50%!important;
	background:#2EA85B!important;
	color:#fff!important;
	font-size:14px!important;
	font-weight:900!important;
}

@media(max-width:767px){
	.hanlob-qmf-heading{
		gap:12px!important;
	}

	.hanlob-qmf-toggle label.checkbox{
		font-size:14px!important;
		font-weight:700!important;
	}

	.hanlob-qmf-select-wrap::after{
		right:14px!important;
		font-size:16px!important;
	}
}
