/* Elite Card Protectors – premium WooCommerce product detail pages. */

body.single-product {
  --ecp-pdp-bg: #030711;
  --ecp-pdp-panel: #08111f;
  --ecp-pdp-panel-2: #0b1626;
  --ecp-pdp-line: rgba(148, 177, 220, 0.17);
  --ecp-pdp-text: #f7f9fc;
  --ecp-pdp-muted: #aeb9c9;
  --ecp-pdp-blue: #2f79ff;
  --ecp-pdp-cyan: #53a6ff;
  background: var(--ecp-pdp-bg) !important;
  color: var(--ecp-pdp-text);
}

body.single-product main {
  position: relative;
  margin: 0 !important;
  padding: 34px clamp(18px, 4vw, 64px) 76px !important;
  background:
    radial-gradient(circle at 76% 12%, rgba(47, 121, 255, 0.14), transparent 25%),
    linear-gradient(rgba(83, 166, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 166, 255, 0.035) 1px, transparent 1px),
    var(--ecp-pdp-bg);
  background-size: auto, 52px 52px, 52px 52px, auto;
}

body.single-product main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(83, 166, 255, 0.45), transparent);
}

body.single-product .woocommerce-breadcrumb {
  width: min(1240px, 100%);
  margin: 0 auto 24px !important;
  color: #718198 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.025em;
}

body.single-product .woocommerce-breadcrumb a {
  color: #b7c6da !important;
  text-decoration: none;
}

body.single-product .woocommerce-breadcrumb a:hover,
body.single-product .woocommerce-breadcrumb a:focus-visible {
  color: var(--ecp-pdp-cyan) !important;
}

body.single-product .woocommerce div.product {
  width: min(1240px, 100%);
  margin-inline: auto !important;
}

body.single-product .woocommerce div.product .woocommerce-product-gallery {
  position: relative;
  box-sizing: border-box;
  float: left;
  width: 54%;
  min-height: 650px;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--ecp-pdp-line);
  border-radius: 5px;
  background-color: #050b14;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

body.single-product .woocommerce-product-gallery::before {
  content: "Visualisierung";
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(3, 7, 17, 0.74);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.single-product .woocommerce-product-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 62%, rgba(3, 7, 17, 0.55)),
    radial-gradient(circle at 50% 48%, transparent 42%, rgba(3, 7, 17, 0.16) 100%);
}

body.postid-25 .woocommerce-product-gallery {
  background-image: url("https://woo-stage.maxxxel.de/wp-content/uploads/2026/07/file_000000009494720a80535c4a8096f575.png");
}

body.postid-26 .woocommerce-product-gallery {
  background-image: url("https://woo-stage.maxxxel.de/wp-content/uploads/2026/07/file_000000008950720a90580fd085edb4d1.png");
}

body.postid-27 .woocommerce-product-gallery {
  background-image: url("https://woo-stage.maxxxel.de/wp-content/uploads/2026/07/file_0000000006e8720aa80550cbb87d86a8.png");
}

body.postid-28 .woocommerce-product-gallery {
  background-image: url("https://woo-stage.maxxxel.de/wp-content/uploads/2026/07/file_00000000fe70720aa4eaefd688d32b33.png");
}

body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__trigger {
  opacity: 0 !important;
  pointer-events: none !important;
}

