/* Sex-DollsFrance - TM Extra Product Options harmonisation v1.0.4 */
/* Scope: product pages only. Cart, checkout and order pages are untouched. */

.single-product form.cart #tm-extra-product-options,
.single-product form.cart .tc-extra-product-options.tm-extra-product-options {
  --sdf-tm-blue: #20384e;
  --sdf-tm-line: #dbeaf4;
  --sdf-tm-soft: #f8fbff;
  --sdf-tm-accent: #2b7bbb;
  --sdf-tm-radius: 8px;
  background: #fbfdff !important;
  border: 1px solid var(--sdf-tm-line) !important;
  border-radius: var(--sdf-tm-radius) !important;
  margin: 0 0 14px !important;
  padding: 12px !important;
}

.single-product form.cart #tm-extra-product-options *,
.single-product form.cart .tc-extra-product-options.tm-extra-product-options * {
  box-sizing: border-box !important;
}

.single-product form.cart #tm-extra-product-options .cpf-section {
  background: var(--sdf-tm-soft) !important;
  border: 1px solid var(--sdf-tm-line) !important;
  border-radius: var(--sdf-tm-radius) !important;
  overflow: visible !important;
}

.single-product form.cart #tm-extra-product-options .tc-section-label,
.single-product form.cart #tm-extra-product-options .tc-section-label-wrap,
.single-product form.cart #tm-extra-product-options .tm-epo-element-label {
  clear: both !important;
  float: none !important;
  position: static !important;
  width: 100% !important;
}

.single-product form.cart #tm-extra-product-options .tc-section-label,
.single-product form.cart #tm-extra-product-options .tc-section-label-wrap {
  background: #fff !important;
  border: 1px solid #e2edf5 !important;
  border-radius: 6px !important;
  color: var(--sdf-tm-blue) !important;
  display: block !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 0 16px !important;
  padding: 13px 42px 13px 12px !important;
  text-align: center !important;
}

.single-product form.cart #tm-extra-product-options .tm-epo-element-label {
  color: var(--sdf-tm-blue) !important;
  display: block !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 8px !important;
  text-align: center !important;
}

.single-product form.cart #tm-extra-product-options .tm-epo-required {
  color: #d91515 !important;
  font-weight: 800 !important;
}

.single-product form.cart #tm-extra-product-options .tm-description {
  clear: both !important;
  color: #33475a !important;
  display: block !important;
  float: none !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  margin: 8px 0 20px !important;
  position: static !important;
  text-align: center !important;
  width: 100% !important;
}

.single-product form.cart #tm-extra-product-options .hr_divider {
  border-color: #e5edf4 !important;
  clear: both !important;
  margin: 12px 0 18px !important;
}

.single-product form.cart #tm-extra-product-options .tc-element-container,
.single-product form.cart #tm-extra-product-options .tc-row,
.single-product form.cart #tm-extra-product-options .tc-container {
  clear: both !important;
  float: none !important;
}

.single-product form.cart #tm-extra-product-options .tmcp-ul-wrap.tc-images-container {
  align-items: start !important;
  clear: both !important;
  display: grid !important;
  float: none !important;
  gap: 18px !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 220px)) !important;
  justify-content: center !important;
  margin: 0 auto 26px !important;
  max-width: 780px !important;
  overflow: visible !important;
  padding: 0 !important;
  width: 100% !important;
}

.single-product form.cart #tm-extra-product-options .tmcp-ul-wrap.tc-images-container > .tmcp-field-wrap {
  clear: none !important;
  display: block !important;
  float: none !important;
  height: auto !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  position: relative !important;
  width: 100% !important;
}

.single-product form.cart #tm-extra-product-options .tmcp-field-wrap-inner,
.single-product form.cart #tm-extra-product-options .tc-field-label-wrap,
.single-product form.cart #tm-extra-product-options .tc-label-wrap {
  display: block !important;
  float: none !important;
  height: auto !important;
  max-width: 100% !important;
  min-height: 0 !important;
  position: static !important;
  width: 100% !important;
}

.single-product form.cart #tm-extra-product-options .tmcp-ul-wrap.tc-images-container .tm-epo-field-label {
  align-items: stretch !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: var(--sdf-tm-radius) !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  height: auto !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  position: static !important;
  text-align: center !important;
  width: 100% !important;
}

.single-product form.cart #tm-extra-product-options .tc-input-wrap {
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 0 !important;
}

