@import url("../libs/bootstrap/css/bootstrap.min.css");
@import url("../libs/fontawesome/css/all.min.css");
@import url("../css/general.css");
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@100..900&family=Outfit:wght@100..900&display=swap");

:root {
  --font-family: "Onest", sans-serif;
}

body {
  background-color: #f4f4f6;
}

/* header css */

nav.cwp-nav-menu label.cwp-menu-close {
  display: none;
}

.cwp-main-header {
  width: 100%;
  background: #fff;
  padding: 22px 10px;
  z-index: 9999999999;
  position: relative;
}

.cwp-templates-explore-count i {
  display: none;
}

.cwp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cwp-main-header .container {
  max-width: 1375px;
  width: 100%;
}

.cwp-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.cwp-nav-list a {
  text-decoration: none;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #000000;
  transition: 0.3s;
}

.cwp-dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 164px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  list-style: none;
  z-index: 1;
  border-radius: 10px;
  padding: 10px 9px 10px 9px;
}

.cwp-has-dropdown:hover .cwp-dropdown-menu {
  display: block;
}

.cwp-dropdown-menu li a {
  color: #000;
  line-height: 36px !important;
  padding: 0;
  margin: 0;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0%;
  width: 100%;
  display: flex;
  justify-content: start;
  border-radius: 10px;
  padding: 0px 8px;
  margin: 5px 0;
}

.cwp-dropdown-menu li a:hover {
  background: #5641f3;
  color: #fff;
}

.cwp-nav-list a:hover {
  color: #5641f3;
}

.cwp-nav-item.cwp-has-dropdown a svg {
  margin-left: 11px;
}

