:root{--adremy-pink:#ff285d;--adremy-blue:#25c4df;--adremy-cream:#fff8ef;--adremy-ink:#161722;--adremy-muted:#667085;--adremy-border:#ececf2;--adremy-shadow:0 20px 60px rgba(16,24,40,.08)}
body.woocommerce-checkout,body.woocommerce-account,body.woocommerce-order-received{background:var(--adremy-cream)!important}
body.woocommerce-checkout .entry-title,body.woocommerce-account .entry-title{display:none!important}
body.woocommerce-checkout .site-content,body.woocommerce-account .site-content,body.woocommerce-order-received .site-content{padding-top:46px!important;padding-bottom:54px!important}
body.woocommerce-checkout .site-content>.ast-container,body.woocommerce-account .site-content>.ast-container,body.woocommerce-order-received .site-content>.ast-container{max-width:1520px!important;width:100%!important;display:block!important;padding-left:24px!important;padding-right:24px!important;box-sizing:border-box!important}

/* CHECKOUT */
body.woocommerce-checkout form.checkout{max-width:1440px!important;width:100%!important;margin:0 auto!important;display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(460px,.75fr)!important;gap:32px!important;align-items:start!important}
body.woocommerce-checkout form.checkout #customer_details,body.woocommerce-checkout form.checkout #order_review{background:#fff!important;border:1px solid var(--adremy-border)!important;border-radius:24px!important;padding:22px!important;box-shadow:var(--adremy-shadow)!important;overflow:hidden!important;box-sizing:border-box!important}
body.woocommerce-checkout h3{color:var(--adremy-pink)!important;font-size:26px!important;line-height:1.15!important;margin:0 0 14px!important}
body.woocommerce-checkout input.input-text,body.woocommerce-checkout select,body.woocommerce-checkout textarea{border:1px solid #d9dce5!important;border-radius:11px!important;background:#fff!important;min-height:42px!important;font-size:15px!important;box-shadow:none!important}
body.woocommerce-checkout #order_review_heading{max-width:none!important;margin:0 auto 0!important;background:#fff!important;border:1px solid var(--adremy-border)!important;border-bottom:0!important;border-radius:24px 24px 0 0!important;padding:18px 22px!important;box-shadow:var(--adremy-shadow)!important}
body.woocommerce-checkout #order_review{border-radius:0 0 24px 24px!important}
body.woocommerce-checkout #payment{background:transparent!important;border:0!important}
body.woocommerce-checkout #payment ul.payment_methods{padding:0!important;margin:18px 0 0!important;border:0!important;display:flex!important;flex-direction:column!important;gap:9px!important}
body.woocommerce-checkout #payment ul.payment_methods li{background:#fff!important;border:1px solid var(--adremy-border)!important;border-radius:16px!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important}
body.woocommerce-checkout #payment ul.payment_methods li>input{margin:16px 0 0 14px!important}
body.woocommerce-checkout #payment ul.payment_methods li>label{display:inline-flex!important;align-items:center!important;gap:10px!important;padding:14px 12px!important;margin:0!important;font-weight:900!important;color:#151722!important;min-height:48px!important;box-sizing:border-box!important;vertical-align:top!important}
body.woocommerce-checkout #payment ul.payment_methods li>label img{max-height:30px!important;width:auto!important;object-fit:contain!important;margin-left:6px!important}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin{order:-20!important;border-color:rgba(255,40,93,.26)!important;background:#fff7fa!important}
body.woocommerce-checkout #payment div.payment_box{background:#ffddeb!important;color:#1d2433!important;margin:0!important;padding:16px!important;border-radius:0!important;font-size:14px!important;line-height:1.45!important}
body.woocommerce-checkout #payment div.payment_box:before{display:none!important}
body.woocommerce-checkout #place_order{width:100%!important;background:var(--adremy-pink)!important;border-radius:999px!important;min-height:48px!important;font-weight:900!important;letter-spacing:.02em!important;box-shadow:0 14px 30px rgba(255,40,93,.22)!important}
.adremy-gateway-desc{display:none!important}
.adremy-payment-proof{display:none!important;background:#fff!important;border:1px solid rgba(255,40,93,.18)!important;border-radius:18px!important;padding:14px!important;margin:0!important;box-sizing:border-box!important;max-width:100%!important;box-shadow:0 10px 28px rgba(255,40,93,.08)!important}
.adremy-payment-proof.is-visible{display:block!important}
.adremy-yape-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:12px!important}
.adremy-yape-title span{font-size:16px!important;font-weight:900!important;color:var(--adremy-ink)!important}
.adremy-yape-title img{height:26px!important;width:auto!important;object-fit:contain!important}
.adremy-proof-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
.adremy-pay-info{border:1px solid var(--adremy-border)!important;background:#f7fcff!important;border-radius:16px!important;padding:12px!important;min-width:0!important}
.adremy-pay-top{display:grid!important;grid-template-columns:230px minmax(0,1fr)!important;gap:18px!important;align-items:center!important}
.adremy-qr-frame{background:#fff!important;border:1px solid var(--adremy-border)!important;border-radius:16px!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:230px!important;overflow:hidden!important;padding:10px!important;box-sizing:border-box!important}
.adremy-pay-qr{width:210px!important;height:210px!important;max-width:100%!important;object-fit:contain!important;display:block!important;background:#fff!important;transform:scale(var(--adremy-qr-zoom,5))!important;transform-origin:center!important}
.adremy-qr-missing{font-size:12px!important;color:var(--adremy-muted)!important;text-align:center!important;padding:14px!important;line-height:1.35!important}
.adremy-pay-data{min-width:0!important;text-align:left!important}
.adremy-pay-pill{display:inline-flex!important;background:#e8fbfe!important;color:#07889b!important;border-radius:999px!important;padding:5px 10px!important;font-size:12px!important;font-weight:900!important;text-transform:uppercase!important}
.adremy-pay-number{font-size:22px!important;font-weight:900!important;color:#12131a!important;letter-spacing:.02em!important;margin:10px 0!important;white-space:nowrap!important}
.adremy-copy,.adremy-small-btn,.adremy-open-secret,.adremy-wa-btn{border:0!important;border-radius:999px!important;background:var(--adremy-pink)!important;color:#fff!important;padding:11px 16px!important;font-weight:900!important;text-decoration:none!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;cursor:pointer!important;line-height:1!important;text-transform:none!important;letter-spacing:.02em!important}
.adremy-copy{background:#12131a!important;font-size:12px!important;width:100%!important;max-width:160px!important}
.adremy-pay-info textarea{display:none!important}
.adremy-dropzone{display:block!important;text-align:center!important;border:1.5px dashed rgba(255,40,93,.35)!important;background:#fffaff!important;border-radius:16px!important;padding:18px 12px!important;cursor:pointer!important;transition:.2s!important;box-sizing:border-box!important;min-width:0!important}
.adremy-dropzone.dragover{background:#fff0f4!important;border-color:var(--adremy-pink)!important}
.adremy-dropzone input{position:absolute!important;left:-9999px!important}
.adremy-drop-title{display:block!important;font-size:17px!important;font-weight:900!important;color:#111827!important}
.adremy-dropzone small{display:block!important;color:var(--adremy-muted)!important;margin-top:6px!important;line-height:1.35!important}
.adremy-dropzone img{max-width:100%!important;max-height:160px!important;margin:10px auto 0!important;border-radius:12px!important;border:1px solid var(--adremy-border)!important}
.adremy-dropzone #adremy-proof-filename{display:block!important;color:var(--adremy-pink)!important;font-weight:800!important;margin-top:8px!important;word-break:break-word!important}

/* GRACIAS / ORDER */
.adremy-thankyou-hero{max-width:760px!important;margin:0 auto 26px!important;background:#fff!important;border:1px solid var(--adremy-border)!important;border-radius:26px!important;padding:34px 24px!important;text-align:center!important;box-shadow:var(--adremy-shadow)!important}
.adremy-check{width:54px!important;height:54px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,var(--adremy-blue),var(--adremy-pink))!important;color:#fff!important;font-weight:900!important;font-size:24px!important;margin:0 auto 14px!important}
.adremy-thankyou-hero h2{color:var(--adremy-pink)!important;margin:0 0 8px!important}
.woocommerce-order-overview,.woocommerce-table--order-details,.woocommerce-customer-details address{background:#fff!important;border:1px solid var(--adremy-border)!important;border-radius:18px!important;box-shadow:0 12px 32px rgba(0,0,0,.04)!important;overflow:hidden!important}
.adremy-order-proof{max-width:760px!important;margin:18px auto!important;background:#fff!important;border:1px solid var(--adremy-border)!important;border-radius:18px!important;padding:18px!important}

/* MI CUENTA */
body.woocommerce-account .entry-content>.wp-block-kadence-column,body.woocommerce-account .entry-content>.wp-block-kadence-rowlayout,body.woocommerce-account .entry-content>.wp-block-kadence-infobox{display:none!important}
body.woocommerce-account .entry-content>.woocommerce,body.woocommerce-account article .entry-content>.woocommerce,body.woocommerce-account .site-main .entry-content>.woocommerce{box-sizing:border-box!important;display:grid!important;grid-template-columns:280px minmax(0,1fr)!important;gap:32px!important;align-items:start!important;max-width:1360px!important;width:100%!important;margin:0 auto!important;background:#fff!important;border-radius:28px!important;padding:28px!important;box-shadow:var(--adremy-shadow)!important;float:none!important;clear:both!important}
body.woocommerce-account .entry-content>.woocommerce:before,body.woocommerce-account .entry-content>.woocommerce:after{display:none!important;content:none!important}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation{float:none!important;width:280px!important;max-width:280px!important;min-width:0!important;background:#fafafa!important;border:1px solid var(--adremy-border)!important;border-radius:22px!important;padding:12px!important;align-self:start!important;position:sticky!important;top:94px!important;box-shadow:none!important;box-sizing:border-box!important;margin:0!important;display:block!important;text-align:left!important}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul,body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li{list-style:none!important;margin:0!important;padding:0!important}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li{display:block!important;width:100%!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--payment-methods,body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--woo-wallet,body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout,body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads,body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address{display:none!important}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation a{display:flex!important;align-items:center!important;width:100%!important;min-height:46px!important;padding:12px 14px!important;border-radius:14px!important;text-decoration:none!important;color:#20212a!important;font-weight:900!important;font-size:15px!important;background:transparent!important;border:0!important;box-shadow:none!important;text-align:left!important;box-sizing:border-box!important}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.is-active a,body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a:hover{background:var(--adremy-pink)!important;color:#fff!important}
.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;margin:0!important;display:block!important;overflow:visible!important}
.woocommerce-account .woocommerce-MyAccount-content>.woocommerce-MyAccount-navigation{display:none!important}
.woocommerce-account .woocommerce-MyAccount-content p{font-size:16px!important;line-height:1.65!important;color:#242733!important}
.woocommerce-account .woocommerce-MyAccount-content>table.woocommerce-orders-table,.woocommerce-account .woocommerce-MyAccount-content>.woocommerce-pagination{display:none!important}
.adremy-account-head{margin-bottom:20px!important}
.adremy-account-head h2,.woocommerce-account .entry-content h2{margin:0 0 12px!important;color:var(--adremy-pink)!important;font-size:30px!important;line-height:1.15!important}
.adremy-account-head p{color:var(--adremy-muted)!important}
.adremy-orders-grid,.adremy-games-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(360px,1fr))!important;gap:22px!important}
.adremy-order-card,.adremy-game-card{background:#fff!important;border:1px solid var(--adremy-border)!important;border-radius:22px!important;overflow:hidden!important;box-shadow:0 12px 36px rgba(0,0,0,.045)!important}
.adremy-order-card{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;padding:0!important}
.adremy-order-media{background:#f7f7fb!important;min-height:150px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.adremy-order-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.adremy-order-media span{width:44px!important;height:44px!important;border-radius:14px!important;background:#fff0f4!important;display:block!important}
.adremy-order-body{padding:16px!important;min-width:0!important}
.adremy-order-top{display:flex!important;justify-content:space-between!important;gap:10px!important;align-items:center!important}
.adremy-order-top span{font-weight:900!important;color:var(--adremy-pink)!important}
.adremy-order-top em{font-style:normal!important;background:#fff0f4!important;color:var(--adremy-pink)!important;padding:5px 10px!important;border-radius:999px!important;font-size:12px!important;font-weight:900!important;white-space:nowrap!important}
.adremy-order-card h3{margin:12px 0 4px!important;font-size:20px!important;color:#111827!important}
.adremy-order-date{margin:0 0 10px!important;color:var(--adremy-muted)!important;font-size:14px!important}
.adremy-order-card ul{margin:10px 0 14px!important;padding-left:18px!important;color:#333!important;font-size:14px!important;line-height:1.45!important}
.adremy-small-btn{font-size:13px!important;padding:10px 14px!important;background:var(--adremy-pink)!important;color:#fff!important}
.adremy-game-card{display:grid!important;grid-template-columns:150px 1fr!important}
.adremy-game-img{min-height:190px!important;background-size:cover!important;background-position:center!important}
.adremy-game-body{padding:16px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important}
.adremy-game-body h3{font-size:18px!important;margin:10px 0 6px!important;color:#111827!important}.adremy-game-body p{margin:0!important;color:var(--adremy-muted)!important}.adremy-game-body small{margin-top:8px!important;color:#8b5a00!important}.adremy-badge{background:#e8fbfe!important;color:#07889b!important;border-radius:999px!important;padding:5px 10px!important;font-size:12px!important;font-weight:900!important}.adremy-open-secret{margin-top:auto!important;background:var(--adremy-blue)!important;color:#fff!important}.adremy-empty{border:1px dashed var(--adremy-border)!important;border-radius:20px!important;padding:28px!important;text-align:center!important;color:var(--adremy-muted)!important}.adremy-modal{position:fixed!important;inset:0!important;z-index:99999!important;background:rgba(0,0,0,.55)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important}.adremy-modal-box{background:#fff!important;border-radius:22px!important;padding:24px!important;width:min(560px,100%)!important;position:relative!important;box-shadow:0 30px 90px rgba(0,0,0,.3)!important}.adremy-modal-close{position:absolute!important;right:14px!important;top:12px!important;border:0!important;background:#f2f2f2!important;border-radius:50%!important;width:34px!important;height:34px!important;font-size:20px!important;cursor:pointer!important;color:#111!important}.adremy-secret-list{display:flex!important;flex-direction:column!important;gap:12px!important}.adremy-secret-row{display:grid!important;grid-template-columns:125px 1fr auto!important;gap:8px!important;align-items:center!important;background:#fafafa!important;border:1px solid var(--adremy-border)!important;border-radius:14px!important;padding:10px!important}.adremy-secret-row code{white-space:normal!important;word-break:break-all!important;background:#fff!important;padding:8px!important;border-radius:10px!important}.adremy-secret-note{background:#fff8ee!important;border-radius:14px!important;padding:12px!important}

@media(max-width:1100px){body.woocommerce-checkout form.checkout{display:block!important}body.woocommerce-checkout form.checkout #customer_details{margin-bottom:22px!important}body.woocommerce-checkout #order_review_heading{max-width:none!important}.adremy-orders-grid,.adremy-games-grid{grid-template-columns:1fr!important}}
@media(max-width:768px){body.woocommerce-checkout .site-content,body.woocommerce-order-received .site-content,body.woocommerce-account .site-content{padding-top:18px!important}body.woocommerce-checkout form.checkout{width:100%!important}.adremy-pay-top{grid-template-columns:180px 1fr!important}.adremy-qr-frame{min-height:180px!important}.adremy-pay-qr{width:170px!important;height:170px!important}.adremy-pay-number{font-size:19px!important}body.woocommerce-account .entry-content>.woocommerce,body.woocommerce-account article .entry-content>.woocommerce,body.woocommerce-account .site-main .entry-content>.woocommerce{display:block!important;width:calc(100% - 20px)!important;padding:14px!important;border-radius:20px!important}body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation{position:static!important;width:100%!important;max-width:none!important;margin-bottom:18px!important}body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul{display:flex!important;flex-direction:row!important;overflow-x:auto!important;padding-bottom:4px!important}body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li{min-width:max-content!important}.adremy-game-card{grid-template-columns:110px 1fr!important}.adremy-game-img{min-height:160px!important}.adremy-secret-row{grid-template-columns:1fr!important}}
@media(max-width:480px){.adremy-pay-top{grid-template-columns:1fr!important}.adremy-qr-frame{min-height:190px!important}.adremy-pay-qr{width:190px!important;height:190px!important}.adremy-yape-title{align-items:flex-start!important;flex-direction:column!important}body.woocommerce-checkout form.checkout #customer_details,body.woocommerce-checkout form.checkout #order_review{padding:16px!important;border-radius:18px!important}.adremy-order-card{grid-template-columns:82px minmax(0,1fr)!important}.adremy-order-media{min-height:150px!important}.adremy-order-top{align-items:flex-start!important;flex-direction:column!important}.adremy-order-card h3{font-size:18px!important}}


/* v1.0.5: ancho real y orden de portal */
body.woocommerce-account .woocommerce-MyAccount-content{font-size:16px!important;line-height:1.55!important}
body.woocommerce-account .woocommerce-MyAccount-content>p:first-child{margin-top:0!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details{margin-top:0!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table,body.woocommerce-account .woocommerce-MyAccount-content table.shop_table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid var(--adremy-border)!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 10px 30px rgba(16,24,40,.04)!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table th,body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table td,body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td{padding:16px!important;border-color:#efeff4!important;font-size:15px!important;vertical-align:middle!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table th,body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th{background:#fff8fb!important;font-weight:900!important;color:#111827!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details address{width:100%!important;box-sizing:border-box!important;padding:18px!important}
body.woocommerce-account .woocommerce-MyAccount-content h2,body.woocommerce-account .woocommerce-MyAccount-content h3{color:var(--adremy-pink)!important;font-size:28px!important;line-height:1.2!important;margin:18px 0 14px!important}
body.woocommerce-account .woocommerce-MyAccount-navigation+ .woocommerce-MyAccount-content{min-width:0!important}
body.woocommerce-account .adremy-orders-grid{width:100%!important}
@media(min-width:1200px){body.woocommerce-account .adremy-orders-grid{grid-template-columns:repeat(auto-fit,minmax(430px,1fr))!important}.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content{max-width:900px!important}}
@media(max-width:768px){body.woocommerce-checkout .site-content>.ast-container,body.woocommerce-account .site-content>.ast-container,body.woocommerce-order-received .site-content>.ast-container{padding-left:10px!important;padding-right:10px!important}.adremy-order-card{grid-template-columns:120px minmax(0,1fr)!important;min-height:0!important}.adremy-order-media{min-height:190px!important}}
@media(max-width:480px){.adremy-pay-top{grid-template-columns:1fr!important}.adremy-qr-frame{min-height:240px!important}.adremy-pay-qr{width:220px!important;height:220px!important}}

/* v1.0.6: portal limpio, pedidos anchos y credenciales por pedido */
body.woocommerce-account.ast-separate-container .ast-article-single,
body.woocommerce-account.ast-separate-container .ast-woocommerce-container,
body.woocommerce-account .site-main,
body.woocommerce-account article,
body.woocommerce-account .entry-content{
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-account .site-content{background:var(--adremy-cream)!important}
body.woocommerce-account .site-content>.ast-container{max-width:1380px!important}
body.woocommerce-account .entry-content>.woocommerce,
body.woocommerce-account article .entry-content>.woocommerce,
body.woocommerce-account .site-main .entry-content>.woocommerce{
  max-width:1180px!important;
  width:100%!important;
  margin:42px auto!important;
  grid-template-columns:260px minmax(0,1fr)!important;
  gap:28px!important;
  padding:22px!important;
  background:#fff!important;
  border-radius:28px!important;
  box-shadow:0 30px 80px rgba(16,24,40,.09)!important;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation{position:sticky!important;top:92px!important;width:260px!important;max-width:260px!important}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content{padding:6px 0 6px!important;max-width:none!important;width:100%!important}
.adremy-orders-grid{grid-template-columns:1fr!important;gap:16px!important;max-width:none!important;width:100%!important}
.adremy-order-card{grid-template-columns:112px minmax(0,1fr)!important;align-items:center!important;min-height:134px!important;border-radius:20px!important;box-shadow:0 12px 34px rgba(16,24,40,.055)!important}
.adremy-order-media{width:112px!important;min-height:134px!important;height:100%!important;background:#f7f7fb!important;padding:12px!important;box-sizing:border-box!important}
.adremy-order-media img{width:88px!important;height:110px!important;object-fit:cover!important;border-radius:14px!important;box-shadow:0 8px 22px rgba(16,24,40,.12)!important}
.adremy-order-body{display:grid!important;grid-template-columns:minmax(150px,.75fr) minmax(0,1.5fr) auto!important;gap:14px!important;align-items:center!important;padding:18px 20px!important}
.adremy-order-top{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:8px!important}
.adremy-order-main h3,.adremy-order-card h3{font-size:24px!important;margin:0 0 8px!important;color:var(--adremy-pink)!important;line-height:1.1!important}
.adremy-order-card ul{margin:0!important;padding-left:18px!important;font-size:14px!important;line-height:1.4!important;color:#333!important;max-width:100%!important}
.adremy-order-card .adremy-small-btn{justify-self:end!important;white-space:nowrap!important}
.adremy-credential-badge{display:inline-flex!important;align-items:center!important;width:max-content!important;margin-top:8px!important;padding:6px 10px!important;border-radius:999px!important;background:#e8fbfe!important;color:#07889b!important;font-size:12px!important;font-weight:900!important}
.adremy-pagination{display:flex!important;gap:8px!important;justify-content:flex-end!important;margin-top:18px!important}
.adremy-pagination a{width:38px!important;height:38px!important;border-radius:12px!important;border:1px solid var(--adremy-border)!important;background:#fff!important;color:#111827!important;display:grid!important;place-items:center!important;font-weight:900!important;text-decoration:none!important}
.adremy-pagination a.is-active{background:var(--adremy-pink)!important;color:#fff!important;border-color:var(--adremy-pink)!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details,
body.woocommerce-account .woocommerce-MyAccount-content .adremy-order-access{max-width:100%!important;width:100%!important}
.adremy-order-access{margin:22px 0!important;padding:20px!important;border-radius:22px!important;background:#fff!important;border:1px solid var(--adremy-border)!important;box-shadow:0 12px 36px rgba(16,24,40,.05)!important}
.adremy-order-access h2{margin-top:0!important}
.adremy-access-card{border:1px solid var(--adremy-border)!important;border-radius:18px!important;padding:16px!important;margin-top:14px!important;background:#fbfcff!important}
.adremy-access-card h3{font-size:18px!important;color:#111827!important;margin:0 0 12px!important}
/* Checkout: evita que QR/número se desborde en la columna derecha */
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin .adremy-pay-top{display:flex!important;flex-direction:column!important;gap:12px!important;align-items:center!important;text-align:center!important}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin .adremy-pay-data{text-align:center!important;width:100%!important}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin .adremy-copy{margin:auto!important}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin .adremy-pay-number{white-space:normal!important;font-size:20px!important}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin .adremy-qr-frame{width:100%!important;min-height:240px!important}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin .adremy-pay-qr{width:220px!important;height:220px!important;transform:scale(var(--adremy-qr-zoom,5))!important}
@media(min-width:1280px){body.woocommerce-account .entry-content>.woocommerce,body.woocommerce-account article .entry-content>.woocommerce,body.woocommerce-account .site-main .entry-content>.woocommerce{max-width:1240px!important}.adremy-order-body{grid-template-columns:minmax(170px,.7fr) minmax(0,1.7fr) auto!important}.adremy-order-media{width:120px!important}.adremy-order-card{grid-template-columns:120px minmax(0,1fr)!important}.adremy-order-media img{width:92px!important;height:116px!important}}
@media(max-width:900px){body.woocommerce-account .entry-content>.woocommerce,body.woocommerce-account article .entry-content>.woocommerce,body.woocommerce-account .site-main .entry-content>.woocommerce{display:block!important;margin:18px auto!important;padding:14px!important}.adremy-order-body{grid-template-columns:1fr!important;gap:8px!important}.adremy-order-card .adremy-small-btn{justify-self:start!important}body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation{position:static!important;width:100%!important;max-width:none!important}}
@media(max-width:520px){.adremy-order-card{grid-template-columns:92px minmax(0,1fr)!important}.adremy-order-media{width:92px!important;min-height:150px!important;padding:8px!important}.adremy-order-media img{width:74px!important;height:104px!important}.adremy-order-body{padding:14px!important}.adremy-order-main h3,.adremy-order-card h3{font-size:20px!important}}

/* v1.0.7: ajustes finales de pedidos, detalle y selección de pago */
body.woocommerce-account .entry-content>.woocommerce,
body.woocommerce-account article .entry-content>.woocommerce,
body.woocommerce-account .site-main .entry-content>.woocommerce{
  max-width:1260px!important;
  margin:36px auto!important;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation{flex:0 0 260px!important}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content{flex:1 1 auto!important;min-width:0!important}
body.woocommerce-account .adremy-order-card{
  grid-template-columns:104px minmax(0,1fr)!important;
  min-height:118px!important;
  overflow:hidden!important;
}
body.woocommerce-account .adremy-order-media{
  width:104px!important;
  min-height:118px!important;
  padding:10px!important;
}
body.woocommerce-account .adremy-order-media img{
  width:78px!important;
  height:98px!important;
  object-fit:cover!important;
  object-position:center!important;
}
body.woocommerce-account .adremy-order-body{
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  padding:16px 18px!important;
  min-width:0!important;
}
body.woocommerce-account .adremy-order-top{flex:0 0 120px!important;min-width:120px!important;display:flex!important;flex-direction:column!important;gap:7px!important}
body.woocommerce-account .adremy-order-main{flex:0 0 112px!important;min-width:112px!important}
body.woocommerce-account .adremy-order-main h3,
body.woocommerce-account .adremy-order-card h3{
  font-size:20px!important;
  line-height:1.1!important;
  margin:0 0 6px!important;
  white-space:nowrap!important;
  word-break:normal!important;
}
body.woocommerce-account .adremy-order-date{white-space:nowrap!important;margin:0!important;font-size:14px!important;color:#667085!important}
body.woocommerce-account .adremy-order-card ul{
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  padding-left:17px!important;
  overflow:hidden!important;
}
body.woocommerce-account .adremy-order-card ul li{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}
body.woocommerce-account .adremy-order-card .adremy-small-btn{flex:0 0 auto!important;margin-left:auto!important;align-self:center!important}
body.woocommerce-view-order .woocommerce-customer-details{display:none!important}
body.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-order-details{margin-bottom:0!important}
body.woocommerce-view-order .woocommerce-MyAccount-content table.shop_table{margin-bottom:20px!important}

/* Yape/Plin: solo se pinta rosado cuando está seleccionado */
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin{
  order:-20!important;
  border-color:var(--adremy-border)!important;
  background:#fff!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin:has(input.input-radio:checked){
  border-color:rgba(255,40,93,.28)!important;
  background:#fff7fa!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin:not(:has(input.input-radio:checked)) .payment_box{
  display:none!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:not(.payment_method_adremy_yape_plin):has(input.input-radio:checked){
  border-color:var(--adremy-border)!important;
  background:#fff!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin:not(:has(input.input-radio:checked)) label{
  color:#111827!important;
}

@media(max-width:900px){
  body.woocommerce-account .adremy-order-body{flex-wrap:wrap!important;gap:10px!important}
  body.woocommerce-account .adremy-order-top{flex:1 1 120px!important}
  body.woocommerce-account .adremy-order-main{flex:0 0 105px!important}
  body.woocommerce-account .adremy-order-card .adremy-small-btn{margin-left:0!important}
}
@media(max-width:520px){
  body.woocommerce-account .adremy-order-card{grid-template-columns:86px minmax(0,1fr)!important}
  body.woocommerce-account .adremy-order-media{width:86px!important;min-height:128px!important;padding:8px!important}
  body.woocommerce-account .adremy-order-media img{width:68px!important;height:92px!important}
  body.woocommerce-account .adremy-order-main h3,body.woocommerce-account .adremy-order-card h3{font-size:18px!important}
}


/* v1.0.8: sin botones copiar */
.adremy-copy{display:none!important}

/* v1.0.8: Yape/Plin solo rosado si el JS marca seleccionado */
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin{background:#fff!important;border-color:var(--adremy-border)!important}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin.is-selected{background:#fff7fa!important;border-color:rgba(255,40,93,.28)!important}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin:not(.is-selected) .payment_box{display:none!important}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_adremy_yape_plin:not(.is-selected) .adremy-payment-proof{display:none!important}

/* v1.0.8: juegos como portadas y modal cerrado por defecto */
.adremy-modal{display:none!important}
.adremy-modal.is-open{display:flex!important}
.adremy-games-grid-covers{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(135px,1fr))!important;gap:18px!important}
.adremy-game-cover-card{display:block!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important;border:1px solid var(--adremy-border)!important;box-shadow:0 12px 32px rgba(16,24,40,.08)!important;cursor:pointer!important;padding:0!important;aspect-ratio:3/4!important}
.adremy-game-cover-card img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.adremy-game-cover-card:hover{transform:translateY(-2px)!important;box-shadow:0 18px 42px rgba(16,24,40,.12)!important}
.adremy-secret-row{grid-template-columns:130px 1fr!important}
.adremy-secret-row code{font-size:15px!important}
@media(max-width:768px){.adremy-games-grid-covers{grid-template-columns:repeat(2,minmax(0,1fr))!important}.adremy-secret-row{grid-template-columns:1fr!important}}

.adremy-credential-badge{display:none!important}

/* v1.0.9: cuenta más compacta */
body.woocommerce-account .woocommerce-EditAccountForm,
body.woocommerce-account form.edit-account{
  max-width:760px!important;
}
body.woocommerce-account .woocommerce-EditAccountForm label,
body.woocommerce-account form.edit-account label{
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:800!important;
  color:#111827!important;
  margin-bottom:6px!important;
}
body.woocommerce-account .woocommerce-EditAccountForm input,
body.woocommerce-account form.edit-account input{
  min-height:42px!important;
  font-size:15px!important;
  border-radius:10px!important;
  padding:9px 12px!important;
}
body.woocommerce-account .woocommerce-EditAccountForm legend,
body.woocommerce-account form.edit-account legend{
  font-size:15px!important;
  font-weight:900!important;
  color:#111827!important;
  margin:14px 0 8px!important;
  padding-bottom:8px!important;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation a{
  font-size:14px!important;
  min-height:42px!important;
  padding:10px 13px!important;
}

/* v1.0.9: detalle sin facturación */
body.woocommerce-view-order .woocommerce-customer-details,
body.woocommerce-view-order .woocommerce-column--billing-address{display:none!important}

/* v1.0.10: order received limpio */
body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .adremy-order-proof{
  display:none!important;
}
body.woocommerce-order-received .woocommerce-order{max-width:980px!important;margin:0 auto!important}
.adremy-thankyou-clean{max-width:840px!important;margin-top:0!important;margin-bottom:22px!important}
.adremy-thankyou-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;flex-wrap:wrap!important;margin-top:18px!important}
.adremy-secondary-btn{border:1px solid var(--adremy-border)!important;border-radius:999px!important;background:#fff!important;color:var(--adremy-pink)!important;padding:11px 16px!important;font-weight:900!important;text-decoration:none!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;line-height:1!important}
.adremy-next-note{max-width:620px!important;margin:18px auto 0!important;color:#475467!important;font-size:15px!important;line-height:1.55!important}

/* v1.0.10: cuenta más pareja con el portal */
body.woocommerce-edit-account .woocommerce-MyAccount-content,
body.woocommerce-account form.edit-account,
body.woocommerce-account .woocommerce-EditAccountForm{
  font-size:14px!important;
  color:#111827!important;
}
body.woocommerce-account form.edit-account .form-row,
body.woocommerce-account .woocommerce-EditAccountForm .form-row{margin-bottom:12px!important}
body.woocommerce-account form.edit-account input,
body.woocommerce-account .woocommerce-EditAccountForm input,
body.woocommerce-account form.edit-account .woocommerce-Input,
body.woocommerce-account .woocommerce-EditAccountForm .woocommerce-Input{
  font-size:14px!important;
  min-height:38px!important;
  height:38px!important;
  padding:7px 10px!important;
  border-color:#d0d5dd!important;
}
body.woocommerce-account form.edit-account label,
body.woocommerce-account .woocommerce-EditAccountForm label{
  font-size:13px!important;
  margin-bottom:4px!important;
}
body.woocommerce-account form.edit-account legend,
body.woocommerce-account .woocommerce-EditAccountForm legend{
  font-size:14px!important;
  text-transform:none!important;
}
body.woocommerce-account form.edit-account fieldset,
body.woocommerce-account .woocommerce-EditAccountForm fieldset{
  border:0!important;
  padding:0!important;
  margin:8px 0 0!important;
}
body.woocommerce-account form.edit-account button,
body.woocommerce-account .woocommerce-EditAccountForm button{
  font-size:12px!important;
  min-height:38px!important;
  padding:9px 18px!important;
}

/* v1.0.10: instrucciones dentro de credenciales */
.adremy-instruction-btn{margin-top:14px!important;border-radius:999px!important;background:var(--adremy-blue)!important;color:#fff!important;padding:11px 16px!important;text-decoration:none!important;font-weight:900!important;display:inline-flex!important;justify-content:center!important;align-items:center!important}
body.woocommerce-order-received .woocommerce-order > *:not(.adremy-thankyou-hero){display:none!important}

/* v1.0.11: Mi cuenta más arriba + modal de credenciales con título y acciones */
body.woocommerce-account .site-content,
body.woocommerce-account.ast-separate-container .site-content{
  padding-top:24px!important;
  padding-bottom:46px!important;
  min-height:auto!important;
}
body.woocommerce-account .content-area,
body.woocommerce-account .site-main,
body.woocommerce-account article,
body.woocommerce-account .entry-content{
  min-height:auto!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
}
body.woocommerce-account .entry-content>.woocommerce,
body.woocommerce-account article .entry-content>.woocommerce,
body.woocommerce-account .site-main .entry-content>.woocommerce{
  margin-top:24px!important;
  margin-bottom:42px!important;
  align-items:flex-start!important;
}
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3{
  font-size:24px!important;
  line-height:1.22!important;
}
body.woocommerce-edit-account .woocommerce-MyAccount-content h2,
body.woocommerce-edit-account .woocommerce-MyAccount-content h3,
body.woocommerce-edit-account .woocommerce-MyAccount-content legend{
  font-size:20px!important;
}
.adremy-games-grid-covers{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(148px,1fr))!important;
  gap:18px!important;
  max-width:760px!important;
}
.adremy-game-cover-card{
  position:relative!important;
  border-radius:18px!important;
  overflow:hidden!important;
  min-height:205px!important;
  background:#f7f7fb!important;
  border:1px solid var(--adremy-border)!important;
  box-shadow:0 16px 36px rgba(16,24,40,.08)!important;
  cursor:pointer!important;
  padding:0!important;
}
.adremy-game-cover-card img{
  width:100%!important;
  height:100%!important;
  min-height:205px!important;
  object-fit:cover!important;
  display:block!important;
  transition:transform .18s ease, filter .18s ease!important;
}
.adremy-game-cover-card:hover img{transform:scale(1.035)!important;filter:brightness(.92)!important}
.adremy-cover-hint{
  position:absolute!important;
  left:12px!important;
  right:12px!important;
  bottom:12px!important;
  padding:10px 12px!important;
  border-radius:999px!important;
  background:rgba(255,40,93,.95)!important;
  color:#fff!important;
  text-align:center!important;
  font-size:13px!important;
  font-weight:900!important;
  opacity:0!important;
  transform:translateY(8px)!important;
  transition:all .18s ease!important;
}
.adremy-game-cover-card:hover .adremy-cover-hint{opacity:1!important;transform:translateY(0)!important}
.adremy-secret-modal-box{
  width:min(640px,calc(100vw - 28px))!important;
  padding:28px!important;
  border-radius:26px!important;
}
.adremy-secret-heading{margin:0 0 18px!important;padding-right:34px!important}
.adremy-secret-kicker{
  display:inline-flex!important;
  color:var(--adremy-pink)!important;
  background:#fff0f5!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  margin-bottom:10px!important;
}
.adremy-secret-heading h3{
  margin:0!important;
  color:var(--adremy-pink)!important;
  font-size:28px!important;
  line-height:1.15!important;
  letter-spacing:0!important;
  word-break:normal!important;
}
.adremy-secret-heading p{
  margin:8px 0 0!important;
  color:#667085!important;
  font-size:14px!important;
  font-weight:900!important;
}
.adremy-secret-list{gap:10px!important}
.adremy-secret-row{
  grid-template-columns:145px minmax(0,1fr)!important;
  padding:12px!important;
  border-radius:16px!important;
  background:#fbfcff!important;
}
.adremy-secret-row span{
  font-size:15px!important;
  color:#344054!important;
  font-weight:900!important;
}
.adremy-secret-row code{
  background:#fff!important;
  border:1px solid #f0f1f5!important;
  border-radius:12px!important;
  color:#111827!important;
  font-size:15px!important;
  font-family:inherit!important;
  font-weight:700!important;
}
.adremy-secret-note{
  margin:4px 0 0!important;
  background:#fff8ee!important;
  border:1px solid #ffe6bd!important;
  color:#4b3b20!important;
  font-weight:700!important;
}
.adremy-secret-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  margin-top:18px!important;
}
.adremy-secret-actions a{
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  border-radius:14px!important;
  padding:12px 14px!important;
  font-weight:900!important;
  text-decoration:none!important;
  line-height:1.25!important;
}
.adremy-instruction-btn{
  background:var(--adremy-blue)!important;
  color:#fff!important;
  border:1px solid var(--adremy-blue)!important;
}
.adremy-help-btn{
  background:var(--adremy-pink)!important;
  color:#fff!important;
  border:1px solid var(--adremy-pink)!important;
}
.adremy-help-btn-light{
  background:#fff!important;
  color:var(--adremy-pink)!important;
  border:1px solid #ffd5e1!important;
}
@media(max-width:900px){
  body.woocommerce-account .site-content{padding-top:14px!important}
  body.woocommerce-account .entry-content>.woocommerce,
  body.woocommerce-account article .entry-content>.woocommerce,
  body.woocommerce-account .site-main .entry-content>.woocommerce{margin-top:14px!important}
}
@media(max-width:640px){
  .adremy-secret-modal-box{padding:22px!important;border-radius:22px!important}
  .adremy-secret-heading h3{font-size:23px!important}
  .adremy-secret-row{grid-template-columns:1fr!important;gap:6px!important}
  .adremy-secret-actions{grid-template-columns:1fr!important}
  .adremy-games-grid-covers{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .adremy-game-cover-card,.adremy-game-cover-card img{min-height:185px!important}
  .adremy-cover-hint{opacity:1!important;transform:none!important;font-size:12px!important;padding:8px!important}
}

/* v1.0.12: portal más arriba, mobile compacto y paginación en juegos */
body.woocommerce-account .site-content,
body.woocommerce-account.ast-separate-container .site-content{
  padding-top:8px!important;
  padding-bottom:36px!important;
}
body.woocommerce-account .entry-content>.woocommerce,
body.woocommerce-account article .entry-content>.woocommerce,
body.woocommerce-account .site-main .entry-content>.woocommerce{
  margin-top:8px!important;
  margin-bottom:34px!important;
}
.adremy-secret-actions a{
  width:100%!important;
  min-height:52px!important;
  box-sizing:border-box!important;
  font-size:14px!important;
}
.adremy-instruction-btn{margin-top:0!important}
.adremy-games-grid-covers + .adremy-pagination{max-width:760px!important;justify-content:center!important}

@media(max-width:640px){
  body.woocommerce-account .site-content,
  body.woocommerce-account.ast-separate-container .site-content{padding-top:6px!important;padding-bottom:28px!important}
  body.woocommerce-account .entry-content>.woocommerce,
  body.woocommerce-account article .entry-content>.woocommerce,
  body.woocommerce-account .site-main .entry-content>.woocommerce{
    margin-top:6px!important;
    padding:12px!important;
    border-radius:22px!important;
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
  }
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation{
    margin:0 0 14px!important;
    padding:10px!important;
    border-radius:18px!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul{
    display:flex!important;
    gap:8px!important;
    min-width:max-content!important;
    margin:0!important;
    padding:0!important;
  }
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li{margin:0!important;flex:0 0 auto!important}
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation a{
    min-height:36px!important;
    padding:8px 12px!important;
    font-size:13px!important;
    border-radius:12px!important;
    white-space:nowrap!important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content{padding:0!important}
  body.woocommerce-account .adremy-order-card{
    display:grid!important;
    grid-template-columns:74px minmax(0,1fr)!important;
    min-height:112px!important;
    border-radius:16px!important;
  }
  body.woocommerce-account .adremy-order-media{
    width:74px!important;
    min-height:112px!important;
    height:112px!important;
    padding:7px!important;
    align-self:stretch!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  body.woocommerce-account .adremy-order-media img{
    width:58px!important;
    height:76px!important;
    border-radius:10px!important;
    object-fit:cover!important;
  }
  body.woocommerce-account .adremy-order-body{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:7px 10px!important;
    padding:11px 12px!important;
    align-items:center!important;
  }
  body.woocommerce-account .adremy-order-top,
  body.woocommerce-account .adremy-order-main,
  body.woocommerce-account .adremy-order-card ul{
    flex:unset!important;
    min-width:0!important;
  }
  body.woocommerce-account .adremy-order-top{grid-column:1/2!important;gap:4px!important}
  body.woocommerce-account .adremy-order-top span{font-size:14px!important;font-weight:900!important}
  body.woocommerce-account .adremy-order-top em{font-size:11px!important;padding:4px 8px!important;width:max-content!important}
  body.woocommerce-account .adremy-order-main{grid-column:1/2!important}
  body.woocommerce-account .adremy-order-main h3,
  body.woocommerce-account .adremy-order-card h3{font-size:18px!important;margin:0!important;white-space:normal!important}
  body.woocommerce-account .adremy-order-date{font-size:12px!important;margin-top:2px!important}
  body.woocommerce-account .adremy-order-card ul{grid-column:1/3!important;padding-left:15px!important;font-size:12px!important;line-height:1.25!important}
  body.woocommerce-account .adremy-order-card ul li{-webkit-line-clamp:1!important}
  body.woocommerce-account .adremy-order-card .adremy-small-btn{
    grid-column:2/3!important;
    grid-row:1/3!important;
    align-self:center!important;
    justify-self:end!important;
    margin:0!important;
    padding:8px 10px!important;
    font-size:11px!important;
    min-height:34px!important;
  }
  .adremy-orders-grid{gap:10px!important}
  .adremy-games-grid-covers{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    max-width:100%!important;
  }
  .adremy-game-cover-card,
  .adremy-game-cover-card img{
    min-height:150px!important;
  }
  .adremy-cover-hint{
    opacity:0!important;
    pointer-events:none!important;
    transform:translateY(8px)!important;
    font-size:11px!important;
    padding:7px 8px!important;
    left:9px!important;
    right:9px!important;
    bottom:9px!important;
  }
  .adremy-game-cover-card:active .adremy-cover-hint,
  .adremy-game-cover-card:focus .adremy-cover-hint{
    opacity:1!important;
    transform:translateY(0)!important;
  }
  .adremy-account-head h2{font-size:25px!important}
  .adremy-account-head p{font-size:14px!important;line-height:1.45!important}
  .adremy-secret-modal-box{
    width:calc(100vw - 24px)!important;
    max-height:calc(100vh - 34px)!important;
    overflow:auto!important;
    padding:18px!important;
  }
  .adremy-secret-heading h3{font-size:20px!important;line-height:1.15!important}
  .adremy-secret-heading p{font-size:13px!important}
  .adremy-secret-row{padding:10px!important;border-radius:13px!important}
  .adremy-secret-row span,.adremy-secret-row code{font-size:14px!important}
  .adremy-secret-actions{gap:8px!important;margin-top:12px!important}
  .adremy-secret-actions a{min-height:46px!important;font-size:13px!important;padding:11px 12px!important}
  .adremy-pagination{justify-content:center!important;gap:6px!important;margin-top:14px!important}
  .adremy-pagination a{width:34px!important;height:34px!important;border-radius:10px!important;font-size:13px!important}
}

/* v1.0.13: corrige posición del portal y tabs móviles */
body.woocommerce-account .site-content,
body.woocommerce-account.ast-separate-container .site-content{
  padding-top:0!important;
}
body.woocommerce-account .site-content>.ast-container,
body.woocommerce-account .ast-container,
body.woocommerce-account .content-area,
body.woocommerce-account .site-main,
body.woocommerce-account article,
body.woocommerce-account .entry-content{
  padding-top:0!important;
  margin-top:0!important;
  min-height:0!important;
}
body.woocommerce-account .entry-content>.woocommerce,
body.woocommerce-account article .entry-content>.woocommerce,
body.woocommerce-account .site-main .entry-content>.woocommerce{
  margin-top:10px!important;
  margin-bottom:26px!important;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation a{
  font-size:14px!important;
  min-height:38px!important;
  padding:9px 12px!important;
}

@media(min-width:901px){
  body.woocommerce-account .entry-content>.woocommerce,
  body.woocommerce-account article .entry-content>.woocommerce,
  body.woocommerce-account .site-main .entry-content>.woocommerce{
    transform:translateY(-18px)!important;
  }
}

@media(max-width:640px){
  body.woocommerce-account .site-content,
  body.woocommerce-account.ast-separate-container .site-content{
    padding-top:0!important;
  }
  body.woocommerce-account .site-content>.ast-container,
  body.woocommerce-account .ast-container{
    padding-left:8px!important;
    padding-right:8px!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.woocommerce-account .entry-content>.woocommerce,
  body.woocommerce-account article .entry-content>.woocommerce,
  body.woocommerce-account .site-main .entry-content>.woocommerce{
    width:100%!important;
    max-width:100%!important;
    margin:8px auto 22px!important;
    padding:12px!important;
    border-radius:20px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 14px!important;
    padding:8px!important;
    border-radius:16px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
    margin:0!important;
    padding:0!important;
  }
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li{
    min-width:0!important;
    width:auto!important;
    flex:unset!important;
    margin:0!important;
  }
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a,
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a,
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation a{
    min-height:34px!important;
    height:34px!important;
    padding:0 6px!important;
    font-size:11.5px!important;
    line-height:34px!important;
    border-radius:12px!important;
    text-align:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    display:flex!important;
    align-items:center!important;
    color:#111827!important;
  }
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.is-active a{
    color:#fff!important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content{
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  .adremy-account-head{margin-bottom:14px!important}
  .adremy-account-head h2{font-size:24px!important;margin-bottom:8px!important}
  .adremy-account-head p{font-size:14px!important;line-height:1.35!important;margin:0!important}

  /* Pedidos: más compacto y sin imagen flotando */
  body.woocommerce-account .adremy-orders-grid{gap:10px!important;width:100%!important;max-width:100%!important}
  body.woocommerce-account .adremy-order-card{
    display:grid!important;
    grid-template-columns:70px minmax(0,1fr)!important;
    min-height:104px!important;
    border-radius:16px!important;
    overflow:hidden!important;
    align-items:stretch!important;
    width:100%!important;
  }
  body.woocommerce-account .adremy-order-media{
    position:static!important;
    width:70px!important;
    height:auto!important;
    min-height:104px!important;
    padding:7px!important;
    align-self:stretch!important;
    box-sizing:border-box!important;
  }
  body.woocommerce-account .adremy-order-media img{
    width:56px!important;
    height:72px!important;
    border-radius:9px!important;
    object-fit:cover!important;
    box-shadow:none!important;
  }
  body.woocommerce-account .adremy-order-body{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:5px 8px!important;
    padding:10px!important;
    min-width:0!important;
  }
  body.woocommerce-account .adremy-order-top span{font-size:13px!important}
  body.woocommerce-account .adremy-order-top em{font-size:10.5px!important;padding:3px 7px!important}
  body.woocommerce-account .adremy-order-main h3,
  body.woocommerce-account .adremy-order-card h3{font-size:16px!important;line-height:1.05!important}
  body.woocommerce-account .adremy-order-date{font-size:11px!important}
  body.woocommerce-account .adremy-order-card ul{font-size:11.5px!important;line-height:1.25!important;padding-left:14px!important}
  body.woocommerce-account .adremy-order-card .adremy-small-btn{font-size:10.5px!important;min-height:32px!important;padding:7px 9px!important;border-radius:999px!important}

  /* Juegos: portadas centradas y sin pegarse a la derecha */
  .adremy-games-grid-covers{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    justify-items:stretch!important;
  }
  .adremy-game-cover-card{
    width:100%!important;
    min-height:0!important;
    aspect-ratio:3/4!important;
    border-radius:15px!important;
  }
  .adremy-game-cover-card img{
    min-height:0!important;
    height:100%!important;
    width:100%!important;
    object-fit:cover!important;
  }
  .adremy-cover-hint{
    opacity:0!important;
    pointer-events:none!important;
  }
}

@media(max-width:380px){
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a,
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a,
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation a{
    font-size:10.5px!important;
    padding:0 4px!important;
  }
  .adremy-games-grid-covers{gap:10px!important}
}

/* v1.0.14: ajuste fino desktop sin tocar mobile */
@media(min-width:901px){
  body.woocommerce-account .site-content,
  body.woocommerce-account.ast-separate-container .site-content{
    padding-top:18px!important;
  }
  body.woocommerce-account .entry-content>.woocommerce,
  body.woocommerce-account article .entry-content>.woocommerce,
  body.woocommerce-account .site-main .entry-content>.woocommerce{
    margin-top:24px!important;
    transform:none!important;
  }
  body.woocommerce-account .adremy-order-main h3,
  body.woocommerce-account .adremy-order-card h3{
    font-size:23px!important;
    line-height:1.1!important;
    letter-spacing:0!important;
  }
  body.woocommerce-account .adremy-modal.is-open{
    align-items:flex-start!important;
    justify-content:center!important;
    padding-top:96px!important;
    padding-left:24px!important;
    padding-right:24px!important;
    box-sizing:border-box!important;
  }
  body.woocommerce-account .adremy-secret-modal-box{
    width:min(680px,calc(100vw - 48px))!important;
    max-height:calc(100vh - 132px)!important;
    overflow:auto!important;
    margin:0 auto!important;
  }
  body.woocommerce-account .adremy-modal-close{
    z-index:5!important;
    right:16px!important;
    top:16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
}


/* v1.0.15: ajuste real desktop del portal, pedidos y modal. Mobile intacto. */
@media (min-width:901px){
  body.woocommerce-account .site-content,
  body.woocommerce-account.ast-separate-container .site-content{
    padding-top:0!important;
    padding-bottom:34px!important;
  }
  body.woocommerce-account .site-content>.ast-container,
  body.woocommerce-account .ast-container,
  body.woocommerce-account .content-area,
  body.woocommerce-account .site-main,
  body.woocommerce-account article,
  body.woocommerce-account .entry-content{
    margin-top:0!important;
    padding-top:0!important;
  }
  body.woocommerce-account .entry-content>.woocommerce,
  body.woocommerce-account article .entry-content>.woocommerce,
  body.woocommerce-account .site-main .entry-content>.woocommerce{
    max-width:1160px!important;
    grid-template-columns:220px minmax(0,1fr)!important;
    gap:24px!important;
    padding:20px!important;
    margin:4px auto 28px!important;
    transform:translateY(-14px)!important;
    border-radius:26px!important;
  }
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation{
    width:220px!important;
    max-width:220px!important;
    flex:0 0 220px!important;
    padding:10px!important;
    border-radius:18px!important;
    top:86px!important;
  }
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul{gap:6px!important}
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation a{
    min-height:38px!important;
    padding:9px 12px!important;
    font-size:14px!important;
    border-radius:12px!important;
  }
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-content{padding:0!important}

  body.woocommerce-account .adremy-orders-grid{gap:12px!important}
  body.woocommerce-account .adremy-order-card{
    grid-template-columns:96px minmax(0,1fr)!important;
    min-height:110px!important;
    border-radius:18px!important;
  }
  body.woocommerce-account .adremy-order-media{
    width:96px!important;
    min-height:110px!important;
    height:110px!important;
    padding:9px!important;
  }
  body.woocommerce-account .adremy-order-media img{
    width:72px!important;
    height:88px!important;
    border-radius:12px!important;
  }
  body.woocommerce-account .adremy-order-body{
    grid-template-columns:minmax(112px,.7fr) minmax(0,1.2fr) auto!important;
    gap:10px 14px!important;
    padding:14px 16px!important;
  }
  body.woocommerce-account .adremy-order-top span{font-size:15px!important}
  body.woocommerce-account .adremy-order-top em{font-size:11px!important;padding:4px 8px!important}
  body.woocommerce-account .adremy-order-main h3,
  body.woocommerce-account .adremy-order-card h3{
    font-size:20px!important;
    line-height:1.05!important;
    margin:0 0 4px!important;
  }
  body.woocommerce-account .adremy-order-date{font-size:13px!important;margin:0!important}
  body.woocommerce-account .adremy-order-card ul{font-size:13px!important;line-height:1.3!important}
  body.woocommerce-account .adremy-order-card .adremy-small-btn{
    min-height:36px!important;
    padding:9px 15px!important;
    font-size:12px!important;
  }

  body.woocommerce-account .adremy-games-grid-covers{
    grid-template-columns:repeat(auto-fill,minmax(130px,150px))!important;
    gap:18px!important;
    align-items:start!important;
  }
  body.woocommerce-account .adremy-game-cover-card{
    width:150px!important;
    max-width:150px!important;
    aspect-ratio:3/4!important;
    min-height:0!important;
  }
  body.woocommerce-account .adremy-game-cover-card img{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
  }

  body.woocommerce-account .adremy-modal.is-open{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    padding:112px 24px 34px!important;
    overflow:auto!important;
    box-sizing:border-box!important;
  }
  body.woocommerce-account .adremy-secret-modal-box,
  body.woocommerce-account .adremy-modal-box.adremy-secret-modal-box{
    width:min(660px,calc(100vw - 48px))!important;
    max-height:calc(100vh - 146px)!important;
    overflow:auto!important;
    margin:0 auto!important;
    padding:24px 26px 26px!important;
    border-radius:24px!important;
    transform:none!important;
  }
  body.woocommerce-account .adremy-modal-close{
    display:flex!important;
    position:absolute!important;
    right:14px!important;
    top:14px!important;
    z-index:20!important;
    width:34px!important;
    height:34px!important;
    align-items:center!important;
    justify-content:center!important;
    line-height:1!important;
    opacity:1!important;
    visibility:visible!important;
    color:#111827!important;
    background:#f4f4f6!important;
  }
  body.woocommerce-account .adremy-secret-heading{padding-right:44px!important}
  body.woocommerce-account .adremy-secret-heading h3{font-size:25px!important;line-height:1.1!important}
  body.woocommerce-account .adremy-secret-actions{grid-template-columns:1fr 1fr!important;gap:12px!important}
  body.woocommerce-account .adremy-secret-actions a{min-height:48px!important;font-size:14px!important;padding:12px 14px!important}
}


/* v1.0.16: corrige modal desktop fuera del contenedor (sin transform) */
@media (min-width:901px){
  body.woocommerce-account .entry-content>.woocommerce,
  body.woocommerce-account article .entry-content>.woocommerce,
  body.woocommerce-account .site-main .entry-content>.woocommerce{
    transform:none!important;
    margin:-10px auto 28px!important;
  }
  body.woocommerce-account .adremy-modal.is-open{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    padding:104px 24px 34px!important;
    overflow:auto!important;
    box-sizing:border-box!important;
    z-index:999999!important;
  }
  body.woocommerce-account .adremy-modal-box.adremy-secret-modal-box,
  body.woocommerce-account .adremy-secret-modal-box{
    position:relative!important;
    width:min(660px,calc(100vw - 48px))!important;
    max-height:calc(100vh - 138px)!important;
    overflow:auto!important;
    margin:0 auto!important;
    padding:24px 26px 26px!important;
    border-radius:24px!important;
    transform:none!important;
  }
  body.woocommerce-account .adremy-modal-close{
    position:absolute!important;
    right:14px!important;
    top:14px!important;
    z-index:30!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:34px!important;
    height:34px!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
}
