:root {
  --fs-01: clamp(1rem, 0.8rem + 0.4vw, 1.1rem);
  --fs-02: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  --fs-03: clamp(1.2rem, 1.05rem + 0.75vw, 1.7rem);
  --fs-04: clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem);
  --fs-05: clamp(2rem, 1.6rem + 2vw, 3rem);
  --color-transition: 0.5s;
  --productCustomisationInnerBefore: -200px;
  --productDisplayContainerOffset: 200px;
}

@media (min-width: 1400px) {
  :root {
    --productCustomisationInnerBefore: -300px;
    --productDisplayContainerOffset: 300px;
  }

  #bootscore-navbar > .menu-item > .nav-link:hover {
    color: var(--accent-color) !important;
    filter: brightness(0.7);
  }

  #bootscore-navbar > .menu-item > .nav-link .dropdownSectionArrow {
    filter: brightness(1) !important;
  }
}

.page-template-page-product-customizer #masthead {
  position: absolute;
  width: 100%;
  left: 0;
}

.pcCustomizer {
  padding: 0;
  color: #ffffff;
  position: relative;
  background-color: var(--swatch-color, #80d1fe);
  transition: background-color var(--color-transition) linear;
}

.pcDisplayInner,
.pcConfigInner {
  padding: 0 20px;
}

.pcConfig {
  position: relative;
}

.pcConfigInner {
  margin-top: var(--productCustomisationInnerBefore) !important;
}

.pcConfig::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: var(--productDisplayContainerOffset);
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0px -40px 70px var(--swatch-color);
  transition: box-shadow var(--color-transition) linear;
}

.pcDisplay {
  padding-top: 125px;
  padding-bottom: var(--productDisplayContainerOffset);
}

.pcDisplayInner {
  position: relative;
  z-index: 2;
}

.pcBadge {
  transform: rotate(-3deg);
  background-color: var(--accent-color);
  color: white !important;
  padding: 7px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: clamp(0.9rem, 1vw, 1rem);
  transition: background-color 0.1s linear;
}

@media (min-width: 1400px) {
  .pcDisplay {
    padding-top: 200px;
  }
}

.pcCustomizer .pcDisplay::before,
.pcCustomizer .pcDisplay::after {
  content: "";
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top center;
  z-index: 1 !important;
}

.pcCustomizer .pcDisplay::before {
  background-image: url(/wp-content/themes/shewee/img/wavey-white-lines-bg-2.webp);
  opacity: 0.1;
}

.pcCustomizer .pcDisplay::after {
  background-image: url(/wp-content/themes/shewee/img/festival-bg-1.webp);
  opacity: 0.15;
}

.pcCustomizer > * {
  position: relative;
  z-index: 2;
}

.pcHero {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pcHero * {
  margin: 0;
  line-height: 100%;
}

.pcHero > p {
  color: var(--accent-color);
  font-weight: 700;
}

.pcHero > p:first-of-type {
  font-size: var(--fs-04);
}

.pcHero > h1 {
  font-size: clamp(4.5rem, 7vw, 8rem);
  font-weight: 800;
  line-height: 76%;
  letter-spacing: -4px;
  text-shadow:
    -3px -3px 0 var(--swatch-color),
    3px -3px 0 var(--swatch-color),
    -3px 3px 0 var(--swatch-color),
    3px 3px 0 var(--swatch-color),
    0px -3px 0 var(--swatch-color),
    3px 0px 0 var(--swatch-color),
    0px 3px 0 var(--swatch-color),
    -3px 0px 0 var(--swatch-color),
    0px 0px 50px rgba(0, 0, 0, 0.3);
  margin-top: 5px;
}

.pcHero > p:last-of-type {
  font-size: var(--fs-03);
  margin-top: clamp(15px, 2vw, 20px);
}

.pcSlider {
  display: flex;
  justify-content: center;
}

.pcSlider > div {
  width: 100%;
}

.pcSlider [data-product-image] img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: contain;
  max-height: 550px;
  object-position: center;
  filter: drop-shadow(2px 4px 50px rgba(0, 0, 0, 0.3));
  opacity: 1;
  transition: opacity 0.1s linear;
  animation: bob 2.5s cubic-bezier(.4, 0, .6, 1) infinite;
}