.cwp-btn-download {
  color: #5641f3;
  text-decoration: none;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
  padding: 20px 32px;
  border: 1px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(90deg, #9810fa 0%, #155dfc 100%) border-box;

  border-radius: 120px;
  display: inline-block;
  transition: 0.3s;
}

.cwp-btn-download:hover {
  background: #5641f3;
  color: #fff;
}

.cwp-account-link {
  color: #000000;
  text-decoration: unset;
  font-family: Outfit;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  transition: 0.3s;
}

.cwp-account-link:hover {
  color: #5641f3;
}

.cwp-header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.cwp-nav-toggle,
.cwp-menu-icon,
.cwp-mobile-only {
  display: none;
}

@media (max-width: 992px) {
  .cwp-header-actions,
  .cwp-account-link {
    display: none;
  }

  .cwp-menu-icon {
    display: block;
    cursor: pointer;
  }

  .cwp-menu-icon span::before {
    content: "";
    top: -8px;
    position: absolute;
  }

  .cwp-menu-icon span::after {
    content: "";
    top: 8px;
    position: absolute;
  }

  .cwp-nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 310px;
    height: 100vh;
    background: #fff;
    padding: 80px 30px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease-in-out;
    z-index: 1000;
  }

  .cwp-main-header {
    width: 100%;
    background: #fff;
    padding: 14px 10px;
    z-index: 9999999999;
    position: relative;
  }

  nav.cwp-nav-menu label.cwp-menu-close {
    padding: 0;
  }

  nav.cwp-nav-menu i.fa-solid.fa-xmark {
    color: #5641f3;
    font-size: 20px;
    font-weight: 600;
  }

  nav.cwp-nav-menu label.cwp-menu-close {
    display: block;
  }

  header.cwp-main-header i.fa-solid.fa-bars {
    color: #5641f3;
    font-size: 20px;
  }

  .cwp-nav-list {
    flex-direction: column;
    gap: 25px;
  }

  .cwp-nav-list a {
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .cwp-mobile-only {
    display: block;
  }

  .cwp-nav-toggle:checked ~ .cwp-nav-menu {
    left: 0;
  }

  .cwp-nav-toggle:checked ~ .cwp-menu-icon span {
    background: transparent;
  }

  .cwp-nav-toggle:checked ~ .cwp-menu-icon span::before {
    transform: rotate(45deg);
    top: 0;
  }

  .cwp-nav-toggle:checked ~ .cwp-menu-icon span::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .cwp-menu-close {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #000;
    padding: 20px;
    text-align: right;
  }

  @media (max-width: 991px) {
    .cwp-menu-close {
      display: block;
      position: absolute;
      top: 10px;
      right: 15px;
      z-index: 1001;
    }

    .cwp-nav-toggle:checked ~ .cwp-nav-menu {
      left: 0;
      display: block;
    }
  }
}

/* header css */

/* Bannner css */

.banner-t-ai-wrapper {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
}

.banner-ai-text {
  position: relative;
  display: flex;
  padding: 8px 25px 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 60px;
  border: 1px solid #dbdfe9;

  background: linear-gradient(90deg, #9810fa, #155dfc);
  color: #fff;
  font-family: "Inter Tight";
  font-size: 32px;
  font-style: italic;
  font-weight: 500;
  line-height: 55.166px;
  letter-spacing: -0.881px;
  height: 52px;

  z-index: 1;

  overflow: visible;

  animation:
    floating 3s ease-in-out infinite,
    outerGlow 3s ease-in-out infinite;
}

.banner-ai-text::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  animation: rotateGlow 2.5s linear infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes outerGlow {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(152, 16, 250, 0.5);
  }

  50% {
    box-shadow: 0 0 35px rgba(21, 93, 252, 0.8);
  }
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.banner-ai-text span,
.banner-ai-text svg {
  position: relative;
  z-index: 3;
}

section.cwp-banner-wrapper {
  position: relative;
  overflow: hidden;
}

section.cwp-banner-wrapper::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 237px;
  background: linear-gradient(180deg, rgba(250, 250, 250, 0) 0%, #fafafa 100%);
  z-index: 2;
  pointer-events: none;
}

.cwp-banner-wrapper {
  width: 100%;
  min-height: 450px;
  display: flex;
  align-items: start;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-image: url("..//images/pricing-plan/banner-background.png");
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: top center;
  padding-top: 116px;
}

h1.cwp-banner-title img {
  margin: 0px 0px -12px -11px;
}

.cwp-banner-container {
  z-index: 10;
  max-width: 800px;
  padding: 20px;
}

.cwp-banner-title {
  color: #000000;
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 52px;
  line-height: 62.6px;
  letter-spacing: -1px;
  text-align: center;
  vertical-align: middle;
  text-transform: capitalize;
  margin: 0;
}

.cwp-banner-ai-tag {
  background: linear-gradient(90deg, #9810fa 0%, #155dfc 100%);
  padding: 6px 18px;
  border-radius: 50px;
  color: #ffffff;
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 30px;
  line-height: 55.17px;
  letter-spacing: -0.88px;
}

p.cwp-banner-description {
  color: #000000;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 20px;
  line-height: 37px;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  margin-top: 22px;
}

.cwp-banner-float {
  position: absolute;
  z-index: 5;
  animation: floatAnimation 6s ease-in-out infinite;
}

.cwp-banner-img-1 {
  top: 2%;
  left: 35%;
  animation-delay: 0s;
}

.cwp-banner-img-2 {
  top: 53%;
  right: 20%;
  animation-delay: 1s;
}

.cwp-banner-img-3 {
  bottom: 29%;
  left: 22%;
  animation-delay: 2s;
}

.cwp-banner-img-4 {
  bottom: 0;
  right: 19%;
  animation-delay: 3s;
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@media screen and (max-width: 768px) {
  .cwp-banner-wrapper {
    text-align: center;
    overflow: hidden;
    position: relative;
    min-height: 300px;
  }

  .banner-ai-text {
    font-size: 20px;
    height: 32px;
    animation: none !important;
  }

  .banner-ai-text svg {
    width: 19px;
  }

  .cwp-banner-ai-tag {
    font-size: 16px;
  }

  .cwp-banner-float {
    display: none;
  }

  .cwp-banner-container {
    width: 100% !important;
    max-width: 100%;
  }

  .cwp-banner-title {
    font-size: 28px !important;
    line-height: 1.2;
    margin: 0;
  }

  .cwp-banner-title br,
  .cwp-banner-description br {
    display: none;
  }

  .cwp-banner-description {
    font-size: 16px !important;
    line-height: 23px !important;
    margin: 15px 0;
  }

  .cubewp-pricing-banner-tab-label {
    padding: 13px 24px;
  }

  .cwp-banner-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 13px;
    box-sizing: border-box;
    font-size: 16px;
  }
}

/* Bannner css */

/* cwp templates explore css */

.cwp-templates-explore-loading,
.cwp-templates-explore-error {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  color: #888;
  font-size: 16px;
}

.cwp-templates-explore-error {
  color: #c0392b;
}

@keyframes cwp-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.cwp-skeleton-block {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, #ececf1 0%, #f6f6f9 45%, #ececf1 90%);
  background-size: 200% 100%;
  animation: cwp-skeleton-shimmer 1.35s ease-in-out infinite;
}

.cwp-templates-explore-grid.is-skeleton-loading {
  min-height: 720px;
}

.cwp-templates-grid-sentinel {
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  visibility: hidden;
  pointer-events: none;
}

.cwp-templates-explore-skeleton-card {
  pointer-events: none;
}

.cwp-templates-explore-skeleton-card .cwp-templates-explore-card-header {
  background: #f3f4f6;
  border-bottom-color: #ececf1;
}

.cwp-templates-explore-skeleton-card .cwp-skeleton-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.cwp-templates-explore-skeleton-card .cwp-skeleton-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.cwp-templates-explore-skeleton-card .cwp-skeleton-badge {
  position: absolute;
  top: 11px;
  right: 8px;
  width: 72px;
  height: 22px;
  border-radius: 120px;
}

.cwp-templates-explore-skeleton-card .cwp-skeleton-title {
  width: 78%;
  height: 14px;
  margin-bottom: 8px;
}

.cwp-templates-explore-skeleton-card .cwp-skeleton-demo {
  width: 52%;
  height: 12px;
}

.cwp-templates-explore-category-list.is-skeleton-loading {
  pointer-events: none;
}

.cwp-templates-explore-skeleton-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  margin-bottom: 4px;
  border-radius: 10px;
  list-style: none;
}

.cwp-templates-explore-skeleton-category--wide .cwp-skeleton-category-name {
  flex: 1;
  height: 14px;
}

.cwp-templates-explore-skeleton-category--wide .cwp-skeleton-category-count {
  width: 28px;
  height: 20px;
  border-radius: 34px;
  flex-shrink: 0;
}

.cwp-templates-explore-skeleton-category .cwp-skeleton-category-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cwp-templates-explore-skeleton-category .cwp-skeleton-category-name {
  flex: 1;
  height: 14px;
}

.cwp-templates-explore-skeleton-category .cwp-skeleton-category-count {
  width: 36px;
  height: 14px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cwp-skeleton-block {
    animation: none;
    background: #ececf1;
  }
}

.cwp-templates-explore-container {
  padding: 8px 16px 16px 16px;
}

li.cwp-templates-explore-category-item.active span.cwp-templates-explore-count {
  background: #5641f3;
  color: #fff;
  border-radius: 34px;
}

li.cwp-templates-explore-category-item.active
  span.cwp-templates-explore-category-name {
  color: #5641f3;
}

li.cwp-templates-explore-category-item.active {
  background: #eeedfe;
  border-radius: 10px;
}

.cwp-templates-explore-container .container {
  max-width: 1375px;
  width: 100%;
}

.cwp-templates-explore-wrapper {
  display: flex;
  gap: 16px;
}

.cwp-templates-explore-sidebar-title {
  margin: 0;
  padding: 20px 0px 0px 12px;
  color: #b0b0b8;
  font-family: Inter Tight;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

li.cwp-templates-explore-category-item
  span.cwp-templates-explore-category-name {
  color: #4a4a5a;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0px;
  text-align: center;
}

li.cwp-templates-explore-category-item span.cwp-templates-explore-count {
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0px;
  color: #888888;
  padding: 2px 8px;
  background: #f7f7f5;
}

li.cwp-templates-explore-category-item {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0px;
  cursor: pointer;
}

.cwp-templates-explore-category-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

aside.cwp-templates-explore-sidebar .cwp-templates-explore-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: 0.2s ease;
  padding: 7px 12px;
  border-radius: 7px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.cwp-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.cwp-templates-explore-group-header span.cwp-templates-explore-category-name {
  color: #4a4a5a;
  display: flex;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: center;
}

aside.cwp-templates-explore-sidebar .cwp-templates-explore-group-header {
  padding: 8px 12px;
  border-radius: 10px;
}

.cwp-templates-explore-category-item.active,
.cwp-templates-explore-category-group.active
  > .cwp-templates-explore-group-header {
  background-color: var(--active-bg-light);
  color: var(--primary-purple);
  font-weight: 500;
}

.cwp-templates-explore-count {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888888;
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0px;
}

.cwp-arrow-down {
  border: solid #b1b3bb;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 2px;
  transform: rotate(45deg);
}

.cwp-templates-explore-sub-list {
  list-style: none;
  padding-left: 28px;
  margin: 4px 0 0 0;
  display: none;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 13px;
  line-height: 19.5px;
  letter-spacing: 0px;
  color: #888888;
}

li.cwp-templates-explore-category-group {
  margin-bottom: 10px;
}

.cwp-templates-explore-category-group.active .cwp-templates-explore-sub-list {
  display: none;
}

.cwp-templates-explore-sub-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cwp-templates-explore-sub-list li span.cwp-templates-explore-sub-count {
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0px;
  color: #888888;
}

.cwp-templates-explore-sub-list li.active {
  background: #dbdfe94d;
  border-radius: 10px;
}

.cwp-templates-explore-main {
  flex: 1;
  scroll-margin-top: 24px;
}

.cwp-templates-explore-top {
  padding: 20px 32px;
  border-bottom: 1px solid #ebebef;
  z-index: 999;
  position: relative;
}

.cwp-templates-explore-content {
  padding: 28px 32px 32px 32px;
}

.cwp-templates-explore-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.cwp-templates-explore-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-right: 20px;
}

.cwp-templates-explore-breadcrumb h3,
.cwp-templates-explore-breadcrumb .cwp-templates-explore-breadcrumb-root {
  color: #666666;
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 16px;
  line-height: 19.5px;
  letter-spacing: 0px;
  margin: 0;
}

.cwp-templates-explore-breadcrumb .cwp-templates-explore-breadcrumb-root {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.cwp-templates-explore-breadcrumb .cwp-templates-explore-breadcrumb-root:hover {
  color: #5641f3;
}

.cwp-templates-type-filters {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0 0 0 16px;
  align-self: flex-start;
  z-index: 999;
  background-color: #fff;
  padding: 5px;
  border-radius: 10px;
  box-shadow: #ddd -2px -18px 80px 0px;
}

.cwp-templates-type-filters li {
  margin: 0;
  padding: 0;
}

.cwp-templates-explore-breadcrumb strong {
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 16px;
  line-height: 19.5px;
  letter-spacing: 0px;
  text-transform: capitalize;
  color: #000000;
  margin-left: 0;
}

.cwp-templates-explore-breadcrumb .cwp-templates-explore-breadcrumb-sep {
  display: none;
  margin-left: 12px;
  margin-right: 12px;
}

.cwp-results-count {
  color: #888888;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0px;
  padding: 8px 18px;
  margin-left: 12px;
}

.cwp-templates-explore-controls {
  display: flex;
  gap: 17px;
}

.cwp-templates-explore-search-box {
  position: relative;
  width: 410px;
}

.cwp-templates-explore-search-box input::placeholder {
  color: #1a1a1a80;
}

.cwp-search-icon {
  position: absolute;
  left: 18px;
  top: 12px;
}

.cwp-templates-explore-search-box input:focus,
.cwp-templates-explore-search-box input:focus-visible {
  outline: none;
  border-color: #afa9ec;
  box-shadow: none;
}

.cwp-templates-explore-sort-dropdown:focus,
.cwp-templates-explore-sort-dropdown:focus-visible {
  outline: none;
  border-color: #afa9ec;
  box-shadow: none;
}

.cwp-templates-explore-sort-dropdown {
  padding: 22px 16px;
  border-radius: 10px;
  appearance: none;
  -webkit-appearance: none;
  width: 215px;
  color: #000000;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0px;
  border: 1px solid #d9d9d9;
  padding-right: 42px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  background-size: 13px 7px;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='7' viewBox='0 0 13 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6.5 6L12 1' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.cwp-templates-explore-filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  background: #fafafa;
  position: sticky;
  top: 0;
  padding: 22px 0;
}

.cwp-templates-explore-no-results {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: #534ab7;
  text-align: center;
  padding: 28px 12px;
  border: 1px dashed #afa9ec;
  border-radius: 10px;
  margin-bottom: 22px;
  background: #ffffff;
}

.cwp-no-results-message {
  margin: 0;
}

.cwp-no-results-reset {
  background: none;
  border: none;
  padding: 0;
  font-family:
    Inter Tight,
    sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #5641f3;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cwp-no-results-reset:hover {
  color: #3d2fd4;
}

.cwp-templates-explore-card-media {
  border: 1.07px solid #e5e5e5;
  border-radius: 0px !important;
  overflow: hidden;
}

.cwp-templates-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 19px;
}

.cwp-templates-explore-card {
  transition: transform 0.2s ease;
}

.cwp-templates-explore-card-header {
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  background: #f3f4f6;
}

.cwp-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.cwp-card-dot-red {
  background: #ff6467;
}

.cwp-card-dot-yellow {
  background: #fdc700;
}

.cwp-card-dot-green {
  background: #05df72;
}

.cwp-templates-explore-card-image-wrapper {
  position: relative;
  height: 310px;
}

.cwp-template-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: object-position 3s ease-in-out;
  cursor: pointer;
}

.cwp-templates-explore-card-image-wrapper:hover .cwp-template-img {
  object-position: bottom;
}

.cwp-templates-explore-badge {
  position: absolute;
  top: 11px;
  right: 8px;
  padding: 2px 14px;
  color: #000000;
  z-index: 2;
  font-family: Inter Tight;
  font-weight: 600;
  font-size: 14px;
  line-height: 17.17px;
  letter-spacing: 0px;
  border: 1.07px solid transparent;
  border-radius: 120px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #9810fa 0%, #155dfc 100%) border-box;
}

.cwp-templates-explore-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.2s;
  z-index: 99;
  background: #5641f3cc;
  backdrop-filter: blur(2.160714149475098px);
}

