.dpsaf {
  --dpsaf-accent: #275df2;
  --dpsaf-surface: #ffffff;
  --dpsaf-panel: #f4f7fb;
  --dpsaf-text: #111827;
  --dpsaf-border: rgba(148, 163, 184, 0.2);
  --dpsaf-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  color: var(--dpsaf-text);
}

.dpsaf * {
  box-sizing: border-box;
}

.dpsaf--full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: clamp(10px, 2vw, 28px);
  padding-right: clamp(10px, 2vw, 28px);
}

.dpsaf__shell {
  display: grid;
  grid-template-columns: minmax(270px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(39, 93, 242, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 244, 252, 0.92));
  box-shadow: var(--dpsaf-shadow);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.dpsaf--full .dpsaf__shell {
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
}

.dpsaf--container-no_box .dpsaf__shell {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
}

.dpsaf--container-boxed .dpsaf__shell {
  border: 2px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.16);
}

.dpsaf__sidebar,
.dpsaf__content {
  min-width: 0;
}

.dpsaf__filters,
.dpsaf__toolbar,
.dpsaf__card,
.dpsaf__active,
.dpsaf__summary,
.dpsaf__pagination-inner {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border: 1px solid var(--dpsaf-border);
}

.dpsaf__filters {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(180deg, var(--dpsaf-surface), var(--dpsaf-panel));
  position: sticky;
  top: 24px;
}

.dpsaf--sidebar-no_box .dpsaf__filters {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 12px;
}

.dpsaf--sidebar-boxed .dpsaf__filters {
  border: 2px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.14);
}

.dpsaf__section-head h3,
.dpsaf__title,
.dpsaf__card h3 {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.dpsaf__section-head p,
.dpsaf__summary p,
.dpsaf__eyebrow,
.dpsaf__sidebar-kicker,
.dpsaf__card-meta,
.dpsaf__muted {
  margin: 0;
  color: rgba(17, 24, 39, 0.65);
  font-size: 13px;
}

.dpsaf__sidebar-kicker,
.dpsaf__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--dpsaf-accent);
}

.dpsaf__filter-block {
  display: grid;
  gap: 10px;
}

.dpsaf__field-label,
.dpsaf__block-title-row h4,
.dpsaf__sort span {
  font-size: 14px;
  font-weight: 700;
}

.dpsaf__block-title-row h4 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dpsaf__block-title-row h4 .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  color: var(--dpsaf-accent);
}

.dpsaf__block-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.dpsaf input[type="search"],
.dpsaf input[type="number"],
.dpsaf select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--dpsaf-text);
  outline: none;
}

.dpsaf input:focus,
.dpsaf select:focus {
  border-color: rgba(39, 93, 242, 0.45);
  box-shadow: 0 0 0 4px rgba(39, 93, 242, 0.12);
}

.dpsaf__price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dpsaf__price-grid label,
.dpsaf__sort {
  display: grid;
  gap: 8px;
}

.dpsaf__toggle-stack,
.dpsaf__chip-list,
.dpsaf__active-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dpsaf__checkbox-row,
.dpsaf__check-chip,
.dpsaf__active-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.92);
  min-height: 34px;
  padding: 0 11px;
  cursor: pointer;
}

.dpsaf__filters .dpsaf__check-chip,
.dpsaf__filters .dpsaf__checkbox-row {
  font-size: 12px;
}

.dpsaf__checkbox-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dpsaf__checkbox-row .dashicons {
  width: 16px;
  height: 16px;
  font-size: 16px;
  color: var(--dpsaf-accent);
}

.dpsaf__check-chip input,
.dpsaf__checkbox-row input {
  margin: 0;
}

.dpsaf__check-chip.is-selected {
  border-color: rgba(39, 93, 242, 0.28);
  background: rgba(39, 93, 242, 0.08);
  color: var(--dpsaf-accent);
}

.dpsaf__check-chip--color {
  min-width: 100px;
}

.dpsaf__color-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--dpsaf-dot, #cbd5e1);
  border: 1px solid rgba(15, 23, 42, 0.18);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.54);
}

.dpsaf__mini-icon {
  width: 14px;
  height: 14px;
  font-size: 14px;
  color: var(--dpsaf-accent);
}

.dpsaf__discount-list {
  gap: 8px;
}

