/* TMVPS product browsing: shared card, button and filter styles. */
.site-header .header-row,footer>.container{width:calc(100% - 64px);max-width:none}
footer .footer-top{grid-template-columns:minmax(280px,2fr) repeat(2,minmax(180px,1fr));gap:6vw}
footer .footer-top>div:first-child>p{max-width:650px}
.commerce-container{width:min(1200px,calc(100% - 64px))}
.commerce-section{padding-top:28px;background:linear-gradient(#fff,#f7faff 65%,#fff)}
.commerce-jumps{position:sticky;top:var(--header-height);z-index:20;display:flex;justify-content:center;gap:8px;width:max-content;max-width:100%;margin:0 auto 44px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:40px;box-shadow:0 6px 22px #1c396611}
.commerce-jumps a{padding:9px 28px;border-radius:30px;font-size:17px;color:var(--ink);transition:color .18s,background .18s,transform .18s}
.commerce-jumps a:hover,.commerce-jumps a:focus-visible{color:var(--blue);background:#edf4ff;transform:translateY(-2px)}
.commerce-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:0 0 28px}
.commerce-heading h2{margin-bottom:12px;font-size:32px}
.commerce-heading p{margin-bottom:0;font-size:17px}
.commerce-heading .eyebrow{margin-bottom:8px;color:var(--blue)}
.commerce-heading>.text-link{white-space:nowrap}
.commerce-recommendations{margin-bottom:64px;scroll-margin-top:160px}
.commerce-catalog{scroll-margin-top:160px}
.plan-grid,.plan-grid.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.plan-grid.recommendation-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.plan-card.commerce-card{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0;border:1px solid #e0e6ee;border-radius:3px;background:#fff;box-shadow:0 4px 16px #19365d08;overflow:hidden;transition:transform .18s,border-color .18s,box-shadow .18s}
.plan-card.commerce-card:hover{transform:translateY(-5px);border-color:#83b1fa;box-shadow:0 10px 26px #1555a516}
.commerce-card-head{padding:22px 20px 8px}
.commerce-card .commerce-product{display:flex;align-items:start;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:16px;line-height:1.5;color:#53627a}
.commerce-product>span{flex-shrink:0;max-width:48%;color:var(--blue);font-size:15px;text-align:right}
.commerce-card h3{font-size:21px;line-height:1.5;margin:0;font-weight:500}
.commerce-card h3 a{display:flex;align-items:start;justify-content:space-between;gap:10px}
.commerce-card h3 a:hover{color:var(--blue)}
.commerce-card h3 a>span{flex-shrink:0;font-size:18px}
.commerce-specs{margin:4px 20px 18px}
.commerce-specs>div{display:grid;grid-template-columns:minmax(74px,1fr) minmax(0,1.45fr);gap:10px;align-items:baseline;padding:9px 0;border-bottom:1px solid #edf0f5;font-size:16px;line-height:1.55}
.commerce-specs dt{color:#53627a;overflow-wrap:anywhere}
.commerce-specs dd{margin:0;color:#17233a;overflow-wrap:anywhere}
.commerce-card-price{margin-top:auto;padding:10px 20px 22px;text-align:center}
.commerce-card .price{margin:0 0 6px;font-size:34px;line-height:1.3;font-weight:500;color:#f45124;letter-spacing:-.5px}
.commerce-card .price small,.commerce-card .price span{font-size:16px;font-weight:400;letter-spacing:0}
.commerce-card .price span{color:#53627a}

.commerce-card-actions{display:flex;border-top:1px solid #c8daf5;min-height:48px}
.commerce-buy,.commerce-consult{display:flex;align-items:center;justify-content:center;padding:11px 16px;border:0;background:#fff;color:var(--blue);font:inherit;font-size:16px;transition:color .18s,background .18s}
.commerce-buy{flex:1;background:var(--blue);color:#fff}
.commerce-consult{border-left:1px solid #e1eafa}
.commerce-buy:hover,.commerce-buy:focus-visible{background:#003eae;color:#fff}
.commerce-consult:hover,.commerce-consult:focus-visible{background:var(--blue);color:#fff}
.commerce-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:30px;align-items:start}
.commerce-layout.without-product-rail{grid-template-columns:minmax(0,1fr)}
.product-filter-rail{position:sticky;top:155px;display:flex;flex-direction:column;gap:4px;max-height:calc(100dvh - 180px);overflow-y:auto;padding:12px 0}
.product-filter-rail h3{font-size:18px;margin:0 14px 14px}
.product-filter-link{display:flex;align-items:center;gap:11px;min-height:46px;padding:10px 14px;font-size:16px;border-radius:3px;transition:background .18s,color .18s,transform .18s}
.product-filter-link:hover,.product-filter-link.is-active{color:var(--blue);background:#ebf2ff}
.product-filter-link:hover{transform:translateX(3px)}
.product-filter-link.is-active{font-weight:600}
.product-filter-link.is-active .nav-item-icon{color:var(--blue)}
.commerce-results{min-width:0}
.button-filters{padding:10px 0 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}
.filter-row{display:grid;grid-template-columns:102px minmax(0,1fr);gap:14px;padding:10px 0}
.filter-label{font-size:16px;font-weight:600;line-height:38px;color:#17233a}
.filter-options,.sort-buttons{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.filter-chip,.filter-more{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:6px 11px;border:1px solid transparent;border-radius:3px;font:inherit;font-size:16px;line-height:1.5;color:#53627a;background:transparent;overflow-wrap:anywhere;transition:color .18s,background .18s,transform .18s}
.filter-chip:hover,.filter-more:hover{background:#edf4ff;color:var(--blue);transform:translateY(-2px)}
.filter-chip.is-active{color:var(--blue);background:#eef4ff;border-color:#b8d0f5;font-weight:500}
.filter-more{color:var(--blue);font-size:15px}
.commerce-results-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:24px 0}
.commerce-results-bar p{margin:0;font-size:16px}
.commerce-results-bar strong{color:var(--blue);font-weight:500}
.sort-buttons{gap:4px}
.sort-buttons .filter-chip{font-size:15px;padding:6px 9px}
.filter-reset{font-size:15px;color:var(--blue);padding:6px 8px}
.filter-reset:hover{text-decoration:underline}
.commerce-results .empty{grid-column:1/-1}
.news-button-filters{padding:12px 16px;margin-bottom:28px}
.news-button-filters .filter-row{grid-template-columns:80px minmax(0,1fr);gap:8px}
.news-button-filters .filter-chip{font-size:15px;padding:6px 9px}
.news-layout{padding-top:36px}
@media(max-width:1180px){
  .commerce-layout{grid-template-columns:160px minmax(0,1fr);gap:22px}
  .plan-grid.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .plan-grid.recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-filter-link{padding-inline:10px}
}
@media(max-width:980px){
  .commerce-layout{grid-template-columns:minmax(0,1fr)}
  .product-filter-rail{position:static;flex-direction:row;flex-wrap:wrap;max-height:none;padding:0 0 18px;border-bottom:1px solid var(--line)}
  .product-filter-rail h3{flex-basis:100%;margin:0 0 8px}
  .product-filter-link{border:1px solid #e1e7f0;min-height:40px;padding:7px 10px}
  .product-filter-link .nav-item-icon{width:18px;height:18px;flex-basis:18px}
  footer .footer-top{grid-template-columns:1.5fr 1fr 1fr;gap:24px}
}
@media(max-width:700px){
  .site-header .header-row,footer>.container,.commerce-container{width:calc(100% - 32px)}
  .commerce-section{padding-top:20px}
  .commerce-jumps{margin-bottom:28px}
  .commerce-jumps a{padding:8px 20px;font-size:16px}
  .commerce-heading{align-items:start;flex-direction:column;gap:12px;margin-bottom:22px}
  .commerce-heading h2{font-size:28px}
  .commerce-heading p{font-size:16px}
  .commerce-recommendations{margin-bottom:44px}
  .plan-grid,.plan-grid.catalog-grid,.plan-grid.recommendation-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  .commerce-card-head{padding:20px 20px 8px}
  .commerce-card h3{font-size:22px}
  .commerce-specs>div{grid-template-columns:1fr 1.4fr}
  .filter-row,.news-button-filters .filter-row{grid-template-columns:minmax(0,1fr);gap:4px;padding:10px 0}
  .filter-label{line-height:1.6}
  .filter-options{gap:4px}
  .filter-chip{padding:7px 10px;min-height:38px;font-size:16px}
  .commerce-results-bar{margin:20px 0}
  .sort-buttons .filter-chip{font-size:14px}
  footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}
  footer .footer-top>div:first-child{grid-column:1/-1}
  .news-button-filters{padding:8px 12px}
}
@media(prefers-reduced-motion:reduce){.commerce-card,.commerce-jumps a,.filter-chip,.filter-more,.product-filter-link,.commerce-buy,.commerce-consult{transition:none}}

/* Product recommendation ribbons. */
.plan-card.commerce-card.has-plan-badge{position:relative}
.has-plan-badge .commerce-card-head{padding-top:42px}
.plan-badge{position:absolute;z-index:3;top:14px;right:-38px;width:132px;padding:5px 0;color:#fff;font-size:13px;font-weight:600;line-height:1;text-align:center;letter-spacing:.02em;transform:rotate(45deg);transform-origin:center;box-shadow:0 2px 6px #17325f22;pointer-events:none}
.plan-badge--orange{background:#ff6a00}
.plan-badge--red{background:#e84835}
.plan-badge--blue{background:#0b5ed7}
.plan-badge--teal{background:#0b9d93}
@media(max-width:700px){.has-plan-badge .commerce-card-head{padding-top:42px}.plan-badge{top:14px;right:-38px}}
