/* Verdora — software & licenses theme (slate ink + emerald) */
:root {
  --dn-brand: #059669;
  --dn-brand-dark: #047857;
  --dn-brand-soft: #ecfdf5;
  --dn-ink: #0f172a;
  --dn-muted: #64748b;
  --dn-line: #e2e8f0;
  --dn-surface: #f8fafc;
}

body {
  font-family: 'Plus Jakarta Sans', 'Hind Siliguri', system-ui, sans-serif;
  color: var(--dn-ink);
  background: #fff;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.dn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--dn-line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.dn-card:hover {
  border-color: #a7f3d0;
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.14);
}

.dn-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--dn-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}
.dn-badge-sale {
  background: #059669;
}

.dn-card-media {
  display: block;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #ecfdf5, #f1f5f9);
  padding: 12px;
}
.dn-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #0f172a;
}

.dn-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  flex: 1;
}

.dn-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dn-ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.dn-card-title:hover { color: var(--dn-brand); }

.dn-card-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.dn-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--dn-brand);
}
.dn-price-was {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.dn-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--dn-brand-dark);
  background: var(--dn-brand-soft);
  padding: 8px 10px;
  border-radius: 8px;
}
.dn-view-btn:hover { background: #d1fae5; }

.dn-add-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dn-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.dn-add-btn:hover { background: var(--dn-brand); }

.dn-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  flex: 1 1 0;
  min-width: 88px;
  max-width: 120px;
}
.dn-cat-circle {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  border: 2px solid var(--dn-brand);
  background: #fff;
  overflow: hidden;
  padding: 0;
  display: block;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.dn-cat-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dn-cat:hover .dn-cat-circle {
  transform: translateY(-4px);
  border-color: #047857;
  box-shadow: 0 8px 18px rgba(5, 150, 105, 0.2);
}
.dn-cat span {
  font-size: 13px;
  font-weight: 700;
  color: var(--dn-brand-dark);
  line-height: 1.25;
}
.dn-cats-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 12px 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.dn-page-title {
  background: linear-gradient(180deg, #ecfdf5, #fff);
  text-align: center;
  padding: 2.25rem 1rem;
}
.dn-page-title h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dn-ink);
}

.vd-cats-panel {
  border: 1px solid var(--dn-line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  align-self: stretch;
}
.vd-cats-title {
  margin: 0;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--dn-ink);
}

.vd-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vd-wa:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}

.vd-promo {
  background: linear-gradient(90deg, #047857, #059669 40%, #10b981);
}

/* Homepage hero — HTML layout (avoids SVG object-cover crop) */
.vd-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 240px;
  padding: 1.5rem 1.25rem 2rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background:
    radial-gradient(ellipse 80% 70% at 100% 20%, rgba(52, 211, 153, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(5, 150, 105, 0.35), transparent 50%),
    linear-gradient(125deg, #020617 0%, #0f172a 38%, #064e3b 72%, #059669 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  text-decoration: none;
  color: #fff;
}
@media (max-width: 639px) {
  .vd-hero-copy { gap: 0.5rem; }
  .vd-hero-title { font-size: 1.45rem; }
  .vd-hero-sub { font-size: 0.85rem; }
  .vd-hero-cta { margin-top: 0.35rem; padding: 0.65rem 1rem; font-size: 0.85rem; }
}
@media (min-width: 640px) {
  .vd-hero { min-height: 280px; padding: 2.25rem 2.5rem; }
}
@media (min-width: 1024px) {
  .vd-hero { min-height: 320px; padding: 2.5rem 2.75rem; }
}

.vd-hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 55%;
  height: 90%;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.22), transparent 65%);
  pointer-events: none;
}
.vd-hero-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  border: 1px solid rgba(167, 243, 208, 0.18);
}
.vd-hero-orb-a {
  width: 220px;
  height: 220px;
  right: -40px;
  top: -50px;
  background: rgba(52, 211, 153, 0.12);
}
.vd-hero-orb-b {
  width: 160px;
  height: 160px;
  right: 80px;
  bottom: -60px;
  background: rgba(255, 255, 255, 0.05);
}
.vd-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
  pointer-events: none;
}

.vd-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}
.vd-hero-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a7f3d0;
}
.vd-hero-title {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}
.vd-hero-sub {
  margin: 0;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  line-height: 1.45;
  color: rgba(209, 250, 229, 0.88);
  max-width: 28rem;
}
.vd-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.65rem;
  background: #059669;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.vd-hero:hover .vd-hero-cta {
  background: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(16, 185, 129, 0.45);
}

.vd-hero-art {
  position: relative;
  z-index: 1;
  display: none;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .vd-hero-art { display: block; }
}
.vd-hero-card {
  width: 168px;
  padding: 1.15rem 1.1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(167, 243, 208, 0.28);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transform: rotate(3deg);
  transition: transform 0.3s ease;
}
.vd-hero:hover .vd-hero-card { transform: rotate(0deg) translateY(-4px); }
.vd-hero-card-badge {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #064e3b;
  background: #a7f3d0;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.vd-hero-card-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ecfdf5;
  letter-spacing: 0.04em;
}
.vd-hero-card-meta {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(167, 243, 208, 0.85);
}

.variant-chip {
  border: 1px solid var(--dn-line);
  background: #fff;
  color: var(--dn-ink);
  font-weight: 600;
  font-size: 13px;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
}
.variant-chip.is-active,
.variant-chip.active {
  background: var(--dn-brand);
  border-color: var(--dn-brand);
  color: #fff;
}

[data-cart-drawer] { will-change: transform; }
[data-cart-drawer].is-open { transform: translateX(0) !important; }
[data-drawer-overlay].is-open { display: block !important; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dn-ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Price: never split currency from digits; keep card rows aligned on phone */
.product-card-price,
.product-card .pc-price,
.product-card .pc-price-was,
.product-card .dn-price,
.product-card .dn-price-was,
.product-card .sh-price,
.product-card .sh-price-was,
.product-card .dm-price,
.product-card .dm-price-was,
.product-card .fk-price,
.product-card .fk-price-was,
.product-card .rw-price,
.product-card .rw-price-was,
.product-card .hl-price,
.product-card .hl-price-was,
.product-card .nr-price,
.product-card .nr-price-was,
.product-card .tz-price {
  white-space: nowrap !important;
  word-break: keep-all;
  overflow-wrap: normal;
}
.product-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.375rem;
  row-gap: 0.125rem;
  min-height: 1.5rem;
}
@media (max-width: 640px) {
  .product-card-price,
  .sh-card-price,
  .dm-card-price,
  .fk-card-price,
  .dn-card-price,
  .nr-card-price,
  .rw-card-price,
  .hl-card-price,
  .tz-price {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0.125rem;
  }
  .product-card-price > span,
  .sh-card-price > span,
  .dm-card-price > span,
  .fk-card-price > span,
  .dn-card-price > span,
  .nr-card-price > span,
  .hl-card-price > span,
  .tz-price > span {
    white-space: nowrap !important;
    display: inline-block;
    max-width: 100%;
  }
  .product-card-price > span:first-child {
    font-size: 0.9rem;
  }
}

/* WaveSeller developer credit — high visibility strip */
.ws-dev-credit {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.95rem 1rem;
  background: #020617;
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  border-top: 3px solid #38bdf8;
}
.ws-dev-credit strong {
  color: #38bdf8;
  font-weight: 800;
  font-size: 1.05rem;
  margin-left: 0.25rem;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .ws-dev-credit {
    font-size: 0.9rem;
    padding: 1rem 0.75rem;
  }
  .ws-dev-credit strong {
    font-size: 1rem;
  }
}
