/* API-fed commercial plan and add-on showcase */
.commercial-catalogue-section{background:linear-gradient(165deg,#f8fbf5 0%,#eff6ef 45%,#fafcf7 100%);padding:79px 0 80px;scroll-margin-top:24px}
.commercial-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:21px}
.commercial-section-heading h2{font-size:clamp(35px,4.4vw,54px);letter-spacing:-.063em;line-height:1.08;color:#07392b;margin:14px 0 20px}
.commercial-section-heading h2 em{color:#a77a1a;font-style:normal}
.commercial-section-heading p{font-size:15px;line-height:1.7;max-width:780px;color:#617568;margin:0}
.commercial-section-seal{flex:none;border:1px solid #c5dbca;background:#fff7eb;border-radius:14px;color:#2d684d;padding:15px;font-size:11px;font-weight:830;letter-spacing:.12em;display:flex;align-items:center;gap:10px}
.commercial-section-seal span{font-size:25px;color:#b28831}
.commercial-catalogue-notice{display:flex;gap:14px;border:1px solid #dfebdf;border-radius:15px;background:#fff;padding:14px 19px;margin-bottom:27px;box-shadow:0 8px 30px #1647310a}
.commercial-notice-symbol{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:50%;background:#e1f1e5;color:#196344;font-size:14px;font-weight:850}
.commercial-catalogue-notice p{font-size:13px;line-height:1.65;color:#546c5c;margin:0}
.commercial-catalogue-notice strong{color:#0e5039}
.commercial-catalogue-message{min-height:115px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:14px;color:#4d705c;background:#ffffffc9;border:1px solid #dae7db;border-radius:15px;padding:25px;text-align:center}
.commercial-catalogue-message[hidden],.commercial-groups[hidden],.commercial-empty[hidden]{display:none!important}
.commercial-spinner{width:18px;height:18px;border-radius:50%;border:2px solid #c5decb;border-top-color:#0e754f;animation:commercial-spin .8s linear infinite}
@keyframes commercial-spin{to{transform:rotate(360deg)}}
.commercial-catalogue-error{flex-wrap:wrap;color:#884c32}
.commercial-catalogue-error button{padding:10px 16px;cursor:pointer;border:1px solid #aac9b6;border-radius:9px;background:#fff;color:#14543b;font-weight:800}
.commercial-catalogue-error button:hover{background:#eff8f0}
.commercial-groups{display:grid;gap:34px}
.commercial-group-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px}
.commercial-group-index{font-size:11px;font-weight:900;color:#21825a;letter-spacing:.16em}
.commercial-group-heading h3{font-size:clamp(27px,3vw,37px);color:#163e2d;letter-spacing:-.048em;line-height:1.12;margin:9px 0 9px}
.commercial-group-heading p{font-size:13px;color:#6b806f;margin:0;max-width:780px;line-height:1.6}
.commercial-count{border:1px solid #c5ddcc;border-radius:99px;color:#2d6e4e;background:#fff;padding:8px 13px;white-space:nowrap;font-size:12px;font-weight:750}
/* Compact API-powered four-column matrices. One row per source record.
   Eight 70px rows and one header fit before independent vertical scrolling.
   A single or short catalogue naturally stays as short as its actual rows. */
.commercial-table-scroller{
  --commercial-row-height:70px;
  --commercial-head-height:44px;
  --commercial-visible-rows:8;
  max-height:calc(var(--commercial-head-height) + var(--commercial-visible-rows) * var(--commercial-row-height));
  overflow-x:auto;overflow-y:auto;overscroll-behavior-x:contain;overscroll-behavior-y:auto;
  border:1px solid #d8e6da;border-radius:14px;background:#fff;
  box-shadow:0 9px 27px #173d290c;
  scrollbar-width:thin;scrollbar-color:#a5c4ad transparent;
}
.commercial-table-scroller[hidden]{display:none!important}
.commercial-table-scroller:focus-visible{outline:3px solid #bc9748;outline-offset:3px}
.commercial-matrix{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:left}
.commercial-col-name{width:22%}
.commercial-col-description{width:46%}
.commercial-col-code{width:16%}
.commercial-col-action{width:16%}
.commercial-matrix thead th{
  position:sticky;top:0;z-index:2;box-sizing:border-box;height:var(--commercial-head-height);
  padding:11px 15px;background:#DCECE2;color:#174A38;
  border-bottom:1px solid #C6DECF;font-size:11px;font-weight:850;letter-spacing:.045em;
}
.commercial-matrix tbody tr{height:var(--commercial-row-height);background:#fff}
.commercial-addon-matrix tbody tr{background:#fffdfa}
.commercial-matrix tbody tr:nth-child(even){background:#f7faf7}
.commercial-addon-matrix tbody tr:nth-child(even){background:#fafbf6}
.commercial-matrix tbody tr:hover{background:#ecf6ee}
.commercial-matrix tbody tr:focus-within{background:#edf7ed}
.commercial-matrix tbody tr:not(:last-child) td{border-bottom:1px solid #e3ece4}
.commercial-cell{
  box-sizing:border-box;padding:10px 15px;vertical-align:middle;
  min-width:0;overflow-wrap:anywhere;
}
.commercial-cell--name{white-space:normal}
.commercial-card-serial{font-size:10px;font-weight:900;color:#b08830;font-variant-numeric:tabular-nums;margin-right:10px}
.commercial-card-name{font-size:14px;line-height:1.4;letter-spacing:-.015em;color:#103d2d;font-weight:790}
.commercial-card-description{
  font-size:12px;line-height:1.48;color:#66796a;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;overflow-wrap:anywhere;
}
.commercial-card-code{font:600 11px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;color:#5c7c67;overflow-wrap:anywhere}
.commercial-card-details{display:block;font-size:10px;line-height:1.4;color:#986d24;margin-top:3px}
.commercial-cell--action{text-align:right}
.commercial-buy{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-width:93px;box-sizing:border-box;border-radius:8px;padding:10px 12px;
  background:#0e6948;color:#fff!important;font-size:12px;font-weight:830;
  text-decoration:none!important;white-space:nowrap;
}
.commercial-buy:hover,.commercial-buy:focus-visible{background:#075138;box-shadow:0 0 0 3px #b4dcc4}
.commercial-action-arrow{font-size:13px}
.commercial-scroll-hint{font-size:11px;line-height:1.55;color:#507c5e;margin:8px 0 0}
.commercial-scroll-hint[hidden]{display:none!important}
.commercial-empty{border:1px dashed #bad2c1;border-radius:14px;background:#fff;padding:29px;font-size:14px;color:#5b715f}
.commercial-empty a{font-weight:800;color:#156342;text-decoration:underline}
.commercial-footnote{font-size:11px;color:#718777;line-height:1.7;margin:19px 0 0}
.trade-catalogue-link{display:inline-flex;align-items:center;gap:12px;color:#116447;font-size:14px;font-weight:850;margin-top:19px;padding-bottom:5px;border-bottom:1px solid #91baa0}
.trade-catalogue-link:hover{color:#aa7b1b}
@media(max-width:850px){
  .commercial-catalogue-section{padding:75px 0}
  .commercial-section-seal{display:none}
  .commercial-col-name{width:26%}
  .commercial-col-description{width:39%}
  .commercial-col-code{width:19%}
  .commercial-col-action{width:16%}
  .commercial-matrix thead th,.commercial-cell{padding-left:11px;padding-right:11px}
}
@media(max-width:600px){
  .commercial-catalogue-section{padding:61px 0}
  .commercial-section-heading h2{font-size:clamp(34px,8.4vw,46px)}
  .commercial-section-heading p{font-size:13px}
  .commercial-catalogue-notice{padding:15px;gap:12px}
  .commercial-catalogue-notice p{font-size:12px}
  .commercial-group-heading{flex-direction:column;align-items:start;gap:11px}
  .commercial-group-heading h3{font-size:28px}
  .commercial-groups{gap:39px}
  /* On a phone each table record becomes a compact, two-line matrix entry.
     Name and Buy Now remain visible without sideways scrolling. */
  .commercial-table-scroller{
    --commercial-row-height:94px;--commercial-head-height:0px;
    max-height:min(76dvh,calc(var(--commercial-visible-rows) * var(--commercial-row-height)));
    overflow-x:hidden;overscroll-behavior-y:auto;
  }
  .commercial-matrix,.commercial-matrix tbody{display:block;width:100%}
  .commercial-matrix thead,.commercial-matrix colgroup{display:none}
  .commercial-matrix tbody tr{
    display:grid;grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"name action" "description description" "code code";
    gap:3px 12px;min-height:var(--commercial-row-height);height:auto;
    align-items:center;padding:10px 13px;
  }
  .commercial-cell{display:block;border:0!important;padding:0!important}
  .commercial-cell--name{grid-area:name;min-width:0}
  .commercial-cell--description{grid-area:description}
  .commercial-cell--code{grid-area:code}
  .commercial-cell--action{grid-area:action;align-self:center}
  .commercial-card-name{font-size:13px}
  .commercial-card-serial{font-size:10px;margin-right:6px}
  .commercial-card-description{font-size:11px;line-height:1.4;-webkit-line-clamp:2}
  .commercial-card-code{font-size:10px}
  .commercial-card-details{font-size:9px}
  .commercial-buy{min-width:85px;font-size:11px;padding:9px 10px}
}
@media(prefers-reduced-motion:reduce){.commercial-spinner{animation:none}}

/* Oct 2026: compact hover/focus catalogue instead of two long homepage tables.
   Nested API-fed matrices remain intact, scrollable, and keyboard reachable. */
.commercial-catalogue-section{position:relative;z-index:8;padding:58px 0 54px}
.commercial-section-heading{margin-bottom:17px}
.commercial-section-heading h2{font-size:clamp(32px,4vw,48px);margin:12px 0 14px}
.commercial-catalogue-notice{margin-bottom:18px}
.commercial-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.commercial-hover-card{position:relative;min-width:0;border:1px solid #d1e6d8;border-radius:17px;background:#fff;box-shadow:0 11px 29px #0d46300c}
.commercial-hover-trigger{list-style:none;display:flex;align-items:center;gap:15px;cursor:pointer;min-height:116px;padding:21px 20px;outline-offset:3px}
.commercial-hover-trigger::-webkit-details-marker{display:none}
.commercial-hover-trigger::marker{content:""}
.commercial-hover-trigger:focus-visible{outline:3px solid #bd9d50;border-radius:16px}
.commercial-hover-card:hover,.commercial-hover-card[open]{border-color:#91bba2;box-shadow:0 15px 34px #0d46301e}
.commercial-hover-icon{display:grid;place-items:center;flex:none;width:54px;height:54px;border-radius:15px;background:#e1f1e5;color:#0d6546;font-size:26px}
.commercial-hover-icon--addon{background:#fcf2db;color:#976d1b}
.commercial-hover-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}
.commercial-hover-copy strong{font-size:20px;letter-spacing:-.025em;color:#123c2d}
.commercial-hover-copy small{font-size:12px;line-height:1.5;color:#657b6c}
.commercial-hover-count{font-size:11px;white-space:nowrap;color:#1e6847;font-weight:780}
.commercial-hover-arrow{font-size:23px;line-height:1;color:#246c4b;transition:transform .15s ease}
.commercial-hover-card[open] .commercial-hover-arrow{transform:rotate(45deg)}
.commercial-hover-panel{position:absolute;top:100%;left:0;z-index:16;box-sizing:border-box;
  width:min(1040px,calc(100vw - 54px));max-height:min(80dvh,830px);overflow-y:auto;overscroll-behavior:contain;
  padding:22px;border:1px solid #c7dfce;border-radius:17px;background:#fffffff7;
  box-shadow:0 25px 80px #0c3d2b38;backdrop-filter:blur(10px)}
.commercial-hover-card:nth-child(2) .commercial-hover-panel{left:auto;right:0}
.commercial-hover-panel .commercial-group-heading{margin-bottom:16px}
.commercial-hover-panel .commercial-group-heading h3{font-size:25px;margin:0 0 7px}
.commercial-hover-panel .commercial-group-heading p{font-size:12px}
.commercial-footnote{margin:12px 0 0}
@media(max-width:850px){
  .commercial-hover-trigger{min-height:103px}
  .commercial-hover-count{font-size:10px}
  .commercial-hover-panel{width:min(740px,calc(100vw - 50px))}
}
@media(max-width:700px){
  .commercial-catalogue-section{padding:49px 0}
  .commercial-groups{grid-template-columns:1fr;gap:13px}
  .commercial-hover-trigger{padding:17px 15px;gap:12px;min-height:95px}
  .commercial-hover-icon{width:44px;height:44px;font-size:22px}
  .commercial-hover-copy strong{font-size:18px}
  .commercial-hover-copy small{font-size:11px}
  .commercial-hover-count{display:none}
  .commercial-hover-panel,.commercial-hover-card:nth-child(2) .commercial-hover-panel{
    position:static;width:100%;max-height:none;overflow:visible;padding:13px;
    border:0;border-top:1px solid #e1eee4;border-radius:0 0 16px 16px;
    box-shadow:none;backdrop-filter:none}
  .commercial-hover-panel .commercial-group-heading h3{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.commercial-hover-arrow{transition:none}}
