#insertStaticTemplateButton.primekit-add-button,
.elementor-add-section-area-button.primekit-add-button,
.primekit-add-button {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #0049E7 0%, #C835F8 100%) !important;
  background-color: transparent !important;
  cursor: pointer !important;
  margin-right: 10px !important;
  padding: 0 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 73, 231, 0.3) !important;
  border: none !important;
  position: relative !important;
}

.elementor-add-section-area-button.primekit-add-button img,
.primekit-add-button img {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  filter: brightness(0) invert(1) !important;
}

#insertStaticTemplateButton.primekit-add-button:hover,
.elementor-add-section-area-button.primekit-add-button:hover,
.primekit-add-button:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(0, 73, 231, 0.4) !important;
  background: linear-gradient(135deg, #0049E7 0%, #C835F8 100%) !important;
  background-color: transparent !important;
}
.primekit-template-modal-close svg {
  width: 25px;
  height: 25px;
  cursor: pointer;
  border-radius: 100%;
  border: 1px solid #000;
  padding: 5px;
  outline: none;
}
.primekit-template-modal-close,
.primekit-template-modal-close:active,
.primekit-template-modal-close:focus,
.primekit-template-modal-close:hover {
  outline: none;
}
.primekit-template-modal-content-area {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-radius: 5px;
  max-width: 100%;
  overflow: hidden;
  margin-left: 15px;
  margin-right: 15px;
}
.single-primekit-template {
  padding: 20px;
  border: 1px solid #ddd;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: #f5f5f5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.single-primekit-template img {
  max-width: 100%;
  border-radius: 10px;
}
/*----------------------------------------------
 *Template Modal
 * ---------------------------------------------*/
.primekit-template-grid-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 10px;
  margin-top: 30px;
}

.primekit-template img {
  max-width: 100%;
}

.primekit-template {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  padding: 10px;
}
.primekit-template-content {
  position: absolute;
  left: 50%;
  top: 150%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.primekit-template:before {
  width: 100%;
  height: 100%;
  content: "";
  background-color: #000;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}
.primekit-template:hover:before {
  transform: scale(1);
  visibility: visible;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.primekit-template-content h3 {
  font-size: 20px;
}
.primekit-templates-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.primekit-template-insert,
.primekit-template-preview {
  background-color: #0d7a31;
  font-family: "Inter", Sans-serif;
  border: 1px solid #0d7a31;
  padding: 8px 12px;
  min-width: 90px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s ease;
  font-weight: 400;
}
.primekit-template-preview a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.primekit-template:hover .primekit-template-content {
  transition: all 0.3s ease;
  top: 50%;
  opacity: 1;
  visibility: visible;
}
.primekit-template-insert:hover,
.primekit-template-preview:hover {
  background-color: #0448e7;
  transition: all 0.3s ease;
  border-color: #0448e7;
}
.primekit-template-preview:hover a {
  color: #fff;
}
.primekit-templates-render-area .primekit-modal-heading {
  color: #fff;
}
.modal__close,
.modal__close:active,
.modal__close:focus,
.modal__close:hover {
  outline: none;
}

.primekit-templates-popup-content-area {
  display: flex;
  gap: 30px;
}

.primekit-templates-sidebar {
  flex-basis: 250px;
  width: 250px;
}

.primekit-templates-popup-content {
  width: 100%;
  flex-basis: 100%;
  height: calc(100vh - 200px);
  overflow-y: auto;
}

.primekit-template-filters {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.primekit-templates-popup-tabs {
  display: flex;
  gap: 50px;
  justify-content: space-between;
  margin: 20px;
  align-content: center;
  align-items: center;
}

.primekit-templates-popup-tab ul {
  display: flex;
  gap: 10px;
  list-style: none;
}

.primekit-templates-popup-tab ul a {
  color: #fff;
  background-color: #0d7a31;
  padding: 10px;
  border-radius: 3px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 400;
}
.primekit-templates-popup-tab ul a:hover, .primekit-templates-popup-tab ul a.active {
  color:#fff;
  background-color: #0448e7;
  transition: all 0.3s ease;
}
.primekit-templates-search input {
  width: 200px;
  background-color: #fff;
  padding: 10px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  align-content: center;
}
/* Sidebar Styles */
.primekit-templates-sidebar {
  width: 250px;
  height: calc(100vh - 200px);
  overflow-y: auto;
  border-right: 1px solid #e0e0e0;
  padding: 20px;
}

/* Scrollbar Styling */
.primekit-templates-sidebar::-webkit-scrollbar {
  width: 6px;
}

.primekit-templates-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.primekit-templates-sidebar::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.primekit-templates-sidebar::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Categories Title */
.primekit-template-filters h3 {
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: 600;
  color: #23282d;
}

/* Category Radio Buttons */
.primekit-category-radios {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.primekit-radio-item {
  position: relative;
  cursor: pointer;
  display: block;
}

.primekit-radio-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.primekit-radio-label {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.primekit-radio-label:hover {
  border-color: #0049E7;
  color: #333;
}

.primekit-radio-item input[type="radio"]:checked + .primekit-radio-label {
  background: linear-gradient(135deg, #0049E7 0%, #C835F8 100%);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
}

.primekit-radio-count {
  margin-left: auto;
  font-size: 12px;
  opacity: 0.8;
}
.primekit-load-more {
  margin: 20px auto;
  display: block;
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

.primekit-templates-loader {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: block;
  margin: 15px auto;
  position: relative;
  background: #fff;
  box-shadow: -24px 0 #fff, 24px 0 #fff;
  box-sizing: border-box;
  animation: shadowPulse 2s linear infinite;
}

@keyframes shadowPulse {
  33% {
    background: #fff;
    box-shadow: -24px 0 #ff3d00, 24px 0 #fff;
  }
  66% {
    background: #ff3d00;
    box-shadow: -24px 0 #fff, 24px 0 #fff;
  }
  100% {
    background: #fff;
    box-shadow: -24px 0 #fff, 24px 0 #ff3d00;
  }
}
.primekit-template-info {
  position: absolute;
  width: 90%;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  top: 15px;
  z-index: 99;
}

.primekit-template-available,
.primekit-template-pro,
.primekit-template-free {
  display: inline-block;
  margin: 0;
  background-color: #0d7a31;
  color: #fff;
  padding: 3px 6px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 200;
}
.modal__content.primekit-templates-contents-area {
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-top: 0;
  margin-bottom: 0;
}
.primekit-template-pro, .primekit-template-free {
  background-color: transparent;
  padding: 0 !important;
  margin: 0;
  line-height: 0 !important;
  font-size: 0;
}

.primekit-template-pro svg, .primekit-template-free svg {
  width: 40px;
  height: 40px;
}
.primekit-templates-render-area.micromodal-slide[aria-hidden="false"] .modal__container {
  min-width: 85%;
}









/* Responsive Grid Layout */
@media screen and (max-width: 1200px) {
  .primekit-template-grid-area {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 767px) {
  .primekit-template-grid-area {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 5px;
  }
}
