.cal-shop-search {
    margin: 0 -999px;
    padding: 0 999px;
    border-bottom: 1px solid #e5e5e5;
    background-color: white;
}
.cal-shop-search-overlay {
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border: none;
    box-shadow: 2px 2px 8px -2px rgba(0,0,0,0.15);
}

.cal-shop-search .product-search-filter-search form.product-search-form {
    margin: 0 !important;
}

.cal-shop-search .product-search {
    padding: 1.6em 0;
    margin: 0 auto;
    max-width: 620px;
}

.cal-shop-search.cal-shop-search-overlay .product-search {
    padding: 0.75em 1em;
}

.cal-shop-search .product-search input {
    border-radius: 4px;
    padding-left: 2.5em;
}

.cal-shop-search .product-search-form {
    position: relative;
}
.cal-shop-search .product-search-form button[type='submit'] {
    background: none;
    height: 100%;
    padding: 0.2em 0.75em 0 !important;
    position:absolute;
    left:0;
    top: 0;
}
.cal-shop-search .product-search-form input[type='text'] {
    width: 100%;
}
.cal-shop-search .product-search-form button[type='submit']:hover {
    opacity: 0.7;
}
.cal-shop-search .product-search-form button[type='submit']:focus {
    outline: none;
}
.cal-shop-search .product-search-form button[type='submit']::after {
    font-family:'Font Awesome 5 Free';
    font-weight:900;
    content:'';
    display:block;
    color: #43454b;
}
.cal-shop-search .product-search-filter-search .product-search-filter-search-clear {
    width: 24px;
    font-size: 24px;
    overflow: hidden;
    height: 100%;
    top: 0;
    left: calc(100% - 24px);
    padding: 0;
    display: flex;
    align-items: center;
    color: transparent;
}
.cal-shop-search .product-search-filter-search .product-search-filter-search-clear::before {
    color: #43454b;
    padding: 0;
}
.cal-shop-search .product-search-filter-search .product-search-filter-search-clear:hover {
    opacity: 0.7;
}
.cal-inline-filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1em;
}
.cal-inline-filter .filter-title {
    font-size: 18px;
}
.cal-inline-filter .filter-wrapper {
    display:flex;
    flex-wrap: wrap;
}
.cal-inline-filter .filter-wrapper a {
    padding: 0.3em 0.75em;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    margin-right: 8px;
    margin-bottom: 8px;
    font-weight: normal;
    background: none;
    color: inherit;
}
.cal-inline-filter .filter-wrapper a._active {
    background-color: var(--cal-highlight-color);
    border-color: var(--cal-highlight-color);
    color: var(--cal-highlight-text-color);
}
.cal-inline-filter .filter-wrapper a:hover {
    opacity: 0.7;
}
.cal-inline-filter .filter-back::after {
    font-family:'Font Awesome 5 Free';
    font-weight:900;
    content:'';
    display:block;
}
.filter-popup {
    padding: 2em;
}
.filter-popup ul {
    margin: 0;
    max-height: 60vh;
    overflow-y: auto;
}
.filter-popup ul li {
    list-style: none;
    padding: 0.5em 0;
    border-bottom: 1px solid #efefef;
}

.cal-shop-by-category-container {
    display: flex;
    flex-wrap: wrap;
    margin: -1em -1em 0 0;
}

.cal-shop-by-category-container .category-item {
    margin: 1em 1em 0 0;
    flex-basis: calc(20% - 1em);
    max-width: 20%;
}

.cal-shop-by-category-container .category-item a,
.hentry .entry-content .cal-shop-by-category-container .category-item a {
    text-decoration: none;
    text-align: center;
}

.cal-shop-by-category-container .category-item .image-wrapper {
    padding: 16px;
}

.cal-shop-by-category-container .category-item img {
    border-radius: 50%;
}

.cal-shop-by-category-container .category-item h2 {
    font-size: 22px;
    color: #2c2d33;
}

@media (max-width: 1024px) {
	.site-main ul.products.columns-5 li.product {
		flex-basis: calc(25% - 1em);
		max-width: 25%;
	}
}

@media (max-width: 768px) {
	.cal-shop-by-category-container .category-item {
        flex-basis: calc(25% - 1em);
        max-width: 25%;
    }
}

@media (max-width: 600px) {
	.cal-shop-by-category-container .category-item {
        flex-basis: calc(33.3% - 1em);
        max-width: 33.3%;
    }
}

@media (max-width: 468px) {
    .cal-shop-by-category-container .category-item {
        flex-basis: calc(50% - 1em);
        max-width: 50%;
    }
}
