@import url('./typography.css');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: "Saira", sans-serif;
}

.w50 {
    width: 50%;
}

img {
    max-width: 100%;
    max-height: 100%;
}

a {
    text-decoration: none;
}

.hidden {
    display: none;
}

.anim-opacity {
    transition: opacity 0.3s linear;
}

.footer-menus {
    background-color: #1f1f1f;
    color: #fff;
    font-size: 10px;
    padding: 6px 8px;
}

.footer-menus a {
    color: #fff;
}

#admin-menu {
    position: fixed;
    right: 0;
    bottom: 0;
    border-top-left-radius: 7px;
}

#footer {
    background-color: #1f1f1f;
    color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    font-size: 7px;
    border-top-right-radius: 7px;
    padding: 6px 8px;
}

#footer a {
    color: #fff;
}

.noevents {
    pointer-events: none;
}

/*******************************************************************************
                                                                         Helpers
*/

.flex {
    display: flex;
}

/*******************************************************************************
                                                                      Scrollbars
*/

/* width */
::-webkit-scrollbar {
  width: 10px;
  opacity: 1;
  overflow: visible;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: transparent;
    cursor: grab;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #a3aaad;
}

:hover::-webkit-scrollbar-thumb {
  background: #a3aaad;
}

:hover::-webkit-scrollbar-track {
  background: #f4f4f4;
}
/*******************************************************************************
                                                                         Headers
*/

h1, .h1 {
    font-weight: 600;
    font-size: 26px;
    line-height: 36px;
}

h2, .h2 {
    font-weight: 500;
    font-size: 16px;
    line-height: 21px;
    color: #2468FF;
}

h3, .h3 {
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
    margin-top: 15px;
    margin-bottom: 10px;
}

/*******************************************************************************
                                                                          Titles
*/

.icon-title span.icon {
    display: inline-block;
    height: 100%;
}

.icon-title.h1 img {
    height: 20px;
}

.icon-title.h3 img {
    height: 9px;
}

.icon-title {
    text-transform: uppercase;
}


.small-underlined.title {
    font-size: 12px;
    line-height: 17px;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 2px solid;
    padding-left: 3px;
    padding-right: 3px;
}

/*******************************************************************************
                                                                           Forms
*/

/* TODO ZZ SELECT style */
input, select {
    border: none;
    background-color: #f4f4f4;
    padding: 8px;
}

input:focus, select:focus, input:focus-visible, select:focus-visible {
    box-shadow: 0px 0px 3px -1px #2468ff;
    outline: none;
}

select {
    min-height: 27px;
    min-width: 100px;
}

/*******************************************************************************
                                                                          Loader
*/
/* HTML: <div class="loader"></div> */
.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid #7a7a7a;
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}
@keyframes l20-1{
   0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
   12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
   25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
   50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
   100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
}
@keyframes l20-2{ 
  0%    {transform:scaleY(1)  rotate(0deg)}
  49.99%{transform:scaleY(1)  rotate(135deg)}
  50%   {transform:scaleY(-1) rotate(0deg)}
  100%  {transform:scaleY(-1) rotate(-135deg)}
}
/*******************************************************************************
                                                                     Main layout
*/

#header {
    background-color: #1f1f1f;
    height: 65px;
    color: white;
    display: grid;
    grid-template-columns: 1fr 50px;
}

#title {
    height: 100%;
    position: relative;
    display: inline-flex;
    align-items: center;
    left: -40px;
}

#title #home {
    height: 100%;
}

#title #home #logo {
        position: relative;
        height: 100%;
        left: -10px;
        width: fit-content;
    
    }

#title #home #logo .icon {
    position: absolute;
    width: 35px;
    height: 35px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#header #title .ambrovit {
        height: 50%;
        display: flex;
        align-items: center;
        position: relative;
        left: -20px;
        justify-content: center;
    
    }

#header #title > a {
    display: block;
    height: 100%;
}

