@font-face {
font-family: 'jost300light';
src:
    local('jost300light'),
    url('../fonts/Jost-300-Light.ttf');
}

/* =========================================
   SAUBERE HEADER-ARCHITEKTUR OHNE HACKS
   ========================================= */
:root {
    --topbar-height: 56px;   /* finale Gesamthöhe inkl. Innenabstand */
    --topbar-pad-y: 5px;
    --topbar-pad-x: 10px;
    --sidebar-width: 280px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: jost300light;
  background: #fff;
  font-size: 16px;
  background-size: cover;
  color: #666;
}

a, a:hover {
  text-decoration: none;
  color: #333;
}

ul, li {
  list-style: none;
}

/* Bereinigt: altes #top / #top a entfernt, moderner Header-Block weiter unten bleibt aktiv */
#logo {
  height: 100px;
  width: auto;
  float: left;
  margin-left: 2%;
}

#logo img {
  width: auto;
  height: auto;
  max-width: 100%;
}

/* Bereinigt: altes #scroll_pu mit ungültigen unitlosen Werten entfernt; spätere Definition bleibt */
.right {
  float: right;
}

.left {
  float: left;  
}

.border_adjust {
  float: right;
}

.resize {
  width: auto;
  height: auto;
  max-height: 100%;
  max-width: 100%;
}

.resize2 {
  width: 100%;
  height: auto;
  /* Bereinigt: max-height:auto entfernt, da wirkungslos */
  max-width: 100%;
}

.tn {
  min-width: 280px;
  width: 30.5%;
  margin-left: 2%;
  height: auto;
  float: left;
}

.border{
 border: 1px solid #111;
  transition: all ease 0.5s;
  margin-bottom: 15px;
}

.border:hover {
  border: 1px solid #df051c;
  transition: all ease 0.5s;
}

a img {
  border: 0;
  outline: 0;
}

.navlink {
  display: none;
  z-index: 99999;
}

/* Bereinigt: alte .navicon-Definition entfernt; kompaktere spätere Definition bleibt */
.button {
  /*color:#fff;
  background: #df051c;*/
  border: 0px;
  font-size: 17px;
  padding: 10px;
  min-width: 200px;
  cursor: pointer;
}

.button:hover {
  /*background: #ff0000;  */
}

.box {
  width: 19%;
  padding: 2%;
  margin: 1%;
  float: left;
}

.blocked {
  display: block;
}

.subcats {
  border: 1px solid #f0f0f0;
  background: #fafafa;
  padding: 10px;
  display: block; 
}

/* ÄNDERUNG HIER: position von absolute auf relative */
ul.subcats {
  position: relative; /* Schiebt jetzt den Inhalt nach unten */
  z-index: 999;
  display: block;
  margin: 10px 0 0 0; /* Etwas Abstand nach oben zum Klick-Text */
  padding: 0; 
  width: 100%; /* Nutzt die volle Breite des Containers */
  list-style: none; /* Entfernt die Standard-Punkte */
}

.subcats li {
  border-bottom: 1px solid #f0f0f0;
  text-indent: 10px;
  display: block;
  /* Breite auf auto oder 100%, damit es im Container bleibt */
  width: 100%; 
}

.subcats li a {
  display: block;
  padding: 10px;
  text-decoration: none; /* Optional: Entfernt Unterstreichung */
  color: #333; /* Deine Textfarbe */
}

.subcats li a:hover {
  background: #fff;
}
/* Bereinigt: altes .prodincart-Badge entfernt; neuer roter Counter-Block weiter unten bleibt */
p.small {
  font-size: 14px;
}

hr.dotted {
  border: 0;
  border-top: 1px dotted #aaa;
  background: none;  
}

hr {
  border: 0;
  border-top: 1px solid #ddd;
  background: none;  
} 

.imgborder {
  border: 5px solid #111;
  margin: 0px;
  padding: 0px;
}

.badge {
  width: 36px;
  height: 13px;
}

.delivery2 {
  width: auto;
  height: 15px;
}

.shipping {
  width: auto;
  height: 36px;
  margin: 1% 1% 0% 1%;
}

.wordcut {
text-overflow: ellipsis; overflow: hidden; width:95%; font-size: 16px; white-space: nowrap;
}

.pagecount {
  font-size: 14px;
  color: #aaa;
}

/*######### Navigation oben ############*/

#navi {
  z-index: 99999;
  width: 100%;
  clear: both;
  overflow: hidden;
  font-size: 20px;
}

#navi a {
  padding-right: 13px;
  color: #999;
}

#navi a:hover {
  color: #111;
}

#navi > ul.navi {
  float: left;
	color: #111;
	padding: 0;  
}

#navi > ul.navi > li {
	float: left;
}

#navi > li {
  float: left;
  list-style: none;
}

#navi > ul.navi > li.mbutton {
	display:none;
}

#navi > ul.navi > li {
	display: block;
}
#navi > ul.navi > li > a {
	color: #aaa;
	cursor: pointer;
  font-weight: bold;
}

/* ########## navigation oben ende ########*/

/* ############ sidebar links styling ############ */

ul.sidebar-nav a {
  color: #fff;
}

ul.sidebar-nav a:hover {
  color: #df051c;
}


ul.sidebar-nav li  ul  {
  float: none !important;
  display:none;
}

ul.sidebar-nav li:hover  ul  {
  float: none !important;
  display:block;
  position: relative;
  z-index: 99999;
  overflow: hidden;
}

ul.lang {
  float: right;
  margin: 0;
  padding: 0;
  z-index: 99999;
}

ul.lang li {
  float: left;
  margin-left: 10px;
  z-index: 99999;
}

ul.lang li a {
display: block;
}

.mbutton {
  display: none;
} 

/* ###### dropdown styles anfang ###### */

#sidebar-wrapper,
#sidebar-wrapper ul,
#sidebar-wrapper ul li,
#sidebar-wrapper ul li a {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#sidebar-wrapper h1 {
  margin: 0;
  padding: 0;
  font-size: 18px;  
}

#sidebar-wrapper h2 {
  margin: 0;
  padding: 0;
}

#sidebar-wrapper ul li {
  text-indent: 10px;
}

#sidebar-wrapper ul ul {
  display: none;
}
#sidebar-wrapper > ul > li.active > ul {
  display: block;
}
.align-right {
  float: right;
}
#sidebar-wrapper > ul > li > a {
  padding: 8px;
  cursor: pointer;
  z-index: 2;
  font-size: 16px;
  text-decoration: none;
  color: #111;
  -webkit-transition: color .3s ease;
  -o-transition: color .3s ease;
  transition: color .3s ease;
  border-bottom: 1px solid #ddd;
}
#sidebar-wrapper > ul > li > a:hover {
  color: #fff;
  background: #df051c;
}
#sidebar-wrapper ul > li.has-sub > a:after {
  position: absolute;
  right: 22px;
  top: 14px;
  z-index: 5;
  display: block;
  height: 10px;
  width: 2px;
  background: #fafafa;
  content: "";
  -webkit-transition: all 0.1s ease-out;
  -moz-transition: all 0.1s ease-out;
  -ms-transition: all 0.1s ease-out;
  -o-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}
#sidebar-wrapper ul > li.has-sub > a:before {
  position: absolute;
  right: 18px;
  top: 18px;
  display: block;
  width: 10px;
  height: 2px;
  background: #fafafa;
  content: "";
  -webkit-transition: all 0.1s ease-out;
  -moz-transition: all 0.1s ease-out;
  -ms-transition: all 0.1s ease-out;
  -o-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

#sidebar-wrapper ul > li.has-sub:hover > a:before,
#sidebar-wrapper ul > li.has-sub:hover > a:after {
  color: #fff !important;
}

#sidebar-wrapper ul > li.has-sub.open > a:after,
#sidebar-wrapper ul > li.has-sub.open > a:before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  background: #fff;
}

#sidebar-wrapper ul > li.has-sub.open > a {
  background: #df051c;
  color: #fff !important;
}


/* ############# navigation erkennung ############## */

#sidebar-wrapper ul > li.active > a:after {
  position: absolute;
  right: 22px;
  top: 14px;
  z-index: 5;
  display: block;
  height: 10px;
  width: 2px;
  background: #fff;
  content: "";
  -webkit-transition: all 0.1s ease-out;
  -moz-transition: all 0.1s ease-out;
  -ms-transition: all 0.1s ease-out;
  -o-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}
#sidebar-wrapper ul > li.active > a:before {
  position: absolute;
  right: 18px;
  top: 18px;
  display: block;
  width: 10px;
  height: 2px;
  background: #fff;
  content: "";
  -webkit-transition: all 0.1s ease-out;
  -moz-transition: all 0.1s ease-out;
  -ms-transition: all 0.1s ease-out;
  -o-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

#sidebar-wrapper ul > li.active:hover > a:before,
#sidebar-wrapper ul > li.active:hover > a:after {
  color: #fff !important;
}

#sidebar-wrapper ul > li.active.open > a:after,
#sidebar-wrapper ul > li.active.open > a:before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  background: #fff;
}

#sidebar-wrapper ul li ul li a.active {
  background: #fff;
  color: #df051c !important;
}

#sidebar-wrapper ul li ul li a.active:hover {
  background: #fafafa;
  color: #fff !important;
}

/* ############ navigation erkennung ende ################ */

#sidebar-wrapper ul ul li a {
  padding: 8px;
  cursor: pointer;
  z-index: 2;
  font-size: 17px;
  text-decoration: none;
  color: #000;
  text-indent: 25px;
  border-bottom: 1px dotted #ddd;
  background: #F3F3F3;
  -webkit-transition: background .3s ease;
  -o-transition: background .3s ease;
  transition: background .3s ease;
}
#sidebar-wrapper ul ul ul li a {
  padding-left: 32px;
  border-bottom: 1px solid #111;
}
#sidebar-wrapper ul ul li a:hover {
  color: #df051c !important;
  background: #fff;
}
#sidebar-wrapper ul ul > li.has-sub > a:after {
  top: 16px;
  right: 26px;
  background: #dddddd;
}
#sidebar-wrapper ul ul > li.has-sub > a:before {
  top: 20px;
  background: #dddddd;
}

/* ########## Navigation oben ende ######### */

/*############## SIDEBAR MOBILE-ONLY ################ */

#wrapper {
    position: relative;
    width: 100%;
    overflow-x: hidden; /* Verhindert das seitliche "Wackeln" beim Wischen */
    padding-top: 5px;
    transition: all 0.5s ease;
}

#sidebar-wrapper {
    z-index: 10000;
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: var(--sidebar-width);
    height: calc(100vh - var(--topbar-height));
    margin-left: calc(-1 * var(--sidebar-width));
    background: #1a1a1a;
    transition: all 0.5s ease;
    border-right: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Spezieller Hack für Chrome/Safari, um die Scrollbar unsichtbar zu machen */
#sidebar-wrapper::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

/* Der "Trigger" Zustand */
#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;       /* Sidebar kommt reingeflogen */
}

/* Seiteninhalt bleibt im normalen Fluss unter Navigation/Header */
#page-content-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

/* Hilfsklasse für Links in der Sidebar */
#sidebar-wrapper a {
    color: #fff;
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid #333;
}

/*############## SIDEBAR MOBILE-ONLY ################ */



/* Bereinigt: frühe .header-Basis entfernt; spätere Header-Fassung übernimmt Layout und Bildposition */
#content {
  width: 100%;
  padding-top: 50px;
  clear: both;
  margin: auto;
  background: url(../images/black80.png);
}

.col1 {
  width: 15%;
  float: left;
}

.col2 {
  margin: auto;
  width: 80%;
  padding: 2.5%;
  background: #fff;
  opacity: 1;
}

.textlink {
  height: 50px;
  width: 96%;
  padding: 2%;
  margin: 0;
  padding-top: 0px;
  color: #df051c;
  z-index: 999999;
  transition: all ease 0.5s;
  background: #111;
}

.textlink h1 {
  margin: 0;
  padding: 5px;    
}

.white {
  color: #fff;
}

.red {
  color: #df051c;
}