.single-product form.cart #tm-extra-product-options .tc-lightbox-image-wrap,
.single-product form.cart #tm-extra-product-options .tmhexcolorimage {
  align-items: center !important;
  aspect-ratio: 1 / 1 !important;
  background: #fff !important;
  border: 1px solid #e2edf5 !important;
  border-radius: 7px !important;
  display: flex !important;
  height: auto !important;
  justify-content: center !important;
  margin: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: relative !important;
  width: 100% !important;
}

.single-product form.cart #tm-extra-product-options img.tc-image,
.single-product form.cart #tm-extra-product-options .tc-image {
  background: #fff !important;
  border: 1px solid #e2edf5 !important;
  border-radius: 7px !important;
  display: block !important;
  float: none !important;
  height: 190px !important;
  margin: 0 auto !important;
  max-height: none !important;
  max-width: 100% !important;
  object-fit: contain !important;
  padding: 0 !important;
  position: static !important;
  transition: border-radius 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease !important;
  width: 100% !important;
}

.single-product form.cart #tm-extra-product-options .tm-transparent-swatch .tc-image:empty,
.single-product form.cart #tm-extra-product-options .tmhexcolorimage .tc-image:empty {
  min-height: 150px !important;
}

.single-product form.cart #tm-extra-product-options .tc-lightbox-button {
  bottom: 8px !important;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.16) !important;
  right: 8px !important;
  z-index: 2 !important;
}

.single-product form.cart #tm-extra-product-options .tc-label,
.single-product form.cart #tm-extra-product-options .radio-image-label,
.single-product form.cart #tm-extra-product-options .checkbox-image-label {
  clear: both !important;
  color: #16293a !important;
  display: block !important;
  float: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 6px 0 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  position: static !important;
  text-align: center !important;
  width: 100% !important;
}

.single-product form.cart #tm-extra-product-options .tc-label-inner,
.single-product form.cart #tm-extra-product-options .tc-label-text {
  display: block !important;
  line-height: inherit !important;
  overflow-wrap: anywhere !important;
  position: static !important;
  white-space: normal !important;
}

.single-product form.cart #tm-extra-product-options .tc-price-wrap {
  align-items: center !important;
  align-self: center !important;
  background: transparent !important;
  border: 0 !important;
  clear: both !important;
  color: #3e5367 !important;
  display: inline-flex !important;
  float: none !important;
  font-size: 10px !important;
  gap: 4px !important;
  justify-content: center !important;
  line-height: 1.1 !important;
  margin: 2px auto 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  position: static !important;
  text-align: center !important;
  width: auto !important;
}

.single-product form.cart #tm-extra-product-options .tc-price-wrap:before {
  content: none !important;
  display: none !important;
}

.single-product form.cart #tm-extra-product-options .tc-price-wrap .price,
.single-product form.cart #tm-extra-product-options .tc-price-wrap .amount,
.single-product form.cart #tm-extra-product-options .tc-price-wrap bdi {
  color: #1f405a !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-product form.cart #tm-extra-product-options .tc-price-wrap .amount:empty,
.single-product form.cart #tm-extra-product-options .tc-price-wrap:has(.amount:empty) {
  display: none !important;
}

.single-product form.cart #tm-extra-product-options .tmcp-field-wrap:has(input:checked),
.single-product form.cart #tm-extra-product-options .tmcp-field-wrap.sdf-tm-option-selected {
  box-shadow: none !important;
  outline: 0 !important;
}

.single-product form.cart #tm-extra-product-options .tmcp-field-wrap:has(input:checked) img.tc-image,
.single-product form.cart #tm-extra-product-options .tmcp-field-wrap.sdf-tm-option-selected img.tc-image,
.single-product form.cart #tm-extra-product-options .tmcp-field-wrap:has(input:checked) .tmhexcolorimage,
.single-product form.cart #tm-extra-product-options .tmcp-field-wrap.sdf-tm-option-selected .tmhexcolorimage {
  border-radius: 999px !important;
  box-shadow: 0 0 0 4px rgba(43, 123, 187, 0.16), 0 8px 18px rgba(24, 73, 110, 0.12) !important;
  overflow: hidden !important;
}

.single-product form.cart #tm-extra-product-options .tmcp-field-wrap:has(input:checked) img.tc-image,
.single-product form.cart #tm-extra-product-options .tmcp-field-wrap.sdf-tm-option-selected img.tc-image {
  transform: scale(0.96) !important;
}

