#search-designs {
    padding-top: 50px;
}

.section-design-search {
    overflow: auto;
    max-width: 1440px;
}

.wrapper {
    max-width: 1440px;
    display: block;
    margin: 0 auto;
}

.section-design-search h2 {
    text-align: center;
    padding: 30px 0;
    text-transform: uppercase;
}

.search-text {
    margin: 0 auto 10px auto;
    width: 70%;
    display: flex;
    align-items: center;
}

.search-text input {
    line-height: 50px;
    height: 50px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    text-indent: 10px;
    border: 1px solid #cccccc;
    min-width: 50%;
    width: calc(100% - 240px);
    font-size: 18px;
}

.search-text button[type="submit"] {
    background: #000000;
    border: 1px solid #000000;
    color: #ffffff;
    line-height: 52px;
    height: 52px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    width: 100px;
    margin-right: 20px;
    font-size: 18px;
}

.search-text .reset {
    background: #e13437;
    border: 1px solid #e13437;
    color: #ffffff;
    border-radius: 25px;
    width: 80px;
    text-align: center;
    display: inline-table;
    text-decoration: none;
    font-size: 12px;
    height: 52px;
    font-weight: bold;
    line-height: 52px;
}

p.botth-results-description,
h1.title-design-search-results {
    margin: 0 auto;
    width: 70%;
    padding: 5px 0 0 10px;
    font-size: 15px;
    font-weight: bold;
    text-transform: initial;
    letter-spacing: initial;
    display: block;
    color: #000000;
}

p.botth-results-description {
    text-align: center;
}

.filters {
    list-style: none;
    max-height: 295px;
    overflow: auto;
    margin: 0;
    padding: 0 5px 0 0 !important;
    list-style-type: none !important;
}

.mfp-gallery-thumbnail {
    max-width: 120px;
}

.thumbnails-container::-webkit-scrollbar,
.filters::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.thumbnails-container::-webkit-scrollbar-track,
.filters::-webkit-scrollbar-track {
    background: transparent;
    width: 10px;
    height: 10px;
}

.thumbnails-container::-webkit-scrollbar-thumb,
.filters::-webkit-scrollbar-thumb {
    background: #666666;
    border-radius: 6px;
}

.filters li label {
    display: block;
    border: 1px solid #cccccc;
    background-color: #f3f3f3;
    border-radius: 6px;
    color: #5d5d5d;
    padding: 10px 10px;
    margin: 0 0 4px 0;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.filters li label.label-checked {
    color: #ffffff;
    background: #333333;
}

.filters li label input {
    margin: 0 10px 0 0;
}

.filters.filters-sizes li {
    width: calc(50% - 5px);
    display: inline-block;
}

.filters.filters-sizes li:nth-child(odd) {
    margin-right: 5px;
}

h5.filters-title {
    margin: 0;
    padding: 25px 0 10px 0;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
}

.collection-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    margin-right: -7.5px;
}

.collection {
    flex: 1 1 33.333%;
    padding: 0 15px 15px 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: start;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    text-decoration: none;
    max-width: 33.333%;
}

.collection p {
    font-size: 17px;
    text-align: center;
    font-weight: bold;
    padding-top: 10px;
    overflow: hidden;
    color: #000000;
    text-decoration: none;
}

.collection .container-collection {
    position: relative;
    display: block;
    border-radius: 5px;
    border: 0;
    border-radius: 5px;
    overflow: hidden;
}

.collection .container-collection img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
    opacity: 0.95;
    z-index: 1;
}

.collection .container-collection:hover img {
    opacity: 1;
}

