.es-trigger-form {
max-width: 800px;
margin: 1em auto;
} .es-trigger-form #es-trigger-input {
display: none;
} .es-trigger-button {
background: linear-gradient(135deg, #f78da7 0%, #f56890 100%);
border: none;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.75em;
color: #fff;
border-radius: 50px;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(247, 141, 167, 0.4);
font-size: 1rem;
font-weight: 500;
}
.es-trigger-button:hover,
.es-trigger-button:focus {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(247, 141, 167, 0.5);
}
.es-trigger-button svg {
display: block;
width: 1.25em;
height: 1.25em;
} .es-trigger-button::after {
content: 'Search Products';
font-weight: 500;
} .es-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.85);
z-index: 9999;
justify-content: center;
align-items: stretch;
backdrop-filter: blur(4px);
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
} .es-overlay-content {
background: #f9f9f9;
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
animation: slideUp 0.4s ease;
}
@keyframes slideUp {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
} .es-overlay-header {
display: flex;
align-items: center;
padding: 2em;
background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
border-bottom: 1px solid #e0e0e0;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
gap: 2em;
margin-top: 2em;
}
.es-logo {
flex-shrink: 0;
display: flex;
align-items: center;
}
.es-logo img {
height: 50px;
width: auto;
max-width: 250px;
object-fit: contain;
display: block;
}
.es-filter-toggle {
display: none;
align-items: center;
gap: 0.5em;
background: #f78da7;
color: #fff;
border: none;
padding: 0.75em 1.25em;
border-radius: 12px;
cursor: pointer;
font-size: 0.95em;
font-weight: 500;
transition: all 0.3s;
box-shadow: 0 2px 8px rgba(247, 141, 167, 0.3);
}
.es-filter-toggle:hover {
background: #f56890;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(247, 141, 167, 0.4);
}
.es-filter-toggle svg {
width: 16px;
height: 16px;
} .es-overlay-search-form {
flex: 1;
display: flex;
align-items: center;
position: relative;
}
.es-search-box {
position: relative;
flex: 1;
max-width: 700px;
} .es-search-icon {
position: absolute;
left: 1.25em;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
color: #f78da7;
font-size: 1.5em;
z-index: 2;
}
.es-search-icon svg {
width: 1em;
height: 1em;
stroke-width: 2.5;
} #es-inner-input {
width: 100%;
padding: 1.25em 4em 1.25em 4em;
border: 2px solid #e0e0e0;
outline: none;
font-size: 1.125rem;
background: #fff;
border-radius: 60px;
transition: all 0.3s;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
font-weight: 400;
color: #333;
}
#es-inner-input::placeholder {
color: #999;
font-weight: 400;
}
#es-inner-input:focus {
border-color: #f78da7;
box-shadow: 0 4px 20px rgba(247, 141, 167, 0.2);
background: #fff;
} .es-loading-spinner {
display: none;
position: absolute;
right: 1.5em;
top: 50%;
transform: translateY(-50%);
width: 24px;
height: 24px;
border: 3px solid #f3f3f3;
border-top: 3px solid #f78da7;
border-radius: 50%;
animation: spin 0.8s linear infinite;
z-index: 2;
}
.es-loading-spinner.active {
display: block;
}
@keyframes spin {
0% {
transform: translateY(-50%) rotate(0deg);
}
100% {
transform: translateY(-50%) rotate(360deg);
}
} .es-close {
font-size: 1.5rem;
cursor: pointer;
color: #666;
padding: 0;
margin-left: 1.5em;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s;
line-height: 1;
flex-shrink: 0;
}
.es-close:hover {
background: #f78da7;
color: #fff;
border-color: #f78da7;
transform: rotate(90deg);
} .es-overlay-body {
flex: 1;
display: flex;
overflow: hidden;
padding: 2em;
gap: 2em;
} .es-left-col {
width: 300px;
flex-shrink: 0;
overflow-y: auto;
background: #fff;
padding: 2em 1.5em;
border-radius: 16px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease;
}
.es-filter-section {
margin-bottom: 2em;
}
.es-filter-section:last-child {
margin-bottom: 0;
} .es-filter-section h3,
.es-filter-section h4 {
margin: 0 0 1em 0;
font-size: 0.9em;
font-weight: 700;
color: #333;
text-transform: uppercase;
letter-spacing: 1px;
line-height: 1.2;
display: block;
} .es-top-terms {
display: flex;
flex-wrap: wrap;
gap: 0.625em;
}
.es-term-tag {
background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
padding: 0.5em 1em;
border-radius: 25px;
cursor: pointer;
font-size: 0.875em;
border: 2px solid #e0e0e0;
transition: all 0.3s;
color: #666;
line-height: 1.4;
display: inline-block;
font-weight: 500;
}
.es-term-tag:hover {
background: linear-gradient(135deg, #f78da7 0%, #f56890 100%);
color: #fff;
border-color: #f78da7;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(247, 141, 167, 0.35);
} .es-filter-select {
width: 100%;
padding: 0.875em 2.75em 0.875em 1em;
border: 2px solid #e0e0e0;
border-radius: 12px;
font-size: 0.95em;
font-family: inherit;
line-height: 1.5;
background: #fff url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 0.75em center;
background-size: 20px;
cursor: pointer;
transition: all 0.3s;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
color: #333;
vertical-align: middle;
height: auto;
min-height: 48px;
display: block;
font-weight: 500;
}
.es-filter-select::-ms-expand {
display: none;
}
.es-filter-select:hover {
border-color: #ccc;
background-color: #fafafa;
}
.es-filter-select:focus {
outline: none;
border-color: #f78da7;
box-shadow: 0 0 0 4px rgba(247, 141, 167, 0.1);
background-color: #fff;
}
.es-filter-select option {
padding: 0.75em;
line-height: 1.5;
color: #333;
}
.es-filter-select optgroup {
font-weight: 700;
font-style: normal;
color: #666;
} .es-clear-filters {
width: 100%;
padding: 0.875em 1.25em;
background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
border: 2px solid #e0e0e0;
border-radius: 12px;
cursor: pointer;
font-size: 0.95em;
color: #666;
transition: all 0.3s;
margin-top: 1.5em;
font-family: inherit;
line-height: 1.5;
min-height: 48px;
display: block;
text-align: center;
font-weight: 600;
}
.es-clear-filters:hover {
background: #f78da7;
border-color: #f78da7;
color: #fff;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(247, 141, 167, 0.3);
} .es-right-col {
flex: 1;
overflow-y: auto;
padding-right: 0.5em;
}
.es-results-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2em;
padding-bottom: 1em;
border-bottom: 2px solid #e0e0e0;
}
.es-results-header h3 {
margin: 0;
font-size: 1.75em;
font-weight: 700;
color: #333;
line-height: 1.2;
}
.es-results-count {
font-size: 1em;
color: #f78da7;
font-weight: 600;
background: rgba(247, 141, 167, 0.1);
padding: 0.5em 1em;
border-radius: 20px;
} .es-no-results {
background: linear-gradient(135deg, #fff3cd 0%, #ffe9a0 100%);
color: #856404;
padding: 1.25em 1.75em;
border-radius: 12px;
margin-bottom: 2em;
border-left: 5px solid #ffc107;
font-weight: 500;
line-height: 1.6;
box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
} .es-empty-state {
text-align: center;
padding: 5em 2em;
color: #999;
}
.es-empty-state svg {
opacity: 0.2;
margin-bottom: 1.5em;
width: 100px;
height: 100px;
}
.es-empty-state h3 {
color: #666;
margin: 1em 0 0.5em;
line-height: 1.3;
font-size: 1.5em;
font-weight: 600;
}
.es-empty-state p {
color: #999;
margin: 0;
line-height: 1.6;
font-size: 1.1em;
} .es-carousel {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1.75em;
align-items: start;
} .es-card {
display: flex;
flex-direction: column;
height: 100%;
background: #fff;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
transition: all 0.4s ease;
border: 2px solid transparent;
}
.es-card:hover {
transform: translateY(-6px);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
border-color: #f78da7;
}
.es-card a {
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
height: 100%;
padding: 1.25em;
}
.es-card img {
width: 100%;
aspect-ratio: 1/1;
object-fit: cover;
border-radius: 12px;
margin-bottom: 1.25em;
background: #f9f9f9;
transition: transform 0.3s ease;
}
.es-card:hover img {
transform: scale(1.05);
}
.es-card h4 {
margin: 0 0 0.75em 0;
font-size: 1em;
font-weight: 600;
line-height: 1.4;
color: #333;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
min-height: 2.8em;
}
.es-card .es-price {
margin-top: auto;
color: #f78da7;
font-weight: 700;
font-size: 1.25em;
line-height: 1.2;
}
.es-card .woocommerce-Price-amount {
font-weight: 700;
} .es-card-rating {
display: flex;
align-items: center;
gap: 0.5em;
margin-bottom: 0.75em;
font-size: 0.9em;
color: #ffa500;
line-height: 1;
}  @media (max-width: 1200px) {
.es-carousel {
grid-template-columns: repeat(3, 1fr);
gap: 1.5em;
}
.es-left-col {
width: 260px;
}
} @media (max-width: 900px) {
.es-overlay-body {
padding: 1.5em;
gap: 1.5em;
}
.es-overlay-header {
padding: 1.5em;
}
.es-left-col {
width: 240px;
}
.es-carousel {
gap: 1.25em;
}
#es-inner-input {
font-size: 1rem;
}
} @media (max-width: 768px) {
.es-overlay-body {
flex-direction: column;
padding: 1em;
}
.es-left-col {
width: 100%;
margin-bottom: 1em;
max-height: none;
}
.es-right-col {
width: 100%;
}
.es-carousel {
grid-template-columns: repeat(2, 1fr);
}
.es-overlay-header {
padding: 1em;
gap: 1em;
}
.es-logo img {
height: 40px;
}
.es-search-box {
max-width: 100%;
}
#es-inner-input {
font-size: 0.95rem;
padding: 1em 3.5em 1em 3.5em;
}
.es-close {
width: 44px;
height: 44px;
margin-left: 0.75em;
}
.es-filter-select,
.es-clear-filters {
min-height: 50px;
font-size: 1em;
} .es-trigger-button::after {
content: '';
}
.es-trigger-button {
padding: 1em;
}
} @media (max-width: 480px) {
.es-overlay-header {
flex-wrap: wrap;
gap: 0.75em;
padding: 1em;
}
.es-filter-toggle {
display: flex;
order: 2;
flex: 0 0 auto;
}
.es-overlay-search-form {
order: 3;
width: 100%;
margin-top: 0.5em;
}
.es-logo {
order: 1;
margin-right: auto;
flex: 1;
}
.es-close {
order: 4;
margin-left: 0;
margin-top: 0.5em;
}
.es-overlay-body {
position: relative;
padding: 1em;
}
.es-left-col {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #fff;
transform: translateX(-100%);
z-index: 100;
max-width: none;
width: 100%;
border-radius: 0;
margin-bottom: 0;
padding: 2em 1.5em;
}
.es-overlay-content.filters-open .es-left-col {
transform: translateX(0);
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
}
.es-overlay-content.filters-open::before {
content: '';
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 99;
}
.es-carousel {
grid-template-columns: repeat(2, 1fr);
gap: 1em;
}
.es-card a {
padding: 1em;
}
.es-card h4 {
font-size: 0.9em;
}
.es-results-header {
flex-direction: column;
align-items: flex-start;
gap: 0.75em;
}
.es-results-header h3 {
font-size: 1.4em;
}
} @media (max-width: 360px) {
.es-carousel {
grid-template-columns: 1fr;
}
} .es-left-col::-webkit-scrollbar,
.es-right-col::-webkit-scrollbar {
width: 10px;
}
.es-left-col::-webkit-scrollbar-track,
.es-right-col::-webkit-scrollbar-track {
background: transparent;
}
.es-left-col::-webkit-scrollbar-thumb,
.es-right-col::-webkit-scrollbar-thumb {
background: #e0e0e0;
border-radius: 5px;
}
.es-left-col::-webkit-scrollbar-thumb:hover,
.es-right-col::-webkit-scrollbar-thumb:hover {
background: #ccc;
} .es-overlay[aria-hidden="true"] {
display: none;
}
.es-overlay[aria-hidden="false"] {
display: flex;
}
*:focus-visible {
outline: 3px solid #f78da7;
outline-offset: 3px;
}
.es-filter-select:focus-visible,
#es-inner-input:focus-visible {
outline: none;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}