/**
 * Digital Products — premium mobile-first storefront
 */
.gp-dp-page { background: var(--gp-bg, #f8fafc); }
.gp-dp-hero {
  position: relative;
  overflow: visible;
  padding: clamp(1.5rem, 5vw, 3rem) 0 clamp(2rem, 6vw, 3.5rem);
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 45%, #2f80ed 100%);
  color: #fff;
  /* Keep hero + suggest dropdown above catalog / crumbs (siblings below) */
  z-index: 40;
}
.gp-dp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(255,255,255,.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(47,128,237,.35), transparent 50%);
  pointer-events: none;
  border-radius: inherit;
}
.gp-dp-hero__inner { position: relative; z-index: 2; overflow: visible; }
.gp-dp-hero__grid > div:first-child {
  position: relative;
  z-index: 3;
  overflow: visible;
}
.gp-dp-page > .gp-container {
  position: relative;
  z-index: 1;
}
.gp-dp-hero__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.gp-dp-hero__title {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.gp-dp-hero__lead {
  margin-top: 0.75rem;
  max-width: 36rem;
  color: rgba(255,255,255,.85);
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  line-height: 1.6;
}
.gp-dp-hero__illus {
  display: none;
}
@media (min-width: 1024px) {
  .gp-dp-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
  .gp-dp-hero__illus {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .gp-dp-hero__illus svg { width: min(100%, 280px); height: auto; opacity: .95; }
}

.gp-dp-search {
  position: relative;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 40px -16px rgba(15,23,42,.35);
  border: 1px solid rgba(255,255,255,.2);
  z-index: 50;
  overflow: visible;
}
.gp-dp-search [data-search-suggest-dropdown],
.gp-dp-search .gp-dp-suggest {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 0.4rem) !important;
  width: 100%;
  max-width: 100%;
  margin-top: 0 !important;
  z-index: 80 !important;
  max-height: min(22rem, 60vh);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 22px 48px -18px rgba(15, 23, 42, 0.45);
}
.gp-dp-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 0.9375rem;
  color: var(--gp-text, #0f172a);
  outline: none;
  min-height: 44px;
}
.gp-dp-search input::placeholder { color: #94a3b8; }
.gp-dp-search__btn {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 16px;
  background: var(--gp-primary, #2f80ed);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background .2s, transform .2s;
}
.gp-dp-hero--has-bg::before {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(255,255,255,.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(47,128,237,.2), transparent 50%);
}
.gp-dp-search__btn:hover { background: var(--gp-primary-hover, #1f6fe5); }

.gp-dp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
  padding-bottom: 0.15rem;
}
.gp-dp-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  text-decoration: none;
  transition: background .2s, transform .2s, color .2s;
  white-space: nowrap;
}
.gp-dp-chip:hover, .gp-dp-chip.is-active {
  background: #fff;
  color: var(--gp-primary, #2f80ed);
  transform: translateY(-1px);
}
@media (max-width: 639px) {
  .gp-dp-chips {
    gap: 0.4rem;
  }
  .gp-dp-chip {
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }
}

.gp-dp-toolbar {
  position: sticky;
  top: 3.5rem;
  z-index: 30;
  background: rgba(248,250,252,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gp-border, #e2e8f0);
  padding: 0.65rem 0;
}
.gp-dp-toolbar__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gp-dp-toolbar__search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.85rem;
  min-height: 44px;
  background: #fff;
  border: 1px solid var(--gp-border, #e2e8f0);
  border-radius: 16px;
  box-shadow: var(--gp-shadow-xs, 0 1px 2px rgba(15,23,42,.04));
}
.gp-dp-toolbar__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 0.875rem;
  outline: none;
}
.gp-dp-filter-btn, .gp-dp-sort-select {
  min-height: 44px;
  border-radius: 16px;
  border: 1px solid var(--gp-border, #e2e8f0);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gp-text, #0f172a);
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--gp-shadow-xs);
  transition: border-color .2s, transform .2s;
}
.gp-dp-filter-btn:hover { border-color: var(--gp-primary); color: var(--gp-primary); }
.gp-dp-sort-select { padding-right: 2rem; }

.gp-dp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-size: 0.8rem;
  color: var(--gp-text-secondary, #64748b);
  margin-bottom: 1rem;
}
.gp-dp-breadcrumb a { color: var(--gp-primary); font-weight: 650; text-decoration: none; }
.gp-dp-breadcrumb a:hover { text-decoration: underline; }
.gp-dp-breadcrumb__sep { color: #cbd5e1; }
.gp-dp-breadcrumb [aria-current="page"] {
  color: #1e3a8a;
  font-weight: 700;
}

.gp-dp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding: 1.15rem 1.2rem;
  border-radius: 1.25rem;
  border: 1px solid #dbeafe;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(47, 128, 237, 0.1) 0%, transparent 55%),
    linear-gradient(165deg, #f8fbff 0%, #fff 72%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 16px 36px -24px rgba(30, 58, 138, 0.28);
}
.gp-dp-head__kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2f80ed;
}
.gp-dp-head__title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1e3a8a;
  line-height: 1.2;
}
.gp-dp-head__meta {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}
.gp-dp-head__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.gp-dp-head__actions a {
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.gp-dp-head__actions .gp-dp-login {
  border: 1px solid var(--gp-border);
  background: #fff;
  color: var(--gp-text);
}
.gp-dp-head__actions .gp-dp-signup {
  background: var(--gp-primary);
  color: #fff;
}

.gp-dp-desktop-filters { display: none !important; }

/* Shop-style layout: filters sidebar + main */
.gp-dp-layout {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
@media (min-width: 1024px) {
  .gp-dp-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
  }
}
.gp-dp-sidebar {
  display: block;
  width: 100%;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .gp-dp-sidebar { max-width: 300px; }
}
.gp-dp-sidebar__sticky {
  position: relative;
}
@media (min-width: 1024px) {
  .gp-dp-sidebar__sticky {
    position: sticky;
    top: 5.5rem;
  }
}
.gp-dp-main { flex: 1; min-width: 0; }

/* Filters panel — matches shop.php refine card */
.gp-dp-filters {
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 40px -28px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}
.gp-dp-filters::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #2f80ed 55%, #38bdf8);
}
.gp-dp-filters__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1.2rem 0.35rem;
}
.gp-dp-filters__reset-top {
  font-size: 0.72rem;
  font-weight: 700;
  color: #2f80ed;
  text-decoration: none;
  white-space: nowrap;
  padding-top: 0.2rem;
}
.gp-dp-filters__reset-top:hover { text-decoration: underline; }
.gp-dp-filters__kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2f80ed;
}
.gp-dp-filters__title {
  margin: 0.2rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.gp-dp-filters__body {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  padding: 0.85rem 1.2rem 0.35rem;
}
.gp-dp-fg {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.gp-dp-fg__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
}
.gp-dp-fg__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.1);
  color: #2f80ed;
  flex-shrink: 0;
}
.gp-dp-select-wrap {
  position: relative;
}
.gp-dp-select-wrap select {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 2.4rem 0.55rem 0.9rem;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.86rem;
  font-weight: 650;
  color: #0f172a;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.gp-dp-select-wrap::after {
  content: '';
  position: absolute;
  right: 0.95rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}
.gp-dp-select-wrap select:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.35);
  background: #fff;
}
.gp-dp-filters__actions {
  padding: 0.85rem 1.2rem 1.2rem;
}
.gp-dp-filters__btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e3a8a, #2f80ed);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 12px 24px -14px rgba(47, 128, 237, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gp-dp-filters__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -14px rgba(47, 128, 237, 0.75);
}