#header #title .title {
    position: relative;
    left: -15px;
    font-size: 25px;
    font-weight: 600;
    text-transform: uppercase;
}

#title #home #logo img {
        height: 100%;
        max-width: initial;
    
    }

#content-wrapper {
    display: grid;
    column-gap: 0;
    height: calc(100vh - 65px);
    grid-template-columns: 1fr 200px 1fr;
    grid-template-rows: 100%;
}

#opts {
    padding: 40px 25px 40px 25px;
    overflow-y: auto;
    position: relative;
    overflow-x: hidden;
}

#utility {
    background-color: #f4f4f4;
    min-width: 200px;
    max-width: 300px;
}

#content {
    padding: 0;
    overflow-y: hidden;
    text-align: center;
    position: relative;
}

/*******************************************************************************
                                                               Language selector
*/
#header .language-selector-wrapper .lang-selector {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

#header .language-selector-wrapper .lang-selector .other-languages {
    position: absolute;
    display: none;
    top: calc(100% - 1px);
    background-color: #1f1f1f;
    width: 100%;
    z-index: 99999;
    height: 100%;
}

#header .language-selector-wrapper .lang-selector:hover .other-languages {
    display: block;
}

#header .language-selector-wrapper .lang-selector .other-languages a {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

#header .language-selector-wrapper .lang-selector:hover .other-languages .selectable-language {
    height: 100%;

}
/*******************************************************************************
                                                                     Product box
*/

.products-wrapper {
    overflow: auto;
}

.resume-box {
    background-color: #f4f4f4;
    position: relative;
    text-align: left;
}

.resume-box .family-band {
    height: 6px;
}

.products-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 15px;
    row-gap: 15px;
}

.resume-box .overview {
    padding: 14px 8px 5px 8px;
}

.resume-box .overview .image {
    height: fit-content;
    margin-bottom: 0px;
}

.resume-box .overview .image img {
    width: 100%;
    height: auto;
}

.resume-box .code {
    font-size: 20px;
    font-weight: 700;
}

.resume-box .overview .description {
    font-size: 12px;
    line-height: 125%;
    color: #1f1f1f;
    padding-right: 46px;
    overflow: hidden;
    height: 3rem;
}

.resume-box .overview .new-product {
    position: absolute;
    right: 5px;
    bottom: 35px;
    width: 46px;
    height: 46px;
}

.resume-box .bottom-band {
    height: 24px;
    background-color: #dfdfdf;
    padding: 5px 8px;
    display: flex;
    gap: 3px;
}

/* Small bax */

.prod-small-box .image img {
    height: 35px;
    width: auto;
}

.prod-small-box {
    background-color: #f4f4f4;
    padding: 4px 4px 4px 4px;
    border-bottom: 6px solid;
    position: relative;
}

