.productcard .product-brand-corner{position:absolute;z-index:2;top:13px;right:13px;display:flex;align-items:center;justify-content:center;min-width:42px;max-width:105px;height:31px;color:#737983;font-size:7px;letter-spacing:.5px;line-height:1.15;text-align:center}.productcard .product-brand-corner .product-brand-logo{display:block;width:auto;max-width:82px;height:20px;object-fit:contain;object-position:center}.productcard .product-status-slot{display:flex;align-items:center;min-height:25px}.productcard .product-status-tag{display:inline-flex;padding:4px 9px;border-radius:3px;background:#d71f27;color:#fff;font-size:9px;font-weight:700}.productcard .product-status-tag.new{background:#f29313}.catalog-brand-groups{display:grid;gap:42px}.catalog-brand-section{padding:25px;border:1px solid #e4e6ea;border-radius:10px;background:#fff}.catalog-brand-section>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:18px;margin-bottom:22px;border-bottom:2px solid #d71f27}.catalog-brand-section>header>div{display:flex;align-items:center;gap:13px}.catalog-brand-section>header img{width:auto;max-width:130px;height:34px;object-fit:contain}.catalog-brand-section>header h2{margin:0;font-size:25px}.catalog-brand-section>header span{padding:3px 9px;border-radius:20px;background:#f2f3f5;color:#7b818a;font-size:9px}.catalog-brand-section>header>a{color:#c8252c;font-size:11px}.catalog-brand-section .productcard{border-color:#e5e7ea}@media(max-width:700px){.productcard .product-brand-corner{top:10px;right:10px;max-width:82px;height:27px}.productcard .product-brand-corner .product-brand-logo{max-width:65px;height:17px}.productcard .product-status-slot{min-height:22px}.catalog-brand-groups{gap:25px}.catalog-brand-section{padding:15px}.catalog-brand-section>header{align-items:flex-start}.catalog-brand-section>header>div{align-items:flex-start;flex-direction:column;gap:6px}.catalog-brand-section>header img{max-width:105px;height:27px}.catalog-brand-section>header h2{font-size:20px}.catalog-brand-section>header>a{white-space:nowrap}}

.productcard .productbody .product-model-row{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 12px}.productcard .product-model{display:inline-flex;align-items:baseline;gap:6px;min-width:0;color:#22262c;font-size:13px;overflow-wrap:anywhere}.productcard .product-model-label{font-size:11px;font-weight:400;color:#70747d}.productcard .product-model strong{font-weight:700}.productcard .product-model-row .stock{float:none;margin-left:auto}

.productcard .productbottom{gap:10px}.productcard .product-card-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.productcard .product-card-actions>a,.productcard .product-card-actions .compare-select{display:inline-flex;align-items:center;justify-content:center;width:36px;height:34px;padding:0;margin:0;border-radius:4px}.productcard .product-card-actions .compare-select{border:1px solid #dfe5e8}.productcard .product-card-actions .compare-select svg{width:18px;height:18px}.productcard .product-card-actions .compare-select[aria-pressed=true]{border-color:#137b82;background:#eaf5f5;color:#09676f}

.product-detail-label{display:none}

/* Catalog cards match the compact homepage cards. */
.catalog-page .productcard{display:flex;flex-direction:column;border:1px solid #e7e9ed;border-radius:16px;box-shadow:0 4px 16px #18233305;transition:transform .2s,box-shadow .2s,border-color .2s}
.catalog-page .productcard:hover{transform:translateY(-4px);border-color:#d3d7dd;box-shadow:0 14px 32px #18233312}
.catalog-page .productimage{height:230px;padding:57px 22px 22px;background:#fff;flex-shrink:0}
.catalog-page .productimage .tag{top:16px;left:16px;background:#f0f2f5;color:#656c77;border-radius:6px;padding:5px 8px;font-size:9px;max-width:52%;white-space:normal}
.catalog-page .product-brand-corner{top:16px;right:16px}
.catalog-page .product-main-image{transition:transform .25s}
.catalog-page .productcard:hover .product-main-image{transform:scale(1.045)}
.catalog-page .productbody{display:flex;flex-direction:column;flex:1;padding:20px;border-top:1px solid #f0f1f4}
.catalog-page .product-status-slot{min-height:23px;margin-bottom:6px}
.catalog-page .product-status-tag{background:#fff0f1;color:#c7202b;font-size:10px;border-radius:5px;padding:4px 8px}
.catalog-page .product-status-tag.new{background:#fff3df;color:#995b00}
.catalog-page .productbody h3{font-size:23px;line-height:1.3;letter-spacing:-.4px;margin:0 0 12px;overflow-wrap:anywhere}
.catalog-page .productbody .product-model-row{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin:0 0 20px}
.catalog-page .product-model-row .stock{margin-left:0;font-size:10px;color:#427762}
.catalog-page .product-model-row .stock.muted{color:#7a828d}
.catalog-page .productbottom{margin-top:auto;padding-top:16px;border-top:1px solid #edf0f3;display:flex;flex-wrap:wrap;align-items:center;gap:13px}
.catalog-page .productbottom>strong{font-size:14px;color:#252c36}
.catalog-page .product-card-actions{width:100%;gap:9px}
.catalog-page .product-card-actions>a{order:-1;flex:1;width:auto;height:39px;border:1px solid #e5e8ed;background:#f7f8fa;color:#343b45;border-radius:7px;gap:12px;font-size:11px;font-weight:600;transition:background .2s,color .2s}
.catalog-page .product-detail-label{display:inline}
.catalog-page .product-card-actions>a:hover{background:var(--red);border-color:var(--red);color:#fff}
.catalog-page .product-card-actions .compare-select{width:39px;height:39px;border-radius:7px}
.catalog-page .productimage{height:185px;padding:48px 20px 14px}
.catalog-page .productbody{padding:15px 17px}
.catalog-page .product-status-slot{min-height:20px;margin-bottom:4px}
.catalog-page .product-status-tag{padding:3px 7px;font-size:9px}
.catalog-page .productbody h3{font-size:21px;margin-bottom:8px}
.catalog-page .productbody .product-model-row{gap:5px;margin-bottom:12px}
.catalog-page .productbottom{padding-top:12px;gap:8px;flex-wrap:wrap}
.catalog-page .productbottom>strong{font-size:12px}
.catalog-page .product-card-actions{width:auto;margin-left:auto;gap:6px}
.catalog-page .product-card-actions>a{flex:none;height:33px;padding:0 9px;gap:6px;font-size:10px}
.catalog-page .product-card-actions .compare-select{width:31px;height:33px}
.catalog-page .productcard{min-width:0}
.catalog-page .productcard a:focus-visible,.catalog-page .productcard button:focus-visible{outline:2px solid var(--red);outline-offset:3px}
@media(max-width:760px){.catalog-page .productimage{height:165px;padding:46px 14px 12px}.catalog-page .productbody{padding:13px}.catalog-page .productbody h3{font-size:19px}.catalog-page .productbottom{gap:7px}}
@media(prefers-reduced-motion:reduce){.catalog-page .productcard,.catalog-page .product-main-image,.catalog-page .product-card-actions>a{transition:none}.catalog-page .productcard:hover,.catalog-page .productcard:hover .product-main-image{transform:none}}

/* Fit the machine itself inside the card, including uploads with large white borders. */
.productcard .product-image-frame{display:block;position:relative;width:100%;height:100%;overflow:hidden}
.productcard .product-image-frame .product-main-image{display:block;width:100%;height:100%;object-fit:contain;transform-origin:center;transition:none}
.productcard:hover .product-image-frame .product-main-image{transform:none}

/* Category badges share the primary red across homepage and catalog cards. */
.storefront .productcard .productimage>.tag{display:inline-flex;align-items:center;max-width:52%;padding:6px 10px;border:1px solid #ffffff26;border-radius:8px;background:var(--red,#d71f27);color:#fff;font-size:10px;font-weight:600;line-height:1.5;white-space:normal;overflow-wrap:anywhere;box-shadow:0 3px 8px #d71f271a}
@media(max-width:760px){.storefront .productcard .productimage>.tag{padding:5px 8px;border-radius:7px;font-size:9px}}

/* Shared card refresh for homepage and catalog. */
.storefront .productcard{overflow:hidden;min-width:0;display:flex;flex-direction:column;border:1px solid #e3e7ec;border-radius:18px;background:#fff;box-shadow:0 4px 18px #18233306;transition:box-shadow .2s,border-color .2s,transform .2s}
.storefront .productcard:hover{border-color:#d8a7aa;box-shadow:0 16px 36px #18233312;transform:translateY(-3px)}
.storefront .productcard .productimage{background:#fff;height:200px;padding:52px 20px 18px}
.storefront .productcard .productbody{display:flex;flex-direction:column;flex:1;padding:18px;border-top:1px solid #eef0f3}
.storefront .productcard .productbody h3{font-size:21px;line-height:1.35;letter-spacing:-.3px;margin-bottom:8px;overflow-wrap:anywhere}
.storefront .productcard .product-status-tag{border-radius:6px;padding:4px 8px}
.storefront .productcard .product-model-row{flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:12px}
.storefront .productcard .product-model-row .stock{margin-left:0;font-size:11px}
.storefront .productcard .product-card-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px;margin:0 0 8px;padding:0}
.storefront .productcard .product-status-slot{min-height:0;margin:0}
.storefront .productcard .product-status-slot:empty{display:none}
.storefront .productcard .product-views{margin-left:auto;white-space:nowrap}
.product-views{display:inline-flex;align-items:center;gap:6px;color:#687382;font-size:11px;line-height:1.5;font-variant-numeric:tabular-nums}
.product-views svg{width:17px;height:17px;flex-shrink:0}.product-views strong{color:#404b59;font-weight:600}
.storefront .productcard .productbottom{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:auto;padding-top:12px;border-top:1px solid #edf0f3}
.storefront .productcard .productbottom>strong{font-size:15px;color:#252c36}
.storefront .productcard .product-card-actions{width:100%;margin-left:0;gap:8px}
.storefront .productcard .product-card-actions>a{order:-1;display:inline-flex;flex:1;width:auto;min-width:0;min-height:42px;height:auto;padding:10px 12px;gap:8px;border:1px solid var(--red);border-radius:9px;background:var(--red);color:#fff;font-size:12px;font-weight:600;transition:filter .2s}
.storefront .productcard .product-card-actions>a:hover{filter:brightness(.9)}
.storefront .productcard .product-detail-label{display:inline}
.storefront .productcard .product-card-actions .compare-select{width:42px;height:42px;border-radius:9px;flex-shrink:0}
.storefront .productcard a:focus-visible,.storefront .productcard button:focus-visible{outline:2px solid var(--red);outline-offset:3px}
@media(max-width:760px){.storefront .productcard .productimage{height:175px;padding:46px 14px 14px}.storefront .productcard .productbody{padding:14px}.storefront .productcard .productbody h3{font-size:18px}.storefront .productcard .productbottom>strong{font-size:13px}.storefront .productcard .product-card-actions>a{padding:9px 7px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.storefront .productcard,.storefront .productcard .product-card-actions>a{transition:none}.storefront .productcard:hover{transform:none}}

/* Keep product information compact, with status on the image. */
.storefront .productcard .productbody{padding:16px;gap:0}
.storefront .productcard .product-card-heading{display:flex;align-items:flex-start;gap:8px;margin-bottom:8px}
.storefront .productcard .product-card-heading>a{flex:1;min-width:0}
.storefront .productcard .product-card-heading h3{margin:0;font-size:19px;line-height:1.4;letter-spacing:-.2px}
.storefront .productcard .productimage>.product-status-tag{position:absolute;left:16px;bottom:12px;z-index:2;padding:3px 7px;font-size:9px;line-height:1.6;background:#fff0f1;color:#c7202b}
.storefront .productcard .productimage>.product-status-tag.new{background:#fff3df;color:#995b00}
.storefront .productcard .productimage:has(>.product-status-tag){padding-bottom:40px}
.storefront .productcard .productbody .product-model-row{margin:0 0 14px;gap:5px}
.storefront .productcard .productbody>.product-views{align-self:flex-start;margin:0 0 12px;font-size:10px}
.storefront .productcard .productbottom{padding-top:10px;gap:8px}
.storefront .productcard .product-card-actions>a{min-height:40px;padding:8px 10px}
.storefront .productcard .product-card-actions .compare-select{width:40px;height:40px}
@media(max-width:760px){
 .storefront .productcard .productbody{padding:13px}
 .storefront .productcard .product-card-heading{flex-wrap:wrap;gap:5px}
 .storefront .productcard .product-card-heading>a{flex-basis:100%}
 .storefront .productcard .product-card-heading h3{font-size:18px}
}