.cwp-templates-explore-card:hover:not(.purple-overlay-state)
  .cwp-templates-explore-hover-overlay {
  opacity: 1;
}

/* The Specific Purple Hover State (Card 2 in image) */
.cwp-templates-explore-purple-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(108, 92, 231, 0.85);
  /* 85% opacity purple */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.cwp-templates-explore-hover-overlay a {
  text-decoration: unset !important;
}

/* Card Text Info */
.cwp-templates-explore-card-info {
  padding: 12px;
}

.cwp-card-title {
  margin-bottom: 2px;
  color: #0a0a0a;
  font-family: Inter Tight;
  font-weight: 600;
  font-size: 14px;
  line-height: 20.93px;
  letter-spacing: 0px;
}

.cwp-card-demo {
  margin: 0;
  color: #888888;
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 12px;
  line-height: 17.71px;
  letter-spacing: 0px;
}

/* cwp templates explore responsive */
@media (max-width: 1400px) {
  .cwp-templates-explore-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .cwp-templates-explore-sidebar {
    width: 220px;
    padding: 14px;
  }

  .cwp-templates-explore-header {
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
  }

  .cwp-templates-explore-breadcrumb {
    width: 100%;
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .cwp-templates-explore-controls {
    width: 100%;
    gap: 12px;
  }

  .cwp-templates-explore-search-box {
    flex: 1 1 auto;
    width: auto;
  }

  .cwp-templates-explore-sort-dropdown {
    width: 200px;
    flex-shrink: 0;
  }

  .cwp-templates-explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .cwp-templates-explore-card-image-wrapper {
    height: 280px;
  }
}

@media (max-width: 1024px) {
  .cwp-templates-explore-wrapper {
    flex-direction: column;
  }

  .cwp-templates-explore-sidebar {
    width: 100%;
    border-radius: 14px;
    padding: 14px;
  }

  .cwp-templates-explore-category-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .cwp-templates-explore-category-list > li {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .cwp-templates-explore-category-item,
  aside.cwp-templates-explore-sidebar .cwp-templates-explore-group-header {
    min-height: 42px;
    border-radius: 10px;
    white-space: nowrap;
  }

  .cwp-templates-explore-sub-list {
    position: absolute;
    margin-top: 4px;
    min-width: 190px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #dbdfe9;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    z-index: 5;
  }

  .cwp-results-count {
    margin-left: 0;
    padding: 0;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .cwp-left-filters {
    width: calc(100%) !important;
  }

  .cwp-templates-explore-container .container {
    padding: 0;
  }

  .cwp-page-number {
    width: 25px !important;
    height: 25px !important;
    font-size: 12px !important;
  }

  .cwp-templates-explore-top {
    padding: 15px 15px 0px 15px !important;
  }

  .cwp-templates-explore-content {
    padding: 15px !important;
  }

  .container-fluid {
    padding: 0px !important;
  }

  .cwp-templates-explore-header {
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  .cwp-templates-explore-sidebar {
    padding: 12px;
  }

  .cwp-templates-explore-sidebar-title {
    margin-top: 4px;
    margin-bottom: 10px;
    font-size: 10px;
    line-height: 1.4;
  }

  .cwp-templates-explore-breadcrumb h3,
  .cwp-templates-explore-breadcrumb .cwp-templates-explore-breadcrumb-root,
  .cwp-templates-explore-breadcrumb strong {
    font-size: 14px;
    line-height: 1.4;
  }

  .cwp-results-count {
    font-size: 12px;
  }

  .cwp-templates-explore-controls {
    flex-direction: column;
    gap: 10px;
  }

  .cwp-templates-explore-search-box,
  .cwp-templates-explore-sort-dropdown {
    width: 100%;
  }

  .cwp-templates-explore-search-box input,
  .cwp-templates-explore-sort-dropdown {
    font-size: 14px;
    min-height: 50px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .cwp-templates-explore-search-box input {
    padding-left: 42px;
  }

  .cwp-search-icon {
    top: 16px;
    left: 14px;
  }

  .cwp-templates-explore-filter-tags {
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
  }

  .cwp-filter-tag {
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.4;
  }

  .cwp-templates-explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .cwp-templates-explore-card-image-wrapper {
    height: 260px;
  }

  .cwp-templates-explore-badge {
    font-size: 12px;
    padding: 2px 12px;
  }

  .cwp-card-title {
    font-size: 15px;
    line-height: 1.4;
  }

  .cwp-card-demo {
    font-size: 12px;
    line-height: 1.5;
  }

  .cwp-templates-explore-preview-btn {
    padding: 8px 14px;
    font-size: 14px;
  }

  .nextwp-demos-main-modal-content {
    margin: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 20px 16px;
  }

  .nextwp-demos-main-modal-body {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .nextwp-modal-left,
  .nextwp-modal-right {
    max-width: 100% !important;
  }

  .nextwp-modal-left {
    height: auto;
  }

  .nextwp-modal-left img {
    height: 280px;
  }

  .nextwp-modal-right h2 {
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 8px;
  }

  .nextwp-modal-right p {
    font-size: 16px;
    line-height: 1.7;
  }

  .nextwp-demo-des {
    margin-top: 24px;
  }

  .nextwp-modal-actions {
    margin-top: 22px;
  }
}

@media (max-width: 480px) {
  .cwp-templates-explore-card-image-wrapper {
    height: 230px;
  }

  .cwp-templates-explore-category-list {
    gap: 6px;
  }

  .cwp-templates-explore-category-item,
  aside.cwp-templates-explore-sidebar .cwp-templates-explore-group-header {
    min-height: 38px;
    padding: 7px 10px;
  }

  li.cwp-templates-explore-category-item
    span.cwp-templates-explore-category-name,
  .cwp-templates-explore-group-header span.cwp-templates-explore-category-name {
    font-size: 13px;
    line-height: 1.35;
  }

  .cwp-templates-explore-count {
    font-size: 11px;
    line-height: 1.2;
    gap: 6px;
  }

  .nextwp-modal-left img {
    height: 220px;
  }

  .nextwp-modal-right h2 {
    font-size: 24px;
  }
}

.nextwp-demos-main-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #0a0a14a6;
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  display: flex !important;
  transition: opacity 250ms ease-out;
}

.nextwp-modal-left {
  max-width: 645px;
  border-right: 1px solid #e5e5e5;
  border-radius: 20px 0 0 20px;
  background: #f3f4f6;
}

.nextwp-modal-right {
  max-width: 445px;
  width: 100%;
}

.nextwp-modal-left img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  margin: -1px 0 0 0;
}

.nextwp-demos-main-modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 1100px;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0px 32px 80px 0px #00000038;
  transition: transform 250ms ease-out;
  transform: scale(0.9);
}

.nextwp-demos-main-modal[style*="display: flex"]
  .nextwp-demos-main-modal-content {
  transform: scale(1);
}

.nextwp-demos-main-modal-body {
  display: flex;
  gap: 0;
}

.nextwp-modal-right h2 {
  color: #000000;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 44px;
  line-height: 48.6px;
  letter-spacing: 0px;
  vertical-align: middle;
}

.nextwp-demo-des {
  margin-top: 45px;
}

.nextwp-modal-actions {
  margin-top: 32px;
  align-items: center;
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.nextwp-modal-actions a.nextwp-btn-secondary {
  border-radius: 120px;
  padding: 14px;
  text-decoration: unset;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  justify-content: center;
  border: 0.5px solid #5641f3;
  color: #5641f3;
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
}

.nextwp-modal-actions a.nextwp-btn-secondary:hover {
  background: #5641f3;
  color: #fff;
}

.nextwp-modal-actions a.nextwp-btn-primary {
  width: 100%;
  justify-content: center;
  border-radius: 120px;
  padding: 14px;
  text-decoration: unset;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #5641f3;
  color: #ffffff;
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
  border: 0.5px solid #5255fb66;
}

.nextwp-modal-actions a.nextwp-btn-primary:hover {
  background: transparent;
  color: #5641f3;
  border-color: #5641f3;
}

.window-container {
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

.nextwp-modal-left {
  width: 100%;
  min-height: 600px;
  overflow: hidden;
}

.nextwp-modal-left img {
  width: 100%;
  object-fit: cover;
  object-position: top;
  transition: object-position 3s ease-in-out;
  cursor: pointer;
}

.nextwp-modal-left:hover img {
  object-position: bottom;
}

.window-header {
  background: #f3f4f6;
  padding: 9px;
  display: flex;
  align-items: center;
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.nextwp-demo-des p {
  color: #4c4c4c;
  font-weight: 300 !important;
  font-size: 16px !important;
  line-height: 26px !important;
  letter-spacing: 2% !important;
  font-family: Inter Tight !important;
}

.red {
  background-color: #ff6467;
}

.yellow {
  background-color: #fdc700;
}

.green {
  background-color: #05df72;
}

.nextwp-modal-right p {
  vertical-align: middle;
  margin: 0;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 13px;
  line-height: 20.15px;
  letter-spacing: 0px;
  color: #717182;
}

.nextwp-demos-main-close {
  position: absolute;
  right: 15px;
  top: 15px;
  cursor: pointer;
  color: #fff;
  border-radius: 120px;
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  padding: 0 0 3px 0;
}

/* cwp templates explore css */

/* cwp footer css */
.cwp-templates-explore-container .container {
  z-index: 9;
  position: relative;
}

/* hero section */

.cwp-hero-wrapper {
  padding: 16px 16px 8px 16px;
}

.cwp-hero-wrapper .container {
  max-width: 1375px;
  width: 100%;
  margin: 0 auto;
}

.cwp-hero-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 34px 29px 22px 35px;
  background:
    radial-gradient(
        81.87% 81.85% at 19.36% 50.37%,
        rgba(124, 58, 237, 0.14) 0%,
        rgba(0, 0, 0, 0) 89.71%
      )
      /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */,
    radial-gradient(
      106.3% 106.3% at 80% 30%,
      rgba(37, 99, 235, 0.06) 0%,
      rgba(0, 0, 0, 0) 55%
    ),
    #ffffff;
  box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.08);
}

.cwp-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.cwp-hero-top-left {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.cwp-hero-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-right: 4px;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.12) 0%,
    rgba(37, 99, 235, 0.1) 100%
  );
}

.cwp-hero-icon svg {
  width: 22px;
}

.cwp-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #15803d;
  background: #e8f8f0;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0px;
}

.cwp-hero-pill i {
  font-size: 8px;
  color: #22c55e;
}

.cwp-hero-meta {
  color: #717182;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0px;
  margin: 0px;
}

.cwp-hero-dot {
  color: #b0b0b8;
}

.cwp-hero-top-right {
  display: flex;
  align-items: center;
  gap: 2px;
}

.cwp-hero-action {
  background: none;
  border: none;
  color: #717182;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0px;
  text-align: center;
}

.cwp-hero-action:hover {
  color: #5641f3;
}

.cwp-hero-title {
  color: #1a1a1a;
  margin: 0px 0px 10px;
  font-family: Inter Tight;
  font-weight: 700;
  font-size: 28px;
  line-height: 28px;
  letter-spacing: -0.84px;
}

.cwp-hero-description {
  color: #717182;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0px;
  max-width: 560px;
  margin: 0px;
}

@media (max-width: 768px) {
  .cwp-hero-card {
    padding: 20px;
  }

  .cwp-hero-title {
    font-size: 21px;
  }

  .cwp-hero-top-right {
    gap: 10px;
  }

  .cwp-hero-description {
    max-width: 100%;
  }
}

/* sidebar + main */

.cwp-templates-explore-sidebar {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 14px;
  box-shadow: 0px 2px 12px 0px #00000012;
  border: 0;
  width: 220px;
}

.cwp-templates-explore-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-left: 4px;
}