a:hover > div.textlink {
  background: #df051c;
  color: #111;
}

h1 a, h2 a, h3 a {
  color: #df051c;
}

.subcol1 {
  width: 74%;
  float: left;
  padding-right: 1%
}

.subcol2 {
  float: left;
  width: 20%;
  padding-left: 4.9%;
  border-left: none;
}

.subcol2 h2 {
  color: #df051c;  
}

.input-text, form select {
  width: 90%;
  padding: 10px 0px 10px 0px;
  margin: 1% 5% 1% 5%;
  border: 1px solid #aaa;
}
.input-text2, form select {
  width: 90%;
  padding: 10px 0px 10px 0px;
  margin:1% 5% 1% 5%;
  border: 1px solid #aaa;
}

.row {
  width: 100%;
  clear: both;
  overflow: hidden;
  margin-bottom: 20px;
}

.row2 {
  width: 100%;
  clear: both;
}

.clear {
  clear: both;
}

#footer {
  width: 100%;
  background: #fff;
  clear: both;
  position: relative;
  overflow: hidden;
}

#footer h5 {
  color: #111;
  border-bottom: 1px solid #fff;
  padding-bottom: 3px;
  margin-bottom: 0px;
  text-align: center;
  font-size: 19px;
}

#footer ul {
  padding-left: 0;
  margin-left: 0;
  text-indent: 0;  
}

#footer li  {
  padding: 5px 0px 5px 0px;
  border-bottom: 1px dotted #333;
}

#footer li a {
  color: #111;
  display: block;
  margin-left: 15px;
}

#footer li a:hover {
  color: #df051c;
}

#footer .box {
  width: 21%;
  margin: 2%;
  float: left;
  -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#footerbanner {
  margin: auto;
  width: 768px;
}

#copyright {
  width: 100%;
  text-align: center;
}

#totop {
	text-decoration: none;
	height: 9px;
	opacity: 0.7;
	filter: alpha(opacity=70);
	position: fixed;
	right: -50px;
	width: 39px;
	z-index: 999999;
	display: block;
	bottom: 30px;
	background-image: url(../images/arrow_totop.png);
	background-repeat: no-repeat;
	background-position: center 15px;
	background-color: #f2f2f2;
	font-size: 9px;
	color: #000;
	text-align: center;
	padding: 28px 0 20px 0;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}
#totop.on {
	right: 10px;
	/*opacity: 0.7;
	filter: alpha(opacity=70);
*/
}
#totop.off {
	right: -50px;
}
#totop:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}


/* ############# hotline und language styles ############# */

#hotline {
	color: #111;
  width: auto;
  text-align: left;
  font-size: 1em;
  line-height: 32px;
	/*text-shadow: -1px 1px 6px rgba(0,0,0,0.50);
*/
}
#hotline a {
	color: #111;
}

#footer > ul.lang {
	float: left;
	padding: 0;
	margin: 0;
}
#footer > ul.lang > li {
  float: left;
  margin: 0;
  padding: 0;	
}
#footer > ul.lang > li > img {
	width: 45px;
	height: 34px;
  margin: 0;
  padding: 0;
}

/* ############# hotline und language styles ende ############# */

/* ############ search und gallery styles ############## */

.col2 ul.navi {
	margin: 0;
	padding: 6px 16px;
	float: left;
}
.col2 ul.navi > li {
	float: left;
	margin-left: -9px;
	height: 33px;
}
.col2 ul.navi > li.galerie {
	width: 71px;
}
.col2 ul.navi > li.ngraphics {
	width: 106px;
}
.col2 ul.navi > li.nparts {
	width: 85px;
}
.bgarrow {
	background: url('../images/528.png') center no-repeat;
}
#searchbar {
	clear: both;
	z-index: 99999;
}
#searchbox {
	width: auto;
	border: 1px solid #ddd;
}
#searchbox:focus {
	display: block;
}
#searchbox > form > input#searchfield {
	font-family: jost300light;
	font-size: 16px;
	color: #aaa;
	background: transparent;
	border: 0;
	-webkit-appearance: none; /* for box shadows to show on iOS */
}
#searchbox > form > input#searchfield:focus {
	outline: none;
	background: #fff;
	color: #aaa;
	pointer-events: none;
}
#searchbox > form > input#searchbutton {
	text-indent: -9999px;
	width: 18px;
	height: 18px;
	border: 0px;
	background: url('../images/little_lupe.png') center no-repeat;
}
/* ############### search and gallery styles ende ########## */

/* ############## Breadcrumbs start ############### */

.breadcrumb {
	margin-bottom: 15px;
}
.breadcrumb,
 .breadcrumb a {
	color: #a3a096;
	font-size: 16px;
	font-weight: bold;
}
.breadcrumb a {
	text-transform: uppercase;
}
.breadcrumb h1 {
	font-size: 16px;
  color: #df051c;
}
.breadcrumb h2 {
	font-size: 16px;
  color: #333;
}

/* ########### breadcrumbs ende ################## */

/* ########## ACTION BAR ################ */

.actionbar {
    box-sizing: border-box;
    padding: 15px 30px 15px 120px;
    margin-bottom: 20px;
    width: 100%;
}

.actionbar a {
    font-weight: bold;
}

.actionbar-aktion {
    background: url(../images/badge_aktion.png) #e0dfdb 5px center no-repeat;
}

/* ########## ENDE ################ */

/* ############## cart und produkt styles anfang ################ */

table.cart_prod_list {
  width: 100%;
  background: #fff;
}

table.cart_prod_list td {
  border: 0px solid #e0e0e0;
  vertical-align: center;
  background: #fff;
  text-align: center;
  padding: 5px;
  
}

table.cart_prod_list tr {
/*  border-bottom: 2px solid #111;*/
}

form {
	/*margin-bottom: 10px;*/
}
 form.form_quantity {
	margin-bottom: 0;
}
.s_cart  .prodlink {
	font-weight: bold;
}
.s_cart  .prodimg {
	border: solid 1px #E2001A;
}
.s_cart  a:hover, .s_cart a:hover strong {
	color: #E2001A;
}

.upload {
  margin: 1%;
}

.fileup {
  padding: 5px;
  border: 0;
}

 .row-cart-head .form-group {
	margin-bottom: 0;
}
 form .input-text,
 form select {
	vertical-align: top;
}
 .input-text,
 form select {
	padding: 10px;
  width: 87%;
  margin: 1% 5% 1% 5%;
	background: #fff;
	color: #909090;
}
 .wrapper-embed {
	width: 455px;
	box-sizing: border-box;
	border: solid 1px #e6e6e6;
	padding: 20px;
	margin-top: 15px;
}
 .proddetails .proddetails-content p:first-child {
	margin-top: 0;
}
 .toolbar .pager p,
 .toolbar .filter ul {
	margin: 10px 0;
	padding: 0;
}
 .toolbar .pager span {
	margin-left: 20px;
}
 .toolbar .filter ul {
	list-style-type: none;
}
 .toolbar .filter ul li {
	float: left;
	margin-right: 10px;
}
 .toolbar .filter ul li:last-child {
	margin-right: 0px;
}
 .toolbar .filter ul li a {
	font-weight: bold;
}
 .toolbar .filter ul li.act a {
	padding-bottom: 5px;
}
.prodbox {
	position: relative;
  float: left;
  width: 19%;
  margin: 0% 1% 0px 1%;
  padding: 0% 2% 0% 2%;
  min-height: auto;
}

.prodbox-small {
	position: relative;
  float: left;
  width: 19%;
  margin: 1%;
  padding: 0% 2% 0% 2%;
  min-height: auto;
}

.prodbox .xr_s10 {
	font-size: 13px;
	margin: 15px 0 0 0;
	padding: 0;
	min-height: 35px;
	font-weight: bold;
}
.prodbox h2,
.prodbox-small h3 {
	font-size: 16px;
	margin: 3px 0 0px 0;
	padding: 0;
	font-weight: bold;
}
.prodbox .xr_s7 {
	margin: 3px 0 3px 0;
}
.prodbox .xr_s10, h2 a {
	color: #000;
}
.prodbox .xr_s10, h2 a:hover {
	color: #e2001a;
}
.prodbox .xr_s10, h2 a.prodbox-name {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	width: 165px;
}
.prodbox img,
.prodbox-small img,
.proddetails-prodimg img,
 .warenkorb.prodimg, .s_cart  .prodimg {
	border: solid 1px #e6e6e6;
  margin: auto;
}
.prodbox > a > img:hover {
	border-color: #e2001a;
}
.prodbox-small > a > img:hover {
	border-color: #e2001a;
}
.prodbox .delivery {
	width: 60%;
	display: inline-block;
	font-size: 9px;
	font-weight: normal;
}
.prodbox .delivery img {
	border-width: 0;
	float: left;
}
.prodbox .prodbox_liefer {
	margin-left: 5px;
}
.prodbox .prodbox_daten {
	font-weight: normal;
	margin: 0;
	padding: 0;
}
.prodbox_preis {
	margin: 0;
	padding: 3px 0 0 0;
	display: inline-block;
}
.prodbox_preis span {
	color: #e2001a;
}
.prodbox_preis img,
.prodbox h3 img,
.prodbox img.prodbox_buy,
.prodbox img.prodbox_liefer {
	border-width: 0 !important;
}
.prodbox-small .pull-left {
	width: 50%;
}
.prodbox-small .xr_s11 {
	min-height: 20px;
}
.prodbox-small .pull-right.col-md-6 {
	padding-right: 0;
}
.prodbox-small .pull-right.col-md-6 img {
	border-width: 0;
}
.prodbox-small .pull-right.col-md-6 .xr_s11 {
	margin: 2px 0 0 0;
	font-weight: bold;
}
.prodbox-small .pull-right.col-md-6 .xr_s11 a {
	color: #000;
}
.prodbox-small .pull-right.col-md-6 .xr_s11 a:hover {
	color: #e2001a;
}
.prodbox-small .pull-right.col-md-6 .xr_s4 {
	margin: 0; /* Bereinigt: Tippfehler 'fbut' entfernt */
	padding: 0;
}
.prodbox-framed {
	width: 215px;
	border: solid 1px #e6e6e6;
}
/*.prodbox-framed h3 {
	color: #fff;
	margin: 0;
	padding: 7px 10px;
	height: 45px;
	background: url(../images/prod_head.gif) top center no-repeat;
}
*/
.prodbox-framed .prodbox-content {
	padding: 0 30px 10px 30px;
}
.prodbox-framed .prodbox-img {
	position: relative;
}
.prodbox-framed .prodbox-img a {
	position: absolute;
	width: 100%;
	padding: 2px;
	display: block;
	z-index: 1;
	background: rgba(255,255,255,0.9);
	color: #FF0D0D;
	font-weight: bold;
	top: 110px;
}
.proddetails-prodimg {
	margin: auto;
}
/*.proddetails-content h3 {
	margin-top: 0;
}
.proddetails-content h3 {
	overflow: hidden;
}
*/
.proddetails-sidebar .form-group {
	margin-bottom: 10px;
}
.proddetails-sidebar .prodbox_preis {
	font-weight: bold;
	padding-bottom: 0;
	margin-bottom: 400px;
}
.proddetails-sidebar .extra {
	margin-top: 0;
}
.addtocart,
.warenkorb-sidebar p.addtocart {
	margin-left: -23px;
}
.addtocart input {
  color:#fff;
  background: #df051c;
  border: 0px;
  font-size: 17px;
  padding: 10px;
  min-width: 200px;
  width: auto;
  cursor: pointer;
  text-align: center;
}
.flushcart input {
  color:#fff;
  border: 0px;
  font-size: 17px;
  padding: 10px;
  width: 30px;
  cursor: pointer;
  text-align: center;
  float: left;
}
.printcart input {
  color:#fff;
  border: 0px;
  font-size: 17px;
  padding: 10px;
  width: 30px;
  cursor: pointer;
  text-align: center;
  margin: auto;
  
}
.warenkorb-sidebar p {
	padding: 0;
	margin: 0;
	margin-bottom: 5px;
}

