
/* ERAMU GO 0.1.1 — estilos aislados del tema */

.woocommerce-MyAccount-content .eramu-card,
body .eramu-card {
	--eramu-bg: #ffffff;
	--eramu-text: #171717;
	--eramu-muted: #5c5c5c;
	--eramu-soft: #f1eadb;
	--eramu-border: #ded8cd;
	box-sizing: border-box;
	max-width: 720px;
	padding: 32px;
	border: 1px solid var(--eramu-border);
	border-radius: 24px;
	background: var(--eramu-bg) !important;
	box-shadow: 0 16px 38px rgba(0,0,0,.14);
	color: var(--eramu-text) !important;
	text-align: center;
}

.woocommerce-MyAccount-content .eramu-card *,
body .eramu-card * {
	box-sizing: border-box;
	color: inherit;
	text-shadow: none;
}

.woocommerce-MyAccount-content .eramu-card h1,
.woocommerce-MyAccount-content .eramu-card h2,
.woocommerce-MyAccount-content .eramu-card h3,
.woocommerce-MyAccount-content .eramu-card p,
.woocommerce-MyAccount-content .eramu-card span,
.woocommerce-MyAccount-content .eramu-card strong,
.woocommerce-MyAccount-content .eramu-card small,
.woocommerce-MyAccount-content .eramu-card div,
body .eramu-card h1,
body .eramu-card h2,
body .eramu-card h3,
body .eramu-card p,
body .eramu-card span,
body .eramu-card strong,
body .eramu-card small,
body .eramu-card div {
	color: var(--eramu-text) !important;
	opacity: 1;
}

.woocommerce-MyAccount-content .eramu-card h2,
body .eramu-card h2 {
	margin: 6px 0 8px;
	font-size: clamp(26px,5vw,38px);
	line-height: 1.15;
}

.woocommerce-MyAccount-content .eramu-card h3,
body .eramu-card h3 {
	margin-top: 28px;
	font-size: 20px;
}

.eramu-card__eyebrow {
	color: var(--eramu-muted) !important;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.eramu-code {
	color: var(--eramu-muted) !important;
	font-size: 14px;
}

.eramu-stamps {
	display: grid;
	grid-template-columns: repeat(3,72px);
	justify-content: center;
	gap: 14px;
	margin: 28px 0 12px;
}

.woocommerce-MyAccount-content .eramu-stamp,
body .eramu-stamp {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border: 2px dashed #777 !important;
	border-radius: 50%;
	background: transparent !important;
	color: #333 !important;
	font-weight: 800;
	opacity: .65;
}

.woocommerce-MyAccount-content .eramu-stamp.is-filled,
body .eramu-stamp.is-filled {
	border-style: solid !important;
	border-color: #4a443a !important;
	background: var(--eramu-soft) !important;
	color: #171717 !important;
	opacity: 1;
}

.eramu-progress {
	margin-bottom: 4px;
	font-size: 20px;
}

.eramu-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 24px 0;
}

.woocommerce-MyAccount-content .eramu-stats > div,
body .eramu-stats > div {
	padding: 18px;
	border: 1px solid var(--eramu-border);
	border-radius: 16px;
	background: #f8f6f1 !important;
	color: var(--eramu-text) !important;
}

.eramu-stats strong {
	display: block;
	font-size: 30px;
}

.eramu-stats span {
	display: block;
	margin-top: 3px;
	color: var(--eramu-muted) !important;
	font-size: 13px;
}

.eramu-reward-list {
	display: grid;
	gap: 8px;
	text-align: left;
}

.woocommerce-MyAccount-content .eramu-reward-list > div,
body .eramu-reward-list > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 4px;
	border-bottom: 1px solid var(--eramu-border);
	background: transparent !important;
	color: var(--eramu-text) !important;
}

.woocommerce-MyAccount-content .eramu-history,
body .eramu-history {
	box-sizing: border-box;
	max-width: 720px;
	margin-top: 28px;
	padding: 24px;
	border: 1px solid #ded8cd;
	border-radius: 20px;
	background: #ffffff !important;
	color: #171717 !important;
}

.woocommerce-MyAccount-content .eramu-history *,
body .eramu-history * {
	color: #171717 !important;
	text-shadow: none;
}

.eramu-history ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.eramu-history li {
	display: grid;
	gap: 3px;
	padding: 12px 0;
	border-bottom: 1px solid #ded8cd;
}

.eramu-history small {
	color: #666 !important;
}

.is-voided {
	text-decoration: line-through;
	opacity: .55;
}