.cwp-sidebar-head-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1a1a1a;
  font-family: Inter Tight;
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -0.28px;
}

.cwp-sidebar-gallery-badge {
  background: #5641f3;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 6px;
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: 0px;
}

.cwp-sidebar-collapse-btn {
  border: 1px solid #e5e5e5;
  background: transparent;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5641f3;
  cursor: pointer;
}

.cwp-sidebar-collapse-btn:hover {
  background: #f1edff;
}

.cwp-templates-explore-all-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Hide numeric counts to match Figma (chevrons stay visible); functionality unaffected */
.cwp-count-number,
.cwp-templates-explore-sub-count {
  display: none;
}

.cwp-templates-explore-count i.fa-angle-down {
  color: #b7b7c2;
  font-size: 12px;
}

/* Hide the old breadcrumb row visually — kept in DOM for JS (category label, results logic) */
.cwp-visually-hidden-row {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.cwp-templates-explore-main {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0px 2px 12px 0px #00000012;
  width: calc(100% - 236px);
}

.cwp-templates-explore-controls {
  width: 525px;
  max-width: 100%;
  margin-bottom: 16px;
}

.cwp-templates-explore-search-box {
  width: 100%;
}

.cwp-templates-explore-main-categories-row {
  margin-bottom: 16px;
}

.cwp-left-filters {
  width: calc(100% - 300px);
}

.cwp-main-cat-btn {
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 13px;
  line-height: 19px;
  letter-spacing: 0px;
  text-align: center;
  min-width: max-content;
}

.cwp-templates-explore-search-box input {
  width: 100%;
  padding: 14px 46px 14px 20px;
  border-radius: 100px;
  background: #f7f7fa;
  border: 1px solid #e8e8ec;
  color: #111111;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0px;
}

.cwp-templates-explore-search-box input::placeholder {
  color: #9a9aa3;
}

.cwp-search-icon {
  left: auto;
  right: 18px;
  top: 16px;
}

.cwp-templates-explore-header {
  display: block;
  margin-bottom: 16px;
}

.cwp-templates-explore-filter-tags-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ededf2;
  margin-bottom: 14px;
}