body.single-product .summary.entry-summary {
  position: sticky;
  top: 108px;
  box-sizing: border-box;
  float: right;
  width: 42.5%;
  margin: 0 !important;
  padding: clamp(30px, 3.2vw, 46px) !important;
  border: 1px solid var(--ecp-pdp-line);
  border-radius: 5px;
  color: var(--ecp-pdp-text);
  background:
    linear-gradient(145deg, rgba(17, 31, 50, 0.96), rgba(6, 13, 24, 0.98)),
    var(--ecp-pdp-panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

body.single-product .summary.entry-summary::before {
  content: "Made in Germany";
  display: block;
  margin-bottom: 14px;
  color: var(--ecp-pdp-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.single-product .summary .product_title {
  max-width: 620px;
  margin: 0 0 16px !important;
  color: #fff !important;
  font-size: clamp(2.3rem, 4.4vw, 4.2rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.05em;
  line-height: 0.98 !important;
}

body.single-product .summary .price {
  margin: 0 0 20px !important;
  color: #fff !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
}

body.single-product .summary .price .woocommerce-Price-currencySymbol {
  color: var(--ecp-pdp-cyan);
}

body.single-product .summary .wc-gzd-additional-info,
body.single-product .summary .shipping-costs-info,
body.single-product .summary .delivery-time-info,
body.single-product .summary .tax-info {
  margin: 7px 0 !important;
  color: #95a4b7 !important;
  font-size: 0.78rem !important;
  line-height: 1.55 !important;
}

body.single-product .summary .woocommerce-product-details__short-description {
  margin: 24px 0 0 !important;
  color: #d7deea !important;
}

.ecp-pdp-lead {
  margin: 0 0 20px;
  color: #d7deea;
  font-size: 1.02rem;
  line-height: 1.68;
}

.ecp-pdp-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.ecp-pdp-benefit {
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid rgba(83, 166, 255, 0.22);
  border-radius: 4px;
  color: #c9d5e5;
  background: rgba(47, 121, 255, 0.055);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

body.single-product form.variations_form {
  margin-top: 26px !important;
  padding-top: 24px !important;
  border-top: 1px solid var(--ecp-pdp-line) !important;
}

body.single-product form.variations_form .variations {
  margin-bottom: 14px !important;
}

body.single-product form.variations_form .variations th,
body.single-product form.variations_form .variations td {
  padding: 0 0 10px !important;
  vertical-align: middle;
}

body.single-product form.variations_form .variations label {
  color: #fff !important;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.single-product form.variations_form select {
  width: 100% !important;
  min-height: 50px !important;
  padding: 0 42px 0 14px !important;
  border: 1px solid rgba(148, 177, 220, 0.32) !important;
  border-radius: 4px !important;
  color: #eef3fa !important;
  background-color: #07101c !important;
  font-size: 0.95rem !important;
}

body.single-product form.variations_form select option {
  color: #111827;
  background: #fff;
}

body.single-product form.variations_form .reset_variations {
  min-height: 40px;
  color: var(--ecp-pdp-cyan) !important;
  font-size: 0.78rem !important;
}

body.single-product .woocommerce-variation-price {
  margin-bottom: 12px;
  color: #fff;
}

body.single-product .woocommerce-variation-add-to-cart {
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: stretch;
}

body.single-product .woocommerce-variation-add-to-cart .quantity {
  width: 76px !important;
  margin: 0 !important;
}

body.single-product .woocommerce-variation-add-to-cart .qty {
  width: 100% !important;
  height: 54px !important;
  border: 1px solid rgba(148, 177, 220, 0.35) !important;
  border-radius: 4px !important;
  color: #fff !important;
  background: #07101c !important;
}

body.single-product .single_add_to_cart_button {
  min-height: 54px !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #2169f5, #3487ff) !important;
  box-shadow: 0 12px 28px rgba(47, 121, 255, 0.25);
  font-size: 0.88rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

body.single-product .single_add_to_cart_button:hover,
body.single-product .single_add_to_cart_button:focus-visible {
  background: linear-gradient(135deg, #2b75ff, #4b95ff) !important;
  box-shadow: 0 16px 34px rgba(47, 121, 255, 0.34);
}

body.single-product .single_add_to_cart_button.disabled,
body.single-product .single_add_to_cart_button:disabled {
  color: rgba(255, 255, 255, 0.72) !important;
  background: #395a93 !important;
  box-shadow: none;
}

body.single-product .product_meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-top: 24px !important;
  padding-top: 18px !important;
  border-top: 1px solid var(--ecp-pdp-line) !important;
  color: #74849a !important;
  font-size: 0.72rem !important;
}

body.single-product .product_meta a {
  color: #b8c9df !important;
}

body.single-product .woocommerce-tabs,
body.single-product .related.products {
  clear: both;
  width: min(1240px, 100%);
  margin: 64px auto 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs {
  display: flex !important;
  gap: 8px !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--ecp-pdp-line) !important;
  border-radius: 4px !important;
  background: #07101c !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active {
  border-color: rgba(83, 166, 255, 0.58) !important;
  background: rgba(47, 121, 255, 0.13) !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  min-height: 46px !important;
  padding: 12px 18px !important;
  color: #d7e0ec !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.single-product .woocommerce-tabs li.reviews_tab,
body.single-product #tab-reviews {
  display: none !important;
}

body.single-product .woocommerce-tabs .panel {
  margin: 0 !important;
  padding: clamp(28px, 4vw, 54px) !important;
  border: 1px solid var(--ecp-pdp-line) !important;
  border-radius: 5px !important;
  color: #c8d2df !important;
  background:
    linear-gradient(145deg, rgba(13, 27, 45, 0.96), rgba(5, 12, 22, 0.98)),
    var(--ecp-pdp-panel);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.3);
}

body.single-product .woocommerce-tabs .panel > h2:first-child {
  display: none;
}

.ecp-pdp-description {
  max-width: 1080px;
  margin-inline: auto;
}

.ecp-pdp-description .ecp-pdp-kicker {
  margin: 0 0 12px;
  color: var(--ecp-pdp-cyan);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ecp-pdp-description h2 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.ecp-pdp-description > p {
  max-width: 780px;
  margin: 0 0 30px;
  color: #c4cfdd;
  font-size: 1rem;
  line-height: 1.72;
}

.ecp-pdp-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 36px;
}

.ecp-pdp-feature-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--ecp-pdp-line);
  border-radius: 4px;
  background: rgba(3, 9, 18, 0.48);
}

.ecp-pdp-feature-card strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.ecp-pdp-feature-card span {
  display: block;
  color: #9eacbf;
  font-size: 0.82rem;
  line-height: 1.5;
}

.ecp-pdp-note {
  margin-top: 30px;
  padding: 18px 20px;
  border-left: 3px solid var(--ecp-pdp-blue);
  color: #aebacd;
  background: rgba(47, 121, 255, 0.07);
  font-size: 0.86rem;
  line-height: 1.6;
}

body.single-product .related.products > h2 {
  margin: 0 0 24px !important;
  color: #fff !important;
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  letter-spacing: -0.035em;
}

body.single-product .related ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body.single-product .related ul.products::before,
body.single-product .related ul.products::after {
  display: none !important;
}

body.single-product .related ul.products li.product {
  display: flex !important;
  flex-direction: column;
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--ecp-pdp-line) !important;
  border-radius: 5px !important;
  color: var(--ecp-pdp-text);
  background: linear-gradient(180deg, #0b1524, #060d17) !important;
  box-shadow: none !important;
}

body.single-product .related ul.products li.product > a:first-child {
  display: block;
  color: inherit;
  text-decoration: none;
}

body.single-product .related ul.products li.product > a:first-child::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.82;
  border-bottom: 1px solid var(--ecp-pdp-line);
  background-color: #07101b;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.single-product .related ul.products li.post-25 > a:first-child::before {
  background-image: url("https://woo-stage.maxxxel.de/wp-content/uploads/2026/07/file_000000009494720a80535c4a8096f575.png");
}

body.single-product .related ul.products li.post-26 > a:first-child::before {
  background-image: url("https://woo-stage.maxxxel.de/wp-content/uploads/2026/07/file_000000008950720a90580fd085edb4d1.png");
}

body.single-product .related ul.products li.post-27 > a:first-child::before {
  background-image: url("https://woo-stage.maxxxel.de/wp-content/uploads/2026/07/file_0000000006e8720aa80550cbb87d86a8.png");
}

body.single-product .related ul.products li.post-28 > a:first-child::before {
  background-image: url("https://woo-stage.maxxxel.de/wp-content/uploads/2026/07/file_00000000fe70720aa4eaefd688d32b33.png");
}

body.single-product .related ul.products li.product img {
  display: none !important;
}

body.single-product .related ul.products li.product .woocommerce-loop-product__title,
body.single-product .related ul.products li.product .price,
body.single-product .related ul.products li.product .wc-gzd-additional-info,
body.single-product .related ul.products li.product .shipping-costs-info {
  margin-inline: 18px !important;
}

body.single-product .related ul.products li.product .woocommerce-loop-product__title {
  margin-top: 18px !important;
  color: #fff !important;
  font-size: 1.05rem !important;
}

body.single-product .related ul.products li.product .price {
  margin-top: 10px !important;
  color: #fff !important;
  font-weight: 800 !important;
}

body.single-product .related ul.products li.product .button {
  align-self: stretch;
  min-height: 48px;
  margin: 18px !important;
  border-radius: 4px !important;
  color: #fff !important;
  background: #1769e8 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.035em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  body.single-product .woocommerce div.product .woocommerce-product-gallery {
    width: 51%;
    min-height: 560px;
  }

  body.single-product .summary.entry-summary {
    width: 45%;
    padding: 30px !important;
  }

  .ecp-pdp-benefits {
    grid-template-columns: 1fr;
  }

  .ecp-pdp-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body.single-product main {
    padding: 20px 14px 58px !important;
  }

  body.single-product .woocommerce-breadcrumb {
    margin-bottom: 14px !important;
  }

  body.single-product .woocommerce div.product .woocommerce-product-gallery,
  body.single-product .summary.entry-summary {
    float: none !important;
    width: 100% !important;
  }

  body.single-product .woocommerce div.product .woocommerce-product-gallery {
    min-height: 430px;
    margin-bottom: 16px !important;
    background-position: center;
  }

  body.single-product .summary.entry-summary {
    position: static;
    padding: 26px 20px !important;
  }

  body.single-product .summary .product_title {
    font-size: clamp(2.35rem, 12vw, 3.4rem) !important;
  }

  .ecp-pdp-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.single-product form.variations_form .variations tr,
  body.single-product form.variations_form .variations th,
  body.single-product form.variations_form .variations td {
    display: block;
    width: 100% !important;
  }

  body.single-product form.variations_form .variations th {
    padding-bottom: 6px !important;
    text-align: left;
  }

  body.single-product .woocommerce-tabs,
  body.single-product .related.products {
    margin-top: 38px !important;
  }

  body.single-product .woocommerce-tabs ul.tabs {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  body.single-product .woocommerce-tabs ul.tabs li,
  body.single-product .woocommerce-tabs ul.tabs li a {
    width: 100%;
  }

  .ecp-pdp-feature-grid {
    grid-template-columns: 1fr;
  }

  body.single-product .related ul.products {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  body.single-product .woocommerce div.product .woocommerce-product-gallery {
    min-height: 360px;
  }

  body.single-product .summary.entry-summary {
    padding: 24px 18px !important;
  }

  .ecp-pdp-benefits {
    grid-template-columns: 1fr;
  }

  body.single-product .woocommerce-variation-add-to-cart {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body.single-product .woocommerce-variation-add-to-cart .quantity {
    width: 72px !important;
  }

  body.single-product .woocommerce-tabs .panel {
    padding: 26px 20px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product *,
  body.single-product *::before,
  body.single-product *::after {
    transition: none !important;
  }
}
