/* =============================================================
   WPC Variation Swatches — wpc-swatches.css
   Enqueued only on single product pages via wpc-variation-swatches.php
   ============================================================= */

.wpc-swatches-wrapper {
  font-family: inherit;
  margin: 0 0 1.25rem;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.wpc-swatches-wrapper .wpc-swatch-group {
  margin-bottom: 1.25rem;
}

.wpc-swatches-wrapper .wpc-swatch-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wpc-swatches-wrapper .wpc-swatch-label span.selected-val {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #888;
  font-size: 13px;
}

/* ── Colour swatches (Metal / Pearl Colour) ── */
.wpc-colour-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wpc-colour-swatch {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s ease, transform 0.1s ease;
  box-sizing: border-box;
  flex-shrink: 0;
  background: none;
  /* padding: 0; */
  padding: 1px 0px 1px 2px;
}

.wpc-colour-swatch .swatch-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  display: block;
}

.wpc-colour-swatch:hover {
  transform: scale(1.08);
}

.wpc-colour-swatch.selected {
  border-color: #000;
  /* outline: 2px solid #000; */
  outline-offset: 2px;
}

.wpc-colour-swatch.selected::after {
  content: '\2713';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 15px;
  height: 15px;
  background: #333;
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}

.wpc-colour-swatch.unavailable {
  opacity: 0.35;
  cursor: not-allowed;
}

.wpc-colour-swatch .swatch-tooltip {
  position: absolute;
  /* bottom: calc(100% + 8px); */
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 10;
}

.wpc-colour-swatch:hover .swatch-tooltip {
  opacity: 1;
}

/* ── Size / text button swatches ── */
.wpc-size-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wpc-size-swatch {
  position: relative;
  min-width: 58px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #ECECEC;
  border-radius: 0;
  background: #ECECEC;
  color: #444342;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.wpc-size-swatch:hover {
  border-color: #E4E0CF;
  background: #E4E0CF;
  color: #444342;
}

.wpc-size-swatch.selected {
  background: #E4E0CF;
  /* border-color: #000; */
  color: #444342;
  font-weight: 500;
}

.wpc-size-swatch.selected::after {
  content: '\2713';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 14px;
  height: 14px;
  background: #333;
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  pointer-events: none;
}

.wpc-size-swatch.unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ── Hide native WooCommerce variation dropdowns ── */
/* Critical inline style in wp_head hides these before body renders.   */
/* This rule is the persistent fallback once the stylesheet is parsed.  */
.variations_form .variations {
  display: none !important;
}
.product-type-variable span.woocommerce-Price-amount.amount {
    font-family:than, sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
}

/** Extra temp - Remove while push to live **/
.allure-product-details-section .allure-pds__intro p{
  font-family:than;
}
footer .wp-block-image img {
    max-width: 100px;
    max-height: 100px;
}

.product-type-variable .woocommerce-variation-price{
  display: none;
}


.wpc-colour-swatch .swatch-inner {
    width: 93%;
    height: 90%;
    border-radius: 50%;
    border: none;
    background-size: contain !important;
}

.wpc-swatches-wrapper .wpc-swatch-label {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    row-gap: 0;
}

/* .yith-wcwl-icon-svg__wrapper svg.yith-wcwl-icon-svg {
    width: 20px;
    height: 20px;
}

.yith-wcwl-icon-svg__wrapper {
    position: relative;
}

span.wc-block-mini-wishlist__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #000;
    width: 14px;
    height: 14px;
    padding: 2px 5px;
    color: #fff;
    font-size: 10px;
    border-radius: 50%;
} */