/* ─────────────────────────────────────────────────────────────
   Zikani Dental Shop — extras.css
   Styles for: account/login drawer, community/chat drawer,
   account button label.
   ───────────────────────────────────────────────────────────── */

/* ── Account button label ─────────────────────────────────── */
.iconbtn-account {
  width: auto !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  gap: 6px;
  background: #f1f3f5 !important;
}
.iconbtn-account ion-icon { font-size: 22px; }
.account-label {
  font-size: 13px; font-weight: 700; color: #333;
  white-space: nowrap;
}
.dark .iconbtn-account { background: #2a2a2a !important; }
.dark .account-label { color: #e8e8e8; }
@media (max-width: 720px) {
  .account-label { display: none; }
  .iconbtn-account { padding: 6px !important; background: transparent !important; }
  .dark .iconbtn-account { background: transparent !important; }
}

/* ── Wider community drawer on desktop ────────────────────── */
.drawer-wide {
  width: min(560px, 100vw) !important;
}
@media (max-width: 720px) {
  .drawer-wide { width: 100vw !important; }
}

/* ── Auth form ────────────────────────────────────────────── */
.auth-wrap {
  display: flex; flex-direction: column; gap: 16px;
  padding: 8px 4px;
}
.auth-hero {
  text-align: center;
  padding: 16px 0 8px;
}
.auth-hero-icon {
  width: 80px; height: 80px; margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.auth-hero-icon ion-icon { font-size: 44px; }
.auth-hero h3 {
  margin: 0; font-size: 18px; color: var(--text);
}
.auth-hero p {
  margin: 4px 0 0; font-size: 13px; color: var(--text-soft);
}
.auth-field {
  display: flex; flex-direction: column; gap: 4px;
}
.auth-field label {
  font-size: 12px; font-weight: 700; color: var(--text-soft);
  text-transform: uppercase; letter-spacing: .3px;
}
.auth-field input {
  padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition);
}
.auth-field input:focus { border-color: var(--primary); }
.auth-error {
  background: #ffebee; color: var(--danger);
  padding: 8px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
}
.auth-actions {
  display: flex; flex-direction: column; gap: 8px;
}
.auth-actions .btn-primary { padding: 12px; }
.auth-hint {
  font-size: 11px; color: var(--text-muted); text-align: center;
  padding: 8px 0 0;
}

/* ── Account view (signed in) ─────────────────────────────── */
.acct-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(141,198,63,.15), rgba(40,60,143,.10));
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.acct-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px;
}
.acct-info { flex: 1; min-width: 0; }
.acct-name { font-size: 16px; font-weight: 800; color: var(--text); }
.acct-meta { font-size: 12px; color: var(--text-soft); margin-top: 2px; }

.acct-section-title {
  font-size: 11px; font-weight: 800; color: var(--primary-dark);
  text-transform: uppercase; letter-spacing: .8px;
  margin: 14px 4px 6px;
}
.acct-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 6px;
  width: 100%;
  text-align: left;
  transition: all var(--transition);
}
.acct-row:hover { border-color: var(--primary); transform: translateX(2px); }
.acct-row ion-icon { font-size: 22px; color: var(--text-soft); }
.acct-row-text { flex: 1; min-width: 0; }
.acct-row-title { font-size: 14px; font-weight: 700; color: var(--text); }
.acct-row-sub   { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.acct-row-chev  { color: var(--text-muted); font-size: 18px; }
.acct-row.danger ion-icon, .acct-row.danger .acct-row-title { color: var(--danger); }

/* Sub-panels (orders, wishlist) */
.acct-back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 8px;
  font-size: 13px; font-weight: 700; color: var(--secondary);
  margin-bottom: 10px;
}
.acct-back:hover { background: #eef0fa; }

.order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}
.order-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.order-id { font-size: 12px; font-weight: 700; color: var(--text-soft); }
.order-date { font-size: 11px; color: var(--text-muted); }
.order-status {
  display: inline-block;
  padding: 3px 8px; border-radius: 4px;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .4px;
  background: #fff3e0; color: #e65100;
}
.order-status.delivered { background: #e8f5e9; color: #2e7d32; }
.order-status.shipped   { background: #e3f2fd; color: #1565c0; }
.order-items {
  font-size: 13px; color: var(--text-soft);
  margin-bottom: 6px;
}
.order-total {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; border-top: 1px dashed var(--border);
}
.order-total-label { font-size: 12px; color: var(--text-muted); }
.order-total-amt { font-size: 15px; font-weight: 800; color: var(--text); }

.order-downloads {
  display: flex; gap: 8px;
  margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed var(--border);
}
.order-dl-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700;
  background: #CFE2F3; color: #1155CC;
  text-decoration: none;
  transition: background .15s;
}
.order-dl-btn:hover { background: #b8d4ee; }
.mock-order-card { border-style: dashed; }
.dark .order-dl-btn {
  background: #25364a;
  color: #dbeafe;
  border: 1px solid #3b5575;
}
.dark .order-dl-btn:hover { background: #304765; }

/* ── User loyalty tier badge ──────────────────────────────── */
.user-tier-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800;
  letter-spacing: .2px;
}
.user-tier-badge ion-icon { font-size: 14px; }

/* Small inline tier badge — used on reviews + community posts */
.inline-tier-badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 7px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: .1px;
  vertical-align: middle; flex-shrink: 0;
}
.inline-tier-badge ion-icon { font-size: 11px; }

/* Tier progress bar */
.tier-progress-bar {
  height: 4px; border-radius: 999px;
  background: var(--border); margin-top: 6px; overflow: hidden;
}
.tier-progress-fill { height: 100%; border-radius: 999px; transition: width .4s ease; }

/* Pencil fab on acct card */
.acct-edit-fab {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: 1px solid rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); flex-shrink: 0;
  transition: background var(--transition);
}
.acct-edit-fab:hover { background: rgba(255,255,255,.5); color: var(--text); }
.acct-edit-fab ion-icon { font-size: 16px; }

