/* Auto-generated CSS Module: product | ISO: de_DE */
/* --- Source: nl_NL / product.css --- */
/* 
   =============================================================
   RESPONSIVE PRODUCT DETAIL LAYOUT (MODERNIZED CLASSIC 2026)
   =============================================================
*/

/* 1. Classic Blue Header */
.b2b-product-main-header {
    display: flex;
    align-items: center;
}
.b2b-product-main-header h1 {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 15px;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 40px;
    color: #fff;
    font-weight: bold;
}

/* 2. Hero Grid Layout (Inside top section) */
.b2b-main-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.b2b-gallery {
    min-width: 320px;
    position: relative;
}
.b2b-purchase-container {
    flex: 1;
    min-width: 300px;
}

/* 2. Isolated Purchase Box (High contrast white inside blue section) */
.b2b-purchase-container .b2b-cart-action-box {
    background: #ffffff;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    color: #333; /* Dark text on white background */
}
.b2b-purchase-container .b2b-price-box {
    font-size: 14px;
    margin-bottom: 15px;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.b2b-purchase-container .b2b-price-box > span {
    display: block;
    margin-bottom: 5px;
}
.b2b-purchase-container .b2b-price-box #pricediv0 {
    font-size: 32px;
    font-weight: bold;
    color: #1c456b;
    display: inline;
}
.b2b-stock-status {
    color: #78b41d;
    font-size: 13px;
}

/* Add To Cart Form */
.b2b-purchase-container .b2b-add-cart-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.b2b-purchase-container .b2b-add-cart-form input[type="number"] {
    width: 60px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-align: center;
    margin: 0;
}
.b2b-purchase-container .b2b-add-cart-form button {
    flex: 1;
    background: linear-gradient(to bottom, #78b41d, #6ea715);
    color: white;
    border: 1px solid #5a8c10;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    transition: all 0.2s;
    margin: 0;
}
.b2b-purchase-container .b2b-add-cart-form button:hover {
    background: linear-gradient(to bottom, #86c921, #78b41d);
}
.b2b-qty-label {
    font-size: 14px;
    color: #333;
}

/* 2a. Rebuilt Main Image Container */
.b2b-main-image-box {
    position: relative;
    background-color: #fff;
    border-radius: 4px 4px 0 0;
    width: 100%;
    max-width: 350px;
}
.b2b-main-image-box figure {
    width: 100%;
    height: 350px;
    margin: 0;
    background-color: #fff;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.b2b-main-image-box figure .largepimg {
    top: 10px;
    position: absolute;
    right: 10px;
    width: 13px;
    height: 13px;
    display: flex;
}
.b2b-hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.b2b-section-divider {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 50px 0 40px 0;
}
.b2b-main-image-box .download.zipdl {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255,255,255,0.8);
    color: #333;
    padding: 4px 8px;
    font-size: 11px;
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid #ddd;
}
.b2b-main-image-box .download.zipdl:hover {
    background: #fff;
}

/* OOS Overlay styling for hero image */
.b2b-oos-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 20;
    display: none;
}
.outofstock .b2b-oos-overlay {
    display: block;
}
.outofstock .b2b-main-image-box img {
    filter: grayscale(1);
    opacity: 0.6;
}
.outofstock .b2b-main-image-box .ribbon {
    filter: grayscale(1);
}
.outofstock .b2b-add-cart-form button {
    background: #555;
    border-color: #444;
    cursor: not-allowed;
    color: #aaa;
    box-shadow: none;
    text-shadow: none;
}
.outofstock .b2b-add-cart-form input {
    background: #eee;
    color: #999;
    border-color: #ddd;
}
.b2b-main-image-box .oos-stamp {
    position: absolute;
    top: 10px;
    left: -10px;
    transform: scale(0.6) rotate(-5deg);
    transform-origin: top left;
    pointer-events: none;
}

/* B2B Image Box Ribbon Scaling */
.b2b-main-image-box .ribbon-left.size-large { transform: scale(1.4); transform-origin: top left; top: -18px; left: -18px; }
.b2b-main-image-box .ribbon-right.size-large { transform: scale(1.4); transform-origin: top right; top: -18px; right: -18px; }
.b2b-main-image-box .ribbon-horizontal-left.size-large { transform: scale(1.4); transform-origin: top left; top: var(--rb-y); left: -14px; }
.b2b-main-image-box .ribbon-horizontal-right.size-large { transform: scale(1.4); transform-origin: top right; top: var(--rb-y); right: -14px; }

