/* Large PDP option sets: keep the native Woo select as the quick-pick and tuck the full visual grid into an optional foldout. */
html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart.threedh-has-large-swatch-set .threedh-native-select-wrap--quick-pick {
  display: block !important;
  margin: .35rem 0 .65rem !important;
  position: static !important;
}

html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart.threedh-has-large-swatch-set .threedh-native-select-wrap--quick-pick select,
html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart.threedh-has-large-swatch-set select[name^="attribute_"] {
  appearance: auto !important;
  background: #fff !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18) !important;
  clip: auto !important;
  clip-path: none !important;
  color: #201914 !important;
  cursor: pointer !important;
  display: block !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  height: auto !important;
  line-height: 1.2 !important;
  max-height: none !important;
  max-width: none !important;
  min-height: 48px !important;
  min-width: 0 !important;
  opacity: 1 !important;
  overflow: visible !important;
  padding: .75rem .9rem !important;
  pointer-events: auto !important;
  position: static !important;
  white-space: normal !important;
  width: 100% !important;
}

.threedh-selected-swatch-preview {
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .045));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .16);
  margin: .55rem 0 .85rem;
  padding: .72rem;
}

.threedh-selected-swatch-preview__eyebrow {
  color: rgba(255, 255, 255, .68);
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: .42rem;
  text-transform: uppercase;
}

.threedh-selected-swatch-preview__body {
  align-items: center;
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(110px, 38%) 1fr;
}

.threedh-selected-swatch-preview__visual {
  align-items: center;
  background: #fff;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  min-height: 86px;
  overflow: hidden;
}

.threedh-selected-swatch-preview__image {
  display: block;
  height: 86px;
  max-height: none;
  max-width: none;
  min-width: 100%;
  object-fit: cover;
  width: 100%;
}

.threedh-selected-swatch-preview__placeholder {
  color: #201914;
  font-size: 2.2rem;
  font-weight: 900;
}

.threedh-selected-swatch-preview--empty .threedh-selected-swatch-preview__placeholder {
  font-size: .86rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.threedh-selected-swatch-preview--empty .threedh-selected-swatch-preview__label {
  color: rgba(255, 255, 255, .78);
}

.threedh-selected-swatch-preview__label {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.15;
}

.threedh-swatch-foldout {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  margin: .25rem 0 1rem;
  overflow: hidden;
}

.threedh-swatch-foldout__summary {
  align-items: center;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-weight: 800;
  gap: .75rem;
  justify-content: space-between;
  list-style: none;
  padding: .72rem .9rem;
}

.threedh-swatch-foldout__summary::-webkit-details-marker {
  display: none;
}

.threedh-swatch-foldout__summary::after {
  color: #e65a22;
  content: "+";
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.threedh-swatch-foldout[open] .threedh-swatch-foldout__summary::after {
  content: "−";
}

.threedh-swatch-foldout__summary small {
  color: rgba(255, 255, 255, .72);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart .threedh-swatch-foldout .threedh-swatches--large-set {
  gap: .72rem !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 172px), 1fr)) !important;
  margin: 0 !important;
  padding: .85rem !important;
}

html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart .threedh-swatch-foldout .threedh-swatches--large-set .threedh-swatch {
  align-items: stretch !important;
  background: #fff !important;
  border-radius: 16px !important;
  flex-direction: column !important;
  gap: .5rem !important;
  justify-content: flex-start !important;
  min-height: 132px !important;
  padding: .55rem !important;
  text-align: center !important;
}

html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart .threedh-swatch-foldout .threedh-swatches--large-set .threedh-swatch__visual {
  border-radius: 12px !important;
  flex: 0 0 auto !important;
  min-height: 82px !important;
  min-width: 100% !important;
  width: 100% !important;
}

html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart .threedh-swatch-foldout .threedh-swatches--large-set .threedh-swatch .threedh-swatch__visual img {
  border-radius: 12px !important;
  display: block !important;
  height: 82px !important;
  max-height: none !important;
  max-width: none !important;
  min-height: 82px !important;
  min-width: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart .threedh-swatch-foldout .threedh-swatches--large-set .threedh-swatch__label,
html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart .threedh-swatch-foldout .threedh-swatches--large-set .threedh-swatch__text {
  font-size: .86rem !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

@media (max-width: 640px) {
  .threedh-swatch-foldout__summary {
    align-items: flex-start;
    flex-direction: column;
    gap: .28rem;
  }

  html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart.threedh-has-large-swatch-set .threedh-native-select-wrap--quick-pick select,
  html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart.threedh-has-large-swatch-set select[name^="attribute_"] {
    font-size: .95rem !important;
    min-height: 46px !important;
  }

  .threedh-selected-swatch-preview {
    padding: .62rem;
  }

  .threedh-selected-swatch-preview__body {
    gap: .6rem;
    grid-template-columns: minmax(96px, 42%) 1fr;
  }

  .threedh-selected-swatch-preview__visual,
  .threedh-selected-swatch-preview__image {
    height: 72px;
    min-height: 72px;
  }

  .threedh-selected-swatch-preview__label {
    font-size: .96rem;
  }

  html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart .threedh-swatch-foldout .threedh-swatches--large-set {
    gap: .62rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: .65rem !important;
  }

  html body.single-product.woocommerce-page #et-boc .et-l .et_pb_row:has(form.variations_form.cart.threedh-has-large-swatch-set) {
    display: block !important;
    grid-template-columns: 1fr !important;
    overflow-x: clip;
  }

  html body.single-product.woocommerce-page #et-boc .et-l .et_pb_row:has(form.variations_form.cart.threedh-has-large-swatch-set) > .et_pb_column {
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    position: static !important;
    width: 100% !important;
  }

  html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart .threedh-swatch-foldout .threedh-swatches--large-set .threedh-swatch {
    min-height: 118px !important;
    padding: .45rem !important;
  }

  html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart .threedh-swatch-foldout .threedh-swatches--large-set .threedh-swatch__visual,
  html body.single-product.woocommerce-page #et-boc .et-l form.variations_form.cart .threedh-swatch-foldout .threedh-swatches--large-set .threedh-swatch .threedh-swatch__visual img {
    height: 70px !important;
    max-height: none !important;
    max-width: none !important;
    min-height: 70px !important;
    min-width: 100% !important;
  }
}
