/* ═══════════════════════════════════════════════════════════
   listing_page.css  — Full Responsive Version
   Works on: iPhone SE → iPhone Pro Max, All iPads, Android
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=Syne:wght@400;600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --g1:#1b5e20; --g2:#2e7d32; --g3:#388e3c; --g4:#43a047; --g5:#66bb6a;
  --g6:#a5d6a7; --g7:#e8f5e9; --g8:#f4faf4;
  --text:#0f1a10; --text2:#2d3d2f; --text3:#5a6b5c;
  --border:rgba(46,125,50,0.11);
  --shadow-sm:0 2px 14px rgba(27,94,32,.07);
  --shadow-md:0 8px 32px rgba(27,94,32,.13);
  --shadow-lg:0 20px 60px rgba(27,94,32,.18);
  --r:20px; --r-sm:14px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* prevent horizontal overflow globally */
html, body { overflow-x: hidden; }

/* ════════════════════════════════════════
   HERO BANNER
════════════════════════════════════════ */
.cat-hero {
  background: linear-gradient(150deg, #071409 0%, #0d2710 50%, #152e18 100%);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.cat-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 8% 50%, rgba(46,125,50,.35) 0%, transparent 60%),
    radial-gradient(ellipse 45% 60% at 92% 30%, rgba(105,240,174,.07) 0%, transparent 60%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
}
.cat-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.cat-hero-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.4rem;
  font-family: 'Syne', sans-serif;
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.cat-hero-breadcrumb a {
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .2s;
  /* large tap target */
  padding: .25rem 0;
  display: inline-block;
}
.cat-hero-breadcrumb a:hover { color: #69f0ae; }
.cat-hero-breadcrumb .sep { color: rgba(255,255,255,.18); }
.cat-hero-breadcrumb .cur { color: #a5d6a7; }

/* Eyebrow */
.cat-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Syne', sans-serif;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #69f0ae;
  margin-bottom: .9rem;
}
.cat-hero-eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: #69f0ae;
  flex-shrink: 0;
}

/* Title */
.cat-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.4px;
  margin-bottom: .8rem;
  word-break: break-word;
  animation: fadeUp .7s ease forwards;
  opacity: 0;
}
.cat-hero h1 em { font-style: italic; font-weight: 400; color: #a5d6a7; }

.cat-hero-rule {
  width: 52px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #69f0ae, transparent);
  margin-bottom: 1rem;
}

.cat-hero p {
  font-family: 'DM Sans', sans-serif;
  font-size: .97rem;
  color: rgba(255,255,255,.5);
  max-width: 520px;
  line-height: 1.8;
  animation: fadeUp .8s ease .15s forwards;
  opacity: 0;
}

/* Meta pills */
.cat-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2rem;
  animation: fadeUp .9s ease .3s forwards;
  opacity: 0;
}
.cat-meta-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Syne', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.cat-meta-item i { color: #69f0ae; font-size: .9rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════
   MAIN PAGE BODY
════════════════════════════════════════ */
.cat-page {
  background: #fafdf8;
  min-height: 60vh;
  padding: 3rem 0 5rem;
}
.cat-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Two column layout ── */
.cat-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 2.5rem;
  align-items: start;
}

/* Section label row */
.items-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 1.8rem;
}
.items-label-text {
  font-family: 'Syne', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: .55rem;
}
.items-label-text::before {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--g4);
  border-radius: 2px;
  flex-shrink: 0;
}
.items-count {
  font-family: 'Syne', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  color: var(--g2);
  background: var(--g7);
  border: 1px solid rgba(46,125,50,.15);
  padding: .22rem .75rem;
  border-radius: 50px;
}

/* ════════════════════════════════════════
   PRODUCT GRID
════════════════════════════════════════ */
.prd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

/* ════════════════════════════════════════
   PRODUCT CARD
════════════════════════════════════════ */
.pcard {
  background: #fff;
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform .4s cubic-bezier(.175,.885,.32,1.275),
    box-shadow .4s ease,
    border-color .3s;
  position: relative;
  /* ensure full card is tappable */
  -webkit-tap-highlight-color: transparent;
}
.pcard:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46,125,50,.26);
}

.pcard-top-bar {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}