.cwp-templates-explore-filter-tags {
  position: static;
  background: transparent;
  padding: 0;
  margin: 0;
  gap: 6px;
} 
.cwp-filter-tag {
  border-radius: 100px;
  border: 0;
  background: #f0f0f5;
  color: #717182;
  padding: 4px 12px;
  font-family: Inter Tight;
  font-weight: 400;
  cursor: pointer;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0px;
  text-align: center;
}

.cwp-filter-tag.active {
  background: #eeedfe;
  color: #5b52c8;
  font-weight: 500;
}

.cwp-templates-type-filters {
  margin: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  gap: 4px;
}

.cwp-results-count {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  color: #8c8c94;
  font-size: 13.5px;
}

/* Pagination */
.cwp-templates-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 38px 0 10px;
}

.cwp-page-arrow {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e5e5ea;
  background: #ffffff;
  color: #b3b3bb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px !important;
}
.cwp-page-arrow {
    padding: 7px 12px !important;
    width: 53px;
    height: 38px !important;
}
.cwp-page-arrow:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cwp-page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cwp-page-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e5e5ea;
  background: #ffffff;
  color: #44444c;
  font-family: Inter Tight;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.cwp-page-number.active {
  background: #5641f3;
  border-color: #5641f3;
  color: #ffffff;
}