/* ── Profile editor ───────────────────────────────────────── */
.prof-avatar-section {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 12px 0 4px;
}
.prof-avatar-preview {
  width: 72px; height: 72px; border-radius: 50%;
  color: #fff; font-weight: 800; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  transition: background .2s;
}
.prof-color-row {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.prof-swatch {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, border-color .15s;
}
.prof-swatch:hover { transform: scale(1.18); }
.prof-swatch.on { border-color: var(--text); transform: scale(1.22); box-shadow: 0 0 0 2px #fff; }
.dark .prof-swatch.on { box-shadow: 0 0 0 2px #1e1e1e; }

.prof-two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 4px;
}
.prof-check-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-soft); cursor: pointer;
  padding: 6px 0;
}

/* ── Community / Chat drawer ──────────────────────────────── */
.comm-tabs {
  display: inline-flex; gap: 4px;
  background: #f1f3f5; padding: 3px; border-radius: 999px;
}
.comm-tab {
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--text-soft);
  transition: all var(--transition);
}
.comm-tab.active { background: var(--primary); color: #fff; }
.comm-tab:hover:not(.active) { background: #e6e8ea; }

.comm-feed { display: flex; flex-direction: column; gap: 12px; }

.feed-post {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}
.feed-post-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.feed-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 13px;
  flex-shrink: 0;
}
.feed-post-meta { flex: 1; min-width: 0; }
.feed-post-name { font-size: 13px; font-weight: 700; color: var(--text); }
.feed-post-time { font-size: 11px; color: var(--text-muted); }
.feed-post-body {
  font-size: 14px; color: var(--text); line-height: 1.45;
  margin-bottom: 8px;
}
.feed-post-actions {
  display: flex; gap: 16px;
  padding-top: 6px; border-top: 1px solid var(--border);
}
.feed-action {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--text-soft);
}
.feed-action.liked { color: var(--danger); }
.feed-action ion-icon { font-size: 16px; }