/* Badge Container */
.kcal-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;

  padding: 6px 10px;
  border-radius: 999px;

  background: linear-gradient(135deg, rgba(46,125,50,0.95), rgba(102,187,106,0.9));
  color: #fff;

  font-family: 'Syne', sans-serif;
  backdrop-filter: blur(8px);

  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.15);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.pcard:hover .kcal-badge {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

/* Text hierarchy */
.kcal-value {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
}

.kcal-unit {
  font-size: 0.6rem;
  font-weight: 700;
  opacity: 0.9;
}

.kcal-base {
  font-size: 0.55rem;
  opacity: 0.75;
}

/* 📱 Mobile Optimization */
@media (max-width: 768px) {
  .kcal-badge {
    padding: 5px 8px;
  }

  .kcal-value {
    font-size: 0.75rem;
  }

  .kcal-unit {
    font-size: 0.55rem;
  }

  .kcal-base {
    font-size: 0.5rem;
  }
}

/* 📱 Small devices (iPhone SE, etc.) */
@media (max-width: 400px) {
  .kcal-badge {
    padding: 4px 7px;
    gap: 3px;
  }

  .kcal-value {
    font-size: 0.68rem;
  }
}

/* Image */
.pcard-img-wrap {
  position: relative;
  overflow: hidden;
  height: 195px;
}
.pcard-img-wrap a {
  display: block;
  width: 100%; height: 100%;
}
.pcard-img-wrap img {
  width: 100%; height: 100%;
  object-fit: fill;
  transition: transform .7s ease;
  display: block;
}
.pcard:hover .pcard-img-wrap img { transform: scale(1.08); }
.pcard-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(4,20,7,.55) 100%);
  pointer-events: none;
}
.pcard-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: #fff; color: var(--g2);
  font-family: 'Syne', sans-serif;
  font-size: .58rem; font-weight: 800; letter-spacing: .5px;
  padding: .22rem .72rem; border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0,0,0,.13);
}
.pcard-pill {
  position: absolute; bottom: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,.14); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-family: 'Syne', sans-serif;
  font-size: .6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: .2rem .68rem; border-radius: 50px;
}

/* Body */
.pcard-body {
  padding: 1.1rem 1.2rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pcard-name {
  font-family: 'Syne', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
  line-height: 1.3;
  text-decoration: none;
  display: block;
  transition: color .25s;
  /* ensure full text is tappable */
  -webkit-tap-highlight-color: transparent;
}
.pcard-name:hover { color: var(--g2); }

.pcard-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: .8rem;
}
.ptag {
  background: var(--g7);
  color: var(--g3);
  border: 1px solid rgba(46,125,50,.13);
  padding: .18rem .62rem;
  border-radius: 50px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .4px;
  white-space: nowrap;
}

/* Footer */
.pcard-foot {
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid rgba(46,125,50,.07);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.pcard-num {
  font-family: 'Syne', sans-serif;
  font-size: .68rem; font-weight: 800; color: var(--g2);
  opacity: .55;
}
.pcard-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .52rem 1.1rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--g2), var(--g4));
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  /* minimum tap target */
  min-height: 38px;
  transition: transform .3s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.pcard-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(46,125,50,.36);
  color: #fff;
  text-decoration: none;
}
.pcard-cta .ar { transition: transform .3s; }
.pcard-cta:hover .ar { transform: translateX(3px); }