.dpsaf__chip-list--taxonomy {
  max-height: 172px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.dpsaf__discount-chip {
  min-width: 68px;
  justify-content: center;
}

.dpsaf__discount-chip input {
  display: none;
}

.dpsaf__toolbar,
.dpsaf__summary,
.dpsaf__active,
.dpsaf__pagination-inner {
  padding: 18px 22px;
}

.dpsaf__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at top right, rgba(39, 93, 242, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 249, 255, 0.92));
}

.dpsaf__toolbar-main {
  display: grid;
  gap: 10px;
}

.dpsaf__title {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
}

.dpsaf__microcopy {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.72);
}

.dpsaf__catalog-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dpsaf__catalog-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(39, 93, 242, 0.2);
  background: rgba(39, 93, 242, 0.08);
  color: rgba(29, 78, 216, 0.95);
  font-size: 12px;
  font-weight: 700;
}

.dpsaf__catalog-pill.is-active {
  background: linear-gradient(135deg, var(--dpsaf-accent), #1d4ed8);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.28);
}

.dpsaf__catalog-pill.is-active .dashicons {
  color: #ffffff;
}

.dpsaf__catalog-pill .dashicons {
  width: 14px;
  height: 14px;
  font-size: 14px;
}

.dpsaf__active,
.dpsaf__summary {
  margin-bottom: 10px;
}

.dpsaf__active-empty {
  display: none;
}

.dpsaf__summary {
  padding: 8px 14px;
}

.dpsaf__summary-count {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: rgba(17, 24, 39, 0.7);
}

.dpsaf__active {
  padding: 8px 14px;
}

.dpsaf__active-chip {
  color: var(--dpsaf-text);
}

.dpsaf__active-chip strong {
  color: var(--dpsaf-accent);
  font-size: 18px;
}

.dpsaf__results {
  display: grid;
  grid-template-columns: repeat(var(--dpsaf-columns-desktop), minmax(0, 1fr));
  gap: 18px;
}

.dpsaf__card {
  overflow: hidden;
  display: grid;
  gap: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.dpsaf__card--compact .dpsaf__card-body {
  gap: 10px;
  padding: 14px;
}

.dpsaf__card--compact .dpsaf__card-media {
  padding: 10px;
}

.dpsaf__card--showcase {
  border: 2px solid rgba(39, 93, 242, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 244, 255, 0.95));
}

.dpsaf__card--showcase .dpsaf__card-price {
  font-size: 22px;
}

.dpsaf__elementor-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--dpsaf-border);
  background: rgba(255, 255, 255, 0.92);
}

.dpsaf__theme-products {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dpsaf__theme-products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.dpsaf__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

.dpsaf__card-media {
  position: relative;
  display: block;
  padding: 16px;
  background: linear-gradient(180deg, rgba(244, 247, 251, 0.95), rgba(255, 255, 255, 0.88));
}

.dpsaf__card-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
}

.dpsaf__badges {
  position: absolute;
  top: 28px;
  left: 28px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 1;
}

.dpsaf__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.dpsaf__badge--sale {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.dpsaf__badge--stock {
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
}

.dpsaf__badge--out {
  background: rgba(148, 163, 184, 0.18);
  color: #475569;
}

.dpsaf__card-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.dpsaf__card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.dpsaf__card h3 {
  font-size: 18px;
  line-height: 1.2;
}

.dpsaf__card h3 a {
  color: inherit;
  text-decoration: none;
}

.dpsaf__card-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--dpsaf-text);
}

.dpsaf__card-price ins {
  text-decoration: none;
}

.dpsaf__card-rating {
  min-height: 24px;
}

.dpsaf__card-rating .star-rating {
  float: none;
}

.dpsaf__card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dpsaf__button,
.dpsaf__ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.dpsaf__button {
  background: linear-gradient(135deg, var(--dpsaf-accent), #1d4ed8);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(39, 93, 242, 0.24);
}

.dpsaf__button--small {
  min-height: 40px;
}

.dpsaf__ghost-button {
  background: rgba(255, 255, 255, 0.9);
  color: var(--dpsaf-text);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.dpsaf__filter-actions,
.dpsaf__pagination-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.dpsaf__pagination {
  margin-top: 18px;
}

.dpsaf__pagination-inner {
  flex-wrap: wrap;
}

.dpsaf__pagination-filters {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.26);
}

.dpsaf__pagination-filter {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: rgba(17, 24, 39, 0.72);
  font-weight: 700;
}

.dpsaf__pagination-filter select,
.dpsaf__pagination-filter input {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.92);
  color: var(--dpsaf-text);
  padding: 6px 10px;
}

