.bottom-bar {
    box-sizing: border-box;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 600;
    max-width: 100%;
    width: 860px;
}

.wrapper-block-all  * {
    box-sizing: border-box;
}

.wrapper-block-all > * {
    margin: auto;
    box-sizing: border-box;
}
body .btn-fix-bottom {
    padding: 10px 18px;
    border-radius: 14px !important;
    background: linear-gradient(to right, #007BFF, #007BFF) !important;
    color: white !important;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(60, 130, 246, 0.3);
    white-space: nowrap;
}


.btn-fix-bottom:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 18px rgba(60, 130, 246, 0.4) !important;
}

body .btn-fix-bottom.secondary {
    background:#ff6b00 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

body .btn-fix-bottom.secondary:hover {
    background: #ff6b00 !important;
    color: #fff  !important;
}

.search-box-fixed {
    position: relative;
    width: 240px;
    flex-shrink: 0;
}

.search-box-fixed input {
    width: 100%;
    padding: 10px 44px 10px 14px;
    border-radius: 12px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    font-size: 14px;
    outline: none;
    transition: 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    height: initial !important;
}

.search-box-fixed input:hover {
    background: rgba(255, 255, 255, 0.8);
}

.search-box-fixed input:focus {
    border-color: #4b91f1;
    background: white;
    box-shadow: 0 0 10px rgba(75, 145, 241, 0.3);
}

.search-box-fixed svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: #555;
}

.menu-wrapper {
    position: relative;
}

.hamburger-fixed {
    width: 44px;
    height: 44px;
    border: none;
    /* background: rgba(255, 255, 255, 0.8) !important; */
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: 0.3s ease;
}

.hamburger-fixed:hover {
    background: white !important;
    transform: scale(1.05);
}

.hamburger-fixed div {
    width: 22px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

.menu-bot {
    position: absolute;
    bottom: 60px;
    left: 0;
    background: white;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
    min-width: 160px;
}

.menu-bot.show {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.menu-bot a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: 0.2s;
}

.menu-bot a:hover {
    background: #f2f6ff;
    color: #0056d2;
}

.menu-bot a:last-child {
    border-bottom: none;
}

.wrapper-block-all{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    width: 100%;
}

@media (max-width: 768px) {

    .menu-wrapper{
        position: absolute;
    }

    .wrapper-block-all > .search-box-fixed {
        order: 1;
        grid-column: 1 / -1;
        width: 80%;
        position: relative;
        right: -30px;
    }

    .wrapper-block-all > .btn-fix-bottom {
        order: 3;
    }

    .wrapper-block-all > .secondary{
        order: 4;
    }

    .wrapper-block-all > * {
        margin: auto;
    }
    .wrapper-block-all {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom-bar {
        bottom: 16px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: calc(100% - 24px);
        padding: 14px;
        width: 90%;
    }

    .search-box-fixed {
        width: 100%;
        max-width: 100%;
        order: 1;
    }

    .btn-fix-bottom, .btn-fix-bottom.secondary {
        width: 48%;
        min-width: 140px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn-fix-bottom, .btn-fix-bottom.secondary {
        width: 100%;
    }

    .hamburger-fixed {
        order: -1;
    }
}

@media (min-width: 867px){

    .hamburger-fixed{
        position: relative;
        left: -51px;
    }

    .search-box-fixed{
        position: relative;
        width: 240px;
        left: -114px;
    }
}
@media (min-width: 770px) and  (max-width: 866px){

    .menu-wrapper {
        position: relative;
        left: -63px;
    }

    .search-box-fixed {
        position: relative;
        width: 240px;
        flex-shrink: 0;
        left: -118px;
    }

    .first-btn{
        position: relative;
        left: 20px;
        top: 2px;
    }
}
@media screen and  (max-width: 769px) {
    .btn-fix-bottom, .btn-fix-bottom.secondary {
        width: 56%;
        min-width: 140px;
        text-align: center;
    }

    .btn-fix-bottom.secondary{
        min-width: 200px;
    }

    .hamburger-fixed {
        width: 32px;
        height: 32px;
    }

    .hamburger-fixed div {
        width: 17px;
        height: 2px;
    }
    .search-box-fixed input {
        height: 32px;
        width: 100%;
    }
    .menu-wrapper {
        position: absolute;
        left: 26px;
    }
}

@media screen and  (max-width: 480px) {
    .wrapper-block-all{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
        width: 100%;
        column-gap: 20px;
    }

    .wrapper-block-all > .btn-fix-bottom {
        order: 3;
        width: 158px;
        font-size: 10px;
        /* padding: 0 !important; */
        min-width: 30% !important;
        float: left;
        margin: auto;
        display: block;
    }

    body .first-btn {
        width: 111px !important;
    }

    .search-box-fixed input {
        height: 31px;
    }
    .hamburger-fixed {
        width: 30px;
        height: 30px;
    }

    .hamburger-fixed div {
        width: 16px;
        height: 2px;
    }

    body .wrapper-block-all {
        display: grid;
    }
    .menu-wrapper{
        left: initial;
    }
}
@media screen and  (max-width: 390px) {
    body .wrapper-block-all {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
        gap: 6px;
        width: 100%;
        column-gap: 16px;
    }

    body .first-btn{
        width: 86px !important;
    }
    .wrapper-block-all > .btn-fix-bottom {
        font-size: 7px;
        width: 115px;
    }
    .menu-wrapper{
        left: initial;
    }
}



@media screen and (max-width: 262px){
    .wrapper-block-all > .btn-fix-bottom {
        order: 3;
        width: 93px !important;
        font-size: 8px;
        padding: 6px 6px !important;
        float: left;
        margin: auto;
        min-width: initial;
        display: block;
        position: relative;
        top: 4px;
    }

    .first-btn{
        max-width: 75px;
    }
    .search-box-fixed input {
        height: 27px;
    }

    body  .wrapper-block-all{
        grid-template-columns: repeat(auto-fit, minmax(81px, 1fr));
    }

    .hamburger-fixed {
        height: 30px;
        width: 30px;
        top: -4px;
        position: relative;
    }

    .hamburger-fixed div {
        width: 16px;
        height: 2px;
    }

    .wrapper-block-all > .search-box-fixed {
        right: -21px;
        top: -3px;
    }

    .secondary {
        top: 10px;
    }

    body .wrapper-block-all {
        gap: 1px;
        column-gap: 4px;
    }

    .search-box-fixed input {
        font-size: 11px;
    }
    .menu-wrapper{
        left: initial;
    }
}
