/* V339: only the phone/tablet layout of the home page and app.
   The desktop design and all functional pages retain V338. */
.v339-home .v339-mobile-only{display:none}
@media(max-width:900px){
  html body.v339-home .v339-mobile-only{display:initial}
  html body.v339-home .v339-desktop-only{display:none!important}
  html body.v339-home .v184-header{padding:6px 9px;margin-bottom:9px!important;min-height:49px;border-radius:14px}
  html body.v339-home .v184-brand img{width:35px;height:35px}
  html body.v339-home .v338-mobile-cart,html body.v339-home .v184-bell{width:36px;height:36px}
  html body.v339-home .v338-hero-row{gap:8px;margin-bottom:12px}
  html body.v339-home .v338-hero{min-height:132px;padding:16px 17px;border-radius:18px;background-position:center,65% 48%}
  html body.v339-home .v338-hero-eyebrow{font-size:9px;padding:4px 8px}
  html body.v339-home .v338-hero h1{font-size:clamp(24px,5.7vw,32px)!important;line-height:1.09!important;margin:8px 0 4px!important}
  html body.v339-home .v338-hero p{font-size:12px;line-height:1.35;margin:0}
  /* Store and garden links already exist directly below the banner. */
  html body.v339-home .v338-hero-actions{display:none!important}
  html body.v339-home .v338-season.ps-season-note{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;gap:8px;padding:10px 12px;border-radius:14px}
  html body.v339-home .v338-season .v338-season-text{grid-row:1;grid-column:1;min-width:0}
  html body.v339-home .v338-season .ps-eyebrow{font-size:9px;letter-spacing:.035em}
  html body.v339-home .v338-season h2{font-size:14px!important;line-height:1.2;margin:3px 0 0!important}
  html body.v339-home .v338-season .v338-season-photo,html body.v339-home .v338-season [data-season-copy]{display:none!important}
  html body.v339-home .v338-season>a{grid-column:2;grid-row:1;min-height:44px;width:auto;padding:7px 9px;font-size:11px;max-width:110px;border-radius:10px;gap:4px}
  html body.v339-home .v338-section-head{margin:12px 0 7px}
  html body.v339-home .v338-section-head .h235-label{display:none}
  html body.v339-home .v338-section-head h2{font-size:19px;line-height:1.2;margin:0}
  html body.v339-home .v184-actions{gap:7px;margin:0 0 8px}
  html body.v339-home .v184-actions .ps-shortcut{min-height:59px;padding:8px 9px;gap:7px;border-radius:14px;grid-template-columns:30px minmax(0,1fr)}
  html body.v339-home .v184-actions .v184-action-icon{width:30px;height:30px}
  html body.v339-home .v184-actions .v184-action-icon svg{width:19px;height:19px}
  html body.v339-home .v184-actions .ps-shortcut b{font-size:13px}
  html body.v339-home .v184-actions .ps-shortcut small{font-size:10px;line-height:1.2;margin-top:3px}
  /* One compact two-action row; both original destinations remain available. */
  html body.v339-home .v338-reminder-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 13px}
  html body.v339-home .v338-personal-card{min-height:48px;padding:7px 8px;gap:6px;border-radius:12px}
  html body.v339-home .v338-personal-icon{width:28px;height:28px;flex-basis:28px;border-radius:9px}
  html body.v339-home .v338-personal-icon svg{width:18px;height:18px}
  html body.v339-home .v338-personal-text b{font-size:12px;line-height:1.2;overflow-wrap:anywhere}
  html body.v339-home .v338-personal-text small{display:none!important}
  html body.v339-home .v338-personal-card>i{display:none}
  /* Keep today's tasks actionable; the full garden and upcoming plan live in My Plants. */
  html body.v339-home .v338-garden-panels{gap:0;margin:0 0 12px}
  html body.v339-home .v338-garden-panels>[data-care-upcoming-panel],
  html body.v339-home .v338-garden-panels>[data-care-garden-section]{display:none!important}
  html body.v339-home .v338-garden-panels .h235-today{padding:12px;border-radius:14px}
  html body.v339-home .h235-today-head{flex-direction:row;align-items:center;gap:8px;margin-bottom:7px}
  html body.v339-home .h235-today-head .h235-label{display:none}
  html body.v339-home .h235-today-head h2{font-size:17px;margin:0}
  html body.v339-home .h235-today-head a{font-size:11px}
  html body.v339-home .h235-today .h235-task{padding:8px;gap:6px;flex-direction:row;align-items:center}
  html body.v339-home .h235-today .h235-task button{font-size:11px;min-height:44px;padding:6px 8px}
  html body.v339-home .h253-showcase{margin:10px 0 14px}
  html body.v339-home .h253-showcase .h253-section-head{flex-wrap:nowrap;align-items:baseline;gap:5px;margin:0 0 8px}
  html body.v339-home .h253-showcase .h253-section-head .h235-label{display:none}
  html body.v339-home .h253-showcase .h253-section-head h2{font-size:19px;line-height:1.2;margin:0}
  html body.v339-home .h253-showcase .h253-section-head>a{font-size:11px;white-space:nowrap;padding:9px 0}
  html body.v339-home .h301-categories{margin:0 0 13px;gap:6px}
  html body.v339-home .h301-categories a{min-height:55px;padding:5px 2px;gap:3px;border-radius:11px;font-size:10px}
  html body.v339-home .h301-categories a span{width:24px;height:24px;flex-basis:24px;font-size:16px}
  html body.v339-home .h253-catalog-status{font-size:11px;margin:0 0 6px}
  html body.v339-home .h253-catalog-status[data-state="ready"]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  html body.v339-home .h253-swipe-hint{font-size:11px;margin:0 0 5px}
  html body.v339-home .v339-chooser{margin:0 0 8px}
  html body.v339-home .v339-chooser .pc-link{display:inline-flex;align-items:center;background:transparent;border:0;box-shadow:none;min-height:40px;padding:4px 0;color:#126a38;font-size:12px;font-weight:700;border-radius:0}
  /* Two featured cards visible, remaining items available by horizontal scroll.
     Product photo descriptions, prices and detail links remain readable. */
  html body.v339-home .h253-product-grid{grid-auto-columns:calc((100% - 8px)/2);gap:8px;padding:1px 1px 8px;align-items:stretch;scroll-padding-inline:1px}
  html body.v339-home .h253-product{border-radius:13px}
  html body.v339-home .h253-product-photo{height:105px}
  html body.v339-home .h253-product-body{padding:8px;flex:1}
  html body.v339-home .h253-product-tag{font-size:10px;padding:3px 6px}
  html body.v339-home .h253-product-body h3{font-size:13px;line-height:1.25;margin:5px 0}
  html body.v339-home .h253-product-meta{font-size:11px}
  html body.v339-home .h253-product-caption{font-size:10px;line-height:1.3;margin:5px 0 0}
  html body.v339-home .h253-product-price{font-size:17px;margin-top:auto;padding-top:7px}
  html body.v339-home .h253-product-price small{font-size:10px}
  html body.v339-home .h253-product-cta{font-size:11px;margin-top:5px}
  /* These sections repeat routes already on the compact home or shop; keep desktop content intact. */
  html body.v339-home #homePromo,
  html body.v339-home .h235-help,
  html body.v339-home .h253-nursery,
  html body.v339-home .v185-tips-mobile,
  html body.v339-home .v185-trust-mobile,
  html body.v339-home .v338-contact{display:none!important}
  html body.v339-home .v184-footer{padding:6px 0 0;font-size:11px;line-height:1.4;border-top:1px solid #dce7d8}
  html body.v339-home .v184-footer p{font-size:11px;margin:5px 0;line-height:1.45}
  html body.v339-home .v184-footer nav{gap:2px 8px}
  html body.v339-home .v184-footer a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:4px 3px;font-size:11px;border:0;background:transparent;box-sizing:border-box;border-radius:5px;box-shadow:none}
  /* The old carousel pause button is hidden on phones; stop looping decoration only here. */
  html body.v339-home .ps-shortcut::before,html body.v339-home .ps-shortcut::after,
  html body.v339-home .ps-shortcut .v184-action-icon,html body.v339-home .ps-shortcut>i{animation:none!important}
}
@media(max-width:359px){
  html body.v339-home .v184-actions .ps-shortcut{padding:8px 6px;gap:5px;grid-template-columns:26px minmax(0,1fr)}
  html body.v339-home .v184-actions .v184-action-icon{width:26px;height:26px}
  html body.v339-home .v184-actions .ps-shortcut small{font-size:10px}
  html body.v339-home .h301-categories{grid-template-columns:repeat(3,minmax(0,1fr))}
}