.pcSlider [data-product-image] img.is-fading {
  opacity: 0;
}

@keyframes bob {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-10px) rotate(0.3deg); }
  100% { transform: translateY(0) rotate(0deg); }
}


.colourRows {
  display: grid;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 20px;
  max-width: 720px;
}

.colourRow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.colourRow-chip {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12) inset;
  flex-shrink: 0;
}

.colourRow-text {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.pcConfigInner {
  max-width: 700px;
  margin: 0 auto;
}

.pcConfigInner > * {
  width: 100%;
}

.pcConfigInner section {
  margin: 0;
  max-width: 100%;
}

.bs-version-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.bs-version-options .pcDivider {
  position: absolute;
  height: 100%;
}

.bs-version-options .pcArrow {
  position: absolute;
  bottom: -13%;
  z-index: 3;
}

.bs-version-options.is-flexi .pcArrow {
  transform: scaleX(-1);
  left: 0;
}

.bs-version-options.is-extreme .pcArrow {
  right: 0;
}

.bs-version-options .pcArrow > div {
  position: relative;
  width: clamp(40px, 5vw, 80px);
  height: clamp(40px, 5vw, 80px);
}

.bs-version-options .pcArrow div::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  mask-image: url(/wp-content/themes/shewee/img/sw-arrow.png);
  background-color: var(--accent-color);
  mask-size: contain;
  mask-repeat: no-repeat;
  filter: brightness(0.7);
}

.pcVersionCard {
  background: transparent;
  text-align: left;
  color: white;
  width: 100%;
  position: relative;
  z-index: 2;
  border: 0;
  padding: clamp(20px, 2vw, 30px);
  transition-duration: 0.1s;
}

.pcVersionCard:not(.is-active) {
  opacity: 0.6;
}

.pcVersionCard:not(.is-active):hover {
  transform: scale(1.02);
  opacity: 1;
}

.pcVersionCard.is-active {
  position: relative;
}

.pcVersionCard.is-active::after {
  content: "";
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(rgba(0, 0, 0, 0.5), transparent 70%);
  top: 0;
  z-index: -1;
}

.bs-version-options.is-flexi .pcVersionCard.is-active::after {
  left: -5%;
}

.bs-version-options.is-extreme .pcVersionCard.is-active::after {
  right: -5%;
}

.pcOptions {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: 1px 2px 70px rgba(0, 0, 0, 0.3);
}

.pcOptions * {
  color: #242424;
}

[data-version-panel] {
  display: none;
  border-radius: 10px 10px 0 0;
}

[data-version-panel].is-active {
  display: block;
}

.pcDetails {
  display: grid;
  column-gap: 20px;
  row-gap: 15px;
  grid-template-columns: 1fr;
  padding: clamp(20px, 2vw, 30px) clamp(20px, 2vw, 30px) 40px
    clamp(20px, 2vw, 30px);
}

.pcDetails p,
.pcDetails li {
  font-weight: 600;
  margin: 0;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.pcDetails a {
  color: var(--accent-color);
}

.pcDetails li {
  position: relative;
}

.pcDetails li::before {
  content: "";
  position: absolute;
  top: 0;
  left: -25px;
  width: 18px;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg fill='%2366c135' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3C!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc.--%3E%3Cpath d='M320 576C178.6 576 64 461.4 64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576zM438 209.7C427.3 201.9 412.3 204.3 404.5 215L285.1 379.2L233 327.1C223.6 317.7 208.4 317.7 199.1 327.1C189.8 336.5 189.7 351.7 199.1 361L271.1 433C276.1 438 282.9 440.5 289.9 440C296.9 439.5 303.3 435.9 307.4 430.2L443.3 243.2C451.1 232.5 448.7 217.5 438 209.7z'/%3E%3C/svg%3E");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.pcDetails ul {
  margin-bottom: 0;
  list-style-type: none;
}

.pcOptions [data-colour-section] {
  border-radius: 0 0 20px 20px;
}

@media (min-width: 768px) {
  .pcDetails {
    grid-template-columns: 1fr 1fr;
  }
}

[data-colour-section] {
  padding: 15px clamp(20px, 2vw, 30px);
  background-color: rgba(255, 255, 255, 0.8);
  position: relative;
}

[data-colour-section] .pcBadge {
  position: relative;
  width: fit-content;
  margin: -35px auto 20px auto;
  top: 0;
}

.pcToggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
}

