/* =========================
   Blech + Profil eBay Layout
   Modernisierte Version ohne Bootstrap, FontAwesome, Google Fonts
   Cross-Selling über volle Breite
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

.bp-template {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #f3f3f3;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.bp-template img {
  max-width: 100%;
  height: auto;
  border: 0;
}

.bp-template a {
  color: #ff0000;
  text-decoration: none;
}

.bp-template a:hover {
  text-decoration: underline;
}

.bp-inner {
  width: 100%;
  max-width: 1325px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Versteckte Schema-/Kurzbeschreibung */
.bp-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 */
.bp-header {
  background: #f3f3f3;
  border-top: 10px solid #274898;
}

.bp-header-inner {
  display: flex;
  align-items: center;
  min-height: 110px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.bp-logo-link {
  display: inline-flex;
  align-items: center;
}

.bp-logo {
  display: block;
  max-width: 280px;
  width: 100%;
}

/* Navigation */
.bp-nav {
  background: #f3f3f3;
}

.bp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #274898;
  border-radius: 4px;
  border-bottom: 5px solid #fff;
  padding: 0 8px;
}

.bp-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bp-menu li {
  margin: 0;
  padding: 0;
}

.bp-menu a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
}

.bp-menu a:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.bp-search-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 0px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
}

.bp-search-link::after {
  content: "⌕";
  margin-left: 8px;
  font-size: 16px;
}

.bp-search-link:hover {
  background: #fff;
  color: #274898;
  text-decoration: none;
}

/* Hauptbereich */
.bp-main {
  background: #f3f3f3;
  padding: 16px 0;
}

/* Zweispaltiges Layout */
.bp-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.bp-sidebar {
  min-width: 0;
}

.bp-content {
  min-width: 0;
}

/* Boxen allgemein */
.bp-box {
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}

.bp-box h1,
.bp-box h2 {
  margin: 0;
  color: #274898;
  line-height: 1.25;
}

.bp-box h1 {
  font-size: 24px;
  font-weight: 700;
  padding: 18px 22px 6px;
}

.bp-box h2 {
  font-size: 18px;
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid #e1e5ea;
}

.bp-product-head {
  border-bottom: 1px solid #e1e5ea;
}

.bp-item-id {
  margin: 0;
  padding: 0 22px 16px;
  color: #555;
  font-size: 13px;
}

/* Sidebar Kategorien */
.bp-category-list,
.bp-category-sub {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bp-category-list {
  padding: 10px;
}

.bp-category-main {
  margin-bottom: 6px;
  border-radius: 4px;
  overflow: hidden;
  background: #274898;
}

.bp-category-main > a {
  display: block;
  padding: 9px 12px;
  color: #fff;
  font-weight: 600;
}

.bp-category-main > a:hover {
  background: #d40511;
  text-decoration: none;
}

.bp-category-sub {
  padding: 4px 0 8px;
  background: #fff;
  border: 1px solid #274898;
  border-top: 0;
}

.bp-category-sub a {
  display: block;
  padding: 5px 14px 5px 22px;
  color: #274898;
  font-size: 13px;
}

.bp-category-sub a:hover {
  background: #eef2f7;
  text-decoration: none;
}

/* Versandlogos */
.bp-shipping-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}

.bp-shipping-logos img {
  max-height: 42px;
  width: auto;
}

/* Hinweisbox */
.bp-info-text {
  padding: 14px 18px 18px;
}

.bp-info-text p {
  margin: 0 0 14px;
}

.bp-info-text p:last-child {
  margin-bottom: 0;
}

/* Galerie */
.bp-gallery {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  grid-auto-rows: 76px;
  gap: 10px;
  min-height: 500px;
  padding: 18px;
}

.bp-gallery input {
  display: none;
}

.bp-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;
}

.bp-gallery label:hover {
  border-color: #274898;
}

.bp-gallery input:checked + label {
  border-color: #274898;
  box-shadow: 0 0 0 2px rgba(39, 72, 152, 0.15);
}

.bp-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;
}

