html,
body {
    overflow-x: hidden;
}

#mainMenu a {
    white-space: nowrap;
    /* color: black; */
}

@media (max-width: 1279px) {

    #mainMenu a,
    #mainMenu a:hover,
    #mainMenu a:focus {
        color: #fff;
        background: transparent !important;
    }

    .mainLogo {
        margin: 0 !important;
    }

    #mainMenu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        max-width: 100%;
        backdrop-filter: blur(10px);
        background: rgb(59 130 246 / 500%);
        overflow-y: auto;
    }
    .subMenu {
        background: transparent !important;
        border: none;
    }

    @media (min-width: 768px) {
        #mainMenu {
            width: 40vw;
            max-width: 40vw;
        }
    }

    #mainMenu>* {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        color: white !important;
        text-align: left;
        margin: 0;
        height: auto !important;
    }

    #mainMenu>*:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    #mainMenu .hover\:text-primary:hover {
        color: white;
    }

    .subMenu {
        position: unset !important;
        max-height: 0px !important;
        padding: 0 !important;
        transition: .2s all ease-in-out !important;
    }

    .menuBlock:hover .subMenu {
        max-height: 1500px !important;
        background: transparent !important;
        border: none;
        box-shadow: none !important;
        padding-left: 0;
    }

    .menuBlock:hover .subMenu a {
        color: #fff;
    }
}

/* =========================
   Mobile Card Layout
   ========================= */
@media (max-width: 768px) {

    /* Hide table header */
    #specialTable thead {
        display: none;
    }

    /* Reset table structure */
    #specialTable,
    #specialTable tbody,
    #specialTable tr,
    #specialTable td {
        display: block;
        width: 100%;
    }

    #specialTable tbody {
        background: #f5f7f9;
        border-color: transparent !important;
    }

    /* Each row becomes a card */
    #specialTable tr {
        margin-bottom: 1rem;
        border: 1px solid #e5e7eb;
        border-radius: 0.75rem;
        padding: 0.75rem;
        background: #ffffff;
    }

    /* Dark mode support */
    .dark #specialTable tr {
        background: #0f172a;
        border-color: #334155;
    }

    /* Cell layout */
    #specialTable td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border: none;
        white-space: normal;
    }

    /* Label */
    #specialTable td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #64748b;
        padding-right: 1rem;
        flex-shrink: 0;
    }

    /* Price emphasis */
    #specialTable td[data-label*="Price"] {
        font-size: 1rem;
        font-weight: 700;
    }

    /* Action button full width */
    #specialTable td[data-label="Action"] {
        justify-content: center;
        margin-top: 0.75rem;
    }

    #specialTable td[data-label="Action"] a {
        width: 100%;
        text-align: center;
    }

    /* Remove the Action label text */
    #specialTable td[data-label="Action"]::before {
        display: none;
        content: none;
    }

    /* Center & isolate the button */
    #specialTable td[data-label="Action"] {
        justify-content: center;
        padding-top: 0.75rem;
    }

    /* Make button full width */
    #specialTable td[data-label="Action"] a {
        width: 100%;
        text-align: center;
    }
}