/* Appily thirtyeight — Seed Plot market (shop) */

.page-shop-sprout {
  --lab-ink: #0E241C;
  --lab-deep: #063D36;
  --lab-teal: #0F6B5C;
  --lab-mint: #7ED9B8;
  --lab-chart: #D6FF4B;
  --lab-coral: #FF5C35;
  --lab-paper: #F5FAF7;
  --lab-mist: #E3EFE8;
  --lab-line: rgba(14, 36, 28, 0.12);
  --font-display: "Syne", "Avenir Next", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --a38-ink: var(--lab-ink);
  --a38-muted: #4A6358;
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 70% 35% at 10% 0%, rgba(126, 217, 184, 0.16), transparent 50%),
    linear-gradient(180deg, var(--lab-paper) 0%, #eef6f1 100%);
}

.page-shop-sprout .page-main { padding-top: 0; }

.a38-plot { padding-bottom: 3.5rem; }

body.a38-plot-drawer-open { overflow: hidden; }

/* ── Hero ── */
.a38-plot-hero {
  position: relative;
  isolation: isolate;
  padding: 2.5rem 0 2.85rem;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(214, 255, 75, 0.08) 25%, transparent 25.5%) 0 0 / 40px 40px,
    linear-gradient(155deg, var(--lab-deep) 0%, #0a5248 50%, #0d6b5c 100%);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.a38-plot-hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.a38-plot-orb {
  position: absolute;
  border-radius: 42% 58% 50% 50% / 48% 40% 60% 52%;
  filter: blur(44px);
  opacity: 0.45;
  animation: a38PlotMorph 15s ease-in-out infinite;
}
.a38-plot-orb--1 {
  width: 300px; height: 300px;
  top: -70px; right: 12%;
  background: rgba(214, 255, 75, 0.42);
}
.a38-plot-orb--2 {
  width: 240px; height: 240px;
  bottom: -30px; left: 8%;
  background: rgba(255, 92, 53, 0.28);
  animation-delay: -6s;
}
@keyframes a38PlotMorph {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-16px, 12px) scale(1.07); }
}

.a38-plot-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1.75rem;
  align-items: end;
}

.a38-plot-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0.32rem 0.7rem 0.32rem 0.4rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lab-deep);
  background: var(--lab-chart);
  border-radius: 3px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.18);
}
.a38-plot-spark {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--lab-deep);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: a38PlotSpark 1.8s ease-in-out infinite;
}
@keyframes a38PlotSpark {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(0.7) rotate(45deg); }
}

.a38-plot-hero-copy h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.a38-plot-lede {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 42ch;
}
.a38-plot-lede strong { color: var(--lab-chart); font-weight: 800; }

.a38-plot-hero-tools {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.a38-plot-search {
  display: flex;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--lab-chart);
}
.a38-plot-search input {
  flex: 1;
  border: 0;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lab-ink);
  background: transparent;
}
.a38-plot-search input:focus { outline: none; }
.a38-plot-search button {
  border: 0;
  padding: 0 1.15rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lab-chart);
  background: var(--lab-deep);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.a38-plot-search button:hover {
  background: var(--lab-chart);
  color: var(--lab-deep);
}

.a38-plot-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.a38-plot-hero-stats div {
  padding: 0.7rem 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  text-align: center;
}
.a38-plot-hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--lab-chart);
  letter-spacing: -0.02em;
}
.a38-plot-hero-stats span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* ── Category trays ── */
.a38-plot-trays-wrap {
  position: relative;
  z-index: 2;
  margin-top: -1.1rem;
  margin-bottom: 1.5rem;
}
.a38-plot-trays-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.a38-plot-trays-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lab-ink);
}
.a38-plot-trays-head p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--a38-muted);
}

.a38-plot-trays {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}

