/* Shared by the public catalogue and member catalogue. */
.cms-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;align-items:start;max-width:1560px;list-style:none;margin:0;padding:0}
.cms-product-card{display:flex;flex-direction:column;align-items:stretch;min-width:0;width:100%;box-sizing:border-box;gap:0;padding:14px;border:1px solid #e2e7ef;border-radius:8px;background:#fff;color:#252b3b;text-decoration:none;box-shadow:none;transition:border-color .2s,box-shadow .2s}
.cms-product-card:hover{transform:none;border-color:#b5c8f5;box-shadow:0 12px 28px rgb(38 48 74 / 5%);color:#252b3b}
.cms-product-card:focus-visible{outline:2px solid #4169dc;outline-offset:3px}
.cms-product-card .cms-product-head{display:block;min-width:0}
.cms-product-card .cms-product-name{margin:0;font-size:16px;font-weight:600;line-height:1.5;color:#252b3b;overflow-wrap:anywhere}
.cms-product-card .cms-product-head .cms-tag{display:inline-block;box-sizing:border-box;margin:8px 5px 0 0;padding:4px 7px;max-width:100%;border:1px solid #e2e7ef;border-radius:4px;background:#f5f6fa;color:#626b7d;font-size:10px;font-weight:400;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.cms-product-card .cms-product-desc{flex:none;margin:12px 0!important;font-size:12px;font-weight:400;color:#626b7d;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}
.cms-product-card .cms-product-desc:has(>*){white-space:normal}
.cms-product-card .cms-product-foot{display:flex;flex-direction:column;align-items:stretch;gap:12px;border-top:1px solid #e2e7ef;padding-top:12px;margin-top:0}
.cms-product-card .cms-product-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 9px;min-width:0}
.cms-product-card .cms-product-price .cms-price{font-size:22px;font-weight:600;line-height:1.5;color:#252b3b;letter-spacing:0;overflow-wrap:anywhere}
.cms-product-card .cms-price-cycle{font-size:11px;font-weight:400;line-height:1.8;color:#626b7d}
.cms-product-card .cms-product-foot .cms-btn{display:flex;box-sizing:border-box;width:100%;min-height:34px;align-items:center;justify-content:center;gap:14px;padding:8px 12px;border:1px solid #4169dc;border-radius:6px;background:#4169dc;color:#fff!important;font-size:12px;font-weight:500;line-height:1.5;text-decoration:none;box-shadow:none;transition:background .18s,border-color .18s}
.cms-product-card .cms-product-foot .cms-btn:hover{background:#3457bf;border-color:#3457bf;transform:none;box-shadow:none}
.cms-catalog-v4 .cms-product.is-sold-out{opacity:1}
.cms-catalog-v4 .cms-product-card .cms-product-foot .cms-btn:disabled{background:#eef1f6;border-color:#e2e7ef;color:#50586d!important;cursor:default}
.cms-spec-notice-popup{padding:8px 10px;border-radius:8px;background:#17243b;color:#fff;font-size:12px;line-height:1.6}

/* Promo descriptions carry inline layouts for the standalone detail view. */
.cms-product-grid > .cms-product-card:has(.cms-promo-product-detail){align-self:stretch}
.cms-product-card:has(.cms-promo-product-detail) .cms-product-foot{margin-top:auto}
.cms-catalog-v4 .cms-product-card :is(.cms-promo-features,.cms-promo-restriction){display:none!important}
.cms-product-card .cms-promo-spec-groups{display:grid!important;grid-template-columns:minmax(0,1fr);gap:8px!important}
.cms-product-card .cms-promo-spec-groups > div > :first-child{margin-bottom:4px!important}
.cms-product-card .cms-promo-spec-groups > div > :last-child{
  grid-template-columns:minmax(0,1fr)!important;gap:0!important;
  padding:2px 8px;border-radius:8px;background:#f5f6fa
}
.cms-product-card .cms-promo-spec{
  display:grid;grid-template-columns:45px minmax(0,1fr);align-items:baseline;gap:6px;
  padding:3px 0!important;border-radius:0!important;background-color:transparent!important
}
.cms-product-card .cms-promo-spec + .cms-promo-spec{border-top:1px solid #e5e9f0}
.cms-product-card .cms-promo-spec > :first-child{gap:4px!important;white-space:nowrap}
.cms-product-card .cms-promo-spec img{width:12px;height:12px;flex:none}
.cms-product-card .cms-promo-spec > :last-child{margin-top:0!important;font-weight:600!important;line-height:1.4!important}

@media(min-width:1400px){.cms-product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:600px){.cms-product-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.cms-product-card,.cms-product-card .cms-product-foot .cms-btn{transition:none}}
