/**
 * My Account primary navigation: off-canvas &lt; 960px, inline block &gt;= 960px.
 * Open state: .checkoutflow-account-nav--open on .checkoutflow-account-navigation-wrap.
 */

 .woocommerce-account .entry-title{
	font-size: 25px !important;
	padding-right: 50px !important;
 }


.checkoutflow-account-navigation-wrap {
	position: relative;
}

.checkoutflow-account-nav-offcanvas {
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 99900;
	width: min(20rem, 88vw);
	max-height: 100vh;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 12px 40px rgba(0, 0, 0, 0.12);
	transform: translateX(-100%);
	transition: transform 0.28s ease;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.checkoutflow-account-navigation-wrap.checkoutflow-account-nav--open .checkoutflow-account-nav-offcanvas {
	transform: translateX(0);
}

.checkoutflow-account-nav-panel-inner {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.checkoutflow-account-nav-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	flex-shrink: 0;
}

.checkoutflow-account-nav-panel-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
}

.checkoutflow-account-navigation-wrap .woocommerce-MyAccount-navigation {
	margin: 0;
	padding: 0;
}

.checkoutflow-account-navigation-wrap .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0.35rem 0;
	list-style: none;
}

.checkoutflow-account-navigation-wrap .woocommerce-MyAccount-navigation li {
	margin: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.checkoutflow-account-navigation-wrap .woocommerce-MyAccount-navigation li:last-child {
	border-bottom: 0;
}

.checkoutflow-account-navigation-wrap .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.65rem 1rem;
	text-decoration: none;
	color: inherit;
}

.checkoutflow-account-navigation-wrap .woocommerce-MyAccount-navigation a:hover,
.checkoutflow-account-navigation-wrap .woocommerce-MyAccount-navigation a:focus {
	background: rgba(0, 0, 0, 0.04);
}

.checkoutflow-account-navigation-wrap .woocommerce-MyAccount-navigation li.is-active a {
	font-weight: 600;
	background: rgba(0, 0, 0, 0.06);
}

/* Desktop: inline nav, hide off-canvas chrome */

@media screen and (min-width: 960px) {
	.checkoutflow-account-nav-offcanvas {
		position: static;
		inset: auto;
		z-index: auto;
		width: 100%;
		max-width: none;
		max-height: none;
		transform: none !important;
		box-shadow: none;
		overflow: visible;
		background: #fff;
	}

	.checkoutflow-account-nav-panel-header {
		display: none;
	}

	.checkoutflow-account-nav-backdrop {
		display: none !important;
	}

	.checkoutflow-account-nav-open {
		display: none !important;
	}

	.checkoutflow-account-mobile-title-row {
		display: none !important;
	}

}

.woocommerce table.shop_table_responsive tr, 
.woocommerce-page table.shop_table_responsive tr{
	margin-bottom: 30px !important;
}

.woocommerce .woocommerce-order-details{
	border: none !important;
}
.woocommerce-account .woocommerce-Button,
.woocommerce .woocommerce-button{
	border-radius: 20px !important;
	font-size: 14px !important;
}

/**
 * Móvil / tablet &lt; 960px: botones del menú off-canvas, backdrop y fila título + hamburguesa.
 * Alineado con el breakpoint de my-account-nav.js y el panel escritorio arriba.
 */
@media screen and (max-width: 959px) {
	.checkoutflow-account-nav-close {
		display: inline-flex;
		align-items: center;
		gap: 0.35rem;
		cursor: pointer;
		font-size: 0.9rem;
		font-weight: 600;
		margin: 0;
		border: none;
		padding: 0.25rem 0;
		font-family: inherit;
		background: none !important;
		color: #000 !important;
		box-shadow: none !important;
	}

	.checkoutflow-account-nav-close-icon {
		font-size: 1.35rem;
		line-height: 1;
	}

	.checkoutflow-account-nav-backdrop {
		position: fixed;
		inset: 0;
		z-index: 99890;
		background: rgba(15, 23, 42, 0.45);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.28s ease;
		cursor: pointer;
		margin: 0;
		width: 100%;
		height: 100%;
		padding: 0;
		border: 0;
		appearance: none;
	}

	.checkoutflow-account-navigation-wrap.checkoutflow-account-nav--open .checkoutflow-account-nav-backdrop {
		opacity: 1;
		pointer-events: auto;
	}

	/* Hamburger + título (MyAccountNavigationOffcanvas::beforeAccountContentHeading) */
	.checkoutflow-account-mobile-title-row {
		display: flex;
		align-items: center;
		gap: 0.65rem;
		margin: 0 0 1rem;
	}

	.checkoutflow-account-mobile-title-row__title {
		font-size: 1.35rem;
		font-weight: 600;
		line-height: 1.2;
		margin: 0;
	}

	.checkoutflow-account-nav-open {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		box-sizing: border-box;
		width: 2.5rem;
		height: 2.5rem;
		aspect-ratio: 1 / 1;
		min-width: 2.5rem;
		min-height: 2.5rem;
		padding: 0;
		border-radius: 0.5rem;
		border: 1px solid rgba(0, 0, 0, 0.12);
		background: #fff;
		cursor: pointer;
		color: inherit;
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
		position: absolute;
		top: 25px;
		right: 10px;
	}

	.checkoutflow-account-nav-open-dots {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.22rem;
		line-height: 0;
	}

	.checkoutflow-account-nav-open-dot {
		display: block;
		width: 0.25rem;
		height: 0.25rem;
		border-radius: 50%;
		background-color: currentColor;
		flex-shrink: 0;
		opacity: 0.9;
	}

	#checkoutflow-account-nav-title{
		margin: 0 !important;
	}



	/* Below admin bar (WP default ~99999), solo con panel off-canvas */
	@media screen and (max-width: 782px) {
		.admin-bar .checkoutflow-account-nav-offcanvas {
			top: 46px;
			max-height: calc(100vh - 46px);
		}

		.admin-bar .checkoutflow-account-nav-backdrop {
			top: 46px;
		}
	}

	@media screen and (min-width: 783px) {
		.admin-bar .checkoutflow-account-nav-offcanvas {
			top: 32px;
			max-height: calc(100vh - 32px);
		}

		.admin-bar .checkoutflow-account-nav-backdrop {
			top: 32px;
		}
	}
}
