.menuItemsCollection {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.menuItemsCollection > li > a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    font-weight: 500;
}

.menuItemsCollection > li > a:hover {
    /* background-color: #d2d2d2; */
    color: black !important;
}

.submenu {
    display: none;
}

.submenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu ul li {
    margin-bottom: 0px;
}

.submenu > li > a {
    display: block;
    margin-bottom: 20px;
}

.submenu ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 0;
    display: block;
}

ul.submenu {
    border-radius: 0 0 20px 20px;
    margin-left: auto;
    margin-right: auto;
}

.menuItemsCollection > li:not(.nochild) > a::after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-left: 8px;
    background-image: url('/themes/child_classic/assets/css/arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.submenu > li > a {
    text-decoration: underline;
}

.subsubmenu a {
    text-decoration: none;
}

.track-underline {
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: #df764d;
    transition: all 0.3s ease;
    pointer-events: none;
    bottom: 10px;
}

span.subsubclss {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
  }
  
  .subsubclss a {
    width: 160px;
  }
  
  img.menuitemimage {
    width: 75px;
  }
  
  ul.subsubmenu {
    margin-left: 85px;
  }

  .menuItemsCollection > li {
    position: relative;
}

@media(min-width: 768px) {
    .submenu {
        opacity: 0;    /* Ustawia przejrzystość na 0 */
        transform: translateY(0px); /* Ustawia początkową pozycję na -10px w osi Y */
        transition: opacity 0.3s ease, transform 0.3s ease;
        position: fixed;
        top: 133px;
        max-width: 3000px;
        width: 100vw;
        background-color: #fff;
        padding: 20px;
        box-sizing: border-box;
        z-index: 10;
        display: flex;
        gap: 20px;
        padding-left: 75px;
        padding-right: 75px;
        flex-wrap: wrap;
    }

    .menuItemsCollection > li > .submenu {
        position: fixed;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        visibility: hidden;
        border-left: 1px solid #000;
        border-right: 1px solid #000;
        border-bottom: 1px solid #000;
        padding-bottom: 10px;
        max-width: 1600px;
        padding-left: 30px;
        width: 100%;
    }

    .menuItemsCollection > li:hover > .submenu {
        opacity: 1;
        visibility: visible;
    }
}

.submenu li:hover .subsubmenu {
    opacity: 1;
    visibility: visible;
}

.mobileSearchContainer {
    display: none;
}

.product-description img {
    max-width: 100%;
    height: auto;
}

.trustmate-badge {
    max-width: 200px;
    max-height: 40px;
    border-radius: inherit;
    transition: inherit;
}

.trustmate-badge {
    all: unset;
    max-width: 200px;
    max-height: 50px;
    border-radius: 10px 10px 0 0;
    /* box-shadow: 0 1px 6px rgba(0, 0, 0, .1); */
    box-shadow: 0 0px 8px rgba(255, 135, 48, .3);
    cursor: pointer;
    /* margin: 12px 0 0 14px; */
    display: grid;
    grid-auto-columns: auto;
    grid-template-columns: auto auto;
    grid-template-rows: 50% 50%;
    padding: 4px 6px 0;
    transition: all .2s ease;
    grid-gap: 0px 8px;
    grid-template-areas:
        "bs24-tm-score bs24-tm-logo"
        "bs24-tm-score bs24-tm-text";
}

.trustmate-badge:hover {
    background-color: rgb(255, 135, 48);
    color: #fff;
    box-shadow: 0 0px 10px rgba(255, 135, 48, 1);
    transform: translateY(-2px);
}

.trustmate-badge:hover .trustmate-score {
    color: #fff;
}

.trustmate-badge:hover .trustmate-text {
    color: #fff;

    span {
        color: #fff;
    }
}

.trustmate-badge .trustmate-score {
    grid-area: bs24-tm-score;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trustmate-badge .trustmate-logo,
.trustmate-badge .trustmate-text {
    width: fit-content;
}

.trustmate-badge .trustmate-logo {
    grid-area: bs24-tm-logo;
}

.trustmate-badge .trustmate-logo img {
    width: auto;
    height: 100%;
    vertical-align: middle;
}

.trustmate-badge .trustmate-text {
    grid-area: bs24-tm-text;
    font-size: .6rem;
    color: #555;
}

.trustmate-badge .trustmate-text span {
    color: rgb(255, 135, 48);
    font-weight: 600;
}
