/* Approved F02-F11/F13: existing native controls and business rules retained. */
body.tn-ux-findings { --tnux-anchor-offset:145px; }
/* F04/F05 - legible controls, without changing validation, values or submission. */
body.tn-ux-findings :is(input[type=text],input[type=email],input[type=tel],input[type=password],input[type=search],input[type=number],input[type=url],input[type=date],select,textarea) {
  font-size:16px!important; line-height:1.4!important;
}
body.tn-ux-findings :is(input[type=text],input[type=email],input[type=tel],input[type=password],input[type=search],input[type=number],input[type=url],input[type=date],select) { min-height:44px; }
body.tn-ux-findings :is(.btn-primary,.btn-success,#submit-btn,.tnc-primary,.tnc-cart-action) {
  color:#073b2a!important; background:#08b380!important; border-color:#08b380!important;
  font-size:16px; font-weight:500; min-height:44px; border-radius:4px!important;
}
body.tn-ux-findings :is(dialog,.modal-content,.tnc-dialog) {
  border:1px solid #dedede; border-radius:8px; background:#fff;
  box-shadow:0 12px 36px #00000026;
}
body.tn-ux-findings .tn-offer-header { background:#fafafa; border-bottom:1px solid #dedede; }
body.tn-ux-findings :is(.tn-offer-dialog,.tnc-dialog) :is(input,select,textarea) { border-radius:4px; }
body.tn-ux-findings #tncart-dialog { border:1px solid #dedede; border-radius:8px; box-shadow:0 12px 36px #00000026; }
body.tn-ux-findings #tncart-dialog button[type=submit] {
  background:#08b380!important; border-color:#08b380!important; color:#073b2a!important;
  font-size:16px!important; font-weight:500; min-height:48px; border-radius:4px;
}
/* F07 - preserve the native recommendation slider and status semantics. */
body.tn-ux-findings #pushed-success :is(.product-wrapper,.productbox-inner) {
  background:#fff; border:1px solid #dedede; border-radius:6px; box-shadow:0 2px 8px #0000000a;
}
body.tn-ux-findings #pushed-success .product-wrapper .productbox-inner { border:0; box-shadow:none; }
body.tn-ux-findings #pushed-success :is(.delivery-status,.signal_image) {
  background:transparent!important; border:0!important; box-shadow:none!important; border-radius:0!important;
}
body.tn-ux-findings #pushed-success .productbox-title { line-height:1.35; font-weight:500; }
body.tn-ux-findings #pushed-success .price { color:#237db9; }
/* F09 - URL wrapping is confined to text in the main content. */

