
:root {
  --width: 600px;
}

@media (max-width: 1275px) {
  .cart-box {
    background-color: #690101 !important; /* oder eine andere feste Farbe */
  }
}


/* latin */
@font-face {
  font-family: 'Tangerine';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/Tangerine-Regular.ttf');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Tangerine';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/Tangerine-Bold.ttf');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


body {
	background: #690101;
	background-image:url('../images/background.png');
	background-position:center;
	background-attachment:fixed;
	background-repeat:no-repeat;
	background-size:cover;
	overflow-y: scroll; /* Show vertical scrollbar */
}


.page {
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  width: var(--width);
  margin: 30px auto;
  
  font-family: 'Tangerine', cursive;
  font-size: 30px;
  
  border: 0px solid #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  /* Background lines */
  background-image: linear-gradient(#f5f5f0 1.3rem, #ccc 1.4rem);
  background-size: 100% 1.4rem;
  box-shadow: 2px 3px 20px black, 0 0 60px #8a4d0f inset;
  line-height: 1.4rem;
  padding: 1.4rem 0.5rem 0.3rem 0.5rem;
  line-height: 1.1em;
  
  text-align: center;

}


.page p {
  margin: 0;
  text-indent: 1rem;
  padding-bottom: 1.2rem;
}

.page u {
	line-height: 2rem;
}

.page table {
  font-size: 0.8em;
  margin: 0 auto;
  display: table;
  border-spacing: 25px;
  border: 0;
}

.page table.checkoutTable {
	border-spacing: 0;
}

a {
	color: #690101;
}
a:hover  {
	color: #000000;
	text-decoration: underline dotted #690101;
	text-decoration-thickness: 1px;
}
a:visited {
	color: #690101;
}

a.nodecoration {
	text-decoration: none;
}
a.nodecoration:hover {
	color: #000000;
	text-decoration: underline dotted #690101;
	text-decoration-thickness: 1px;
}

.menu {
	display: inline-block;
	width: var(--width);
	margin: 0px auto;
	background-color: rgb(0 0 0 / 50%);
	border: 0px solid #fff;
	border-radius: 10px; 
	z-index: 20;
	font-size: 24px;
	color: #f2f2f2;
	font-family: 'Tangerine', cursive;
}

.description {
	display: inline-block;
	width: var(--width);
	margin: 0px auto;
	background-color: rgb(0 0 0 / 50%);
	border: 0px solid #fff;
	border-radius: 10px; 
	z-index: 20;
	font-size: 24px;
	color: #f2f2f2;
	font-family: 'Tangerine', cursive;
	text-align: left;
}

.burgerMenuButton {
	background-image: url("https://shop.dm-schmiede.de/images/burgerMenu.png");
	background-size: contain;
	width: 30px;
	height: 30px;
	top:10px;
    left:10px;
	z-index:21;
	position: fixed;
	cursor:pointer;
}
.burgerMenu {
	display: none;
	margin: 0px auto;
	padding: 10px;
	background-color: rgb(0 0 0 / 50%);
	border: 0px solid #fff;
	border-radius: 10px; 
	z-index: 21;
	font-size: 24px;
	color: #f2f2f2;
	font-family: 'Tangerine', cursive;
	position: fixed;
	top:45px;
    left:10px;
}

.titlebar {
	display: inline-block;
	width: var(--width);
	margin: 30px auto;
	background-color: rgb(0 0 0 / 50%);
	border: 0px solid #fff;
	border-radius: 10px; 
	z-index: 20;
	font-size: 34px;
	color: #f2f2f2;
	font-family: 'Tangerine', cursive;
}

.subtitle {
	font-size: 24px;
}

.menuwrapper {
	margin: 10px auto;
	text-align:center;
}

#footer {
    position: fixed;
    bottom: 0;
	left: 0;
    width: 100%;
	text-align:center;
	color: #f2f2f2;
	font-size: 0.75em;
    background: #690101;
}

.nohighlighting {
	color: #f2f2f2;
	text-decoration: none;
}

.nohighlighting:hover  {
	color: #000000;
	text-decoration: none;
}

.nohighlighting:visited {
	color: #f2f2f2;
}

.nohighlightingMenu {
	color: #f2f2f2;
	text-decoration: none;
}

.nohighlightingMenu:hover  {
	color: #f2f2f2;
	text-decoration: none;
}

.nohighlightingMenu:visited {
	color: #f2f2f2;
}

.burgerLink {
	color: #f2f2f2;
	text-decoration: none;
}

.burgerLink:hover  {
	color: #690101;
	text-decoration: none;
}

.burgerLink:visited {
	color: #f2f2f2;
}
.burgerLink:visited:hover {
	color: #690101;
}

.warningDiv {
    display: inline-block;
	width: var(--width);
	margin: 10px auto;
	border: 0px solid #fff;
	border-radius: 5px; 
	z-index: 21;
	text-align:center;
	color: #000;
	font-size: 0.75em;
    background: #f08c00;
}

.lessSpacing {
  margin-bottom: 0px; 
}


/* PayPal */
	
.PayPalButton {
	font-size: 24px;
	font-family: 'Tangerine', cursive;
	border-radius: 10px;
	border: 1px solid #690101;
}

.PayPalButton:hover {
	border: 1px solid #f2f2f2;
	background-color: #690101;
	color: #f2f2f2;
}

button.red {
	font-size: 24px;
	height: 35px;
	font-family: 'Tangerine', cursive;
	border-radius: 10px;
	border: 1px solid #690101;
}

button.red:hover {
	border: 1px solid #f2f2f2;
	background-color: #690101;
	color: #f2f2f2;
}

button.red:disabled:hover {
  border: 1px solid #690101;
  background-color: initial;
  color: initial;
}


.cart-box {
  position: fixed;
  top: 100px;
  right: 0;
  width: 300px;
  background: #f9f9f9;
  border-left: 2px solid #ccc;
  padding: 15px;
  background-color: rgb(0 0 0 / 50%);
  color: #f2f2f2;
  z-index: 999;
  border-radius: 5px;
}
.cart-box h3 {
  margin-top: 0;
}

.cartToggleButton {
  position: fixed;
  top: 10px;
  right: 10px;
  width: auto;
  height: 30px;
  padding: 5px 10px;
  background-color: rgb(0 0 0 / 50%);
  color: #f2f2f2;
  font-family: 'Tangerine', cursive;
  font-size: 24px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-box.hidden {
  display: none;
}

@keyframes cartBlink {
  0%   { background-color: rgb(0 0 0 / 50%); }
  50%  { background-color: #f08c00; }
  100% { background-color: rgb(0 0 0 / 50%); }
}

.cartToggleButton.blink {
  animation: cartBlink 0.6s ease-in-out;
}


.close-cart {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}



.remove-item {
  background-color: transparent;
  color: #f2f2f2;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
}

.remove-item:hover {

}

.remove-item-phys {
  background-color: transparent;
  color: #f2f2f2;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
}

.remove-item:hover {

}

h3 {
  margin-bottom: 0;
}


ul {
	 margin-top: 10px; 
}

li {
	font-size: 0.8em;
	line-height: 1em;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 0.2em;
}


.infospan {
	font-size: 0.8em;
	line-height: 0.8em;
	margin-top: 0px; 
	/* font-family: Garamond, serif; 
	font-size: 20px;
	*/
}

.item-image {
	border-radius: 8px;
	height: 200px;
	cursor: pointer;
}

.item-image-phys {
	border-radius: 8px;
	height: 200px;
	cursor: pointer;
}

.item-text {
	margin-top: 0;
	margin-bottom: 0;
	text-align: center;
	cursor: pointer;
	touch-action: pan-y;
}

.item-text-phys {
	margin-top: 0;
	margin-bottom: 0;
	text-align: center;
	cursor: pointer;
	touch-action: pan-y;
}

td.centered {
  text-align: center;
}



/* MODAL */
.modal {
  position: fixed;
  top: 0; 
  left: 0;
  right: 0;
  bottom: 0;

  background-color: rgba(0,0,0,0.6);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  font-family: 'Tangerine', cursive;
  font-size: 1.5em;
  line-height: 1.2;
  border: 0px solid #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  /* Background lines */
  background-color: #f5f5f0;
  box-shadow: 2px 3px 20px black, 0 0 60px #8a4d0f inset;
}

.close-modal {
  float: right;
  font-size: 1.5rem;
  font-family: system-ui, sans-serif;
  cursor: pointer;
}

.close-modal-phys {
  float: right;
  font-size: 1.5rem;
  font-family: system-ui, sans-serif;
  cursor: pointer;
}

#modalDescription {
  max-height: 250px;
  overflow-y: auto;
  white-space: pre-line;
  max-width: 100%;       /* verhindert horizontales Überlaufen */
  word-wrap: break-word; /* bricht lange Wörter */
  background-image: linear-gradient(#f5f5f0 1.3rem, #ccc 1.4rem);
  background-size: 100% 1.4rem;
}

#modalDescription hr {
  border: none;
  border-top: 2px solid #690101;
  margin: 1em 0;

}

.modal-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.modal-image {
  width: 150px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

.modal-text {
  flex: 1;
  min-width: 200px;
}

body.modal-open {
  overflow: hidden;
}

/* CHECKOUT */
.checkout-note {
  
  font-family: 'Tangerine', cursive;
  font-size: 0.8em;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  text-align: left;
}
.checkout-note a {
  color: #690101;
  text-decoration: underline dotted;
}
