/* Theme Listing - PPT
   Brand: #002151 — marketplace catalog chrome + card overrides */

.gt-theme-listing-ppt {
  --ppt: #002151;
  --ppt-soft: #1a4a7a;
  --ppt-display: var(--gt-font-display, "Plus Jakarta Sans", "Segoe UI", sans-serif);
  --ppt-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gt-primary: #002151;
  width: 100%;
}

.elementor-widget-gt-theme-listing-ppt .elementor-widget-container {
  padding: 0;
}

/* Tabs — underline / minimal, no purple pills */
.gt-theme-listing-ppt .gt-el-theme-listing__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.gt-theme-listing-ppt .gt-el-theme-listing__tabs--style-2,
.gt-theme-listing-ppt .gt-el-theme-listing__tabs--style-3,
.gt-theme-listing-ppt .gt-el-theme-listing__tabs--style-5 {
  gap: 1.5rem;
  padding: 0;
  background: transparent !important;
  border-radius: 0;
}

.gt-theme-listing-ppt .gt-el-theme-listing__tab {
  appearance: none;
  position: relative;
  margin: 0;
  padding: 0.35rem 0;
  border: 0;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  font-family: var(--ppt-display);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: rgba(10, 22, 40, 0.45) !important;
  transition: color 0.2s ease;
}

.gt-theme-listing-ppt .gt-el-theme-listing__tab:hover:not(.is-active) {
  color: rgba(10, 22, 40, 0.7) !important;
  background: transparent !important;
}

.gt-theme-listing-ppt .gt-el-theme-listing__tab.is-active {
  font-weight: 650;
  color: var(--ppt) !important;
  background: transparent !important;
}

.gt-theme-listing-ppt .gt-el-theme-listing__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ppt);
}

/* Cards */
.gt-theme-listing-ppt .theme-card {
  border-radius: 4px;
  border-color: rgba(0, 33, 81, 0.1);
  box-shadow: none;
  font-family: var(--ppt-display);
  transition:
    transform 0.35s var(--ppt-ease),
    border-color 0.25s ease,
    box-shadow 0.35s var(--ppt-ease);
}

.gt-theme-listing-ppt .theme-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 33, 81, 0.22);
  box-shadow: 0 14px 32px -20px rgba(0, 33, 81, 0.45);
}

.gt-theme-listing-ppt .theme-card:hover .theme-card__img {
  transform: scale(1.02);
}

.gt-theme-listing-ppt .theme-card__title,
.gt-theme-listing-ppt .theme-card__name,
.gt-theme-listing-ppt .theme-card h3 {
  font-family: var(--ppt-display) !important;
  color: #0a1628 !important;
}

.gt-theme-listing-ppt .theme-card a:hover .theme-card__title,
.gt-theme-listing-ppt .theme-card:hover .theme-card__title {
  color: var(--ppt) !important;
}

.gt-theme-listing-ppt .theme-card__price,
.gt-theme-listing-ppt .theme-card [class*="price"] {
  color: var(--ppt) !important;
}

.gt-theme-listing-ppt .theme-card .gt-btn-primary-gradient,
.gt-theme-listing-ppt .theme-card .gt-btn--primary,
.gt-theme-listing-ppt .theme-card a.gt-btn {
  border-radius: 4px !important;
  background: var(--ppt) !important;
  background-image: none !important;
  color: #fff !important;
  border-color: var(--ppt) !important;
  box-shadow: none !important;
}

.gt-theme-listing-ppt .theme-card .gt-btn-primary-gradient:hover,
.gt-theme-listing-ppt .theme-card .gt-btn--primary:hover,
.gt-theme-listing-ppt .theme-card a.gt-btn:hover {
  background: var(--ppt-soft) !important;
  border-color: var(--ppt-soft) !important;
  color: #fff !important;
}

.gt-theme-listing-ppt .theme-card [class*="badge"],
.gt-theme-listing-ppt .theme-card__badge {
  border-radius: 3px !important;
  background: rgba(0, 33, 81, 0.08) !important;
  color: var(--ppt) !important;
}

/* Pagination */
.gt-theme-listing-ppt .gt-pagination button,
.gt-theme-listing-ppt .gt-pagination a,
.gt-theme-listing-ppt [data-page] {
  border-radius: 4px;
}

.gt-theme-listing-ppt .gt-pagination .is-current span,
.gt-theme-listing-ppt .gt-pagination [aria-current="page"] {
  background: var(--ppt) !important;
  color: #fff !important;
  border-color: var(--ppt) !important;
}

/* Carousel arrows */
.gt-theme-listing-ppt .gt-el-theme-listing__carousel-btn {
  border-radius: 4px;
  border: 1px solid rgba(0, 33, 81, 0.15);
  background: #fff;
  color: var(--ppt);
}

.gt-theme-listing-ppt .gt-el-theme-listing__carousel-btn:hover {
  border-color: var(--ppt);
  background: var(--ppt);
  color: #fff;
}
