/* Homepage trial: one image frame and one overall card height at each viewport. */
body[data-template-level="1"] main#top .home-product-card{
  min-height:var(--home-unified-card-height,0px)!important;
  box-sizing:border-box!important;
}
body[data-template-level="1"] main#top .home-product-card .home-product-photo{
  height:var(--home-unified-image-height,auto)!important;
  flex-shrink:0!important;
}
body[data-template-level="1"] main#top .home-product-card .home-product-copy{
  flex:1!important;
}
body[data-template-level="1"] main#top .home-product-card .home-product-footer{
  margin-top:auto!important;
}
/* Keep the shared frame compact: short copy, regular gaps, no spacer rows. */
body[data-template-level="1"] main#top .home-product-card .home-product-copy{
  gap:4px!important;
  padding:10px!important;
}
body[data-template-level="1"] main#top .home-product-card .home-product-meta{
  line-height:1.45!important;
}
body[data-template-level="1"] main#top .home-product-card .home-product-title{
  line-height:1.35!important;
}
body[data-template-level="1"] main#top .home-product-card .home-product-description{
  line-height:1.5!important;
  margin-bottom:2px!important;
}
body[data-template-level="1"] main#top .home-product-card .home-product-description.jiangnan-offer-badge{
  font-size:13px!important;
  line-height:1.5!important;
  white-space:normal!important;
}
/* Static responsive sizing: no layout measurements or disclosure toggling at load. */
body[data-template-level="1"] main#top{
  --home-unified-image-height:clamp(110px,calc((min(1200px,100vw - 40px) - 106px)/4 * .5625),154px);
  --home-unified-card-height:calc(var(--home-unified-image-height) + 146px);
}
@media(max-width:900px){body[data-template-level="1"] main#top{
  --home-unified-image-height:calc((100vw - 116px)/2 * .5625);
  --home-unified-card-height:calc(var(--home-unified-image-height) + 148px);
}}
@media(max-width:700px){body[data-template-level="1"] main#top{
  --home-unified-image-height:calc((100vw - 68px)/2 * .5625);
  --home-unified-card-height:calc(var(--home-unified-image-height) + 166px);
}}
@media(max-width:360px){body[data-template-level="1"] main#top{
  --home-unified-card-height:calc(var(--home-unified-image-height) + 234px);
}}
html[lang="en"] body[data-template-level="1"] main#top{
  --home-unified-card-height:calc(var(--home-unified-image-height) + 280px);
}
@media(max-width:700px){html[lang="en"] body[data-template-level="1"] main#top{
  --home-unified-card-height:calc(var(--home-unified-image-height) + 320px);
}}
/* Keep the final code segment and its arrow together. */
body[data-template-level="1"] main#top .home-product-footer .home-action-tail{
  display:inline!important;white-space:nowrap!important;font:inherit!important;color:inherit!important;
}
body[data-template-level="1"] main#top .home-product-footer .home-action-text{display:block;width:100%;font:inherit!important;color:inherit!important}
@media(max-width:360px){body[data-template-level="1"] main#top .home-product-card .home-product-footer{
  display:flex!important;align-items:flex-end!important;min-height:calc(3em + 9px)!important;box-sizing:border-box!important;
}}
