/* Solo presentación. Formularios, saldos, pedidos y beneficios siguen en ChipaCoin. */
body.dpac .ac-view-account{--bg:#dff3ff;--card:#ffffffed;--text:#0c2b51;--muted:#3c607e;--primary:#efca27;--primary-light:#ffe784;--accent:#f8be39;--success:#17623e;--danger:#9e2632;--glass-border:#bad8ec;--gradient-card:linear-gradient(135deg,#fff,#eaf7ff);--gradient-bg:transparent;--cc-bg-dark:#edf8ff;--cc-panel:#fff;--cc-panel-2:#f0f8fd;--cc-line:#bad8ec;--cc-text:#0c2b51;--cc-muted:#3c607e;--cc-blue:#246294;color:#0c2b51}
body.dpac .ac-view-account .chipacoin-wallet,body.dpac .ac-view-account .chipacoin-wallet.chipacoin-my-account{--cc-panel:#fff;--cc-panel-2:#f0f8fd;--cc-line:#bad8ec;--cc-text:#0c2b51;--cc-muted:#3c607e;background:transparent!important;color:#0c2b51!important;font-family:inherit!important;width:100%!important;max-width:960px!important;padding:0!important;margin:12px auto 24px!important}
body.dpac .ac-view-account .chipacoin-auth-shell{font-family:inherit;max-width:960px;margin:12px auto 24px;gap:22px;align-items:start}
body.dpac .ac-view-account .chipacoin-auth-hero,body.dpac .ac-view-account .chipacoin-auth-card,body.dpac .ac-view-account .chipacoin-auth-card-gold,body.dpac .ac-view-account .chipacoin-wallet .glass,body.dpac .ac-view-account .chipacoin-wallet .chipacoin-balance-card,body.dpac .ac-view-account .chipacoin-wallet .chipacoin-account-panel,body.dpac .ac-view-account .chipacoin-wallet .chipacoin-orders{background:#fffffff0!important;color:#0c2b51!important;border:1px solid #fff!important;box-shadow:0 8px 24px #3f7ea31a!important;border-radius:22px!important}
body.dpac .ac-view-account .chipacoin-auth-hero{background:linear-gradient(135deg,#fff9dc,#f3fbff)!important;min-height:300px;padding:28px;justify-content:flex-end}
body.dpac .ac-view-account .chipacoin-auth-hero:before{background:radial-gradient(circle,#ffe99766,transparent 70%);opacity:.6}
body.dpac .ac-view-account .chipacoin-auth-coin{width:90px;height:90px;top:22px;right:24px}
body.dpac .ac-view-account .chipacoin-auth-kicker{background:#fff0af;color:#3b421e;font-size:11px;letter-spacing:1px;padding:7px 11px}
body.dpac .ac-view-account .chipacoin-auth-hero h2{color:#0c2b51!important;font-size:30px;line-height:1.13;letter-spacing:-.7px;margin:14px 0;max-width:360px}
body.dpac .ac-view-account .chipacoin-auth-hero p{color:#355b78!important;font-size:14px;line-height:1.65;font-weight:400}
body.dpac .ac-view-account .chipacoin-auth-card h3,body.dpac .ac-view-account .chipacoin-wallet h2,body.dpac .ac-view-account .chipacoin-wallet h3{color:#0c2b51!important;font-family:inherit!important;line-height:1.25;font-weight:750}
body.dpac .ac-view-account .chipacoin-auth-card label,body.dpac .ac-view-account .chipacoin-account-form label{color:#355b78!important;font-size:13px;font-weight:650;line-height:1.5}
body.dpac .ac-view-account .chipacoin-auth-card input:not([type="checkbox"]):not([type="hidden"]),body.dpac .ac-view-account .chipacoin-account-form input:not([type="checkbox"]):not([type="hidden"]),body.dpac .ac-view-account .chipacoin-wallet select,body.dpac .ac-view-account .chipacoin-wallet textarea{background:#f5fbff!important;color:#0c2b51!important;border:1px solid #a9cce3!important;border-radius:12px!important;min-height:46px;padding:11px 13px;max-width:100%;font-family:inherit}
body.dpac .ac-view-account input::placeholder{color:#587389;opacity:1}body.dpac .ac-view-account input:focus-visible{outline:3px solid #efd044!important;outline-offset:2px}
body.dpac .ac-view-account .chipacoin-auth-card button,body.dpac .ac-view-account .chipacoin-submit-btn,body.dpac .ac-view-account .chipacoin-wallet .btn.primary{background:var(--ac-primary)!important;color:#0c2b51!important;border:1px solid #d8b52b!important;border-radius:12px!important;min-height:46px;box-shadow:0 4px 0 #b594171a;font-family:inherit!important;font-weight:750!important}
body.dpac .ac-view-account .chipacoin-auth-link,body.dpac .ac-view-account .chipacoin-back-link,body.dpac .ac-view-account .chipacoin-order-total a{color:#17558a!important;background:transparent;border-color:#bddced;text-decoration:underline!important;text-underline-offset:3px}
body.dpac .ac-view-account .chipacoin-wallet .chipacoin-top-nav{gap:12px;margin:12px 0 20px;max-width:100%}
body.dpac .ac-view-account .chipacoin-wallet .chipacoin-top-nav-btn,body.dpac .ac-view-account .chipacoin-wallet .chipacoin-account-menu a{background:#ffffffd9!important;color:#173c63!important;border:1px solid #b8d7eb!important;border-radius:14px!important;font-family:inherit!important;font-size:14px!important;min-height:48px!important;font-weight:700!important;box-shadow:0 4px 12px #3f7ea30d!important}
body.dpac .ac-view-account .chipacoin-wallet .chipacoin-top-nav-btn.active,body.dpac .ac-view-account .chipacoin-wallet .chipacoin-account-menu a.active{background:#fff0ae!important;border-color:#dcc145!important;color:#0c2b51!important}
body.dpac .ac-view-account .chipacoin-top-nav-dropdown{background:#fff!important;color:#0c2b51!important;border:1px solid #b8d7eb;border-radius:14px;box-shadow:0 12px 30px #2b658522}
body.dpac .ac-view-account .chipacoin-top-nav-dropdown a{color:#173c63!important;background:transparent!important}body.dpac .ac-view-account .chipacoin-top-nav-dropdown a:hover{background:#eff8ff!important}
body.dpac .ac-view-account .chipacoin-wallet .card-overlay{display:none!important}body.dpac .ac-view-account .chipacoin-wallet .card-content{color:#0c2b51!important}
body.dpac .ac-view-account .balance-header,body.dpac .ac-view-account .balance-subinfo small,body.dpac .ac-view-account .balance-amount span,body.dpac .ac-view-account .chipacoin-level-progress-copy span,body.dpac .ac-view-account .chipacoin-panel-note,body.dpac .ac-view-account .chipacoin-order-list span,body.dpac .ac-view-account .chipacoin-order-list small,body.dpac .ac-view-account .chipacoin-order-summary-row span,body.dpac .ac-view-account .chipacoin-order-detail-card address{color:#355b78!important}
body.dpac .ac-view-account .balance-amount,body.dpac .ac-view-account .chipacoin-level-progress-copy strong,body.dpac .ac-view-account .chipacoin-order-total,body.dpac .ac-view-account .chipacoin-wallet strong{color:#0c2b51!important}
body.dpac .ac-view-account .balance-subinfo div,body.dpac .ac-view-account .chipacoin-movements li,body.dpac .ac-view-account .chipacoin-orders li,body.dpac .ac-view-account .chipacoin-order-detail-card{background:#eff8ff!important;border:1px solid #d0e5f2!important;color:#0c2b51!important;border-radius:12px}
body.dpac .ac-view-account .chipacoin-benefit-note,body.dpac .ac-view-account .chipacoin-level-badge{background:#fff5c9!important;border-color:#e9d783!important;color:#5f4b18!important}
body.dpac .ac-view-account .chipacoin-account-notice.success{background:#e0f4e8!important;color:#17623e!important}body.dpac .ac-view-account .chipacoin-account-notice.error{background:#fff0f1!important;color:#9e2632!important}
body.dpac .ac-view-account .chipacoin-mobile-logout,body.dpac .ac-view-account .chipacoin-account-menu a.logout{color:#9e2632!important;background:#fff0f1!important;border-color:#efc4cc!important}
body.dpac .ac-view-account .chipacoin-coin-orbit{opacity:.1!important}body.dpac .ac-view-account .chipacoin-wallet .progress-bar,body.dpac .ac-view-account .chipacoin-level-progress-bar{background:#d2e7f3!important}
@media(max-width:760px){body.dpac .ac-view-account .chipacoin-auth-shell{grid-template-columns:1fr;gap:16px;margin-top:8px}body.dpac .ac-view-account .chipacoin-auth-hero{min-height:240px;padding:24px}body.dpac .ac-view-account .chipacoin-auth-hero h2{font-size:27px;max-width:280px}body.dpac .ac-view-account .chipacoin-auth-coin{width:78px;height:78px;right:20px;top:18px}body.dpac .ac-view-account .chipacoin-auth-card{padding:20px}body.dpac .ac-view-account .chipacoin-auth-card h3{font-size:22px}body.dpac .ac-view-account .chipacoin-wallet .chipacoin-top-nav{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 52px;gap:8px}body.dpac .ac-view-account .chipacoin-wallet .chipacoin-top-nav-btn{font-size:13px!important;min-height:48px!important}.dpac .ac-view-account .ac-page-head h1{font-size:28px}}

/* Beneficios de compra integrados en la misma interfaz, sin paneles oscuros. */
body.dpac #ac-main .chipacoin-redeem-box,
body.dpac #ac-main .chipacoin-active-order-card,
body.dpac #ac-main [class*="daily-benefit"],
body.dpac #ac-main [class*="daily-promo"]{background:#fff!important;color:#0c2b51!important;border:1px solid #bad8ec!important;border-radius:20px!important;box-shadow:0 6px 20px #28658a12!important;padding:22px!important;font-family:inherit!important}
body.dpac #ac-main .chipacoin-redeem-box :is(h2,h3,h4,p,strong,small,em,span),
body.dpac #ac-main .chipacoin-active-order-card :is(h2,h3,h4,p,strong,small,em,span){color:#0c2b51!important;text-shadow:none!important;font-family:inherit!important}
body.dpac #ac-main .chipacoin-redeem-heading{font-size:22px!important;text-align:left!important;line-height:1.25!important;margin:18px 0!important}
body.dpac #ac-main .chipacoin-redeem-stats{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
body.dpac #ac-main .chipacoin-redeem-stats>span{background:#eff8ff!important;border:1px solid #d2e7f2!important;border-radius:14px!important;box-shadow:none!important;padding:14px!important;min-width:0!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
body.dpac #ac-main .chipacoin-redeem-stats strong{background:transparent!important;border:0!important;box-shadow:none!important;color:#0c2b51!important;font-size:27px!important;padding:0!important}
body.dpac #ac-main .chipacoin-redeem-stats em{flex-basis:100%;font-size:13px!important;font-style:normal!important}
body.dpac #ac-main .chipacoin-redeem-box .button{background:#f0ce23!important;color:#0c2b51!important;border:0!important;border-radius:14px!important;box-shadow:none!important;min-height:48px!important;font-size:16px!important;line-height:1.3!important;white-space:normal!important;padding:14px 18px!important}
body.dpac #ac-main .chipacoin-redeem-help{font-size:13px!important;line-height:1.5!important;font-weight:400!important;text-align:left!important}
body.dpac #ac-main .chipacoin-redeem-main{font-size:15px!important;line-height:1.5!important;text-align:left!important}
body.dpac #ac-main .coupon,body.dpac #ac-main .woocommerce-form-coupon-toggle,body.dpac #ac-main .checkout_coupon{display:none!important}
body.dpac #ac-main .actions button[name="update_cart"]{background:#f0ce23!important;color:#0c2b51!important;border-radius:14px!important;box-shadow:none!important}
body.dpac #ac-main .actions button[name="update_cart"]:disabled{background:#e4edf3!important;color:#526c7e!important;opacity:1!important}
body.dpac .ac-app-nav a{color:#244e69!important}body.dpac .ac-app-nav a[aria-current="page"]{color:#0c2b51!important}

/* Variantes de tarjetas de promociones instaladas en el sitio. */
body.dpac #ac-main :is([class*="chipacoin-benefit"],[class*="chipacoin-promo"],[class*="chipacoin-daily"]){background:#fff8db!important;color:#0c2b51!important;border-color:#e5d791!important;box-shadow:none!important;font-family:inherit!important}
body.dpac #ac-main :is([class*="chipacoin-benefit"],[class*="chipacoin-promo"],[class*="chipacoin-daily"]) :is(h2,h3,h4,p,span,strong,small){color:#0c2b51!important;font-family:inherit!important;text-shadow:none!important}
body.dpac #ac-main :is([class*="chipacoin-benefit"],[class*="chipacoin-promo"],[class*="chipacoin-daily"]) :is([class*="card"],[class*="item"]){background:#fff!important;color:#0c2b51!important;border-color:#e5d791!important;box-shadow:none!important}

/* Flujo de lectura vertical: etiqueta, importe, explicación. */
body.dpac #ac-main .chipacoin-redeem-stats>span{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:6px!important;width:100%!important;min-height:0!important;overflow:visible!important;box-sizing:border-box!important;text-align:left!important}
body.dpac #ac-main .chipacoin-redeem-stats>span>:is(small,strong,em){position:static!important;inset:auto!important;transform:none!important;width:auto!important;max-width:100%!important;flex:none!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.4!important;margin:0!important;display:block!important}
body.dpac #ac-main .chipacoin-redeem-stats>span>small{order:0;font-size:14px!important}
body.dpac #ac-main .chipacoin-redeem-stats>span>strong{order:1;font-size:27px!important}
body.dpac #ac-main .chipacoin-redeem-stats>span>em{order:2;font-size:13px!important;flex-basis:auto!important}
body.dpac #ac-main .chipacoin-redeem-stats .woocommerce-Price-amount{display:inline!important;white-space:nowrap!important}
body.dpac #ac-main .chipacoin-redeem-stats .woocommerce-Price-currencySymbol{font-size:inherit!important;background:transparent!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;display:inline!important}
/* La tarjeta del operador está insertada dentro del historial ChipaCoin. */
body.dpac #ac-main .chipacoin-active-order-card :is(div,section,article){background:transparent!important;background-image:none!important;color:#0c2b51!important;box-shadow:none!important;border-color:#c4deee!important;font-family:inherit!important}
body.dpac #ac-main .chipacoin-active-order-card :is(h1,h2,h3,h4,p,span,strong,small,b,a){color:#0c2b51!important;font-family:inherit!important;text-shadow:none!important}
body.dpac #ac-main .chipacoin-active-order-card :is(.active,.is-active,[aria-current="step"]){background:#fff0ae!important;border-color:#ddc351!important}
body.dpac #ac-main .chipacoin-active-order-card{padding:16px!important}

body.dpac #ac-main .chipacoin-redeem-stats strong :is(span,bdi){display:inline!important;position:static!important;transform:none!important;float:none!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;min-width:0!important;min-height:0!important;width:auto!important;color:inherit!important;font-size:inherit!important;line-height:inherit!important;box-shadow:none!important}

/* Tarjeta real del operador, incluida su inserción tardía para visitantes.
   No depende de si el usuario está autenticado ni de dónde se inserta. */
body.dpac .ach-order-received-card-holder,body.dpac :is(.achcust,#ac-main .achcust){background:transparent!important;background-image:none!important;color:#0c2b51!important;font-family:"Fredoka Alto Chipa",system-ui,sans-serif!important}
body.dpac :is(.achcust,#ac-main .achcust) .achcust-card{background:#fffffff2!important;background-image:none!important;border:1px solid #bad8ec!important;border-radius:24px!important;box-shadow:0 8px 24px #397e9f1a!important;color:#0c2b51!important}
body.dpac :is(.achcust,#ac-main .achcust) :is(h2,h3,p,strong,span,small,b,a){color:#0c2b51!important;text-shadow:none!important;font-family:"Fredoka Alto Chipa",system-ui,sans-serif!important}
body.dpac :is(.achcust,#ac-main .achcust) h2{font-weight:650!important;font-size:clamp(28px,6vw,44px)!important;line-height:1.12!important}
body.dpac :is(.achcust,#ac-main .achcust) p{font-weight:400!important;font-size:16px!important;line-height:1.55!important}
body.dpac :is(.achcust,#ac-main .achcust) .achcust-badge{background:#fff1b6!important;border:1px solid #e6cc61!important;color:#0c2b51!important;font-weight:600!important}
body.dpac :is(.achcust,#ac-main .achcust) :is(.achstep,.achsum,.ach-notify-box){background:#eff8ff!important;background-image:none!important;border-color:#c4deee!important;color:#0c2b51!important;box-shadow:none!important}
body.dpac :is(.achcust,#ac-main .achcust) .achsum *{color:#0c2b51!important;font-family:"Fredoka Alto Chipa",system-ui,sans-serif!important}
body.dpac :is(.achcust,#ac-main .achcust) .achstep{opacity:.78!important}body.dpac :is(.achcust,#ac-main .achcust) .achstep.active{opacity:1!important;background:#fff3c5!important;border-color:#ddc351!important;box-shadow:0 3px 10px #b89b2420!important}
body.dpac :is(.achcust,#ac-main .achcust) .achicon{background:#dff0fa!important;box-shadow:inset 0 1px 0 #fff!important}
body.dpac :is(.achcust,#ac-main .achcust) .achstep.active .achicon{background:#ffe780!important}
body.dpac :is(.achcust,#ac-main .achcust) .ach-order-reminder{background:#fff7da!important;border-color:#e7d696!important;color:#355b78!important}
body.dpac :is(.achcust,#ac-main .achcust) .ach-notify-btn{background:#f0ce23!important;color:#0c2b51!important;border-radius:12px!important;font-family:"Fredoka Alto Chipa",system-ui,sans-serif!important;font-weight:600!important}
/* WooCommerce solicita acceso al abrir pedidos vinculados a una cuenta. */
body.dpac #ac-main .woocommerce form.woocommerce-form-login,body.dpac #ac-main .woocommerce form.login{background:#fffffff2!important;background-image:none!important;color:#0c2b51!important;border:1px solid #bad8ec!important;border-radius:22px!important;box-shadow:0 8px 22px #397e9f15!important;padding:24px!important}
body.dpac #ac-main .woocommerce form.woocommerce-form-login :is(label,p,a,span){color:#244e69!important;font-family:"Fredoka Alto Chipa",system-ui,sans-serif!important}
body.dpac #ac-main .woocommerce form.woocommerce-form-login input.input-text{background:#f3faff!important;color:#0c2b51!important;border:1px solid #a9cce3!important;border-radius:12px!important;min-height:46px!important}
body.dpac #ac-main .woocommerce form.woocommerce-form-login button.woocommerce-form-login__submit{background:#f0ce23!important;color:#0c2b51!important;border-radius:12px!important;box-shadow:0 3px 0 #b7902b33!important;font-weight:600!important}
body.dpac #ac-main .wc-block-components-notice-banner.is-info{background:#eff8ff!important;color:#244e69!important;border:1px solid #bad8ec!important;border-radius:14px!important}

/* Una tarjeta de acceso para visitantes. Los formularios siguen usando ChipaCoin. */
body.dpac .ac-view-account .ac-guest-account {
    max-width: 540px;
    margin: 16px auto 40px;
    padding: clamp(20px, 5vw, 36px);
    background: linear-gradient(135deg, #fff9dc, #f8fcff);
    border: 1px solid #fff;
    border-radius: 26px;
    box-shadow: 0 8px 24px #3f7ea31a;
}
body.dpac .ac-view-account .ac-guest-account .chipacoin-auth-shell {
    display: block;
    margin: 0;
    padding: 0;
}
body.dpac .ac-view-account .ac-guest-account .chipacoin-auth-hero,
body.dpac .ac-view-account .ac-guest-account .chipacoin-auth-card {
    min-height: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
body.dpac .ac-view-account .ac-guest-account .chipacoin-auth-hero::before,
body.dpac .ac-view-account .ac-guest-account .chipacoin-auth-kicker {
    display: none;
}
body.dpac .ac-view-account .ac-guest-account .chipacoin-auth-coin {
    position: static;
    width: 60px;
    height: 60px;
}
body.dpac .ac-view-account .ac-guest-account .chipacoin-auth-hero p {
    margin: 0;
}
body.dpac .ac-view-account .ac-guest-account .chipacoin-auth-forms {
    gap: 0;
}
body.dpac .ac-view-account .ac-guest-account[data-auth-mode="start"] .chipacoin-auth-forms,
body.dpac .ac-view-account .ac-guest-account:not([data-auth-mode="start"]) .chipacoin-auth-hero,
body.dpac .ac-view-account .ac-guest-account[data-auth-mode="login"] form:has([name="chipacoin_auth_action"][value="register"]),
body.dpac .ac-view-account .ac-guest-account[data-auth-mode="register"] form:has([name="chipacoin_auth_action"][value="login"]),
body.dpac .ac-view-account .ac-guest-account[data-auth-mode="register"] .ac-auth-register,
body.dpac .ac-view-account .ac-guest-account[data-auth-mode="login"] .ac-auth-login {
    display: none !important;
}
body.dpac .ac-view-account .ac-auth-actions {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    text-align: center;
}
body.dpac .ac-view-account .ac-auth-actions a {
    justify-content: center;
}
body.dpac .ac-view-account .ac-auth-login {
    color: #17558a;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.dpac .ac-view-account .ac-guest-account[data-auth-mode="login"] .ac-auth-register {
    background: transparent;
    border: 1px solid #a9cce3;
    box-shadow: none;
    color: #17558a;
}