.a38-plot-tray {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.1rem 0.55rem;
  align-items: center;
  padding: 0.85rem 0.8rem;
  background: #fff;
  border: 1px solid var(--lab-line);
  border-radius: 10px;
  text-decoration: none !important;
  color: var(--lab-ink);
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s, background 0.28s;
}
.a38-plot-tray::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--tray-hue, var(--lab-teal));
}
.a38-plot-tray:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(6, 61, 54, 0.12);
  border-color: rgba(15, 107, 92, 0.25);
  text-decoration: none !important;
}
.a38-plot-tray.is-active {
  background: var(--lab-deep);
  border-color: var(--lab-deep);
  color: #fff;
  box-shadow: 4px 4px 0 var(--lab-chart);
}
.a38-plot-tray-mark {
  grid-row: 1 / 3;
  color: var(--tray-hue, var(--lab-teal));
  font-size: 0.85rem;
}
.a38-plot-tray.is-active .a38-plot-tray-mark { color: var(--lab-chart); }
.a38-plot-tray-label {
  font-size: 0.78rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.a38-plot-tray-count {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--a38-muted);
  letter-spacing: 0.04em;
}
.a38-plot-tray.is-active .a38-plot-tray-count { color: rgba(255, 255, 255, 0.65); }

/* ── Stage / control bar ── */
.a38-plot-stage { min-width: 0; }

.a38-plot-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--lab-line);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(6, 61, 54, 0.06);
}

.a38-plot-control-left,
.a38-plot-control-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.a38-plot-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 4px;
  background: var(--lab-deep);
  color: var(--lab-chart);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--lab-chart);
  transition: transform 0.2s, box-shadow 0.2s;
}
.a38-plot-filter-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--lab-chart);
}
.a38-plot-filter-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 3px;
  font-size: 0.65rem;
  background: var(--lab-coral);
  color: #fff;
}

.a38-plot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.a38-plot-chip {
  display: inline-block;
  padding: 0.32rem 0.65rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--lab-deep);
  background: var(--lab-mist);
  border: 1px solid var(--lab-line);
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
}
.a38-plot-chip:hover {
  background: var(--lab-chart);
  transform: translateY(-1px);
}

.a38-plot-sort {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid rgba(15, 107, 92, 0.15);
}
.a38-plot-sort-btn {
  position: relative;
  padding: 0.45rem 0.75rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--a38-muted);
  text-decoration: none !important;
  transition: color 0.2s;
}
.a38-plot-sort-btn::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: -2px;
  height: 3px;
  background: var(--lab-chart);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.25s;
}
.a38-plot-sort-btn:hover { color: var(--lab-ink); }
.a38-plot-sort-btn.is-active {
  color: var(--lab-deep);
}
.a38-plot-sort-btn.is-active::after { transform: scaleX(1); }

.a38-plot-view {
  display: inline-flex;
  border: 1px solid var(--lab-line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--lab-mist);
}
.a38-plot-view-btn {
  border: 0;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--a38-muted);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.a38-plot-view-btn.is-active {
  background: var(--lab-deep);
  color: var(--lab-chart);
}

/* ── Product grid ── */
.a38-plot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.a38-plot-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--lab-line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, border-color 0.3s;
  animation: a38PlotCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--plot-delay, 0s);
}
@keyframes a38PlotCardIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.a38-plot-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(6, 61, 54, 0.14);
  border-color: rgba(15, 107, 92, 0.28);
}
.a38-plot-card.is-sold-out { opacity: 0.72; }

.a38-plot-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 20%, rgba(214, 255, 75, 0.28), transparent 55%),
    linear-gradient(160deg, #fff 0%, var(--lab-mist) 100%);
  text-decoration: none !important;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}
