>
>
>
/* =========================================================
   DIGIW ADVERTISING ? COMPLETE WEBSITE CSS
   Elementor + ElementsKit Mega Menu
   ========================================================= */


/* =========================================================
   1. HEADER
   ========================================================= */

.digiw-header {
    position: relative;
    z-index: 9999;
    width: 100%;
    background: #ffffff;
}

.digiw-header .elementskit-menu-container {
    position: relative;
    z-index: 10000;
}

.digiw-header .elementskit-navbar-nav {
    align-items: center;
}

.digiw-header .elementskit-navbar-nav > li {
    position: relative;
}

.digiw-header .elementskit-navbar-nav > li > a {
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.digiw-header .elementskit-navbar-nav > li:hover > a,
.digiw-header .elementskit-navbar-nav > li.current-menu-item > a,
.digiw-header .elementskit-navbar-nav > li.current-menu-ancestor > a {
    color: var(--e-global-color-primary, #0a63c9);
}


/* =========================================================
   2. ELEMENTSKIT MEGA MENU
   ========================================================= */

.digiw-header .elementskit-megamenu-panel {
    background: #ffffff;
    border-top: 3px solid var(--e-global-color-primary, #0a63c9);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    padding: 28px !important;
    z-index: 10001 !important;
}

.digiw-header .elementskit-megamenu-panel,
.digiw-header .elementskit-dropdown {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.digiw-header li:hover > .elementskit-megamenu-panel,
.digiw-header li:hover > .elementskit-dropdown,
.digiw-header li.elementskit-dropdown-has:hover
    > .elementskit-megamenu-panel,
.digiw-header li.elementskit-megamenu-has:hover
    > .elementskit-megamenu-panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.digiw-header .elementskit-megamenu-panel .elementor-heading-title {
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
}

.digiw-header .elementskit-megamenu-panel a {
    color: #4b5563;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.digiw-header .elementskit-megamenu-panel a:hover {
    color: var(--e-global-color-primary, #0a63c9);
}

.digiw-header .elementskit-megamenu-panel .elementor-icon-list-item a {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.digiw-header .elementskit-megamenu-panel
    .elementor-icon-list-item a:hover {
    padding-left: 4px;
}


/* Prevent page content from covering the menu */

.site-content,
.elementor-location-single,
.elementor-location-archive {
    position: relative;
    z-index: 1;
}

.elementor-location-header,
.digiw-header {
    position: relative;
    z-index: 9999;
}


/* =========================================================
   3. HERO SECTION ? STABLE LOADING
   ========================================================= */

/*
Elementor classes:

Outer hero container:
digiw-hero-section

Inner HTML widget:
digiw-hero-widget
*/

.digiw-hero-section {
    position: relative !important;
    width: 100% !important;
    min-height: 500px !important;
    overflow: hidden !important;
    background: #071a2f;
    isolation: isolate;
}

.digiw-hero-section > .elementor-widget-image {
    position: relative !important;
    width: 100% !important;
    min-height: 500px !important;
    margin: 0 !important;
    z-index: 1 !important;
}

.digiw-hero-section > .elementor-widget-image img {
    display: block !important;
    width: 100% !important;
    min-height: 500px !important;
    object-fit: cover !important;
    object-position: center center;
}

.digiw-hero-section > .digiw-hero-widget {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 500px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    z-index: 2 !important;
    pointer-events: none;
}

.digiw-hero-section > .digiw-hero-widget .elementor-widget-container {
    width: 100%;
}

.digiw-hero-section .hero-content {
    width: 100%;
    max-width: 650px;
    margin: 0;
    padding: 35px 0 35px 6%;
    color: #ffffff;
    box-sizing: border-box;
    pointer-events: auto;
}

.digiw-hero-section .hero-label {
    display: inline-block;
    margin: 0 0 18px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    background: rgba(0, 174, 239, 0.18);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.digiw-hero-section .hero-title,
.digiw-hero-section .hero-content h1 {
    color: #ffffff !important;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 18px;
    max-width: 620px;
}

.digiw-hero-section .hero-content p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 0 28px;
}

.digiw-hero-section .hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 0 24px;
}

.digiw-hero-section .btn-whatsapp,
.digiw-hero-section .btn-services {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.digiw-hero-section .btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.digiw-hero-section .btn-whatsapp:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

.digiw-hero-section .btn-services {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.digiw-hero-section .btn-services:hover {
    color: #0b1b33;
    background: #ffffff;
    transform: translateY(-3px);
}

.digiw-hero-section .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.digiw-hero-section .hero-badges span {
    display: inline-block;
    padding: 8px 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 14px;
    line-height: 1.3;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* =========================================================
   4. TABLET HEADER AND MEGA MENU
   ========================================================= */

@media (max-width: 1024px) {

    .digiw-header .elementskit-menu-container {
        max-height: calc(100vh - 75px);
        overflow-x: hidden;
        overflow-y: auto;
    }

    .digiw-header .elementskit-megamenu-panel {
        width: 100% !important;
        max-width: none !important;
        padding: 15px !important;
        border-top: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .digiw-header .elementskit-megamenu-panel,
    .digiw-header .elementskit-dropdown {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transition: none;
    }

    .digiw-header .elementskit-navbar-nav > li > a {
        width: 100%;
    }
}


/* =========================================================
   5. MOBILE HERO
   ========================================================= */

@media (max-width: 767px) {

    .digiw-hero-section {
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        overflow: hidden !important;
        background: #071a2f;
    }

    .digiw-hero-section > .elementor-widget-image {
        order: 1;
        position: relative !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
    }

    .digiw-hero-section > .elementor-widget-image img {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        object-fit: contain !important;
    }

    .digiw-hero-section > .digiw-hero-widget {
        order: 2;
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        z-index: 2 !important;
    }

    .digiw-hero-section .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 24px 18px !important;
        box-sizing: border-box !important;
        color: #ffffff;
        background: rgba(4, 23, 44, 0.98);
        border: 0;
    }

    .digiw-hero-section .hero-label {
        margin: 0 0 12px !important;
        padding: 7px 12px !important;
        font-size: 11px !important;
    }

    .digiw-hero-section .hero-title,
    .digiw-hero-section .hero-content h1 {
        margin: 0 0 14px !important;
        max-width: 100% !important;
        font-size: 28px !important;
        line-height: 1.16 !important;
    }

    .digiw-hero-section .hero-content p {
        margin: 0 0 18px !important;
        max-width: 100% !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .digiw-hero-section .hero-buttons {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 9px !important;
        margin: 0 0 16px !important;
    }

    .digiw-hero-section .hero-buttons a {
        width: auto !important;
        min-height: 42px !important;
        margin: 0 !important;
        padding: 10px 15px !important;
        font-size: 12px !important;
        text-align: center !important;
    }

    .digiw-hero-section .hero-badges {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 7px !important;
    }

    .digiw-hero-section .hero-badges span {
        margin: 0 !important;
        padding: 7px 10px !important;
        font-size: 10px !important;
        white-space: nowrap !important;
    }
}


/* =========================================================
   6. FOOTER
   ========================================================= */

.digiw-footer {
    width: 100%;
    padding: 55px 6% 0;
    color: #ffffff;
    background: #071a2f;
    font-family: inherit;
    box-sizing: border-box;
}

.footer-wrap {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 35px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.digiw-footer h3,
.digiw-footer h4 {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 16px;
}

.digiw-footer h3 {
    font-size: 26px;
}

.digiw-footer h4 {
    font-size: 18px;
}

.digiw-footer p {
    color: #d7e2ef;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 10px;
}

.digiw-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.digiw-footer ul li {
    margin: 0 0 10px;
}

.digiw-footer a {
    display: inline-block;
    color: #d7e2ef;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.digiw-footer a:hover {
    color: #00aeef;
    transform: translateX(4px);
}

.digiw-footer .footer-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 12px 20px;
    color: #ffffff !important;
    background: #25d366;
    border-radius: 40px;
    font-weight: 700;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.digiw-footer .footer-whatsapp:hover {
    padding: 12px 20px;
    color: #ffffff !important;
    background: #1ebe5d;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 45px auto 0;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
}


/* =========================================================
   7. RESPONSIVE FOOTER
   ========================================================= */

@media (max-width: 900px) {

    .footer-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .digiw-footer {
        padding: 40px 22px 0;
    }

    .footer-wrap {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* =========================================================
   8. ELEMENTOR EDITOR CORRECTION
   ========================================================= */

.elementor-editor-active .digiw-hero-section {
    min-height: 500px !important;
}

.elementor-editor-active
.digiw-hero-section > .digiw-hero-widget {
    z-index: 5 !important;
}



/* =========================================================
   10. ALL PRODUCTS MEGA MENU - CATALOG GRID (2026-08-15)
   ========================================================= */

.digiw-header .elementskit-megamenu-panel .digiw-mega-products {
    width: 100%;
    box-sizing: border-box;
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #eef1f5;
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-kicker {
    display: block;
    color: #0a63c9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-title {
    color: #0b1b33 !important;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    background: #126e59;
    color: #ffffff !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-cta:hover {
    background: #0e5a49;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 36px;
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-col li {
    margin: 0 0 12px;
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-col a {
    display: block;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-col a:hover {
    color: #0a63c9;
    transform: translateX(3px);
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-col small {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-foot {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eef1f5;
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-foot a {
    color: #0a63c9;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-foot a:hover {
    text-decoration: underline;
}

.digiw-header .elementskit-megamenu-panel .digiw-mega-empty {
    color: #4b5563;
    margin: 0;
}

@media (max-width: 1024px) {
    .digiw-header .elementskit-megamenu-panel .digiw-mega-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .digiw-header .elementskit-megamenu-panel .digiw-mega-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 20px;
    }
}

@media (max-width: 560px) {
    .digiw-header .elementskit-megamenu-panel .digiw-mega-cols {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   11. MEGA MENU HOVER FIX - REMOVE GAP (2026-08-15)
   The panel anchors to the nav container bottom while the
   menu item only spans its text height, leaving a dead gap
   that drops the hover and hides the menu. Stretch items
   to the full column height so item and panel meet flush.
   ========================================================= */

.digiw-header .elementskit-navbar-nav > li {
    height: 100%;
}

.digiw-header .elementskit-navbar-nav > li > a {
    height: 100%;
}



/* =========================================================
   
/* =========================================================
   12. HERO HEIGHT FIX - MORE ROOM (2026-08-15)
   Hero content (~529px) overflowed the 500px hero and clipped
   elements. Raise to 580px on desktop; mobile keeps its
   auto-height stacked layout.
   ========================================================= */

@media (min-width: 768px) {
    .digiw-hero-section {
        min-height: 580px !important;
    }

    .digiw-hero-section > .elementor-widget-image {
        min-height: 580px !important;
    }

    .digiw-hero-section > .elementor-widget-image img {
        min-height: 580px !important;
    }

    .digiw-hero-section > .digiw-hero-widget {
        min-height: 580px !important;
    }

    .elementor-editor-active .digiw-hero-section {
        min-height: 580px !important;
    }
}


/* =========================================================
   13. ATTRACTIVE HEADER + SEARCH (2026-08-15)
   ========================================================= */

/* Sticky header */
.ekit-template-content-header {
    position: sticky;
    top: 0;
    z-index: 9990;
}
body.admin-bar .ekit-template-content-header {
    top: 32px;
}

/* Refined top bar */
.elementor-3165 .elementor-element.elementor-element-44011cec {
    background: linear-gradient(90deg, #eef7ff, #d6f0ff 55%, #e6f3ff) !important;
}
.elementor-3165 .elementor-icon-list-items .elementor-icon-list-item {
    font-size: 12.5px;
    letter-spacing: 0.2px;
}
.elementor-3165 .elementor-icon-list-item a:hover .elementor-icon-list-text {
    color: #fe0467 !important;
}

/* Main bar: shadow + accent line */
.elementor-3165 .elementor-element.elementor-element-3dc80ba1 {
    box-shadow: 0 6px 24px rgba(39, 49, 113, 0.08);
    position: relative;
}
.elementor-3165 .elementor-element.elementor-element-3dc80ba1::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #273171, #fe0467, #126e59);
    pointer-events: none;
}

/* Nav links: animated underline */
.digiw-header .elementskit-navbar-nav > li > a {
    position: relative;
    transition: color 0.25s ease;
}
.digiw-header .elementskit-navbar-nav > li > a::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 7px;
    height: 2px;
    border-radius: 2px;
    background: #fe0467;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}
.digiw-header .elementskit-navbar-nav > li:hover > a::after,
.digiw-header .elementskit-navbar-nav > li.current-menu-item > a::after {
    transform: scaleX(1);
}

/* Search toggle button */
.digiw-search-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid #273171;
    border-radius: 50%;
    background: #ffffff;
    color: #273171;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease,
        transform 0.25s ease, box-shadow 0.25s ease;
}
.digiw-search-toggle svg {
    width: 18px;
    height: 18px;
}
.digiw-header .digiw-search-toggle.digiw-search-toggle-placed {
    display: inline-flex;
}
.digiw-search-toggle:hover {
    background: #273171;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 49, 113, 0.25);
}

/* Search overlay */
body.digiw-search-open {
    overflow: hidden;
}
.digiw-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 17vh 20px 20px;
    background: rgba(11, 27, 51, 0.58);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}
.digiw-search-overlay[hidden] {
    display: none !important;
}
.digiw-search-card {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 24px 60px rgba(11, 27, 51, 0.25);
    animation: digiwSearchIn 0.25s ease;
}
@keyframes digiwSearchIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.digiw-search-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #273171;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.digiw-search-close:hover {
    background: #273171;
    color: #ffffff;
}
.digiw-search-kicker {
    color: #fe0467;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.digiw-search-title {
    color: #0b1b33;
    font-size: 26px;
    font-weight: 800;
    margin: 6px 0 0;
}
.digiw-search-form {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}
.digiw-search-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    border-bottom: 2px solid #dbe3ec;
    padding: 12px 2px;
    font-size: 18px;
    color: #0b1b33;
    outline: none;
    background: transparent;
    transition: border-color 0.2s ease;
}
.digiw-search-form input:focus {
    border-color: #fe0467;
}
.digiw-search-form button {
    border: 0;
    background: #273171;
    color: #ffffff;
    padding: 0 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.digiw-search-form button:hover {
    background: #fe0467;
    transform: translateY(-1px);
}
.digiw-search-hints {
    margin-top: 16px;
    font-size: 12px;
    color: #64748b;
}
.digiw-search-hints a {
    color: #273171;
    font-weight: 700;
    text-decoration: none;
}
.digiw-search-hints a:hover {
    color: #fe0467;
}

/* Mobile refinements */
@media (max-width: 1024px) {
    .elementor-3165 .elementor-element.elementor-element-3dc80ba1 {
        --flex-wrap-mobile: nowrap;
    }
    .elementor-3165 .elementor-element.elementor-element-3dc80ba1 .elementor-widget-ekit-nav-menu {
        flex-shrink: 0;
    }
}
@media (max-width: 600px) {
    .elementor-3165 .elementor-icon-list-items .elementor-icon-list-item:nth-child(2),
    .elementor-3165 .elementor-icon-list-items .elementor-icon-list-item:nth-child(3) {
        display: none;
    }
    .digiw-search-overlay {
        padding-top: 22vh;
    }
}
@media (max-width: 782px) {
    body.admin-bar .ekit-template-content-header {
        top: 46px;
    }
}


/* =========================================================
   14. LIVE SEARCH BAR IN HEADER (2026-08-15)
   Replaces the previous search button/overlay with a visible
   search bar with live product suggestions.
   ========================================================= */

/* Supersede the old button + overlay */
.digiw-search-toggle,
.digiw-search-overlay {
    display: none !important;
}

.digiw-search-bar {
    position: relative;
    margin-left: 18px;
}

.digiw-search-bar input {
    width: 250px;
    height: 44px;
    border: 1.5px solid #dbe3ec;
    background: #f8fafc;
    border-radius: 50px;
    padding: 0 46px 0 18px;
    font-size: 13px;
    color: #0b1b33;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.digiw-search-bar input::placeholder {
    color: #94a3b8;
}

.digiw-search-bar input:focus {
    border-color: #fe0467;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(254, 4, 103, 0.08);
}

.digiw-search-bar-icon {
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #273171;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.digiw-search-bar-icon svg {
    width: 15px;
    height: 15px;
}

.digiw-search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    min-width: 320px;
    background: #ffffff;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    z-index: 100000;
    max-height: 380px;
    overflow-y: auto;
}

.digiw-search-results[hidden] {
    display: none;
}

.digiw-search-results a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.digiw-search-results a:hover,
.digiw-search-results a.digiw-active {
    background: #f1f5f9;
}

.digiw-search-thumb {
    flex-shrink: 0;
}

.digiw-search-results img,
.digiw-search-noimg {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: contain;
    background: #f1f5f9;
    display: block;
}

.digiw-search-meta {
    min-width: 0;
}

.digiw-search-meta b {
    display: block;
    color: #0b1b33;
    font-size: 13px;
    line-height: 1.3;
}

.digiw-search-meta small {
    color: #64748b;
    font-size: 11px;
}

.digiw-search-all {
    border-top: 1px solid #eef1f5;
    color: #273171 !important;
    font-weight: 700;
    font-size: 12px;
    justify-content: center;
}

.digiw-search-empty {
    padding: 14px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 1024px) {
    .elementor-3165 .elementor-element.elementor-element-3dc80ba1 {
        --flex-wrap-mobile: wrap;
    }
    .digiw-search-bar {
        order: 3;
        flex: 1 0 100%;
        margin: 10px 0 4px;
    }
    .digiw-search-bar input {
        width: 100%;
    }
    .digiw-search-results {
        min-width: 0;
        max-height: 320px;
    }
}


/* =========================================================
   15. MOBILE FIXES + POLISH (2026-08-15)
   ========================================================= */

/* FIX: the old custom CSS forced the mobile menu to
   position:relative, so the off-canvas menu (with the full
   mega menu) sat inside the header on phones, inflating it
   and leaving a blank area above the hero. Restore the
   fixed off-canvas behaviour on tablet/mobile. */
@media (max-width: 1024px) {
    .digiw-header .elementskit-menu-container.elementskit-menu-offcanvas-elements {
        position: fixed !important;
        top: 0 !important;
        left: -100vw !important;
        height: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding-bottom: 10px !important;
    }
    .digiw-header .elementskit-menu-container.elementskit-menu-offcanvas-elements.active,
    .digiw-header .elementskit-menu-container.elementskit-menu-offcanvas-elements.elementskit-dropdown-open {
        left: 0 !important;
    }
}

/* Mobile menu polish: comfortable items + active state */
@media (max-width: 1024px) {
    .elementskit-menu-offcanvas-elements .elementskit-navbar-nav > li > a {
        font-size: 14px !important;
        padding: 14px 18px !important;
        border-bottom: 1px solid #f1f5f9;
    }
    .elementskit-menu-offcanvas-elements .elementskit-navbar-nav > li.current-menu-item > a {
        color: #fe0467 !important;
        font-weight: 700;
    }
    .elementskit-menu-offcanvas-elements .elementskit-menu-close {
        font-size: 13px;
        font-weight: 800;
        border-radius: 50%;
    }
}

/* Mobile hero polish: image shows around a rounded content card */
@media (max-width: 767px) {
    .digiw-hero-section .hero-content {
        margin: 14px 14px 18px !important;
        padding: 26px 22px !important;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: linear-gradient(
                180deg,
                rgba(7, 26, 47, 0.93),
                rgba(11, 27, 51, 0.97)
            )
            !important;
    }
    .digiw-hero-section .hero-title,
    .digiw-hero-section .hero-content h1 {
        font-size: 30px !important;
    }
    .digiw-hero-section .hero-buttons a {
        width: 100% !important;
    }
    .digiw-hero-section .hero-buttons {
        gap: 10px !important;
    }
}


/* =========================================================
   16. MOBILE HERO IMAGE (2026-08-15)
   The hero background image is only styled in Elementor's
   desktop CSS and the mobile content card covered the hero,
   so the image never showed on phones. Render the image as
   a block above the content card on mobile.
   ========================================================= */

@media (max-width: 767px) {
    .digiw-hero-section {
        background: #071a2f !important;
    }

    .digiw-hero-section::before {
        content: "";
        display: block;
        order: 1;
        width: 100%;
        height: 250px;
        background-image: url("https://www.digiwadvertising.com/wp-content/uploads/2026/07/digiw-printing-signboard-hero-1600x650-2-1024x416.webp");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-clip: border-box;
        flex-shrink: 0;
    }

    .digiw-hero-section > .digiw-hero-widget {
        order: 2;
    }
}


/* =========================================================
   17. MOBILE HERO IMAGE - FLOW FIX (2026-08-15)
   Elementor's .e-con::before rule positions the pseudo
   element absolutely; force it back into flow on mobile so
   the image block sits above the content card.
   ========================================================= */

@media (max-width: 767px) {
    .digiw-hero-section::before {
        position: relative !important;
    }
}


/* =========================================================
   18. MOBILE MEGA MENU - COMPACT (2026-08-15)
   On phones the full 43-product grid expanded as one giant
   column inside the menu. Show a compact list + CTA instead.
   ========================================================= */

.digiw-mega-desktop {
    display: block;
}

.digiw-mega-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .digiw-mega-desktop {
        display: none !important;
    }

    .digiw-mega-mobile {
        display: block;
    }

    /* Clean white off-canvas menu */
    .elementskit-menu-offcanvas-elements {
        background: #ffffff !important;
    }

    .digiw-mega-mobile-list {
        list-style: none;
        margin: 14px 0 0;
        padding: 0;
    }

    .digiw-mega-mobile-list li {
        margin: 0 0 12px;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 10px;
    }

    .digiw-mega-mobile-list a {
        color: #334155;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .digiw-mega-mobile-list a:hover {
        color: #fe0467;
    }

    .digiw-mega-mobile-cta {
        display: block;
        width: 100%;
        margin-top: 16px;
        padding: 13px 18px;
        text-align: center;
        background: #273171;
        color: #ffffff !important;
        border-radius: 50px;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
        box-sizing: border-box;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .digiw-mega-mobile-cta:hover {
        background: #fe0467;
        color: #ffffff !important;
        transform: translateY(-1px);
    }
}


/* =========================================================
   19. MOBILE MENU FIX - ITEM HEIGHTS + FOOTER (2026-08-15)
   The desktop hover-gap rule made every menu item stretch to
   the full menu height on phones (giant white gaps, only the
   first item visible). Reset item heights and pin a help
   footer to the bottom of the menu.
   ========================================================= */

@media (max-width: 1024px) {
    .digiw-header .elementskit-navbar-nav > li,
    .digiw-header .elementskit-navbar-nav > li > a {
        height: auto !important;
    }

    .elementskit-menu-offcanvas-elements {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    .elementskit-nav-identity-panel {
        order: -1 !important;
        flex-shrink: 0;
    }

    .elementskit-navbar-nav {
        order: 1 !important;
        flex: 1 1 auto;
    }

    .digiw-mobile-menu-footer {
        order: 2 !important;
        margin-top: auto;
        flex-shrink: 0;
        padding: 16px 18px;
        border-top: 1px solid #eef1f5;
        background: #f8fafc;
    }

    .digiw-mmenu-help {
        color: #64748b;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.4px;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .digiw-mmenu-phone {
        display: block;
        color: #273171;
        font-size: 15px;
        font-weight: 800;
        text-decoration: none;
        margin-bottom: 12px;
    }

    .digiw-mmenu-whatsapp {
        display: block;
        text-align: center;
        padding: 12px 18px;
        background: #25d366;
        color: #ffffff !important;
        border-radius: 50px;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .digiw-mmenu-whatsapp:hover {
        background: #1ebe5d;
        color: #ffffff !important;
        transform: translateY(-1px);
    }
}


/* =========================================================
   20. HIDE MOBILE MENU FOOTER ON DESKTOP (2026-08-15)
   ========================================================= */

.digiw-mobile-menu-footer {
    display: none !important;
}

@media (max-width: 1024px) {
    .digiw-mobile-menu-footer {
        display: block !important;
    }
}