 /* ====== MOBILNE MENU OPLIXO ====== */
.menu-main_menu-container {
    position: relative;
    text-align: center;
    background: transparent;
    padding: 10px 0 20px 0;
}

/* Układ desktopowy */
.menu-main_menu-container ul.menu {
    list-style: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

 @media (max-width: 768px) {
     .menu-main_menu-container ul.menu li a {
         text-decoration: none;
         color: #222;
         font-weight: 600;
         font-size: 16px;
         transition: color 0.2s ease;
         padding: 8px 12px;
         border-radius: 6px;
     }

     .menu-main_menu-container ul.menu li a:hover {
         color: #ffc829;
         background-color: rgba(255, 200, 41, 0.15);
     }
 }
/* ====== HAMBURGER ====== */
.menu-toggle {
    display: none;
    position: fixed;
    right: 20px;
    top: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #222;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ====== Widok mobilny ====== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu-main_menu-container ul.menu {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        background: #fff;
        width: 80%;
        height: 100%;
        padding: 100px 30px 30px 30px;
        gap: 28px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
        transition: right 0.3s ease;
        z-index: 1050;
    }

    .menu-main_menu-container ul.menu.open {
        right: 0;
    }

    .menu-main_menu-container ul.menu li a {
        font-size: 18px;
        color: #111;
        padding: 12px 16px;
        border-radius: 8px;
        width: 100%;
        display: block;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .menu-main_menu-container ul.menu li a:hover {
        color: #ffc829;
        background-color: rgba(255, 200, 41, 0.15);
    }

    /* animacja hamburgera w stanie otwartym */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: #ffc829;
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: #ffc829;
    }
}


 /* === OFERTY: mobilne karty poziome + 2 kolumny w środku === */
 @media (max-width: 768px) {

     /* chowamy nagłówek tabeli */
     .elementor-shortcode .table thead { display: none; }

     /* slider kart poziomo */
     .elementor-shortcode .table-responsive {
         overflow-x: auto;
         -webkit-overflow-scrolling: touch;
         padding-bottom: 10px;
     }
     .elementor-shortcode .table tbody {
         display: flex;
         flex-wrap: nowrap;
         gap: 14px;
         overflow-x: auto;
         scroll-snap-type: x mandatory;
         padding: 4px;
     }

     /* pojedyncza karta (wiersz) */
     .elementor-shortcode .table tbody tr {
         position: relative;
         display: block;
         min-width: 290px;
         max-width: 360px;
         background: #fff;
         border: 1px solid #eee;
         border-radius: 16px;
         box-shadow: 0 4px 10px rgba(0,0,0,.08);
         padding: 16px 16px 14px;
         scroll-snap-align: start;
         text-align: left !important;
     }

     /* komórki w karcie */
     .elementor-shortcode .table tbody tr td {
         display: block;
         border: 0;
         padding: 4px 0 !important;
         text-align: left !important;
         font-size: 14px;
     }

     /* tytuł oferty */
     .elementor-shortcode .table tbody tr td:nth-child(1) {
         font-weight: 700;
         font-size: 18px;
         margin-bottom: 6px;
         padding-right: 48px; /* miejsce na ikonkę rzutów */
     }

     /* ikonka „Rzuty” przypięta w prawym górnym rogu karty */
     .elementor-shortcode .table tbody tr td:nth-child(2) {
         position: absolute;
         top: 12px;
         right: 12px;
         padding: 0 !important;
     }

     /* specyfikacje: kolumny 3–9 w dwóch szpaltach */
     .elementor-shortcode .table tbody tr td:nth-child(n+3):nth-child(-n+9) {
         display: inline-block;
         width: calc(50% - 8px);
         margin-right: 8px;
         vertical-align: top;
         line-height: 1.35;
     }

     /* status na pełną szerokość pod specyfikacją */
     .elementor-shortcode .table tbody tr td:nth-child(9) {
         width: 100%;
         margin-top: 4px;
     }

     /* kropka statusu */
     .elementor-shortcode .table .status-dot {
         width: 10px; height: 10px; border-radius: 50%;
         display: inline-block; margin-right: 6px; vertical-align: middle;
     }

     /* przycisk na pełną szerokość */
     .elementor-shortcode .table .oplx-table-btn { margin-top: 10px; }
     .elementor-shortcode .table .oplx-table-btn .btn {
         width: 100%;
         border: 1px solid #ffc829;
         background: transparent;
         color: #0f0f0f;
         font-weight: 600;
         transition: .2s;
     }
     .elementor-shortcode .table .oplx-table-btn .btn:hover {
         background: #ffc829;
         color: #000;
     }
 }