body.tn-ux-findings .tnux-legal-copy :is(p,span,a) {
  overflow-wrap:anywhere!important; word-break:normal; white-space:normal!important;
}
/* F10 - remove the negative overlap between existing CMS title lines. */
body.tn-ux-findings #main-wrapper .tnm-box .tnm-title-line {
  margin-top:8px!important; line-height:1.25!important;
}
/* F11 - a semantic button uses the existing request handler. */
body.tn-ux-findings .openOfferRequest { cursor:pointer; }
body.tn-ux-findings .openOfferRequest:focus-visible { outline:2px solid #237db9; outline-offset:3px; }
/* F13 - read from the real sticky header, including its compact mobile state. */
body.tn-ux-findings main [id]:not(input):not(select):not(textarea):not(button):not(a) {
  scroll-margin-top:var(--tnux-anchor-offset,145px)!important;
}
/* Shared Fluent surfaces for the existing commerce and form modules. */
body.tn-ux-findings .tnp-commerce-root :is(.tnp-cart-item,.tnp-cart-summary,.basket_wrapper,.checkout-summary) {
  border-color:#dedede; border-radius:6px; box-shadow:0 2px 8px #0000000a;
}
/* F02 - presentation only; Doofinder owns querying, facets and add-to-cart. */
body.tn-ux-findings .dfd-root .dfd-card {
  background:#fff; border:1px solid #dedede; border-radius:6px; box-shadow:0 2px 8px #0000000a;
}
body.tn-ux-findings .dfd-root .tn-df-toolbar { background:#fff; border-top:1px solid #dedede; }
body.tn-ux-findings .dfd-root .tn-df-toolbar button { min-height:44px; border-radius:4px; }
body.tn-ux-findings .dfd-root :is(.dfd-card-price,.dfd-price) { color:#237db9; }
@media(max-width:991px) {
  body.tn-ux-findings .dfd-root .dfd-card { border-radius:5px; }
  body.tn-ux-findings .dfd-root .tn-df-toolbar { gap:8px; }
}

body.tn-ux-findings .dfd-root .tn-df-toolbar>button{display:inline-flex!important;align-items:center;gap:3px}
body.tn-ux-findings .dfd-root .tnux-filter-count{display:inline!important;width:auto!important;white-space:nowrap}

/* Explicit project-price exception: blue with white text, including native buttons. */
body.tn-ux-findings #main-wrapper .openOfferRequest{background:#237db9!important;border-color:#237db9!important;color:#fff!important;font-size:16px!important;min-height:44px}

/* A semantic wrapper retains the existing quote link's desktop flex geometry. */
#mainNavigation .navbar-nav>.tn-ux-quote-item{display:flex;align-items:stretch;list-style:none}
@media(min-width:992px){
 #mainNavigation>.nav-mobile-body>.navbar-nav>.tn-ux-quote-item{flex:0 0 auto;margin-left:0!important;height:60px;min-height:60px;padding:0}
 #mainNavigation>.nav-mobile-body>.navbar-nav>.tn-ux-quote-item>a.ml-auto{display:flex;align-items:center;flex:0 0 auto;margin-left:0!important;padding-left:10px;padding-right:10px}
}

/* Same own title styles, with the native outer item link retained. */

body.tnp-commerce .tnp-flow-recommendations .productbox-title .tn-audit-slider-title{color:#303b42;text-decoration:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.tnp-refresh #slider-related .productbox-title .tn-audit-slider-title{color:#2f3437!important;font-size:16px;line-height:1.4;font-weight:600}
body.tnp-refresh :is(#slider-related,#slider-xsell) .productbox-title .tn-audit-slider-title{color:#2f3437!important;font-size:16px;line-height:1.35;font-weight:600}

/* Semantic list wrapper retains the original mobile quote geometry. */
@media(max-width:991px){
 body #mainNavigation .nav-scrollbar-inner>.tn-ux-quote-item{display:block!important;flex:0 0 auto;width:calc(100% - 32px)!important;margin:12px 16px 4px!important;padding:0!important}
 body #mainNavigation .nav-scrollbar-inner>.tn-ux-quote-item>a[data-tn-ux-quote]{display:block!important;flex:0 0 auto;width:100%!important;margin:0!important;padding:0!important}
}

/* Native inner20px margin must not push the mobile quote beyond its wrapper. */
@media(max-width:991px){body #mainNavigation .tn-ux-quote-item>a[data-tn-ux-quote]>.lpx-anfrage-btn{margin-left:0!important}}

/* Product actions keep a compact width even when the product column is fluid. */
body.tnp-refresh:not(:has(#tnc-ui)) #product-offer #add-to-cart .basket-form-inline {
  grid-template-columns:130px minmax(0,260px); justify-content:start;
}
body.tnp-refresh:not(:has(#tnc-ui)) #product-offer .openOfferRequestWrapper {
  width:260px; max-width:100%;
}
body.tnp-refresh:not(:has(#tnc-ui)) #product-offer .openOfferRequest {
  width:100%; max-width:260px; text-align:left;
}
body.tnp-refresh:not(:has(#tnc-ui)) #product-offer button[name=inWarenkorb] {
  max-width:260px;
}
@media(max-width:720px) {
  body.tnp-refresh:not(:has(#tnc-ui)) #product-offer #add-to-cart .basket-form-inline {
    grid-template-columns:105px minmax(0,260px);
  }
}
