body[data-page="product"] { background: #f7f8fa; }
.catalog-family.site-container { width: 100%; max-width: 1957px; padding-left: 4.2%; padding-right: 4.2%; }
.catalog-family { padding-top: 70px; padding-bottom: 70px; scroll-margin-top: 0; }
.catalog-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; padding-left: 22px; position: relative; }
.catalog-heading::before { content: ''; position: absolute; left: 0; top: 10%; bottom: 10%; width: 5px; background: var(--accent); }
.catalog-number { font-size: clamp(43px,3vw,58px); line-height: 1.1; font-weight: 700; color: #6484b2; }
.catalog-heading h2 { font-size: clamp(33px,2.33vw,45px); font-weight: 700; letter-spacing: -.035em; }
.catalog-heading strong { font-weight: 700; }
.catalog-columns { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 28px; align-items: stretch; }
.catalog-software > h3, .catalog-group > h3 { font-size: clamp(19px,1.36vw,26px); line-height: 1.3; font-weight: 400; padding-left: 18px; border-left: 6px solid #ffad24; margin-bottom: 20px; }
.catalog-software { min-width: 0; display: flex; flex-direction: column; }
.catalog-software-panel { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 30px; padding: 26px 24px 28px; background: #fff; border-radius: 20px; }
.catalog-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.catalog-feature { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: clamp(210px,14.2vw,272px); padding: 14px 12px 20px; overflow: hidden; border-radius: 14px; background: rgba(131,153,189,.06); }
.catalog-feature::before { content: ''; position: absolute; z-index: 0; width: 320px; height: 320px; left: 31.67%; top: 43%; background: url('../static/design/42b3a.svg') 0 0 no-repeat; pointer-events: none; }
.catalog-feature--1::before { background-image: url('../static/design/ffcca.svg'); }
.catalog-feature--2::before { background-image: url('../static/design/0a1e3.svg'); }
.catalog-feature > * { position: relative; z-index: 1; }
.catalog-feature h4 { font-size: clamp(14px,.94vw,18px); font-weight: 700; line-height: 1.15; }
.catalog-feature h4::after { content: ''; display: block; width: 23px; height: 2px; margin-top: 16px; background: #ff612c; }
.catalog-feature p { margin-top: 13px; color: #4f5a72; font-size: clamp(13px,.89vw,17px); line-height: 1.2; }
.catalog-feature-logos { margin: auto auto 0; padding-top: 16px; flex: none; }
.catalog-feature-logos--cloud img { display: block; width: 102px; height: 34px; object-fit: contain; }
#storage .catalog-feature-logos--cloud img { width: 104px; height: 35px; }
.catalog-feature-logos--payments { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.catalog-feature-logos--payments img { flex: 0 1 auto; min-width: 0; object-fit: contain; max-width: none; height: auto; }
.catalog-feature-logos--payments img:first-child { width: 73.84px; }
.catalog-feature-logos--payments img:nth-child(2) { width: 40.961px; }
.catalog-feature-logos--payments img:nth-child(3) { width: 40.696px; }
.catalog-feature-logos--payments img:nth-child(4) { width: 22.849px; }
.catalog-feature-logos--payments img:nth-child(5) { width: 17.833px; }
.catalog-software-visuals { display: grid; grid-template-columns: minmax(0,.46fr) minmax(0,.54fr); align-items: center; gap: 12px; margin-top: auto; }
.catalog-platform { position: relative; min-width: 0; }
.catalog-dashboard { width: 100%; }
.catalog-dashboard img { display: block; width: 100%; height: auto; }
.catalog-device-composition { display: block; width: 100%; height: auto; }
.catalog-software-visuals--vending { grid-template-columns: minmax(0,.425fr) minmax(0,.575fr); gap: 0; align-items: start; }
.catalog-integration-diagram { position: relative; aspect-ratio: 468.011/175.382; transform: translateY(-9.6%); }
.catalog-payment-diagram { position: absolute; width: 74.65%; height: 100%; top: 0; left: 0; object-fit: contain; }
.catalog-support-diagram { position: absolute; width: 26.29%; height: 60.14%; top: 25.06%; left: 72.07%; object-fit: contain; }
.catalog-integration-diagram::before, .catalog-integration-diagram::after { content: ''; position: absolute; z-index: 1; top: 9.6%; height: 89.6%; border: 1px solid #8399bd; pointer-events: none; }
.catalog-integration-diagram::before { left: 1.5%; width: 70.45%; }
.catalog-integration-diagram::after { left: 73%; width: 27%; }
.catalog-capability-diagram { width: 100%; height: auto; }
.catalog-channels { color: #10162a; font-size: 12px; text-align: center; margin: 8px 0 0; }
.catalog-channels--sensor { display: grid; grid-template-columns: 27% 65%; }
.catalog-channels--sensor span { justify-self: center; white-space: nowrap; }
#storage .catalog-feature { min-height: clamp(228px,16.1vw,309px); }
#storage .catalog-feature::before { top: 61%; }
.catalog-software-visuals--sensor { grid-template-columns: minmax(0,.44fr) minmax(0,.56fr); margin-top: 0; margin-bottom: 4px; gap: 32px; }
#sensor .catalog-feature { min-height: clamp(185px,10.62vw,204px); border-radius: 6px; }
#sensor .catalog-feature h4 { font-size: clamp(14px,.94vw,18px); }
#sensor .catalog-feature::before { top: 57%; }
#sensor .catalog-features { margin-top: auto; gap: 18px; }
.catalog-hardware, .catalog-group { min-width: 0; display: flex; flex-direction: column; }
.catalog-hardware { gap: 26px; container-type: inline-size; --catalog-art-unit: min(.105374cqw, 1px); }
.catalog-group > .catalog-items { flex: 1; }
.catalog-group:first-child { flex: 1; }
.catalog-items { display: grid; gap: 12px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.catalog-items--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.catalog-items--1 { grid-template-columns: minmax(0,1fr); }
.catalog-product--power-bank .catalog-product-copy { align-self: center; padding-top: 0; }
.catalog-product { position: relative; min-width: 0; min-height: clamp(170px,11.25vw,216px); padding: 16px 12px 20px; display: grid; grid-template-columns: calc(var(--art-width) * var(--catalog-art-unit)) minmax(0,1fr); align-items: center; gap: 10px; background: #fff; border: 1px solid transparent; border-radius: 16px; transition: border-color .2s,box-shadow .2s; }
.catalog-product:hover { border-color: #ffaf80; box-shadow: 0 3px 16px #ff791a1f; }
.catalog-product--text { grid-template-columns: 1fr; }
.catalog-product[data-product-art="counting-layer"] { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.catalog-product[data-product-art="counting-layer"] .catalog-product-image { grid-row: 2; }
.catalog-product[data-product-art="counting-layer"] .catalog-product-copy { grid-row: 1; }
.catalog-product-image { display: block; width: calc(var(--art-width) * var(--catalog-art-unit)); height: calc(var(--art-height) * var(--catalog-art-unit)); max-width: 100%; object-fit: contain; justify-self: center; }
.catalog-product-image--flipped { transform: scaleX(-1); }
.catalog-product-copy { min-width:0; align-self: start; padding-top: 3px; }
.catalog-product h4 { font-size: clamp(14px,1.07vw,20.5px); line-height: 1.2; font-weight: 400; overflow-wrap: break-word; }
.catalog-product p { margin-top: 17px; color: #8399bd; font-size: clamp(11px,.83vw,16px); line-height: 1.22; overflow-wrap: break-word; }
.catalog-product-arrow { position: absolute; right: 14px; bottom: 12px; width: 23px; height: 23px; color: var(--accent); border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 15px; opacity: 0; transition: opacity .2s; }
.catalog-product:focus-visible .catalog-product-arrow { opacity: 1; }
@media(hover:hover) and (pointer:fine) { .catalog-product:hover .catalog-product-arrow { opacity: 1; } }
@media(hover:none), (pointer:coarse) { .catalog-product-arrow { opacity: 1; } }
#vending .catalog-group:nth-child(2) .catalog-product { min-height: clamp(160px,9.17vw,176px); }
#vending .catalog-group:nth-child(3) .catalog-product { min-height: clamp(175px,10.73vw,206px); }
#storage .catalog-group:nth-child(2) { margin-top: -14px; }
#sensor .catalog-items .catalog-product { min-height: clamp(265px,18.44vw,354px); grid-template-columns: 1fr; grid-template-rows: minmax(calc(193 * var(--catalog-art-unit)),1fr) auto; padding: 20px 32px 24px; gap: 14px; }
#sensor .catalog-product-image { justify-self: center; }
#sensor .catalog-product-copy { align-self: stretch; min-height: 106px; }
#sensor .catalog-items .catalog-product h4 { font-size: clamp(17px,1.17vw,22.4px); }
.catalog-cabinet-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.catalog-case-link { color: #d65a10; font-size: 14px; line-height: 1.3; white-space: nowrap; }
.catalog-case-link:hover { text-decoration: underline; text-underline-offset: 4px; }
@media(min-width:1958px) { .catalog-family.site-container { padding-left: 82px; padding-right: 82px; } }
@media(max-width:1599px) and (min-width:1101px) {
 .catalog-software-panel { padding: 22px 18px; gap: 24px; }
 .catalog-features { gap: 14px; }
 .catalog-feature { padding: 13px 10px 18px; }
 .catalog-feature h4::after { margin-top: 12px; }
 .catalog-feature p { margin-top: 11px; }
 .catalog-feature-logos--payments { gap: 6px; }
 .catalog-product { padding-left: 10px; padding-right: 10px; gap: 8px; }
 .catalog-product p { margin-top: 12px; }
}
@media(max-width:1100px) {
 .catalog-family { padding-top: 48px; padding-bottom: 48px; }
 .catalog-columns { gap: 30px; grid-template-columns: 1fr; }
 .catalog-software-panel { gap: 26px; }
 .catalog-features { gap: 16px; }
 .catalog-feature, #storage .catalog-feature { min-height: 225px; }
 .catalog-feature h4, #sensor .catalog-feature h4 { font-size: 16px; }
 .catalog-feature p { font-size: 15px; line-height: 1.3; }
 .catalog-software-visuals { max-width: 700px; width: 100%; margin-left: auto; margin-right: auto; }
 .catalog-software-visuals--sensor { margin-bottom: 0; }
 .catalog-product h4 { font-size: 17px; }
 .catalog-product p { font-size: 14px; line-height: 1.35; }
 .catalog-product { min-height: 210px; }
 #sensor .catalog-feature { min-height: 210px; }
 #sensor .catalog-product-copy { min-height: 120px; }
 #sensor .catalog-items .catalog-product { min-height: 290px; }
 #sensor .catalog-items .catalog-product h4 { font-size: 18px; }
}
@media(max-width:768px) { .catalog-family.site-container { padding-left: 22px; padding-right: 22px; } }
@media(max-width:600px) {
 .catalog-family { padding-top: 36px; padding-bottom: 38px; scroll-margin-top: 20px; }
 .catalog-heading { gap: 12px; padding-left: 14px; margin-bottom: 24px; }
 .catalog-heading::before { width: 4px; }
 .catalog-number { font-size: 33px; }
 .catalog-heading h2 { font-size: 27px; }
 .catalog-software > h3, .catalog-group > h3 { padding-left: 12px; border-left-width: 4px; font-size: 19px; }
 .catalog-software-panel { padding: 18px 14px; border-radius: 16px; gap: 22px; }
 .catalog-features { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 .catalog-feature, #storage .catalog-feature, #sensor .catalog-feature { min-height: 244px; padding: 14px 10px 18px; }
 .catalog-feature h4, #sensor .catalog-feature h4 { font-size: 14px; }
 .catalog-feature p { font-size: 13px; line-height: 1.35; }
 .catalog-feature-logos--payments { flex-wrap: wrap; gap: 6px; padding-top: 12px; }
 .catalog-feature-logos--payments img { flex-shrink: 0; max-width: calc(50% - 4px); }
 .catalog-software-visuals, .catalog-software-visuals--sensor { gap: 16px; }
 .catalog-software-visuals--vending { gap: 0; }
 .catalog-channels { font-size: 10px; line-height: 1.35; }
 .catalog-items, .catalog-items--2 { grid-template-columns: 1fr; }
 .catalog-hardware { --catalog-art-unit: min(.72px, .2vw); }
 .catalog-product { min-height: 190px; grid-template-columns: calc(var(--art-width) * var(--catalog-art-unit)) minmax(0,1fr); gap: 16px; padding: 20px 18px 32px; }
 .catalog-product h4 { font-size: 17px; line-height: 1.3; }
 .catalog-product p { font-size: 14px; margin-top: 14px; }
 #sensor .catalog-items .catalog-product { min-height: 190px; grid-template-columns: calc(var(--art-width) * var(--catalog-art-unit)) minmax(0,1fr); grid-template-rows: 1fr; gap: 16px; padding: 20px 18px 32px; }
 #sensor .catalog-items .catalog-product h4 { font-size: 17px; }
 .catalog-product--text { grid-template-columns: 1fr; }
}

/* Normalize only empty image margins so cabinet art and copy share a consistent gap. */
.catalog-items--cabinets > .catalog-product {
  grid-template-columns: calc(var(--art-width) * var(--catalog-art-unit) * var(--art-visible-ratio)) minmax(0,1fr);
  gap: clamp(10px,.7154vw,14px);
}
.catalog-product-art {
  display: block;
  width: calc(var(--art-width) * var(--catalog-art-unit) * var(--art-visible-ratio));
  height: calc(var(--art-height) * var(--catalog-art-unit));
  overflow: hidden;
}
.catalog-product-art .catalog-product-image {
  position: relative;
  left: calc(-1 * var(--art-width) * var(--catalog-art-unit) * var(--art-crop-start));
  max-width: none;
  justify-self: start;
}
.catalog-items--cabinets .catalog-product h4, .catalog-items--cabinets .catalog-product p { text-wrap:wrap; overflow-wrap:normal; }
.catalog-spec-row { display:block; }
.catalog-spec-group { display:inline-block; white-space:nowrap; }
.catalog-product-model { display:block; white-space:nowrap; }
@media(max-width:600px) {
 .catalog-items--cabinets > .catalog-product { gap:16px; }
 .catalog-items--cabinets .catalog-product h4 { min-height:0; font-size:17px; }
 .catalog-items--cabinets .catalog-product p { font-size:14px; }
}

/* Match the latest image slots without trimming the source image margins. */
#vending .catalog-group:nth-child(3) .catalog-product {
  padding: clamp(20px,1.56vw,30px) clamp(14px,1.25vw,24px) 20px;
  gap: clamp(8px,.73vw,14px);
}
.catalog-product[data-product-art="gravity-tray"] {
  grid-template-columns: calc(116 * var(--catalog-art-unit)) minmax(0,1fr);
  gap: calc(10 * var(--catalog-art-unit));
}
.catalog-product[data-product-art="gravity-tray"] .catalog-product-image {
  position: relative;
  left: calc(-13 * var(--catalog-art-unit));
  max-width: none;
  justify-self: start;
}
@media(max-width:600px) {
  #vending .catalog-group:nth-child(3) .catalog-product { padding:20px 18px 32px; gap:16px; }
  #sensor .catalog-product-copy { min-height:0; }
  #sensor .catalog-product h4, #storage .catalog-group:first-child .catalog-product h4 { min-height:0; }
  .catalog-product[data-product-art="gravity-tray"] { gap:10px; }
  .catalog-product[data-product-art="gravity-tray"] .catalog-product-image { left:0; }
}

/* Figma cards place the copy at different heights for each product. Keep the
   artwork and copy in flow so longer text can grow safely at narrow widths. */
@media(min-width:601px) {
 .catalog-hardware { --catalog-layout-unit:calc(var(--catalog-art-unit) * 1.04484); }
 .catalog-group:first-child { flex:none; }
 .catalog-product,
 #vending .catalog-group:nth-child(2) .catalog-product,
 #vending .catalog-group:nth-child(3) .catalog-product {
  min-height:calc(var(--card-height) * var(--catalog-layout-unit));
  padding-top:0;
  padding-bottom:20px;
  align-items:start;
 }
 .catalog-product > .catalog-product-image,
 .catalog-product > .catalog-product-art { margin-top:calc(var(--image-top) * var(--catalog-layout-unit)); }
 .catalog-product-copy,
 .catalog-product--power-bank .catalog-product-copy {
  display:grid;
  grid-template-rows:minmax(min-content,calc(var(--spec-offset) * var(--catalog-layout-unit))) auto;
  align-content:start;
  align-self:start;
  padding-top:calc(var(--copy-top) * var(--catalog-layout-unit));
 }
 .catalog-product h4 { min-height:0; line-height:1.2; }
 .catalog-product p { margin-top:0; }
 .catalog-product[data-product-art="retrofit-kit"] {
  grid-template-rows:minmax(min-content,calc(64 * var(--catalog-layout-unit))) auto;
  row-gap:0;
 }
 .catalog-product[data-product-art="retrofit-kit"] .catalog-product-copy { display:contents; }
 .catalog-product[data-product-art="retrofit-kit"] h4 {
  grid-column:1/-1;
  grid-row:1;
  margin-top:calc(var(--copy-top) * var(--catalog-layout-unit));
 }
 .catalog-product[data-product-art="retrofit-kit"] .catalog-product-art {
  grid-row:2;
  margin-top:calc((var(--image-top) - 64) * var(--catalog-layout-unit));
 }
 .catalog-product[data-product-art="retrofit-kit"] p { grid-row:2; grid-column:2; }
 .catalog-product[data-product-art="counting-layer"] {
  padding-top:calc(var(--copy-top) * var(--catalog-layout-unit));
  row-gap:8px;
 }
 .catalog-product[data-product-art="counting-layer"] .catalog-product-copy { padding-top:0; }
 .catalog-product[data-product-art="counting-layer"] .catalog-product-image { margin-top:0; align-self:start; }
 #sensor .catalog-items .catalog-product {
  min-height:calc(var(--card-height) * var(--catalog-layout-unit));
  grid-template-rows:calc(var(--copy-top) * var(--catalog-layout-unit)) auto;
  padding-top:0;
  gap:0;
 }
 #sensor .catalog-product-copy { padding-top:0; min-height:0; align-self:start; }
 #sensor .catalog-group:first-child { flex:1; }
}
@media(min-width:601px) and (max-width:768px) {
 .catalog-items:not(.catalog-items--1) { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Mobile cards share one art column and a text column that can grow with copy.
   Keep artwork proportions; desktop-specific offsets stop at this range. */
@media(max-width:768px) {
 .catalog-hardware { --catalog-art-unit:min(.72px,.2vw); --catalog-mobile-art-width:clamp(88px,27vw,116px); gap:28px; }
 .catalog-items { gap:16px; }
 #storage .catalog-group:nth-child(2) { margin-top:-12px; }
 .catalog-product,
 .catalog-items--cabinets > .catalog-product,
 .catalog-product[data-product-art="gravity-tray"],
 .catalog-product[data-product-art="counting-layer"],
 #vending .catalog-group:nth-child(2) .catalog-product,
 #vending .catalog-group:nth-child(3) .catalog-product,
 #sensor .catalog-items .catalog-product {
  min-height:210px;
  padding:20px 20px 32px;
  grid-template-columns:var(--catalog-mobile-art-width) minmax(0,1fr);
  grid-template-rows:auto;
  align-items:center;
  gap:16px;
 }
 .catalog-product > .catalog-product-image,
 .catalog-product > .catalog-product-art,
 .catalog-product[data-product-art="retrofit-kit"] .catalog-product-art,
 .catalog-product[data-product-art="counting-layer"] .catalog-product-image,
 #sensor .catalog-product-image {
  grid-column:1;
  grid-row:1;
  margin-top:0;
  align-self:center;
  justify-self:center;
 }
 .catalog-product > .catalog-product-image { height:auto; max-width:100%; }
 .catalog-product[data-product-art="rfid-counter"] .catalog-product-image { justify-self:start; }
 .catalog-product[data-product-art="gravity-tray"] .catalog-product-image { left:0; max-width:100%; justify-self:center; }
 .catalog-product-copy,
 .catalog-product--power-bank .catalog-product-copy,
 .catalog-product[data-product-art="retrofit-kit"] .catalog-product-copy,
 .catalog-product[data-product-art="counting-layer"] .catalog-product-copy,
 #sensor .catalog-product-copy {
  display:block;
  grid-column:2;
  grid-row:1;
  min-height:0;
  padding-top:0;
  align-self:center;
 }
 .catalog-product h4,
 .catalog-items--cabinets .catalog-product h4,
 #sensor .catalog-items .catalog-product h4 {
  min-height:0;
  font-size:17px;
  line-height:1.3;
  overflow-wrap:normal;
 }
 .catalog-product[data-product-art="retrofit-kit"] h4 { margin-top:0; }
 .catalog-product p,
 .catalog-items--cabinets .catalog-product p { margin-top:14px; font-size:14px; line-height:1.35; }
}
@media(min-width:601px) and (max-width:768px) {
 .catalog-hardware { --catalog-mobile-art-width:clamp(88px,15cqw,110px); }
}