.prod-small-box a {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.prod-small-box .details {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 8px;
}

.relations .content {
    margin-top: 10px;
}

.prod-small-box .code {
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
}

.prod-small-box .description {
    font-size: 12px;
    line-height: 13px;
    font-weight: 200;
    color: #1f1f1f;
    height: 26px;
    overflow: hidden;
}

.resume-box .bottom-band .maticon-small {
    height: 100%;
    width: 100%;
    text-align: right;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.resume-box .bottom-band .maticon-small img {
    height: 14px;
    width: auto;
    max-height: 14px;
    display: block;
}

/*******************************************************************************
                                                                         Callout
*/

.callout-border {
    border-left: 2px solid rgba(0,0,0,0.2);
    padding: 0 0 0 8px;
}

.callout-border .title span {
    font-size: 12px;
    text-transform: uppercase;
    display: inline-block;
    line-height: 13px;
    padding: 3px 0px;
    font-weight: 600;
}

.callout-border .title {
    line-height: 18px;
    border: none;
    padding: 0;
    margin-bottom: 10px;
}

/* Simple */

.callout-simple {
    border-bottom: 5px solid;
    padding: 6px 4px;
    text-align: center;
    font-size: 10px;
    line-height: 14px;
    background-color: #f7f7f7;
    color: black;
}

.callout-simple .title {
    font-weight: 700;
}

/*******************************************************************************
                                                                     Multiselect
*/

.multi-select {
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    position: relative;
    width: 100%;
    user-select: none;
}

.multi-select .multi-select-header {
    /* border: 1px solid #dee2e6; */
    padding: 7px 30px 7px 12px;
    overflow: hidden;
    gap: 7px;
    /* min-height: 45px; */
}

.multi-select .multi-select-header::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23949ba3' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E");
    height: 12px;
    width: 12px;
}

.multi-select .multi-select-header.multi-select-header-active {
    border-color: #c1c9d0;
}

.multi-select .multi-select-header.multi-select-header-active::after {
    transform: translateY(-50%) rotate(180deg);
}

.multi-select .multi-select-header.multi-select-header-active + .multi-select-options {
    display: flex;
}

.multi-select .multi-select-header .multi-select-header-placeholder {
    color: #65727e;
}

.multi-select .multi-select-header .multi-select-header-option {
    display: inline-flex;
    align-items: center;
    background-color: #f3f4f7;
    font-size: 14px;
    padding: 3px 8px;
    border-radius: 5px;
}

.multi-select .multi-select-header .multi-select-header-max {
    font-size: 14px;
    color: #65727e;
}

.multi-select .multi-select-options {
    display: none;
    box-sizing: border-box;
    flex-flow: wrap;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    margin-top: 5px;
    padding: 5px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

.multi-select .multi-select-options::-webkit-scrollbar {
    width: 5px;
}

.multi-select .multi-select-options::-webkit-scrollbar-track {
    background: #f0f1f3;
}

.multi-select .multi-select-options::-webkit-scrollbar-thumb {
    background: #cdcfd1;
}

.multi-select .multi-select-options::-webkit-scrollbar-thumb:hover {
    background: #b2b6b9;
}

.multi-select .multi-select-options .multi-select-option,
.multi-select .multi-select-options .multi-select-all {
    padding: 4px 12px;
    height: 42px;
}

.multi-select .multi-select-options .multi-select-option .multi-select-option-radio,
.multi-select .multi-select-options .multi-select-all .multi-select-option-radio {
    margin-right: 14px;
    height: 16px;
    width: 16px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.multi-select .multi-select-options .multi-select-option .multi-select-option-text,
.multi-select .multi-select-options .multi-select-all .multi-select-option-text {
    box-sizing: border-box;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    font-size: 16px;
    line-height: 20px;
}

.multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio,
.multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio {
    border-color: #2468ff;
    background-color: #2468ff;
}
.multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio::after,
.multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio::after {
    content: "";
    display: block;
    width: 3px;
    height: 7px;
    margin: 0.12em 0 0 0.27em;
    border: solid #fff;
    border-width: 0 0.15em 0.15em 0;
    transform: rotate(45deg);
}

.multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-text,
.multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-text {
    color: #2468ff;
}

.multi-select .multi-select-options .multi-select-option:hover,
.multi-select .multi-select-options .multi-select-option:active,
.multi-select .multi-select-options .multi-select-all:hover,
.multi-select .multi-select-options .multi-select-all:active {
    background-color: #f3f4f7;
}

.multi-select .multi-select-options .multi-select-all {
    border-bottom: 1px solid #f1f3f5;
    border-radius: 0;
}

.multi-select .multi-select-options .multi-select-search {
    padding: 7px 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin: 10px 10px 5px 10px;
    width: 100%;
    outline: none;
    font-size: 16px;
}

.multi-select .multi-select-options .multi-select-search::placeholder {
    color: #b2b5b9;
}

.multi-select .multi-select-header,
.multi-select .multi-select-option,
.multi-select .multi-select-all {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 16px;
    color: #212529;
}

/*******************************************************************************
                                                                  Image uploader
*/

.form-image {
    display: inline-flex;
    width: 100px;
    height: 100px;
    padding: 5px;
    border: 1px solid #2468ff4d;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #fafafa;
    position: relative;
}

.form-image input {
    display: none;
}

.form-image .delete-image {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 25px;
    height: 25px;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    display: none;
}

.form-image .delete-image .icon-wrapper > div {
    position: absolute;
    height: 3px;
    background-color: white;
    width: 100%;
}

.form-image .delete-image .icon-wrapper {
    width: 60%;
    height: 60%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-image .delete-image .line1 {
    transform: rotate(45deg);
}

.form-image .delete-image .line2 {transform: rotate(-45deg);}

.form-image .delete-image:hover .icon-wrapper {
    display: flex;
}

.form-image:hover .delete-image {
    display: flex;
}

body.home #content, .result-wrapper {
    padding: 40px 25px;
    overflow-y: auto;
}

/*******************************************************************************
                                                                      Search box
*/

#global-search-wrapper {
    background-color: #f4f4f4;
    padding: 10px 15px;
}

#global-search-wrapper #search {
    background-color: #e6e6e6;
    flex: 1;
}

.search-box .header {
    font-size: 14px;
    font-weight: 600;
    line-height: 17px;
    color: #2468ff;
    margin-top: 15px;
}

.search-box .subtitle {
    font-size: 12px;
    font-weight: 200;
    line-height: 17px;
}

.search-box input {
    height: 32px;
    min-width: 280px;
}

.search-box .search-wrapper {
    display: flex;
    flex-direction: row;
    gap: 0;
    margin-top: 15px;
    position: relative;
}

.search-box .go-search {
    display: flex;
    background-color: #2468ff;
    width: 32px;
    height: 32px;
    /* min-width: 32px; */
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.search-box .go-search img {
    width: auto;
    height: 18px;
}

.search-box .description {
    font-size: 9px;
    color: #2468FF;
    font-style: italic;
    font-weight: 400;
    padding: 0 0 0 40px;
}

.search-box {
    margin-top: 60px;
}

.search-box .filter-wrapper {
    margin-top: 47px;
}

.search-box .category-wrapper .families .content {
    width: 100%;
}

.search-box .category-wrapper .families {
    width: 100%;
    margin-top: 15px;
}

.search-wrapper .clear-input {
    width: 20px;
    height: 20px;
    background-color: #2468ff;
    border-radius: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    cursor: pointer;
    right: 45px;
    top: 6px;
}

.clear-input > div {
    height: 2px;
    background-color: white;
    position: absolute;
    width: 14px;
}

.clear-input .line1 {
    transform: rotate(45deg);
}

.clear-input .line2 {
    transform: rotate(-45deg);
}

#result-wrapper #result .prod-entry {
    display: flex;
    flex-direction: row;
    height: 33px;
    margin-bottom: 5px;
    align-items: flex-start;
    width: 100%;
    min-width: 100%;
}

#result-wrapper #result .prod-entry .code {
    width: 70px;
    text-align: center;
    height: 100%;
    color: #1f1f1f;
    font-weight: 700;
    font-size: 12px;
    display: grid;
    align-items: center;
    flex-grow: 0;
}