/* ############## cart und produkt styles ende ################## */


/* ############### rsbar, newsletter, etc styles anfang ################## */

#rsbar {
	float: right;
	padding-left: 20px;
	width: 195px;
	margin-right: 30px;
}
#rsbar div.rsbar_box {
	width: 100%;
	border-bottom: 2px dotted #9c998e;
	padding-bottom: 20px;
	margin-bottom: 20px;
}
#rsbar div.rsbar_box:last-child {
	border-bottom-width: 0;
}
#rsbar div.rsbar_box h5 {
	margin: 10px;
	padding: 0;
	font-size: 13px;
}
#rsbar > #newsletter > form a {
	color: #BF0000;
}
#rsbar > #newsletter > form > input#newsletterform_email {
	font-size: 11px;
	border: 0 solid;
	color: #909090;
	/*text-transform: uppercase;
*/
	padding: 5px 45px 10px 10px;
	width: 178px;
	height: 48px;
	background: url('../images/2567.png') no-repeat;
}
#rsbar > #newsletter > form > p {
	margin-left: 8px;
}
#rsbar > .advertbox {
	/*border-bottom: 1px dotted #9c998e;
*/
}
#rsbar > .advertbox > .pslider {
	position: relative;
	margin-top: 15px;
	padding: 0;
	height: 135px;
	width: 175px;
	border: 1px solid #e6e6e6;
	margin: 0 auto;
	background: #fff;
}
#rsbar > .advertbox > .psliderprice {
	padding: 5px 0 5px 50px;
	background: url('../images/2573.png') 120px 0 no-repeat;
}
#rsbar > .advertbox > .psliderprice p {
	padding: 0;
	margin: 5px 0;
}
#rsbar > .advertbox #pslider {
	width: 175px;
}
#rsbar > .advertbox #pslider a {
	text-align: center;
	display: inline-block;
	width: 175px;
	margin: 0 auto;
}
#rsbar > .advertbox #pslider a img {
	margin: 0 auto;
}
#rsbar > .couponbox {
	/*border-bottom: 1px dotted #9c998e;
*/
}
#rsbar > .couponbox img {
}
#rsbar > .infotickerbox {
}
#rsbar > .infotickerbox > .infoheader {
	width: 180px;
	height: 71px;
	background: url('../images/ith.png') right top no-repeat;
}
#rsbar > .infotickerbox > .infocontent {
	width: 180px;
	height: 150px;
	background: url('../images/itb.png') right top repeat-y;
}
#rsbar > .infotickerbox > .infocontent  > ul {
	list-style-type: none;
	list-style-position: outside;
	list-style-image: none;
	margin: 0;
	padding: 5px;
}
#rsbar > .infotickerbox > .infocontent  > ul > li {
	padding: 10px;
}
#rsbar > .infotickerbox > .infofooter {
	width: 180px;
	height: 15px;
	background: url('../images/itb.png') right top repeat-y;
}

/* ############### rsbar, newsletter, etc styles ende ##################### */

/* css für modal zusatzbilder */

/* Style the Image Used to Trigger the Modal */
#myImg, #myImg2 {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover, #myImg2:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.85); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption, #caption2 {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption, #caption2 { 
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close, .close2 {
    position: absolute;
    top: 15px;
    right: 10px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 99999;
}

.close:hover, .close:focus, .close2:hover, .close2:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

/* ==============================
   BLOCK 1: DEIN BASIS-HEADER DESIGN
   ============================== */
/* Finaler Header-Balken: feste Gesamthöhe, kein Rechentrick über Padding */
#top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    width: 100%;
    box-sizing: border-box;
    height: var(--topbar-height);
    padding: var(--topbar-pad-y) var(--topbar-pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1a1a1a;
    color: #fff;
    clear: both;
    margin: 0;
}

/* Aktiv: finale #scroll_pu-Definition */
#scroll_pu {
    display: none; 
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
    transition: opacity 0.25s ease;
}

.lang-switch {
    position: relative;
}

.lang-current img {
    width: 24px;
    height: auto;
    cursor: pointer;
}

#lang-list {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    transform: translateX(calc(-50% + 0.5px));
    background-color: #1a1a1a;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    list-style: none;
    padding: 5px 12px 5px 10px;
    min-width: 30px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
}

#lang-list.open {
    opacity: 1;
    visibility: visible;
}

#lang-list li img {
    width: 24px;
    height: auto;
    display: block;
    transform: translateX(-0.5px);
}

/* Aktiv: finale .navicon-Definition */
.navicon {
    height: 24px;
    width: auto;
    display: block;
}

.menu-icon {
    width: 36px;
    height: 24px;
    object-fit: contain;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Aktiv: finale .prodincart-Definition */
.prodincart {
    background: #e60000;
    color: #fff;
    border-radius: 9px;
    font-size: 12px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    padding: 0 4px;
}

#top img {
    margin: 0;
    padding: 0;
    border: 0;
}

#top a {
    color: #fff;
    text-decoration: none;
}

/* ==============================
   GLOBALE SUCHE & HEADER-FIX
   ============================== */

/* 1. Das Suchfeld schwebt über dem Bild ohne Platz zu fressen */
#mobile-search-overlay {
    display: none;
    position: absolute;
    top: calc(100% - 2px); /* 2px nach oben verschoben */
    left: 0;
    width: 100%;
    z-index: 10000;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

/* 3. HEADER-BILD POSITIONIERUNG */
/* Header-Bild liegt sauber unter dem fixen Top-Balken */
.header {
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
    line-height: 0;
    margin: 0;
    padding-top: var(--topbar-height);
}

.header img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
}

/* SONSTIGES (CONSENT etc.) */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* Verhindert das Scrollen der Seite im Hintergrund */
html.search-open, 
body.search-open {
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
    position: fixed !important; /* Das "Brecheisen" für Mobile */
}

/* =========================
   SEARCH – FINAL V3
   ========================= */

.search-input-wrapper {
    display: flex;
    width: 90%;
    margin: 8px auto 10px auto; /* optisch 2px weiter nach oben */
    align-items: stretch;
}

#global-search-input {
    -webkit-appearance: none;
    appearance: none;
    flex: 1 1 auto;
    height: 44px;
    margin: 0;
    border: 1px solid #4a4a4a;
    border-right: 0;
    padding: 0 12px;
    font-size: 16px;
    line-height: 44px;
    background: rgba(255,255,255,0.95);
    color: #000;
    box-sizing: border-box;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    background-image: none;
}

.search-submit-btn {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    margin: 0;
    padding: 0 20px;
    background: #1a1a1a !important;
    color: #fff;
    border: 1px solid #4a4a4a;
    border-left: 0;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    background-image: none !important;
}

#global-search-input:focus,
.search-submit-btn:focus,
.search-submit-btn:active {
    outline: none;
    box-shadow: none;
    border-color: #4a4a4a;
}

.search-submit-btn:hover {
    background: #2a2a2a !important;
    border-color: #4a4a4a;
}

/* =========================
   TOP ACTIONS / CONTACT
   ========================= */

#top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

#top-actions > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.top-whatsapp img {
    width: 18px;
    height: 18px;
    display: block;
}

.hotline-link {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.hotline-link:hover {
    color: #d0d0d0;
}

/* =========================
   FINAL MICRO-TWEAK
   Abstand Fahne → Lupe
   ========================= */

.lang-switch {
    margin-right: 2px;
}

/* =========================
   KORREKTUR: WhatsApp + Hotline
   zurück auf Originalgröße
   ========================= */

#top-actions a[href*="api.whatsapp.com"] img {
    width: 18px !important;
    height: 18px !important;
}

#top-actions a[href^="tel:"] {
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: normal !important;
}

#top-actions a[href^="tel:"] b {
    font-size: inherit !important;
    font-weight: bold !important;
}

/* =========================
   WhatsApp + Hotline FINAL (kleiner)
   ========================= */

/* WhatsApp Icon */
#top-actions a[href*="api.whatsapp.com"] img {
    width: 15px !important;
    height: 15px !important;
}

/* Hotline kompakt */
#top-actions a[href^="tel:"] {
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

/* Bold ruhiger */
#top-actions a[href^="tel:"] b {
    font-weight: 600 !important;
}

/* =========================
   WhatsApp → Hotline Abstand
   ========================= */

#top-actions a[href*="api.whatsapp.com"] {
    margin-right: 3px;
}

#top-actions a[href^="tel:"] {
    padding-left: 3px;
    border-left: none;
}

@media (max-width: 767px) {
  html,
  body {
    margin: 0;
    padding: 0;
    font-size: 16px;
  }

  ul,
  li {
    list-style: none;
  }

  .hidden {
    display: none;
  }

  .right,
  .left {
    float: none;
    width: 96%;
    margin: 1%;
  }

  .right img.resize,
  .left img.resize {
    margin: 1%;
    text-align: center;
    width: 98%;
    height: auto;
  }

  .resize {
    width: auto;
    height: auto;
    max-width: 100%;
  }

  .border_adjust {
    margin-left: 3%;
    float: right;
  }

  .navlink {
    display: none;
    font-size: 16px;
    margin-left: 35px;
    margin-top: -20px;
  }

  .navicon {
    height: 22px;
    margin: 0;
  }

  .mbutton {
    display: block;
    float: right;
  }

  #sidebar-wrapper > ul > li > a,
  #sidebar-wrapper > ul > li > ul > li > a {
    font-size: 14px !important;
  }

  #wrapper {
    padding-left: 0;
  }

  #wrapper.toggled {
    padding-left: 0;
  }

  #sidebar-wrapper {
    width: 0;
    background: #1a1a1a;
  }

  #wrapper.toggled #sidebar-wrapper {
    width: 100%;
  }

  #page-content-wrapper {
    position: relative;
    width: 96%;
  }

  #wrapper.toggled #page-content-wrapper {
    margin-right: 0;
  }

  .col1 {
    width: 90%;
    float: none;
  }

  .col2 {
    margin: 2.5%;
    width: 90%;
    padding: 2.5%;
  }

  .subcol1,
  .subcol2 {
    float: none;
    width: 100%;
  }

  .box {
    width: 44%;
    margin: 1%;
  }

  .prodbox {
    width: 98%;
    margin: 1%;
  }

  .prodimg {
    width: 80%;
    margin: 0 10%;
  }

  #footer .box {
    width: 95%;
    padding: 2.5%;
    float: none;
  }
}

@media (min-width: 470px) and (max-width: 768px) {
  .prodbox {
    width: 42%;
    margin: 1%;
  }

  .prodimg {
    width: 80%;
    height: auto;
    margin: 0 10%;
  }

  .tn {
    min-width: 47%;
    margin-left: 0;
    height: auto;
    float: left;
  }

  .box {
    width: 44%;
    margin: 2%;
  }

  .border_adjust {
    float: right;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .prodbox {
    width: 25%;
    margin-left: 3%;
  }

  .prodimg {
    width: 80%;
    height: auto;
    margin: 0 10%;
  }

  .box {
    width: 44%;
    margin: 1%;
  }
}

/* =========================================
   FINALE KONSOLIDIERTE OVERRIDES
   ========================================= */

#top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(-2px);
    margin-left: auto;
}

.lang-switch {
    position: relative;
    margin-right: 2px;
}

#mobile-search-overlay {
    top: calc(100% - 2px);
}

.search-input-wrapper {
    display: flex;
    width: 90%;
    margin: 8px auto 10px auto;
    align-items: stretch;
    gap: 0;
    background: transparent;
}

#global-search-input {
    -webkit-appearance: none;
    appearance: none;
    flex: 1 1 auto;
    height: 44px;
    margin: 0;
    border: 1px solid #4a4a4a;
    border-right: 0;
    padding: 0 12px;
    font-size: 16px;
    line-height: 44px;
    background: rgba(255,255,255,0.95);
    color: #000;
    box-sizing: border-box;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    background-image: none;
}

.search-submit-btn {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    margin: 0;
    padding: 0 20px;
    background: #1a1a1a !important;
    color: #fff;
    border: 1px solid #4a4a4a;
    border-left: 0;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    background-image: none !important;
}

