/* Digital Dealz footer + newsletter — shared across all frontend pages */
.dd-footer-wrap{
    margin-top:0;
}

.dd-newsletter-bar{
    background:#f7f8fc;
    padding:55px 0 45px;
}

.dd-newsletter-bar .container{
    width:92%;
    max-width:1400px;
    margin:auto;
}

.dd-newsletter-bar .newsletter{
    background:linear-gradient(100deg,#6227e9,#a02ce2,#d82a9d);
    border-radius:14px;
    padding:28px 35px;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.dd-newsletter-bar .news-content{
    display:flex;
    align-items:center;
    gap:15px;
}

.dd-newsletter-bar .news-icon{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.15);
    border-radius:10px;
    font-size:20px;
    flex-shrink:0;
}

.dd-newsletter-bar .news-content h3{
    font-size:18px;
    margin:0 0 4px;
    font-weight:700;
}

.dd-newsletter-bar .news-content p{
    font-size:12px;
    opacity:.85;
    margin:0;
}

.dd-newsletter-bar .news-form{
    display:flex;
    background:#fff;
    border-radius:8px;
    overflow:hidden;
    width:450px;
    max-width:100%;
    flex-shrink:0;
}

.dd-newsletter-bar .news-form input{
    flex:1;
    border:0;
    outline:0;
    padding:13px 17px;
    font-size:14px;
    min-width:0;
}

.dd-newsletter-bar .news-form button{
    border:0;
    background:#5e2add;
    color:#fff;
    padding:0 20px;
    cursor:pointer;
    font-weight:600;
    white-space:nowrap;
}

.dd-flash{
    margin-top:12px;
    font-size:13px;
    text-align:center;
}

.dd-flash--success{color:#059669;}
.dd-flash--error{color:#dc2626;}

.dd-global-footer.footer,
.digital-dealz-page .footer{
    margin-top:0;
    background:#080f28;
    color:#fff;
    padding:55px 0 20px;
}

.dd-global-footer .container,
.digital-dealz-page .footer .container{
    width:92%;
    max-width:1400px;
    margin:auto;
}

.dd-global-footer .logo,
.digital-dealz-page .logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:25px;
    font-weight:800;
    text-decoration:none;
    color:inherit;
}

.dd-global-footer .logo-icon,
.digital-dealz-page .logo-icon{
    width:43px;
    height:43px;
    border-radius:13px;
    background:linear-gradient(135deg,#0bbcff,#7138ff,#d62bce);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:21px;
    box-shadow:0 8px 25px rgba(98,54,255,.4);
    color:#fff;
}

.dd-global-footer .logo span,
.digital-dealz-page .logo span{
    color:#fff;
}

.dd-global-footer .logo b,
.digital-dealz-page .logo b{
    background:linear-gradient(90deg,#478cff,#c73cff);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.dd-global-footer .logo-img,
.digital-dealz-page .logo-img{
    max-height:44px;
    width:auto;
    display:block;
}

.dd-global-footer .logo-img--footer,
.digital-dealz-page .logo-img--footer{
    max-height:48px;
    margin-bottom:8px;
}

.dd-global-footer .footer-grid,
.digital-dealz-page .footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr 1.4fr;
    gap:45px;
    padding:0;
}

.dd-global-footer .footer-logo,
.digital-dealz-page .footer-logo{
    margin-bottom:18px;
    height:auto;
    width:auto;
    text-decoration:none;
    display:inline-flex;
}

.dd-global-footer .footer-about,
.digital-dealz-page .footer-about{
    color:#9ba3b8;
    font-size:13px;
    line-height:1.8;
    max-width:300px;
}

.dd-global-footer .footer h4,
.digital-dealz-page .footer h4{
    font-size:15px;
    margin-bottom:18px;
    color:#fff;
}

.dd-global-footer .footer-links,
.digital-dealz-page .footer-links{
    display:flex;
    flex-direction:column;
    gap:9px;
}

.dd-global-footer .footer-links a,
.digital-dealz-page .footer-links a{
    color:#929aaf;
    font-size:12px;
    text-decoration:none;
}

.dd-global-footer .footer-links a:hover,
.digital-dealz-page .footer-links a:hover{
    color:#fff;
}

.dd-global-footer .social,
.digital-dealz-page .social{
    display:flex;
    gap:9px;
    margin-top:20px;
}

.dd-global-footer .social a,
.digital-dealz-page .social a{
    width:34px;
    height:34px;
    border:1px solid #3d4663;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#d8dced;
    text-decoration:none;
}

.dd-global-footer .contact-item,
.digital-dealz-page .contact-item{
    display:flex;
    gap:9px;
    color:#9ba3b8;
    font-size:12px;
    margin-bottom:12px;
}

.dd-global-footer .contact-item i,
.digital-dealz-page .contact-item i{
    color:#7546ff;
    margin-top:2px;
}

.dd-global-footer .footer-bottom,
.digital-dealz-page .footer-bottom{
    border-top:1px solid #202943;
    margin-top:40px;
    padding-top:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-align:left;
    color:#788198;
    font-size:11px;
    flex-wrap:wrap;
    gap:15px;
    background:transparent;
    opacity:1;
}

.dd-global-footer .footer-bottom-right,
.digital-dealz-page .footer-bottom-right{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:10px;
}

.dd-dev-credit{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:transparent;
    color:#929aaf;
    text-decoration:none;
    font-size:11px;
    font-weight:500;
    padding:0;
    white-space:nowrap;
    line-height:1;
    transition:color .2s;
}

.dd-dev-credit:hover{
    color:#fff;
}

.dd-dev-credit img{
    height:18px;
    width:auto;
    display:block;
}

.dd-global-footer .payment,
.digital-dealz-page .payment{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
}

.dd-global-footer .payment span,
.digital-dealz-page .payment span{
    background:#fff;
    color:#333;
    padding:3px 9px;
    border-radius:4px;
    font-size:10px;
}

.dd-global-footer .payment-logo,
.digital-dealz-page .payment-logo{
    height:22px;
    width:auto;
    background:#fff;
    padding:3px 8px;
    border-radius:4px;
}

@media (max-width: 767px){
    body.app-home .dd-global-footer.footer{
        padding-bottom:calc(80px + env(safe-area-inset-bottom));
    }
}

@media(max-width:1100px){
    .dd-global-footer .footer-grid,
    .digital-dealz-page .footer-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:768px){
    .dd-newsletter-bar .newsletter{
        flex-direction:column;
        align-items:stretch;
        padding:24px 20px;
    }
    .dd-newsletter-bar .news-form{
        width:100%;
    }
    .dd-global-footer .footer-grid,
    .digital-dealz-page .footer-grid{
        grid-template-columns:1fr 1fr;
    }
    .dd-global-footer .footer-bottom,
    .digital-dealz-page .footer-bottom{
        flex-direction:column;
        align-items:flex-start;
    }
    .dd-global-footer .footer-bottom-right,
    .digital-dealz-page .footer-bottom-right{
        align-items:flex-start;
        width:100%;
    }
    .dd-dev-credit{
        white-space:normal;
        flex-wrap:wrap;
    }
}

@media(max-width:480px){
    .dd-global-footer .footer-grid,
    .digital-dealz-page .footer-grid{
        grid-template-columns:1fr;
        gap:30px;
    }
}


/* SAM PRO INSPIRED FOOTER THEME — ROYAL BLUE + YELLOW */
.dd-newsletter-bar{background:#f8fafc;}
.dd-newsletter-bar .newsletter{
    background:linear-gradient(110deg,#071366 0%,#0a1b8b 100%);
    border:1px solid rgba(10,27,139,.08);
    border-radius:18px;
    box-shadow:0 14px 34px rgba(10,27,139,.13);
}
.dd-newsletter-bar .news-icon{background:rgba(255,195,0,.16);color:#ffc300;}
.dd-newsletter-bar .news-form{border-radius:999px;padding:4px;}
.dd-newsletter-bar .news-form input{border-radius:999px;padding-left:18px;}
.dd-newsletter-bar .news-form button{
    background:#ffc300;
    color:#071366;
    border-radius:999px;
    padding:0 23px;
    font-weight:800;
}
.dd-newsletter-bar .news-form button:hover{background:#f0b900;}
.dd-global-footer.footer,
.digital-dealz-page .footer{
    background:linear-gradient(180deg,#071366 0%,#050d45 100%);
    color:#fff;
    border-top:3px solid #ffc300;
}
.dd-global-footer .logo-icon,
.digital-dealz-page .footer .logo-icon{
    background:linear-gradient(145deg,#0a1b8b,#1742c2);
    color:#ffc300;
    box-shadow:0 8px 22px rgba(0,0,0,.22);
}
.dd-global-footer .logo b,
.digital-dealz-page .footer .logo b{
    background:none;
    color:#ffc300;
    -webkit-text-fill-color:#ffc300;
}
.dd-global-footer .footer h4,
.digital-dealz-page .footer h4{color:#fff;}
.dd-global-footer .footer-links a:hover,
.digital-dealz-page .footer-links a:hover{color:#ffc300;}
.dd-global-footer .social a,
.digital-dealz-page .social a{border-color:rgba(255,255,255,.22);}
.dd-global-footer .social a:hover,
.digital-dealz-page .social a:hover{
    border-color:#ffc300;
    background:#ffc300;
    color:#071366;
}
.dd-global-footer .contact-item i,
.digital-dealz-page .contact-item i{color:#ffc300;}
.dd-global-footer .footer-bottom,
.digital-dealz-page .footer-bottom{border-top-color:rgba(255,255,255,.14);}


/* V17 — responsive footer and admin-configured mobile app download links. */
.dd-footer-apps{margin-top:20px;max-width:340px;color:#fff;}
.dd-footer-apps>strong{display:block;font-size:12px;font-weight:850;margin-bottom:9px;color:#fff;}
.dd-footer-apps__links{display:flex;flex-wrap:wrap;gap:8px;}
.dd-footer-apps__links>a{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:6px 10px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(255,255,255,.07);color:#fff!important;text-decoration:none;transition:background .2s,border-color .2s,transform .2s;}
.dd-footer-apps__links>a:hover{background:rgba(255,255,255,.14);border-color:#ffc300;transform:translateY(-1px);}
.dd-footer-apps__links>a>i{font-size:21px;color:#ffc300;}
.dd-footer-apps__links>a span{display:flex;flex-direction:column;line-height:1.15;}
.dd-footer-apps__links>a small{font-size:8px;letter-spacing:.04em;color:#c2c9d8;}
.dd-footer-apps__links>a b{font-size:11px;color:#fff;}
@media(max-width:1100px){.dd-global-footer .footer-grid,.digital-dealz-page .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;}}
@media(max-width:768px){.dd-newsletter-bar{padding:34px 0 28px;}.dd-newsletter-bar .newsletter{flex-direction:column;align-items:stretch;padding:21px 18px;gap:17px;}.dd-newsletter-bar .news-form{width:100%;}.dd-global-footer.footer,.digital-dealz-page .footer{padding:38px 0 18px;}.dd-global-footer .footer-grid,.digital-dealz-page .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px;}.dd-global-footer .footer-grid>div:first-child,.digital-dealz-page .footer-grid>div:first-child{grid-column:1/-1;}.dd-global-footer .footer-bottom,.digital-dealz-page .footer-bottom{align-items:flex-start;flex-direction:column;}.dd-global-footer .footer-bottom-right,.digital-dealz-page .footer-bottom-right{align-items:flex-start;width:100%;}.dd-footer-apps{max-width:100%;}}
@media(max-width:480px){.dd-newsletter-bar .container,.dd-global-footer .container,.digital-dealz-page .footer .container{width:calc(100% - 28px);}.dd-newsletter-bar .newsletter{border-radius:13px;}.dd-newsletter-bar .news-content h3{font-size:16px;}.dd-newsletter-bar .news-form button{padding:0 12px;font-size:12px;}.dd-global-footer .footer-grid,.digital-dealz-page .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 13px;}.dd-global-footer .footer-grid h4,.digital-dealz-page .footer-grid h4{font-size:14px;margin-bottom:11px;}.dd-global-footer .footer-links,.digital-dealz-page .footer-links{gap:8px;}.dd-global-footer .footer-links a,.digital-dealz-page .footer-links a{font-size:11px;overflow-wrap:anywhere;}.dd-footer-apps__links>a{min-height:40px;padding:6px 8px;}.dd-global-footer .footer-bottom,.digital-dealz-page .footer-bottom{gap:12px;font-size:10px;}.dd-dev-credit{white-space:normal;}}


/* V31 — compact mobile footer, robust responsive copyright and supplied payment strip. */
.dd-footer-wrap,
.dd-newsletter-bar,
.dd-global-footer,
.dd-global-footer .container,
.dd-global-footer .footer-grid,
.dd-global-footer .footer-bottom,
.dd-global-footer .footer-bottom-left,
.dd-global-footer .footer-bottom-right { min-width:0; }

.dd-global-footer .footer-grid {
    grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr)) minmax(0,1.4fr);
    align-items:start;
}
.dd-global-footer .footer-grid > div { min-width:0; }
.dd-global-footer .footer-about,
.dd-global-footer .contact-item span,
.dd-global-footer .footer-links a { overflow-wrap:anywhere; word-break:normal; }
.dd-global-footer .footer-bottom {
    width:100%; gap:16px 24px; align-items:center;
}
.dd-global-footer .footer-bottom-left {
    flex:1 1 260px; min-width:0; line-height:1.65;
    overflow-wrap:anywhere; white-space:normal;
}
.dd-global-footer .footer-bottom-right {
    flex:0 1 auto; min-width:0; max-width:100%;
    display:flex; flex-direction:column; align-items:flex-end; gap:10px;
}
.dd-supported-payments { display:flex; align-items:center; justify-content:flex-end; width:100%; min-width:0; }
.dd-supported-payments img {
    display:block; width:auto; height:auto; max-width:min(100%,360px); max-height:46px;
    object-fit:contain; object-position:right center;
}
.dd-global-footer .dd-dev-credit { max-width:100%; white-space:normal; flex-wrap:wrap; justify-content:flex-end; }

@media (max-width: 767px) {
    /* Avoid the oversized reserved bottom area on inner pages. */
    body.digital-dealz-page .dd-global-footer.footer,
    body.digital-dealz-page .footer.dd-global-footer {
        padding:30px 0 calc(16px + env(safe-area-inset-bottom)) !important;
        margin-bottom:0 !important;
    }
    body.digital-dealz-page .dd-footer-wrap { margin-top:0 !important; padding-bottom:0 !important; }
    .dd-newsletter-bar { padding:28px 0 22px; }
    .dd-newsletter-bar .newsletter { width:100%; min-width:0; }
    .dd-newsletter-bar .news-content { min-width:0; align-items:flex-start; }
    .dd-newsletter-bar .news-content > div:last-child { min-width:0; }
    .dd-newsletter-bar .news-content h3,
    .dd-newsletter-bar .news-content p { overflow-wrap:anywhere; }
    .dd-newsletter-bar .news-form { min-width:0; }
    .dd-newsletter-bar .news-form input { min-width:0; width:100%; }
    .dd-global-footer .footer-grid {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:22px 16px !important;
    }
    .dd-global-footer .footer-grid > div:first-child { grid-column:1 / -1; }
    .dd-global-footer .footer-bottom {
        margin-top:26px !important; padding-top:15px !important;
        display:flex !important; flex-direction:column !important;
        align-items:stretch !important; text-align:center !important; gap:13px !important;
    }
    .dd-global-footer .footer-bottom-left {
        flex:0 1 auto; width:100%; text-align:center !important;
        font-size:11px; line-height:1.7; overflow-wrap:anywhere;
    }
    .dd-global-footer .footer-bottom-right {
        width:100%; max-width:100%; align-items:center !important;
        flex:0 1 auto; gap:11px;
    }
    .dd-supported-payments { justify-content:center; }
    .dd-supported-payments img {
        max-width:min(100%,340px); max-height:42px; object-position:center;
    }
    .dd-global-footer .dd-dev-credit { justify-content:center; text-align:center; font-size:10px; }
}

@media (max-width: 380px) {
    .dd-global-footer .footer-grid { gap:20px 11px !important; }
    .dd-global-footer .footer-grid h4 { font-size:13px !important; }
    .dd-global-footer .footer-links a,
    .dd-global-footer .contact-item { font-size:10px !important; }
    .dd-newsletter-bar .newsletter { padding:18px 14px !important; }
    .dd-newsletter-bar .news-form button { padding:0 10px !important; font-size:11px !important; }
}


/* V32: compact supported-payments artwork and remove inner-page footer dead space. */
.dd-footer-wrap, .dd-global-footer.footer {
    min-height:0 !important;
    height:auto !important;
    max-height:none !important;
}
.dd-global-footer.footer { margin-bottom:0 !important; }
.dd-supported-payments {
    max-width:100%;
    overflow:hidden;
}
.dd-supported-payments img {
    width:clamp(190px, 24vw, 290px) !important;
    max-width:100% !important;
    max-height:36px !important;
    height:auto !important;
    object-fit:contain !important;
}
@media(max-width:767px) {
    html body .dd-footer-wrap,
    html body .dd-global-footer.footer {
        min-height:0 !important;
        height:auto !important;
        padding-bottom:0 !important;
        margin-bottom:0 !important;
    }
    html body .dd-global-footer.footer {
        padding:28px 0 calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .dd-global-footer .footer-bottom {
        margin-bottom:0 !important;
        padding-bottom:0 !important;
    }
    .dd-global-footer .footer-bottom-right { gap:8px !important; }
    .dd-supported-payments img {
        width:min(74vw, 265px) !important;
        max-height:34px !important;
    }
    .dd-global-footer .dd-dev-credit { margin:0 !important; }
}
