/* ==========================================================
   SINGLE PRODUCT: Intro block (SKU / price / short desc / UVPs)
   ========================================================== */

body.single-product div.product .summary{
  /* One shared width for short description + UVP row */
  --intro-measure: 63ch;
}

/* ---- Short description accent ---- */
body.single-product div.product .summary .woocommerce-product-details__short-description{
  position: relative;
  padding-left: 14px;                 /* space for accent line */
  max-width: var(--intro-measure);
}

body.single-product div.product .summary .woocommerce-product-details__short-description::before{
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  height: calc(100% - 8px);
  width: 3px;
  background: var(--accent);
  border-radius: 8px;
  opacity: 0.85;
}

body.single-product div.product .summary .woocommerce-product-details__short-description p{
  margin: 0;
  line-height: 1.6;
  opacity: 0.86;
}

/* ---- UVP row: same width as short description ---- */
body.single-product div.product .summary .ab-uvp-row{
  max-width: var(--intro-measure);
  width: 100%;

  display: flex;
  align-items: center;

  flex-wrap: nowrap;                  /* always one row */
  overflow-x: auto;                   /* scroll on small screens */
  -webkit-overflow-scrolling: touch;

  column-gap: 8px;                    /* spacing between each badge */
  margin: -24px 0 50px;               /* pull closer to short desc */

  scrollbar-width: none;              /* Firefox hide scrollbar */
}
body.single-product div.product .summary .ab-uvp-row::-webkit-scrollbar{
  display: none;                      /* Chrome/Safari hide scrollbar */
}

/* Each badge (icon + label) */
body.single-product div.product .summary .ab-uvp{
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex: 0 0 auto;

  column-gap: 2px;                    /* tight icon-to-text spacing */
}

/* Icon circle */
body.single-product div.product .summary .ab-uvp__icon{
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* SVG inside circle */
body.single-product div.product .summary .ab-uvp__icon img{
  width: 12px;
  height: 12px;
  display: block;
}

/* Label */
body.single-product div.product .summary .ab-uvp__label{
  font-family: "Bikys Heading", sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.85;
}

/* Optional: distribute evenly on larger screens */
@media (min-width: 768px){
  body.single-product div.product .summary .ab-uvp-row{
    justify-content: space-between;
    overflow-x: visible;
  }
}

/* Mobile: left-align UVPs instead of space-between */
@media (max-width: 767px){
  body.single-product div.product .summary .ab-uvp-row{
    justify-content: flex-start;
  }
}


/* ==========================================================
   ADDITIONS
   - Fade on smaller screens
   - Max-width controller: 10% narrower on smaller screens
   ========================================================== */

/* Small screens (mobile + tablet): fade hint + 10% narrower max width */
@media (max-width: 1024px){
  body.single-product div.product .summary .ab-uvp-row{
    /* 10% less than available container width, but still respects intro measure */
    max-width: min(var(--intro-measure), 99%);

    /* Fade hint (works on modern browsers) */
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%);
  }
}

/* If you want the SHORT DESCRIPTION to also follow the same 90% rule on small screens */
@media (max-width: 1024px){
  body.single-product div.product .summary .woocommerce-product-details__short-description{
    max-width: min(var(--intro-measure), 99%);
  }
}

/* ==========================================================
   UVP underline pulse (ALL labels)
   - subtle, repeats every 2s
   ========================================================== */

body.single-product div.product .summary .ab-uvp__label{
  position: relative;
  display: inline-block; /* needed so ::after underline matches text width */
}

/* animated underline */
body.single-product div.product .summary .ab-uvp__label::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;

  transform: scaleX(0);
  transform-origin: left;
  opacity: 0.75; /* keep it subtle */
  animation: ab-uvp-underline 3s ease-in-out infinite;
}