#global-search-input:focus,
.search-submit-btn:focus,
.search-submit-btn:active {
    outline: none;
    box-shadow: none;
    border-color: #4a4a4a;
}

.search-submit-btn:hover {
    background: #2a2a2a !important;
    border-color: #4a4a4a;
}

#top-actions a[href*="api.whatsapp.com"] img {
    width: 15px !important;
    height: 15px !important;
}

#top-actions a[href*="api.whatsapp.com"],
#top-actions a[href^="tel:"] {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

#top-actions a[href*="api.whatsapp.com"] {
    margin-right: 3px;
}

#top-actions a[href^="tel:"] {
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    padding-left: 3px;
    border-left: none;
}

#top-actions a[href^="tel:"] b {
    font-weight: 600 !important;
}

@media (max-width: 767px) {
    #sidebar-wrapper {
        background: #1a1a1a;
    }
}



/* =========================================
   SELECT FALLBACK – CLEAN
   globaler Icomoon-Select entfernt in v3.2
   ========================================= */

select::-ms-expand {
    display: none;
}

/* =========================================
   SIDEBAR – WIEDERHERGESTELLT AUS SAVE-DATEI
   ========================================= */

ul.sidebar-nav a {
  color: #111 !important;
}

ul.sidebar-nav a:hover {
  color: #df051c !important;
}

#sidebar-wrapper {
    z-index: 10000;
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: var(--sidebar-width);
    height: calc(100vh - var(--topbar-height));
    margin-left: calc(-1 * var(--sidebar-width));
    background: #ffffff !important;
    transition: all 0.5s ease;
    border-right: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-shadow: 2px 0 14px rgba(0,0,0,0.06);
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0 !important;
}

#sidebar-wrapper > ul > li > a {
    padding: 11px 14px !important;
    font-size: 15px !important;
    color: #222 !important;
    background: #fff !important;
    border-bottom: 1px solid #ececec !important;
    transition: background 0.2s ease, color 0.2s ease;
}

#sidebar-wrapper > ul > li > a:hover {
    color: #df051c !important;
    background: #fafafa !important;
}

#sidebar-wrapper ul > li.has-sub > a:after,
#sidebar-wrapper ul > li.has-sub > a:before {
    background: #b8b8b8 !important;
}

#sidebar-wrapper ul > li.has-sub.open > a {
    background: #f7f7f7 !important;
    color: #df051c !important;
    border-bottom-color: #e5e5e5 !important;
}

#sidebar-wrapper ul > li.has-sub.open > a:after,
#sidebar-wrapper ul > li.has-sub.open > a:before,
#sidebar-wrapper ul > li.active.open > a:after,
#sidebar-wrapper ul > li.active.open > a:before {
    background: #df051c !important;
}

#sidebar-wrapper ul ul li a {
    padding: 10px 14px !important;
    font-size: 15px !important;
    color: #333 !important;
    text-indent: 18px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: #fcfcfc !important;
    transition: background 0.2s ease, color 0.2s ease;
}

#sidebar-wrapper ul ul li a:hover {
    color: #df051c !important;
    background: #f7f7f7 !important;
}

#sidebar-wrapper ul li ul li a.active {
    background: #fff !important;
    color: #df051c !important;
    font-weight: 700 !important;
}

#sidebar-wrapper > ul > li.active > a {
    background: #df051c !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: inset 4px 0 0 #000 !important;
}

#sidebar-wrapper > ul > li.active > a:after,
#sidebar-wrapper > ul > li.active > a:before {
    background: #fff !important;
}

#sidebar-wrapper > ul > li.active > a:hover {
    background: #df051c !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    #sidebar-wrapper {
        width: 0 !important;
        background: #ffffff !important;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 100% !important;
        margin-left: 0 !important;
    }

    #sidebar-wrapper > ul > li > a,
    #sidebar-wrapper ul ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* =========================================
   FOOTER – APP-STYLE, SAUBER NEU AUFGESETZT
   ========================================= */

.footer-app {
    background: #f7f7f7;
    padding: 24px 14px 18px 14px;
    margin-top: 28px;
    border-top: 1px solid #e8e8e8;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, auto); justify-content: space-between;
    gap: 16px;
}

.footer-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 8px 6px;
    box-sizing: border-box;
}

.footer-card h5 {
    margin: 0 0 12px 0;
    padding: 0;
    text-align: left;
    font-size: 16px;
    line-height: 1.2;
    color: #111;
    border: 0;
}

.footer-card ul {
    margin: 0;
    padding: 0;
}

.footer-card li {
    margin: 0;
    padding: 0;
    border: 0;
}

.footer-card li + li {
    margin-top: 8px;
}

.footer-card a {
    display: block;
    color: #666;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.footer-card a:hover {
    color: #df051c;
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.footer-logos-shipping {
    margin-top: 14px;
}

.footer-logos-payments {
    margin-top: 12px;
    justify-content: flex-start;
}

.footer-card .shipping {
    margin: 0;
    height: 30px;
    width: auto;
}

.footer-card-payments .shipping {
    height: 28px;
}

.footer-copyright {
    padding: 14px 12px 30px 12px;
    text-align: center;
    background: #f7f7f7;
}

.footer-copyright p.small {
    margin: 0;
    color: #888;
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .footer-app {
        padding: 18px 10px 14px 10px;
        margin-top: 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 8px 6px;
    box-sizing: border-box;
}

    .footer-card h5 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer-card a {
    display: block;
    color: #666;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

    .footer-card .shipping {
        height: 26px;
    }

    .footer-card-payments .shipping {
        height: 24px;
    }

    .footer-copyright {
        padding-bottom: 24px;
    }
}

/* =========================================
   FOOTER FEINTUNING (clean + lighter)
   ========================================= */

.footer-card li + li {
    margin-top: 6px;
}

.footer-inner {
    gap: 10px;
}

.footer-card h5 {
    color: #333;
    font-weight: 600;
}

/* =========================================
   FINALE FIXES – FOOTER + OVERFLOW
   ========================================= */

/* 1) Hellerer gepunkteter Trenner im Footer */
#footer li {
    border-bottom: 1px dotted #cfcfcf !important;
}

/* Falls noch alte HRs im Einsatz sind, ebenfalls heller */
hr.dotted {
    border-top: 1px dotted #d8d8d8 !important;
}

/* 2) Mehr Luft um Zahlungsarten */
.footer-card-payments {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.footer-logos-payments {
    margin-top: 16px !important;
    margin-bottom: 10px !important;
}

/* 3) Harter Schutz gegen horizontales Verschieben / Overflow */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

#wrapper,
#page-content-wrapper,
#content,
#footer,
.footer-app,
.footer-inner,
.footer-card,
.header,
.header img {
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile besonders stabil halten */
@media (max-width: 767px) {
    html,
    body {
        overflow-x: hidden;
    }

    #wrapper,
    #page-content-wrapper,
    #content,
    #footer,
    .footer-app,
    .footer-inner,
    .footer-card {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    /* Das war ein typischer Kandidat für "breiter als Viewport" */
    #page-content-wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Footer auf Mobile nie breiter als das Viewport machen */
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 14px;
    }

    .footer-card {
        min-width: 0;
    }
}

/* =========================================
   FINALE CLEAN OVERRIDES
   Einspaltiger Footer + zentrierte Unterpunkte
   ========================================= */

/* Footer bewusst einspaltig für ruhigeres App-Feeling */
.footer-inner {
    grid-template-columns: 1fr !important;
    justify-content: normal !important;
    gap: 12px !important;
}

/* Footer-Karten kompakter und sauber untereinander */
.footer-card {
    width: 100%;
    max-width: 100%;
}

/* Unterpunkte in der Sidebar nicht mehr am linken Rand kleben */
#sidebar-wrapper ul ul li a {
    text-indent: 0 !important;
    text-align: center !important;
    padding: 10px 16px !important;
    margin: 0 8px !important;
    border-radius: 6px !important;
    background: #fcfcfc !important;
}

/* Mobile exakt gleich beibehalten */
@media (max-width: 767px) {
    .footer-inner {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    #sidebar-wrapper ul ul li a {
        text-indent: 0 !important;
        text-align: center !important;
        padding: 10px 16px !important;
        margin: 0 8px !important;
        border-radius: 6px !important;
    }
}

/* =========================================
   ARTIKELNUMMER HIGHLIGHT (SEARCH)
   ========================================= */

.category-product-info .artnr-highlight {
    color: #cd0000;
    font-weight: 700;
}

/* =========================================
   FOOTER LOGOS – EINZEILIG + ZENTRIERT
   ========================================= */

.footer-logos {
    display: flex;
    flex-wrap: nowrap;              /* ALLES IN EINER LINIE */
    justify-content: center;        /* ZENTRIERT */
    align-items: center;
    gap: 16px;
    overflow-x: auto;               /* falls es eng wird → scroll statt break */
    -webkit-overflow-scrolling: touch;
}

.footer-logos img {
    display: block;
    object-fit: contain;
}

/* Shipping größer */
.footer-logos-shipping .shipping {
    height: 42px;
    width: auto;
}

/* Payments etwas kleiner */
.footer-logos-payments .shipping {
    height: 34px;
    width: auto;
}

/* Mobile Feinschliff */
@media (max-width: 767px) {

    .footer-logos {
        gap: 12px;
    }

    .footer-logos-shipping .shipping {
        height: 36px;
    }

    .footer-logos-payments .shipping {
        height: 30px;
    }
}

/* =========================================
   FOOTER HEADLINES – HIERARCHIE OPTIMIERT
   ========================================= */

.footer-card h5 {
    margin-top: 15px !important;
    margin-bottom: 12px !important;
    font-weight: 500 !important;     /* leichter */
    color: #555 !important;          /* heller */
    letter-spacing: 0.3px;
}

/* =========================================
   GLOBAL ALERT SYSTEM (PREMIUM)
   ========================================= */

.alert {
    margin: 16px 0 20px 0;
    padding: 18px 16px;

    border: 1px solid transparent;
    background: #fafafa;

    box-sizing: border-box;
}

/* Text */
.alert p {
    margin: 0;
    padding-left: 12px;
    font-size: 14px;
    line-height: 1.45;
}

/* Mehr Luft bei nur einem Satz */
.alert p:only-child {
    padding-top: 4px;
    padding-bottom: 4px;
}

/* SUCCESS */
.alert-success {
    border-color: #2e7d32;
    color: #2e7d32;
}

/* ERROR */
.alert-danger {
    border-color: #df051c;
    color: #df051c;
}

/* =========================================
   ROW-H1 – GLOBALE HEADLINE KOMPONENTE
   ========================================= */

.row-h1 {
    padding: 10px 0 5px 5px;
    margin-bottom: 20px;
}

.row-h1 h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #333;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.row-h1 h2 a {
    color: #333;
}

.row-h1 h2 a:hover {
    color: #df051c;
}

.row-h1 .sep {
    margin: 0 6px;
    color: #aaa;
}

.row-h1 .subtitle {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #999;
    font-weight: 400;
    letter-spacing: 0.2px;
}

@media (max-width: 767px) {
    .row-h1 h2 {
        font-size: 22px;
        letter-spacing: -0.3px;
    }

    .row-h1 .subtitle {
        font-size: 13px;
    }
}

/* =========================================
   NEWS PAGE SELECT – MOBILE MODERN
   ersetzt _fields/cs-skin-border
   ========================================= */

.news-jumpto-form {
    width: 100%;
    margin: 20px 0;
    box-sizing: border-box;
}

.news-select-container {
    width: 100%;
    max-width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
}

.news-select-container select {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    box-sizing: border-box !important;

    margin: 5px 0 10px 0 !important;
    padding: 0.8em 38px 0.8em 0.8em !important;

    border: 1px solid #aaa;
    border-radius: 0;
    background: #fff;

    color: #555;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.3;

    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}

.news-select-container select:focus {
    outline: none;
    border-color: #888;
    box-shadow: none !important;
    font-weight: 400;
}

.news-select-container::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;

    width: 8px;
    height: 8px;

    border-right: 2px solid #666;
    border-bottom: 2px solid #666;

    transform: translateY(-55%) rotate(45deg);
    pointer-events: none;
}