.gp-dp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.gp-dp-toolbar__count {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: #64748b;
}

.gp-dp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) {
  .gp-dp-grid { gap: 1rem; }
}
@media (min-width: 900px) {
  .gp-dp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Cap at 3 columns so titles and pricing have room to breathe */
@media (min-width: 1280px) {
  .gp-dp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
}
@media (min-width: 1536px) {
  .gp-dp-main .gp-dp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}

/* Homepage marketplace cards in digital catalog */
.gp-dp-grid .product-card.mkpc-card,
.gp-dp-grid .gp-dp-mkpc {
  height: 100%;
}
.gp-dp-grid .mkpc-footer {
  position: relative;
  z-index: 1;
}

/* Legacy digital product cards (kept for other surfaces) */
.gp-dp-card {
  --dp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 16px 36px -28px rgba(30, 58, 138, 0.28);
  transition: transform 0.35s var(--dp-ease), box-shadow 0.35s ease, border-color 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .gp-dp-card:hover {
    transform: translateY(-5px);
    border-color: rgba(47, 128, 237, 0.35);
    box-shadow:
      0 0 0 1px rgba(47, 128, 237, 0.12),
      0 24px 48px -24px rgba(30, 58, 138, 0.4);
  }
  .gp-dp-card:hover .gp-dp-card__thumb img { transform: scale(1.04); }
  .gp-dp-card:hover .gp-dp-card__quick { opacity: 1; transform: translateY(0); }
  .gp-dp-card:hover .gp-dp-card__cta { transform: scale(1.02); }
}
.gp-dp-card__media {
  position: relative;
}
.gp-dp-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #eef2f7, #f8fafc);
  overflow: hidden;
}
.gp-dp-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--dp-ease);
}
.gp-dp-card__ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: #94a3b8;
  background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
}
.gp-dp-card__badges {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.gp-dp-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 16px -12px rgba(15, 23, 42, 0.4);
}
.gp-dp-badge--sale {
  background: linear-gradient(135deg, #1e3a8a, #2f80ed);
  color: #fff;
  border-color: transparent;
}
.gp-dp-badge--new {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.gp-dp-card__quick {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  display: flex;
  gap: 0.35rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s var(--dp-ease);
}
@media (max-width: 1023px) {
  .gp-dp-card__quick {
    opacity: 1;
    transform: none;
  }
}
.gp-dp-card__qbtn {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.95);
  color: #334155;
  display: grid;
  place-items: center;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, color 0.2s ease, border-color 0.2s ease;
}
.gp-dp-card__qbtn svg { width: 0.95rem; height: 0.95rem; }
.gp-dp-card__qbtn:hover {
  color: #2f80ed;
  border-color: #bfdbfe;
  transform: rotate(-6deg) scale(1.06);
}
.gp-dp-card__qbtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.gp-dp-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.95rem 1rem 1.05rem;
  flex: 1;
}
.gp-dp-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.gp-dp-card__cat {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
  white-space: nowrap;
}
.gp-dp-card__creator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  text-decoration: none;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 650;
}
.gp-dp-card__creator:hover { color: #2f80ed; }
.gp-dp-card__avatar {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e3a8a, #2f80ed);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.gp-dp-card__creator-name {
  max-width: 5.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gp-dp-card__verified {
  color: #10b981;
  display: inline-flex;
  flex-shrink: 0;
}
.gp-dp-card__verified svg { width: 0.85rem; height: 0.85rem; }
.gp-dp-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #1e3a8a;
}
.gp-dp-card__title a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gp-dp-card__title a:hover { color: #2f80ed; }
.gp-dp-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.55rem;
  margin-top: auto;
}
.gp-dp-card__price {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.gp-dp-card__was {
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.gp-dp-card__save {
  display: inline-flex;
  align-items: center;
  min-height: 1.4rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.gp-dp-card__cta-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 0.15rem;
  width: 100%;
}
.gp-dp-card__cart-form {
  flex: 0 0 auto;
  margin: 0;
}
.gp-dp-card__cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-radius: 0.9rem;
  border: 1.5px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  cursor: pointer;
  transition: transform 0.25s var(--dp-ease), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.gp-dp-card__cart-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}
.gp-dp-card__cart-btn:hover {
  transform: translateY(-2px);
  background: #dbeafe;
  border-color: #93c5fd;
  box-shadow: 0 10px 18px -14px rgba(47, 128, 237, 0.55);
}
.gp-dp-card__cart-btn:active {
  transform: translateY(0);
}
.gp-dp-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-height: 2.75rem;
  margin-top: 0;
  padding: 0.55rem 1rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #1e3a8a, #2f80ed);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 12px 22px -14px rgba(47, 128, 237, 0.7);
  transition: transform 0.28s var(--dp-ease), box-shadow 0.28s ease;
}
.gp-dp-card__cta svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.28s var(--dp-ease);
}
.gp-dp-card__cta:hover {
  box-shadow: 0 16px 28px -14px rgba(47, 128, 237, 0.8);
}
.gp-dp-card__cta:hover svg { transform: translate(2px, -2px); }

