/* ==========================================================================
   DESKTOP SECTION MODULE: GLASSMORPHIC NAVIGATION BAR & FULL-WIDTH MEGA MENU
   Range: Min-Width 992px
   ========================================================================== */

.tech-desktop-nav-bar {
    display: none;
}

@media (min-width: 992px) {

    /* Outer Navigation Horizontal Group */
    .tech-desktop-nav-bar {
        display: flex !important;
        align-items: center !important;
        gap: 28px !important;
    }

    .tech-nav-item-link {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #333333 !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 8px 0 !important;
        transition: color 0.2s ease !important;
        white-space: nowrap !important;
    }

    .tech-nav-item-link:hover,
    .tech-mega-menu-trigger-wrap.is-open .tech-mega-trigger-link {
        color: #d385aa !important;
    }

    .tech-deals-badge {
        color: #FF4F00 !important;
        font-weight: 700 !important;
    }

    .tech-caret-icon {
        transition: transform 0.3s ease;
    }

    .tech-mega-menu-trigger-wrap.is-open .tech-caret-icon {
        transform: rotate(180deg);
    }

    /* FULL-WIDTH FIT-TO-SCREEN MEGA MENU FLYOUT PANEL */
    .tech-mega-menu-flyout-panel {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(35px) !important;
        -webkit-backdrop-filter: blur(35px) !important;
        border: 1px solid rgba(211, 133, 170, 0.22) !important;
        border-radius: 24px !important;
        box-shadow: 0 20px 50px rgba(87, 48, 53, 0.12) !important;
        padding: 28px 32px !important;
        box-sizing: border-box !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(10px);
        transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
        z-index: 2000 !important;
    }

    .tech-mega-menu-trigger-wrap.is-open .tech-mega-menu-flyout-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* Inner 2-Column Grid Split */
    .tech-mega-menu-inner-container {
        display: grid;
        grid-template-columns: 230px 1fr;
        gap: 40px;
        align-items: start;
    }

    .tech-mega-heading {
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
        color: #8c6c70;
        text-transform: uppercase;
        margin: 0 0 16px 0;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(211, 133, 170, 0.15);
    }

    /* LEFT COLUMN: Categories */
    .tech-mega-cat-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
    }

    .tech-mega-cat-list li {
        margin-bottom: 10px !important;
    }

    .tech-mega-cat-list a {
        font-family: 'Montserrat', sans-serif;
        font-size: 13.5px;
        font-weight: 500;
        color: #573035;
        text-decoration: none;
        transition: color 0.2s ease, padding-left 0.2s ease;
        display: block;
    }

    .tech-mega-cat-list a:hover {
        color: #d385aa;
        padding-left: 4px;
    }

    .tech-mega-cta-button {
        display: inline-block;
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.5px;
        color: #FF4F00;
        text-decoration: none;
        padding: 9px 16px;
        border: 1px solid rgba(255, 79, 0, 0.25);
        border-radius: 10px;
        background: rgba(255, 79, 0, 0.04);
        transition: all 0.2s ease;
    }

    .tech-mega-cta-button:hover {
        background: #FF4F00;
        color: #ffffff;
    }

    /* RIGHT COLUMN: Featured Products (Spans cleanly across remaining width) */
    .tech-mega-product-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .tech-mega-product-card {
        background: #ffffff;
        border-radius: 14px;
        border: 1px solid rgba(211, 133, 170, 0.15);
        overflow: hidden;
        text-decoration: none;
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        display: flex;
        flex-direction: column;
    }

    .tech-mega-product-card:hover {
        transform: translateY(-4px);
        border-color: #d385aa;
        box-shadow: 0 10px 22px rgba(211, 133, 170, 0.15);
    }

    .tech-mega-card-thumb {
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        background: #fafafa;
    }

    .tech-mega-card-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .tech-mega-product-card:hover .tech-mega-card-thumb img {
        transform: scale(1.06);
    }

    .tech-mega-card-info {
        padding: 12px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;
    }

    .tech-mega-card-title {
        font-family: 'Playfair Display', serif;
        font-size: 12px;
        font-weight: 700;
        color: #333333;
        margin: 0 0 4px 0;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .tech-mega-card-price,
    .tech-mega-card-price .woocommerce-Price-amount {
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 700;
        color: #FF4F00;
    }
}