/* =========================================
   CONTACT PAGE – FINAL
   2 SPALTEN BIS UST-ID, DANACH 1 SPALTE
   ========================================= */

.contact-content {
    padding-left: 5px;
    margin-top: -10px;
}

.contact-top {
    margin: 0;
}

.contact-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.contact-table td {
    vertical-align: top;
    padding: 4px 14px 4px 0;
    line-height: 1.45;
    color: #555;
}

.contact-table h3 {
    margin: 14px 0 4px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #333;
}

.contact-block {
    padding-left: 8px;
}

.contact-block a {
    color: #333;
}

.contact-block a:hover {
    color: #df051c;
}

.contact-bottom {
    margin-top: 10px;
}

.contact-bank-heading {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #333;
}

.contact-payments {
    width: 100%;
    max-width: 520px;
}

.contact-banktext {
    margin: 0 0 18px 0;
    line-height: 1.55;
    color: #555;
}

.contact-payment-item {
    margin: 0 0 16px 0;
}

.payment-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #333;
}

.payment-link:hover {
    color: #df051c;
}

.payment-link img {
    display: block;
    flex-shrink: 0;
}

.payment-link span {
    line-height: 1.35;
}

.contact-legal {
    margin-top: 28px;
}

.contact-legal-item {
    border-top: 1px solid #e8e8e8;
    padding: 14px 0;
}

.contact-legal-item:first-child {
    border-top: 0;
}

.contact-legal-trigger {
    display: block;
    color: #333;
}

.contact-legal-trigger:hover {
    color: #df051c;
}

.contact-legal-trigger h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

@media (max-width: 767px) {
    .contact-content {
        padding-left: 0;
        margin-top: -6px;
    }

    .contact-table,
    .contact-table tbody,
    .contact-table tr,
    .contact-table td {
        display: block;
        width: 100% !important;
    }

    .contact-table td {
        padding-right: 0;
    }

    .contact-bottom {
        margin-top: 14px;
    }

    .contact-payments {
        max-width: 100%;
    }

    .payment-link {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-legal {
        margin-top: 24px;
    }
}

/* =========================================
   CONTACT FORM – MOBILE MODERN
   ========================================= */

.contact-form-modern {
    width: 390px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.contact-form-modern .form-group {
    width: 100%;
    margin: 0 0 12px 0;
    box-sizing: border-box;
}

.contact-form-modern .input,
.contact-form-modern .input--minoru {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-form-modern select,
.contact-form-modern input[type="text"],
.contact-form-modern input[type="email"],
.contact-form-modern textarea {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    box-sizing: border-box !important;
    margin: 0 0 10px 0 !important;
    padding: 0.8em !important;
    border: 1px solid #aaa;
    border-radius: 0;
    background: #fff;
    color: #666;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}

.contact-form-modern textarea {
    min-height: 130px;
    resize: vertical;
    margin-top: 8px !important;
    overflow: auto;

    font-size: 16px;      /* sicherstellen */
    line-height: 1.3;     /* angleichen */
    font-weight: 400;     /* wichtig */
}

.contact-form-modern select:focus,
.contact-form-modern input[type="text"]:focus,
.contact-form-modern input[type="email"]:focus,
.contact-form-modern textarea:focus {
    outline: none;
    border-color: #888;
    box-shadow: none !important;
}

.contact-form-modern .select-container {
    width: 100%;
    max-width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
}

.contact-form-modern .select-container select {
    padding-right: 38px !important;
}

.contact-form-modern .select-container::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: translateY(-55%) rotate(45deg);
    pointer-events: none;
}

/* Upload Box */
.contact-form-modern .contact-upload-box {
    width: 100%;
    margin: 0 0 12px 0;
    padding: 10px;
    margin-top: 12px;
	border: 1px solid #aaa;
    box-sizing: border-box;
    background: #fff;
}

.contact-form-modern .upload {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px 0;
}

.contact-form-modern .upload:last-child {
    margin-bottom: 0;
}

.contact-form-modern .upload-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    display: block;
}

.contact-form-modern .fileup {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    box-sizing: border-box;
}

.contact-form-modern .captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 25px 0 12px 0 !important;
}

.contact-form-modern .captcha-img {
    width: 100px;
    height: 40px;
    flex: 0 0 auto;
    border: 1px solid #ccc;
    cursor: pointer;
	background: #fff;
    box-sizing: border-box;
}

.contact-form-modern .captcha-group input {
    flex: 1 1 auto;
    height: 40px;
    margin: 0 !important;
    padding: 0 10px !important;
}

.contact-form-modern #formsubmitbutton {
    width: 100%;
    margin-top: 45px; /* ← NEU */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.contact-form-modern #formsubmitbutton.is-hidden {
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
}

.contact-form-modern button[type="submit"] {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid #df051c;
    border-radius: 4px;
    background: #df051c;
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.contact-form-modern button[type="submit"]:active {
    transform: scale(0.99);
}

.contact-form-modern #buttonreplacement {
    display: none;
    width: 100% !important;
    text-align: center;
    padding: 12px 0;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.contact-form-modern #buttonreplacement.is-active {
    opacity: 1;
    transform: translateY(0);
}

.contact-form-modern #buttonreplacement img {
    max-width: 90px;
    display: block;
    margin: 0 auto;
}

.contact-form-modern #buttonreplacement p {
    font-size: 13px;
    margin-top: 8px;
    color: #777;
}

/* =========================================
   SEARCH PAGE – USE CONTACT FIELD SYSTEM
   ========================================= */

.search-inline-group {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.search-inline-group input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
}

.search-inline-button {
    width: 50px;
    flex: 0 0 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 0 10px 0;
    padding: 0;

    border: 0 !important;                 /* ← Rahmen komplett weg */
    border-radius: 0;
    background: transparent !important;   /* ← kein grauer Hintergrund */

    cursor: pointer;

    -webkit-appearance: none !important;
    appearance: none !important;

    outline: none !important;
    box-shadow: none !important;

    -webkit-tap-highlight-color: transparent;
}

/* alle Zustände neutral */
.search-inline-button:hover,
.search-inline-button:focus,
.search-inline-button:focus-visible,
.search-inline-button:active {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Firefox inner focus */
.search-inline-button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* Lupe */
.search-inline-button img {
    width: 32px;
    height: 32px;
    display: block;

    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;

    transform: translateY(-5px); /* ← 5px nach oben */
}

/* Sicherheit gegen aggressive globale Styles */
.search-inline-button *,
.search-inline-button *:focus,
.search-inline-button *:active {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.search-page-examples {
    margin: 8px 0 0 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

/* =========================================
   CATEGORY PAGE – MOBILE FIRST PRODUCT GRID
   ========================================= */

.category-page {
    width: 100%;
    background: #fff;
}

.category-intro {
    margin: 0 0 18px 0;
}

.category-intro h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
    color: #444;
    font-weight: 500;
}

.category-subcat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    margin: 0 0 24px 0;
    box-sizing: border-box;
}

.category-subcat-card {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    color: #333;
}

.category-subcat-card:hover {
    background: #fff;
    color: #df051c;
    border-color: #ddd;
}

.category-subcat-name {
    font-size: 15px;
    line-height: 1.3;
}

.category-subcat-count {
    min-width: 26px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #fff;
    color: #999;
    font-size: 12px;
    text-align: center;
}

.category-products-head {
    margin: 18px 0 14px 0;
}

.category-products-head h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.category-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0 4px; /* ⬅️ gleiche Einrückung wie Toolbar */
}

.category-product-card {
    display: block;
    padding: 8px 4px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
}

.category-product-card > a:first-child {
    display: block;
}

.category-product-card > a:first-child img {
    width: 100% !important;
    height: auto !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0;
    box-sizing: border-box;
    display: block;
    background: #fff;
}

.category-product-info {
    padding-left: 1px;
}

.category-product-card .xr_s10 {
    min-height: 0 !important;
    margin: 8px 0 5px 0 !important;
    line-height: 1.25;
}

.category-product-card .prodbox-name {
    width: auto !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    color: #222;
    font-size: 14px;
    line-height: 1.25;
}

.category-product-card .prodbox_daten {
    font-size: 12px;
    color: #777;
    line-height: 1.35;
}

.category-product-card .prodbox_preis {
    margin-top: 6px !important;
    min-height: 0 !important;
    font-size: 14px;
}

.category-product-card strike {
    color: #000;
}

.category-product-card .pull-left.xr_s7 {
    font-size: 12px;
    color: #777;
    margin-top: 6px;
}

.category-product-card .prodbox_liefer {
    transform: scale(1.05) translateY(-1px);
    transform-origin: left center;
}

/* Sehr kleine Geräte */
@media (max-width: 380px) {
    .category-product-grid {
        grid-template-columns: 1fr;
    }

    .category-product-card .prodbox-name {
        font-size: 15px;
    }
}

/* Größere Mobile */
@media (min-width: 520px) {
    .category-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-product-card > a:first-child img {
        max-width: 212px;
        margin: 0 auto;
    }
}

/* Desktop */
@media (min-width: 900px) {
    .category-subcat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =========================================
   SUBCATEGORY CROSS SELLING
   ========================================= */

.cart-cross-alert {
    margin-top: 10px;
    margin-bottom: 20px;
}

.cart-cross-selling {
    margin-top: 8px;
    margin-bottom: 24px;
}

/* =========================================
   SUBCATEGORY TOOLBAR
   ========================================= */

.subcategory-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 8px 0 10px 0;
    padding: 0 4px; /* ⬅️ FIX: gleiche Einrückung wie Grid */
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}

.subcategory-pager {
    flex: 1 1 auto;
    min-width: 0;
}

.subcategory-pager p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #777;
    white-space: nowrap;
}

.subcategory-filter {
    flex: 0 0 auto;
    margin-left: auto;
}

.subcategory-filter ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.subcategory-filter li {
    margin: 0;
    padding: 0;
    background: transparent;
}

.subcategory-filter a {
    font-size: 12px;
    color: #555;
    text-decoration: none;
}

.subcategory-filter li.act a {
    color: #df051c;
    font-weight: 700;
}

/* Kleine Geräte */
@media (max-width: 420px) {
    .subcategory-toolbar {
        gap: 8px;
    }

    .subcategory-pager p,
    .subcategory-filter a {
        font-size: 11px;
    }

    .subcategory-filter ul {
        gap: 6px;
    }
}

/* =========================================
   SUBCATEGORY ALTERNATIVES
   ========================================= */

.subcategory-alternatives {
    margin: 24px 0 0 0;
    padding: 0 4px;
    box-sizing: border-box;
}

.subcategory-alternatives-title {
    margin: 0 0 29px 0;
    font-size: 17px;
    line-height: 1.35;
    color: #333;
    font-weight: 500;
}

.subcategory-alternative-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 29px 14px; /* ↑ oben/unten mehr Abstand */
}

.subcategory-alternative-card {
    display: block;
    background: transparent;
    border: none;
    box-sizing: border-box;
}

.subcategory-alternative-image {
    display: block;
}

.subcategory-alternative-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
    background: #fff;
}

.subcategory-alternative-info {
    padding: 7px 1px 0 1px;
}

.subcategory-alternative-name {
    display: block;
    color: #222;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    text-decoration: none;
}

.subcategory-alternative-badge {
    margin-top: 5px;
}

.subcategory-alternative-badge img {
    display: inline-block;
    border: 0;
    position: relative;
    top: -1px;
}

@media (max-width: 380px) {
    .subcategory-alternative-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 520px) {
    .subcategory-alternative-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .subcategory-alternative-image img {
        max-width: 140px;
        margin: 0 auto;
    }
}

@media (min-width: 900px) {
    .subcategory-alternative-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.subcategory-return-box {
    margin: 22px 0 14px 0;
    padding: 14px 16px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
}

.subcategory-return-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
}

.subcategory-return-box h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    color: #333;
}