.gp-dp-empty {
  text-align: center;
  padding: 2.75rem 1.25rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px dashed #dbe3ee;
}
.gp-dp-empty__illu {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  color: #94a3b8;
}
.gp-dp-empty__illu svg { width: 100%; height: 100%; }
.gp-dp-empty h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e3a8a;
}
.gp-dp-empty p {
  margin: 0.45rem auto 1.1rem;
  max-width: 22rem;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}
.gp-dp-resultbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.gp-dp-resultbar__count {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
.gp-dp-pager {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 0.35rem;
}
.gp-dp-pager__info {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.gp-dp-pager__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.gp-dp-pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 42px;
  padding: 0.45rem 0.85rem;
  border-radius: 0.85rem;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #1e3a8a;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
}
.gp-dp-pager__btn.is-active {
  background: #2f80ed;
  border-color: #2f80ed;
  color: #fff;
}
.gp-dp-pager__btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.gp-dp-pager__btn:hover:not(.is-active):not(.is-disabled) { border-color: #bfdbfe; color: #2f80ed; }
.gp-dp-pager__meta {
  font-size: 0.84rem;
  font-weight: 650;
  color: #64748b;
}

@media (prefers-reduced-motion: reduce) {
  .gp-dp-card,
  .gp-dp-card__thumb img,
  .gp-dp-card__cta,
  .gp-dp-card__cart-btn,
  .gp-dp-card__quick {
    transition: none !important;
  }
  .gp-dp-card:hover { transform: none; }
  .gp-dp-card:hover .gp-dp-card__thumb img { transform: none; }
  .gp-dp-card__cart-btn:hover { transform: none; }
}

.gp-dp-sheet-body { padding: 0 1.25rem 1.5rem; max-height: 60vh; overflow-y: auto; }
.gp-dp-sheet-group { margin-bottom: 1.25rem; }
.gp-dp-sheet-group h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gp-text-secondary);
  margin-bottom: 0.65rem;
}
.gp-dp-sheet-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gp-dp-sheet-opt {
  padding: 0.5rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--gp-border);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.gp-dp-sheet-opt.is-active, .gp-dp-sheet-opt:has(input:checked) {
  border-color: var(--gp-primary);
  background: var(--gp-primary-soft);
  color: var(--gp-primary);
}
.gp-dp-sheet-actions {
  display: flex;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gp-border);
}
.gp-dp-sheet-actions button, .gp-dp-sheet-actions a {
  flex: 1;
  min-height: 48px;
  border-radius: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gp-dp-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gp-text-secondary);
}