/* Chat */
.chat-list { display: flex; flex-direction: column; gap: 8px; }
.chat-msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 14px; line-height: 1.4;
  word-break: break-word;
}
.chat-msg.them {
  align-self: flex-start;
  background: #f1f3f5; color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-msg.me {
  align-self: flex-end;
  background: var(--primary); color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg-time {
  font-size: 10px; opacity: .7;
  display: block; margin-top: 2px;
}

.comm-footer {
  display: flex; gap: 8px; padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.comm-footer textarea, .comm-footer input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  outline: none;
  resize: none;
  font-family: inherit;
}
.comm-footer textarea:focus, .comm-footer input:focus { border-color: var(--primary); }
.comm-send {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.comm-send ion-icon { font-size: 20px; }
.comm-send:hover { background: var(--primary-dark); }

/* Q&A */
.qa-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}
.qa-q {
  font-size: 14px; font-weight: 700; color: var(--text);
  display: flex; align-items: flex-start; gap: 6px;
}
.qa-q-icon {
  background: var(--secondary); color: #fff;
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 11px; flex-shrink: 0;
}
.qa-a {
  margin-top: 8px; padding: 8px 10px;
  background: #f1f8e9;
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  font-size: 13px; color: var(--text);
  display: flex; align-items: flex-start; gap: 6px;
}
.qa-a-icon {
  background: var(--primary); color: #fff;
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 11px; flex-shrink: 0;
}
.qa-meta {
  font-size: 11px; color: var(--text-muted);
  margin-top: 6px;
}

.comm-empty {
  text-align: center; padding: 40px 20px;
  color: var(--text-muted);
}
.comm-empty ion-icon { font-size: 56px; color: #ddd; }
.comm-empty p { margin: 8px 0 0; font-size: 14px; }

/* ═══════════════════════════════════════════════════════════════
   VIEW CHIPS (Recently Viewed / Recommended quick filters)
   ═══════════════════════════════════════════════════════════════ */
.view-chips {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
}
.view-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface, #fff); border: 1px solid var(--border, #eee);
  font-size: 12px; font-weight: 600; color: var(--text-soft, #555);
  cursor: pointer; transition: all 0.15s ease;
}
.view-chip:hover { border-color: var(--primary, #8DC63F); color: var(--primary-dark, #6FA12B); }
.view-chip.active {
  background: var(--primary, #8DC63F); color: #fff;
  border-color: var(--primary-dark, #6FA12B);
}
/* dark mode */
.dark .view-chip { background: #2a2a2a; border-color: #3a3a3a; color: #aaa; }
.dark .view-chip:hover { border-color: var(--primary); color: var(--primary); }
.dark .view-chip.active { background: var(--primary); color: #fff; border-color: var(--primary-dark); }
@media (max-width: 720px) {
  .view-chips { order: 3; flex-basis: 100%; }
  .view-chip { font-size: 11px; padding: 5px 10px; }
}

/* ═══════════════════════════════════════════════════════════════
   HOME VIEW (DentalKart-style landing)
   ═══════════════════════════════════════════════════════════════ */#homeView { padding: 0 8px; display: flex; flex-direction: column; gap: 28px; }
#homeView[hidden] { display: none !important; }
.brand { cursor: pointer; }

/* Hero carousel */
.home-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  height: clamp(220px, 32vw, 380px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.65);
}
.hero-overlay {
  position: absolute; left: 0; bottom: 0;
  padding: 24px 28px;
  color: #fff;
  max-width: 60%;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(6px);
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 10px;
}
.hero-title {
  font-size: clamp(18px, 2.6vw, 30px);
  font-weight: 800; margin: 0 0 8px;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-price {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800; color: #fff; margin-bottom: 14px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary, #8DC63F); color: #fff;
  border: 0; border-radius: 8px;
  padding: 10px 18px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: transform 0.18s ease, background 0.18s ease;
}
.hero-cta:hover { background: var(--primary-dark, #6FA12B); transform: translateY(-1px); }
.hero-cta ion-icon { font-size: 16px; }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.85); color: #333;
  border: 0; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.18s;
}
.hero-nav:hover { background: #fff; }
.hero-prev { left: 12px; }
.hero-next { right: 12px; }
.hero-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); border: 0; padding: 0;
  cursor: pointer; transition: all 0.18s;
}
.hero-dot.active { background: #fff; width: 22px; border-radius: 4px; }
.hero-empty { display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; font-size: 14px; }

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.trust-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #eee);
  border-radius: 12px;
  padding: 14px 16px;
}
.trust-card ion-icon {
  font-size: 28px; color: var(--primary, #8DC63F);
  flex-shrink: 0;
}
.trust-label { font-size: 14px; font-weight: 700; color: var(--text); }
.trust-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Section header */
.home-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 14px; padding: 0 4px;
}
.home-section-head h2 {
  font-size: 20px; font-weight: 800; margin: 0;
  color: var(--text);
}
.home-section-sub { font-size: 12px; color: var(--text-muted); }

/* Brand grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.brand-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 12px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #eee);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.brand-card:hover {
  border-color: var(--primary, #8DC63F);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.brand-card-logo {
  width: 80px; height: 80px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f1f3f5, #e3e6e8);
  color: var(--text);
  font-size: 22px; font-weight: 800;
}
/* Logo image wrapper */
.brand-card-logo-wrap {
  width: 88px; height: 88px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  box-sizing: border-box;
}
.brand-card-logo-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
/* Brand cards stay light in dark mode */
.dark .brand-card {
  background: #fff;
  border-color: #eee;
  color: #111;
}
.dark .brand-card:hover {
  border-color: var(--primary, #8DC63F);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.dark .brand-card-logo-wrap {
  background: #fff;
}
.dark .brand-card-logo-img { filter: none; }
.dark .brand-card-name { color: #111; }
.dark .brand-card-count { color: #555; }
.brand-card-name {
  font-size: 13px; font-weight: 700; text-align: center;
  color: var(--text);
}
.brand-card-count { font-size: 11px; color: var(--text-muted); }

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 12px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #eee);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.cat-card:hover {
  border-color: var(--secondary, #00ACC1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.cat-card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(141, 198, 63, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary, #8DC63F);
}
.cat-card-icon ion-icon { font-size: 28px; }
.cat-card-name { font-size: 13px; font-weight: 700; text-align: center; }
.cat-card-count { font-size: 11px; color: var(--text-muted); }

/* Horizontal product row */
.row-wrap {
  position: relative;
}
.row-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border, #eee);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  cursor: pointer;
  transition: all 0.18s ease;
  opacity: 0.85;
}
.row-nav:hover { background: var(--primary, #8DC63F); color: #fff; opacity: 1; transform: translateY(-50%) scale(1.06); }
.row-nav ion-icon { font-size: 20px; }
.row-nav-left  { left: -6px; }
.row-nav-right { right: -6px; }

.product-row {
  display: flex; gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-top: 12px;    /* room for hover translateY(-3px) + top glow to not get clipped */
  padding-bottom: 8px;
  /* Hide horizontal scrollbar — arrows + auto-scroll handle navigation */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE/Edge legacy */
}
.product-row::-webkit-scrollbar { display: none; height: 0; width: 0; }
.row-card {
  flex: 0 0 auto;
  width: 180px;
  scroll-snap-align: start;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #eee);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
  display: flex; flex-direction: column; gap: 6px;
  --glow: #8DC63F;
  /* article reset */
  box-sizing: border-box;
  overflow: hidden;
}
.row-card:hover,
.row-card:focus-visible,
.row-card.is-selected {
  border-color: var(--glow);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--glow) 35%, transparent),
    0 0 16px 3px color-mix(in srgb, var(--glow) 45%, transparent),
    0 0 32px 8px color-mix(in srgb, var(--glow) 22%, transparent),
    0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  outline: none;
}
.row-card:active {
  transform: translateY(-1px) scale(0.995);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--glow) 55%, transparent),
    0 0 20px 5px color-mix(in srgb, var(--glow) 55%, transparent),
    0 0 40px 12px color-mix(in srgb, var(--glow) 28%, transparent);
}
/* Owner & Featured tiers show a subtle ambient glow at rest — matches RN's isHighlighted look. */
.row-card.tier-owner,
.row-card.tier-featured {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--glow) 30%, transparent),
    0 0 10px 2px color-mix(in srgb, var(--glow) 22%, transparent);
}
/* ── Row card image wrapper (relative for overlay badges) ── */
.row-card-img-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  flex-shrink: 0;
}
.row-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* % OFF badge on image (top-left) */
.row-card-img-disc {
  position: absolute; top: 6px; left: 6px;
  background: #ff3b30; color: #fff;
  font-size: 10px; font-weight: 800; line-height: 1.2;
  text-align: center;
  border-radius: 6px; padding: 3px 5px;
  pointer-events: none;
}

/* Heart favourite button (top-right of image) */
.row-card-fav {
  position: absolute; top: 5px; right: 5px;
  background: rgba(255,255,255,0.88);
  border: none; border-radius: 50%;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  color: #bbb; font-size: 16px;
  transition: color .18s, background .18s;
  z-index: 2;
}
.row-card-fav:hover, .row-card-fav.on { color: #e91e63; background: rgba(255,255,255,0.98); }
.row-card-fav.on { color: #e91e63; }

.row-card-brand { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.row-card-name {
  font-size: 13px; font-weight: 600; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}

/* Price row */
.row-card-price-row { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.row-card-price { font-size: 14px; font-weight: 800; color: #008080; }
.row-card-strike {
  font-size: 12px; font-weight: 800;
  color: var(--text-muted); text-decoration: line-through;
}

/* Add to Cart button */
.row-card-cart {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  background: color-mix(in srgb, var(--primary, #8DC63F) 50%, white);
  color: var(--primary-dark, #4a7a1e);
  border: none; border-radius: 8px;
  font-size: 12px; font-weight: 700;
  padding: 5px 8px; cursor: pointer; width: 100%;
  transition: background .18s;
  margin-top: auto;
}
.row-card-cart:hover { background: color-mix(in srgb, var(--primary, #8DC63F) 70%, white); color: #fff; }

@media (max-width: 720px) {
  .home-hero { height: 200px; border-radius: 12px; }
  .hero-overlay { padding: 16px; max-width: 80%; }
  .home-section-head h2 { font-size: 17px; }
  .row-card { width: 150px; }
}

/* Lazy-loaded category rows: skeleton placeholder */
.cat-row-placeholder { min-height: 240px; }
.row-skeleton {
  height: 220px; border-radius: 12px;
  background: linear-gradient(90deg, #f1f3f5 0%, #e7e9eb 50%, #f1f3f5 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer {
  0%   { background-position:  100% 0; }
  100% { background-position: -100% 0; }
}
