/* AlReda: a consistent, product-led finish across the existing storefront. */
.exhibition-photo-grid,.exhibition-invitation-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
html body .exhibitions-gallery-section .media-gallery-card { background:var(--biz-surface); color:var(--biz-text); border-color:var(--biz-line); box-shadow:none; }
html body .exhibitions-gallery-section .media-gallery-card-body strong { color:var(--biz-text); }
html body .exhibitions-gallery-section .media-gallery-card-body small { color:var(--biz-muted); }
html body .exhibitions-gallery-section .media-gallery-image { aspect-ratio:1; padding:12px; background:var(--biz-soft); }
html body .exhibitions-gallery-section .media-gallery-image img { object-fit:contain; min-height:0; border-radius:6px; box-shadow:none; }
html body .exhibitions-gallery-section .media-gallery-image:hover img { transform:none; }
@media(max-width:700px) { .exhibition-photo-grid,.exhibition-invitation-grid { grid-template-columns:1fr; } }
:root {
  --biz-surface:#1b1b1d;
  --biz-soft:#141416;
  --biz-line:#ffffff21;
  --biz-text:#f7f7f8;
  --biz-muted:#b9b9bf;
  --finish-shadow:0 12px 34px #00000020;
  --section-space:64px;
}
html[data-theme="light"] {
  --biz-surface:#ffffff;
  --biz-soft:#f5f5f7;
  --biz-line:#e4e4e8;
  --biz-text:#202023;
  --biz-muted:#616169;
  --finish-shadow:0 12px 34px #20202308;
}
html body { background:var(--biz-soft); color:var(--biz-text); }
html body main { background:var(--biz-soft); }
html body main::before,html body main::after { display:none; }
html body main > section:first-child::before,html body main > section:not(:first-child)::before,html body main > section:nth-of-type(even):not(:first-child)::before,html body main > section::after { display:none; }
html[data-theme] body main > :is(.section,.section-band) { background:var(--biz-soft); }
html body :is(.catalog-hero-copy,.media-copy)::before { display:none; }
html body main :is(h1,h2,h3) { text-wrap:balance; }
html body main :is(.primary-action,.secondary-action) { min-height:48px; border-radius:10px; font-size:15px; font-weight:700; box-shadow:none; }
html body main .primary-action { background:var(--red); color:#fff; border:1px solid transparent; }
html body main .secondary-action { background:var(--biz-surface); color:var(--biz-text); border:1px solid var(--biz-line); }
html body main a:focus-visible,html body main button:focus-visible { outline:3px solid var(--red); outline-offset:4px; }

/* Header remains familiar, with lighter separators and more legible navigation. */
html body .site-header.enterprise-header { box-shadow:0 4px 20px #0000000a; }
html body .enterprise-header .chrome-nav-band { border-bottom:1px solid var(--chrome-line); }
html body .site-header.enterprise-header .nav > .chrome-top-link,
html body .enterprise-header .chrome-nav-toggle { font-size:14px; min-height:50px; }
html body .enterprise-header .masthead-inner { min-height:88px; }
html body .site-header.enterprise-header .brand-mark { border-radius:10px; }
html body .site-header.enterprise-header :is(.language-toggle,.theme-toggle,.chrome-search-toggle) { border-radius:9px; }

/* A clean showroom using the actual products, with red reserved for emphasis. */
html body.home-upgrade main > .professional-hero {
  display:grid; grid-template-columns:1fr 1fr; align-items:center;
  gap:clamp(28px,5vw,84px); padding-block:64px 72px;
  background:linear-gradient(125deg,transparent 62%,#ef3f3509 62%),var(--biz-surface);
  border:0; border-bottom:1px solid var(--biz-line); border-radius:0; box-shadow:none;
}
html body .professional-hero::before,html body .professional-hero .hero-copy::before { display:none; }
html body .professional-hero .hero-copy { max-width:680px; min-width:0; }
html body .professional-hero .hero-copy h1 {
  font-size:clamp(34px,4.2vw,66px); line-height:1.38; font-weight:800;
  color:var(--biz-text); margin:18px 0 22px; letter-spacing:0;
}
html body .professional-hero .hero-copy .eyebrow {
  display:inline-flex; border:0; border-inline-start:3px solid var(--red);
  border-radius:0; padding:3px 14px; background:transparent; color:var(--red);
  box-shadow:none; font-size:14px; font-weight:700;
}
html body .professional-hero .hero-text { color:var(--biz-muted); font-size:18px; line-height:1.95; max-width:52ch; }
html body .professional-hero .hero-actions { margin-top:28px; gap:12px; }
html body .hero-product-stage { background:var(--biz-soft); border:1px solid var(--biz-line); border-radius:20px; box-shadow:none; padding:24px; }
html body .stage-heading { font-size:13px; letter-spacing:0; margin-bottom:20px; color:var(--biz-muted); }
html body .stage-heading > span:first-child { color:var(--biz-text); font-weight:700; }
html body .stage-products { gap:12px; align-items:stretch; }
html body .stage-products a { border-radius:12px; padding:18px 8px; margin-top:0; background:#fff; border:1px solid #ececef; }
html body .stage-products a:nth-child(2) { margin-top:0; }
html body .stage-products img { height:clamp(160px,18vw,260px); object-fit:contain; padding:10px; }
html body .stage-products a span { color:#626269; font-size:13px; margin-top:10px; text-align:center; }
html body .stage-products a strong { color:#202023; font-size:21px; margin-top:5px; }
html body .stage-caption { color:var(--biz-muted); font-size:13px; line-height:1.8; margin:18px 0 0; }

/* Product groups and industries share one spacing and corner system. */
html body .corporate-home { padding-block:64px; }
html body .corporate-section-heading { align-items:end; gap:24px; margin-bottom:30px; }
html body .corporate-home h2 { font-size:clamp(26px,2.6vw,40px); line-height:1.5; margin:8px 0 0; }
html body .corporate-home .eyebrow { background:transparent; border:0; border-radius:0; padding:0; color:var(--red); font-size:14px; }
html body .corporate-text-link { font-size:14px; border-bottom:1px solid var(--biz-line); padding-bottom:5px; }
html body .corporate-category-grid { gap:16px; }
html body .corporate-category-card { background:var(--biz-surface); border:1px solid var(--biz-line); border-radius:14px; padding:12px 12px 20px; box-shadow:var(--finish-shadow); }
html body .corporate-category-card > div { height:190px; border:0; border-radius:9px; padding:20px; }
html body .corporate-category-card h3 { font-size:17px; margin:18px 4px 8px; }
html body .corporate-category-card > span { margin-inline:4px; font-size:14px; }
html body .corporate-industry-grid { background:transparent; border:0; gap:14px; }
html body .corporate-industry-grid > a { border:1px solid var(--biz-line); border-radius:12px; padding:25px; }
html body .industry-number { font-size:22px; opacity:.8; }
html body .corporate-industry-grid p { font-size:14px; }
html body .corporate-company-visual { border-radius:18px; }
html body .corporate-company-visual::before { width:4px; }
html body .corporate-facts dd { font-size:14px; }
html body .corporate-cta { background:var(--red); padding-block:34px; }
html body .corporate-cta-button { border-radius:10px; min-height:48px; }

/* Logos get identical, generous frames; source artwork is never cropped. */
html body .corporate-brand-strip { gap:16px; }
html body .corporate-brand-strip a { gap:0; border:1px solid var(--biz-line); border-radius:14px; overflow:hidden; background:var(--biz-surface); }
html body .corporate-brand-strip a > span:last-child { padding:14px; border-top:1px solid var(--biz-line); font-size:15px; font-weight:700; color:var(--biz-text); }
html body .corporate-brand-logo { height:142px; padding:18px; display:grid; place-items:center; border:0; border-radius:0; }
html body .corporate-brand-logo img { position:static; width:100%; height:100%; max-height:106px; min-height:0; object-fit:contain; transform:none; }
html body .corporate-brand-logo img[src] { transform:none; }
/* Compensate only for the white margins embedded in these two source files. */
html body .corporate-brand-logo img[src*="top-master-logo"] { transform:scale(1.45); }
html body .corporate-brand-logo img[src*="bearfix-logo"] { transform:scale(1.65); }
html body .corporate-brand-tile { border-radius:16px; overflow:hidden; padding:24px; }
html body .corporate-brand-tile .corporate-brand-logo { height:180px; border-radius:10px; }
html body .corporate-brand-tile .corporate-brand-logo img { max-height:144px; }
html body .corporate-story-card { border-radius:16px; overflow:hidden; box-shadow:none; }
html body .corporate-story-card h3 { font-size:20px; }
html body .corporate-story-card p { font-size:16px; }
html body .story-kicker { font-size:13px; color:var(--red); }

/* The same finish carries through catalog, details, documents and contact. */
html body :is(.product-list-grid .catalog-card,.featured-product-card) { border-radius:14px; box-shadow:var(--finish-shadow); }
html body :is(.catalog-card,.featured-product-card,.media-card)::after { display:none; }
html body .product-list-grid .catalog-card-body { padding:18px; gap:10px; }
html body .product-list-grid .product-meta :is(dt,dd) { font-size:12px; }
html body .product-list-grid .product-tag { font-size:12px; border-radius:5px; }
html body :is(.product-list-grid .catalog-card-actions,.featured-actions) > :is(a,button) { font-size:13px; min-height:44px; }
html body :is(.product-list-grid .catalog-card-actions,.featured-actions) > :is(a,button),html body .quick-add-to-cart { box-shadow:none; background-image:none; }
html body main :is(.section-heading h2,.section-heading p,.business-hero h1,.catalog-hero h1,.contact-hero h1,.media-copy h1,.document-hero h1,.exhibitions-hero h1) { color:var(--biz-text); }
html body .catalog-brand-heading { background:var(--biz-surface); border:1px solid var(--biz-line); border-inline-start:3px solid var(--red); box-shadow:none; }
html[data-theme] body main > :is(.business-hero,.catalog-hero,.contact-hero,.media-hero,.document-hero,.exhibitions-hero) { background:var(--biz-surface); border:0; border-bottom:1px solid var(--biz-line); border-radius:0; box-shadow:none; }
html body :is(.contact-info-panel,.contact-form-card,.media-card,.download-card,.solution-guide-card,.product-applications,.product-document-panel,.editorial-aside) { background:var(--biz-surface); border:1px solid var(--biz-line); border-radius:14px; box-shadow:none; }
html body .corporate-footer { background:#131315; border-top:3px solid var(--red); }
html body .corporate-footer-grid { padding-block:56px 40px; gap:36px; }
html body .corporate-footer h2 { font-size:18px; }
html body .corporate-footer-column a { font-size:14px; line-height:1.9; }
html body .corporate-social a,html body .corporate-footer a.footer-whatsapp { border-radius:9px; }

@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  html body :is(.corporate-category-card,.corporate-brand-strip a,.corporate-industry-grid > a,.corporate-story-card,.product-list-grid .catalog-card,.featured-product-card) { transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
  html body :is(.corporate-category-card,.corporate-brand-strip a,.corporate-story-card,.product-list-grid .catalog-card,.featured-product-card):hover { transform:translateY(-3px); border-color:var(--red); }
}
@media(max-width:1100px) {
  html body.home-upgrade main > .professional-hero { grid-template-columns:1fr 1fr; gap:24px; padding-block:42px; }
  html body .professional-hero .hero-copy h1 { font-size:36px; }
  html body .professional-hero .hero-text { font-size:16px; }
  html body .hero-product-stage { padding:18px; }
}
@media(max-width:800px) {
  :root { --section-space:40px; }
  html body.home-upgrade main > .professional-hero { grid-template-columns:1fr; padding-block:34px 40px; gap:28px; }
  html body .hero-product-stage { width:100%; max-width:none; }
  html body .corporate-home { padding-block:42px; }
  html body .professional-hero .hero-copy { max-width:none; }
  html body .corporate-section-heading { align-items:start; gap:16px; }
  html body .stage-products img { height:185px; }
  html body .corporate-brand-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  html body .professional-hero .hero-copy h1 { font-size:32px; margin:16px 0; }
  html body .professional-hero .hero-copy .eyebrow { font-size:13px; }
  html body .professional-hero .hero-actions { margin-top:22px; gap:10px; }
  html body .professional-hero .hero-actions a { flex:1 1 130px; padding:12px 10px; font-size:14px; }
  html body .stage-products { gap:8px; }
  html body .stage-products a { padding:12px 3px; }
  html body .stage-products img { height:145px; padding:4px; }
  html body .stage-products a span { font-size:12px; }
  html body .stage-products a strong { font-size:18px; }
  html body .stage-heading { font-size:12px; gap:8px; }
  html body .stage-caption { font-size:12px; }
  html body .corporate-section-heading { flex-direction:column; margin-bottom:22px; }
  html body .corporate-home h2 { font-size:27px; }
  html body .corporate-home .eyebrow { font-size:13px; }
  html body .corporate-category-grid { gap:12px; }
  html body .corporate-category-card { padding:8px 8px 16px; }
  html body .corporate-category-card > div { height:152px; padding:12px; }
  html body .corporate-category-card img { height:128px; }
  html body .corporate-category-card h3 { font-size:15px; }
  html body .corporate-category-card > span { font-size:13px; }
  html body .corporate-brand-logo { height:124px; padding:16px; }
  html body .corporate-brand-logo img { max-height:92px; }
  html body .corporate-brand-tile { padding:14px; }
  html body .corporate-brand-tile .corporate-brand-logo { height:134px; }
  html body .corporate-brand-tile .corporate-brand-logo img { max-height:102px; }
  html body .corporate-industry-grid > a { padding:20px 16px; }
  html body .product-list-grid .catalog-card-body { padding:12px; gap:8px; }
  html body :is(.product-list-grid .catalog-card-actions,.featured-actions) > :is(a,button) { font-size:12px; }
  html body .corporate-footer-grid { gap:28px 20px; padding-block:40px 30px; }
  html body .site-header.enterprise-header .nav > .chrome-top-link,html body .enterprise-header .chrome-nav-toggle { white-space:nowrap; min-height:40px; font-size:13px; }
}
/* Compact bilingual sales guidance, beside the final order action. */
.sales-order-note { margin: 8px 0; font-size: 13px; line-height: 1.7; color: inherit; text-align: start; overflow-wrap: anywhere; }
.cart-drawer-footer .sales-order-note { grid-column: 1 / -1; }

/* Theme-aware text, including legacy sections that still use --ink. */
html:not([data-theme="light"]) { --ink:var(--biz-text); --muted:var(--biz-muted); }
html:not([data-theme="light"]) body main :is(h1,h2,h3,h4,label,.download-card strong,.product-order-builder-heading strong) { color:var(--biz-text); }
html:not([data-theme="light"]) body .product-order-builder { background:var(--biz-soft); color:var(--biz-text); border-color:var(--biz-line); }
html:not([data-theme="light"]) body :is(.product-order-builder,.contact-form) :is(input,select,textarea) { background:var(--biz-surface); color:var(--biz-text); border-color:var(--biz-line); color-scheme:dark; }
html:not([data-theme="light"]) body .product-order-builder-heading span { color:var(--biz-text); }
html:not([data-theme="light"]) body .contact-direct-link { background:var(--biz-soft); color:var(--biz-text); border:1px solid var(--biz-line); }
html.product-language-pending main { visibility:hidden; }

/* Dark surfaces and their text must change together. Keep artwork white,
   but never leave legacy pale gradients behind white product copy. */
html:not([data-theme="light"]) body :is(.catalog-card,.product-detail-product,.catalog-card-body,.featured-product-card,.media-gallery-card,.media-gallery-card-body,.about-story,.about-points,.document-panel,.value-card,.service-card,.corporate-brand-tile,.corporate-story-card,.editorial-aside,.quick-add-dialog,.cart-drawer,.cart-customer-fields,.cart-drawer-footer) {
  background:var(--biz-surface); color:var(--biz-text); border-color:var(--biz-line);
}
html:not([data-theme="light"]) body :is(.product-meta div,.document-meta span,.about-points span,.catalog-toolbar,.catalog-summary,.product-breadcrumb,.cart-item,.quick-add-product) {
  background:var(--biz-soft); color:var(--biz-text); border-color:var(--biz-line);
}
html:not([data-theme="light"]) body :is(.catalog-card,.featured-product-card,.media-gallery-card,.quick-add-dialog,.cart-drawer) :is(h2,h3,strong,dd,label) { color:var(--biz-text); }
html:not([data-theme="light"]) body :is(.catalog-card,.featured-product-card,.media-gallery-card,.quick-add-dialog,.cart-drawer) :is(p,dt,small) { color:var(--biz-muted); }
html:not([data-theme="light"]) body :is(.catalog-toolbar,.quick-add-dialog,.cart-drawer,.site-search) :is(input,select,textarea) { background:var(--biz-soft); color:var(--biz-text); border:1px solid var(--biz-line); color-scheme:dark; }
html:not([data-theme="light"]) body :is(input,textarea)::placeholder { color:#aaaab2; opacity:1; }
html:not([data-theme="light"]) body :is(.card-link,.tds-link,.document-open-link,.filter:not(.active)) { background:var(--biz-soft); color:var(--biz-text); border-color:var(--biz-line); }
html:not([data-theme="light"]) body :is(.product-add-to-cart,.quick-add-submit):disabled { background:#38383e; color:#d9d9df; opacity:1; border-color:#55555f; }
html:not([data-theme="light"]) body .company-mark { background:var(--biz-surface); color:var(--biz-text); }
html:not([data-theme="light"]) body .company-mark img { background:#fff; }
html:not([data-theme="light"]) body :is(.shopping-cart-drawer,.cart-drawer-header,.cart-drawer-body,.cart-empty-state,.cart-customer-details,.cart-line-item) { background:var(--biz-surface); color:var(--biz-text); border-color:var(--biz-line); }
html:not([data-theme="light"]) body .shopping-cart-drawer :is(h2,h3,strong,label) { color:var(--biz-text); }
html:not([data-theme="light"]) body .shopping-cart-drawer :is(input,select,textarea,.cart-close-button) { background:var(--biz-soft); color:var(--biz-text); border-color:var(--biz-line); color-scheme:dark; }
html:not([data-theme="light"]) body :is(.product-tag,.cart-remove-item,.cart-empty-state a,.quick-add-product-summary span) { color:#ff928a; }

/* Catalog controls and document facts use matched foreground/surface pairs. */
/* A solid fill survives removal of legacy gradients in both themes. */
html body :is(.catalog-card-actions,.featured-actions) .quick-add-to-cart,
html body .product-add-to-cart,html body .quick-add-confirm { background:#c12620; color:#fff; border:1px solid #c12620; opacity:1; }
html body :is(.catalog-card-actions,.featured-actions) .quick-add-to-cart:hover,
html body .product-add-to-cart:not(:disabled):hover,html body .quick-add-confirm:not(:disabled):hover { background:#a51e19; color:#fff; border-color:#a51e19; }
html[data-theme="light"] body :is(.product-add-to-cart,.quick-add-confirm):disabled { background:#e4e4e8; color:#52525b; border-color:#bdbdc5; opacity:1; }
html:not([data-theme="light"]) body .quick-add-confirm:disabled { background:#38383e; color:#d9d9df; border-color:#55555f; opacity:1; }
html body .quick-add-to-cart:focus-visible,html body .product-add-to-cart:focus-visible { outline:3px solid #e7655d; outline-offset:3px; }
html:not([data-theme="light"]) body :is(.catalog-tools,.filters.catalog-filters,.document-meta) { background:var(--biz-surface); color:var(--biz-text); border:1px solid var(--biz-line); box-shadow:none; }
html:not([data-theme="light"]) body .catalog-tools :is(input:not([type="checkbox"]),select) { background:var(--biz-soft); color:var(--biz-text); border-color:var(--biz-line); color-scheme:dark; }
html:not([data-theme="light"]) body .catalog-tools :is(input,select):focus { background:var(--biz-soft); color:var(--biz-text); border-color:#ff928a; }
html:not([data-theme="light"]) body .catalog-clear-button { background:var(--biz-soft); color:var(--biz-text); border:1px solid var(--biz-line); }
html:not([data-theme="light"]) body .catalog-clear-button:hover { background:#303035; color:#fff; }
html:not([data-theme="light"]) body .filters.catalog-filters .filter.active { background:#a9211c; color:#fff; border-color:#ff928a; }
html body .filters.catalog-filters { padding:12px; border-radius:14px; gap:8px; }
html body .document-meta { padding:20px; border-radius:14px; gap:10px; }
html body .document-meta span { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:14px 16px; border-radius:9px; line-height:1.65; }
html:not([data-theme="light"]) body .document-meta span { color:var(--biz-muted); background:var(--biz-soft); border-color:var(--biz-line); }
html:not([data-theme="light"]) body .document-meta strong { color:var(--biz-text); }

@media(max-width:800px) {
  /* All destinations remain visible: no concealed horizontal menu. */
  html body .site-header.enterprise-header .nav.corporate-nav,
  html body .site-header.enterprise-header .nav.corporate-nav.open { flex-wrap:wrap; overflow:visible; justify-content:center; }
  html body .catalog-filters { flex-wrap:wrap; overflow:visible; }
  html body .product-list-grid .catalog-card-body { justify-content:flex-start; }
  html body .product-list-grid .catalog-card-actions { margin-top:auto; gap:6px; }
  html body .product-list-grid .catalog-card :is(.catalog-card-image,img) { object-fit:contain; }
  html body .product-list-grid :is(.product-image-link,.related-image-link) { height:180px; padding:0; }
  html body .product-list-grid .catalog-card :is(img.product-photo,img.product-brand-logo,img),html body .featured-product-card img { height:180px; padding:6px; }
}