/* =========================================
   PRODUCT PAGE – MOBILE ONLY (CLEAN FINAL)
   ========================================= */

.product-page {
    width: 100%;
    background: #fff;
    padding-bottom: 60px;
}

.product-head {
    margin-bottom: 14px;
}

.product-layout {
    display: block;
}

/* =========================================
   GALLERY
   ========================================= */

.product-gallery-card {
    text-align: left;
}

.product-gallery-main {
    display: block;
    text-align: center;
}

.product-gallery-card img {
    max-width: 100%;
    height: auto;
    background: #fff;
    box-sizing: border-box;
}

.product-gallery-actions {
    width: 390px;
    max-width: 100%;
    margin: 6px auto 0 auto;

    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.product-gallery-actions a {
    display: inline-flex;
    align-items: center;
}

.product-gallery-actions > a > img {
    display: block;
    position: relative;
    top: -2px;
}

/* INFO */

.product-gallery-info {
    margin-left: auto;
    text-align: right;

    font-size: 14px;
    line-height: 1.25;
    color: #555;

    flex: 1 1 auto;
}

.product-gallery-info p {
    margin: 0;
    white-space: nowrap;
}

.product-gallery-info img {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

.product-gallery-info .ampel-link {
    display: inline-flex;
    align-items: center;
    margin-left: 3px;
    cursor: pointer;
    vertical-align: middle;
}

.product-gallery-info .product-status-light {
    width: 52px;
    height: 12px;
    display: block;
    position: relative;
    top: -1px;
    margin-left: 0;
    border: 0;
}

/* =========================================
   DESCRIPTION
   ========================================= */

.product-description-under-gallery {
    width: 390px;
    max-width: 100%;
    margin: -6px auto 0 auto;

    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.product-description-title {
    margin: 2px 0 6px 0;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 600;
    color: #222;
}

.product-description-under-gallery p {
    margin: 0 0 12px 0;
}

/* =========================================
   BUY BOX
   ========================================= */

.product-buy-card {
    width: 390px;
    max-width: 100%;
    margin: 12px auto 0 auto;
}

.product-buy-card .form-group {
    margin: 0 0 12px 0;
}

.product-buy-card h3 {
    font-size: 17px;
    line-height: 1.25;
    font-weight: 600;
    color: #222;
    margin: 8px 0 6px 0;
}

/* =========================================
   BUY ROW – QTY + PRICE
   ========================================= */

.product-buy-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 12px 0;
}

.product-qty-group {
    margin: 0 !important;
    flex: 0 0 auto;
}

.product-qty-group h3 {
    margin: 0 0 5px 0;
    font-size: 13px;
    line-height: 1.25;
}

.product-price-box {
    flex: 1;
    min-width: 0;
    padding-top: 22px;
}

/* =========================================
   FIELDS (MATCH CONTACT)
   ========================================= */

.product-buy-card select,
.product-buy-card input[type="text"],
.product-buy-card textarea {
    width: 100% !important;
    box-sizing: border-box !important;

    display: block;
    margin: 0 0 10px 0 !important;
    padding: 0.8em !important;

    border: 1px solid #aaa;
    background: #fff;

    color: #555;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.3;

    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}

.product-buy-card textarea {
    min-height: 130px;
    resize: vertical;
}

.product-buy-card select:focus,
.product-buy-card input[type="text"]:focus,
.product-buy-card textarea:focus {
    outline: none;
    border-color: #888;
}

/* =========================================
   SELECT ARROW
   ========================================= */

.product-buy-card .select-container {
    position: relative;
}

.product-buy-card .select-container select {
    padding-right: 34px !important;
}

.product-buy-card .select-container::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;

    width: 8px;
    height: 8px;

    border-right: 2px solid #666;
    border-bottom: 2px solid #666;

    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
}

/* =========================================
   QUANTITY – MATCH INPUT STYLE
   ========================================= */

.product-buy-card .qty-field {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 44px;

    display: flex;
    align-items: center;

    border: 1px solid #aaa;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.product-buy-card .qty-btn {
    width: 36px !important;
    height: 44px;

    padding: 0;
    border: 0;
    background: transparent;

    flex: 0 0 36px;

    font-size: 20px;
    font-weight: 500;
    color: #aaa;
    line-height: 1;

    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.product-buy-card .qty-btn:hover {
    color: #555;
    background: #fafafa;
}

.product-buy-card .qty-btn:active {
    color: #333;
    background: #f2f2f2;
}

.product-buy-card .qty-btn:focus {
    outline: none;
}

.product-buy-card .qty-btn:focus-visible {
    outline: 2px solid #aaa;
    outline-offset: -2px;
}

.product-buy-card .qty-field input.qty-input {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;

    height: 44px;
    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    background: transparent !important;

    text-align: center;
    font-size: 16px;
    line-height: 1;
    color: #333;
}

.product-buy-card .qty-field input.qty-input:focus {
    outline: none;
}

/* =========================================
   PRODUCT PRICE – BESIDE QTY (FINAL CLEAN)
   ========================================= */

.product-price-box .prodbox_preis {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;

    font-size: 0;
}

/* Streichpreis + Badge sichtbar halten */
.product-price-box .price-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* normalen Einzelpreis ausblenden */
.product-price-box .price-current {
    display: none;
}

/* Streichpreis */
.product-price-box #price_orig_container {
    font-size: 14px;
    line-height: 1.2;
    color: #777 !important;
}

/* BADGE */
.product-price-box .price-badge {
    margin-right: 9px;
}

/* Hauptpreis / Gesamtpreis */
.product-price-box .js-total-price {
    display: inline-block;
    margin-top: 0;

    font-size: 22px;
    line-height: 1.18;
    font-weight: 700;
    color: #df051c;
    white-space: nowrap;
}

/* Versand / MwSt */
.product-price-note {
    display: block;
    width: 100%;
    margin: 4px 0 0 0 !important;
    padding: 0 !important;

    font-size: 11px;
    line-height: 1.35;
    color: #777;
    text-align: left;
}

/* =========================================
   ADD TO CART
   ========================================= */

.product-buy-card .addtocart {
    display: block;
    width: 100%;
    margin: 12px 0 0 0 !important;
    padding: 0 !important;
    text-align: left;
}

.product-buy-card .addtocart input[type="submit"] {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    box-sizing: border-box;

    margin: 0 !important;
    padding: 13px 14px;

    border: 1px solid #df051c;
    background: #df051c;

    color: #fff;
    font-size: 17px;
    font-weight: 600;

    cursor: pointer;
}

/* =========================================
   PRICE STRIKE FIX
   ========================================= */

.product-buy-card #price_orig_container {
    display: inline-block;

    color: #777 !important;
    font-size: 18px;
    font-weight: 400;

    position: relative;
}

.product-buy-card #price_orig_container::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;

    height: 1px;
    background: currentColor;

    transform: translateY(-50%);
}

.product-buy-card #price_orig {
    color: inherit !important;
}

/* =========================================
   PRODUCT SECURITY SECTION – MINIMAL
   ========================================= */

.product-security-section {
    margin-top: 22px;
}

/* Box komplett entfernen */
.product-security-box {
    border: 0;
    background: transparent;
    padding: 0;
}

/* Titel bleibt wie Beschreibung */
.product-security-head {
    margin: 0 0 6px 0;

    font-size: 17px;
    line-height: 1.25;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.2px;
}

/* Hersteller */
.product-security-producer {
    margin: 0 0 8px 0;

    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

/* Links – komplett neutral */
.product-security-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-security-links a {
    display: inline;

    padding: 0;
    border: 0;
    background: transparent;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
    color: #333;

    text-decoration: none;   /* ← KEIN Unterstrich */
}

/* dezentes Hover */
.product-security-links a:hover,
.product-security-links a:active {
    color: #df051c;
    text-decoration: none;
}

/* =========================================
   PRICE STRIKE FIX (GLOBAL)
   ========================================= */

/* Container neutralisieren */
.product-buy-card #price_orig_container {
    display: inline-block;

    color: #777 !important;
    font-size: 18px;
    font-weight: 400;

    position: relative;
}

/* STRIKE sauber über € + Preis */
.product-buy-card #price_orig_container::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;

    height: 1px;
    background: currentColor;

    transform: translateY(-50%);
}

/* innerer Preis darf nichts überschreiben */
.product-buy-card #price_orig {
    color: inherit !important;
}

/* =========================================
   META
   ========================================= */

.product-meta-card {
    width: 390px;
    max-width: 100%;
    margin: 16px auto 0 auto;
    padding: 12px 0;

    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;

    font-size: 13px;
    color: #777;
}

/* =========================================
   OLD DESCRIPTION FIX
   ========================================= */

.product-description-card:not(.product-description-under-gallery) {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.55;
    color: #555;
}

.product-description-card:not(.product-description-under-gallery) h2,
.product-description-card:not(.product-description-under-gallery) h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

/* =========================================
   EXPRESS CHECKOUT
   ========================================= */

.product-buy-card .express-checkout {
    margin: 10px 0 0 0;
    text-align: center;
}

/* Divider */
.product-buy-card .express-checkout-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin: 12px 0 10px 0;

    color: #888;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
}

.product-buy-card .express-checkout-divider::before,
.product-buy-card .express-checkout-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

