/* ================================================================
   WashTube — Single Product Page
   ================================================================ */

/* ── Wrapper ── */
.wt-sp-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}

/* ── Breadcrumb ── */
.wt-sp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
  color: #044D73;
  margin-bottom: 16px;
}
.wt-sp-breadcrumb a {
  color: #044D73;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s;
}
.wt-sp-breadcrumb a:hover,
.wt-sp-breadcrumb a:focus-visible { color: #F1CB53; }
.wt-sp-bc-sep { color: #9fb3c2; }
.wt-sp-bc-current { color: var(--text-dark); font-weight: 600; }

/* ── Main two-column grid (design: single white card) ── */
.wt-sp-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: 18px;
  padding: 28px;
}

/* ================================================================
   GALLERY
   ================================================================ */
/* Left column keeps the image in view while scrolling the info panel.
   When a How-to-use block is present it flows normally instead. */
.wt-sp-left {
  position: sticky;
  top: 110px;
}
.wt-sp-left.has-howto { position: static; }

.wt-sp-main-img {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #fbfcfe 0%, #eef3f8 100%);
  border: 1px solid var(--gray-border);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wt-sp-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  transition: transform .45s ease;
}
.wt-sp-main-img:hover img { transform: scale(1.05); }

.wt-sp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.wt-sp-thumb {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}
.wt-sp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wt-sp-thumb.is-active,
.wt-sp-thumb:hover { border-color: var(--blue-mid); }

/* Main image is zoomable */
.wt-sp-main-img { position: relative; cursor: zoom-in; }
.wt-sp-zoom-hint {
  position: absolute; bottom: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(4,77,115,.82); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s; pointer-events: none;
}
.wt-sp-main-img:hover .wt-sp-zoom-hint { opacity: 1; transform: scale(1); }

/* Image lightbox */
.wt-sp-lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center;
  background: rgba(6,26,40,.92);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 4vh 4vw;
}
.wt-sp-lightbox.is-open { display: flex; }
.wt-lb-stage { position: relative; margin: 0; max-width: 92vw; max-height: 88vh; display: flex; align-items: center; justify-content: center; }
.wt-lb-img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); animation: wtLbIn .22s ease; }
@keyframes wtLbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
/* Close button sits on the image's top-right corner */
.wt-lb-close {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; z-index: 2;
  border: none; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.wt-lb-close:hover { background: rgba(0,0,0,.8); }
.wt-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.wt-lb-nav:hover { background: rgba(255,255,255,.3); }
.wt-lb-prev { left: 16px; }
.wt-lb-next { right: 16px; }
.wt-lb-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 13px; font-weight: 600; background: rgba(0,0,0,.35);
  padding: 5px 14px; border-radius: 20px;
}
@media (max-width: 600px) {
  .wt-lb-nav { width: 42px; height: 42px; font-size: 26px; }
  .wt-lb-prev { left: 8px; } .wt-lb-next { right: 8px; }
  .wt-lb-close { top: 10px; right: 12px; }
}

/* ================================================================
   HOW TO USE — step-by-step under the product picture
   ================================================================ */
.wt-sp-howto {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--gray-border);
}
.wt-sp-howto-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--blue-dark);
  margin: 0 0 18px;
}
.wt-sp-howto-title svg { color: var(--blue-mid); flex-shrink: 0; }

.wt-howto-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: none;
}
.wt-howto-step {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 14px;
  padding: 12px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.wt-howto-step:hover {
  box-shadow: 0 8px 22px rgba(0, 109, 173, .09);
  border-color: #cfe0ee;
  transform: translateY(-1px);
}
.wt-howto-img {
  position: relative;
  flex-shrink: 0;
  width: 92px;
  height: 92px;
  border-radius: 11px;
  overflow: hidden;
  background: linear-gradient(160deg, #fbfcfe 0%, #eef3f8 100%);
}
.wt-howto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* zoomed-in on the product action */
}
.wt-howto-num {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(4, 77, 115, .35);
}
.wt-howto-text {
  margin: 0;
  font-size: 13.5px;
  color: #4a4a4a;
  line-height: 1.6;
}

/* ================================================================
   PRODUCT INFO
   ================================================================ */
.wt-sp-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.wt-sp-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--blue-mid);
  background: #e8f3fb;
  padding: 3px 11px;
  border-radius: 20px;
}
.wt-sp-sku {
  font-size: 11px;
  color: #bbb;
}

