.rbd-box{max-width:1100px;margin:24px auto;padding:28px;border-radius:18px;background:#ffffff;color:#000;border:1px solid #e2e2e2;box-shadow:0 12px 38px rgba(0,0,0,.10)}
.rbd-box *{box-sizing:border-box}
.rbd-box h2,.rbd-box h3,.rbd-box h4{color:#000;margin-top:0}
.rbd-brand{text-align:center;margin-bottom:18px}
.rbd-brand img{max-width:320px;width:100%;height:auto;border-radius:14px;display:inline-block;border:1px solid #e8e8e8;background:#fff}
.rbd-subtitle,.rbd-mini{color:#303030}
.rbd-form label{color:#000;font-weight:600;display:block}
.rbd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.rbd-full{grid-column:1/-1}
.rbd-form input[type=text],.rbd-form input[type=email],.rbd-form input[type=tel],.rbd-form input[type=number],.rbd-form input[type=url],.rbd-form select,.rbd-form textarea{width:100%;margin-top:6px;padding:12px 14px;border-radius:12px;border:1px solid #111;background:#fff;color:#000;outline:none}
.rbd-form input:focus,.rbd-form select:focus,.rbd-form textarea:focus{border-color:#ff2323;box-shadow:0 0 0 3px rgba(255,35,35,.16)}
.rbd-button{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border:none;border-radius:999px;background:#ff1a1a;color:#fff;font-weight:700;cursor:pointer;transition:transform .15s ease, box-shadow .15s ease;box-shadow:0 12px 24px rgba(255,0,0,.18)}
.rbd-button:hover{transform:translateY(-1px)}
.rbd-live-quote-box,.rbd-payment-box,.rbd-result{margin-top:22px;padding:20px;border-radius:16px;background:#fff;border:1px solid #d8d8d8}
.rbd-quote-status{padding:12px 14px;border-radius:12px;background:#f6f6f6;color:#000;margin-bottom:14px;border:1px solid #d0d0d0}
.rbd-live-quote-options,.rbd-payment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rbd-quote-card,.rbd-payment-card{display:block;cursor:pointer}
.rbd-quote-card input,.rbd-payment-card input{position:absolute;opacity:0;pointer-events:none}
.rbd-quote-card-inner,.rbd-payment-card-inner{display:block;padding:16px;border-radius:14px;background:#fff;border:1px solid #222;min-height:100%;transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;color:#000}
.rbd-quote-card input:checked + .rbd-quote-card-inner,.rbd-payment-card input:checked + .rbd-payment-card-inner{border-color:#ff2020;box-shadow:0 0 0 3px rgba(255,32,32,.16)}
.rbd-quote-card-inner:hover,.rbd-payment-card-inner:hover{transform:translateY(-1px)}
.rbd-quote-title{display:block;font-weight:700;font-size:1.05rem;margin-bottom:4px;color:#000}
.rbd-quote-price{display:block;font-size:1.25rem;font-weight:700;color:#ff2020;margin-bottom:8px}
.rbd-quote-desc{display:block;color:#222;font-size:.95rem}
.rbd-payment-card-inner{text-align:center;font-weight:700}
.rbd-tracking-form{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
.rbd-tracking-form input{flex:1 1 300px}
.rbd-history{padding-left:20px}
.rbd-history li{margin-bottom:10px}
.rbd-notice{padding:12px 14px;border-radius:12px;margin:14px 0}
.rbd-success{background:#e9fff0;border:1px solid #1b963e;color:#0c5020}
.rbd-error{background:#fff0f0;border:1px solid #c82828;color:#7e1010}
.rbd-table{width:100%;border-collapse:collapse}
.rbd-table th,.rbd-table td{padding:10px 12px;border-bottom:1px solid #d8d8d8;text-align:left;color:#000}
.rbd-table th{color:#c90000}
.rbd-result a{color:#c90000}
@media (max-width: 800px){.rbd-grid,.rbd-live-quote-options,.rbd-payment-options{grid-template-columns:1fr}.rbd-tracking-form{display:block}.rbd-tracking-form input{margin-bottom:12px}}
.rbd-ups-live{border-left:4px solid #ff2020}
.rbd-ups-live h3{display:flex;align-items:center;gap:8px}
.rbd-ups-live h3:before{content:'UPS';display:inline-flex;align-items:center;justify-content:center;font-size:.78rem;font-weight:800;letter-spacing:.04em;padding:4px 7px;border-radius:6px;background:#111;color:#fff}
.rbd-ups-history li{padding:10px 0;border-bottom:1px solid #e5e5e5}
.rbd-info-line{padding:12px 14px;border-radius:12px;background:#f7f7f7;border:1px solid #ececec;color:#111;}
.rbd-locator-box{margin-top:22px;padding:20px;border-radius:16px;background:#fff;border:1px solid #e7e7e7;box-shadow:0 8px 20px rgba(0,0,0,.05)}
.rbd-locator-box h3{color:#111}
.rbd-map{width:100%;height:360px;border-radius:16px;border:1px solid #ddd;overflow:hidden;background:#f5f5f5;margin:14px 0;z-index:1;}
.rbd-map-empty{display:flex;align-items:center;justify-content:center;}
.rbd-map-placeholder{padding:20px;color:#666;text-align:center;}
.rbd-location-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;}
.rbd-location-card{padding:14px;border-radius:14px;background:#fafafa;border:1px solid #e8e8e8;color:#111;display:flex;flex-direction:column;gap:4px;}
.rbd-location-card strong{color:#111;}
.rbd-location-card span{color:#222;}
.rbd-location-card small{color:#555;}
.leaflet-container{font:inherit;}
@media (max-width:800px){.rbd-location-list{grid-template-columns:1fr}.rbd-map{height:300px}}

/* rEDbIT.team Website-Optimierung: Theme-Farben dürfen die Pluginseiten nicht überschreiben. */
body.rbd-delivery-page .entry-title,
body.rbd-delivery-page h1.entry-title,
body.rbd-delivery-page .wp-block-post-title,
body.rbd-delivery-page main h1,
body.rbd-delivery-page main h2,
body.rbd-delivery-page main h3{color:#111!important;}
body .rbd-box,
body .rbd-box p,
body .rbd-box span,
body .rbd-box div,
body .rbd-box label,
body .rbd-box strong,
body .rbd-box small,
body .rbd-box li,
body .rbd-box td,
body .rbd-box th,
body .rbd-box h1,
body .rbd-box h2,
body .rbd-box h3,
body .rbd-box h4{color:#111!important;}
body .rbd-box input,
body .rbd-box select,
body .rbd-box textarea{color:#111!important;background:#fff!important;}
body .rbd-box input::placeholder,
body .rbd-box textarea::placeholder{color:#777!important;opacity:1;}
body .rbd-box .rbd-button,
body .rbd-box .rbd-button *{color:#fff!important;}
body .rbd-box .rbd-quote-price{color:#e00000!important;}
body .rbd-box a{color:#b90000!important;}
body header a[href*="versand-beauftragen"],
body header a[href*="paket-verfolgen"],
body nav a[href*="versand-beauftragen"],
body nav a[href*="paket-verfolgen"]{color:#111!important;}

/* rEDbIT.team Frontend-Fix: harte Kapselung gegen Theme-Schriftfarben */
.rbd-front-scope,
.rbd-front-scope *,
.rbd-front-scope h1,
.rbd-front-scope h2,
.rbd-front-scope h3,
.rbd-front-scope h4,
.rbd-front-scope p,
.rbd-front-scope label,
.rbd-front-scope span,
.rbd-front-scope div,
.rbd-front-scope small,
.rbd-front-scope strong,
.rbd-front-scope li,
.rbd-front-scope td,
.rbd-front-scope th{color:#111!important;text-shadow:none!important}
.rbd-front-scope{background:#fff!important}
.rbd-front-scope .rbd-button,.rbd-front-scope .rbd-button *{color:#fff!important}
.rbd-front-scope input,.rbd-front-scope select,.rbd-front-scope textarea{color:#111!important;background:#fff!important;-webkit-text-fill-color:#111!important}
.rbd-front-scope .rbd-quote-price,.rbd-front-scope a{color:#c90000!important}
.rbd-front-scope .rbd-tracking-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px 12px!important;align-items:end!important;width:100%!important}
.rbd-front-scope .rbd-tracking-form label{grid-column:1/-1!important;display:block!important;width:100%!important;margin:0!important;padding:0!important;color:#111!important;font-weight:700!important}
.rbd-front-scope .rbd-tracking-form input[type=text]{grid-column:1!important;width:100%!important;min-width:0!important;min-height:48px!important;margin:0!important}
.rbd-front-scope .rbd-tracking-form .rbd-button{grid-column:2!important;min-height:48px!important;margin:0!important;white-space:nowrap!important}
@media (max-width:700px){.rbd-front-scope .rbd-tracking-form{grid-template-columns:1fr!important}.rbd-front-scope .rbd-tracking-form input[type=text],.rbd-front-scope .rbd-tracking-form .rbd-button{grid-column:1!important;width:100%!important}}


/* rEDbIT.team Black-Fix 1.6: extra starke Kapselung gegen weiße Theme-Schrift und Textschatten */
html body :is(#rbd-shipping-box,#rbd-tracking-box).rbd-box,
html body :is(#rbd-shipping-box,#rbd-tracking-box).rbd-box *{
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  text-shadow:none!important;
  filter:none!important;
  mix-blend-mode:normal!important;
}
html body :is(#rbd-shipping-box,#rbd-tracking-box).rbd-box .rbd-button,
html body :is(#rbd-shipping-box,#rbd-tracking-box).rbd-box .rbd-button *,
html body :is(#rbd-shipping-box,#rbd-tracking-box).rbd-box .rbd-ups-live h3:before{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:none!important;
}
html body :is(#rbd-shipping-box,#rbd-tracking-box).rbd-box .rbd-quote-price,
html body :is(#rbd-shipping-box,#rbd-tracking-box).rbd-box a{
  color:#c90000!important;
  -webkit-text-fill-color:#c90000!important;
}
body:has(#rbd-shipping-box) h1,
body:has(#rbd-tracking-box) h1,
body:has(#rbd-shipping-box) .entry-title,
body:has(#rbd-tracking-box) .entry-title,
body:has(#rbd-shipping-box) .wp-block-post-title,
body:has(#rbd-tracking-box) .wp-block-post-title{
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  text-shadow:none!important;
}
#rbd-tracking-box .rbd-tracking-form{display:block!important;width:100%!important;}
#rbd-tracking-box .rbd-tracking-form label{display:block!important;margin:0 0 8px!important;color:#111!important;-webkit-text-fill-color:#111!important;text-shadow:none!important;}
#rbd-tracking-box .rbd-tracking-form input[type=text]{display:block!important;width:100%!important;max-width:680px!important;margin:0 0 14px!important;color:#111!important;-webkit-text-fill-color:#111!important;background:#fff!important;text-shadow:none!important;}
#rbd-tracking-box .rbd-tracking-form .rbd-button{display:inline-flex!important;margin:0!important;}


/* PayPal Checkout */
.rbd-paypal-box{
  margin:28px 0;
  padding:0;
  overflow:hidden;
  border:1px solid #d9e2ec;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 24px rgba(17,24,39,.08);
}
.rbd-paypal-header{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 20px;
  border-bottom:1px solid #e8edf3;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.rbd-paypal-lock{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 38px;
  width:38px;
  height:38px;
  border-radius:50%;
  background:#e9f4ff;
  font-size:18px;
}
.rbd-paypal-title-wrap{min-width:0;flex:1;}
.rbd-paypal-title-wrap h3{
  margin:0 0 3px!important;
  font-size:19px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
.rbd-paypal-title-wrap p{
  margin:0!important;
  font-size:13px!important;
  color:#52616f!important;
}
.rbd-paypal-brand{
  flex:0 0 auto;
  font-weight:800;
  font-size:22px;
  letter-spacing:-1px;
  color:#003087!important;
  -webkit-text-fill-color:#003087!important;
}
.rbd-paypal-brand span{
  color:#0070e0!important;
  -webkit-text-fill-color:#0070e0!important;
}
.rbd-paypal-status{
  margin:18px 20px 0;
  padding:12px 14px;
  border:1px solid #dfe6ee;
  border-radius:9px;
  background:#f7f9fb;
  font-size:14px;
  line-height:1.45;
}
.rbd-paypal-status.rbd-paypal-success{
  border-color:#9bd2aa;
  background:#effaf2;
  color:#176b2c!important;
  -webkit-text-fill-color:#176b2c!important;
}
.rbd-paypal-status.rbd-paypal-error{
  border-color:#efb2b2;
  background:#fff3f3;
  color:#9b1c1c!important;
  -webkit-text-fill-color:#9b1c1c!important;
}
.rbd-paypal-buttons{
  width:100%;
  max-width:460px;
  margin:16px 20px 12px;
}
.rbd-paypal-trustline{
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:0 20px 18px;
  font-size:13px;
  color:#52616f!important;
  -webkit-text-fill-color:#52616f!important;
}
.rbd-paypal-trustline span{
  color:#1d7a35!important;
  -webkit-text-fill-color:#1d7a35!important;
  font-weight:700;
}
.rbd-submit-area{
  margin-top:24px;
}
.rbd-submit-hint{
  margin:0 0 10px!important;
  font-size:13px!important;
  color:#52616f!important;
  -webkit-text-fill-color:#52616f!important;
}
.rbd-button:disabled{
  opacity:.48!important;
  cursor:not-allowed!important;
  filter:grayscale(.25)!important;
  box-shadow:none!important;
}
.rbd-button.rbd-submit-ready{
  opacity:1!important;
  cursor:pointer!important;
}
html body #rbd-shipping-box .rbd-paypal-box,
html body #rbd-shipping-box .rbd-paypal-box *{
  text-shadow:none!important;
}
html body #rbd-shipping-box .rbd-paypal-buttons iframe,
html body #rbd-shipping-box .rbd-paypal-buttons iframe *{
  -webkit-text-fill-color:initial!important;
}
@media (max-width:600px){
  .rbd-paypal-header{align-items:flex-start;padding:16px;}
  .rbd-paypal-brand{font-size:19px;}
  .rbd-paypal-status{margin:16px 16px 0;}
  .rbd-paypal-buttons{width:calc(100% - 32px);margin:16px;}
  .rbd-paypal-trustline{padding:0 16px 16px;}
}

/* rEDbIT Versandportal 2.0 */
.rbd-order-summary{
  margin:24px 0;
  padding:20px;
  border:1px solid #e2e7ec;
  border-radius:14px;
  background:#fbfcfd;
  box-shadow:0 5px 18px rgba(17,24,39,.05);
}
.rbd-order-summary h3{margin:0 0 14px!important;color:#111!important;}
.rbd-order-summary dl{margin:0;display:grid;gap:10px;}
.rbd-order-summary dl>div{display:grid;grid-template-columns:minmax(130px, .45fr) 1fr;gap:16px;padding:9px 0;border-bottom:1px solid #edf0f2;}
.rbd-order-summary dl>div:last-child{border-bottom:0;}
.rbd-order-summary dt{font-weight:700;color:#4c5966!important;}
.rbd-order-summary dd{margin:0;text-align:right;color:#111!important;overflow-wrap:anywhere;}
.rbd-order-summary .rbd-summary-total{padding-top:14px;font-size:1.08rem;}
.rbd-order-summary .rbd-summary-total dd{font-weight:800;color:#c90000!important;-webkit-text-fill-color:#c90000!important;}
.rbd-legal-confirmations{
  margin:24px 0 10px;
  padding:18px 20px;
  border:1px solid #e1e4e8;
  border-radius:12px;
  background:#fff;
}
.rbd-legal-confirmations label{display:flex!important;align-items:flex-start;gap:10px;margin:0 0 12px!important;line-height:1.45!important;font-weight:500!important;}
.rbd-legal-confirmations input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;margin:2px 0 0!important;accent-color:#c90000;}
.rbd-legal-confirmations p{margin:5px 0 0!important;font-size:.9rem!important;color:#52616f!important;-webkit-text-fill-color:#52616f!important;}
.rbd-submit-area .rbd-button{min-height:52px!important;padding:13px 22px!important;font-size:1rem!important;font-weight:800!important;}
#rbd-shipping-box .rbd-brand img{max-height:86px!important;width:auto!important;object-fit:contain!important;}
#rbd-shipping-box>h2,#rbd-tracking-box>h2{font-size:clamp(1.7rem,3vw,2.35rem)!important;line-height:1.15!important;margin:8px 0 8px!important;}
#rbd-tracking-box .rbd-result{margin-top:24px;padding:20px;border:1px solid #e2e7ec;border-radius:14px;background:#fff!important;}
#rbd-tracking-box .rbd-result h3{margin-top:0!important;}
@media(max-width:700px){
  .rbd-order-summary dl>div{grid-template-columns:1fr;gap:3px;}
  .rbd-order-summary dd{text-align:left;}
}


/* Formular- und Branding-Fix 2.0.2 */
#rbd-shipping-box .rbd-brand{margin:4px 0 24px!important;padding:0!important;text-align:center!important;}
#rbd-shipping-box .rbd-brand img{
  display:block!important;
  width:min(100%,520px)!important;
  max-width:520px!important;
  max-height:none!important;
  height:auto!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  object-fit:contain!important;
}
#rbd-shipping-box .rbd-form input:not([type="hidden"]),
#rbd-shipping-box .rbd-form select{
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  padding:0 14px!important;
  line-height:46px!important;
  box-sizing:border-box!important;
}
#rbd-shipping-box .rbd-phone-field>label{margin:0!important;}
#rbd-shipping-box .rbd-phone-row{
  display:grid!important;
  grid-template-columns:minmax(150px,.9fr) minmax(0,1.6fr)!important;
  gap:10px!important;
  margin-top:6px!important;
  align-items:stretch!important;
}
#rbd-shipping-box .rbd-phone-row select,
#rbd-shipping-box .rbd-phone-row input[type="tel"]{
  width:100%!important;
  margin:0!important;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  padding:0 14px!important;
  border:1px solid #111!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  font:inherit!important;
  line-height:46px!important;
  box-shadow:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  box-sizing:border-box!important;
}
#rbd-shipping-box .rbd-phone-row select{appearance:auto!important;-webkit-appearance:menulist!important;line-height:normal!important;}
#rbd-shipping-box .rbd-phone-row select:focus,
#rbd-shipping-box .rbd-phone-row input[type="tel"]:focus{
  border-color:#ff2323!important;
  box-shadow:0 0 0 3px rgba(255,35,35,.16)!important;
  outline:none!important;
}
@media(max-width:620px){
  #rbd-shipping-box .rbd-brand img{width:min(100%,420px)!important;}
  #rbd-shipping-box .rbd-phone-row{grid-template-columns:1fr!important;}
}