.cwp-page-next {
  height: 36px;
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  background: #5641f3;
  color: #ffffff;
  font-family: Inter Tight;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  height: 38px !important;
}

.cwp-page-next:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cwp-request-design-line {
  text-align: center;
  color: #9a9aa3;
  font-family: Inter Tight;
  font-size: 13.5px; 
      margin: 30px 0 0 0;
}

.cwp-request-design-line a {
  color: #5641f3;
  font-weight: 600;
  text-decoration: none;
}

.cwp-request-design-line a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .cwp-templates-explore-sidebar {
    padding: 14px;
    width: 100%;
    display: none !important;
  }

  .cwp-templates-explore-main {
    width: calc(100%);
  }

  .cwp-templates-explore-all-list li {
    width: fit-content;
  }

  .cwp-sidebar-collapse-btn {
    display: none !important;
  }

  .cwp-templates-explore-filter-tags-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cwp-templates-explore-controls {
    width: 100%;
  }
}

.cwp-templates-explore-sidebar.is-collapsed .cwp-templates-explore-all-list,
.cwp-templates-explore-sidebar.is-collapsed
  .cwp-templates-explore-sidebar-title,
.cwp-templates-explore-sidebar.is-collapsed
  .cwp-templates-explore-category-list {
  display: none;
}