/* ════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════ */
.cat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  position: sticky;
  top: 1.5rem;
}
.sidebar-card {
  background: #fff;
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.sidebar-card-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--g2), var(--g5), transparent);
}
.sidebar-card-head {
  padding: 1.1rem 1.3rem .9rem;
  border-bottom: 1px solid rgba(46,125,50,.07);
}
.sidebar-card-title {
  font-family: 'Syne', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.sidebar-card-title::before {
  content: '';
  display: block;
  width: 14px; height: 2px;
  background: var(--g4);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Recently added items */
.recent-list {
  padding: .5rem .5rem .7rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.ri {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .72rem .9rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background .25s, transform .3s;
  /* large tap target */
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}
.ri:hover {
  background: var(--g7);
  transform: translateX(4px);
}
.ri-img {
  flex: 0 0 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(46,125,50,.1);
}
.ri-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.ri:hover .ri-img img { transform: scale(1.1); }
.ri-body { flex: 1; min-width: 0; }
.ri-name {
  font-family: 'Syne', sans-serif;
  font-size: .8rem; font-weight: 700;
  color: var(--text); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: .2rem;
}
.ri-cat {
  font-size: .6rem; font-weight: 600;
  color: var(--g3); letter-spacing: .5px;
  text-transform: uppercase;
}
.ri-arrow {
  color: var(--g5); font-size: .8rem;
  opacity: 0; transition: opacity .25s, transform .25s;
  flex-shrink: 0;
}
.ri:hover .ri-arrow { opacity: 1; transform: translateX(2px); }

/* Category quick links */
.cat-links {
  padding: .7rem .8rem .9rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.cat-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .62rem .85rem;
  border-radius: 12px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text2);
  transition: background .25s, color .25s, transform .3s;
  border: 1px solid transparent;
  /* minimum tap target */
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.cat-link:hover {
  background: var(--g7);
  color: var(--g2);
  border-color: rgba(46,125,50,.12);
  transform: translateX(4px);
  text-decoration: none;
}
.cat-link.active {
  background: var(--g7);
  color: var(--g2);
  border-color: rgba(46,125,50,.18);
  font-weight: 700;
}
.cat-link-ico { font-size: 1.1rem; line-height: 1; flex-shrink: 0; }
.cat-link-lbl { flex: 1; }
.cat-link-arr {
  font-size: .75rem; color: var(--g5);
  opacity: 0; transition: opacity .25s, transform .25s;
}
.cat-link:hover .cat-link-arr { opacity: 1; transform: translateX(2px); }
.cat-link.active .cat-link-arr { opacity: 1; }

/* Info widget */
.info-widget { padding: 1.3rem; }
.info-widget-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--g7); border: 1.5px solid rgba(46,125,50,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: .9rem;
}
.info-widget-title {
  font-family: 'Syne', sans-serif; font-size: .9rem; font-weight: 700;
  color: var(--text); margin-bottom: .4rem;
}
.info-widget-text {
  font-family: 'DM Sans', sans-serif; font-size: .79rem;
  color: var(--text3); line-height: 1.72; margin-bottom: 1rem;
}
.info-widget-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: 'Syne', sans-serif; font-size: .72rem; font-weight: 700;
  color: var(--g2); text-decoration: none;
  padding: .5rem 1.1rem; border-radius: 50px;
  border: 1.5px solid rgba(46,125,50,.25);
  min-height: 44px;
  transition: all .3s;
  -webkit-tap-highlight-color: transparent;
}
.info-widget-link:hover {
  background: var(--g2); color: #fff; text-decoration: none;
  box-shadow: 0 6px 18px rgba(46,125,50,.28);
}

/* Empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
}
.empty-ico { font-size: 4rem; margin-bottom: 1rem; opacity: .4; }
.empty-state h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--text); margin-bottom: .5rem;
}
.empty-state p { color: var(--text3); font-size: .9rem; }

/* ════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
════════════════════════════════════════ */

/* ── iPad Pro landscape (≤1180px) ── */
@media (max-width: 1180px) {
  .cat-hero-inner, .cat-container { padding: 0 1.4rem; }
  .cat-layout { gap: 2rem; }
  .prd-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
}

/* ── iPad landscape (≤1024px) ── */
@media (max-width: 1024px) {
  .cat-layout {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  /* Sidebar moves below — unstick it */
  .cat-sidebar { position: static; }
  /* Sidebar cards horizontal scroll row on tablet */
  .cat-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    align-items: start;
  }
  .prd-grid { grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
}

/* ── iPad portrait (≤820px) ── */
@media (max-width: 820px) {
  .cat-hero { padding: 3.5rem 0 3rem; }
  .cat-hero-inner, .cat-container { padding: 0 1.2rem; }
  .cat-page { padding: 2.5rem 0 4rem; }
  .prd-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .cat-sidebar {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .cat-hero-meta { gap: .8rem 1.5rem; }
  .pcard-img-wrap { height: 100%; }
}

/* ── Large phones landscape / small tablet (≤680px) ── */
@media (max-width: 680px) {
  .cat-hero { padding: 3rem 0 2.5rem; }
  .cat-hero-inner, .cat-container { padding: 0 1rem; }
  .cat-hero h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .cat-page { padding: 2rem 0 3.5rem; }
  .prd-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  /* Stack sidebar back to 1 column */
  .cat-sidebar {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .pcard-img-wrap { height: 100%; }
  .pcard-body { padding: 1rem 1rem 1.1rem; }
  .pcard-name { font-size: .88rem; }
  .pcard-cta { font-size: .68rem; padding: .48rem 1rem; }
  .items-label { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* ── iPhone Plus / Android (≤480px) ── */
@media (max-width: 480px) {
  .cat-hero { padding: 2.8rem 0 2.2rem; }
  .cat-hero-inner, .cat-container { padding: 0 .9rem; }
  .cat-hero h1 { font-size: clamp(1.55rem, 7vw, 2rem); letter-spacing: -.2px; }
  .cat-hero p { font-size: .88rem; }
  .cat-hero-meta { gap: .6rem 1rem; }
  .cat-meta-item { font-size: .62rem; }
  .cat-hero-eyebrow { font-size: .58rem; letter-spacing: 2px; }
  .cat-hero-breadcrumb { font-size: .58rem; }

  .cat-page { padding: 1.8rem 0 3rem; }

  /* Single column product grid on phones */
  .prd-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pcard-img-wrap { height: 210px;}
  .pcard-body { padding: .9rem .95rem 1rem; }
  .pcard-name { font-size: .83rem; margin-bottom: .5rem; }
  .ptag { font-size: .56rem; padding: .14rem .52rem; }
  .pcard-cta { font-size: .60rem; padding: .35rem .75rem; min-height: 30px; }
  .pcard-foot { padding-top: .7rem; }

  .cat-sidebar { grid-template-columns: 1fr; }
  .ri-name { font-size: .75rem; }
  .cat-link { font-size: .8rem; min-height: 44px; }
  .cat-link-ico { font-size: 1rem; }
}

/* ── iPhone SE / standard (≤390px) ── */
@media (max-width: 390px) {
  .cat-hero { padding: 2.4rem 0 2rem; }
  .cat-hero-inner, .cat-container { padding: 0 .8rem; }
  .cat-hero h1 { font-size: 1.45rem; }
  .cat-hero p { font-size: .84rem; line-height: 1.72; }
  .cat-hero-meta { gap: .5rem .8rem; }
  .cat-meta-item { font-size: .6rem; gap: .4rem; }

  /* 2 column grid still fits on 390px with small gap */
  .prd-grid { gap: .8rem; }
  .pcard-img-wrap { height: 140px; }
  .pcard-body { padding: .85rem .9rem .95rem; }
  .pcard-name { font-size: .8rem; }
  .pcard-cta { font-size: .62rem; padding: .42rem .78rem; }

  .ri { padding: .65rem .75rem; gap: .7rem; }
  .ri-img { flex: 0 0 44px; height: 44px; }
  .ri-name { font-size: .72rem; }
  .ri-cat { font-size: .56rem; }

  .cat-link { padding: .55rem .75rem; font-size: .78rem; }
  .items-label-text { font-size: .64rem; }
}

/* ── iPhone SE 1st gen (≤320px) ── */
@media (max-width: 320px) {
  .cat-hero-inner, .cat-container { padding: 0 .7rem; }
  .cat-hero h1 { font-size: 1.3rem; }
  /* Force single column on tiny screens */
  .prd-grid { grid-template-columns: 1fr; }
  .pcard-img-wrap { height: 185px; }
  .pcard-body { padding: 1rem 1rem 1.1rem; }
  .pcard-name { font-size: .88rem; }
}

/* ════════════════════════════════════════
   TOUCH DEVICE FIXES
   (all iPhones + Android touchscreens)
════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover transforms — use active (tap) feedback instead */
  .pcard:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
    border-color: var(--border);
  }
  .pcard:active {
    transform: scale(.97);
    box-shadow: var(--shadow-md);
  }
  /* Show arrow always on touch (no hover state) */
  .ri-arrow { opacity: .4; }
  .cat-link-arr { opacity: .4; }
  /* Active feedback on links */
  .ri:active { background: var(--g7); }
  .cat-link:active { background: var(--g7); color: var(--g2); }

  /* Bigger tap targets */
  .pcard-cta { min-height: 44px; padding: .62rem 1.2rem; }
  .pcard-name { padding: .1rem 0; }
  .ri { min-height: 52px; }
  .cat-link { min-height: 48px; }

  /* Disable sticky sidebar on touch (causes scroll bugs) */
  .cat-sidebar { position: static; }

  /* Ensure images don't intercept taps */
  .pcard-img-wrap a {
    display: block;
    position: relative;
    z-index: 1;
  }

  /* Remove rotation effect on cards (jarring on touch) */
  .pcard:hover { transform: none; }
}