/* Riwaj — men's panjabi / festive fashion (TargetSite-aligned layout, original navy+copper) */
:root {
  --rw-brand: #1e3a5f;
  --rw-brand-dark: #152a45;
  --rw-accent: #b45309;
  --rw-ink: #0f172a;
  --rw-muted: #64748b;
  --rw-line: #e2e8f0;
  --rw-blush: #faf8f6;
}
* { -webkit-tap-highlight-color: transparent; }
html { margin: 0; padding: 0; background: #fff; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--rw-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}
.font-display { font-family: 'DM Serif Display', Georgia, serif; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Section header bar (TargetSite: solid brand strip + See More) */
.rw-sec-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--rw-brand);
  color: #fff;
  padding: 0.65rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.rw-sec-bar a { color: #fff; font-size: 0.8rem; font-weight: 600; opacity: 0.9; }
.rw-sec-bar a:hover { opacity: 1; text-decoration: underline; }

/* Product card */
.rw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rw-line);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.rw-card:hover { box-shadow: 0 10px 28px -16px rgba(15, 23, 42, 0.35); }
.rw-save {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--rw-brand); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 8px;
}
.rw-card-media {
  display: block; aspect-ratio: 3/4; background: var(--rw-blush); padding: 8px;
}
.rw-card-media img { width: 100%; height: 100%; object-fit: cover; }
.rw-card-body {
  text-align: center; padding: 10px 12px 12px;
  display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.rw-card-title {
  font-size: 14px; font-weight: 700; color: var(--rw-ink); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.rw-card-title:hover { color: var(--rw-brand); }
.rw-price { font-size: 15px; font-weight: 800; color: var(--rw-ink); }
.rw-price-was { font-size: 13px; color: #94a3b8; text-decoration: line-through; margin-right: 6px; }
.rw-order-btn {
  margin-top: auto; width: 100%;
  background: var(--rw-brand); color: #fff;
  font-size: 13px; font-weight: 700; padding: 10px 12px;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.rw-order-btn:hover { background: var(--rw-brand-dark); }

/* Category tile */
.rw-cat {
  display: block; position: relative; overflow: hidden; aspect-ratio: 1; background: #eee;
}
.rw-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.rw-cat:hover img { transform: scale(1.05); }
.rw-cat span {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(15,23,42,.75));
  color: #fff; font-size: 13px; font-weight: 700; padding: 1.5rem 0.75rem 0.75rem;
}

/* Size chips */
.size-chip {
  min-width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--rw-line); background: #fff;
  font-weight: 700; font-size: 13px; cursor: pointer;
}
.size-chip.is-active { border-color: var(--rw-brand); background: var(--rw-brand); color: #fff; }

[data-offer-card] .size-chip {
  min-width: 2rem;
  height: 2rem;
  font-size: 12px;
}

/* Shop title band */
.rw-crumb-bar {
  background: var(--rw-brand); color: #fff;
  text-align: center; padding: 0.85rem 1rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-in,
[data-reveal].revealed,
[data-reveal].in-view { opacity: 1; transform: none; }
.hero-slide { opacity: 1; transition: opacity .5s ease; }
.hero-slide.is-hidden { opacity: 0; pointer-events: none; }
.mobile-menu.is-open { transform: translateX(0) !important; }
[data-drawer-overlay].is-open { opacity: 1 !important; pointer-events: auto !important; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--rw-ink); color: #fff; padding: 10px 18px; font-size: 14px; font-weight: 600;
  z-index: 100; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

[data-cart-drawer].is-open { transform: translateX(0) !important; }
[data-drawer-overlay].is-open { opacity: 1 !important; pointer-events: auto !important; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; height: 40px; width: 40px; border-radius: 999px;
  background: rgba(255,255,255,.85); color: var(--rw-ink);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; font-size: 18px; font-weight: 700;
}
.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }

.countdown-box {
  display: inline-flex; gap: 4px; align-items: center;
}
.countdown-box span {
  background: #fff; color: var(--rw-ink);
  min-width: 1.75rem; text-align: center;
  font-size: 11px; font-weight: 800; padding: 2px 4px;
}

/* 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;
  }
}