/* BUTTON */
.product-buy-card .express-checkout-btn {
	text-indent: -70px;
    position: relative;

    width: 100%;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 140px 0 14px;

    border: 1px solid #222;
    background: #fff;

    color: #222;
    font-size: 16px;
    font-weight: 600;
    text-align: center;

    cursor: pointer;
    box-sizing: border-box;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.product-buy-card .express-checkout-btn:hover {
    background: #f7f7f7;
}

.product-buy-card .express-checkout-btn:active {
    background: #eee;
}

/* =========================================
   FIXED LOGO SLOT
   ========================================= */

.product-buy-card .express-checkout-logos {
    position: absolute;
    right: 14px;
    top: 50%;

    transform: translateY(-50%);

    display: inline-flex;
    align-items: center;
    justify-content: flex-end;

    width: 128px;
    height: 26px;

    overflow: visible;
}

/* Base */
.product-buy-card .express-checkout-logos img {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* PayPal */
.product-buy-card .express-checkout-logos img.paypal-logo {
    height: 18px;
    margin-right: 9px;
}

/* Apple */
.product-buy-card .express-checkout-logos img.applepay-logo {
    height: 18px;
    margin-right: -1px;
    transform: translateY(1px);
}

/* Google Pay */
.product-buy-card .express-checkout-logos img.gpay-logo {
    width: 68px;
    max-width: none;
    height: auto;
    transform: translateY(1px);
}

/* Note */
.product-buy-card .express-checkout-note {
    margin: 8px 0 0 0;

    color: #777;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
}

/* =========================================
   CART MODERN MOBILE
   ========================================= */

.cart-modern {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cart-card {
    display: block;
    padding: 14px 0;
    border-bottom: 0;
    box-sizing: border-box;
}

.cart-card-head {
    margin-bottom: 12px;
}

.cart-card-title {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: #222;
}

.cart-card-title:hover {
    color: #df051c;
}

.cart-card-meta {
    font-size: 12px;
    line-height: 1.35;
    color: #777;
}

.cart-card-main {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.cart-card-image img {
    width: 190px;
    height: auto;
    border: 1px solid #e6e6e6;
    box-sizing: border-box;
    display: block;
}

.cart-card-side {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cart-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-card-form {
    margin: 0;
}

.cart-card-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cart-update-btn,
.cart-delete-btn,
.cart-checkout-btn,
.cart-secondary-actions button {
    border: 0;
    box-sizing: border-box;
    cursor: pointer;
}

.cart-update-btn {
    display: none;
}

.cart-delete-form {
    margin: 0;
    flex: 1; /* nimmt restliche Breite */
}

.cart-delete-btn {
    width: 100%; /* füllt das Form komplett */
    min-height: 34px;
    padding: 0 10px;
    background: #f4f4f4;
    color: #666;
    border: 1px solid #ddd;
    font-size: 13px;
    text-align: center;
}

.cart-card-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 12px 0 0 0;
    font-size: 13px;
}

.cart-card-prices strong {
    color: #333;
    font-size: 14px;
    line-height: 1.35;
}

.cart-card-prices del {
    color: #999;
    font-weight: 400;
}

.cart-card-prices > div:last-child {
    text-align: right;
    margin-right: 15px;
}

.cart-card-prices > div:last-child strong {
    display: block;
    text-align: right;
}

.cart-card-total {
    color: #cd0000 !important;
}

.cart-summary {
    margin-top: 20px;
    padding: 16px 12px;
    background: #f7f7f7;
    border: 1px solid #e8e8e8;
    box-sizing: border-box;
}

.cart-summary-line,
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px 0;
    font-size: 14px;
}

.cart-summary-total {
    padding-top: 10px;
    border-top: 1px solid #ddd;
    font-size: 17px;
    font-weight: 700;
    color: #cd0000;
}

.cart-summary-note,
.cart-summary-shipping {
    margin: 10px 0 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: #777;
}

.cart-checkout-btn {
    width: 100%;
    min-height: 42px;
    margin-top: 14px;
    background: #df051c;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.cart-secondary-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
}

.cart-secondary-actions button {
    width: 100%;
    min-height: 42px;
    background: #fff;
    color: #555;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* =========================================
   CART SECTION BOX – PREMIUM (FLAT)
   ========================================= */

.cart-section-box {
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    padding: 14px 16px;
    margin: 25px 0 15px 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    box-sizing: border-box;
}

.cart-section-box h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    color: #333;
}

/* =========================================
   CART QTY – FIXED (MATCH PRODUCT STYLE)
   ========================================= */

.cart-card .qty-field {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    height: 34px;

    display: flex;
    align-items: center;

    border: 1px solid #aaa;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.cart-card .qty-btn {
    width: 20px !important;
    height: 34px;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    background: transparent !important;
    background-image: none !important;

    flex: 0 0 20px;

    font-size: 15px;
    font-weight: 500;
    color: #aaa;
    line-height: 1;

    cursor: pointer;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;

    transition: color 0.2s ease, background 0.2s ease;
}

.cart-card .qty-btn:hover {
    color: #555;
    background: #fafafa !important;
}

.cart-card .qty-btn:active {
    color: #333;
    background: #f2f2f2 !important;
}

.cart-card .qty-btn:focus {
    outline: none;
}

.cart-card .qty-btn:focus-visible {
    outline: 2px solid #aaa;
    outline-offset: -2px;
}

.cart-card .qty-field input.qty-input {
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;

    height: 34px;
    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    background: transparent !important;
    background-image: none !important;

    flex: 0 0 18px;

    text-align: center;
    font-size: 13px;
    line-height: 1;
    color: #222;

    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
}

.cart-card .qty-field input.qty-input:focus {
    outline: none;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 430px) {
    .cart-card-main {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 12px;
    }

    .cart-card-image img {
        width: 160px;
    }
}

@media (max-width: 370px) {
    .cart-card-main {
        grid-template-columns: 140px minmax(0, 1fr);
        gap: 10px;
    }

    .cart-card-image img {
        width: 140px;
    }

    .cart-delete-btn {
        padding: 0 8px;
        font-size: 12px;
    }
}

/* =========================================
   CHECKOUT ADDRESS FORM – MOBILE MODERN
   s_cart_send_1.php
   ========================================= */

.checkout-address-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.checkout-address-form .row {
    width: 100%;
    margin: 0 0 14px 0;
    padding: 0;
    box-sizing: border-box;
}

.checkout-address-form .col-md-3,
.checkout-address-form .col-md-4,
.checkout-address-form .col-md-6,
.checkout-address-form .col-md-8,
.checkout-address-form .col-md-9,
.checkout-address-form .col-md-12 {
    width: 100%;
    float: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.checkout-address-form p,
.checkout-address-form strong {
    color: #222;
    font-size: 17px;
    line-height: 1.25;
}

.checkout-address-form p {
    margin: 0 0 12px 0;
}

.checkout-address-form .form-group {
    width: 100%;
    margin: 0 0 12px 0;
    box-sizing: border-box;
}

/* =========================================
   INPUT / SELECT STANDARD
   ========================================= */

.checkout-address-form .input-text,
.checkout-address-form .input-full,
.checkout-address-form input[type="text"],
.checkout-address-form input[type="email"],
.checkout-address-form input[type="tel"],
.checkout-address-form select {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 48px;
    margin: 0 !important;
    padding: 0 13px !important;
    box-sizing: border-box !important;
    border: 1px solid #cfcfcf;
    border-radius: 0 !important;
    background: #fff;
    color: #333 !important;
    font-family: inherit;
    font-size: 16px;
    line-height: 48px;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    box-shadow: none;
}

.checkout-address-form input:focus,
.checkout-address-form select:focus,
.checkout-address-form .input-text:focus {
    border-color: #000 !important;
    background-color: #fff !important;
    outline: none;
}

.checkout-address-form input::placeholder {
    color: #999;
    opacity: 1;
}

/* Fehlerzustand */
.checkout-address-form .input-error {
    border-color: #ff0000 !important;
    background-color: #fff5f5 !important;
    color: #333 !important;
}

.checkout-address-form .input-error:focus {
    border-color: #cc0000 !important;
    background-color: #fff5f5 !important;
}

/* =========================================
   SELECT ARROW
   ========================================= */

.checkout-address-form .select-container {
    position: relative;
    width: 43%;
    min-width: 120px;
    max-width: 180px;
}

.checkout-address-form .select-container select {
    width: 100% !important;
    padding-right: 34px !important;
}

.checkout-address-form .select-container::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: translateY(-55%) rotate(45deg);
    pointer-events: none;
}

/* Land-Select volle Breite */
.checkout-address-form .form-group.select-container:has(select[name="land"]),
.checkout-address-form .form-group.select-container:has(select[name="lief_land"]) {
    width: 100%;
    max-width: 100%;
}

/* =========================================
   RADIO / CHECKBOX
   ========================================= */

.checkout-address-form .radio-inline,
.checkout-address-form .checkbox label {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 34px;
    margin: 0 14px 0 0 !important;
    color: #333 !important;
    font-size: 15px;
    line-height: 1.25;
    cursor: pointer;
}

.checkout-address-form input[type="radio"],
.checkout-address-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 7px 0 0 !important;
    padding: 0 !important;
    accent-color: #df051c;
    flex-shrink: 0;
}

/* Haupt-Checkbox Container (sauber & kompakt) */
.checkout-address-form .checkbox {
    margin: 0 !important;
    margin-bottom: 14px !important;
    padding: 4px 0 10px 0 !important;
    border: 0 !important;
}

/* Checkbox direkt unter Kontaktblock enger ziehen */
.checkout-address-form .checkout-section {
    margin-bottom: 0 !important;
}

.checkout-address-form .checkout-section .row:last-child {
    margin-bottom: 0 !important;
}

.checkout-address-form .checkout-section + input[type="hidden"] + .checkbox {
    margin-top: 0px !important; /* +10px zurück */
    padding-top: 0 !important;
}

.checkout-address-form .checkbox label {
    display: flex !important;
    margin: 0 !important;
}

.checkout-address-form .checkbox span,
.checkout-address-form .radio-inline span {
    position: static !important;
    top: auto !important;
    margin-left: 0 !important;
}

.checkout-address-form .radio-inline:last-of-type {
    margin-bottom: 0 !important;
}

.checkout-address-form .address-street-block {
    margin-top: 15px !important;
}

/* =========================================
   FIRMA CONTAINER
   ========================================= */

.checkout-address-form #InputContainer1 {
    display: none;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    min-height: 0 !important;
}

.checkout-address-form #InputContainer1[style*="display: block"] {
    display: block !important;
    margin: 8px 0 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.checkout-address-form #InputContainer1 .form-group {
    margin-bottom: 12px !important;
}

.checkout-address-form #InputContainer1 input {
    margin-bottom: 4px !important;
}

.checkout-address-form #InputContainer1 .muted2.extra {
    margin: 8px 0 10px 0 !important;
    color: #777;
    font-size: 13px;
    line-height: 1.4;
}

.checkout-address-form #InputContainer1 .muted2.extra a,
.checkout-address-form .muted2.extra a {
    color: #df051c;
    font-weight: 600;
}

/* Abstand Radio-Gruppe zur Straße kleiner */
.checkout-address-form > .row:first-of-type > .col-md-6:first-child {
    margin-bottom: 4px !important;
}

.checkout-address-form > .row:first-of-type > .col-md-6:nth-child(2) {
    margin-top: 0 !important;
}

/* =========================================
   ABWEICHENDE LIEFERADRESSE
   ========================================= */

.checkout-address-form .liefer_abweichend {
    padding: 0 !important;
    margin: 0 !important;
}

/* Hidden */
.checkout-address-form .liefer_abweichend[style*="display: none"] {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Sichtbar → kompakter Abstand */
.checkout-address-form .liefer_abweichend[style*="display: block"] {
    display: block !important;
    padding: 6px 0 2px 0 !important;
    margin: 0 !important;
}

/* Abstand direkt unter Checkbox sauber reduzieren */
.checkout-address-form .checkbox {
    margin-bottom: 4px !important;
    padding-bottom: 0 !important;
}

/* Erste Zeile ohne Extra-Luft */
.checkout-address-form .row.liefer_abweichend {
    margin: 0 !important;
    padding: 0 !important;
}

/* Erster Inhalt oben bündig */
.checkout-address-form .row.liefer_abweichend > .col-md-6:first-child,
.checkout-address-form .row.liefer_abweichend > .col-md-6:first-child > .form-group:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Radio-Gruppe kompakt */
.checkout-address-form .liefer_abweichend .form-group {
    margin-bottom: 10px !important;
}

/* Helper Text */
.checkout-address-form .muted2.extra {
    margin: 6px 0 0 0 !important;
    color: #777;
    font-size: 13px;
    line-height: 1.35;
}

/* kleine Feldgruppen */
.checkout-address-form .row .col-md-3,
.checkout-address-form .row .col-md-4,
.checkout-address-form .row .col-md-8,
.checkout-address-form .row .col-md-9 {
    margin-bottom: 12px;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (min-width: 600px) {
    .checkout-address-form > .row:first-of-type {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        align-items: start;
    }

    .checkout-address-form > .row:first-of-type > .col-md-6,
    .checkout-address-form .liefer_abweichend > .col-md-6 {
        width: 100%;
    }

    .checkout-address-form .row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 599px) {
    .checkout-address-form {
        padding: 0;
    }

    .checkout-address-form .row {
        display: block !important;
    }

    .checkout-address-form .input-text,
    .checkout-address-form .input-full,
    .checkout-address-form input[type="text"],
    .checkout-address-form input[type="email"],
    .checkout-address-form input[type="tel"],
    .checkout-address-form select {
        height: 50px;
        line-height: 50px;
        font-size: 16px;
    }
}

/* =========================================
   FIX: Abstand STRASSE → PLZ (Lieferadresse)
   ========================================= */

.checkout-address-form .liefer_abweichend .row + .row {
    margin-top: -6px !important;
}

/* =========================================
   BEMERKUNG → TEXTAREA
   ========================================= */

.checkout-address-form .checkout-textarea-row {
    margin-top: 15px !important;
}

.checkout-address-form textarea.input-text {
    height: auto !important;
	min-height: 200px;
	line-height: 1.4 !important;
    padding: 12px 13px !important;
    resize: vertical;
}

/* =========================================
   PAYMENT SELECTION – CLEAN / SHOPIFY STYLE
   ========================================= */

.checkout-address-form .custom-payment .payment-box {
    max-width: 700px;
    margin: 0;
    padding: 0;

    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;

    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    box-sizing: border-box;
    overflow: hidden;
}

/* =========================================
   PAYMENT OPTION ROW
   ========================================= */

.checkout-address-form .custom-payment .payment-option {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 14px;

    min-height: 52px;
    height: 52px;

    padding: 0 16px;

    cursor: pointer;
    transition: background 0.2s ease;

    box-sizing: border-box;
    user-select: none;
}

/* Divider */
.checkout-address-form .custom-payment .payment-option + .payment-option {
    border-top: 1px solid #eee;
}

/* Hover */
.checkout-address-form .custom-payment .payment-option:hover {
    background: #fafafa;
}

/* Selected */
.checkout-address-form .custom-payment .payment-option.selected {
    background: #f7f7f7;
    box-shadow: inset 3px 0 0 #df051c;
}

/* Disabled */
.checkout-address-form .custom-payment .payment-option.disabled {
    opacity: 0.4;
    background: #fafafa;
    cursor: not-allowed;
    pointer-events: none;
}

/* =========================================
   LEFT SIDE
   ========================================= */

.checkout-address-form .custom-payment .payment-left {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
}

/* Radio */
.checkout-address-form .custom-payment input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;

    accent-color: #df051c;

    cursor: pointer;
    flex-shrink: 0;
}

/* =========================================
   PAYMENT NAME
   ========================================= */

.checkout-address-form .custom-payment .payment-name {
    font-size: 14px;
    line-height: 1.25;
    color: #222;

    text-align: right;
    font-weight: 400;
}

/* =========================================
   PAYMENT LOGOS – FIXED SLOT
   ========================================= */

.checkout-address-form .custom-payment .payment-logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 8px;

    width: 110px;
    height: 28px;

    overflow: visible;

    flex: 0 0 110px;
    min-width: 110px;
}