.a38-plot-card-glow {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 255, 75, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s, transform 0.45s;
  transform: scale(0.8);
}
.a38-plot-card:hover .a38-plot-card-glow {
  opacity: 1;
  transform: scale(1.15);
}
.a38-plot-card-media img {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 78%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.a38-plot-card:hover .a38-plot-card-media img {
  transform: scale(1.08) rotate(-2deg);
}

.a38-plot-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  padding: 0.22rem 0.48rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  box-shadow: 2px 2px 0 rgba(14, 36, 28, 0.2);
}
.a38-plot-badge--sale {
  background: var(--lab-coral);
  color: #fff;
}
.a38-plot-badge--out {
  background: var(--lab-deep);
  color: var(--lab-chart);
  left: auto;
  right: 0.65rem;
}

.a38-plot-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 1rem 1.05rem;
  flex: 1;
}
.a38-plot-card-cat {
  display: inline-block;
  width: fit-content;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lab-teal);
}
.a38-plot-card-body h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}
.a38-plot-card-body h3 a {
  color: var(--lab-ink);
  text-decoration: none !important;
}
.a38-plot-card-body h3 a:hover { color: var(--lab-teal); }
.a38-plot-card-meta {
  margin: 0;
  font-size: 0.72rem;
  color: var(--a38-muted);
  font-weight: 600;
}
.a38-plot-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.55rem;
}
.a38-plot-card-price {
  margin: 0;
  font-size: 0.95rem;
}
.a38-plot-card-price strong {
  color: var(--lab-coral);
  font-weight: 800;
}
.a38-plot-card-price s {
  color: var(--a38-muted);
  font-weight: 500;
  margin-right: 0.3rem;
  font-size: 0.78rem;
}
.a38-plot-card-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lab-deep) !important;
  background: var(--lab-chart);
  border-radius: 3px;
  text-decoration: none !important;
  box-shadow: 2px 2px 0 rgba(6, 61, 54, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.a38-plot-card-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(6, 61, 54, 0.2);
  text-decoration: none !important;
}

/* Dense rows view */
.a38-plot-rows {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.a38-plot-row {
  background: #fff;
  border: 1px solid var(--lab-line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.a38-plot-row:hover {
  transform: translateX(4px);
  box-shadow: 0 14px 32px rgba(6, 61, 54, 0.1);
  border-color: rgba(15, 107, 92, 0.28);
}
.a38-plot-row.is-sold-out { opacity: 0.7; }
.a38-plot-row-link {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1rem;
  text-decoration: none !important;
  color: inherit;
}
.a38-plot-row-media {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--lab-mist);
  border-radius: 8px;
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}
.a38-plot-row-media img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}
.a38-plot-row-copy h3 {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lab-ink);
}
.a38-plot-row .a38-plot-card-price {
  text-align: right;
  white-space: nowrap;
}

/* Empty */
.a38-plot-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: #fff;
  border: 2px dashed var(--lab-line);
  border-radius: 12px;
}
.a38-plot-empty-mark {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  color: var(--lab-deep);
  background: var(--lab-chart);
  border-radius: 8px;
  box-shadow: 3px 3px 0 rgba(6, 61, 54, 0.2);
}
.a38-plot-empty p {
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--a38-muted);
}
.a38-plot-empty a {
  display: inline-flex;
  padding: 0.65rem 1.15rem;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lab-deep) !important;
  background: var(--lab-chart);
  border-radius: 4px;
  text-decoration: none !important;
  box-shadow: 3px 3px 0 rgba(6, 61, 54, 0.2);
}

/* Pagination */
.a38-plot .a38-shop-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
}
.a38-plot .a38-page-num,
.a38-plot .a38-page-arrow {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.55rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--lab-deep);
  background: #fff;
  border: 1px solid var(--lab-line);
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.a38-plot .a38-page-num:hover,
.a38-plot .a38-page-arrow:hover {
  background: var(--lab-mist);
  transform: translateY(-1px);
}
.a38-plot .a38-page-num.is-active {
  background: var(--lab-deep);
  color: var(--lab-chart);
  border-color: var(--lab-deep);
  box-shadow: 3px 3px 0 var(--lab-chart);
}
.a38-plot .a38-page-gap {
  color: var(--a38-muted);
  font-weight: 700;
}