@keyframes ab-uvp-underline{
  0%   { transform: scaleX(0); transform-origin: left; }
  25%  { transform: scaleX(1); transform-origin: left; }
  55%  { transform: scaleX(1); transform-origin: right; }
  80%  { transform: scaleX(0); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* Slightly stagger each badge so they don't animate in perfect sync */
body.single-product div.product .summary .ab-uvp:nth-child(1) .ab-uvp__label::after{ animation-delay: 0s; }
body.single-product div.product .summary .ab-uvp:nth-child(2) .ab-uvp__label::after{ animation-delay: 0.25s; }
body.single-product div.product .summary .ab-uvp:nth-child(3) .ab-uvp__label::after{ animation-delay: 0.5s; }
body.single-product div.product .summary .ab-uvp:nth-child(4) .ab-uvp__label::after{ animation-delay: 0.75s; }



/* ==========================================================
   MAke single product tab widths what we want
   ========================================================== */

.single-product div.product .woocommerce-tabs {
    clear: both;
    max-width: 1530px !important;
    width: 100% !important;
}
.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel {
  max-width: 1530px !important;  /* or 1600px */
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}



/* ================================
   Woo Variations – match add-ons UI
   Scope: single product pages only
================================== */

body.single-product form.variations_form {
  margin-top: 12px;
}

/* Remove the "table" feeling */
body.single-product form.variations_form table.variations,
body.single-product form.variations_form table.variations tbody,
body.single-product form.variations_form table.variations tr,
body.single-product form.variations_form table.variations th,
body.single-product form.variations_form table.variations td {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
}

/* Each variation row becomes its own “card/section” */
body.single-product form.variations_form table.variations tr {
  margin-bottom: 14px;
}

/* Label becomes a header bar (like your add-ons headings) */
body.single-product form.variations_form table.variations th.label {
  background: #2b2b2b;
  border-radius: 6px;
  padding: 12px 14px;
  line-height: 1.2;
}

body.single-product form.variations_form table.variations th.label label {
  font-family: "Bikys Heading", sans-serif;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  margin: 0;
  display: block;
}

/* Value wrapper sits below the header */
body.single-product form.variations_form table.variations td.value {
  border: 1px solid #e7e7e7;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  padding: 12px 14px;
  background: #ffffff;
}

/* The select itself */
body.single-product form.variations_form table.variations td.value select {
  width: 100%;
  max-width: 100%;
  height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #d9d9d9;
  background-color: #ffffff;
  font-size: 14px;
  line-height: 1.2;
  outline: none;
}

/* Focus state */
body.single-product form.variations_form table.variations td.value select:focus {
  border-color: #bdbdbd;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

/* Hide reset link */
body.single-product form.variations_form a.reset_variations {
  display: none !important;
}

/* Variation price block spacing */
body.single-product .single_variation_wrap {
  margin-top: 10px;
}

/* Select text styling */
body.single-product form.variations_form table.variations td.value select {
  color: #111;
  font-family: "Bikys Heading";
}

body.single-product form.variations_form table.variations td.value select:invalid {
  color: #777;
}

/* === Make COVERAGE feel like the primary selector === */
body.single-product form.variations_form table.variations tr:first-child th.label {
  background: #252525;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset;
  position: relative;
  padding: 19px 18px 19px 10px;
}

body.single-product form.variations_form table.variations tr:first-child th.label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #ff2b6a;
  border-radius: 6px 0 0 6px;
  opacity: 0.85;
}

body.single-product form.variations_form table.variations tr:first-child td.value {
  background: #fbfbfb;
  border-color: #e3e3e3;
}

/* Price colour */
.single-product div.product .single_variation .price {
  color: var(--accent) !important;
  margin-top: 0px;
}

/* === Variation price polish === */
body.single-product .woocommerce-variation.single_variation {
  padding-top: 6px;
}

/* Price styling */
body.single-product .woocommerce-variation-price {
  margin: 0 0 8px 0;
}

body.single-product .woocommerce-variation-price .price {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

body.single-product .woocommerce-variation-price ins {
  text-decoration: none;
}

body.single-product .woocommerce-variation-price del {
  opacity: 0.55;
  margin-right: 8px;
}

/* === Default: price + stock in one row === */
body.single-product .woocommerce-variation.single_variation {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0px;
  margin-bottom: 10px;
}

body.single-product .woocommerce-variation-availability {
  margin-left: 14px;
}

body.single-product .woocommerce-variation-price {
  margin: 0;
  padding-left: 15px;
}

/* Variable top price "From" pill */
body.single-product .product.product-type-variable .summary p.price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.05;
  flex-wrap: wrap;
}

body.single-product .product.product-type-variable .summary p.price::before {
  content: "From";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  transform: translateY(1.5px);
  color: #f2f2f0;
  border-color: #282828;
  background: #282828;
  opacity: 1;
}

@media (max-width: 600px) {
  body.single-product .product.product-type-variable .summary p.price {
    gap: 8px;
  }
  body.single-product .product.product-type-variable .summary p.price::before {
    font-size: 11px;
    padding: 3px 8px;
    letter-spacing: 0.07em;
  }
}

/* ==========================================================
   XFP Coverage SVG + layout
   - SVG above
   - then a horizontal row (price + stock)
   ========================================================== */

/* Coverage SVG wrapper (injected by JS) */
body.single-product form.variations_form .woocommerce-variation.single_variation .xfp-coverage-illu {
  display: none;
  width: 100%;
  margin: 0 0 24px;
}

body.single-product form.variations_form .woocommerce-variation.single_variation .xfp-coverage-illu.is-visible {
  display: block;
}

body.single-product form.variations_form .woocommerce-variation.single_variation .xfp-coverage-illu img {
  display: block;
  width: 100%;
  max-width: 300px; /* tweak 320–420 */
  height: auto;
}

/* When coverage is active, stack overall container */
body.single-product form.variations_form .woocommerce-variation.single_variation.xfp-has-coverage {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin-bottom: 10px;
}

/* New row wrapper inserted by JS */
body.single-product form.variations_form .woocommerce-variation.single_variation.xfp-has-coverage .xfp-variation-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
}

/* Remove your “row mode” spacing when we're using the wrapper */
body.single-product form.variations_form .woocommerce-variation.single_variation.xfp-has-coverage .woocommerce-variation-price {
  padding-left: 0 !important;
  margin: 0 !important;
}

body.single-product form.variations_form .woocommerce-variation.single_variation.xfp-has-coverage .woocommerce-variation-availability {
  margin-left: 0 !important;
  margin: 0 !important;
}



.single-product div.product .single_variation .price {
  margin-bottom: 5px !important;
}


