/* Agrisales live styles — build 35 (served by index.php). */
.home-garden-hero { align-items: start; }
.home-garden-brief .live-card { margin-top: 2px; }

.live-card { overflow: hidden; }
.live-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: #f8faf7;
}
.live-head strong { color: var(--green-950); font-size: 0.92rem; font-weight: 900; letter-spacing: -0.01em; }
.live-updated { margin-left: auto; color: var(--muted); font-size: 0.74rem; font-weight: 800; }
.live-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--green-700);
  border-radius: 999px;
  color: var(--green-900);
  background: white;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 900;
}
.live-refresh:hover { color: white; background: var(--green-700); }
.live-refresh svg { width: 14px; height: 14px; }
.live-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2eae5b;
  animation: live-pulse 2s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 174, 91, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(46, 174, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 174, 91, 0); }
}

.live-wrap { overflow-x: auto; }
.live-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.live-table .col-type { width: 44%; }
.live-table .col-plants { width: 31%; }
.live-table .col-trays { width: 25%; }
.live-table th {
  padding: 11px 16px;
  color: white;
  background: var(--green-800);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: left;
}
.live-table th.num,
.live-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.live-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #edf1ed;
  vertical-align: middle;
}
.live-table tbody tr:last-child td { border-bottom: 0; }
.live-table tbody tr:nth-child(even) { background: #fbfcf9; }
.live-table tbody tr:hover { background: #f4f9f2; }
.live-type strong {
  vertical-align: middle;
  color: var(--green-950);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.live-table td.num { color: var(--ink); font-size: 0.98rem; font-weight: 800; }
.live-count { color: var(--green-800); font-size: 1.12rem; font-weight: 950; }

/* Extra Plants vegicons — the exact sprite the /ty app uses, referenced live. */
.epveg {
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 11px;
  vertical-align: middle;
  background-image: url('/ty/vegicons.png?v=38');
  background-repeat: no-repeat;
  background-size: 3100% 100%;
}
.epveg-sprout { background: none; color: var(--green-700); }
.epv-tomato { background-position: 0.0000% 0; }
.epv-bellpepper { background-position: 3.3333% 0; }
.epv-redbell { background-position: 6.6667% 0; }
.epv-cubanelle { background-position: 10.0000% 0; }
.epv-banana { background-position: 13.3333% 0; }
.epv-orangepepper { background-position: 16.6667% 0; }
.epv-jalapeno { background-position: 20.0000% 0; }
.epv-serrano { background-position: 23.3333% 0; }
.epv-longhot { background-position: 26.6667% 0; }
.epv-chile { background-position: 30.0000% 0; }
.epv-hotpepper { background-position: 33.3333% 0; }
.epv-eggplant { background-position: 36.6667% 0; }
.epv-cucumber { background-position: 40.0000% 0; }
.epv-carrot { background-position: 43.3333% 0; }
.epv-corn { background-position: 46.6667% 0; }
.epv-lettuce { background-position: 50.0000% 0; }
.epv-onion { background-position: 53.3333% 0; }
.epv-broccoli { background-position: 56.6667% 0; }
.epv-cauliflower { background-position: 60.0000% 0; }
.epv-radish { background-position: 63.3333% 0; }
.epv-turnip { background-position: 66.6667% 0; }
.epv-garlic { background-position: 70.0000% 0; }
.epv-watermelon { background-position: 73.3333% 0; }
.epv-yellowsquash { background-position: 76.6667% 0; }
.epv-greensquash { background-position: 80.0000% 0; }
.epv-cherrytomato { background-position: 83.3333% 0; }
.epv-roma { background-position: 86.6667% 0; }
.epv-grape { background-position: 90.0000% 0; }
.epv-tomatillo { background-position: 93.3333% 0; }
.epv-anaheim { background-position: 96.6667% 0; }
.epv-poblano { background-position: 100.0000% 0; }

.home-garden-brief .inventory-foot {
  margin-top: 10px;
  padding: 0 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}
.home-garden-brief .inventory-foot strong { color: var(--green-950); }

@media (max-width: 560px) {
  .live-head { flex-wrap: wrap; padding: 12px 13px; }
  .live-updated { order: 3; width: 100%; margin-left: 0; }
  .live-table th { padding: 10px 11px; font-size: 0.6rem; letter-spacing: 0.04em; }
  .live-table td { padding: 11px; }
  .live-type strong { font-size: 0.9rem; }
  .epveg { width: 21px; height: 21px; margin-right: 7px; }
  .live-count { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) { .live-dot, .nav-live-dot { animation: none; } }

/* --- Professional polish (build 25) --- */
::selection { color: white; background: var(--green-700); }

.faq-section { background: white; }
.faq-list { max-width: 860px; margin-top: 28px; display: grid; gap: 12px; }
.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fdfefd;
  box-shadow: 0 6px 20px rgba(9, 32, 20, 0.04);
}
.faq-item summary {
  padding: 17px 52px 17px 21px;
  position: relative;
  cursor: pointer;
  color: var(--green-950);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 19px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--green-700);
  border-bottom: 2.5px solid var(--green-700);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 220ms ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item[open] summary { border-bottom: 1px solid #eef2ee; }
.faq-item summary:hover { background: #f7faf6; }
.faq-answer { padding: 15px 21px 18px; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--green-800); font-weight: 850; }

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: white;
  background: var(--green-800);
  box-shadow: 0 10px 28px rgba(9, 32, 20, 0.35);
  opacity: 0.92;
}
.to-top:hover { background: var(--green-950); opacity: 1; }
@media (max-width: 860px) { .to-top { bottom: 104px; } }
/* With JS available the button hides until you've scrolled; without JS it just stays. */
html.js .to-top { opacity: 0; pointer-events: none; transition: opacity 260ms ease; }
html.js .to-top.show { opacity: 0.92; pointer-events: auto; }
html.js .to-top.show:hover { opacity: 1; }
.ty-price-sub { margin: 14px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 0.8rem; font-weight: 800; }
.ty-price-table {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.ty-price-table th {
  padding: 6px 2px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
}
.ty-price-table th.num, .ty-price-table td.num { text-align: right; }
.ty-price-table td {
  padding: 11px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 750;
}
.ty-price-table td strong { color: white; font-weight: 900; }
.ty-price-table tbody tr:last-child td { border-bottom: 0; }
.ty-price-table .price { color: var(--gold-400); font-size: 1.12rem; font-weight: 950; letter-spacing: -0.02em; }
.best-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--green-950);
  background: var(--gold-400);
  font-size: 0.6rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 2px;
}
@media (max-width: 420px) {
  .best-badge { display: block; width: fit-content; margin: 5px 0 0; }
}

/* Ty's card: taller photo frame so his whole face shows; card takes its natural height. */
.contact-card-ty { min-height: 0; }
.contact-card-ty .contact-card-photo { aspect-ratio: 4 / 3; }
.contact-card-ty .contact-card-photo img { object-position: 50% 22%; }

.nav-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-radius: 50%;
  background: #2eae5b;
  vertical-align: 2px;
  animation: live-pulse 2s ease-out infinite;
}

/* Scroll reveals — applied by enhance.js, safe everywhere. */
.rv { opacity: 0; transform: translateY(24px); }
.rv-in { opacity: 1; transform: translateY(0); transition: opacity 640ms ease, transform 640ms cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv-in { opacity: 1; transform: none; transition: none; }
}

.mini-steps li, .live-card, .contact-card-dark, .faq-item {
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.mini-steps li:hover, .faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(9, 32, 20, 0.08);
}