.collection .container-collection:after {
    content: "";
    display: block;
    position: absolute;
    z-index: 4;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.collection .container-collection:before {
    content: "";
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid var(--wp--preset--color--primary);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20256%20512%27%3E%3Cpath%20fill%3D%27%23e13437%27%20d%3D%27M64%20448c-8.188%200-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75%200-45.25L178.8%20256L41.38%20118.6c-12.5-12.5-12.5-32.75%200-45.25s32.75-12.5%2045.25%200l160%20160c12.5%2012.5%2012.5%2032.75%200%2045.25l-160%20160C80.38%20444.9%2072.19%20448%2064%20448z%27%2F%3E%3C%2Fsvg%3E");
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    position: absolute;
    z-index: 5;
    top: calc(50% - 22px);
    left: calc(50% - 22px);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.collection .container-collection:hover:before {
    opacity: 1;
}

.collection .container-collection:hover:after {
    opacity: 1;
}

.collection span.count {
    position: absolute;
    bottom: 0;
    right: 0px;
    line-height: 1.2;
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    padding: 7px;
    background: rgba(0, 0, 0, 0.7);
    border-top-left-radius: 10px;
    border-bottom-right-radius: 5px;
    z-index: 2;
}

.collection span.new {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--background);
    font-weight: bold;
    font-size: 13px;
    position: absolute;
    z-index: 4;
    width: 100px;
    height: 36px;
    padding-top: 10px;
    line-height: 25px;
    transform: rotate(-45deg);
    /*
    left: -36px;
    top: -4px;
    */
    left: -100px;
    top: -100px;
}

.collection span.new.new-show {
    left: -100px;
    top: -100px;
    animation: moveIn 0.5s ease forwards;
}

@keyframes moveIn {
    from {
        opacity: 0;
    }

    to {
        left: -36px;
        top: -4px;
        opacity: 1;
    }
}

.collection span.position {
    position: absolute;
    top: 4px;
    left: 6px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    width: 27px;
    height: 27px;
    line-height: 27px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    z-index: 2;
}

.c-col-3 {
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
    width: 22%;
}

.c-col-9 {
    float: left;
    padding-right: 0;
    margin-bottom: 30px;
    margin-top: 55px;
    box-sizing: border-box;
    width: 78%;
}

/* 
    magnific popup 
*/
.mfp-arrow-left:after {
    margin-left: 0 !important;
}

img.mfp-img {
    padding: 0;
    max-height: calc(80vh - 118px) !important;
}

.mfp-image-holder .mfp-content {
    max-width: 80%;
    background: linear-gradient(-65deg, rgba(0, 0, 0, 0.7) 0%, rgb(0, 0, 0, 1) 44%);
}

.thumbnails-container {
    position: absolute;
    height: 118px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    justify-content: center;
    bottom: 0px;
    width: 100%;
    /*background: #000000;*/
    text-align: center;
}

.mfp-content .mfp-figure figure {
    padding-bottom: 118px;
    min-width: 550px;
    overflow: hidden;
    display: block;
    /*padding-top: 40px;*/
    /*background: #000000*/
}

.thumbnails-container .thumb {
    width: 150px;
    height: 100px;
    margin: 5px 0 5px 5px;
    border: 3px solid transparent;
}

.thumbnails-container .thumb img {
    width: 100%;
    height: auto;
}

.thumbnails-container .thumb.selected {
    border: 3px solid var(--wp--preset--color--primary);
}

.mfp-bottom-bar {
    margin-top: -139px;
    position: absolute;
    top: 100%;
    height: 20px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 98%;
    cursor: auto;
}

.mfp-close-btn-in .mfp-close {
    width: 44px !important;
    text-align: center !important;
    padding-right: 0 !important;
    font-size: 70px;
    font-weight: 100;
    background: transparent;
    margin: 20px 20px 0 0;
    font-family: var(--wp--preset--font-family--red-hat-display);
}

.mfp-title {
    text-align: center;
    line-height: 18px;
    color: #111111;
    font-weight: bold;
    background: #ffffff;
    display: block;
    max-width: 550px;
    max-height: 124px;
    padding: 3px 10px;
    border-radius: 10px;
    margin: -8px auto 0 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*
    Pagination
*/

#pagination {
    padding: 40px 0 40px 0;
    text-align: center;
}

#pagination a {
    padding: 5px 7px;
    margin: 0 2px 10px 0;
    border: 1px solid #111111;
    text-decoration: none;
    color: #111111;
    display: inline-block;
}

#pagination a.active {
    font-weight: bold;
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

#pagination span {
    padding: 5px 6px;
    margin: 0 2px;
}

.mfp-arrow {
    opacity: 1 !important;
}

.mfp-arrow-right {
    right: 50px !important;
}

.mfp-arrow-left {
    left: 50px !important;
}

.mfp-arrow-right:before {
    border: 0 !important;
    opacity: 1 !important;
}

.mfp-arrow-right:after {
    border: 0 !important;
    width: 45px !important;
    height: 60px !important;
    display: inline-block !important;
    background-image: url("data:image/svg+xml,%3Csvg width='45' height='60' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M8 5 L22 15 L8 25' stroke='%23e13337' stroke-width='4' fill='none'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.mfp-arrow-left:before {
    border: 0 !important;
    opacity: 1 !important;
}

.mfp-arrow-left:after {
    border: 0 !important;
    width: 45px !important;
    height: 60px !important;
    display: inline-block !important;
    background-image: url("data:image/svg+xml,%3Csvg width='45' height='60' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M22 5 L8 15 L22 25' stroke='%23e13337' stroke-width='4' fill='none'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.mfp-bg {
    z-index: 1000000 !important;
}

.mfp-wrap {
    z-index: 1000001 !important;
}

.mfp-arrow-right .mfp-a,
.mfp-arrow-right:after,
.mfp-arrow-left .mfp-a,
.mfp-arrow-left:after {
    content: "" !important;
}

#collection-filters-toggle {
    background-color: var(--wp--preset--color--primary);
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
    float: right;
}

#collection-filters-toggle:active {
    transform: scale(0.95);
}

#collection-filters-toggle svg rect {
    fill: white;
    transition: fill 0.2s ease;
}

#collection-filters-toggle:hover svg rect {
    fill: white;
}

.collection-filters-toggle {
    display: none;
    padding: 0 15px;
}

@media (max-width: 1480px) {
    .c-col-9 {
        padding-right: 10px !important;
    }
}

@media (max-width: 768px) {
    .collection-filters-toggle {
        display: block;
    }

    #collection-filters-container {
        display: none;
    }

    #collection-filters-container.active {
        display: block;
    }

    .c-col-3,
    .c-col-9 {
        width: 100%;
    }

    .collection {
        flex: 1 1 50%;
        max-width: 50%;
    }

    .filters {
        max-width: 100%;
    }

    .collection-wrapper {
        margin-right: -10px;
        padding-left: 15px;
    }
}

@media (max-width: 480px) {
    .collection {
        flex: 1 1 100%;
        max-width: calc(100% - 10px);
    }

    .c-col-9 {
        padding-right: 0 !important;
    }
}

@media (max-width: 640px) {
    .mfp-title {
        margin: -30px auto 0 auto;
    }

    .mfp-image-holder .mfp-content {
        max-width: 100%;
    }

    .mfp-close-btn-in .mfp-close {
        margin: 20px;
    }

    .mfp-content .mfp-figure figure {
        min-width: calc(100vw - 40px) !important;
    }
}