.cwp-templates-explore-sidebar.is-collapsed {
  width: 64px;
  padding: 20px 12px;
}

.cwp-templates-explore-sidebar.is-collapsed .cwp-sidebar-head-title span,
.cwp-templates-explore-sidebar.is-collapsed .cwp-sidebar-head-title {
  display: none;
}

.cwp-templates-explore-sidebar.is-collapsed .cwp-sidebar-collapse-btn i {
  transform: rotate(180deg);
}

/* ---- CUSTOM SIDEBAR STYLES FOR REDESIGN ---- */

/* Category Group Header */
.cwp-templates-explore-category-group {
  margin-bottom: 8px;
}

/* Active Category Group */
.cwp-templates-explore-category-group.active
  .cwp-templates-explore-group-header {
  background-color: #ffffff;
  border: 0;
  box-shadow: 0px 1px 15px 0px #00000026;
}

.cwp-templates-explore-category-group.active
  .cwp-templates-explore-category-name {
  color: #5b52c8 !important;
  font-weight: 600;
}

.cwp-templates-explore-category-group.active
  .cwp-templates-explore-toggle-icon
  i {
  transform: rotate(180deg);
}

/* Sub-list styling */
.cwp-templates-explore-sub-list {
  display: none;
  list-style: none;
  padding: 6px 0 0px 0px;
  margin: 0;
}

.cwp-templates-explore-category-group.active .cwp-templates-explore-sub-list {
  display: block;
}

.cwp-templates-explore-sub-list li {
  padding: 9px 12px 9px 32px;
  margin-bottom: 2px;
  border-radius: 8px;
  color: #717182;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 12px;
  line-height: 17px;
  letter-spacing: 0px;
}

.cwp-templates-explore-sub-list li:hover {
  color: #111827;
  background-color: #f9fafb;
}

/* Active Sub-list item */
.cwp-templates-explore-sub-list li.active {
  background-color: #5641f31a;
  color: #5b52c8;
  font-weight: 500;
}

/* All Templates Link */
.cwp-templates-explore-all-list li {
  padding: 7px 12px;
  cursor: pointer;
  border-radius: 7px;
}

.cwp-templates-explore-all-list li.active {
  color: #5641f3;
  box-shadow: 0px 1px 15px 0px #00000026;
  background: #ffffff;
}

.cwp-templates-explore-toggle-icon {
  font-size: 13px;
  color: #b0b0b8;
  transition: transform 0.2s;
}

/* Collapse Button Update */
.cwp-sidebar-collapse-btn {
  border: 1px solid #e7e7ee;
  background: transparent;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366f1;
  cursor: pointer;
}

/* Subcategory filter pills */
.cwp-templates-explore-filter-tag {
  background: #f3f4f6 !important;
  color: #6b7280 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 12px !important;
}

.cwp-templates-explore-filter-tag.active {
  background: #f3f0ff !important;
  color: #6366f1 !important;
  font-weight: 500 !important;
}

/* Sort filter pills */
.cwp-templates-type-filter {
  background: transparent;
  border: none;
  color: #6b7280;
  box-shadow: none;
  border-radius: 7px;
  padding: 5px 12px;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0px;
  text-align: center;
}

.cwp-templates-type-filter.active {
  background: #ffffff;
  color: #1a1a1a;
  font-weight: 600;
  box-shadow: 0px 1px 4px 0px #0000001a;
}

/* --- NEW CARD STYLES --- */
.cwp-templates-explore-card-image-wrapper {
  position: relative;
}

.cwp-card-tags {
  position: absolute;
  top: 7px;
  right: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  z-index: 5;
}