#result-wrapper #result .prod-entry .description {
    background-color: rgba(255,255,255,0.6);
    height: 100%;
    flex: 1;
    display: grid;
    align-items: center;
    color: #1f1f1f;
    font-style: normal;
    flex-grow: 1;
    max-width: initial;
    padding: 0 10px;
}

#result-wrapper #result .prod-entry .description span {
    max-height: 20px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#result-wrapper #result .tag,
#result-reason .tag {
    display: inline-block;
    background-color: white;
    margin-right: 8px;
    padding: 8px 16px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 10px;
    cursor: pointer;
}

#result-wrapper #result .search-title {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    margin: 12px 0 6px 0;
    display: flex;
    align-items: baseline;
}

#result-wrapper #result .search-title > img {
    display: inline-block;
    height: 10px;
    margin-right: 3px;
}

#result-wrapper #result {
    /* position: absolute; */
    width: 100%;
    top: 100%;
    background-color: #f4f4f4;
    padding: 8px 13px;
}

#result-wrapper #result .family-header {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 12px;
}

#result-wrapper .hidden-wrapper {
    display: none;
}

#result-wrapper .hidden-wrapper.open {
    display: block;
}

/*******************************************************************************
                                                                         Globals
*/

.result-wrapper .loader-wrapper {
    position: absolute;
    top: 40px;
    left: 25px;
    right: 25px;
    bottom: 40px;
    background-color: rgba(255,255,255,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.products-wrapper.noresults {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100% - 60px);
}

.products-wrapper .no-result .icon {
    width: 60px;
    height: 60px;
}

.products-wrapper .no-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.products-wrapper .no-result .title {
    font-size: 35px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 15px;
}

.products-wrapper .no-result .body {
    line-height: 20px;
}

.products-wrapper .no-result .body span {
    color: #2468ff;
}

@media screen and (min-width: 749px) {
    .hide-desktop {
        display: none !important;
    }
}

@media screen and (max-width: 748px) {
    
    .hide-mobile {
        display: none !important;
    }
    
    
    /* Buttons */
    .bottom-close-button {
        position: fixed;
        bottom: -60px;
        right: 20px;
        background-color: #2468ff;
        padding: 5px;
        border-radius: 100%;
        transition: bottom 0.3s ease;
    }

    .bottom-close-button .icon-wrapper {
        width: 25px;
        height: 25px;
        cursor: pointer;
    }

    .bottom-close-button .icon {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 100%;
        position: relative;
        transform: rotate(45deg);
    }

    .bottom-close-button .icon > div {
        width: 100%;
        height: 3px;
        background-color: white;
        position: absolute;
        top: 11px;
    }

    .bottom-close-button .icon > .line2 {
        transform: rotate(90deg);
    }
    
    /* Header */
    #header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 999999;
    }

    #header .mobile-tools {
        margin-right: 20px;
    }

    #header > a {
        display: block;
        height: 100%;
    }

    #title {
            left: -50px;
            display: flex;
            max-height: 100%;
            align-items: stretch;
        
        }

    #title #home {
            height: auto;
            width: 105px;
        
        }

    #header #title .ambrovit {
            padding-top: 20px;
            padding-bottom: 20px;
            height: 100%;
            max-height: 100%;
            flex-direction: row;
            justify-content: flex-end;
        
        }

    #header .ambrovit img {
            height: 100%;
            width: auto !important;
        
        }
    
    #header .mobile-tools .search-button {
        font-size: 0;
    }

    #header .mobile-tools .search-button img {
        cursor: pointer;
    }
    
    /* Main Content */
    #content-wrapper {
        display: block;
        margin-top: 65px;
    }
    
    /* Mobile search box */
    
    #opts .search-box * {
        pointer-events: fill;
    }

    #mobile-search-overlay {
        display: block;
        transition: opacity 0.3s ease;
        opacity: 0;
        background-color: rgba(0,0,0,0.9);
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 65px 0;
        z-index: 3;
        pointer-events: none;
        overflow-y: auto;
        margin-top: 0;
    }
    
    #mobile-search-overlay.open {
        pointer-events: all;
        opacity: 1;
    }
    
    .search-box .search-wrapper {
        display: grid;
        grid-template-columns: 1fr 32px;
        width: 100%;
    }

    .search-wrapper .icon {
        display: none;
    }

    #global-search-wrapper #search {
        width: 100%;
        display: block;
        min-width: initial;
    }
    
    .search-box #global-search-wrapper > .description {
        padding-left: 0;
        margin-top: 20px;
    }
    
    .search-box .header {
        margin-bottom: 10px;
    }
    
    #result-wrapper #result .prod-entry {
        display: grid;
        grid-template-columns: auto 1fr;
        height: auto;
    }
    
    #result-wrapper #result {
        padding: 0;
    }

    #result-wrapper .family-wrapper a {
        display: block;
    }

    #result-wrapper #result .prod-entry .description {
        line-height: 20px;
        height: 90px;
        overflow: hidden;
        padding: 15px 10px;
    }

    #result-wrapper #result .prod-entry .description span {
        display: flex;
        overflow: hidden;
        height: 100%;
        flex-direction: column;
        justify-content: center;
    }

    #content.result-wrapper, .result-wrapper {
        position: fixed !important;!i;!;
        height: 100vh;
        width: 100%;
        top: 100%;
        left: 0;
        background-color: white;
        z-index: 999999;
        transition: top 0.4s ease;
    }

    
    #content.result-wrapper.open, .result-wrapper.open {
        top: 0;
    }
    

    body.home #content, .result-wrapper {
        padding: 20px 10px 70px 10px;
        text-align: center;
    }

    ::-webkit-scrollbar {
      width: 0;
    }

    .home #result-reason .content, .result-wrapper #result-reason .content {
        width: 100%;
        display: block;
        text-align: center;
    }

    .home #result-reason .inner, .result-wrapper #result-reason .inner {
        width: 100%;
    }

    .result-wrapper .bottom-close-button {
        width: 100%;
        color: white;
        font-weight: 500;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 0;
        left: 0;
        cursor: pointer;
        background-color: #2468ff;
        padding: 15px;
    }

    .result-wrapper.open .bottom-close-button {
        bottom: 0;
    }
    
    #content-wrapper {
        height: fit-content;
    }

    #footer {
        display: block;
        position: initial;
        border-radius: 0;
    }
    
    #mobile-result-count .title {
        font-weight: 600;
    }

    #mobile-result-count {
        color: #7a7a7a;
        text-transform: uppercase;
        margin-bottom: 15px;
    }

    #mobile-result-count .panes-wrapper {
        display: grid;
        width: 100%;
        grid-template-columns: 50% 50%;
        margin-top: 15px;
    }

    #mobile-result-count .res-count, #mobile-result-count .size-count {
        font-size: 40px;
        font-weight: 600;
        line-height: 40px;
    }

    #result-reason {
        display: flex;
        flex-direction: row;
        margin-bottom: 25px;
    }

    #result-reason .inner {
        display: flex;
        flex-direction: row;
        gap: 15px;
        align-items: center;
    }

    #result-reason .content {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 11px;
    }

    #result-reason .tag {
        background-color: #f4f4f4;
    }

    #result-reason #reset {
        background-color: #f4f4f4;
        width: 15px;
        height: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 600;
        flex-direction: column;
        font-size: 15px;
        border-radius: 50%;
        color: #afafaf;
        border: 1px solid #dfdfdf;
        cursor: pointer;
    }
    
    .products-wrapper {
        grid-template-columns: 1fr;
    }

    .search-wrapper .clear-input {
        top: 10px;
    }
    
    #footer-mobile {
        position: fixed;
        bottom: 0;
        background-color: #000;
        transition: all 0.4s ease;
    }

    #footer-mobile img {
        display: block;
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }

    #footer-mobile .row-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 11px 10px;
    }

    #footer-mobile .lang-selector {
        background-color: #2468ff;
        /* display: inline-flex; */
        flex-direction: row;
        justify-content: center;
        align-items: center;
        /* height: 20px; */
        font-size: 15px;
        color: #fff;
        padding: 5px 7px;
        border-radius: 5px;
        cursor: pointer;
    }

    #footer-mobile a {
        color: #fff;
    }
    
    #footer-mobile .vertical-separator {
        width: 1px;
        background-color: white;
        height: 23px;
        margin-left: 10px;
        margin-right: 10px;
    }

    #footer-mobile .content {
        font-size: 10px;
        color: white;
    }
    
    #footer-mobile.hide {
        bottom: -100px;
    }
}