:root {
  --cx-coffee: #4b2e24;
  --cx-cream: #fff8ec;
  --cx-orange: #d97724;
  --cx-gold: #e9a23b;
  --cx-turquoise: #159a9c;
  --cx-muted: #765f54;
}

.cx-wrap { max-width: 900px; color: var(--cx-coffee); }
.cx-intro, .cx-form, .cx-history, .cx-reward { background: var(--cx-cream); border: 1px solid #eedbc3; border-radius: 18px; padding: 24px; box-shadow: 0 10px 30px rgba(75,46,36,.08); }
.cx-kicker { color: var(--cx-orange); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cx-form { margin-top: 18px; }
.cx-form label { display: block; font-weight: 700; margin-bottom: 7px; }
.cx-form input:not([type="checkbox"]) { box-sizing: border-box; width: 100%; border: 1px solid #dcc8b1; border-radius: 12px; padding: 12px 14px; }
.cx-check label { display: flex; gap: 8px; font-weight: 400; }
.cx-primary { border-radius: 999px !important; background: var(--cx-orange) !important; color: #fff !important; padding: 12px 22px !important; }
.cx-card { overflow: hidden; position: relative; isolation: isolate; color: #fff; background: radial-gradient(circle at 100% 0, rgba(224,97,36,.82) 0, transparent 35%), radial-gradient(circle at 0 100%, rgba(21,154,156,.58), transparent 38%), linear-gradient(135deg, #321b17, #6d3425); border: 2px solid #e9a23b; border-radius: 24px; padding: 28px; box-shadow: inset 0 0 0 2px rgba(21,154,156,.48), inset 0 0 70px rgba(0,0,0,.22), 0 18px 40px rgba(60,36,27,.28); }
.cx-card:before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .67; background: url("../wallet/alebrije-banner-v1.png") center bottom / 100% auto no-repeat; pointer-events: none; }
.cx-card:after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(42,20,17,.82) 0, rgba(49,23,18,.68) 42%, rgba(42,17,14,.18) 78%), linear-gradient(180deg, rgba(25,10,9,.22), rgba(25,10,9,.42)); pointer-events: none; }
.cx-card > * { position: relative; z-index: 1; }
.cx-card-head { display: flex; justify-content: space-between; gap: 20px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cx-card .cx-card-head, .cx-card .cx-card-head span, .cx-card .cx-card-head strong { color: #fff !important; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.cx-identity { display: flex; align-items: center; gap: 14px; margin: 27px 0 22px; }
.cx-emblem { display: grid; flex: 0 0 64px; place-items: center; width: 64px; height: 64px; background: linear-gradient(145deg,#e76d29,var(--cx-turquoise) 52%,#0b6467); border: 2px solid #f3bb50; border-radius: 50%; box-shadow: 0 0 0 3px rgba(21,154,156,.5), 0 8px 20px rgba(0,0,0,.34); }
.cx-emblem svg { width: 38px; height: 38px; fill: #fff3d5; }
.cx-card .cx-identity small { color: #7de0d8 !important; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cx-card h2, .woocommerce-account .cx-card h2 { color: #fff !important; font-size: clamp(25px, 3vw, 38px); font-weight: 700; line-height: 1.1; margin: 3px 0 0; }
.cx-identity:after { content: ""; align-self: end; width: 46px; height: 4px; margin: 0 0 7px 3px; background: var(--cx-orange); border-radius: 999px; }
.cx-stamp-board { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 14px; }
.cx-silver-panel, .cx-gold-panel { border: 1px solid rgba(244,193,92,.92); border-radius: 20px; background: rgba(35,16,14,.84); padding: 18px; box-shadow: inset 0 0 0 2px rgba(21,154,156,.23), 0 8px 22px rgba(0,0,0,.16); backdrop-filter: blur(2px); }
.cx-panel-title strong, .cx-panel-title span { display: block; color: #fff4dd; text-transform: uppercase; }
.cx-card .cx-panel-title strong { color: #fff7e8 !important; font-size: 14px; letter-spacing: .07em; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.cx-card .cx-panel-title span { margin-top: 2px; color: #ead0b8 !important; font-size: 11px; }
.cx-paws { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px 18px; margin: 17px 0 14px; }
.cx-paws span { display: grid; place-items: center; min-height: 42px; }
.cx-paws svg { width: 38px; height: 38px; fill: transparent; stroke: rgba(194,156,137,.62); stroke-width: 2; }
.cx-paws .is-earned svg { fill: #d5d9dc; stroke: #fff; filter: drop-shadow(0 0 5px rgba(125,224,216,.7)) drop-shadow(0 3px 4px rgba(0,0,0,.35)); animation: cx-silver-arrive .65s both; }
.cx-gold-panel { display: flex; align-items: center; flex-direction: column; text-align: center; }
.cx-card .cx-gold-panel > strong { color: #ffe6a3 !important; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.cx-card .cx-gold-panel > span { color: #e8c98f !important; font-size: 10px; text-transform: uppercase; }
.cx-gold-paw svg { width: 68px; height: 68px; margin: 11px 0 3px; fill: rgba(145,104,56,.22); stroke: #936b42; stroke-width: 2; }
.cx-gold-paw.is-available svg { fill: #e9b43e; stroke: #ffe18e; filter: drop-shadow(0 5px 7px rgba(0,0,0,.4)); animation: cx-gold-pulse 2.8s ease-in-out infinite; }
.cx-card .cx-gold-panel b { display: grid; place-items: center; min-width: 46px; height: 38px; color: #4b2e24 !important; background: #fff3cf; border-radius: 14px; font-size: 22px; }
.cx-card .cx-gold-panel small { margin-top: 8px; color: #ffe3a3 !important; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cx-progress { height: 7px; overflow: hidden; background: rgba(255,255,255,.18); border-radius: 999px; }
.cx-progress i { display: block; height: 100%; background: linear-gradient(90deg,var(--cx-turquoise),#78ddd4 55%,var(--cx-orange)); border-radius: inherit; box-shadow: 0 0 9px rgba(72,211,202,.62); animation: cx-progress-in .9s ease-out both; transform-origin: left; }
.cx-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.cx-stats div { padding: 12px; color: #fff; background: rgba(39,18,15,.72); border: 1px solid rgba(233,162,59,.56); border-radius: 14px; box-shadow: inset 3px 0 0 rgba(21,154,156,.72); backdrop-filter: blur(2px); }
.cx-stats strong, .cx-stats span { display: block; }
.cx-card .cx-stats div, .cx-card .cx-stats div * { color: #fff !important; }
.cx-stats strong { font-size: 20px; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.cx-stats span { color: #f3dfd0 !important; font-size: 12px; opacity: 1; }
.cx-card .cx-next { margin: 16px 0 0; color: #fff !important; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.cx-wallet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 30px; }
.cx-wallet { display: inline-flex !important; align-items: center; gap: 10px; border-radius: 12px !important; padding: 12px 20px !important; }
.cx-google { color: #fff !important; background: #101010 !important; border: 1px solid #333 !important; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.cx-google:hover { color: #fff !important; background: #262626 !important; transform: translateY(-1px); }
.cx-google-mark { display: grid; overflow: hidden; grid-template-columns: 1fr 1fr; width: 20px; height: 20px; border-radius: 5px; }
.cx-google-mark i:nth-child(1) { background:#4285f4; }.cx-google-mark i:nth-child(2) { background:#ea4335; }.cx-google-mark i:nth-child(3) { background:#fbbc04; }.cx-google-mark i:nth-child(4) { background:#34a853; }
.cx-wallet-pending { width: 100%; color: var(--cx-muted); background: #fff7e6; border-radius: 12px; padding: 12px 15px; }
.cx-rewards { display: grid; gap: 12px; }
.cx-reward { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px; }
.cx-reward code { overflow-wrap: anywhere; }
.cx-history { padding: 8px 20px; }
.cx-history > div { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid #ead9c5; }
.cx-history > div:last-child { border-bottom: 0; }
.cx-referral-box { margin: 24px 0 30px; padding: 24px; color: #fff; background: linear-gradient(135deg,rgba(48,20,17,.97),rgba(117,48,27,.94)),url("../wallet/alebrije-banner-v1.png") center/cover; border: 2px solid var(--cx-gold); border-radius: 22px; box-shadow: inset 0 0 0 2px rgba(21,154,156,.42),0 12px 28px rgba(60,36,27,.18); }
.cx-referral-box .cx-kicker { color: #78ddd4; }
.cx-referral-box h3 { margin: 5px 0 8px; color: #fff !important; }
.cx-referral-box p { color: #f8e7d5; }
.cx-referral-tools { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 20px; align-items: stretch; margin-top: 20px; }
.cx-referral-qr { display: flex; align-items: center; flex-direction: column; gap: 7px; text-align: center; color: #4b2e24; background: #fff8e8; border: 2px solid #e9a23b; border-radius: 18px; padding: 15px; }
.cx-referral-qr-code { display: grid; min-height: 150px; place-items: center; width: 100%; color: #6f5142; background: #fff; border-radius: 12px; padding: 8px; }
.cx-referral-qr-code svg { display: block; width: 100%; max-width: 150px; height: auto; }
.cx-referral-qr small { color: #76584a; line-height: 1.25; }
.cx-referral-share { min-width: 0; padding: 18px; background: rgba(34,14,12,.7); border: 1px solid rgba(120,221,212,.5); border-radius: 18px; }
.cx-referral-share > strong { color: #ffe09b; font-size: 18px; }
.cx-referral-share > p { margin: 7px 0 0; }
.cx-share-link { display: grid; grid-template-columns: minmax(220px,1fr) auto auto; gap: 9px; margin-top: 18px; }
.cx-native-share[hidden] { display: none !important; }
.cx-share-link input { min-width: 0; color: #4b2e24; background: #fff9ec; border: 0; border-radius: 10px; padding: 10px 12px; }
.cx-share-link .button { white-space: nowrap; }
.cx-referral-list { margin-top: 20px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px; }
.cx-referral-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.cx-referral-list small { color: #ffe09b; }
.cx-welcome-wallet { margin: 0 0 26px; color: var(--cx-coffee); background: #fff7e7; border: 2px solid var(--cx-gold); border-radius: 22px; padding: 22px; }
.cx-welcome-wallet h3 { margin: 4px 0; }
.cx-welcome-wallet > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 15px; }
.cx-welcome-wallet article { display: grid; gap: 7px; color: #fff; background: linear-gradient(145deg,#4b241c,#8d3b24); border-radius: 15px; padding: 16px; }
.cx-welcome-wallet code { width: fit-content; color: #402117; background: #fff2cb; border-radius: 7px; padding: 5px 8px; overflow-wrap: anywhere; }
.cx-welcome-wallet small { color: #f4dcc6; }
.cx-club-landing { overflow: hidden; max-width: 1120px; margin: 30px auto; color: var(--cx-coffee); background: #fff8ec; border: 1px solid #ead2b3; border-radius: 28px; box-shadow: 0 20px 55px rgba(75,46,36,.15); }

/*
 * Encabezado exclusivo de la landing pública del Club.
 *
 * Hello Biz imprime el encabezado mediante el widget Header de Hello Plus,
 * cuyo nodo real es .ehp-header. Solo modificamos color y decoración: el
 * posicionamiento, la visibilidad y los eventos de sus submenús permanecen
 * bajo el control del CSS y JavaScript nativos del widget.
 */
body.cx-club-route .ehp-header,
body.cx-club-route .site-header,
body.cx-club-route #masthead {
	background: linear-gradient(100deg, #542f20 0%, #75451f 62%, #8d5524 100%) !important;
	color: #fff7e8 !important;
	border-bottom: 2px solid #d9952f !important;
	box-shadow: 0 8px 24px rgba(50, 24, 13, .22) !important;
}
body.cx-club-route .ehp-header a:not(.button):not([class*="button"]),
body.cx-club-route .ehp-header button:not(.button):not([class*="button"]),
body.cx-club-route .site-header a:not(.button):not([class*="button"]),
body.cx-club-route #masthead a:not(.button):not([class*="button"]) {
	color: #fff7e8 !important;
	text-shadow: 0 1px 2px rgba(35, 15, 8, .4);
}
body.cx-club-route .ehp-header a:not(.button):not([class*="button"]):hover,
body.cx-club-route .ehp-header a:not(.button):not([class*="button"]):focus,
body.cx-club-route .ehp-header button:not(.button):not([class*="button"]):hover,
body.cx-club-route .ehp-header button:not(.button):not([class*="button"]):focus,
body.cx-club-route .site-header a:not(.button):not([class*="button"]):hover,
body.cx-club-route .site-header a:not(.button):not([class*="button"]):focus,
body.cx-club-route #masthead a:not(.button):not([class*="button"]):hover,
body.cx-club-route #masthead a:not(.button):not([class*="button"]):focus {
	color: #ffd675 !important;
}
body.cx-club-route .ehp-header svg:not(.svg-inline--fa),
body.cx-club-route .site-header svg:not(.svg-inline--fa),
body.cx-club-route #masthead svg:not(.svg-inline--fa) {
	fill: currentColor;
	stroke: currentColor;
}
body.cx-club-route .ehp-header ul.sub-menu,
body.cx-club-route .site-header ul.sub-menu,
body.cx-club-route #masthead ul.sub-menu {
	background: #6f401f !important;
	color: #fff7e8 !important;
	border-color: #d9952f !important;
	box-shadow: 0 12px 28px rgba(40, 18, 10, .28) !important;
}
body.cx-club-route .ehp-header ul.sub-menu a,
body.cx-club-route .site-header ul.sub-menu a,
body.cx-club-route #masthead ul.sub-menu a {
	color: #fff7e8 !important;
	background-color: transparent !important;
}
body.cx-club-route .ehp-header ul.sub-menu a:hover,
body.cx-club-route .ehp-header ul.sub-menu a:focus,
body.cx-club-route .site-header ul.sub-menu a:hover,
body.cx-club-route .site-header ul.sub-menu a:focus,
body.cx-club-route #masthead ul.sub-menu a:hover,
body.cx-club-route #masthead ul.sub-menu a:focus {
	color: #ffd675 !important;
	background-color: rgba(255,255,255,.08) !important;
}
body.cx-club-route .cx-club-public-page {
	position: relative;
}
.cx-club-hero { position: relative; isolation: isolate; min-height: 420px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; color: #fff; background: linear-gradient(rgba(42,16,13,.62),rgba(42,16,13,.78)),url("../wallet/alebrije-banner-v1.png") center/cover; padding: 56px 9%; }
.cx-club-hero h1 { max-width: 760px; margin: 8px 0 14px; color: #fff !important; font-size: clamp(42px,7vw,78px); line-height: .98; text-shadow: 0 3px 16px rgba(0,0,0,.48); }
.cx-club-hero > p { max-width: 660px; color: #fff3df; font-size: 19px; }
.cx-club-hero .cx-kicker { color: #79e1d9; }
.cx-ref-invite { border: 1px solid #f0b84d; background: rgba(32,14,12,.82); border-radius: 999px; padding: 9px 18px; }
.cx-club-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.cx-club-actions .button:not(.cx-primary) { color: #fff !important; background: rgba(0,0,0,.3) !important; border: 1px solid rgba(255,255,255,.55) !important; border-radius: 999px !important; padding: 12px 22px !important; }
.cx-club-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; padding: 28px; }
.cx-club-benefits article { display: flex; min-height: 120px; justify-content: center; flex-direction: column; text-align: center; background: #fff; border: 1px solid #ecd4b7; border-radius: 18px; padding: 20px; }
.cx-club-benefits strong { color: var(--cx-orange); font-size: 25px; }
.cx-club-benefits span { color: var(--cx-muted); }
.cx-welcome-choice { padding: 10px 28px 36px; text-align: center; }
.cx-welcome-choice > div { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; max-width: 760px; margin: 20px auto 0; }
.cx-welcome-choice article { display: flex; min-height: 120px; justify-content: center; flex-direction: column; color: #fff; background: linear-gradient(145deg,#4b241c,#9a3e20); border: 2px solid #e9a23b; border-radius: 18px; padding: 20px; }
.cx-welcome-choice b { color: #fff; font-size: 23px; }
.cx-welcome-choice span { color: #ffe3b4; }
.cx-welcome-choice em { color: var(--cx-orange); font-size: 20px; font-weight: 800; }

@keyframes cx-silver-arrive { from { opacity: 0; transform: scale(.55) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes cx-gold-pulse { 0%,100% { transform: scale(1); filter: drop-shadow(0 5px 7px rgba(0,0,0,.4)); } 50% { transform: scale(1.07); filter: drop-shadow(0 0 12px rgba(255,209,82,.75)); } }
@keyframes cx-progress-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .cx-paws .is-earned svg, .cx-gold-paw.is-available svg, .cx-progress i { animation: none; }
  .cx-google:hover { transform: none; }
}

@media (max-width: 600px) {
  .cx-card { padding: 20px; border-radius: 20px; }
  .cx-card:before { opacity: .5; background-size: auto 66%; background-position: center bottom; }
  .cx-card:after { background: linear-gradient(180deg, rgba(35,14,12,.6), rgba(35,14,12,.72)); }
  .cx-card-head, .cx-history > div { align-items: flex-start; flex-direction: column; }
  .cx-stamp-board { grid-template-columns: 1fr; }
  .cx-gold-panel { display: grid; grid-template-columns: 1fr auto; text-align: left; }
  .cx-gold-panel > span, .cx-gold-panel small { grid-column: 1; }
  .cx-gold-paw { grid-column: 2; grid-row: 1 / span 3; }
  .cx-gold-paw svg { margin: 0; }
  .cx-gold-panel b { grid-column: 2; grid-row: 3; justify-self: end; }
  .cx-reward { grid-template-columns: 1fr; }
  .cx-identity:after { display: none; }
	.cx-share-link { grid-template-columns: 1fr; }
	.cx-referral-tools { grid-template-columns: 1fr; }
	.cx-referral-qr { max-width: 250px; }
	.cx-referral-list > div { align-items: flex-start; flex-direction: column; }
	.cx-welcome-wallet > div { grid-template-columns: 1fr; }
	.cx-club-landing { margin: 12px; border-radius: 20px; }
	.cx-club-hero { min-height: 480px; padding: 44px 22px; }
	.cx-club-benefits { grid-template-columns: 1fr; padding: 18px; }
	.cx-welcome-choice { padding: 8px 18px 28px; }
	.cx-welcome-choice > div { grid-template-columns: 1fr; }
}