.cwp-card-tag-category {
  background: #ffffff;
  color: #1a1a1a;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0px 2px 8px 0px #00000024;
  font-family: Inter Tight;
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0px;
}

.cwp-card-tag-new {
  background: #5641f3;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: Inter Tight;
  font-weight: 600;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.11px;
}

.cwp-card-device-icons {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #00000033;
  backdrop-filter: blur(2px);
  padding: 5px 8px;
  border-radius: 120px;
  display: flex;
  gap: 8px;
  color: #ffffff;
  font-size: 12px;
  z-index: 5;
}

.cwp-templates-explore-card-info {
  padding: 16px 4px 8px 4px;
}

.cwp-card-title {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: #111827;
  margin: 0 0 4px 0;
}

.cwp-card-demo {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 14.5px;
  color: #6b7280;
  margin: 0;
}

/* Hide the old badge if it still exists somehow */
.cwp-templates-explore-badge {
  display: none !important;
}

/* --- MODAL REDESIGN STYLES --- */

.nextwp-demos-main-close {
  position: absolute;
  top: 23px;
  right: 14px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.nextwp-demos-main-close:hover {
  transform: scale(1.05);
}

.window-header {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: #f3f4f6;
  border-bottom: 0;
  border-radius: 20px 0px 0 0px;
  gap: 16px;
}

.window-url-bar {
  flex-grow: 1;
}

.window-url-bar input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e2e8;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: #6b7280;
  outline: none;
  font-family: "Inter Tight", sans-serif;
}

#tpl-info-panel #modal-cat {
  font-family: "Inter Tight", sans-serif;
  font-size: 14.5px;
  color: #717182;
  display: flex;
  align-items: center;
}

.nextwp-demo-des h2 {
  color: #b0b0b8;
  margin: 0 0 10px 0;
  font-family: Inter Tight;
  font-weight: 600;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.modal-category-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
}

.modal-tag-primary {
  background: #f1edff;
  color: #5641f3;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: "Inter Tight", sans-serif;
}

.modal-tag-secondary {
  background: #f3f4f6;
  color: #4b5563;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 500;
  font-family: "Inter Tight", sans-serif;
}

.nextwp-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.nextwp-modal-actions .nextwp-btn-primary {
  background: #5b45f4;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 30px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  font-family: "Inter Tight", sans-serif;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  transition: opacity 0.2s;
}

.nextwp-modal-actions .nextwp-btn-primary:hover {
  opacity: 0.9;
}

.nextwp-modal-actions .nextwp-btn-secondary {
  background: #ffffff;
  color: #5b45f4;
  padding: 14px 24px;
  border-radius: 30px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  font-family: "Inter Tight", sans-serif;
  text-decoration: none;
  border: 1.5px solid #e7e7ee;
  transition: border-color 0.2s;
}

.nextwp-modal-actions .nextwp-btn-secondary:hover {
  border-color: #5b45f4;
}

.nextwp-modal-right {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
}

#tpl-info-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* --- ANIMATIONS & HOVER FIXES --- */

/* 1. Sidebar Smooth Collapse */
.cwp-templates-explore-sidebar {
  transition:
    width 0.3s ease,
    padding 0.3s ease;
}

.cwp-templates-explore-all-list,
.cwp-templates-explore-sidebar-title,
.cwp-templates-explore-category-list {
  transition: opacity 0.2s ease;
}

.cwp-templates-explore-sidebar.is-collapsed .cwp-templates-explore-all-list,
.cwp-templates-explore-sidebar.is-collapsed
  .cwp-templates-explore-sidebar-title,
.cwp-templates-explore-sidebar.is-collapsed
  .cwp-templates-explore-category-list {
  display: none;
  opacity: 0;
}

/* 2. Smooth Modal Opening (Requires !important to override jQuery inline styles) */
.nextwp-demos-main-modal[style*="display: flex"] {
  opacity: 1 !important;
  visibility: visible !important;
}

.nextwp-demos-main-modal[style*="display: none"] {
  opacity: 0 !important;
  visibility: hidden !important;
  display: flex !important;
  pointer-events: none;
}

/* 3. Card Hover Live Preview Button */
.cwp-templates-explore-hover-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.cwp-templates-explore-preview-btn {
  font-family: "Inter Tight", sans-serif;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(255, 255, 255);
  background-color: #ffffff29;
  backdrop-filter: blur(8px);
  border: 1px solid #ffffff59;
  letter-spacing: -0.01em;
}

/* Ensure overlay fades in smoothly */
.cwp-templates-explore-card-image-wrapper:hover
  .cwp-templates-explore-hover-overlay {
  opacity: 1;
}

/* Let jQuery handle the sliding animation for sub-lists */
.cwp-templates-explore-category-group.active .cwp-templates-explore-sub-list {
  display: none;
}

/* card popup */

#tpl-info-panel #modal-title {
  font-family: Inter Tight;
  font-weight: 700;
  font-size: 24px;
  line-height: 28.8px;
  letter-spacing: -0.48px;
  color: #1a1a1a;
  margin-bottom: 12px;
}

#tpl-signup-panel .tpl-step-desc {
  margin-bottom: 6px;
}

.tpl-form-group:first-of-type {
  margin-top: 32px;
}

#tpl-otp-email {
  color: #1a1a1a;
  font-weight: 600;
}

#tpl-signup-panel .tpl-resend-line {
  margin-bottom: 28px;
}

#tpl-step-building {
  margin: auto 0;
}

#tpl-step-done {
  margin: auto 0;
}

.tpl-otp-hint {
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: 0px;
  text-align: center;
  color: #b0b0b8;
  margin: auto auto 0 auto;
}
