/* =========================
   Marabellas eBay Layout
   Modernisierte Version ohne Bootstrap, FontAwesome, Google Fonts
   Passend zum bereinigten MainHTML
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

.mb-template {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #f3f3f3;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.mb-template img {
  max-width: 100%;
  height: auto;
  border: 0;
}

.mb-template a {
  color: inherit;
  text-decoration: none;
}

.mb-template a:hover {
  text-decoration: underline;
}

.mb-inner {
  width: 100%;
  max-width: 1325px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Versteckte Schema-/Kurzbeschreibung */
.mb-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

/* =========================
   Header
   ========================= */

.mb-header {
  background: #f3f3f3;
  border-top: 12px solid #BF3431;
}

.mb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 120px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.mb-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.mb-logo {
  display: block;
  max-width: 280px;
  width: 100%;
}

.mb-claim {
  flex: 1 1 auto;
  text-align: right;
}

.mb-claim p {
  margin: 0 0 6px;
  color: #4c4c4c;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.mb-claim span {
  display: block;
  color: #BF3431;
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
}

/* =========================
   Navigation
   ========================= */

.mb-nav {
  background: #f3f3f3;
}

.mb-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #BF3431;
  border-radius: 4px;
  border-bottom: 5px solid #BF3431;
  padding: 0 8px;
}

.mb-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mb-menu li {
  margin: 0;
  padding: 0;
}

.mb-menu a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
}

.mb-menu a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
}

.mb-search-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
}

.mb-search-link::after {
  content: "⌕";
  margin-left: 8px;
  font-size: 16px;
}

.mb-search-link:hover {
  background: #fff;
  color: #BF3431;
  text-decoration: none;
}

/* =========================
   Hauptbereich / Layout
   ========================= */

.mb-main {
  background: #f3f3f3;
  padding: 16px 0;
}

.mb-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.mb-sidebar,
.mb-content {
  min-width: 0;
}

/* =========================
   Boxen allgemein
   ========================= */

.mb-box {
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}

.mb-box h1,
.mb-box h2 {
  margin: 0;
  line-height: 1.25;
}

.mb-box h1 {
  color: #4c4c4c;
  font-size: 24px;
  font-weight: 700;
  padding: 18px 22px 6px;
}

.mb-box h2 {
  background: #4c4c4c;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 13px 18px;
  border-bottom: 4px solid #BF3431;
}

.mb-product-head {
  border-bottom: 1px solid #e1e5ea;
}

.mb-item-id {
  margin: 0;
  padding: 0 22px 16px;
  color: #555;
  font-size: 13px;
}

/* =========================
   Aufklappbare Shopkategorien
   ========================= */

.mb-category-list,
.mb-category-sub {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mb-category-list {
  padding: 10px;
}

.mb-category-main {
  margin-bottom: 6px;
  border-radius: 4px;
  overflow: hidden;
  background: #BF3431;
}

.mb-category-toggle {
  display: none;
}

.mb-category-row {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: #BF3431;
}

.mb-category-row a {
  flex: 1 1 auto;
  display: block;
  padding: 9px 12px 9px 6px;
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
}

.mb-category-row a:hover {
  background: #4c4c4c;
  color: #fff;
  text-decoration: none;
}

.mb-category-opener {
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.08);
}