.checkout-address-form .custom-payment .payment-logos img {
    display: block;

    max-height: 22px;
    width: auto;
    height: auto;

    object-fit: contain;
}

/* VISA */
.checkout-address-form .custom-payment .payment-logos img.visa {
    max-height: 14px;
}

/* VENMO */
.checkout-address-form .custom-payment .payment-logos img.venmo {
    max-height: 18px;
}

/* EC / Bank */
.checkout-address-form .custom-payment img[alt="Bank"] {
    height: 29px;
    width: auto;
    max-height: none;

    transform: translateY(-1px);
}

/* Google Pay */
.checkout-address-form .custom-payment .payment-logos img.gpay-logo {
    width: 90px !important;
    min-width: 90px !important;

    height: auto !important;
    max-height: none !important;

    margin-left: -14px !important;

    transform: translateY(1px);

    object-fit: contain;
}

/* DHL Express */
.checkout-address-form .custom-payment .payment-logos img.dhl-express {
    height: 38px;
    width: auto;
    max-height: none;

    transform: translateX(4px) translateY(1px);
}

/* =========================================
   NOTE
   ========================================= */

.checkout-address-form .custom-payment .note {
    margin-top: 4px;

    font-size: 12px;
    color: #777;
}

/* =========================================
   PAYMENT + SHIPPING SECTION
   ========================================= */

.checkout-address-form .payment-section {
    margin-top: 28px;
}

/* Section Title */
.checkout-address-form .checkout-section-title {
    display: block;

    margin: 0 0 12px 0;

    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;

    color: #222;
}

/* =========================================
   TRUST TEXT
   ========================================= */

.checkout-address-form .checkout-payment-note {
    margin: 10px 0 0 0;

    font-size: 12px;
    line-height: 1.35;

    color: #777;
    text-align: center;
}

/* =========================================
   INFO TEXT (unter Versand)
   ========================================= */

.checkout-address-form .checkout-info-row {
    margin-top: 10px;
}

.checkout-address-form .checkout-info-text {
    display: block;
    line-height: 1.6;
    color: #777;
    font-size: 12px;
}

.checkout-address-form .checkout-info-firm {
    display: inline;
}

.checkout-address-form .custom-payment .payment-logos img.dhl-express {
    transform: translateX(10px);
}

.checkout-address-form .checkout-info-text strong {
    font-size: inherit;
}

/* =========================================
   COUPON
   ========================================= */

.checkout-address-form .coupon-section {
    margin-top: 20px;
}

.checkout-address-form .coupon-note {
    margin-top: 10px;
}

.checkout-address-form .coupon-note .muted2.extra {
    color: #777;
    font-size: 12px;
}

.checkout-address-form .coupon-note .muted2.extra {
    line-height: 1.2; /* oder 1.2 für kompakter */
}

/* =========================================
   CHECKOUT SUBMIT BUTTON
   ========================================= */

.checkout-address-form .checkout-submit-row {
    margin-top: 30px;
    margin-bottom: 50px;
}

.checkout-address-form .checkout-submit-button {
    width: 100%;
    height: 52px;

    background: #df051c;
    color: #fff;

    border: none;
    border-radius: 0;

    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.2px;

    cursor: pointer;
    transition: background 0.2s ease, transform 0.05s ease;
}

/* Hover */
.checkout-address-form .checkout-submit-button:hover {
    background: #b80416;
}

/* Active (Klick-Feedback) */
.checkout-address-form .checkout-submit-button:active {
    background: #990312;
    transform: scale(0.98);
}

/* Fokus (Accessibility!) */
.checkout-address-form .checkout-submit-button:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* =========================================
   CHECKOUT REVIEW – ADDRESS
   s_cart_send_2.php
   ========================================= */

.checkout-review-section {
    width: 100%;
    margin: 0 0 24px 0;
    box-sizing: border-box;
}

.checkout-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px 0;
    padding: 0;
    color: #222;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;
}

.checkout-edit-link {
    display: inline-flex;
    align-items: center;
    padding: 4px;
}

.checkout-edit-link img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.checkout-edit-link:hover img {
    opacity: 1;
}

.checkout-review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.checkout-review-card {
    padding: 14px 13px;
    border: 1px solid #cfcfcf;
    background: #fff;
    box-sizing: border-box;
}

.checkout-review-card-title {
    margin: 0 0 10px 0;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.checkout-review-card p {
    margin: 0 0 10px 0;
    color: #555;
    font-size: 15px;
    line-height: 1.45;
}

.checkout-review-card p:last-child {
    margin-bottom: 0;
}

@media (min-width: 600px) {
    .checkout-review-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

/* =========================================
   CHECKOUT REVIEW – SUMMARY
   s_cart_send_2.php
   ========================================= */

.checkout-summary-card {
    padding: 0;
}

.checkout-summary-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 12px 13px;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 15px;
    line-height: 1.35;
}

.checkout-summary-line:last-child {
    border-bottom: 0;
}

.checkout-summary-line strong {
    white-space: nowrap;
    color: #222;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
}

.checkout-summary-line small {
    display: inline-block;
    margin-top: 3px;
    color: #777;
    font-size: 12px;
    line-height: 1.35;
}

.checkout-summary-line small a {
    color: #df051c;
    font-weight: 600;
}

.checkout-summary-total {
    background: #fafafa;
    border-top: 1px solid #cfcfcf;
    border-bottom: 0;
}

.checkout-summary-total span,
.checkout-summary-total strong {
    color: #111;
    font-size: 17px;
    font-weight: 800;
}

/* =========================================
   CHECKOUT FINAL SECTION
   s_cart_send_2.php
   ========================================= */

.checkout-final-section {
    margin-top: 26px;
    margin-bottom: 50px;
}

.checkout-final-section .checkout-ad-select {
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
}

.checkout-agb-box {
    margin: 20px 0 24px 0;
    padding: 14px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.checkout-agb-box label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.checkout-agb-box input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 1px 0 0 0 !important;
    accent-color: #df051c;
    flex-shrink: 0;
}

.checkout-agb-box span {
    display: block;
}

.checkout-agb-box.checkout-agb-error {
    color: #df051c;
}

.checkout-agb-box.checkout-agb-error label,
.checkout-agb-box.checkout-agb-error span,
.checkout-agb-box.checkout-agb-error a {
    color: #df051c;
}

/* =========================================
   CHECKOUT SUBMIT / LOADING
   s_cart_send_2.php
   ========================================= */

.checkout-submit-row {
    margin-top: 30px;
    margin-bottom: 50px;
}

.checkout-submit-button {
    width: 100%;
    height: 52px;
    background: #df051c;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.05s ease;
}

.checkout-submit-button:hover {
    background: #b80416;
}

.checkout-submit-button:active {
    background: #990312;
    transform: scale(0.98);
}

.checkout-submit-button:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.checkout-loading {
    display: none;
    text-align: center;
    margin-top: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.checkout-loading.is-active {
    opacity: 1;
}

.checkout-loading img {
    max-width: 100%;
    height: auto;
    margin-bottom: 8px;
}

.checkout-loading p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.35;
}

.is-hidden {
    display: none !important;
}

/* =========================================
   CHECKOUT PAYGATE / PAYPAL + WALLET BUTTONS
   s_cart_send_2.php
   ========================================= */

.checkout-paygate-agb {
    margin: 20px 0 14px 0;
    padding: 14px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.checkout-paygate-agb label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.checkout-paygate-agb input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 1px 0 0 0 !important;
    accent-color: #df051c;
    flex-shrink: 0;
}

.checkout-paygate-agb span {
    display: block;
}

.checkout-paygate-wrapper {
    margin-top: 12px;
    transition: opacity 0.25s ease;
}

.checkout-paygate-wrapper.is-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.checkout-paygate-wrapper.is-enabled {
    opacity: 1;
    pointer-events: auto;
}

/* =========================================
   MOBILE PAY (GPay / Apple Pay Container)
   ========================================= */

.checkout-address-form .mobile-pay-button-container {
    min-height: 44px;
    width: 100%;
}

.checkout-address-form .mobile-pay-note {
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.4;
}

/* =========================================
   SPACER FIX
   ========================================= */

.spacer-10 { height: 10px; }
.spacer-20 { height: 20px; }
.spacer-30 { height: 30px; }
.spacer-40 { height: 40px; }

.spacer-60 { height: 60px; }
.spacer-80 { height: 80px; }
.spacer-100 { height: 100px; }

/* =========================================
   MODAL (UNVERÄNDERT – BASIS)
   ========================================= */

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 999999;
    inset: 0;
    background: rgba(0,0,0,.72);
}

.modal-container {
    position: fixed;
    inset: 12px;
    background: #fff;
    max-width: 760px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
}

.close-modal {
    border: 0;
    background: none;
    font-size: 30px;
    cursor: pointer;
}

.modal-content {
    height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 14px;
    -webkit-overflow-scrolling: touch;
}

/* =========================================
   MODAL TABLE MOBILE FIX (STRICT)
   ========================================= */

/* Body sperren, aber Modal-Inhalt bleibt scrollbar */
body.modal-open {
    overflow: hidden;
}

.modal-content {
    max-width: 100%;
    box-sizing: border-box;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.modal-content .modal-header-sub,
.modal-content table,
.modal-content tbody,
.modal-content tr,
.modal-content td {
    max-width: 100%;
    box-sizing: border-box;
}

.modal-content table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed;
    border-collapse: collapse;
}

.modal-content td {
    padding: 7px 6px !important;
    font-size: 13px;
    line-height: 1.35;
    vertical-align: middle;

    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Textspalte */
.modal-content td:first-child {
    width: 70%;
}

/* Preis-Spalte */
.modal-content td:last-child {
    width: 30%;
    text-align: right;
}

/* colspan-Textzeilen zwingend linksbündig */
.modal-content td[colspan="2"] {
    width: 100% !important;
    text-align: left !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

/* alte align-divs neutralisieren */
.modal-content td div[align="right"] {
    text-align: right;
    white-space: nowrap;
}

/* Überschriften dürfen nicht breiter werden */
.modal-content .modal-header-sub h3 {
    margin: 14px 0 8px 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Close Button rot */
.close-modal {
    color: #df051c !important;
    -webkit-appearance: none;
    appearance: none;
}

.close-modal:hover,
.close-modal:focus,
.close-modal:active {
    color: #df051c !important;
    outline: none;
    box-shadow: none;
}

/* SHIPPING LOGOS (MODAL) */
.shipping-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin: 10px 0;
}

.shipping-logos img {
    width: 60px;
    height: 60px;
    object-fit: contain;

    border-radius: 6px;
    background: #fff;

    flex: 0 0 auto;
}