.dpsaf__pagination-jump {
  display: inline-flex;
  align-items: end;
  gap: 8px;
}

.dpsaf__page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dpsaf__page-number,
.dpsaf__page-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.dpsaf__page-number {
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.94);
  color: var(--dpsaf-text);
  cursor: pointer;
}

.dpsaf__page-number.is-active {
  background: linear-gradient(135deg, var(--dpsaf-accent), #1d4ed8);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(29, 78, 216, 0.25);
}

.dpsaf__page-dot {
  color: rgba(17, 24, 39, 0.55);
}

.dpsaf__pagination-inner--load-more,
.dpsaf__pagination-inner--infinite {
  justify-content: space-between;
}

.dpsaf__infinite-sentinel {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  border: 1px dashed rgba(39, 93, 242, 0.35);
  background: rgba(39, 93, 242, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(29, 78, 216, 0.94);
}

.dpsaf__pagination-end {
  font-size: 13px;
  color: rgba(17, 24, 39, 0.62);
}

.dpsaf__empty-state {
  grid-column: 1 / -1;
  padding: 42px 28px;
  border-radius: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(148, 163, 184, 0.45);
}

.dpsaf.is-loading {
  opacity: 0.76;
  transition: opacity 0.2s ease;
}

@media (max-width: 1024px) {
  .dpsaf--full {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .dpsaf__shell {
    grid-template-columns: 1fr;
  }

  .dpsaf__filters {
    position: static;
  }

  .dpsaf__results {
    grid-template-columns: repeat(var(--dpsaf-columns-tablet), minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dpsaf__shell {
    padding: 14px;
    gap: 14px;
    border-radius: 22px;
  }

  .dpsaf__filters,
  .dpsaf__toolbar,
  .dpsaf__summary,
  .dpsaf__active,
  .dpsaf__pagination-inner {
    border-radius: 20px;
  }

  .dpsaf__filters {
    padding: 18px;
    gap: 14px;
  }

  .dpsaf__section-head p,
  .dpsaf__microcopy,
  .dpsaf__card-meta,
  .dpsaf__muted,
  .dpsaf__summary p,
  .dpsaf__eyebrow,
  .dpsaf__sidebar-kicker {
    font-size: 12px;
  }

  .dpsaf__toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .dpsaf__title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .dpsaf__catalog-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .dpsaf__catalog-pills::-webkit-scrollbar {
    display: none;
  }

  .dpsaf__catalog-pill {
    flex: 0 0 auto;
    justify-content: center;
    white-space: nowrap;
    min-height: 28px;
    padding: 0 10px;
  }

  .dpsaf__results {
    grid-template-columns: repeat(var(--dpsaf-columns-mobile), minmax(0, 1fr));
    gap: 14px;
  }

  .dpsaf__pagination-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .dpsaf__pagination-jump {
    width: 100%;
  }

  .dpsaf__pagination-filter {
    width: 100%;
  }

  .dpsaf__pagination-filter select,
  .dpsaf__pagination-filter input {
    width: 100%;
  }

  .dpsaf__card-media {
    padding: 12px;
  }

  .dpsaf__card-media img {
    border-radius: 18px;
  }

  .dpsaf__badges {
    top: 18px;
    left: 18px;
    gap: 6px;
  }

  .dpsaf__badge {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  .dpsaf__card-body {
    gap: 10px;
    padding: 16px;
  }

  .dpsaf__card h3 {
    font-size: 16px;
    line-height: 1.18;
  }

  .dpsaf__card-price {
    font-size: 22px;
  }

  .dpsaf__card-footer,
  .dpsaf__filter-actions,
  .dpsaf__pagination-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .dpsaf__price-grid,
  .dpsaf__active-list,
  .dpsaf__toggle-stack,
  .dpsaf__chip-list {
    gap: 8px;
  }

  .dpsaf__price-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dpsaf__chip-list--taxonomy {
    max-height: 128px;
  }

  .dpsaf__check-chip,
  .dpsaf__checkbox-row,
  .dpsaf__active-chip {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  .dpsaf__filter-block {
    gap: 8px;
  }
}