.single-product .tc-totals-form .tm-extra-product-options-totals,
.single-product form.cart .tm-extra-product-options-totals {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid #e2edf5 !important;
  border-radius: 8px !important;
  display: inline-grid !important;
  gap: 2px 6px !important;
  grid-template-columns: auto auto !important;
  margin: 8px auto 10px !important;
  max-width: 240px !important;
  padding: 4px 8px !important;
  width: auto !important;
}

.single-product .tc-totals-form .tm-extra-product-options-totals dt,
.single-product .tc-totals-form .tm-extra-product-options-totals dd,
.single-product form.cart .tm-extra-product-options-totals dt,
.single-product form.cart .tm-extra-product-options-totals dd {
  color: #33475a !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-product .tc-totals-form .tm-extra-product-options-totals .price,
.single-product form.cart .tm-extra-product-options-totals .price,
.single-product .tc-totals-form .tm-extra-product-options-totals .amount,
.single-product form.cart .tm-extra-product-options-totals .amount {
  color: var(--sdf-tm-blue) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

@media (max-width: 849px) {
  .single-product form.cart #tm-extra-product-options {
    padding: 10px !important;
  }

  .single-product form.cart #tm-extra-product-options .tmcp-ul-wrap.tc-images-container {
    gap: 16px 12px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 100% !important;
  }

  .single-product form.cart #tm-extra-product-options img.tc-image,
  .single-product form.cart #tm-extra-product-options .tc-image {
    height: 150px !important;
  }

  .single-product form.cart #tm-extra-product-options .tm-transparent-swatch .tc-image:empty,
  .single-product form.cart #tm-extra-product-options .tmhexcolorimage .tc-image:empty {
    min-height: 120px !important;
  }

  .single-product form.cart #tm-extra-product-options .tc-section-label,
  .single-product form.cart #tm-extra-product-options .tc-section-label-wrap {
    font-size: 18px !important;
    padding: 12px 40px 12px 10px !important;
  }

  .single-product form.cart #tm-extra-product-options .tm-epo-element-label {
    font-size: 16px !important;
  }

  .single-product form.cart #tm-extra-product-options .tm-description {
    font-size: 14px !important;
    margin-bottom: 16px !important;
  }
}

@media (max-width: 390px) {
  .single-product form.cart #tm-extra-product-options .tmcp-ul-wrap.tc-images-container {
    gap: 14px 10px !important;
  }

  .single-product form.cart #tm-extra-product-options img.tc-image,
  .single-product form.cart #tm-extra-product-options .tc-image {
    height: 132px !important;
  }

  .single-product form.cart #tm-extra-product-options .tc-label,
  .single-product form.cart #tm-extra-product-options .radio-image-label,
  .single-product form.cart #tm-extra-product-options .checkbox-image-label {
    font-size: 13px !important;
  }
}

/* Priority overrides for older inline product layout styles. */
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tmcp-ul-wrap.tc-images-container,
body.single-product form.cart #tm-extra-product-options .tmcp-ul-wrap.tc-images-container {
  align-items: start !important;
  clear: both !important;
  display: grid !important;
  float: none !important;
  gap: 18px !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 220px)) !important;
  justify-content: center !important;
  margin: 0 auto 28px !important;
  max-width: 780px !important;
  overflow: visible !important;
  padding: 0 !important;
  width: 100% !important;
}

body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tmcp-ul-wrap.tc-images-container > .tmcp-field-wrap,
body.single-product form.cart #tm-extra-product-options .tmcp-ul-wrap.tc-images-container > .tmcp-field-wrap {
  clear: none !important;
  display: block !important;
  float: none !important;
  height: auto !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  position: relative !important;
  width: 100% !important;
}

body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tmcp-ul-wrap.tc-images-container .tm-epo-field-label,
body.single-product form.cart #tm-extra-product-options .tmcp-ul-wrap.tc-images-container .tm-epo-field-label {
  align-items: stretch !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  height: auto !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  position: static !important;
  text-align: center !important;
  width: 100% !important;
}

body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options img.tc-image,
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tc-image,
body.single-product form.cart #tm-extra-product-options img.tc-image,
body.single-product form.cart #tm-extra-product-options .tc-image {
  background: #fff !important;
  border: 1px solid #e2edf5 !important;
  border-radius: 7px !important;
  display: block !important;
  float: none !important;
  height: 190px !important;
  margin: 0 auto !important;
  max-height: none !important;
  max-width: 100% !important;
  object-fit: contain !important;
  padding: 0 !important;
  position: static !important;
  width: 100% !important;
}

