@font-face{
    font-family: 'Inter';
    src: url('storage/Inter-Regular.woff2') format('woff2');
}
@font-face{
    font-family: 'Inter';
    src: url('storage/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
}

:root {
    --ligth-bg-color: #F0F0F0;
    --dark-bg-color: #202124;
    --blue-color: #1246ba;
}

@media (pointer: fine) {
    ::-webkit-scrollbar {
        height: 12px;
        width: 12px;
    }
    ::-webkit-scrollbar-track:hover { /* трек */
        background: #6661;
    }
    ::-webkit-scrollbar-thumb { /* ползунок */
        background: #6664;
        border-radius: 2px;
    }
    ::-webkit-scrollbar-thumb:hover { /* ползунок */
        background: #6666;
    }
}

::placeholder{
    white-space: nowrap;
    overflow: hidden;
}
input:not([type="checkbox"]):not([type="radio"]){
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}
body,div,h1,h2,h3,font,nobr,p,a,form,label,input{
    margin:0;
}
img, a{
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    -o-user-drag: none;
}
img{
    pointer-events: none;
}
a{
    text-decoration: none;
}
.selfMode * {
    cursor: none!important;
}

html{
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust:100%;
    -moz-text-size-adjust:100%;
    -ms-text-size-adjust:100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
body{
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .5em;
    background-color: var(--ligth-bg-color);
    background-attachment:fixed;
    background-size: 300px;
    color:#222;
    min-width: 240px;
    max-width: 1320px;
    margin: auto;
}
.btn{
    cursor: pointer;
}
header{
    padding: 0 20px;
    margin: 5px;
}
section{
    padding: 0 20px 20px;
}

.headerContent{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    margin-top: 20px;
}
.headerContent > div{
    display: flex;
    align-items: center;
}

.headerContent > div:first-of-type{
    margin-right: auto;
}


.logo{
    width: 162px;
    height: 39px;
}

.phone{
    background: var(--blue-color);
    color: #ACD4F0;
    padding: 6px 13px 5px;
    border-radius: 15px;
    font-size: 1.4em;
    white-space: nowrap;
}
.lang{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin: 0 22px;
}
.menu{
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.menu > div{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 32px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: .4s;
    pointer-events: none;
}

.menu > div:first-of-type{
    transform: translateY(-4px);
}
.menu > div:last-of-type{
    transform: translateY(4px);
}

.menu.openMenu > div:first-of-type{
    transform: rotate(-45deg);
}
.menu.openMenu > div:last-of-type{
    transform: rotate(45deg);
}

.menuContent{
    overflow: hidden;
    padding-bottom: 10px;
    height: 0;
    transition: .5s;
}

input[type="text"],
input[type="number"],
input[type="password"] {
    width: 100%;
    padding: 20px;
    padding-left: 60px;
    border: none;
    border-radius: 40px;
    box-sizing: border-box;
    font-size: initial;
    font-family: inherit;
    outline-offset: -1px;
}

.inputBlock{
    position: relative;
}
.search{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    margin: auto;
    width: 26px;
    height: 26px;
}

.searchBlock{
    margin-top: 20px;
}
.companiesBlock{
    background: #fff;
    border-radius: calc(20px + 1vw);
    margin-top: 30px;
}
.companiesBlock > a{
    display: inline-block;
    width: calc((100% / 2) - 45px);
    aspect-ratio: 1;
    margin-bottom: 30px;
    margin-left: 30px;
    border-radius: 50%;
}
.companiesBlock > a:first-child {
    margin-top: 30px;
}
.companiesBlock > a > img{
    width: 100%;
}

.tagsBlock{
    border-radius: calc(20px + 1vw);
    margin-top: 30px;
}
.tagsBlock > a{
    display: inline-block;
    padding: 10px 20px;
    padding: clamp(5px, 2%, 10px) clamp(10px, 4%, 20px);
    margin-bottom: 10px;
    margin-bottom: clamp(5px, 2%, 10px);
    margin-right: 10px;
    margin-right: clamp(5px, 2%, 10px);
    font-size: 1.25em;
    color: #888;
    background: #fff;
    border-radius: 20px;
}
.tagsBlock > a::first-letter {
    text-transform: uppercase;
}






.notFound{
    font-size: initial;
    margin-top: 20vh;
    text-align: center;
    width: 100%;
    color: #666;
}
.flag{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.cardBlock{
    display: flex;
    flex-wrap: wrap;
}

.cardCompany,
.cardProduct{
    aspect-ratio: 1 / 1.5;
    margin: 5px;
}


.previewProduct{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 5px;
}


.cardCompany,
.cardProduct,
.previewProduct{
    background: #fff;
    border-radius: calc(20px + 1vw);
}

.previewProduct .left{
    width: 100%;
}
.previewProduct .left > div{
    border-bottom: 1px #e8e8e8 solid;
}

.previewProduct .right{

}

.cardCompany > div,
.cardProduct > div{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10%;
    box-sizing: border-box;
    height: 100%;
}

.companyHead{
    display: flex;
}
.companyLogo,
.companyRegion {
    width: 35%;
    border-radius: 50%;
}
.companyLogo{
    z-index: 1;
}
.companyRegion {
    margin-left: -6%;
    filter: brightness(0.95);
}
.companyName{
    font-size: 2.8em;
    font-weight: bold;
    margin-top: 20px;
}
.companyInfo,
.productName{
    margin-top: auto;
    font-size: 1.9em;
    /*font-weight: bold;*/
}


.productContainer{
    position: relative;
    height: 100%;
}
.productImgContainer{
    display: flex;
    height: 83%;
}
.productTextContainer{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, #fff 0%, #fff0 100%);
}
.productTextContainer .productName,
.productTextContainer .productInfo {
    mix-blend-mode: difference;
    word-break: break-word;
    color: #666;
}
.productTextContainer .productInfo {
    font-size: 1.4em;
    margin-top: 15px;
}
.productImg{
    width: 100%;
    margin: auto;
}


.previewProduct .left > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 10%;
    box-sizing: border-box;
}
.previewProduct .right > div{
    height: 100%;
    padding: 10%;
    box-sizing: border-box;
}



.previewProduct .productImg{
    width: 100%;
    height: 100%;
    object-fit: contain;
    overflow: auto;
}
.previewProduct .productName{
    font-size: 1.2em;
    font-weight: bold;
    color: #222;
    margin-top: 40px;
}
.previewProduct .productInfo{
    color: #666;
    margin-top: 10px;
}
.previewProduct .companyName{
    color: #000;
}
.previewProduct .companyInfo{
    margin-top: 10px;
    font-size: 1em;
    color: #000;
}
.previewProduct .productFullInfo{
    margin-top: 40px;
    font-size: 1.2em;
    color: #999;
}
.previewProduct .productFullInfo > div{
    margin-bottom: 8px;
}
.productFullInfo b{
    color: #303030;
}
.productFullInfo span{
    color: #7EBB2A;
}





@media (max-width: 340px) {
    .headerContent .logo{
        width: 40px;
        background-size: 165px;
        background-position-x: left;
    }

}

@media (max-width: 520px) {
    .headerContent .phone{
        position: fixed;
        top: 0;
        bottom: 0;
        right: -50px;
        margin: auto 10px;
        width: fit-content;
        height: fit-content;
        transform: rotate(-90deg);
        z-index: 3;
        box-shadow: 0 0 20px #0004;
    }
    header:has(.menuContent) .headerContent .phone{
        display: none;
    }
}

@media (min-width: 360px) and (max-width: 520px) {
    .cardProduct .productInfo {
        display: none;
    }
}


@media (min-width: 360px) {

    .cardCompany,
    .cardProduct {
        width: calc((100% / 2) - 10px);
    }
    .companiesBlock > a{
        width: calc((100% / 3) - 40px);
    }
}

@media (min-width: 440px) {

    body{
        font-size: .6em;
    }
    header{
        margin: 8px;
    }
    .cardCompany,
    .cardProduct {
        margin: 8px;
        width: calc((100% / 2) - 16px);
    }
    .previewProduct{
        margin: 8px;
    }
    .companiesBlock > a{
        width: calc((100% / 4) - 37px);
    }
}


@media (min-width: 640px) {

    body{
        font-size: .8em;
    }
    header{
        margin: 10px;
    }
    .cardCompany,
    .cardProduct {
        margin: 10px;
        width: calc((100% / 2) - 20px);
    }
    .previewProduct{
        margin: 10px;
    }

    .companiesBlock > a{
        width: calc((100% / 5) - 36px);
    }

}

@media (min-width: 1000px) {

    .cardCompany,
    .cardProduct{
        width: calc((100% / 3) - 20px);
    }

    .previewProduct{
        max-height: 752px;
    }
    .previewProduct .left{
        width: calc((100% / 3) * 2 + 10px);
        height: 100%;
    }
    .previewProduct .left > div{
        border-right: 1px #e8e8e8 solid;
        border-bottom: none;
    }

    .previewProduct .right{
        width: calc((100% / 3) - 10px);
    }
    .previewProduct .left > div{
        padding: 10vmin 5%;
        padding: clamp(0px, 10vmin, 140px) 5%;
    }
    .previewProduct .right > div{
        padding: 10vmin 10%;
        padding: clamp(0px, 10vmin, 140px) 10%;
    }
}


.cardProduct,
.previewProduct {
    opacity: 0;
    transform: translateY(20px); /* Изначальное смещение вниз */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* Настройка перехода */
}

/* Когда блок появляется (например, при добавлении класса "show") */
.cardProduct.visible,
.previewProduct.visible {
    opacity: 1;
    transform: translateY(0);
}



.up {
    position: fixed;
    bottom: -200px;
    right: 0;
    margin: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: .5s;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 20px #7f7f7f38;
    mix-blend-mode: luminosity;
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 624600 624600' fill='%238888'%3E%3Cpath d='M125200 217100c-4400,3700 -7000,9300 -7000,15000 0,10800 8800,19600 19600,19600 5800,0 11300,-2600 15000,-7000l140700 -140600 0 464500c500,10500 9100,18600 19600,18600 10400,0 19000,-8100 19500,-18600l0 -464500 140600 140800c3700,3500 8600,5500 13700,5500 5200,0 10100,-2000 13800,-5500 3700,-3700 5700,-8600 5700,-13800 0,-5100 -2000,-10100 -5700,-13700l-174100 -174100c-3600,-3800 -8500,-5900 -13700,-5900 -5200,0 -10200,2100 -13800,5900l-173900 173800z'/%3E%3C/svg%3E%0A");
}







.logoIcon{
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 166 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M25.6255 6.10767V15.369L12.8129 20.9767L0 15.369V6.10767L12.8129 11.7151L25.6255 6.10767Z' fill='%231246BA'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M25.6255 15.369V24.6307L12.8129 30.2383L0 24.6307V15.369L12.8129 20.9767L25.6255 15.369Z' fill='%23FF8000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M25.6255 24.6307V33.8924L12.8129 39.5L0 33.8924V24.6307L12.8129 30.2384L25.6255 24.6307Z' fill='%23DE009B'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M25.6255 6.10766L12.8129 11.7151L0 6.10766L12.8129 0.5L25.6255 6.10766Z' fill='%2368C42F'/%3E%3Cpath d='M51.0701 33.0867C57.6245 33.0867 61.7745 29.4603 61.7745 22.0683V8.29572H56.4046V22.2776C56.4046 26.1479 54.4171 28.1353 51.1393 28.1353C47.8614 28.1353 45.874 26.0782 45.874 22.1033V8.29572H40.5049V22.2425C40.5049 29.4257 44.5144 33.0867 51.0701 33.0867Z' fill='%23303030'/%3E%3Cpath d='M65.3623 32.7032H70.6626V22.2776C70.6626 19.7674 71.9526 18.4769 73.9747 18.4769C75.9976 18.4769 77.1828 19.7674 77.1828 22.2776V32.7032H82.4823V20.6041C82.4823 16.3152 80.1463 13.6653 76.1368 13.6653C73.4518 13.6653 71.8825 15.0949 70.6626 16.6638V14.0138H65.3623V32.7032Z' fill='%23303030'/%3E%3Cpath d='M85.8623 11.9567H91.4411V7.24963H85.8623V11.9567ZM86.0015 32.7031H91.3015V14.0138H86.0015V32.7031Z' fill='%23303030'/%3E%3Cpath d='M94.959 32.7032H100.259V22.2776C100.259 19.7674 101.48 18.4769 103.467 18.4769C105.455 18.4769 106.57 19.7674 106.57 22.2776V32.7032H111.87V22.2776C111.87 19.7674 113.091 18.4769 115.078 18.4769C117.066 18.4769 118.181 19.7674 118.181 22.2776V32.7032H123.481V20.534C123.481 16.0363 121.11 13.6653 117.17 13.6653C114.624 13.6653 112.672 14.7113 111.033 16.6292C110.057 14.7464 108.209 13.6653 105.769 13.6653C103.084 13.6653 101.48 15.0949 100.259 16.6638V14.0138H94.959V32.7032Z' fill='%23303030'/%3E%3Cpath d='M126.86 11.9567H132.439V7.24963H126.86V11.9567ZM126.999 32.7031H132.3V14.0138H126.999V32.7031Z' fill='%23303030'/%3E%3Cpath d='M134.39 32.7032H139.933L143.699 26.8801L147.465 32.7032H153.149L146.558 23.1144L152.869 14.0139H147.325L143.803 19.4534L140.317 14.0139H134.634L140.944 23.2191L134.39 32.7032Z' fill='%23303030'/%3E%3Cpath d='M165.36 10.5647C165.36 8.71954 163.89 7.24927 162.044 7.24927C160.215 7.24927 158.729 8.71954 158.729 10.5647C158.729 12.3944 160.215 13.8798 162.044 13.8798C163.89 13.8798 165.36 12.3944 165.36 10.5647ZM164.859 10.5647C164.859 12.1128 163.592 13.3794 162.044 13.3794C160.48 13.3794 159.229 12.1128 159.229 10.5647C159.229 9.00062 160.48 7.75003 162.044 7.75003C163.592 7.75003 164.859 9.00062 164.859 10.5647ZM163.608 12.4722L162.592 10.9557C162.81 10.9557 163.561 10.6741 163.561 9.82959C163.561 9.12602 162.967 8.67241 162.326 8.67241H160.778V12.4722H161.309V10.9712H161.966L162.951 12.4722H163.608ZM163.014 9.82959C163.014 10.2205 162.654 10.4865 162.326 10.4865H161.309V9.14158H162.326C162.654 9.14158 163.014 9.40754 163.014 9.82959Z' fill='%23303030'/%3E%3C/svg%3E%0A");
}

.closeIcon{
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3585 3585"><polygon points="385,120 1792,1527 3200,120 3466,386 2059,1793 3466,3200 3200,3466 1792,2059 385,3466 119,3200 1526,1793 119,386 " fill="%23fff"/></svg>');
}
.searchIcon{
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3585 3585"><path d="M3392 2934l-611 -611c166,-240 263,-530 263,-843 0,-816 -664,-1480 -1480,-1480 -816,0 -1480,664 -1480,1480 0,818 664,1482 1480,1482 225,0 438,-52 629,-141l657 656c70,71 164,108 264,108 104,0 201,-39 274,-113 149,-150 151,-391 4,-538l0 0zm-2716 -1454c0,-489 398,-888 888,-888 490,0 888,399 888,888 0,490 -398,890 -888,890 -490,0 -888,-400 -888,-890z" fill="%23ddd"/></svg>');
}




@media (hover: hover) {

    .btn:hover {
        transition: .2s;
    }

    .headerContent .btn:not(:active):hover {
        filter: brightness(1.1);
    }

    .companiesBlock > .btn:not(:active):hover {
        animation: zoomer 1.1s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    }

    .cardProduct.btn:not(:active):hover img{
        filter: contrast(1.1) saturate(.9);
    }
    .cardProduct.btn:not(:active):hover {
        animation: blinker 1.1s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    }

    .tagsBlock > .btn:hover {
        background: #999;
        color: #fff;
    }



    @keyframes zoomer {
        50% {
            transform: scale(1.03);
        }
    }
    @keyframes blinker {
        50% {
            opacity: .75;
        }
    }
}

.btn:active{
    opacity: .6;
}