.pcToggle,
.pcSelect {
  border: 1px solid rgba(0, 0, 0, 0.3);
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  background-color: white;
  max-width: fit-content;
  border-radius: 10px;
}

[data-swatches] {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(5px, 1vw, 10px);
  justify-content: center;
}

.bs-swatch {
  width: clamp(35px, 4vw, 50px);
  height: clamp(35px, 4vw, 50px);
  border-radius: 999px;
  border: 4px solid rgba(255, 255, 255, 0);
  background: transparent;
  padding: 0;
  transition-duration: 0.1s;
}

.bs-swatch.is-active {
  border-color: white;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.4);
}

.bs-swatch:not(.is-active):hover {
  transform: scale(1.04);
}

.bs-swatch-dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background-color: var(--swatch-color, #ffffff);
  border: 2px solid var(--accent-color, #000000);
  transition:
    background-color var(--color-transition) linear,
    border-color var(--color-transition) linear;
}

.pcDivider {
  width: 100%;
  height: clamp(60px, 4vw, 80px);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pcDivider::before {
  content: "";
  position: relative;
  width: 1px;
  height: 100%;
  background-color: white;
}

.pcAddonContent {
  display: grid;
  column-gap: 30px;
  row-gap: 15px;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  box-shadow: 1px 2px 70px rgba(0, 0, 0, 0.3);
  position: relative;
}

.pcAddonContent .pcBadge {
  position: absolute;
  top: -20px;
  left: 20px;
  background-color: rgb(22 37 44);
}

.pcAddonContent * {
  color: #242424;
}

.pcAddonImage img {
  width: 100%;
  max-width: 140px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
  transform: rotate(-6deg);
}

.pcAddonInfo h3 {
  margin-top: 0;
  margin-bottom: 0 !important;
  font-size: var(--fs-02);
  font-weight: 600;
  color: #46a631;
}

.pcSelect {
  width: 100%;
  border-radius: 10px;
  padding: 8px 35px 8px 20px;
}

[data-purchase-section] {
  text-align: center;
  width: 100%;
  padding: clamp(30px, 3vw, 40px) 20px 30px 20px;
}

[data-purchase-section] * {
  color: white;
}

[data-purchase-section] input {
  color: #080808;
}

.pcPurchaseInner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  filter: drop-shadow(2px 4px 40px rgba(0, 0, 0, 0.2));
}

.pcPurchaseInner > div:first-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  column-gap: 30px;
  row-gap: 20px;
}

.pcPrice {
  text-align: center;
  line-height: clamp(170%, 3vw, 200%);
}

.pcPrice > span:first-of-type {
  font-size: var(--fs-01);
  font-weight: 600;
}

.pcPrice > span:last-of-type {
  font-size: clamp(1.8rem, 1.2rem + 1.2vw, 2.3rem);
  font-weight: 700;
}

.pcActions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-grow: 1;
}

.pcQty,
.pcAddBtn,
.pcNote {
  font-size: var(--fs-01);
}

.pcQty {
  width: 90px;
  padding: 8px;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  text-align: center;
}

.pcAddBtn {
  background: #ff3aa7;
  color: white !important;
  border: 2px solid white;
  border-radius: 10px;
  padding: 15px clamp(20px, 3vw, 40px);
  font-weight: 600;
  width: 100%;
  transition-duration: 0.1s;
}

.pcAddBtn:hover {
  background-color: #f0339b;
}

.pcAddBtn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pcMessage {
  margin-top: 12px;
  font-size: 0.9rem;
}

.pcNote {
  margin-top: 20px;
  font-weight: 600;
  text-wrap: balance;
}

@media (min-width: 480px) {
  .pcPrice {
    text-align: left;
  }

  .pcPurchaseInner > div:first-of-type {
    flex-direction: row;
    align-items: flex-end;
  }
}

@media (min-width: 768px) {
  .pcAddonContent {
    grid-template-columns: 1fr 2fr;
  }
}
