/* DeshiMart — organic deshi products theme
   Turmeric gold + terracotta — original DeshiMart palette */
:root {
  --brand: #c47b0a;
  --brand-700: #9a5f08;
  --accent: #9a3412;
  --ink: #1c1917;
  --cream: #faf7f0;
}
* { -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--brand); color: #fff; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* Product card — target-like: price in brand color, full-width Order Now */
.dm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ebe6dc;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.dm-card:hover {
  border-color: rgba(196, 123, 10, 0.35);
  box-shadow: 0 12px 28px -18px rgba(28, 25, 23, 0.35);
}
.dm-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px;
}
.dm-card-media {
  display: block; aspect-ratio: 1; background: #fff; padding: 12px;
}
.dm-card-media img { width: 100%; height: 100%; object-fit: contain; }
.dm-card-body {
  display: flex; flex-direction: column; flex: 1;
  text-align: center; padding: 6px 12px 12px;
}
.dm-card-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.5em;
  font-size: 0.95rem; font-weight: 600; color: var(--ink); line-height: 1.3; text-decoration: none;
}
.dm-card-title:hover { color: var(--brand); }
.dm-card-price {
  display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap;
  gap: .35rem .5rem; margin: 8px 0 10px; min-height: 1.35em;
}
.dm-price { color: var(--brand); font-size: 1.05rem; font-weight: 800; }
.dm-price-was { color: #a8a29e; font-size: .82rem; text-decoration: line-through; font-weight: 500; }

.dm-order-btn {
  margin-top: auto; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--brand); color: #fff;
  font-size: .9rem; font-weight: 700; padding: .7rem .85rem;
  border: 0; border-radius: 5px; cursor: pointer;
  transition: background .15s ease;
}
.dm-order-btn:hover { background: var(--brand-700); }

.dm-view-btn {
  margin-top: auto; width: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--brand); border: 1.5px solid var(--brand);
  font-size: .9rem; font-weight: 700; padding: .65rem .85rem;
  border-radius: 5px; text-decoration: none; transition: background .15s, color .15s;
}
.dm-view-btn:hover { background: var(--brand); color: #fff; }

.cat-card { transition: transform .2s ease, box-shadow .2s ease; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -16px rgba(28,25,23,.3); }

.variant-chip { border: 1.5px solid #d6d3d1; }
.variant-chip.is-active { border-color: var(--brand); background: var(--brand); color: #fff; }

.hero-dot { width: 8px; height: 8px; border-radius: 999px; background: #fff6; transition: width .2s ease, background .2s ease; }
.hero-dot.is-on { background: #fff; width: 22px; }

.hero-slide.is-hidden { opacity: 0; pointer-events: none; }
.hero-slide { opacity: 1; transition: opacity .5s ease; }

.sold-track {
  height: 14px; border-radius: 999px; background: #f5f0e6; overflow: hidden;
  border: 1px solid #ebe6dc;
}
.sold-fill {
  height: 100%; background: linear-gradient(90deg, #c47b0a, #e8a00e);
  border-radius: 999px;
}

/* 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;
  }
}