body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tc-label,
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .radio-image-label,
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .checkbox-image-label,
body.single-product form.cart #tm-extra-product-options .tc-label,
body.single-product form.cart #tm-extra-product-options .radio-image-label,
body.single-product form.cart #tm-extra-product-options .checkbox-image-label {
  clear: both !important;
  display: block !important;
  float: none !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  margin: 6px 0 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  position: static !important;
  text-align: center !important;
  width: 100% !important;
}

body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tc-price-wrap,
body.single-product form.cart #tm-extra-product-options .tc-price-wrap {
  align-items: center !important;
  align-self: center !important;
  background: transparent !important;
  border: 0 !important;
  clear: both !important;
  display: inline-flex !important;
  float: none !important;
  font-size: 10px !important;
  gap: 4px !important;
  justify-content: center !important;
  line-height: 1.1 !important;
  margin: 2px auto 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  position: static !important;
  text-align: center !important;
  width: auto !important;
}

body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tc-price-wrap .price,
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tc-price-wrap .amount,
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tc-price-wrap bdi,
body.single-product form.cart #tm-extra-product-options .tc-price-wrap .price,
body.single-product form.cart #tm-extra-product-options .tc-price-wrap .amount,
body.single-product form.cart #tm-extra-product-options .tc-price-wrap bdi {
  font-size: 10px !important;
  line-height: 1.1 !important;
}

body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tmcp-field-wrap:has(input:checked),
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tmcp-field-wrap.sdf-tm-option-selected,
body.single-product form.cart #tm-extra-product-options .tmcp-field-wrap:has(input:checked),
body.single-product form.cart #tm-extra-product-options .tmcp-field-wrap.sdf-tm-option-selected {
  box-shadow: none !important;
  outline: 0 !important;
}

body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tmcp-field-wrap:has(input:checked) img.tc-image,
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tmcp-field-wrap.sdf-tm-option-selected img.tc-image,
body.single-product form.cart #tm-extra-product-options .tmcp-field-wrap:has(input:checked) img.tc-image,
body.single-product form.cart #tm-extra-product-options .tmcp-field-wrap.sdf-tm-option-selected img.tc-image {
  border-radius: 999px !important;
  box-shadow: 0 0 0 4px rgba(43, 123, 187, 0.16), 0 8px 18px rgba(24, 73, 110, 0.12) !important;
  overflow: hidden !important;
  transform: scale(0.96) !important;
}

body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tm-epo-element-label,
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tm-description,
body.single-product form.cart #tm-extra-product-options .tm-epo-element-label,
body.single-product form.cart #tm-extra-product-options .tm-description {
  clear: both !important;
  float: none !important;
  position: static !important;
  width: 100% !important;
}

body.single-product form.cart #tm-extra-product-options .tm-epo-reset-radio,
body.single-product form.cart #tm-extra-product-options .tm-epo-reset-variations,
body.single-product form.cart #tm-extra-product-options .tm-epo-reset-checkbox,
body.single-product form.cart #tm-extra-product-options .tm-has-undo-button + .tm-epo-reset-radio,
body.single-product form.cart #tm-extra-product-options .tcfa-times,
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tm-epo-reset-radio,
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tm-epo-reset-variations,
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tm-epo-reset-checkbox,
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tm-has-undo-button + .tm-epo-reset-radio,
body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tcfa-times {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
}

@media (max-width: 849px) {
  body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tmcp-ul-wrap.tc-images-container,
  body.single-product form.cart #tm-extra-product-options .tmcp-ul-wrap.tc-images-container {
    gap: 16px 12px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 100% !important;
  }

  body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options img.tc-image,
  body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tc-image,
  body.single-product form.cart #tm-extra-product-options img.tc-image,
  body.single-product form.cart #tm-extra-product-options .tc-image {
    height: 150px !important;
  }
}

@media (max-width: 390px) {
  body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options img.tc-image,
  body.sdf-product-layout-v1-active.single-product form.cart #tm-extra-product-options .tc-image,
  body.single-product form.cart #tm-extra-product-options img.tc-image,
  body.single-product form.cart #tm-extra-product-options .tc-image {
    height: 132px !important;
  }
}