.mb-category-opener::before {
  content: "+";
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.mb-category-opener:hover {
  background: #4c4c4c;
}

.mb-category-toggle:checked + .mb-category-row .mb-category-opener::before {
  content: "−";
}

.mb-category-spacer {
  flex: 0 0 34px;
  display: block;
  background: rgba(0, 0, 0, 0.04);
}

.mb-category-row-single a {
  padding-left: 6px;
}

.mb-category-sub {
  display: none;
  padding: 4px 0 8px;
  background: #fff;
  border: 1px solid #BF3431;
  border-top: 0;
}

.mb-category-toggle:checked ~ .mb-category-sub {
  display: block;
}

.mb-category-sub a {
  display: block;
  padding: 6px 14px 6px 24px;
  color: #4c4c4c;
  font-size: 13px;
  line-height: 1.35;
}

.mb-category-sub a::before {
  content: "›";
  margin-right: 7px;
  color: #BF3431;
  font-weight: 700;
}

.mb-category-sub a:hover {
  background: #f7eeee;
  color: #BF3431;
  text-decoration: none;
}

/* =========================
   Versandlogos
   ========================= */

.mb-shipping-logos {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
}

.mb-shipping-logos img {
  display: block;
  max-height: 48px;
  width: auto;
}

/* =========================
   Hinweisbox
   ========================= */

.mb-info-text {
  padding: 14px 18px 18px;
}

.mb-info-text p {
  margin: 0 0 14px;
}

.mb-info-text p:last-child {
  margin-bottom: 0;
}

/* =========================
   Bildergalerie
   ========================= */

.mb-gallery {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  grid-auto-rows: 76px;
  gap: 10px;
  min-height: 500px;
  padding: 18px;
}

.mb-gallery input {
  display: none;
}

.mb-gallery label {
  grid-column: 2;
  display: block;
  min-height: 76px;
  border: 1px solid #d8dee6;
  border-radius: 5px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.mb-gallery label:hover {
  border-color: #BF3431;
}

.mb-gallery input:checked + label {
  border-color: #BF3431;
  box-shadow: 0 0 0 2px rgba(191, 52, 49, 0.16);
}

.mb-gallery-image {
  grid-column: 1;
  grid-row: 1 / span 6;
  display: none;
  min-height: 470px;
  border: 1px solid #d8dee6;
  border-radius: 5px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#mb-tab1:checked ~ #mb-content1,
#mb-tab2:checked ~ #mb-content2,
#mb-tab3:checked ~ #mb-content3,
#mb-tab4:checked ~ #mb-content4,
#mb-tab5:checked ~ #mb-content5,
#mb-tab6:checked ~ #mb-content6,
#mb-tab7:checked ~ #mb-content7,
#mb-tab8:checked ~ #mb-content8,
#mb-tab9:checked ~ #mb-content9,
#mb-tab10:checked ~ #mb-content10,
#mb-tab11:checked ~ #mb-content11,
#mb-tab12:checked ~ #mb-content12 {
  display: block;
}

/* =========================
   Artikelbeschreibung
   ========================= */

.mb-description-content {
  padding: 18px;
  color: #222;
}

.mb-description-content h1,
.mb-description-content h2,
.mb-description-content h3 {
  color: #4c4c4c;
  margin-top: 0;
}

.mb-description-content p {
  margin: 0 0 12px;
}

.mb-description-content ul,
.mb-description-content ol {
  margin: 0 0 16px 20px;
  padding: 0;
}

.mb-description-content li {
  margin-bottom: 6px;
}

.mb-description-content li::marker {
  color: #BF3431;
}

.mb-description-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13px;
}

.mb-description-content th,
.mb-description-content td {
  border: 1px solid #d8dee6;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.mb-description-content th {
  background: #f7eeee;
  color: #4c4c4c;
  font-weight: 700;
}

.mb-description-content img {
  max-width: 100%;
  height: auto;
}

/* =========================
   Cross Selling über volle Breite
   ========================= */

.mb-cross-selling-full {
  width: 100%;
  margin-top: 4px;
}

.mb-cross-selling {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}

.mb-cross-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  border: 1px solid #d8dee6;
  border-radius: 5px;
  padding: 12px;
  background: #fff;
  color: #222;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.mb-cross-card:hover {
  border-color: #BF3431;
  box-shadow: 0 2px 8px rgba(191, 52, 49, 0.14);
  text-decoration: none;
}

.mb-cross-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 115px;
  margin-bottom: 10px;
}

.mb-cross-image-wrap img {
  max-height: 115px;
  width: auto;
}

.mb-cross-title {
  display: block;
  color: #222;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 10px;
}

.mb-cross-price {
  display: block;
  margin-top: auto;
  color: #BF3431;
  font-size: 18px;
  font-weight: 700;
}

/* =========================
   Footer
   ========================= */

.mb-footer {
  background: #f3f3f3;
  padding-bottom: 16px;
}

.mb-footer .mb-inner {
  background: #BF3431;
  color: #fff;
  border-top: 8px solid #BF3431;
  border-radius: 0 0 6px 6px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 11px;
  line-height: 1.5;
}

/* Plenty-/Systemlinks verstecken, falls Plenty automatisch etwas ausgibt */
a[href*="plentymarkets"] {
  display: none !important;
  visibility: hidden !important;
}

/* =========================
   Tablet
   ========================= */

@media screen and (max-width: 991px) {
  .mb-layout {
    grid-template-columns: 1fr;
  }

  .mb-sidebar {
    order: 2;
  }

  .mb-content {
    order: 1;
  }

  .mb-header-inner {
    align-items: center;
  }

  .mb-claim {
    text-align: right;
  }

  .mb-nav-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
  }

  .mb-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mb-menu a,
  .mb-search-link {
    text-align: center;
    justify-content: center;
  }

  .mb-cross-selling {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================
   Smartphone
   ========================= */

@media screen and (max-width: 640px) {
  .mb-inner {
    padding-left: 10px;
    padding-right: 10px;
  }

  .mb-header-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: auto;
    gap: 12px;
  }

  .mb-logo {
    max-width: 240px;
  }

  .mb-claim {
    text-align: center;
  }

  .mb-claim p {
    font-size: 17px;
  }

  .mb-claim span {
    font-size: 14px;
  }

  .mb-menu {
    grid-template-columns: 1fr;
  }

  .mb-box h1 {
    font-size: 20px;
    padding: 14px 14px 6px;
  }

  .mb-box h2 {
    font-size: 15px;
    padding: 12px 14px;
  }

  .mb-item-id {
    padding: 0 14px 12px;
  }

  .mb-gallery {
    display: flex;
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px;
  }

  .mb-gallery-image {
    order: 1;
    flex: 0 0 100%;
    min-height: 320px;
    margin-bottom: 10px;
  }

  .mb-gallery label {
    order: 2;
    flex: 0 0 calc(25% - 8px);
    min-height: 64px;
  }

  .mb-description-content {
    padding: 14px;
  }

  .mb-description-content table {
    font-size: 12px;
  }

  .mb-cross-selling {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
  }

  .mb-cross-card {
    min-height: 220px;
    padding: 10px;
  }

  .mb-cross-image-wrap {
    height: 95px;
  }

  .mb-cross-image-wrap img {
    max-height: 95px;
  }

  .mb-cross-title {
    font-size: 12px;
  }

  .mb-cross-price {
    font-size: 16px;
  }

  .mb-footer .mb-inner {
    font-size: 10px;
    text-align: center;
  }
}