/* -----------------------------------
   Launcher Button
   ----------------------------------- */
.show-as-sticky {
  z-index: 9999;
  background-color: #ffffff8c;
  padding: 0;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#zemowp-search::placeholder {
  color: #8f8f8f;
  font-size: 13px;
}

.zemowp-grid.no-results {
  display: flex;
  justify-content: center;
}
.zemowp-grid.no-results {
  display: flex;
  justify-content: center;
}

.zemowp-grid.no-results .no-demo-founds {
  width: 100%;
  text-align: center;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.zemowp-grid.no-results .no-demo-founds p {
  font-size: 18px;
}
.zemowp-close:hover {
  transform: scale(1.06);
}
.zemowp-open-popup.active {
  font-size: 0;
}

.zemowp-open-popup.active span {
  transform: translate(-50%, -50%) scale(4.5);
}
.zemowp-open-popup {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 6px 7px;
    cursor: pointer;
    overflow: hidden;
    font-size: 17px;
    border-radius: 0 5px 5px 0;
    transition: 0.3s;
    position: fixed;
    bottom: calc(50vh - -10px);
    left: 0px;
    z-index: 10000;
    border: unset !important;
    outline: unset !important;
    width: 120px;
    height: 69px;
    border-radius: 0 10px 10px 0;
    font-weight: 500;
}
.zemowp-open-popup:hover {
  background: #1d1d1d;
  font-size: 18px;
}
.zemowp-open-popup:hover span {
  transform: translate(-50%, -50%) scale(1.2);
}

.zemowp-open-popup span {
  position: absolute;
  font-size: 60px;
  top: 50%;
  transition: 0.3s;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  color: #ffffff24;
  animation: glowText 2s ease-in-out infinite;
      z-index: -1;
  opacity: 0.7;
}
@keyframes glowText {
  0% {
    color: #e7e7e773;
  }
  50% {
    color: #ffffffd4;
  }
  100% {
    color: #e7e7e773;
  }
}
.zemowp-open-popup.active {
  font-size: 0;
}
.zemowp-categories button span.count {
  font-weight: 600;
  margin-left: 5px;
  color: #777;
}
.zemowp-categories button.active span.count {
  color: #fff;
}

/* -----------------------------------
   Popup Overlay
   ----------------------------------- */
.zemowp-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  overflow-y: auto;
  padding: 20px;
}
.zemowp-popup.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* -----------------------------------
   Popup Inner Box
   ----------------------------------- */
.zemowp-popup-inner {
  background: #fff;
  width: 90%;
  max-width: 1800px;
  margin: 40px auto;
  padding: 20px 25px;
  border-radius: 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
  min-height: 700px;
}
.zemowp-loader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
  color: #333;
}

.zemowp-loader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #0073aa;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Close Button */
.zemowp-close {
  position: absolute;
  right: 0px;
  top: 90px;
  font-size: 56px;
  cursor: pointer;
  background: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  border: unset;
  height: 56px;
  width: 56px;
  padding: 0 0;
}
.zemowp-close:hover {
  background: #ddd;
  color: #1d1d1d !important;
}
.show-as-sticky h2 {
  font-size: 48px;
  margin-bottom: 16px;
}
/* -----------------------------------
   Search Field
   ----------------------------------- */
#zemowp-search {
  width: 100%;
  padding: 10px 17px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 25px;
  max-width: 350px;
  font-size: 13px;
  transition: 0.3s;
}

/* -----------------------------------
   Category Filters
   ----------------------------------- */