.wt-sp-name {
  font-size: 30px;
  font-weight: 800;
  color: var(--blue-dark);
  margin: 0 0 14px;
  line-height: 1.15;
}

/* Stars */
.wt-sp-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.wt-sp-stars { display: flex; gap: 2px; }
.wt-star { font-size: 19px; color: #ddd; line-height: 1; }
.wt-star--full,
.wt-star--half { color: #F1CB53; }
.wt-sp-review-count { font-size: 12px; color: #999; }

/* Price */
.wt-sp-price {
  font-size: 34px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 16px;
  line-height: 1;
}
.wt-sp-price del { font-size: 20px; color: #ccc; font-weight: 400; margin-right: 8px; }
.wt-sp-price ins { text-decoration: none; color: #c0392b; }
.wt-sp-price .woocommerce-Price-currencySymbol { font-size: 22px; }

/* Short description */
.wt-sp-short-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 18px;
}
.wt-sp-short-desc p { margin: 0 0 8px; }
.wt-sp-short-desc ul { padding-left: 18px; }
.wt-sp-short-desc li { margin-bottom: 4px; }

.wt-sp-divider {
  height: 1px;
  background: var(--gray-border);
  margin: 22px 0;
}

/* ── Buy box — groups the primary purchase action ── */
.wt-sp-form {
  background: linear-gradient(180deg, #fbfcfe 0%, var(--gray-light) 100%);
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  padding: 18px;
}

/* ── Buy row ── */
.wt-sp-buy-row {
  display: flex;
  gap: 14px;
  align-items: stretch;
}
/* Same pill as the cards, one size larger to sit level with the cart button. */
.wt-sp-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color .15s;
}
.wt-sp-qty:focus-within { border-color: var(--blue-mid); }
.wt-sp-qty .wt-qty-minus,
.wt-sp-qty .wt-qty-plus {
  width: 44px;
  height: 52px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #5b6b78;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.wt-sp-qty .wt-qty-minus:hover { background: #fdeaea; color: #c0392b; }
.wt-sp-qty .wt-qty-plus:hover  { background: #e8f3fb; color: var(--blue-mid); }
.wt-sp-qty .wt-qty-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-dark);
  min-width: 26px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.wt-sp-qty button:disabled {
  opacity: .32;
  cursor: not-allowed;
  pointer-events: none;
}

/* "Du hast bereits x im Warenkorb" */
.wt-incart {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #b35900;
  background: #fff8f0;
  border: 1px solid #f0c07a;
  border-radius: 20px;
  padding: 3px 9px;
  line-height: 1.3;
  white-space: nowrap;
}
.wt-incart[hidden] { display: none; }
.wt-incart--sp {
  margin-top: 10px;
  font-size: 12.5px;
  padding: 5px 12px;
  white-space: normal;
}

/* Wishlist button full-width in form area */
.wt-sp-form .wt-wishlist-btn { width: 100%; justify-content: center; }

/* ── Add to Cart — diagonal swipe animation ── */
.wt-sp-cart-btn {
  flex: 1;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  text-transform: none;
  outline: none;
  overflow: hidden;
  position: relative;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .2px;
  background-color: var(--green-cart);
  padding: 16px 36px;
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(46, 164, 79, .25);
  transition: box-shadow .2s, transform .2s;
}
.wt-sp-cart-btn span {
  position: relative;
  z-index: 1;
}
.wt-sp-cart-btn::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 490%;
  width: 140%;
  background: #25863f;
  transition: all .5s ease-in-out;
  transform: translateX(-98%) translateY(-25%) rotate(45deg);
}
.wt-sp-cart-btn:hover { box-shadow: 0 8px 18px rgba(46, 164, 79, .35); transform: translateY(-1px); }
.wt-sp-cart-btn:hover::after {
  transform: translateX(-9%) translateY(-25%) rotate(45deg);
}
.wt-sp-cart-btn.is-loading {
  opacity: .65;
  pointer-events: none;
}

/* Stock badge */
.wt-sp-stock {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
}
.wt-sp-stock-dot {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.wt-sp-stock-dot--ok  { background: #2ea44f; box-shadow: 0 0 0 3px rgba(46,164,79,.18); }
.wt-sp-stock-dot--low { background: #e67e22; box-shadow: 0 0 0 3px rgba(230,126,34,.18); }
.wt-sp-stock-dot--pre { background: #a86b00; box-shadow: 0 0 0 3px rgba(168,107,0,.18); }
.wt-sp-stock[hidden]  { display: none; }

/* Cart message */
.wt-sp-cart-msg {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  min-height: 18px;
}
.wt-sp-cart-msg--ok  { color: var(--green-cart); }
.wt-sp-cart-msg--err { color: #c0392b; }

/* Trust badges */
.wt-sp-badges {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-border);
}
.wt-sp-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #555;
}
.wt-sp-badge svg { color: var(--blue-mid); flex-shrink: 0; }

/* ================================================================
   BETTER WITH
   ================================================================ */
.wt-sp-better-with {
  margin: 70px 0 50px;
}

.wt-bw-header {
  text-align: center;
  margin-bottom: 36px;
}
.wt-bw-header h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--blue-dark);
  margin: 0 0 6px;
}
.wt-bw-header h2 span { color: var(--blue-mid); }
.wt-bw-header p {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.wt-bw-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}

/* Card — starts invisible, slides up when visible */
.wt-bw-card {
  border: 1px solid var(--gray-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .5s ease, transform .5s ease, box-shadow .2s;
}
.wt-bw-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.wt-bw-card:hover { box-shadow: 0 8px 26px rgba(0, 109, 173, .12); }

.wt-bw-img-wrap {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-light);
}
.wt-bw-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.wt-bw-img-wrap:hover img { transform: scale(1.07); }

.wt-bw-card-body { padding: 12px 12px 14px; }

.wt-bw-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  margin-bottom: 5px;
  line-height: 1.35;
}
.wt-bw-name:hover { color: var(--blue-mid); }

.wt-bw-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 11px;
}

/* "Better with" card cart button — same diagonal swipe */
.wt-bw-cart-btn {
  width: 100%;
  border: none;
  overflow: hidden;
  position: relative;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .4px;
  background-color: var(--blue-dark);
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: block;
}
.wt-bw-cart-btn span {
  position: relative;
  z-index: 1;
}
.wt-bw-cart-btn::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 490%;
  width: 140%;
  background: var(--blue-mid);
  transition: all .4s ease-in-out;
  transform: translateX(-98%) translateY(-25%) rotate(45deg);
}
.wt-bw-cart-btn:hover::after {
  transform: translateX(-9%) translateY(-25%) rotate(45deg);
}

/* ================================================================
   TABS
   ================================================================ */
.wt-sp-tabs-wrap {
  margin-top: 56px;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 26px rgba(4, 77, 115, .06);
}

.wt-sp-tabs {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.wt-sp-tabs::-webkit-scrollbar { display: none; }
.wt-sp-tab {
  background: transparent;
  border: none;
  padding: 11px 22px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  color: #7a828c;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.wt-sp-tab:hover { color: var(--blue-dark); background: rgba(0, 109, 173, .08); }
.wt-sp-tab.is-active {
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 4px 12px rgba(4, 77, 115, .28);
}

.wt-sp-tab-content {
  display: none;
  padding: 32px 30px;
  animation: wtTabFade .25s ease;
}
.wt-sp-tab-content.is-active { display: block; }
@keyframes wtTabFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Description */
.wt-sp-description {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  max-width: 760px;
}
.wt-sp-description h2,
.wt-sp-description h3 {
  color: var(--blue-dark);
  font-weight: 700;
  margin-bottom: 10px;
}
.wt-sp-description ul  { padding-left: 20px; }
.wt-sp-description li  { margin-bottom: 6px; }

/* Attributes table */
.wt-sp-attr-table {
  width: 100%;
  max-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  overflow: hidden;
}
.wt-sp-attr-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--gray-border);
  color: var(--text-dark);
}
.wt-sp-attr-table tr:nth-child(even) td { background: var(--gray-light); }
.wt-sp-attr-table tr:last-child td { border-bottom: none; }
.wt-sp-attr-table td:first-child {
  color: #6b7480;
  font-weight: 700;
  width: 42%;
}

/* WooCommerce review overrides */
#reviews #comments ol.commentlist li {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-border);
  list-style: none;
}
#reviews #comments ol.commentlist li:last-child { border-bottom: none; }
#reviews #respond { margin-top: 28px; }

/* ================================================================
   PRICE SUB-TEXT (volume + VAT)
   ================================================================ */
.wt-sp-price-sub {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -10px 0 16px;
  flex-wrap: wrap;
}
.wt-sp-volume {
  font-size: 12px;
  color: #888;
}
.wt-sp-tax {
  font-size: 12px;
  color: #888;
}

/* ================================================================
   VARIANTEN / SIZE TILES
   ================================================================ */
.wt-sp-sizes {
  margin: 0 0 18px;
}
.wt-sp-sizes-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  margin-bottom: 9px;
}
.wt-sp-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
}
.wt-sp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 13px;
  background: #fff;
  border: 1.5px solid var(--gray-border, #d9e0e6);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.wt-sp-tile:hover { border-color: var(--blue-mid, #2f8fd0); }
.wt-sp-tile.is-active {
  border-color: var(--blue-dark, #044d73);
  background: #eef7fd;
  box-shadow: 0 0 0 1px var(--blue-dark, #044d73) inset;
}
.wt-sp-tile.is-oos {
  opacity: 0.5;
  cursor: not-allowed;
}
.wt-sp-tile-size {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark, #032c42);
}
.wt-sp-tile-price {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-dark, #044d73);
}
.wt-sp-tile-price del { font-size: 11px; color: #aaa; font-weight: 400; }
.wt-sp-tile-price ins { text-decoration: none; color: #e03535; }
.wt-sp-tile-perl {
  font-size: 10.5px;
  color: #888;
}
.wt-sp-tile-badge {
  position: absolute;
  top: -9px;
  right: 8px;
  background: #1a9d54;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .wt-sp-tiles { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   SAFETY BUTTON
   ================================================================ */
.wt-sp-safety-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #b35900;
  background: #fff8f0;
  border: 1px solid #f0c07a;
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: background .2s;
}
.wt-sp-safety-btn:hover { background: #ffefd9; }

/* ================================================================
   SAFETY MODAL
   ================================================================ */
.wt-safety-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.wt-safety-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.wt-safety-modal {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  max-width: 520px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
  transform: translateY(16px);
  transition: transform .25s;
}
.wt-safety-overlay.is-open .wt-safety-modal {
  transform: translateY(0);
}
.wt-safety-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
}
.wt-safety-close:hover { color: #333; }
.wt-safety-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.wt-safety-head svg { color: #e07000; flex-shrink: 0; }
.wt-safety-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0;
}
.wt-safety-body {
  font-size: 14px;
  color: #444;
  line-height: 1.75;
}

/* ================================================================
   PRODUCT META (Artikelnummer, Kategorie, Hersteller, Lieferzeit)
   ================================================================ */
.wt-sp-product-meta {
  margin: 18px 0 0;
  border-top: 1px solid var(--gray-border);
  padding-top: 16px;
}
.wt-spm-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  border-bottom: 1px dashed #f0f0f0;
}
.wt-spm-row:last-child { border-bottom: none; }
.wt-spm-label {
  color: #999;
  font-weight: 600;
  flex-shrink: 0;
  min-width: 110px;
}
.wt-spm-value { color: var(--text-dark); }
.wt-spm-value a {
  color: var(--blue-mid);
  text-decoration: none;
  font-weight: 600;
}
.wt-spm-value a:hover { text-decoration: underline; }

/* Rating link */
.wt-sp-rating--link { text-decoration: none; }
.wt-sp-rating--link:hover .wt-sp-review-count { text-decoration: underline; }

/* ================================================================
   REVIEWS — RATING SUMMARY + BARS
   ================================================================ */
.wt-rv-summary {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 28px 28px 28px 20px;
  background: #f8fafd;
  border-radius: 16px;
  margin-bottom: 32px;
}
.wt-rv-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 100px;
}
.wt-rv-big-num {
  font-size: 52px;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1;
}
.wt-rv-big-stars {
  display: flex;
  gap: 2px;
}
.wt-rv-star-wrap {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
}
.wt-rv-count-label {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}
.wt-rv-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wt-rv-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wt-rv-bar-stars {
  display: flex;
  gap: 1px;
  flex-shrink: 0;
  width: 68px;
}
.wt-rv-bar-track {
  flex: 1;
  height: 8px;
  background: #e4e9f0;
  border-radius: 4px;
  overflow: hidden;
}
.wt-rv-bar-fill {
  height: 100%;
  background: #F1CB53;
  border-radius: 4px;
  transition: width .4s ease;
}
.wt-rv-bar-count {
  font-size: 12px;
  color: #999;
  flex-shrink: 0;
  min-width: 16px;
  text-align: right;
}

/* WooCommerce reviews overrides */
.wt-reviews-list #reviews { padding: 0; }
.wt-reviews-list #reviews h2 { display: none; }
.wt-reviews-list #reviews ol.commentlist { list-style: none; margin: 0; padding: 0; }
.wt-reviews-list #reviews ol.commentlist li { padding: 20px 0; border-bottom: 1px solid var(--gray-border); }
.wt-reviews-list #reviews ol.commentlist li:last-child { border-bottom: none; }
.wt-reviews-list #reviews ol.commentlist li .meta { font-size: 13px; color: #888; margin-bottom: 6px; }
.wt-reviews-list #reviews ol.commentlist li .star-rating { margin-bottom: 6px; }
.wt-reviews-list #reviews ol.commentlist li .description p { font-size: 14px; color: #444; line-height: 1.7; margin: 0; }
/* ── Review form — carded & themed ── */
.wt-reviews-list #review_form_wrapper { margin-top: 10px; }
.wt-reviews-list #respond {
  margin-top: 32px; padding: 24px;
  border: 1.5px solid var(--gray-border); border-radius: 16px;
  background: linear-gradient(160deg, #fbfcfe, #f4f8fb);
}
.wt-reviews-list #respond .comment-reply-title,
.wt-reviews-list #respond h3 { font-size: 18px; font-weight: 800; color: var(--blue-dark); margin: 0 0 4px; display: block; }
.wt-reviews-list #respond .comment-form { margin: 0; }
.wt-reviews-list #respond .comment-notes { font-size: 12.5px; color: #888; margin: 0 0 18px; }
.wt-reviews-list .comment-form-rating { margin-bottom: 16px; }
.wt-reviews-list .comment-form-rating > label { display: block; font-weight: 700; font-size: 13.5px; color: var(--text-dark); margin-bottom: 6px; }
.wt-reviews-list .comment-form p.stars { margin: 0; }
.wt-reviews-list .comment-form p.stars a { font-size: 22px; }
.wt-reviews-list .comment-form p.stars a::before,
.wt-reviews-list .comment-form p.stars a.active::before,
.wt-reviews-list .comment-form p.stars:hover a::before { color: #F1CB53; }
.wt-reviews-list .comment-form > p { margin: 0 0 14px; }
.wt-reviews-list .comment-form label { display: block; font-weight: 600; font-size: 13px; color: #555; margin-bottom: 5px; }
.wt-reviews-list .comment-form input[type=text],
.wt-reviews-list .comment-form input[type=email],
.wt-reviews-list .comment-form textarea {
  width: 100%; box-sizing: border-box; border: 1.5px solid var(--gray-border);
  border-radius: 10px; padding: 11px 13px; font-size: 14px; font-family: inherit;
  background: #fff; color: var(--text-dark); outline: none; transition: border-color .2s, box-shadow .2s;
}
.wt-reviews-list .comment-form input[type=text]:focus,
.wt-reviews-list .comment-form input[type=email]:focus,
.wt-reviews-list .comment-form textarea:focus { border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(0,144,216,.12); }
.wt-reviews-list .comment-form textarea { min-height: 120px; resize: vertical; }
.wt-reviews-list .comment-form .form-submit { margin: 6px 0 0; }
.wt-reviews-list .comment-form .form-submit input[type=submit],
.wt-reviews-list #respond input#submit {
  background: var(--green-cart, #2ea44f); color: #fff; border: none; border-radius: 10px;
  padding: 13px 28px; font-size: 14px; font-weight: 800; cursor: pointer;
  transition: background .2s, transform .1s, box-shadow .2s;
}
.wt-reviews-list .comment-form .form-submit input[type=submit]:hover,
.wt-reviews-list #respond input#submit:hover { background: #25863f; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(46,164,79,.28); }
@media (min-width: 560px) {
  .wt-reviews-list .comment-form-author,
  .wt-reviews-list .comment-form-email { display: inline-block; width: calc(50% - 7px); vertical-align: top; }
  .wt-reviews-list .comment-form-author { margin-right: 12px; }
}

@media (max-width: 600px) {
  .wt-rv-summary { flex-direction: column; gap: 20px; padding: 20px; }
  .wt-rv-score { flex-direction: row; flex-wrap: wrap; justify-content: center; min-width: unset; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .wt-sp-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .wt-sp-left    { position: static; }
  .wt-sp-name    { font-size: 24px; }
  .wt-sp-price   { font-size: 26px; }
}

@media (max-width: 600px) {
  .wt-sp-wrap { padding: 16px 16px 40px; }
  .wt-sp-main { padding: 18px; gap: 22px; }
  .wt-sp-buy-row { flex-direction: column; }
  .wt-sp-qty { justify-content: center; padding: 10px 20px; }
  .wt-sp-cart-btn { padding: 15px; }
  .wt-bw-track { grid-template-columns: repeat(2, 1fr); }
  .wt-sp-tab { padding: 9px 15px; font-size: 13px; }
  .wt-sp-tab-content { padding: 22px 16px; }
}

/* ================================================================
   GHS HAZARD PICTOGRAMS
   ================================================================ */
.wt-sp-safety-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.wt-sp-safety-line .wt-sp-safety-btn { margin-bottom: 0; }

.wt-ghs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}
.wt-ghs {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 54px;
  color: #1a1a1a;
}
.wt-ghs img { width: 44px; height: 44px; display: block; }
.wt-ghs-label {
  font-size: 9px;
  line-height: 1.15;
  text-align: center;
  color: #666;
  font-weight: 600;
}

/* Beside the button the icons stay compact and unlabelled. */
.wt-ghs-row--inline { margin: 0; gap: 6px; }
.wt-ghs-row--inline .wt-ghs { width: auto; }
.wt-ghs-row--inline .wt-ghs img { width: 30px; height: 30px; }
.wt-ghs-row--inline .wt-ghs-label { display: none; }

.wt-safety-modal .wt-ghs-row { margin: 4px 0 14px; }

@media (max-width: 600px) {
  .wt-ghs { width: 48px; }
  .wt-ghs img { width: 38px; height: 38px; }
}

/* ================================================================
   SOLD-OUT STATE
   ================================================================ */
.wt-sp-cart-btn:disabled {
  background: #d7dde3;
  color: #6b7681;
  cursor: not-allowed;
  box-shadow: none;
}
.wt-sp-cart-btn:disabled:hover { transform: none; box-shadow: none; }
.wt-sp-cart-btn:disabled::after { display: none; }

/* Corner tag on the product image. */
.wt-sp-img-tag {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
}
.wt-sp-img-tag--out { background: #c0392b; }
.wt-sp-img-tag--pre { background: #a86b00; }

@media (max-width: 600px) {
  .wt-sp-img-tag { top: 10px; left: 10px; font-size: 10px; padding: 4px 10px; }
}

/* The image wrapper anchors its own overlays (tag + zoom hint). */
.wt-sp-main-img { position: relative; }


/* Sold out: no quantity picker, the button owns the row. */
.wt-sp-buy-row--soldout .wt-sp-cart-btn { width: 100%; flex: 1 1 auto; }
