/* INHA customer design contract. Shared by storefront, rental, campaigns and page preview. */
html[data-inha-shop-design]{--inha-font:"Segoe UI",Arial,sans-serif;--inha-type-body:1rem;--inha-type-small:.875rem;--inha-type-meta:.75rem;--inha-type-card:1rem;--inha-type-section:1.5rem;--inha-type-page:2rem;--inha-type-hero:2.25rem;--inha-type-price:1.75rem;--inha-type-offer-price:2rem;--inha-type-control:.875rem;--inha-control-height:40px;--inha-logo-width:216px;--inha-logo-footer:216px;--inha-space-1:4px;--inha-space-2:8px;--inha-space-3:12px;--inha-space-4:16px;--inha-space-6:24px;--inha-space-8:32px;--inha-navy:#082b46;--inha-blue:#0868b8;--inha-action:#ffd849;--inha-action-hover:#f4bf36;--inha-purchase:#f6b332;--inha-ink:#172d40;--inha-muted:#52616c;--inha-line:#dce2e6;--inha-radius:4px;font-size:16px!important;font-family:var(--inha-font)!important;--navy:var(--inha-navy);--blue:var(--inha-blue);--line:var(--inha-line)}
html[data-inha-shop-design] body{font-family:var(--inha-font)!important;font-size:var(--inha-type-body)!important;line-height:1.5;font-weight:400;color:var(--inha-ink)}
html[data-inha-shop-design] :is(button,input,select,textarea){font-family:var(--inha-font)!important}
html[data-inha-shop-design] :is(#shop-main,#main,.shop-main,[data-preview-root]) :is(h1,h2,h3){font-family:var(--inha-font)!important;font-weight:700!important;letter-spacing:-.015em!important;hyphens:auto;overflow-wrap:anywhere}
html[data-inha-shop-design] :is(#shop-main,#main,.shop-main,[data-preview-root]) h1{font-size:var(--inha-type-page)!important;line-height:1.2!important;margin:0 0 var(--inha-space-4)!important}
html[data-inha-shop-design] :is(#shop-main,#main,.shop-main,[data-preview-root]) h2{font-size:var(--inha-type-section)!important;line-height:1.25!important;margin:0 0 var(--inha-space-3)!important}
html[data-inha-shop-design] :is(#shop-main,#main,.shop-main,[data-preview-root]) h3{font-size:var(--inha-type-card)!important;line-height:1.4!important;margin:0 0 var(--inha-space-2)!important}
html[data-inha-shop-design] :is(#shop-main,#main,.shop-main,[data-preview-root]) :is(.sf-title,.sf-video-copy h1,.sf-video-copy h2,.tg-copy h1,.tg-copy h2,.promo-copy h1,.promo-copy h2){font-size:var(--inha-type-hero)!important;line-height:1.15!important;font-weight:700!important;margin:0 0 var(--inha-space-4)!important}
html[data-inha-shop-design] :is(#shop-main,#main,.shop-main,[data-preview-root]) :is(.sf-compact .sf-title){font-size:var(--inha-type-page)!important}
html[data-inha-shop-design] :is(#shop-main,#main,.shop-main,[data-preview-root]) :is(.sf-card h2,.ms-card h2,.product-card h2,.product-card h3,.service-directory h2,.category-item h3,.assortment-category strong){font-size:var(--inha-type-card)!important;line-height:1.4!important;font-weight:700!important;letter-spacing:0!important;margin:0 0 var(--inha-space-2)!important}
html[data-inha-shop-design] :is(#shop-main,#main,.shop-main,[data-preview-root]) :is(.service-lead,.service-copy p,.company-prose p,.company-heading p,.service-heading p,.if-help-page>p,.sf-text,.tg-intro,.promo-intro){font-size:var(--inha-type-body)!important;line-height:1.5!important;font-weight:400!important}
html[data-inha-shop-design] :is(.sf-card p,.service-directory p,.ms-card p,.product-card p,.filter-hint,.native-price small,.cart-line small,.product-facts,.technical-list){font-size:var(--inha-type-small)!important;line-height:1.5!important}
html[data-inha-shop-design] :is(.breadcrumbs,.ms-breadcrumb,.article-number,.product-brand,.recommendation-label,.tg-kicker,.promo-kicker,.tg-eyebrow,.service-bar,.ms-count){font-size:var(--inha-type-meta)!important;line-height:1.5!important}
html[data-inha-shop-design] :is(.native-price>strong,.product-buy strong){font-size:1.25rem!important;line-height:1.25!important;font-weight:700!important;font-variant-numeric:tabular-nums}
html[data-inha-shop-design] :is(.detail-purchase .native-price>strong,.product-information .native-price>strong,.detail-purchase>h2){font-size:var(--inha-type-price)!important;line-height:1.25!important}
html[data-inha-shop-design] :is(.tg-price,.tg-price strong,.promo-price,.offer-price){font-size:var(--inha-type-offer-price)!important;line-height:1.2!important;font-weight:700!important;font-variant-numeric:tabular-nums}
html[data-inha-shop-design] :is(.button,.sf-button,.tg-primary,.promo-primary,.header-search button,.main-search button,.header-basket){font-size:var(--inha-type-control)!important;line-height:1.4!important;font-weight:600!important;border-radius:var(--inha-radius)!important;min-height:var(--inha-control-height);padding:8px 14px}
html[data-inha-shop-design] :is(.button.primary,.sf-button,.tg-primary,.promo-primary){background:var(--inha-action)!important;color:var(--inha-navy)!important;border:1px solid #c59724!important}
html[data-inha-shop-design] :is(.button.primary,.sf-button,.tg-primary,.promo-primary):hover{background:var(--inha-action-hover)!important}
html[data-inha-shop-design] :is(.button.secondary){background:#fff!important;color:var(--inha-blue)!important;border:1px solid #9eb3c1!important}
html[data-inha-shop-design] :is(.main-search button,.header-search button){background:var(--inha-purchase)!important;color:var(--inha-navy)!important}
html[data-inha-shop-design] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:var(--inha-type-control)!important;line-height:1.4!important;border-radius:var(--inha-radius)!important}
html[data-inha-shop-design] :is(input:not([type=checkbox]):not([type=radio]),select){min-height:var(--inha-control-height);padding:8px 10px}
html[data-inha-shop-design] :is(.shop-nav,.site-header>nav,.tg-detail-nav){font-size:var(--inha-type-small)!important;font-weight:600}
html[data-inha-shop-design] :is(header .if-logo,.tg-detail-brand .if-logo){width:var(--inha-logo-width)!important;max-width:100%!important;flex-shrink:0}
html[data-inha-shop-design] .if-brand-column .if-logo{width:var(--inha-logo-footer)!important;max-width:100%!important}
html[data-inha-shop-design] :is(.if-brand-column p,.inha-footer h2,.if-hours,.if-contact address,.if-footer-bottom){font-family:var(--inha-font)!important}
html[data-inha-shop-design] .inha-footer h2{font-size:var(--inha-type-small)!important;font-weight:700!important;line-height:1.4}
html[data-inha-shop-design] :is(.if-brand-column p,.if-contact a,.if-contact address){font-size:var(--inha-type-small)!important;line-height:1.5}
html[data-inha-shop-design] .if-contact .if-phone{font-size:1.25rem!important;line-height:1.25!important}
html[data-inha-shop-design] :is(.service-directory,.service-body,.product-grid,.ms-grid,.assortment-category-grid){gap:var(--inha-space-4)}
html[data-inha-shop-design] :is(.tg-copy,.promo-copy,.tg-detail-contact,.tg-detail-gift){padding:var(--inha-space-6)!important}
html[data-inha-shop-design] .tg-original-art .tg-original-poster{max-height:560px;object-fit:contain;aspect-ratio:auto}
html[data-inha-shop-design] :is(.product-image,.ms-image){min-width:0}
html[data-inha-shop-design] :is(.detail-image,.product-media>img){max-height:420px;object-fit:contain}
html[data-inha-shop-design] .catalog-heading>div{min-width:0;flex:1}
html[data-inha-shop-design] .catalog-heading h1{overflow-wrap:anywhere}
@media(max-width:760px){html[data-inha-shop-design]{--inha-type-page:1.625rem;--inha-type-hero:1.75rem;--inha-type-section:1.375rem;--inha-type-offer-price:1.75rem;--inha-type-control:1rem;--inha-control-height:44px;--inha-logo-width:168px;--inha-logo-footer:168px}html[data-inha-shop-design] :is(.header-main){gap:12px;padding:12px 16px}html[data-inha-shop-design] :is(.brand,.if-micro-brand){min-width:0}html[data-inha-shop-design] .account-actions{gap:12px}html[data-inha-shop-design] .catalog-heading{flex-wrap:wrap;gap:8px 12px}html[data-inha-shop-design] .catalog-heading>[data-reset]{max-width:none;text-align:left}html[data-inha-shop-design] :is(.tg-copy,.promo-copy,.tg-detail-contact,.tg-detail-gift){padding:var(--inha-space-4)!important}html[data-inha-shop-design] .tg-original-art .tg-original-poster{max-height:440px}html[data-inha-shop-design] :is(.product-grid,.ms-grid,.service-directory,.assortment-category-grid){gap:12px}}

html[data-inha-shop-design] .inquiry-process{margin:0 0 16px;padding:12px 16px;background:#eef4f8;font-size:14px;line-height:1.5;border-left:3px solid #0868b8}html[data-inha-shop-design] .mobile-main-menu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 16px}html[data-inha-shop-design] .mobile-main-menu a{padding:10px;color:#082b46;background:#eef4f8;text-decoration:none;font-size:14px} @media(max-width:760px){html[data-inha-shop-design] .mobile-main-menu{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-inha-shop-design] .shop-nav{flex-wrap:wrap;overflow:visible}html[data-inha-shop-design] .shop-nav>a{display:none}html[data-inha-shop-design] .shop-nav .nav-offers{display:inline-flex;margin-left:auto}}

html[data-inha-shop-design] #main .product-category{overflow-wrap:anywhere;hyphens:auto;white-space:normal} @media(max-width:760px){html[data-inha-shop-design] .site-header>nav{flex-wrap:wrap;overflow:visible;gap:4px 12px}html[data-inha-shop-design] .site-header>nav a{white-space:normal;padding:8px 0}}

/* Product details: identify the article before the image on narrow screens. */
html[data-inha-shop-design] .detail-selection-total{margin:8px 0 12px;line-height:1.5}
html[data-inha-shop-design] .detail-selection-total .line-total{margin:0;font-size:16px;color:var(--inha-ink)}
html[data-inha-shop-design] .detail-selection-total small{display:block;font-size:14px;color:var(--inha-muted)}
html[data-inha-shop-design] .detail-commercial-note{margin:12px 0;font-size:14px;line-height:1.5}
html[data-inha-shop-design] .ms-detail-purchase .catalog-buy-form{grid-template-columns:minmax(100px,130px) minmax(0,1fr)}
html[data-inha-shop-design] .catalog-purchase>[data-price-retry]{display:block;margin:8px 0}
@media(max-width:760px){
 html[data-inha-shop-design] #shop-main .product-detail,html[data-inha-shop-design] #shop-main .ms-offer-detail{display:flex;flex-direction:column;gap:12px}
 html[data-inha-shop-design] .product-information,html[data-inha-shop-design] .ms-offer-information{display:contents}
 html[data-inha-shop-design] .product-information>.product-brand,html[data-inha-shop-design] .ms-offer-information>.ms-brand{order:0;margin:0}
 html[data-inha-shop-design] #shop-main .product-information>h1,html[data-inha-shop-design] #shop-main .ms-offer-information>h1{order:1;margin:0!important}
 html[data-inha-shop-design] .product-information>.article-number,html[data-inha-shop-design] .ms-offer-information>.ms-article-code{order:2;margin:0}
 html[data-inha-shop-design] .product-gallery,html[data-inha-shop-design] .ms-offer-detail>.ms-detail-image{order:3;width:100%;min-width:0}
 html[data-inha-shop-design] .product-gallery .gallery-main{height:200px;max-height:200px;margin:0}
 html[data-inha-shop-design] .ms-offer-detail .ms-detail-image>img{height:200px}
 html[data-inha-shop-design] .product-gallery .image-zoom-trigger{display:block;margin:0 auto}
 html[data-inha-shop-design] .product-information>.detail-purchase,html[data-inha-shop-design] .ms-offer-information>.ms-detail-purchase{order:4;width:100%;margin:0;padding:16px}
 html[data-inha-shop-design] .ms-offer-information>.ms-product-benefits{order:3;margin:0}
 html[data-inha-shop-design] .ms-offer-detail>.ms-detail-image{order:4}
 html[data-inha-shop-design] .ms-offer-information>.ms-detail-purchase{order:5}
 html[data-inha-shop-design] .product-information>.product-facts,html[data-inha-shop-design] .ms-offer-information>.ms-commercial-note{order:6;width:100%;margin:0}
 html[data-inha-shop-design] .ms-offer-information>.ms-specialist-contact{order:7}
 html[data-inha-shop-design] .ms-offer-information>.ms-identification{order:8;width:100%}
 html[data-inha-shop-design] .detail-purchase>.button.primary{width:100%}
}

html[data-inha-shop-design] .shop-main>.inquiry-process+.sf-host{margin-top:0}

/* Compact inquiry controls and readable long ERP labels. */
html[data-inha-shop-design] :is(.cart-line>div,.cart-checkout,.auth-form){min-width:0;overflow-wrap:anywhere}html[data-inha-shop-design] .cart-item-issue{font-size:14px;line-height:1.5;color:#891921;border-left:3px solid #bd3333;padding:6px 10px;margin:8px 0}html[data-inha-shop-design] [data-quantity-error]{font-size:12px;color:#891921;overflow-wrap:anywhere}html[data-inha-shop-design] [data-quantity-error]:empty{display:none}html[data-inha-shop-design] .cart-line .text-button{min-height:var(--inha-control-height);padding:6px 0}html[data-inha-shop-design] .auth-form input{min-width:0;width:100%}

html[data-inha-shop-design] .cart-line>div>strong{font-size:var(--inha-type-card);font-weight:700;line-height:1.4}html[data-inha-shop-design] .cart-line small{margin-top:var(--inha-space-1)}
@media(max-width:750px){html[data-inha-shop-design] .cart-line{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 12px}html[data-inha-shop-design] .cart-line>div{grid-column:1/-1}html[data-inha-shop-design] .cart-line>label{grid-column:1;width:min(100%,180px)}html[data-inha-shop-design] .cart-line>[data-remove]{grid-column:2;align-self:end;justify-self:end}}

/* Keep catalogue back navigation and continuation usable at narrow widths. */
html[data-inha-shop-design] .ms-pagination{flex-wrap:wrap;align-items:center;gap:var(--inha-space-2);margin:24px 0;min-width:0}html[data-inha-shop-design] .ms-pagination>[role=status]{flex:1 1 8rem;min-width:0;margin:0;font-size:var(--inha-type-small);line-height:1.5;overflow-wrap:anywhere}html[data-inha-shop-design] .ms-pagination>.catalog-scroll-sentinel{flex-basis:100%;height:1px}

/* Customer pages share type roles. Keep the footer independent of page-level layouts. */
html[data-inha-shop-design] { font-size: 100% !important; }
html[data-inha-shop-design] :is(.panel-intro, .service-lead, .tg-intro, .promo-intro) {
  font-size: var(--inha-type-body) !important;
  line-height: 1.5 !important;
}
html[data-inha-shop-design] :is(.panel-intro, .if-hours, .if-update-note, .if-brand-column > span, .if-bottom p) {
  color: var(--inha-muted);
}
html[data-inha-shop-design] :is(.rental-local-nav, .if-contact-lines) a {
  color: #075b9f;
  text-decoration: underline;
  text-underline-offset: .18em;
}
html[data-inha-shop-design] footer.inha-footer {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
  margin-inline: 0;
  font: var(--inha-type-small)/1.5 var(--inha-font);
  color: var(--inha-ink);
}
.inha-footer > .if-wrap {
  display: block;
  align-items: normal;
}
.inha-footer :is(.if-group summary, .if-group nav a, .if-hours, .if-updates p, .if-bottom nav a, .if-purchase-links a, .if-brand-column > span) {
  font-size: var(--inha-type-small);
  line-height: 1.5;
}
.inha-footer .if-group nav a {
  min-height: 28px;
  padding-block: var(--inha-space-1);
}
.inha-footer :is(.if-bottom p, .if-purchase p) {
  font-size: var(--inha-type-meta);
  line-height: 1.5;
}
.inha-footer :is(.if-main, .if-extras) {
  padding-block: var(--inha-space-6);
}
.inha-footer :is(.if-group nav a, .if-bottom nav a):hover {
  color: #075b9f;
}
@media (max-width: 680px) {
  .inha-footer :is(.if-main, .if-extras) {
    padding-block: var(--inha-space-4);
  }
}

/* Price details and inquiry controls use the shared customer type roles. */
html[data-inha-shop-design] :is(.detail-purchase, .ms-detail-purchase, .cart-layout) .native-price small {
  color: var(--inha-muted);
}
html[data-inha-shop-design] :is(.detail-purchase .quantity-label, .ms-detail-purchase .catalog-buy-form label, .cart-line label, .cart-checkout .check, .cart-checkout p, .ms-commercial-note) {
  font-size: var(--inha-type-small);
  line-height: 1.5;
}
html[data-inha-shop-design] .cart-checkout .price-explanation {
  margin-block: var(--inha-space-3);
  color: var(--inha-muted);
}
html[data-inha-shop-design] .cart-checkout :is(dl.cart-totals, dl:not(.cart-totals)) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--inha-space-3);
  row-gap: var(--inha-space-2);
}
html[data-inha-shop-design] .cart-checkout :is(dt, dd) {
  min-width: 0;
  font-size: var(--inha-type-small);
  line-height: 1.5;
}
html[data-inha-shop-design] .cart-checkout .cart-totals dt:first-child {
  font-size: var(--inha-type-body);
}
html[data-inha-shop-design] .cart-checkout .cart-totals dd:first-of-type {
  font-size: 1.25rem;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
html[data-inha-shop-design] :is(.detail-purchase, .ms-detail-purchase, .cart-checkout) .button.primary {
  min-height: 44px;
  text-align: center;
}
html[data-inha-shop-design] :is(.detail-purchase, .ms-detail-purchase, .cart-checkout) .button:focus-visible {
  outline: 3px solid var(--inha-navy);
  outline-offset: 3px;
}

/* Antriebstechnik opener reuses the shop's photo, typography and action colors. */
html[data-inha-shop-design] .drive-home--landing {
  margin-block: var(--inha-space-4) var(--inha-space-6);
}
html[data-inha-shop-design] .drive-home--landing .drive-home-copy > p:not(.drive-proof) {
  font-size: var(--inha-type-body);
  line-height: 1.5;
}
html[data-inha-shop-design] .drive-home--landing .drive-actions a {
  min-height: 44px;
}
@media (max-width: 760px) {
  html[data-inha-shop-design] .drive-home--landing {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-inha-shop-design] .drive-home--landing .drive-home-copy {
    grid-row: 1;
    padding: var(--inha-space-4);
  }
  html[data-inha-shop-design] .drive-home--landing .drive-home-visual img {
    height: auto;
    min-height: 0;
    max-height: 180px;
    aspect-ratio: 16 / 9;
  }
  html[data-inha-shop-design] .drive-home--landing .drive-actions {
    align-items: flex-start;
    gap: var(--inha-space-2) var(--inha-space-3);
  }
}
