.es-trigger-form {
max-width: 800px;
margin: 1em auto;
}
#es-trigger-input {
width: 100%;
padding: .75em 1em;
font-size: 1em;
border: 1px solid #ccc;
border-radius: 4px;
background: #fff;
cursor: text;
} .es-trigger-form #es-trigger-input {
display: none;
} .es-trigger-button {
background: none;
border: none;
padding: 0.5em;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
color: #333; transition: color .2s;
}
.es-trigger-button:hover,
.es-trigger-button:focus {
color: #000;
}
.es-trigger-button svg {
display: block;
width: 1.5em;
height: 1.5em;
} .es-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.8);
z-index: 9999;
justify-content: center;
align-items: stretch;
} .es-overlay-content {
background: #fff;
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
} .es-overlay-header {
display: flex;
align-items: flex-start;
padding-top: 10px;
}
.es-logo {
margin-right: 1em;
}
.es-logo img {
height: 40px;
width: auto;
}
.es-filter-toggle {
display: none;
} .es-overlay-search-form {
flex: 1;
display: flex;
align-items: flex-start;
width: 85%;
}
.es-search-box {
padding-top: 20px;
position: relative;
width: 90%;
}
.es-search-icon {
position: absolute;
left: .75em;
top: 65%;
transform: translateY(-50%);
pointer-events: none;
color: #666;
font-size: 1.5em;
}
.es-search-icon svg {
width: 1em;
height: 1em;
}
#es-inner-input {
padding-left: 2.5em;
flex: 1;
border: none;
outline: none;
font-size: 1.1rem;
background: transparent;
border-bottom: 2px solid #f78da7;
height: 60px;
box-shadow: none;
} .es-close {
position: absolute;
right: 3em;
top: 1.3em;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: #333;
} .es-overlay-body {
flex: 1;
display: flex;
overflow: hidden;
}
.es-left-col {
width: 25%;
padding: 1em;
overflow-y: auto;
transition: transform .3s ease;
}
.es-right-col {
width: 75%;
padding: 1em;
overflow-y: auto;
} .es-top-terms {
display: flex;
flex-wrap: wrap;
gap: .5em;
margin-bottom: 1em;
}
.es-term-tag {
background: #e0e0e0;
padding: .3em .6em;
border-radius: 3px;
cursor: pointer;
font-size: .9em;
}
.es-term-tag:hover {
background: #ccc;
} .es-filter-group {
margin-bottom: 1em;
}
.es-filter-group h4 {
margin: .75em 0 .25em;
font-size: .9em;
}
.es-filter-group select {
width: 100%;
padding: .5em;
border: 1px solid #ccc;
border-radius: 4px;
} .es-no-results {
color: #b12704;
font-weight: bold;
margin-bottom: .5em;
} .es-carousel {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 0.5em;
align-items: start;
grid-auto-rows: 1fr;
} .es-card {
display: flex;
flex-direction: column;
height: 100%;
padding: .5em;
border: 1px solid lightgray;
border-radius: 4px;
background: #fff;
box-sizing: border-box;
}
.es-card:hover {
display: flex;
flex-direction: column;
height: 100%;
padding: .5em;
border: 1px solid lightgray;
border-radius: 4px;
background: lightpink;
box-sizing: border-box;
}
.es-card img {
width: 100%;
aspect-ratio: 1/1;
object-fit: cover;
margin-bottom: .5em;
}
.es-card h4 {
margin: .5em 0;
font-size: 1em;
text-align: left;
}
.es-price {
margin-top: auto;
justify-content: space-evenly;
align-self: flex-start;
color: #f78da7;
font-weight: bold;
font-size: 1em;
}
.es-logo img {
max-width: 350px;
max-height: 350px;
width: auto;
height: auto;
object-fit: contain;
display: block;
} @media (max-width:1200px) {
.es-carousel {
grid-template-columns: repeat(4, 1fr);
}
} @media (max-width:768px) {
.es-overlay-content {
flex-direction: column;
}
.es-left-col,
.es-right-col {
width: 100%;
}
.es-carousel {
grid-template-columns: repeat(2, 1fr);
}
} @media (max-width:408px) {
.es-overlay-body {
flex-direction: column;
}
.es-left-col {
position: absolute;
top: 60px;
left: 0;
right: 0;
bottom: 0;
background: #fff;
transform: translateY(-100%);
z-index: 10;
}
.es-filter-toggle {
display: inline-block;
}
.es-overlay-content.filters-open .es-left-col {
transform: translateY(0);
}
.es-carousel {
grid-template-columns: 1fr;
}
}