#bp-tab1:checked ~ #bp-content1,
#bp-tab2:checked ~ #bp-content2,
#bp-tab3:checked ~ #bp-content3,
#bp-tab4:checked ~ #bp-content4,
#bp-tab5:checked ~ #bp-content5,
#bp-tab6:checked ~ #bp-content6,
#bp-tab7:checked ~ #bp-content7,
#bp-tab8:checked ~ #bp-content8,
#bp-tab9:checked ~ #bp-content9,
#bp-tab10:checked ~ #bp-content10,
#bp-tab11:checked ~ #bp-content11,
#bp-tab12:checked ~ #bp-content12 {
  display: block;
}

/* Artikelbeschreibung */
.bp-description-content {
  padding: 18px;
  color: #222;
}

.bp-description-content h1,
.bp-description-content h2,
.bp-description-content h3 {
  color: #274898;
  margin-top: 0;
}

.bp-description-content p {
  margin: 0 0 12px;
}

.bp-description-content ul,
.bp-description-content ol {
  margin: 0 0 16px 20px;
  padding: 0;
}

.bp-description-content li {
  margin-bottom: 6px;
}

.bp-description-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13px;
}

.bp-description-content th,
.bp-description-content td {
  border: 1px solid #d8dee6;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.bp-description-content th {
  background: #eef2f7;
  color: #274898;
  font-weight: 700;
}

.bp-description-content img {
  max-width: 100%;
  height: auto;
}

/* Cross Selling über volle Breite */
.bp-cross-selling-full {
  width: 100%;
  margin-top: 4px;
}

.bp-cross-selling {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}

.bp-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;
}

.bp-cross-card:hover {
  border-color: #274898;
  box-shadow: 0 2px 8px rgba(39, 72, 152, 0.12);
  text-decoration: none;
}

.bp-cross-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 115px;
  margin-bottom: 10px;
}

.bp-cross-image-wrap img {
  max-height: 115px;
  width: auto;
}

.bp-cross-title {
  display: block;
  color: #222;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 10px;
}

.bp-cross-price {
  display: block;
  margin-top: auto;
  color: #274898;
  font-size: 18px;
  font-weight: 700;
}

/* Footer */
.bp-footer {
  background: #f3f3f3;
  padding-bottom: 16px;
}

.bp-footer .bp-inner {
  background: #274898;
  color: #fff;
  border-top: 8px solid #fff;
  border-radius: 0 0 6px 6px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 11px;
}

/* Plenty-/Systemlinks verstecken, falls Plenty automatisch etwas ausgibt */
a[href*="plentymarkets"] {
  display: none !important;
  visibility: hidden !important;
}

/* Tablet */
@media screen and (max-width: 991px) {
  .bp-layout {
    grid-template-columns: 1fr;
  }

  .bp-sidebar {
    order: 2;
  }

  .bp-content {
    order: 1;
  }

  .bp-nav-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
  }

  .bp-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bp-menu a,
  .bp-search-link {
    text-align: center;
    justify-content: center;
  }

  .bp-cross-selling {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Smartphone */
@media screen and (max-width: 640px) {
  .bp-inner {
    padding-left: 10px;
    padding-right: 10px;
  }

  .bp-header-inner {
    justify-content: center;
    min-height: auto;
  }

  .bp-logo {
    max-width: 230px;
  }

  .bp-menu {
    grid-template-columns: 1fr;
  }

  .bp-box h1 {
    font-size: 20px;
    padding: 14px 14px 6px;
  }

  .bp-box h2 {
    font-size: 17px;
    padding: 12px 14px;
  }

  .bp-item-id {
    padding: 0 14px 12px;
  }

  .bp-gallery {
    display: flex;
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px;
  }

  .bp-gallery-image {
    order: 1;
    flex: 0 0 100%;
    min-height: 320px;
    margin-bottom: 10px;
  }

  .bp-gallery label {
    order: 2;
    flex: 0 0 calc(25% - 8px);
    min-height: 64px;
  }

  .bp-description-content {
    padding: 14px;
  }

  .bp-description-content table {
    font-size: 12px;
  }

  .bp-cross-selling {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
  }

  .bp-cross-card {
    min-height: 220px;
    padding: 10px;
  }

  .bp-cross-image-wrap {
    height: 95px;
  }

  .bp-cross-image-wrap img {
    max-height: 95px;
  }

  .bp-cross-title {
    font-size: 12px;
  }

  .bp-cross-price {
    font-size: 16px;
  }

  .bp-footer .bp-inner {
    font-size: 10px;
    text-align: center;
  }
}