.ddch{--ddch-ink:#13253a;--ddch-line:#dfe7f3;--ddch-bg:#f5f8ff;color:var(--ddch-ink);font-family:inherit;line-height:1.5}
.ddch *{box-sizing:border-box}
.ddch h1,.ddch h2,.ddch h3{margin:0 0 12px;line-height:1.2;color:#0f2f61}
.ddch p{margin:0 0 18px;color:#5f7086}
.ddch a{color:#0f5bd4;text-decoration:none}
.ddch a:hover{text-decoration:underline}
.ddch-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:2px;margin-bottom:12px;color:#58739a}
.ddch-auth{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;max-width:1120px;margin:28px auto;align-items:stretch}
.ddch-intro{background:linear-gradient(135deg,#0f5bd4 0%,#1b74ff 100%);border-radius:24px;padding:42px;display:flex;flex-direction:column;justify-content:center;color:#fff;box-shadow:0 16px 36px rgba(15,91,212,.18)}
.ddch-intro .ddch-kicker,.ddch-intro h1,.ddch-intro p{color:#fff}
.ddch-intro h1{font-size:clamp(28px,4vw,48px)}
.ddch-logo{max-width:220px;max-height:84px;object-fit:contain;align-self:flex-start;margin-bottom:28px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.08))}
.ddch-card{display:block;background:#fff;border:1px solid var(--ddch-line);border-radius:18px;padding:22px;margin-bottom:16px;box-shadow:0 6px 18px rgba(15,30,60,.05)}
.ddch-form{padding:30px;margin:0}
.ddch-form label,.ddch-modal-dialog label{display:block;font-weight:600;font-size:13px;margin-bottom:14px}
.ddch-form input:not([type=checkbox]),.ddch-modal-dialog input:not([type=checkbox]){display:block;width:100%;height:48px;border:1px solid #cfd9e8;border-radius:10px;padding:10px 14px;margin-top:6px;background:#fff;color:#18314f;font-size:16px}
.ddch-form input:focus,.ddch-modal-dialog input:focus{outline:2px solid var(--ddch-accent);outline-offset:1px}
.ddch-form .ddch-check,.ddch-modal-dialog .ddch-check{display:flex;align-items:flex-start;gap:8px;font-weight:400}
.ddch-check input{margin-top:4px;flex-shrink:0}
.ddch-two{display:flex;gap:12px;align-items:baseline;justify-content:space-between}
.ddch-two>label{flex:1;min-width:0}
.ddch-btn,.ddch a.ddch-btn,.ddch-card a.ddch-btn,.ddch-modal-dialog .ddch-btn{display:inline-block;background:var(--ddch-accent,#0f5bd4);color:#fff;border:0;border-radius:12px;padding:12px 18px;text-align:center;font-weight:700;cursor:pointer;text-decoration:none;line-height:1.3;box-shadow:0 10px 24px rgba(15,91,212,.16)}
.ddch-ghost-btn{display:inline-block;background:#fff;color:var(--ddch-accent);border:1px solid #bed1f7;border-radius:12px;padding:12px 18px;text-align:center;font-weight:700;text-decoration:none}
.ddch-form .ddch-btn,.ddch-modal-dialog .ddch-btn{width:100%;margin:4px 0 16px}
.ddch-google{display:block;border:1px solid #cfd9e8;border-radius:12px;padding:12px;text-align:center;margin-bottom:16px;background:#fff}
.ddch-google b{color:#4285f4;margin-right:8px}
.ddch-link{background:none;border:0;color:#516b8e;text-decoration:underline;cursor:pointer;padding:8px 0}
.ddch-code{text-align:center;letter-spacing:12px;font-weight:800}
.ddch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}
.ddch-grid .ddch-card{margin:0 0 16px}
.ddch-grid img{width:100%;height:140px;object-fit:contain}
.ddch-order header,.ddch-order footer{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.ddch-order small,.ddch-item small{display:block;color:#6b7e95;font-size:12px}
.ddch-status{background:#edf2f9;color:#35506d;padding:6px 10px;border-radius:20px;font-size:12px;font-weight:700}
.ddch-status-completed{background:#e4f5e9;color:#176535}
.ddch-status-processing{background:#eef4ff;color:#0f5bd4}
.ddch-status-failed,.ddch-status-cancelled{background:#fde7e7;color:#a12525}
.ddch-items{margin:16px 0;border-block:1px solid #e4e7eb;padding:12px 0}
.ddch-item{display:flex;align-items:center;gap:12px;margin:8px 0}
.ddch-item img{width:64px;height:64px;object-fit:contain;border-radius:10px;background:#f7f9fc}
.ddch-fav button{border:1px solid #d6ddea;background:#fff;border-radius:10px;padding:7px 10px;cursor:pointer}
.ddch-checkout{padding:14px;border:1px solid #d9e2f0;border-radius:12px;margin-bottom:16px;background:#f8fbff}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;border:1px solid var(--ddch-line);border-radius:16px;overflow:hidden;background:#fff}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:14px 18px;border-bottom:1px solid #edf2f8;color:inherit}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:#eef4ff;border-left:4px solid var(--ddch-accent);font-weight:700;color:#0f2f61}

/* Dashboard */
.ddch-dashboard{display:grid;gap:18px}
.ddch-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:24px;border-radius:24px;background:linear-gradient(135deg,#edf4ff 0%,#ffffff 75%);border:1px solid #d9e6fa}
.ddch-hero h2{font-size:clamp(32px,4vw,48px);margin-bottom:10px}
.ddch-hero-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.ddch-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ddch-stat{display:block;padding:20px;border-radius:18px;border:1px solid #dce6f7;background:#fff;box-shadow:0 6px 18px rgba(15,30,60,.04)}
.ddch-stat small{display:block;color:#6f7f93;font-size:13px;margin-bottom:8px}
.ddch-stat strong{display:block;font-size:30px;line-height:1;color:#0f2f61;margin-bottom:10px}
.ddch-stat span{color:#0f5bd4;font-weight:600}
.ddch-panels{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.9fr);gap:18px;align-items:start}
.ddch-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}
.ddch-main-panel .ddch-card{margin-bottom:0}
.ddch-mini-card h3{margin-bottom:8px}
.ddch-links{list-style:none;padding:0;margin:0}
.ddch-links li+li{margin-top:12px}
.ddch-links a{display:block;padding:12px 0;border-bottom:1px dashed #e2ebf8;color:#123b70}
.ddch-support-card{background:linear-gradient(135deg,#0f5bd4 0%,#155dcd 100%);border-color:transparent}
.ddch-support-card h3,.ddch-support-card p{color:#fff}
.ddch-support-card .ddch-btn{background:#fff;color:#0f5bd4;box-shadow:none}

/* popup */
.ddch-modal-open{overflow:hidden}
.ddch-modal[hidden]{display:none !important}
.ddch-modal{position:fixed;inset:0;z-index:99999}
.ddch-modal-backdrop{position:absolute;inset:0;background:rgba(7,21,43,.62)}
.ddch-modal-dialog{position:relative;z-index:1;max-width:540px;margin:5vh auto;background:#fff;border-radius:24px;padding:24px 24px 18px;box-shadow:0 24px 64px rgba(8,22,43,.22)}
.ddch-modal-close{position:absolute;right:16px;top:14px;width:36px;height:36px;border-radius:50%;border:1px solid #d5dff0;background:#fff;font-size:24px;line-height:1;cursor:pointer}
.ddch-modal-brand{font-size:24px;font-weight:800;color:#0f2f61;margin-bottom:16px;padding-right:42px}
.ddch-modal-tabs{display:flex;gap:8px;background:#f2f6fd;padding:6px;border-radius:14px;margin-bottom:16px}
.ddch-modal-tabs button{flex:1;border:0;background:transparent;padding:12px 14px;border-radius:10px;font-weight:700;color:#5c6f86;cursor:pointer}
.ddch-modal-tabs button.is-active{background:#fff;color:#0f2f61;box-shadow:0 4px 14px rgba(15,30,60,.08)}
.ddch-modal-panel{display:none}
.ddch-modal-panel.is-active{display:block}
.ddch-modal-panel h3{font-size:24px}
.ddch-recaptcha{margin:10px 0 14px}

/* attempt to hide Avada/Woo default top welcome strip */
.woocommerce-account .fusion-woo-myaccount-user,
.woocommerce-account .fusion-woo-myaccount-data,
.woocommerce-account .avada-myaccount-user-column,
.woocommerce-account .avada-myaccount-data-column,
.woocommerce-account .woocommerce-MyAccount-content>p:first-child{display:none !important}

@media(max-width:900px){
 .ddch-stats,.ddch-panels{grid-template-columns:1fr}
 .ddch-hero{flex-direction:column;align-items:flex-start}
}
@media(max-width:700px){
 .ddch-auth{grid-template-columns:1fr;gap:12px;margin:10px auto}
 .ddch-intro{padding:22px;border-radius:18px}
 .ddch-intro h1{font-size:28px}
 .ddch-intro p{margin-bottom:0}
 .ddch-form{padding:18px}
 .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{width:100%!important;float:none!important}
 .woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;overflow:auto;white-space:nowrap}
 .woocommerce-account .woocommerce-MyAccount-navigation li{flex-shrink:0}
 .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{border-left:0;border-bottom:3px solid var(--ddch-accent)}
 .ddch-card{padding:16px;border-radius:14px}
 .ddch-order footer .ddch-btn{width:100%}
 .ddch-two{flex-direction:column;align-items:stretch}
 .ddch-modal-dialog{margin:3vh 12px;padding:18px}
}