.zemowp-categories {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.zemowp-categories button {
  padding: 6px 14px 8px 14px;
  border: 1px solid #1d1d1d59;
  background: #fff;
  cursor: pointer;
  border-radius: 20px;
  font-size: 13px;
  color: #1d1d1d;
  transition: all 0.2s ease;
  line-height: 1.5em;
}
.zemowp-categories button:hover {
  background: #eee;
  color: #1d1d1d !important;
}
.zemowp-categories button.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.zemowp-categories button.reset-btn {
  background: #e74c3c;
  border-color: #e74c3c;
  color: #fff;
}
.zemowp-categories button.reset-btn:hover {
  background: #c0392b;
}

/* -----------------------------------
   Demo Grid
   ----------------------------------- */
.zemowp-grid {
  display: grid;
  grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding-top: 3px;
  max-height: 550px;
  overflow: overlay;
}
.zemowp-card {
  background: #fefefe;
  padding: 0;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.zemowp-card-image {
  height: 270px;
  overflow: hidden;
  background: #fefefe;
  border: 1px solid #ddd;
  padding: 0;
  text-align: center;
  border-radius: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.zemowp-card:hover {
  transform: translateY(-3px);
}
.zemowp-card img {
  max-width: 100%;
  height: auto;
}
.zemowp-card h3 {
  font-size: 16px;
  margin: 0;
  bottom: 5px;
  border-radius: 23px;
  left: 5px;
  transition: 0.3s;
}
.zemowp-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  margin-bottom: 12px;
}

.zemowp-card p {
  font-size: 13px;
  color: #555;
  min-height: 18px;
}
.zemowp-card .zemowp-card-content a {
  position: relative;
  display: inline-block;
  padding: 3px 11px;
  border-radius: 29px;
  color: #1d1d1d;
  text-decoration: none;
  z-index: 2;
  background: #111; /* button inner background */
  overflow: hidden;
}
.zemowp-card .zemowp-card-content a::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  border-radius: inherit;
  z-index: -1;
  background: #fff;
}
.zemowp-card .zemowp-card-content a::after {
  content: "";
  position: absolute;
  top: -68px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: inherit;
  z-index: -2;
  background: conic-gradient(
    from 0deg,
    #a578ff,
    #ff83bd,
    #ffba6d,
    #fbe9be,
    #a578ff
  );
  animation: rotateBorder 3s linear infinite;
  height: 173px;
}

/* Keyframes for rotating gradient */
@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.zemowp-card-image .zemowp-coming-soon-label {
  position: absolute;
  z-index: 999;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #000000ad;
  color: #fff;
  font-size: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zemowp-card .zemowp-card-content a:hover {
  background-color: #000 !important;
}

/* -----------------------------------
   Animations
   ----------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.zemowp-categories button.zemowp-reset {
  border: unset;
  padding: 5px 10px;
  color: #cd0202;
}

.zemowp-popup-inner .zemowp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #18192c;
  padding: 15px;
  border-radius: 16px;
  margin-bottom: 30px;
}

.zemowp-popup-inner .zemowp-header img {
  max-width: 100px;
}

.zemowp-popup-inner .zemowp-header .zemo-header-right-data a {
  margin: 0;
  border: none;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  padding: 5px 20px;
  line-height: 1.5;
  background-color: #82b440;
  box-shadow: 0 2px 0 #6f9a37;
  position: relative;
  display: inline-block;
  border-radius: 50px;
}
.zemowp-popup-inner .zemowp-header .zemo-header-right-data .instent-demos {
  margin: 0;
  border: none;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  padding: 5px 20px;
  line-height: 1.5;
  background-color: #5e17eb;
  box-shadow: 0 2px 0 #3d138e;
  position: relative;
  margin-right: 10px;
  display: inline-block;
  border-radius: 50px;
}
@media (max-width: 850px) {
  .zemowp-categories {
    flex-wrap: nowrap;
    width: 1518px;
  }
  .show-as-sticky h2 {
    font-size: 35px;
    margin-bottom: 14px;
  }
  .zemowp-categories-main {
    overflow: auto;
    max-width: 100%;
  }
  .zemowp-popup-inner {
    margin: 0;
    width: 100%;
    padding: 24px;
    border-radius: 25px;
  }

  .zemo-header-right-data {
    flex-direction: column;
    display: flex;
    gap: 14px;
    width: 100%;
  }

  .zemowp-popup-inner .zemowp-header {
    flex-direction: column;
    gap: 16px;
  }

  .zemowp-popup-inner .zemowp-header .zemo-header-right-data .instent-demos {
    margin-right: 0;
  }

  .zemowp-close {
    top: -15px;
    font-size: 34px;
    right: -17px;
  }
} 

.zemowp-floating-button {
  position: fixed;
  z-index: 9999;
  bottom: calc(50vh - 90px);
  left: 0;
  gap: 8px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}
/* Default Button Styles */
.zemowp-floating-button a {
  background-color: var(--primary-color);
  color: #fff !important;
  font-size: 14px;
  border-radius: 0 10px 10px 0;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: all .3s ease;
}

/* Hover Animation */
.zemowp-floating-button a:hover {
  transform: scale(1.05);
  color: #1d1d1d !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* SVG inside button */
.zemowp-floating-button a svg {
  fill: #07d107;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.zemowp-floating-button a:hover svg {
  transform: rotate(15deg);
}

/* Auto Attention Animation (Pulse Effect) */

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  2% {
    transform: translateX(-4px);
  }
  4% {
    transform: translateX(4px);
  }
  6% {
    transform: translateX(-4px);
  }
  8% {
    transform: translateX(4px);
  }
  10% {
    transform: translateX(-4px);
  }
  12% {
    transform: translateX(4px);
  }
  14% {
    transform: translateX(-4px);
  }
  16% {
    transform: translateX(4px);
  }
  18% {
    transform: translateX(-4px);
  }
  20% {
    transform: translateX(4px);
  }
  100% {
    transform: translateX(0);
  }
}

.zemowp-floating-button a {
  display: inline-block;
  /* Start shake after 10s and loop */
}

.zemowp-floating-button a::after {
  content: "";
  width: 30px;
  height: 200px;
  background-color: #ffffff17;
  position: absolute;
  left: 0;
  transform: rotate(37deg);
  top: -76%;
  transition: 0.3s;
  z-index: -1;
}

.zemowp-floating-button a:hover::after {
  left: 0;
  background-color: #fff;
  width: 100%;
  transform: rotate(0deg);
}