/* Cart badge: sit outside the icon so the count never covers the cart glyph */
body.gp-digital-store .gp-cart-btn {
  overflow: visible;
  flex-shrink: 0;
}
body.gp-digital-store .gp-cart-badge {
  top: -4px;
  right: -6px;
  transform: none;
  pointer-events: none;
}
body.gp-digital-store .gp-cart-badge.is-bump {
  animation: gp-badge-bump-dp 0.4s var(--gp-ease, cubic-bezier(0.22, 1, 0.36, 1));
}
@keyframes gp-badge-bump-dp {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
  .gp-dp-card:hover { transform: none; }
  .gp-dp-card:hover .gp-dp-card__thumb img { transform: none; }
}

/* ── Inside affiliate/vendor dashboard layout: hero bleeds edge-to-edge ─ */
body.dash-layout .gp-dp-page {
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  width: calc(100% + 2.5rem);
}
body.dash-layout .gp-dp-hero {
  border-radius: 0;
}
body.dash-layout .gp-dp-hero__inner,
body.dash-layout .gp-dp-toolbar .gp-container,
body.dash-layout .gp-dp-layout {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (max-width: 639px) {
  body.dash-layout .gp-dp-page {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    width: calc(100% + 1.5rem);
  }
  body.dash-layout .gp-dp-hero__inner,
  body.dash-layout .gp-dp-toolbar .gp-container,
  body.dash-layout .gp-dp-layout {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  /* Center hero text on mobile inside dashboard */
  body.dash-layout .gp-dp-hero__grid > div:first-child {
    text-align: center;
  }
  body.dash-layout .gp-dp-search {
    max-width: 100%;
  }
  body.dash-layout .gp-dp-chips {
    justify-content: center;
  }
  body.dash-layout .gp-dp-hero__lead {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Digital store laptop: hero search is enough — hide top Categories + Search */
@media (min-width: 1024px) {
  body.gp-digital-store .gp-dp-top-search {
    display: none !important;
  }
}