/* Administración */
.eramu-admin{max-width:1180px}
.eramu-search{display:flex;gap:8px;margin:20px 0}
.eramu-search input{width:min(520px,70vw)}
.eramu-results{display:grid;max-width:700px;background:#fff;border:1px solid #ddd}
.eramu-results a{display:grid;padding:14px 18px;text-decoration:none;border-bottom:1px solid #eee}
.eramu-results span{color:#555}
.eramu-customer-admin{margin-top:24px}
.eramu-customer-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px;background:#fff;border:1px solid #ddd}
.eramu-admin-balances{display:flex;gap:12px;flex-wrap:wrap}
.eramu-admin-balances span{min-width:110px;padding:12px;background:#f4f4f4;text-align:center}
.eramu-admin-balances strong{display:block;font-size:24px}
.eramu-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0 26px}
.eramu-box{padding:18px;background:#fff;border:1px solid #ddd}
.eramu-box label,.eramu-settings label{display:grid;gap:6px;margin-bottom:14px;font-weight:600}
.eramu-box input[type=text],.eramu-box input[type=number],.eramu-settings input[type=text],.eramu-settings input[type=number]{width:100%}
.eramu-box form{margin-bottom:10px}
.eramu-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}
.eramu-table td{vertical-align:middle}
.eramu-settings{max-width:760px;padding:22px;background:#fff;border:1px solid #ddd}
.eramu-inline{display:grid;grid-template-columns:1fr 1fr;gap:14px}

@media(max-width:800px){
	.woocommerce-MyAccount-content .eramu-card,
	body .eramu-card{padding:22px 16px;border-radius:18px}
	.eramu-admin-grid{grid-template-columns:1fr}
	.eramu-customer-header{display:grid}
	.eramu-stamps{grid-template-columns:repeat(3,62px)}
	.woocommerce-MyAccount-content .eramu-stamp,
	body .eramu-stamp{width:62px;height:62px}
	.eramu-table{display:block;overflow-x:auto}
}

.woocommerce-MyAccount-content .eramu-pending,
body .eramu-pending {
	margin: 14px auto 4px;
	padding: 10px 14px;
	max-width: 430px;
	border: 1px solid #ded8cd;
	border-radius: 12px;
	background: #f8f6f1 !important;
	color: #4f4a42 !important;
	font-size: 14px;
}

.woocommerce-MyAccount-content .eramu-pending strong,
body .eramu-pending strong {
	color: #171717 !important;
}

/* Protección adicional contra colores heredados de temas oscuros */
.woocommerce-account .woocommerce-MyAccount-content .eramu-card,
.woocommerce-account .woocommerce-MyAccount-content .eramu-card * {
	-webkit-text-fill-color: currentColor;
}

/* ERAMU GO 0.2.0 — promociones configurables */
.eramu-promotion-grid{display:grid;gap:14px;margin-top:16px;text-align:left}
.eramu-promotion-card{display:grid;grid-template-columns:96px 1fr;gap:16px;padding:16px;border:1px solid var(--eramu-border,#ded8cd);border-radius:18px;background:#f8f6f1!important;color:#171717!important}
.eramu-promotion-card.is-expired{opacity:.86}
.eramu-promotion-image,.eramu-promotion-placeholder{width:96px;height:96px;border-radius:14px;object-fit:cover;background:#ece6da!important}
.eramu-promotion-placeholder{display:grid;place-items:center;font-size:34px;color:#4a443a!important}
.eramu-promotion-content{min-width:0}
.eramu-promotion-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.eramu-promotion-heading h4{margin:0 0 5px;font-size:18px}
.eramu-promotion-content p{margin:0 0 10px;color:#555!important}
.eramu-progress-bar{height:10px;overflow:hidden;border-radius:999px;background:#ddd6ca!important}
.eramu-progress-bar span{display:block;height:100%;border-radius:inherit;background:#6ea83b!important}
.eramu-promotion-meta{display:flex;justify-content:space-between;gap:12px;margin-top:7px;font-size:13px}
.eramu-promotion-meta span{color:#555!important;text-align:right}
.eramu-reward-available{margin-top:12px;padding:10px 12px;border-radius:12px;background:#e8f3df!important;color:#1f4b18!important}
.eramu-status,.eramu-admin-status{display:inline-block;padding:4px 8px;border-radius:999px;background:#ececec;color:#555;font-size:12px;font-weight:700;white-space:nowrap}
.eramu-admin-status.is-active{background:#e7f5df;color:#28651f}
.eramu-admin-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.eramu-promotion-checks{display:grid;gap:10px;margin:0 0 14px;padding:14px;border:1px solid #ddd}
.eramu-promotion-checks legend{font-weight:700;padding:0 6px}
.eramu-promotion-check-row{display:grid;grid-template-columns:1fr 120px;gap:10px;align-items:end;padding-bottom:10px;border-bottom:1px solid #eee}
.eramu-promotion-check-row:last-child{padding-bottom:0;border-bottom:0}
.eramu-promotion-check-row label{margin:0}
.eramu-admin-promotions{display:grid;gap:12px;margin-bottom:22px}
.eramu-admin-promotion-card{display:grid;grid-template-columns:minmax(180px,1fr) minmax(320px,2fr) auto;gap:14px;align-items:center;padding:16px;background:#fff;border:1px solid #ddd}
.eramu-admin-promotion-card>div span{display:block;margin-top:4px;color:#555}
.eramu-admin-promotion-card form{display:flex;gap:8px;align-items:center;margin:0}
.eramu-admin-promotion-card input[type=number]{width:88px}
.eramu-admin-promotion-card input[type=text]{min-width:180px}
.eramu-points-redeem{margin:0 0 24px}
.eramu-redeem-actions{display:flex;gap:8px;flex-wrap:wrap}
.eramu-redeem-actions form{margin:0}
.eramu-promotion-admin-layout{display:grid;grid-template-columns:minmax(320px,440px) minmax(0,1fr);gap:22px;align-items:start}
.eramu-settings textarea,.eramu-settings select{width:100%}
.eramu-image-field{margin-bottom:14px}
.eramu-image-field>label{font-weight:600}
#eramu-promotion-image-preview{min-height:20px;margin:8px 0}
#eramu-promotion-image-preview img{display:block;max-width:140px;height:auto;border-radius:12px}
.eramu-inline-form{display:inline}
.eramu-date-wrap{display:block;width:100%;padding:5px 8px;border:1px solid #8c8f94;border-radius:4px;background:#fff}
.eramu-date-wrap input{display:block;width:100%;min-width:0;padding:0;border:0;background:transparent;box-shadow:none}

@media(max-width:1000px){
 .eramu-promotion-admin-layout{grid-template-columns:1fr}
 .eramu-admin-promotion-card{grid-template-columns:1fr}
 .eramu-admin-promotion-card form{flex-wrap:wrap}
}
@media(max-width:800px){
 .eramu-admin-grid--two{grid-template-columns:1fr}
 .eramu-promotion-card{grid-template-columns:72px 1fr}
 .eramu-promotion-image,.eramu-promotion-placeholder{width:72px;height:72px}
 .eramu-promotion-meta{display:grid}
 .eramu-promotion-meta span{text-align:left}
 .eramu-promotion-check-row{grid-template-columns:1fr}
}

/* ERAMU GO 0.2.1 — diseño negro, blanco y verde */
.woocommerce-account .woocommerce-MyAccount-content .eramu-card,
.woocommerce-MyAccount-content .eramu-card,
body .eramu-card {
  --eramu-green:#57ff19;--eramu-green-border:rgba(87,255,25,.48);--eramu-white:#fff;--eramu-muted:#cfcfcf;
  position:relative;overflow:hidden;max-width:760px;padding:42px 38px;border:1px solid var(--eramu-green-border)!important;border-radius:28px;
  background:radial-gradient(circle at 50% 0%,rgba(87,255,25,.055),transparent 34%),linear-gradient(145deg,#080808,#020202)!important;
  box-shadow:0 20px 55px rgba(0,0,0,.42),0 0 0 1px rgba(87,255,25,.04) inset;color:#fff!important;
}
.woocommerce-account .woocommerce-MyAccount-content .eramu-card *,.woocommerce-MyAccount-content .eramu-card *,body .eramu-card *{color:#fff!important;-webkit-text-fill-color:currentColor;text-shadow:none!important}
.woocommerce-account .woocommerce-MyAccount-content .eramu-card h2,.woocommerce-MyAccount-content .eramu-card h2,body .eramu-card h2{font-size:clamp(32px,5vw,48px);font-weight:800;letter-spacing:-.035em}
.woocommerce-account .woocommerce-MyAccount-content .eramu-card__eyebrow,.woocommerce-MyAccount-content .eramu-card__eyebrow,body .eramu-card__eyebrow{color:var(--eramu-green)!important;font-size:15px;font-weight:900;letter-spacing:.22em}
.woocommerce-account .woocommerce-MyAccount-content .eramu-code,.woocommerce-MyAccount-content .eramu-code,body .eramu-code{color:var(--eramu-muted)!important}.woocommerce-account .woocommerce-MyAccount-content .eramu-code strong,.woocommerce-MyAccount-content .eramu-code strong,body .eramu-code strong{color:var(--eramu-green)!important}
.woocommerce-account .woocommerce-MyAccount-content .eramu-pending,.woocommerce-MyAccount-content .eramu-pending,body .eramu-pending{margin:20px auto 10px;padding:15px 20px;max-width:540px;border:1px solid var(--eramu-green-border)!important;border-radius:16px;background:rgba(0,0,0,.72)!important;color:#fff!important}.woocommerce-account .woocommerce-MyAccount-content .eramu-pending strong,.woocommerce-MyAccount-content .eramu-pending strong,body .eramu-pending strong{color:var(--eramu-green)!important}
.woocommerce-account .woocommerce-MyAccount-content .eramu-stats>div,.woocommerce-MyAccount-content .eramu-stats>div,body .eramu-stats>div{padding:28px 18px;border:1px solid var(--eramu-green-border)!important;border-radius:20px;background:#0b0b0b!important}.woocommerce-account .woocommerce-MyAccount-content .eramu-stats strong,.woocommerce-MyAccount-content .eramu-stats strong,body .eramu-stats strong{font-size:38px;color:#fff!important}
.woocommerce-account .woocommerce-MyAccount-content .eramu-promotion-card,.woocommerce-MyAccount-content .eramu-promotion-card,body .eramu-card .eramu-promotion-card{border-color:var(--eramu-green-border)!important;background:#0b0b0b!important;color:#fff!important}.woocommerce-account .woocommerce-MyAccount-content .eramu-promotion-content p,.woocommerce-MyAccount-content .eramu-promotion-content p,body .eramu-card .eramu-promotion-content p{color:var(--eramu-muted)!important}.woocommerce-account .woocommerce-MyAccount-content .eramu-progress-bar,.woocommerce-MyAccount-content .eramu-progress-bar,body .eramu-card .eramu-progress-bar{background:#252525!important}.woocommerce-account .woocommerce-MyAccount-content .eramu-progress-bar span,.woocommerce-MyAccount-content .eramu-progress-bar span,body .eramu-card .eramu-progress-bar span{background:var(--eramu-green)!important}.woocommerce-account .woocommerce-MyAccount-content .eramu-promotion-meta strong,.woocommerce-MyAccount-content .eramu-promotion-meta strong,body .eramu-card .eramu-promotion-meta strong{color:var(--eramu-green)!important}.woocommerce-account .woocommerce-MyAccount-content .eramu-promotion-meta span,.woocommerce-MyAccount-content .eramu-promotion-meta span,body .eramu-card .eramu-promotion-meta span{color:var(--eramu-muted)!important}.woocommerce-account .woocommerce-MyAccount-content .eramu-reward-available,.woocommerce-MyAccount-content .eramu-reward-available,body .eramu-card .eramu-reward-available{border:1px solid var(--eramu-green-border);background:rgba(87,255,25,.08)!important;color:#fff!important}
.woocommerce-account .woocommerce-MyAccount-content .eramu-reward-list>div,.woocommerce-MyAccount-content .eramu-reward-list>div,body .eramu-reward-list>div{border-bottom:1px solid rgba(87,255,25,.23)!important;background:transparent!important}.woocommerce-account .woocommerce-MyAccount-content .eramu-reward-list strong,.woocommerce-MyAccount-content .eramu-reward-list strong,body .eramu-reward-list strong{color:var(--eramu-green)!important}
.woocommerce-account .woocommerce-MyAccount-content .eramu-history,.woocommerce-MyAccount-content .eramu-history,body .eramu-history{max-width:760px;padding:28px;border:1px solid var(--eramu-green-border,#57ff19)!important;border-radius:24px;background:linear-gradient(145deg,#080808,#020202)!important;color:#fff!important}.woocommerce-account .woocommerce-MyAccount-content .eramu-history *,.woocommerce-MyAccount-content .eramu-history *,body .eramu-history *{color:#fff!important;-webkit-text-fill-color:currentColor}.woocommerce-account .woocommerce-MyAccount-content .eramu-history h3,.woocommerce-MyAccount-content .eramu-history h3,body .eramu-history h3{color:#57ff19!important}.woocommerce-account .woocommerce-MyAccount-content .eramu-history li,.woocommerce-MyAccount-content .eramu-history li,body .eramu-history li{border-bottom:1px solid rgba(87,255,25,.2)}
.woocommerce-MyAccount-navigation-link--eramu-go a{padding:12px 16px!important;border-radius:10px;color:#57ff19!important}.woocommerce-MyAccount-navigation-link--eramu-go.is-active a{background:rgba(87,255,25,.1)!important;font-weight:700}
.eramu-qr-section{margin:28px auto;text-align:center}.eramu-qr{display:inline-block;padding:12px;background:#fff;border-radius:12px;line-height:0}.eramu-qr img,.eramu-qr canvas{display:block;max-width:100%;height:auto}.eramu-staff-portal{min-height:70vh;padding:32px 18px}.eramu-staff-portal__inner{width:min(1180px,100%);margin:0 auto}.eramu-staff-portal .eramu-customer-admin{margin-top:24px}
@media(max-width:800px){.woocommerce-account .woocommerce-MyAccount-content .eramu-card,.woocommerce-MyAccount-content .eramu-card,body .eramu-card{padding:28px 18px;border-radius:22px}.woocommerce-account .woocommerce-MyAccount-content .eramu-stats,.woocommerce-MyAccount-content .eramu-stats,body .eramu-stats{grid-template-columns:1fr}}

/* ERAMU GO 0.3.0 */
.woocommerce-MyAccount-navigation-link--eramu-go a{font:inherit!important;padding:inherit!important;border:inherit!important;border-radius:inherit!important;background:inherit!important;color:inherit!important;box-shadow:none!important}
.eramu-qr{position:relative;display:inline-block;line-height:0;padding:10px;background:#fff;border-radius:18px}
.eramu-qr img:not(.eramu-qr-logo),.eramu-qr canvas{display:block!important}
.eramu-qr-logo{position:absolute;left:50%;top:50%;width:58px!important;height:58px!important;transform:translate(-50%,-50%);object-fit:contain;border-radius:50%;background:#000;padding:7px;box-shadow:0 0 0 5px #fff}
.eramu-load-more,.eramu-favorites-form button{width:100%;margin-top:14px;padding:11px 16px;border:1px solid #70c72d;border-radius:999px;background:#70c72d;color:#101010;font-weight:700;cursor:pointer}
.eramu-load-more:disabled{opacity:.65;cursor:wait}
.eramu-legend{max-width:720px;margin:18px 0 28px;padding:24px;border:1px solid #2d2d2d;border-radius:20px;background:#080808;color:#fff}
.eramu-legend h3,.eramu-legend strong,.eramu-legend span,.eramu-legend p,.eramu-legend label{color:#fff!important}
.eramu-legend-title{padding-bottom:16px;border-bottom:1px solid #292929}.eramu-legend-title>span{color:#70c72d!important;text-transform:uppercase;letter-spacing:.12em;font-weight:800}.eramu-legend-title h3{margin:6px 0 0!important}
.eramu-badge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.eramu-badge-card{display:grid;gap:8px;padding:12px;border:1px solid #292929;border-radius:16px;background:#111;text-align:center}.eramu-badge-card img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}.eramu-badge-card span{color:#70c72d!important;font-size:13px;font-weight:700}
.eramu-favorites-list{display:grid;gap:8px}.eramu-favorites-list label{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:8px}.eramu-favorites-list label>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#70c72d;color:#111!important;font-weight:800}.eramu-favorites-list input{width:100%;padding:10px 12px;border:1px solid #333;border-radius:10px;background:#151515;color:#fff}
.eramu-badge-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.eramu-badge-admin-grid label{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid #ddd}.eramu-badge-admin-grid label>span{display:flex;align-items:center;gap:10px}.eramu-badge-admin-grid img{width:48px;height:48px;object-fit:cover}
@media(max-width:700px){.eramu-badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eramu-badge-admin-grid{grid-template-columns:1fr}}

/* ERAMU GO 0.3.1 — QR cuadrado */
.eramu-qr-section .eramu-qr{
  position:relative;
  display:inline-grid;
  place-items:center;
  width:256px;
  height:256px;
  box-sizing:border-box;
  padding:12px;
  overflow:hidden;
  line-height:0;
  background:#fff;
  border:2px solid #70c72d;
  border-radius:0;
  box-shadow:none;
}
.eramu-qr-section .eramu-qr img:not(.eramu-qr-logo),
.eramu-qr-section .eramu-qr canvas,
.eramu-qr-section .eramu-qr svg{
  display:block!important;
  width:232px!important;
  height:232px!important;
  max-width:none!important;
}
.eramu-qr-section .eramu-qr-logo{
  position:absolute;
  left:50%;
  top:50%;
  width:58px!important;
  height:58px!important;
  box-sizing:border-box;
  transform:translate(-50%,-50%);
  object-fit:contain;
  padding:5px;
  background:#000;
  border:4px solid #fff;
  border-radius:0;
  box-shadow:none;
}
@media(max-width:380px){
  .eramu-qr-section .eramu-qr{width:232px;height:232px;padding:11px}
  .eramu-qr-section .eramu-qr img:not(.eramu-qr-logo),
  .eramu-qr-section .eramu-qr canvas,
  .eramu-qr-section .eramu-qr svg{width:210px!important;height:210px!important}
  .eramu-qr-section .eramu-qr-logo{width:52px!important;height:52px!important}
}

/* ERAMU GO 0.4 */
.eramu-player-data { margin: 18px 0; }
.eramu-player-section { margin-top: 28px; }
.eramu-player-class-admin select,
.eramu-bulk-form select { width: 100%; max-width: 420px; }
.eramu-class-settings { display:grid; grid-template-columns:repeat(5,minmax(130px,1fr)); gap:12px; margin-bottom:24px; }
.eramu-class-settings label { display:flex; flex-direction:column; gap:6px; font-weight:600; }
.eramu-permission-grid { display:grid; gap:10px; margin:14px 0 18px; }
.eramu-employee-list { display:grid; gap:16px; }
.eramu-employee-list .eramu-box form + form { margin-top:12px; }
.eramu-customer-check-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0; }
.eramu-check-card { display:flex; gap:10px; align-items:flex-start; border:1px solid #dcdcde; border-radius:10px; padding:12px; background:#fff; }
.eramu-check-card span { display:flex; flex-direction:column; gap:3px; }
.eramu-check-card small { color:#646970; }
.eramu-bulk-actions { margin-top:16px; }
@media (max-width:900px){.eramu-class-settings{grid-template-columns:repeat(2,minmax(0,1fr));}.eramu-customer-check-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:560px){.eramu-class-settings,.eramu-customer-check-grid{grid-template-columns:1fr;}}

/* Panel frontal para empleados — 0.5.0 */
.eramu-staff-portal{min-height:70vh;padding:32px 18px;background:#f4f1ea;color:#171717}
.eramu-staff-portal *{box-sizing:border-box}
.eramu-staff-portal__inner{width:min(1180px,100%);margin:0 auto}
.eramu-panel-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px;padding:20px 24px;border:1px solid #ded8cd;border-radius:18px;background:#fff}
.eramu-panel-header h1{margin:2px 0 0;font-size:32px;color:#171717}
.eramu-panel-kicker{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#666}
.eramu-panel-user{font-size:14px;text-align:right}
.eramu-panel-nav{display:flex;gap:10px;margin-bottom:20px}
.eramu-panel-nav a,.eramu-back-link{display:inline-flex;padding:10px 14px;border-radius:10px;background:#171717;color:#fff!important;text-decoration:none}
.eramu-panel-search-card{padding:28px;border:1px solid #ded8cd;border-radius:18px;background:#fff}
.eramu-panel-search-card h2,.eramu-panel-results h2{margin-top:0}
.eramu-panel-search{display:flex;gap:10px;margin-top:20px}
.eramu-panel-search input{flex:1;min-width:0;padding:13px 14px;border:1px solid #bdb7ad;border-radius:10px;font-size:16px}
.eramu-panel-search button{padding:13px 20px;border:0;border-radius:10px;background:#171717;color:#fff;font-weight:700;cursor:pointer}
.eramu-panel-results{display:grid;margin-top:18px;border:1px solid #ded8cd;border-radius:16px;background:#fff;overflow:hidden}
.eramu-panel-results h2,.eramu-panel-results>p{padding:0 20px}
.eramu-panel-results h2{padding-top:20px}
.eramu-panel-results a{display:grid;gap:3px;padding:15px 20px;border-top:1px solid #eee;color:#171717;text-decoration:none}
.eramu-panel-results a:hover{background:#f8f6f1}
.eramu-panel-results span{font-size:14px;color:#626262}
.eramu-staff-portal .eramu-customer-admin{margin-top:18px}
.eramu-staff-portal .eramu-customer-header,.eramu-staff-portal .eramu-box,.eramu-staff-portal .eramu-admin-promotion-card{border-radius:14px}
.eramu-staff-portal input,.eramu-staff-portal select{padding:9px;border:1px solid #bbb;border-radius:8px}
.eramu-staff-portal button.button{padding:10px 14px;border:0;border-radius:8px;background:#171717;color:#fff;cursor:pointer}
@media(max-width:700px){.eramu-panel-header{display:grid}.eramu-panel-user{text-align:left}.eramu-panel-search{display:grid}.eramu-staff-portal{padding:18px 10px}.eramu-panel-search-card{padding:20px}.eramu-admin-grid{grid-template-columns:1fr}}

/* ERAMU GO 0.5.2: insignias simultáneas */
.eramu-badge-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	margin-top: 8px;
}
.eramu-badge-options .eramu-check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}
.eramu-bulk-form fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}
.eramu-bulk-form fieldset legend {
	font-weight: 600;
	margin-bottom: 6px;
}
.eramu-bulk-form fieldset .eramu-check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 16px;
}


/* ERAMU GO 0.7.0 — rediseño funcional */
.eramu-go-title{margin:0 0 18px!important;font-size:clamp(26px,4vw,38px)!important;line-height:1.1;font-weight:900;letter-spacing:-.03em;color:inherit!important}
.eramu-qr-section .eramu-qr{width:304px!important;height:304px!important;padding:12px!important}
.eramu-qr-section .eramu-qr img,.eramu-qr-section .eramu-qr canvas{width:280px!important;height:280px!important}
.eramu-qr-logo{display:none!important}
.eramu-player-data .eramu-legend-title h3{padding:12px 18px;border-radius:999px;background:#161616;border:1px solid #70c72d;color:#fff!important}
.eramu-badge-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.eramu-badge-card{border:2px solid #70c72d!important;border-radius:18px!important;background:#101510!important;box-shadow:0 8px 24px rgba(0,0,0,.18);padding:14px!important;text-align:left!important}
.eramu-badge-card strong{font-size:18px;line-height:1.25;color:#fff!important}
.eramu-badge-levels{display:grid;gap:5px}.eramu-badge-levels span{color:#fff!important;font-size:14px!important}
.eramu-is-extra{display:none!important}.is-expanded .eramu-is-extra{display:grid!important}
.eramu-toggle-more{display:inline-flex;justify-content:center;align-items:center;margin-top:14px;padding:10px 18px;border:1px solid #70c72d;border-radius:999px;background:transparent;color:#70c72d;font-weight:800;cursor:pointer}
.eramu-favorites-form .eramu-toggle-more{width:100%;margin-bottom:8px}
.eramu-promotion-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.eramu-promotion-card.eramu-stamp-card{display:block!important;min-height:250px;padding:24px!important;border:2px solid #70c72d!important;border-radius:22px!important;background:#0d0f0d!important}
.eramu-stamp-card .eramu-promotion-heading h4{font-size:25px!important;line-height:1.15;color:#fff!important;text-transform:uppercase}
.eramu-promotion-name{margin:4px 0 18px;color:#aaa;font-weight:700}
.eramu-stamps{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0;font-size:30px;line-height:1}
.eramu-stamp-count{margin-bottom:14px;font-size:16px;color:#ddd}.eramu-stamp-count strong{font-size:24px;color:#70c72d!important}
.eramu-stamp-card .eramu-promotion-content p{font-size:13px!important;color:#888!important}
@media(max-width:760px){.eramu-badge-grid,.eramu-promotion-grid{grid-template-columns:1fr}.eramu-qr-section .eramu-qr{width:264px!important;height:264px!important}.eramu-qr-section .eramu-qr img,.eramu-qr-section .eramu-qr canvas{width:240px!important;height:240px!important}}

/* ERAMU GO 0.7.1: sellos con imagen personalizada */
.eramu-stamp-image-preview{min-height:24px;margin:8px 0 12px}
.eramu-stamp-image-preview img{display:block;width:96px;height:96px;object-fit:contain;border-radius:16px;background:#fff;padding:8px;border:1px solid #dcdcde}
.eramu-stamp-mark{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;line-height:1}
.eramu-stamp-mark img{display:block;width:44px;height:44px;object-fit:contain;border-radius:50%}
.eramu-stamp-mark.is-empty{font-size:34px}
.eramu-reward-stamp-image{width:40px;height:40px;object-fit:contain;vertical-align:middle;border-radius:50%;margin-right:8px}
.eramu-stamp-card .eramu-promotion-heading h4{display:flex;align-items:center;gap:6px}
@media (max-width:600px){.eramu-stamp-mark{width:42px;height:42px}.eramu-stamp-mark img{width:38px;height:38px}.eramu-reward-stamp-image{width:34px;height:34px}}

/* ERAMU GO 0.7.3 — avatar del cliente, título nativo y QR adaptable */
.woocommerce-account .woocommerce-MyAccount-content .eramu-go-title,
.woocommerce-MyAccount-content .eramu-go-title,
body .eramu-card .eramu-go-title{
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  font-family:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
  text-transform:none!important;
  margin:0 0 1em!important;
}
.eramu-profile-header{display:flex;align-items:center;gap:20px;margin:0 0 24px}
.eramu-avatar-wrap{flex:0 0 auto;text-align:center}
.eramu-avatar{display:block;width:112px;height:112px;object-fit:cover;border-radius:50%;border:2px solid currentColor;background:#fff}
.eramu-avatar-form{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;margin-top:9px}
.eramu-avatar-form .button{margin:0!important;font:inherit!important;font-size:12px!important;line-height:1.2!important;padding:7px 11px!important;cursor:pointer}
.eramu-profile-copy{min-width:0}.eramu-profile-copy h2{margin:0 0 7px!important}.eramu-profile-copy .eramu-code{margin:0!important}

.eramu-qr-section{max-width:100%;overflow:visible!important}
.eramu-qr-section .eramu-qr{
  display:grid!important;
  place-items:center;
  width:min(304px,100%)!important;
  height:auto!important;
  aspect-ratio:1/1;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.eramu-qr-section .eramu-qr img:not(.eramu-qr-logo),
.eramu-qr-section .eramu-qr canvas,
.eramu-qr-section .eramu-qr svg{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  aspect-ratio:1/1;
  object-fit:contain;
}
@media(max-width:520px){
  .eramu-profile-header{align-items:flex-start;gap:14px}
  .eramu-avatar{width:88px;height:88px}
  .eramu-avatar-form{max-width:110px}
  .eramu-profile-copy h2{font-size:1.25em!important}
  .eramu-qr-section .eramu-qr{width:min(264px,100%)!important}
}


/* ERAMU GO 0.7.4 — avatar de juego, QR compacto y estadísticas de insignias */
.eramu-avatar{
  border-radius:50%!important;
  border:3px solid currentColor!important;
  box-shadow:0 0 0 4px rgba(255,255,255,.10),0 8px 20px rgba(0,0,0,.25);
}
.eramu-qr-section .eramu-qr{
  width:min(204px,100%)!important;
  max-width:204px!important;
  padding:10px!important;
  margin-inline:auto!important;
  overflow:hidden!important;
}
.eramu-qr-section .eramu-qr img:not(.eramu-qr-logo),
.eramu-qr-section .eramu-qr canvas,
.eramu-qr-section .eramu-qr svg{
  width:184px!important;
  height:184px!important;
  max-width:100%!important;
}
.eramu-stats strong{display:flex;align-items:center;justify-content:center;gap:8px}
.eramu-stat-icon{font-size:.72em;line-height:1;flex:0 0 auto}
@media(max-width:520px){
  .eramu-qr-section .eramu-qr{width:min(184px,100%)!important;max-width:184px!important;padding:8px!important}
  .eramu-qr-section .eramu-qr img:not(.eramu-qr-logo),
  .eramu-qr-section .eramu-qr canvas,
  .eramu-qr-section .eramu-qr svg{width:168px!important;height:168px!important}
}


/* ERAMU GO 0.7.5 — corrección visible de iconos y QR */
.eramu-qr-section{
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
}
.eramu-qr-section .eramu-qr{
  display:grid!important;
  place-items:center!important;
  width:170px!important;
  height:170px!important;
  max-width:170px!important;
  min-width:0!important;
  padding:10px!important;
  margin:0 auto!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.eramu-qr-section .eramu-qr img:not(.eramu-qr-logo),
.eramu-qr-section .eramu-qr canvas,
.eramu-qr-section .eramu-qr svg{
  display:block!important;
  width:150px!important;
  height:150px!important;
  max-width:150px!important;
  max-height:150px!important;
  min-width:0!important;
  margin:0!important;
  object-fit:contain!important;
}
.eramu-stats .eramu-stat-card{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  min-height:126px;
}
.eramu-stats .eramu-stat-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 52px!important;
  width:52px!important;
  height:52px!important;
  margin:0!important;
  border-radius:50%!important;
  background:#f3ead8!important;
  color:#f2a900!important;
  -webkit-text-fill-color:#f2a900!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:34px!important;
  font-weight:900!important;
  line-height:1!important;
  opacity:1!important;
  overflow:visible!important;
}
.eramu-stats .eramu-stat-icon--badge{
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important;
  font-size:29px!important;
  color:initial!important;
  -webkit-text-fill-color:initial!important;
}
.eramu-stats .eramu-stat-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  margin:0!important;
}
.eramu-stats .eramu-stat-copy strong{
  display:block!important;
  margin:0!important;
  font-size:30px!important;
  line-height:1!important;
}
.eramu-stats .eramu-stat-copy > span{
  display:block!important;
  margin-top:7px!important;
  white-space:nowrap;
}
@media(max-width:520px){
  .eramu-qr-section .eramu-qr{width:150px!important;height:150px!important;max-width:150px!important;padding:8px!important}
  .eramu-qr-section .eramu-qr img:not(.eramu-qr-logo),
  .eramu-qr-section .eramu-qr canvas,
  .eramu-qr-section .eramu-qr svg{width:134px!important;height:134px!important;max-width:134px!important;max-height:134px!important}
  .eramu-stats .eramu-stat-card{gap:10px!important;padding:14px 10px!important}
  .eramu-stats .eramu-stat-icon{flex-basis:44px!important;width:44px!important;height:44px!important;font-size:28px!important}
  .eramu-stats .eramu-stat-icon--badge{font-size:25px!important}
  .eramu-stats .eramu-stat-copy > span{white-space:normal;text-align:left}
}


/* ERAMU GO 0.7.6 — título verde, código oculto y prestigios manuales */
.woocommerce-account .woocommerce-MyAccount-content .eramu-go-title,
.woocommerce-MyAccount-content .eramu-go-title,
body .eramu-card .eramu-go-title{
  font-size:clamp(34px,5vw,52px)!important;
  line-height:1.05!important;
  font-weight:900!important;
  color:#70c72d!important;
  -webkit-text-fill-color:#70c72d!important;
  letter-spacing:-.035em!important;
}
.eramu-profile-copy .eramu-code{display:none!important}
.eramu-player-data .eramu-legend-title h3{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  width:auto!important;
  margin-top:10px!important;
  font-weight:900!important;
  box-shadow:0 6px 16px rgba(0,0,0,.20)!important;
}
.eramu-player-data.eramu-prestige-0 .eramu-legend-title h3{
  background:#b71c1c!important;border-color:#ef5350!important;color:#fff!important;
}
.eramu-player-data.eramu-prestige-1 .eramu-legend-title h3{
  background:#e65100!important;border-color:#ff9800!important;color:#fff!important;
}
.eramu-player-data.eramu-prestige-2 .eramu-legend-title h3{
  background:#f4c20d!important;border-color:#ffe082!important;color:#211b00!important;
}
.eramu-player-data.eramu-prestige-3 .eramu-legend-title h3{
  background:#8c5a2b!important;border-color:#cd9b62!important;color:#fff!important;
}
.eramu-player-data.eramu-prestige-4 .eramu-legend-title h3{
  background:#176b35!important;border:2px solid #d4af37!important;color:#fff!important;
  box-shadow:0 0 0 2px rgba(212,175,55,.20),0 6px 16px rgba(0,0,0,.22)!important;
}
.eramu-player-data.eramu-prestige-5 .eramu-legend-title h3{
  background:linear-gradient(135deg,#eceff1,#9ea7ad)!important;border-color:#f7f7f7!important;color:#202428!important;
}

/* ERAMU GO 0.7.7 — submenú interno y secciones */
.eramu-submenu{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:20px 0 26px;
  padding:8px;
  border:1px solid rgba(112,199,45,.34);
  border-radius:14px;
  background:rgba(255,255,255,.035);
}
.eramu-submenu a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:8px 14px;
  border-radius:10px;
  text-decoration:none!important;
  font-weight:800;
  line-height:1.1;
  color:inherit!important;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.eramu-submenu a:hover{background:rgba(112,199,45,.13);transform:translateY(-1px)}
.eramu-submenu a.is-active{background:#70c72d;color:#101010!important}
.eramu-section-page{margin-top:8px;padding:24px;border:1px solid rgba(112,199,45,.26);border-radius:14px;background:rgba(255,255,255,.035)}
.eramu-section-page h3{margin-top:0!important}
.eramu-coming-soon strong{display:inline-block;margin:8px 0 4px;color:#70c72d;font-size:1.2em}
.eramu-player-data .eramu-legend-title > span{display:block;margin-bottom:14px!important}
@media(max-width:640px){
  .eramu-submenu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .eramu-submenu a{width:100%;padding-inline:8px;font-size:14px}
}
