/*
Theme Name: My Digital Card Hub
Theme URI: https://mydigitalcardhub.com/
Author: My Digital Card Hub
Description: Professional white, navy and gold WordPress theme for MyDigitalCardHub.com with a purpose-built NFC and digital card storefront homepage.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mydigitalcardhub
*/
:root{--mdch-navy:#071f45;--mdch-navy-2:#0d356e;--mdch-gold:#d69a22;--mdch-gold-2:#efb945;--mdch-text:#142033;--mdch-muted:#5d6676;--mdch-line:#e7e9ee;--mdch-soft:#f7f8fa;--mdch-white:#fff;--mdch-radius:18px;--mdch-shadow:0 10px 30px rgba(7,31,69,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--mdch-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}a{color:var(--mdch-navy);text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1180px,calc(100% - 40px));margin:auto}.site-header{background:#fff;border-bottom:1px solid rgba(7,31,69,.08);position:sticky;top:0;z-index:100}.header-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:26px}.brand img{width:178px;display:block}.main-nav{display:flex;align-items:center;gap:27px;font-size:14px;font-weight:700;letter-spacing:.01em}.main-nav a{padding:34px 0 29px;border-bottom:3px solid transparent}.main-nav a:hover{color:var(--mdch-gold);border-color:var(--mdch-gold)}.header-actions{display:flex;align-items:center;gap:13px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border-radius:9px;font-weight:800;border:1px solid transparent;transition:.2s ease}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--mdch-navy);color:#fff}.btn-gold{background:linear-gradient(135deg,var(--mdch-gold-2),var(--mdch-gold));color:#fff}.hero{padding:56px 0 48px}.hero-grid{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:34px}.eyebrow{color:var(--mdch-gold);font-size:13px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.hero h1{font-size:clamp(46px,6vw,76px);line-height:.98;letter-spacing:-.045em;margin:14px 0 20px;color:var(--mdch-navy)}.hero h1 span{color:var(--mdch-gold)}.hero p{font-size:18px;color:var(--mdch-muted);max-width:590px;margin-bottom:28px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.hero-art img{display:block;width:100%;filter:drop-shadow(0 18px 25px rgba(7,31,69,.10))}.mini-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:36px}.mini-benefit{padding-right:12px}.mini-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--mdch-line);color:var(--mdch-navy);font-size:24px;margin-bottom:8px}.mini-benefit strong{display:block;color:var(--mdch-navy);font-size:13px;text-transform:uppercase}.mini-benefit span{font-size:13px;color:var(--mdch-muted)}.audience{background:var(--mdch-navy);color:#fff;border:1px solid var(--mdch-gold);border-radius:18px;padding:24px 28px;margin:14px auto 54px}.audience-grid{display:grid;grid-template-columns:2fr repeat(4,1fr);align-items:center}.audience-intro{padding-right:28px}.audience-intro h3{margin:0 0 5px}.audience-intro p{margin:0;color:#d8e1ef;font-size:14px}.audience-item{text-align:center;border-left:1px solid rgba(239,185,69,.5);padding:8px 14px}.audience-item b{display:block;color:var(--mdch-gold-2);font-size:28px}.audience-item span{font-size:12px;font-weight:800}.section{padding:44px 0}.section-title{text-align:center;margin-bottom:34px}.section-title h2{font-size:34px;margin:0;color:var(--mdch-navy);letter-spacing:-.025em}.section-title:after{content:"";display:block;width:42px;height:3px;background:var(--mdch-gold);margin:10px auto 0}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.step{text-align:center;position:relative}.step-badge{width:36px;height:36px;border-radius:50%;background:var(--mdch-gold);color:#fff;display:grid;place-items:center;font-weight:900;margin:0 auto 12px}.step-icon{width:100px;height:100px;border-radius:50%;background:#faf8f3;margin:0 auto 16px;display:grid;place-items:center;font-size:42px;color:var(--mdch-navy)}.step h3{font-size:15px;color:var(--mdch-navy);margin:0 0 6px}.step p{font-size:13px;color:var(--mdch-muted);margin:0}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product-card{background:#fff;border:1px solid var(--mdch-line);border-radius:16px;padding:16px;text-align:center;box-shadow:var(--mdch-shadow);position:relative}.product-card img{height:170px;width:100%;object-fit:contain;margin:8px auto 12px}.product-card h3{color:var(--mdch-navy);font-size:17px;margin:2px 0}.product-card p{color:var(--mdch-muted);font-size:13px;min-height:40px}.price{font-size:21px;font-weight:900;color:var(--mdch-navy);margin:8px 0 14px}.badge{position:absolute;left:13px;top:13px;background:var(--mdch-gold);color:#fff;font-weight:900;font-size:11px;padding:8px 10px;border-radius:7px;transform:rotate(-4deg)}.plans-cta{margin:52px auto 24px;background:linear-gradient(90deg,var(--mdch-navy),var(--mdch-navy-2));color:#fff;border:1px solid var(--mdch-gold);border-radius:18px;padding:26px 34px;display:flex;align-items:center;justify-content:space-between;gap:25px}.plans-cta h3{margin:0;font-size:25px}.plans-cta p{margin:4px 0 0;color:#e5edf7}.check-row{display:flex;gap:24px;flex-wrap:wrap;margin-top:10px;font-size:13px}.check-row span:before{content:"✓";color:var(--mdch-gold-2);font-weight:900;margin-right:7px}.trust-row{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--mdch-line);border-radius:15px;margin:18px auto 62px;background:#fff;box-shadow:0 6px 20px rgba(7,31,69,.05)}.trust-item{padding:20px;display:flex;gap:12px;align-items:center}.trust-item b{color:var(--mdch-navy);font-size:13px}.trust-item span{display:block;color:var(--mdch-muted);font-size:12px}.site-footer{border-top:1px solid var(--mdch-line);padding:36px 0;background:#fff}.footer-inner{display:flex;justify-content:space-between;gap:30px;align-items:center}.footer-brand img{width:140px}.footer-copy{color:var(--mdch-muted);font-size:13px}.content-area{padding:50px 0}.entry-title{color:var(--mdch-navy)}input,select,textarea{border:1px solid #d9dde5;border-radius:8px;padding:12px;background:#fff;color:var(--mdch-text)}button,.button,.wp-element-button{background:var(--mdch-navy)!important;color:#fff!important;border-radius:8px!important;border:none!important}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--mdch-navy)!important;color:#fff!important}.woocommerce-message,.woocommerce-info{border-top-color:var(--mdch-gold)!important}.woocommerce-message:before,.woocommerce-info:before{color:var(--mdch-gold)!important}
@media(max-width:960px){.main-nav{display:none}.hero-grid{grid-template-columns:1fr}.hero-art{order:-1;max-width:650px;margin:auto}.audience-grid{grid-template-columns:1fr 1fr}.audience-intro{grid-column:1/-1;margin-bottom:18px}.audience-item{border-left:0;border-top:1px solid rgba(239,185,69,.35)}.steps,.products{grid-template-columns:repeat(2,1fr)}.trust-row{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.container{width:min(100% - 28px,1180px)}.header-inner{min-height:74px}.brand img{width:135px}.header-actions .btn{padding:11px 14px;font-size:12px}.hero{padding-top:26px}.hero h1{font-size:46px}.mini-benefits{grid-template-columns:1fr}.audience-grid,.steps,.products,.trust-row{grid-template-columns:1fr}.audience-item{padding:14px}.plans-cta,.footer-inner{flex-direction:column;align-items:flex-start}.plans-cta .btn{width:100%}}


/* =========================================================
   My Digital Card Hub v1.0.1
   Navy/blue buttons always use white text
   ========================================================= */
:root {
    --mdch-navy: #062653;
    --mdch-navy-dark: #031b3d;
    --mdch-white: #ffffff;
}

/* Theme buttons */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.wp-block-button__link,
.mdch-btn,
.mdch-button,
.mdch-btn-primary,
.mdch-primary-button,
a.mdch-btn,
a.mdch-button,
a.mdch-btn-primary,
a.mdch-primary-button {
    color: #ffffff !important;
}

/* Explicit navy/blue button backgrounds */
.mdch-btn-primary,
.mdch-primary-button,
.mdch-hero .mdch-btn-primary,
.mdch-product-card .button,
.mdch-product-card .mdch-btn,
.mdch-cta .mdch-btn,
.mdch-header .mdch-btn,
.mdch-nav .mdch-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
    color: #ffffff !important;
}

/* Keep button text white on hover/focus/visited */
.mdch-btn-primary:hover,
.mdch-btn-primary:focus,
.mdch-btn-primary:visited,
.mdch-primary-button:hover,
.mdch-primary-button:focus,
.mdch-primary-button:visited,
.mdch-product-card .button:hover,
.mdch-product-card .button:focus,
.mdch-product-card .button:visited,
.woocommerce a.button:hover,
.woocommerce a.button:focus,
.woocommerce a.button:visited,
.woocommerce button.button:hover,
.woocommerce button.button:focus,
.woocommerce input.button:hover,
.woocommerce input.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-block-button__link:visited {
    color: #ffffff !important;
}

/* Links/icons nested inside navy buttons inherit white */
.mdch-btn-primary *,
.mdch-primary-button *,
.mdch-product-card .button *,
.woocommerce a.button *,
.wp-block-button__link * {
    color: inherit !important;
}


/* =========================================================
   v1.0.2 FIX — Force WHITE text on ALL navy/blue CTA buttons
   Placed at the very end of style.css to override prior rules.
   ========================================================= */

/* Standard CTA/button elements */
body a.mdch-btn,
body a.mdch-button,
body a.mdch-btn-primary,
body a.mdch-primary-button,
body .mdch-btn,
body .mdch-button,
body .mdch-btn-primary,
body .mdch-primary-button,
body .mdch-home a.button,
body .mdch-home button,
body .mdch-home input[type="submit"],
body .mdch-home input[type="button"],
body .mdch-hero a[class*="btn"],
body .mdch-hero a[class*="button"],
body .mdch-product-card a,
body .mdch-product-card .button,
body .mdch-cta a[class*="btn"],
body .mdch-cta a[class*="button"],
body .mdch-subscription-cta a,
body .wp-block-button__link,
body .wp-element-button,
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce #respond input#submit,
body .woocommerce a.button.alt,
body .woocommerce button.button.alt,
body .woocommerce input.button.alt,
body .woocommerce #respond input#submit.alt {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-decoration-color: #ffffff !important;
}

