/* V254: a live catalog preview and seedling gallery without category shortcuts. */
body.v253-home .h253-showcase,
body.v253-home .h253-nursery { min-width: 0; }
body.v253-home .h253-garden-start {
  display: grid; grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center; gap: 18px; padding: 21px; margin: 22px 0;
}
body.v253-home .h253-garden-illustration { display: block; width: 78px; height: 88px; object-fit: contain; }
body.v253-home .h253-garden-copy { min-width: 0; }
body.v253-home .h253-garden-copy h2 { margin: 5px 0 7px; font-size: 22px; }
body.v253-home .h253-garden-copy p { margin: 0; font-size: 14px; }
body.v253-home .h253-garden-copy small { margin-top: 7px; font-size: 12px; }
body.v253-home .h253-garden-start > a { white-space: nowrap; font-size: 13px; padding: 0 14px; box-sizing: border-box; }
body.v253-home .h253-showcase { margin: 30px 0; }
body.v253-home .h253-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 14px;
}
body.v253-home .h253-section-head > div { min-width: 0; }
body.v253-home .h253-section-head h2 {
  margin: 5px 0 0; font-size: clamp(23px, 2.1vw, 29px); line-height: 1.2; letter-spacing: -.025em;
}
body.v253-home .h253-section-head > a {
  flex-shrink: 0; padding: 8px 0; color: #13743c; font-size: 14px;
  font-weight: 650; text-decoration: none;
}
body.v253-home .h253-catalog-status { color: #6a7865; font-size: 13px; line-height: 1.5; margin: 0 0 14px; }
body.v253-home .h253-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; min-width: 0; }
body.v253-home .h253-product-grid[hidden],
body.v253-home .h253-swipe-hint[hidden] { display: none !important; }
body.v253-home .h253-product {
  display: flex; flex-direction: column; min-width: 0; box-sizing: border-box;
  overflow: hidden; border: 1px solid #d8e4d2; border-radius: 20px;
  background: #fff; color: #22432b; text-decoration: none; box-shadow: 0 5px 18px #213b2407;
  transition: transform .24s ease, box-shadow .24s ease;
}
body.v253-home .h253-product-photo { display: block; width: 100%; height: 182px; object-fit: cover; background: #edf3e5; }
body.v253-home .h253-product-photo.is-illustration { object-fit: contain; padding: 24px; box-sizing: border-box; }
body.v253-home .h253-product-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 15px; }
body.v253-home .h253-product-tag {
  align-self: flex-start; max-width: 100%; border-radius: 20px; padding: 4px 9px;
  background: #eef5e6; color: #456a3d; font-size: 11px; font-weight: 650; line-height: 1.3;
}
body.v253-home .h253-product h3 { margin: 9px 0 5px; font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
body.v253-home .h253-product-meta { margin: 0; color: #687865; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
body.v253-home .h253-product-caption { margin: 7px 0 0; color: #687865; font-size: 11px; line-height: 1.4; }
body.v253-home .h253-product-price { display: block; margin-top: auto; padding-top: 16px; color: #17643a; font-size: 22px; line-height: 1.25; }
body.v253-home .h253-product-price small { display: block; margin-top: 2px; color: #718068; font-size: 12px; font-weight: 400; }
body.v253-home .h253-product-cta { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; color: #18713e; }
body.v253-home .h253-product-skeleton { pointer-events: none; }
body.v253-home .h253-product-skeleton .h253-product-photo { background: #e7edde; }
body.v253-home .h253-product-skeleton .h253-product-body { min-height: 150px; gap: 12px; }
body.v253-home .h253-skeleton-line { display: block; width: 80%; height: 12px; border-radius: 6px; background: #edf1e7; }
body.v253-home .h253-skeleton-line:last-child { width: 55%; margin-top: auto; height: 18px; }
body.v253-home .h253-retry {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  margin: 10px 0 0; padding: 0 15px; border: 1px solid #c6dabc; border-radius: 12px;
  background: #fff; color: #1c713e; font: 650 13px system-ui, sans-serif; cursor: pointer;
}
body.v253-home .h253-swipe-hint { display: none; margin: 0 0 10px; color: #708169; font-size: 12px; }
body.v253-home .h253-nursery { margin: 28px 0; }
body.v253-home .h253-nursery-intro { margin: 0 0 18px; }
body.v253-home .h253-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body.v253-home .h253-gallery figure { min-width: 0; margin: 0; }
body.v253-home .h253-gallery a { display: block; position: relative; border-radius: 16px; overflow: hidden; background: #eef2e6; }
body.v253-home .h253-gallery img { display: block; width: 100%; height: 245px; object-fit: cover; transition: transform .28s ease; }
body.v253-home .h253-gallery a > span {
  position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 50%; background: #ffffffeb;
  color: #2b5b34; font-size: 23px; box-shadow: 0 2px 10px #2035201c;
}
body.v253-home .h253-gallery figcaption { padding-top: 9px; color: #546a50; font-size: 12px; line-height: 1.45; }
body.v253-home .h253-reveal-pending { opacity: 0; transform: translateY(12px); }
body.v253-home [data-home-reveal] { transition: opacity .5s ease, transform .5s ease; }
body.v253-home [data-home-reveal]:focus-within { opacity: 1; transform: none; }
body.v253-home .h253-gallery-dialog {
  width: min(900px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px); box-sizing: border-box; overflow: auto;
  padding: 18px; border: 1px solid #d7e3cf; border-radius: 24px; margin: auto;
  background: #fcfdf8; color: #24452c; box-shadow: 0 24px 80px #09271138;
}
body.v253-home .h253-gallery-dialog[open] { display: grid; gap: 12px; }
body.v253-home .h253-gallery-dialog:not([open]) { display: none; }
body.v253-home .h253-gallery-dialog::backdrop { background: #102c1dc2; backdrop-filter: blur(4px); }
body.v253-home .h253-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.v253-home .h253-dialog-head h2 { margin: 0; font-size: 20px; line-height: 1.3; }
body.v253-home .h253-gallery-dialog button {
  min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid #d2e0ca;
  border-radius: 50%; background: #fff; color: #285f36; font: 600 20px system-ui, sans-serif; cursor: pointer;
}
body.v253-home .h253-gallery-full {
  display: block; width: 100%; height: min(68vh, 640px); height: min(68dvh, 640px);
  object-fit: contain; border-radius: 16px; background: #eef3e7;
}
body.v253-home .h253-gallery-dialog > p { margin: 0; text-align: center; color: #536b4b; font-size: 14px; line-height: 1.4; }
body.v253-home .h253-gallery-controls { display: flex; align-items: center; justify-content: center; gap: 20px; }
body.v253-home .h253-gallery-controls > span { min-width: 55px; text-align: center; font-size: 13px; color: #647c59; }
body.v253-home.h253-gallery-is-open { overflow: hidden; }
@media (min-width: 901px) and (max-width: 1600px) {
  body.v253-home:not(.is-new-garden) .h253-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  body.v253-home .h253-garden-start { grid-template-columns: 64px minmax(0, 1fr); gap: 12px 16px; }
  body.v253-home .h253-garden-illustration { width: 64px; height: 76px; }
  body.v253-home .h253-garden-start > a { grid-column: 2; justify-self: start; }
}
@media (max-width: 900px) {
  body.v253-home .h253-product-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: clamp(190px, 62vw, 245px);
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 2px 2px 14px;
    scrollbar-width: thin; scrollbar-color: #a8be9e #f0f3e9;
  }
  body.v253-home .h253-product { scroll-snap-align: start; }
  body.v253-home .h253-swipe-hint { display: block; }
}
@media (max-width: 520px) {
  body.v253-home .h253-garden-start { grid-template-columns: 48px minmax(0, 1fr); padding: 17px; gap: 12px; }
  body.v253-home .h253-garden-illustration { width: 48px; height: 64px; }
  body.v253-home .h253-garden-copy h2 { font-size: 19px; }
  body.v253-home .h253-garden-copy p { font-size: 13px; }
  body.v253-home .h253-garden-copy .h235-label { font-size: 10px; }
  body.v253-home .h253-garden-start > a { grid-column: 1 / -1; width: 100%; justify-self: stretch; }
  body.v253-home .h253-showcase { margin: 25px 0; }
  body.v253-home .h253-section-head { align-items: flex-start; gap: 4px 12px; }
  body.v253-home .h253-section-head h2 { font-size: 23px; }
  body.v253-home .h253-section-head > a { font-size: 13px; }
  body.v253-home .h253-nursery { padding: 18px; }
  body.v253-home .h253-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 10px; }
  body.v253-home .h253-gallery figure:first-child { grid-column: 1 / -1; }
  body.v253-home .h253-gallery img { height: 170px; }
  body.v253-home .h253-gallery figure:first-child img { height: 235px; }
  body.v253-home .h253-gallery-dialog { width: calc(100vw - 20px); padding: 12px; border-radius: 18px; }
  body.v253-home .h253-dialog-head h2 { font-size: 18px; }
}
@media (hover: hover) and (pointer: fine) {
  body.v253-home .h253-product:hover { transform: translateY(-3px); box-shadow: 0 10px 24px #213b2412; }
  body.v253-home .h253-gallery a:hover img { transform: scale(1.025); }
}
body.v253-home.ps-shop-motion-paused [data-home-reveal] { opacity: 1; transform: none; transition: none; }
body.v253-home.ps-shop-motion-paused .h253-product,
body.v253-home.ps-shop-motion-paused .h253-gallery img { transition: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.v253-home [data-home-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  body.v253-home .h253-product,
  body.v253-home .h253-gallery img { transition: none !important; transform: none !important; }
}