/* ── Filter drawer (right) ── */
.a38-plot-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  width: min(360px, 92vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--lab-ink);
  box-shadow: -18px 0 48px rgba(6, 61, 54, 0.18);
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: auto;
}
.a38-plot-drawer.is-open { transform: none; }

.a38-plot-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.2rem 1rem;
  border-bottom: 1px solid var(--lab-line);
  background: var(--lab-deep);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}
.a38-plot-drawer-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.a38-plot-drawer-close {
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 4px;
  background: rgba(214, 255, 75, 0.2);
  color: var(--lab-chart);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.a38-plot-drawer-close:hover { background: var(--lab-chart); color: var(--lab-deep); }

.a38-plot-drawer-form {
  padding: 1.15rem 1.2rem 2rem;
}

.a38-plot-drawer-block { margin-bottom: 1.25rem; }
.a38-plot-drawer-block h3 {
  margin: 0 0 0.65rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lab-teal);
}
.a38-plot-hint {
  margin: 0 0 0.5rem;
  font-size: 0.74rem;
  color: var(--a38-muted);
}

.a38-plot-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.a38-plot-check:hover { background: var(--lab-mist); }
.a38-plot-check input { accent-color: var(--lab-teal); margin-right: 0.4rem; }
.a38-plot-check span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--a38-muted);
  padding: 0.12rem 0.4rem;
  border-radius: 3px;
  background: rgba(15, 107, 92, 0.08);
}

.a38-plot-prices {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.a38-plot-prices label {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--a38-muted);
}
.a38-plot-prices input {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--lab-line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.82rem;
  background: var(--lab-paper);
  color: var(--lab-ink);
  box-sizing: border-box;
}
.a38-plot-prices input:focus {
  outline: none;
  border-color: var(--lab-teal);
  box-shadow: 0 0 0 3px rgba(15, 107, 92, 0.12);
}

.a38-plot-catlist {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 220px;
  overflow: auto;
}
.a38-plot-cat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: center;
  padding: 0.4rem 0.45rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.a38-plot-cat:hover { background: var(--lab-mist); }
.a38-plot-cat input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.a38-plot-cat-box {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 3px;
  border: 2px solid var(--lab-line);
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.a38-plot-cat input:checked + .a38-plot-cat-box {
  border-color: var(--lab-deep);
  background: var(--lab-chart);
  box-shadow: inset 0 0 0 2px var(--lab-deep);
}
.a38-plot-cat-label em {
  font-style: normal;
  opacity: 0.6;
  font-size: 0.7rem;
}

.a38-plot-drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lab-line);
}
.a38-plot-apply {
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lab-deep);
  background: var(--lab-chart);
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(6, 61, 54, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.a38-plot-apply:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(6, 61, 54, 0.25);
}
.a38-plot-reset {
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  color: var(--a38-muted);
  text-decoration: none !important;
}
.a38-plot-reset:hover { color: var(--lab-coral); }

.a38-plot-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(6, 61, 54, 0.45);
  backdrop-filter: blur(3px);
  opacity: 1;
}
.a38-plot-backdrop[hidden] { display: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .a38-plot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .a38-plot-hero-grid { grid-template-columns: 1fr; }
  .a38-plot-hero-copy h1 { max-width: none; }
  .a38-plot-hero { clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); }
  .a38-plot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a38-plot-trays {
    display: flex;
    overflow-x: auto;
    gap: 0.55rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
  .a38-plot-tray {
    flex: 0 0 150px;
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .a38-plot-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .a38-plot-row-link {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .a38-plot-row .a38-plot-card-price {
    grid-column: 2;
    text-align: left;
  }
  .a38-plot-control { padding: 0.75rem; }
  .a38-plot-sort { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .a38-plot-orb,
  .a38-plot-spark,
  .a38-plot-card,
  .a38-plot-drawer {
    animation: none;
    transition: none;
  }
}