/* Every interaction state */
body a.mdch-btn:link,
body a.mdch-btn:visited,
body a.mdch-btn:hover,
body a.mdch-btn:focus,
body a.mdch-btn:active,
body a.mdch-button:link,
body a.mdch-button:visited,
body a.mdch-button:hover,
body a.mdch-button:focus,
body a.mdch-button:active,
body a.mdch-btn-primary:link,
body a.mdch-btn-primary:visited,
body a.mdch-btn-primary:hover,
body a.mdch-btn-primary:focus,
body a.mdch-btn-primary:active,
body .mdch-product-card a:link,
body .mdch-product-card a:visited,
body .mdch-product-card a:hover,
body .mdch-product-card a:focus,
body .mdch-product-card a:active,
body .woocommerce a.button:link,
body .woocommerce a.button:visited,
body .woocommerce a.button:hover,
body .woocommerce a.button:focus,
body .woocommerce a.button:active {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Child spans/icons sometimes have their own inherited theme color */
body .mdch-btn *,
body .mdch-button *,
body .mdch-btn-primary *,
body .mdch-primary-button *,
body .mdch-product-card .button *,
body .mdch-cta a *,
body .mdch-subscription-cta a *,
body .wp-block-button__link *,
body .wp-element-button *,
body .woocommerce a.button * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Direct navy-background utility support */
body [style*="background:#062653"],
body [style*="background: #062653"],
body [style*="background-color:#062653"],
body [style*="background-color: #062653"],
body [style*="background:#002855"],
body [style*="background: #002855"],
body [style*="background-color:#002855"],
body [style*="background-color: #002855"] {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body [style*="background:#062653"] *,
body [style*="background: #062653"] *,
body [style*="background-color:#062653"] *,
body [style*="background-color: #062653"] *,
body [style*="background:#002855"] *,
body [style*="background: #002855"] *,
body [style*="background-color:#002855"] *,
body [style*="background-color: #002855"] * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