.b2b-main-image-box .ribbon-left.size-medium { transform: scale(1.6); transform-origin: top left; top: -16px; left: -16px; }
.b2b-main-image-box .ribbon-right.size-medium { transform: scale(1.6); transform-origin: top right; top: -16px; right: -16px; }
.b2b-main-image-box .ribbon-horizontal-left.size-medium { transform: scale(1.6); transform-origin: top left; top: var(--rb-y); left: -16px; }
.b2b-main-image-box .ribbon-horizontal-right.size-medium { transform: scale(1.6); transform-origin: top right; top: var(--rb-y); right: -16px; }

.b2b-main-image-box .ribbon-left.size-small { transform: scale(1.8); transform-origin: top left; top: -12px; left: -12px; }
.b2b-main-image-box .ribbon-right.size-small { transform: scale(1.8); transform-origin: top right; top: -12px; right: -12px; }
.b2b-main-image-box .ribbon-horizontal-left.size-small { transform: scale(1.8); transform-origin: top left; top: var(--rb-y); left: -18px; }
.b2b-main-image-box .ribbon-horizontal-right.size-small { transform: scale(1.8); transform-origin: top right; top: var(--rb-y); right: -18px; }

/* 2b. Rebuilt Image Thumbnails */
.b2b-list-thumbnails {
  background-color: #e2e2e2;
  margin: 0;
  padding: 15px;
  box-shadow: inset 0 20px 20px -20px rgba(0,0,0,.3);
  max-width: 350px;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.b2b-list-thumbnails a.b2b-thumb-link {
  border-radius: 4px;
  overflow: hidden;
  display: block;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  aspect-ratio: 1 / 1;
  background: #fff;
}
.b2b-list-thumbnails a.b2b-thumb-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.b2b-list-thumbnails a.b2b-thumb-link.active,
.b2b-list-thumbnails a.b2b-thumb-link:hover {
  border-color: #4086bb;
}

@media (max-width: 768px) {
  .b2b-main-image-box,
  .b2b-list-thumbnails {
      max-width: 100%;
  }
}

/* 3. Product Info Table (White text on blue background) */
.b2b-info-grid {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    font-size: 14px;
}
.b2b-info-grid td {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
  .b2b-info-grid td:first-child {
    max-width: 170px;
  text-overflow: ellipsis;
  overflow: hidden;
  }
.b2b-info-grid td.alignRight {
    text-align: right;
    font-weight: bold;
}

/* 4. Full Width Description Area */
.b2b-description-header {
    font-size: 22px;
    line-height: 1.3;
    font-weight: bold;
    color: #fff;
    margin: 50px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    clear: both;
}
.b2b-description {
    font-size: 15px;
    line-height: 1.6;
}
.b2b-description p,
.b2b-description div,
.b2b-description span {
    line-height: 1.6;
}

/* B2B Pricing Highlights */
.b2b-pricing-highlight {
    background: #f8fcfd;
    border: 1px solid #e1eef4;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}
.b2b-pricing-highlight.is-discounted {
    background: #fffdf8;
    border-color: #f4ebd8;
}
.b2b-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}
.b2b-price-row:last-child {
    margin-bottom: 0;
}
.b2b-price-row.package {
    padding-top: 8px;
    border-top: 1px dashed #e1eef4;
}
.b2b-price-row .label {
    color: #555;
    font-size: 14px;
    font-weight: normal;
}
.b2b-price-row .value-wrapper {
    text-align: right;
}
.b2b-price-row .val {
    font-size: 18px;
    font-weight: bold;
    color: #12304a;
}
.b2b-price-row.package .val {
    font-size: 24px;
    line-height: 28px;
    color: #78b41d;
}

/* Discount Pills */
.b2b-pricing-highlight.is-discounted .price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 8px;
    display: block;
    margin-bottom: 4px;
}
.b2b-pricing-highlight.is-discounted .b2b-price-row .discount-val {
    background: #7dbb1d;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
}

.b2b-stock-row {
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
}
.b2b-stock-status {
    color: #333;
    font-size: 14px;
}

/* Overbox Inline Action */
.b2b-overbox-inline-action {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background: #f8fcfd;
    border: 1px solid #e1eef4;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}
.b2b-overbox-inline-action .overbox-btn {
    background: #1c456b;
    color: #fff;
    border: 1px solid #12304a;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    margin: 0;
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
    width: 100%;
    white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      display: block;
      text-align: center;
}
.b2b-overbox-inline-action .overbox-btn:hover {
    background: #86c921;
    border-color: #78b41d;
}
.b2b-overbox-inline-action .overbox-hint {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}
.b2b-overbox-inline-action .overbox-hint strong {
    color: #12304a;
    font-size: 16px;
}

/* Chat CTA Hint */
.b2b-search-hint {
    margin-top: 15px;
    font-size: 13px;
    color: rgba(255,255,255,0.8); /* Light grey/white for contrast against the blue background */
    line-height: 1.5;
    text-align: center;
}
.b2b-search-hint a.chat-open {
    color: #fff; /* Crisp white link */
    text-decoration: underline;
    font-weight: bold;
}
.b2b-search-hint a.chat-open:hover {
    color: #92de1b; /* B2B green on hover */
}

@media (max-width: 768px) {
    .b2b-product-search-box .b2b-search-inputs {
        flex-direction: column;
        align-items: stretch;
    }
    .b2b-product-search-box .pricerange {
        justify-content: center;
    }
}

/* B2B Staffel / Price Breaks Box */
.b2b-staffel-box {
    background: #ffffff;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    color: #333;
    overflow: hidden;
}
.b2b-staffel-title {
    background: #1c456b;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #12304a;
}
.b2b-staffel-grid {
    display: flex;
    flex-direction: column;
}
.b2b-staffel-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.b2b-staffel-row:last-child {
    border-bottom: none;
}
.b2b-staffel-row.header {
    background: #f8fcfd;
    color: #555;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 2px solid #e1eef4;
}
.b2b-staffel-row span {
    flex: 1;
}
.b2b-staffel-row span.qty {
    flex: 1.2;
    color: #666;
}
.b2b-staffel-row span.piece-price {
    font-size: 16px;
    color: #12304a;
    text-align: right;
    margin-right: 15px;
}
.b2b-staffel-row span.action {
    flex: none;
    width: 32px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}
.b2b-staffel-add {
    background: #78b41d;
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    transition: background 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.b2b-staffel-add:hover {
    background: #86c921;
}
.b2b-product-sku {
    text-align: center;
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #12304a;
    font-weight: bold;
}

/* =========================================================
   MOBILE RESPONSIVENESS OVERRIDES
   ========================================================= */
@media (max-width: 1024px) {
  /* Prevent global rule from making links unreadable on tablet */
  .boxProductSection section a {
      color: #fff;
      text-decoration: underline;
  }
  .boxProductSection section .b2b-purchase-container a,
  .boxProductSection section .b2b-gallery a {
      color: inherit;
      text-decoration: none;
  }
  .b2b-main-image-box .download.zipdl {
      color: #333; /* Keep zip button dark text */
      text-decoration: none;
  }
}

@media (max-width: 768px) {
  /* Prevent the global background: 0 0 !important from making white text invisible */
  .boxProductSection section {
      padding: 15px !important;
  }
  
  /* Ensure the text is crisp on the white mobile background */
  .b2b-info-grid {
      color: #333;
  }
  .b2b-info-grid td {
      border-bottom: 1px solid #eee;
  }
  .b2b-description-header {
      color: #12304a;
      border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .b2b-description {
      color: #333;
  }
  .boxProductSection section a {
      color: #2d628f; /* Classic link color */
  }
  
  /* Overbox tweaks for mobile */
  .b2b-overbox-inline-action {
      background: #f8fcfd;
      border: 1px solid #e1eef4;
  }

  /* Chat Init Mobile Text Fix */
  .boxProductSection section.chat-init-box {
      background: #f8fcfd !important;
      border: 1px solid #e1eef4;
      margin-top: 30px;
      color: #333;
  }
  .b2b-search-hint {
      color: #555;
  }
  .b2b-search-hint a.chat-open {
      color: #1c456b;
      text-decoration: underline;
  }
  
  /* Fix header visibility and padding on mobile */
  .b2b-product-main-header {
      padding: 10px 15px;
      background: transparent;
      height: auto !important; /* Override global 40px fixed height */
      line-height: normal !important;
  }
  .b2b-product-main-header h1 {
      color: #12304a; /* Ensure text is dark and readable on white background */
      white-space: normal; /* Allow long titles to wrap on small mobile screens */
      line-height: 1.3;
  }
}

