/* A square cover uses the whole frame; product imagery stays fully visible. */
.saas221-card .product-photo,.goods221-card .product-photo,.shop-catalog .saas221-card .shop-product-photo,.shop-catalog .goods221-card .shop-product-photo{position:relative;aspect-ratio:1/1;height:auto;padding:0;background:#fff;flex:none;overflow:hidden}
.saas221-card .product-photo>a,.goods221-card .product-photo>a,.saas221-card .shop-product-photo>a,.goods221-card .shop-product-photo>a{position:absolute;inset:0;display:flex;width:100%;height:100%;align-items:center;justify-content:center;padding:0}
.saas221-card .product-photo img,.goods221-card .product-photo img,.saas221-card .shop-product-photo img,.goods221-card .shop-product-photo img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;mix-blend-mode:normal;transform:none}
.saas221-card .product-photo a:hover img,.goods221-card .product-photo a:hover img{transform:none}
.saas221-card .product-buy,.goods221-card .product-buy{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:11px;margin-top:auto;padding-top:14px;min-width:0}
.saas221-card .product-info,.goods221-card .product-info{min-width:0;padding:15px;gap:4px}
.saas221-card .product-info h3,.goods221-card .product-info h3{line-height:1.55;font-size:17px;margin:2px 0 4px}
.saas221-card .product-info h3>a,.goods221-card .product-info h3>a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:break-word}
.saas221-card .product-subtitle,.goods221-card .product-subtitle{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.65;min-height:43px;margin:0 0 8px}
.saas221-card .price,.goods221-card .price{font-size:clamp(21px,2.2vw,27px);line-height:1.35;white-space:nowrap;letter-spacing:-.025em}
.saas221-card .license220-card-action,.goods221-card .product-buy>.add-cart{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-width:0;min-height:44px;height:auto;margin:0;border:1px solid #e6ac32;border-radius:9px;padding:10px 9px;background:#ffcf54;color:#183c54;font-family:inherit;font-weight:650;font-size:14px;line-height:1.5;white-space:normal;word-break:normal;text-align:center;text-decoration:none;box-sizing:border-box}
.goods221-card .add-cart .home-cart-label{display:inline;font-size:13px;line-height:1.5;font-weight:650}.goods221-card .add-cart .icon{width:20px;height:20px;flex:0 0 20px;display:block}
.saas221-card .license220-card-action:hover,.goods221-card .product-buy>.add-cart:hover{background:#ffdb7d;color:#183c54}
.goods221-card .product-buy>.add-cart:disabled{background:#e9eef2;border-color:#d6e0e7;color:#6a7c89;cursor:default}
.shop-catalog .shop-card-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;min-width:0}.shop-catalog .shop-card-actions .shop-buy{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:44px;padding:10px 9px;line-height:1.5;font-size:14px;white-space:normal;word-break:normal;text-align:center;box-sizing:border-box}
.saas221-card .card-warranty{background:#edf5fc;border:1px solid #cfdfeb}.saas221-card .card-warranty-text{font-size:12px;font-weight:600;line-height:1.6;color:#264e68;white-space:normal;word-break:normal}
.nav-row .nav-scroll>a[href^="/saas"]{font-size:14px;letter-spacing:0;flex-shrink:0;padding-left:12px;padding-right:12px}
.saas221-product .pd-main-photo{padding:0;background:white}.saas221-product .pd-gallery-slide img{object-fit:contain}.goods221-product .pd-main-photo{padding:10px}
.license221-order-note{font:inherit;line-height:inherit;background:transparent;border:0;padding:0;margin:10px 0 0}.license220-order .license221-order-note{font-size:13px;font-weight:400;line-height:1.75;color:#4c6475}
@media(max-width:650px){.saas221-card .product-info,.goods221-card .product-info{padding:11px}.saas221-card .product-info h3,.goods221-card .product-info h3{font-size:15px}.saas221-card .product-subtitle,.goods221-card .product-subtitle{font-size:12px;min-height:40px}.saas221-card .product-buy,.goods221-card .product-buy{gap:9px;padding-top:10px}.saas221-card .license220-card-action,.goods221-card .product-buy>.add-cart{font-size:13px;min-height:44px;padding:9px 6px}.shop-catalog .shop-card-actions .shop-buy{font-size:13px;padding:9px 6px}.saas221-card .price,.goods221-card .price{font-size:22px}.nav-row .nav-scroll>a[href^="/saas"]{font-size:13px;padding-left:10px;padding-right:10px}}

/* Service purchase action and its actual term. */
.saas221-product .license220-start .pd-add{background:#ffcf54!important;border:1px solid #e6ac32!important;color:#183c54!important;border-radius:9px;box-shadow:none}
.saas221-product .license220-start .pd-add:hover,.saas221-product .license220-start .pd-add:focus-visible{background:#ffdb7d!important;color:#183c54!important}
.saas221-card .saas222-term{background:#e6f2fc;border:1px solid #9ebed8;border-left:4px solid #28618b;justify-content:center}
.saas221-card .saas222-term .card-warranty-text{font-size:17px;font-weight:750;color:#174c73;line-height:1.5;max-height:none;height:auto;-webkit-line-clamp:unset;overflow:visible}
@media(max-width:650px){.saas221-card .saas222-term .card-warranty-text{font-size:15px}}

/* Category cards share semantic vector icons with the home menu. */
.shop-category-rail .category189-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #d4e2ed;border-radius:11px;background:#edf5fb;color:#335f7d}
.shop-category-rail .category189-icon .icon{width:28px;height:28px;display:block;flex:none}
.shop-category-rail .category189-accent{stroke:#bd8419}
@media(max-width:650px){.shop-category-rail .category189-icon{width:38px;height:38px;flex-basis:38px}.shop-category-rail .category189-icon .icon{width:26px;height:26px}}

/* Keep service-duration badges snug around their label. */
.saas221-card .card-warranty.saas222-term{display:inline-flex;align-self:flex-start;width:fit-content;max-width:100%;height:auto;min-height:0;max-height:none;padding:5px 10px;gap:0;margin-bottom:10px}
.saas221-card .saas222-term .card-warranty-text{min-height:0}
/* SaaS detail identity: keep the divider close to the title after removing SKU. */
.saas221-product .pd-info h1.saas228-title-divider{border-bottom:1px solid #e4ebf0;padding-bottom:12px;margin-bottom:0}
.saas221-product .pd-brand{max-width:min(200px,55%);height:54px}
.saas221-product .pd-brand img{width:auto;max-width:100%;height:50px;object-fit:contain;object-position:left center}
.saas221-product .pd-identity{margin-bottom:14px}
.saas221-product .license220-benefits{margin-bottom:18px}
.saas221-product .pd-contact{min-height:58px;padding:16px;line-height:1.6;text-align:center}
