.e8e8-dtf-transfer-builder {
  background: #f1f1f1;
  border-radius: 20px;
  color: #1d1d1f;
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem;
}

.e8e8-dtf-transfer-builder__eyebrow {
  color: var(--e8e8-type-support);
  font-size: 0.8rem;
  font-weight: var(--e8e8-font-weight-semibold, 600);
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.e8e8-dtf-transfer-builder h3 {
  color: #1d1d1f;
  font-size: var(--e8e8-type-card);
  font-weight: var(--e8e8-font-weight-semibold, 600);
  line-height: 1.15;
  margin: 0 0 0.4rem;
  text-transform: none;
}

.e8e8-dtf-transfer-builder p {
  color: #1d1d1f;
  line-height: 1.45;
  margin: 0;
}

.e8e8-dtf-transfer-builder__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.e8e8-dtf-transfer-field {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
}

.e8e8-dtf-transfer-field span {
  color: #1d1d1f;
  font-weight: 600;
}

.e8e8-dtf-transfer-field--static strong {
  color: #1d1d1f;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
}

.e8e8-dtf-transfer-field input[type=number],
.e8e8-dtf-transfer-field input[type=file] {
  background: #f8f8f8;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  color: #1d1d1f;
  font: inherit;
  padding: 0.55rem 0.7rem;
  width: 100%;
}

.e8e8-dtf-transfer-field small {
  color: #4f4f52;
  font-size: 0.82rem;
  line-height: 1.35;
}

.e8e8-dtf-transfer-builder__pricing {
  align-items: center;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--e8e8-color-border, #d2d2d7);
  border-radius: 0;
  color: var(--e8e8-color-ink, #1d1d1f);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0;
}

.e8e8-dtf-transfer-builder .e8e8-dtf-transfer-builder__pricing span,
.e8e8-dtf-transfer-builder .e8e8-dtf-transfer-builder__pricing p {
  color: var(--e8e8-type-support, #6e6e73) !important;
}

.e8e8-dtf-transfer-builder__pricing strong {
  color: var(--e8e8-color-ink, #1d1d1f);
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0.2rem;
}

.e8e8-dtf-transfer-builder__notes {
  display: grid;
  gap: 0.4rem;
}

.e8e8-dtf-price-summary {
  color: #1d1d1f;
  font-weight: 600;
}

body.single-product form.cart:has(.e8e8-dtf-transfer-builder) .af_addon_field_class {
  background: var(--e8e8-color-surface, #fff);
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  color: #1d1d1f;
  margin: 1rem 0;
  padding: 1rem;
}

body.single-product form.cart:has(.e8e8-dtf-transfer-builder) .af_addon_field_class > [class*=addon_field_border_] {
  align-items: center;
  background: transparent;
  border: 0 !important;
  border-radius: 0 !important;
  display: block;
  padding: 0;
}

body.single-product form.cart:has(.e8e8-dtf-transfer-builder) [class*=addon_heading_styling_],
body.single-product form.cart:has(.e8e8-dtf-transfer-builder) .af_addon_field_class label,
body.single-product form.cart:has(.e8e8-dtf-transfer-builder) .af_addon_field_class p {
  color: #1d1d1f !important;
  font-family: var(--e8e8-font-body, "Google Sans Flex", Arial, sans-serif) !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

body.single-product form.cart:has(.e8e8-dtf-transfer-builder) [class*=addon_heading_styling_] {
  font-size: 1rem !important;
  line-height: 1.25 !important;
  margin: 0 0 0.5rem !important;
}

body.single-product form.cart:has(.e8e8-dtf-transfer-builder) .af_addon_field_class p {
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
  margin: 0.5rem 0 0 !important;
}

body.single-product form.cart:has(.e8e8-dtf-transfer-builder) input[type=file],
body.single-product form.cart:has(.e8e8-dtf-transfer-builder) .addon_file_upload_option {
  background: #efefef;
  border: 0;
  border-radius: var(--e8e8-radius-action, 20px);
  box-sizing: border-box;
  color: #1d1d1f;
  display: block;
  font-family: var(--e8e8-font-body, "Google Sans Flex", Arial, sans-serif);
  font-size: 1rem;
  line-height: 2rem;
  max-width: 100%;
  min-width: 0;
  padding: 0.5rem;
  width: 100%;
}

/* Keep the native input and its upload/validation handlers; share the custom-product button tokens. */
body.single-product form.cart:has(.e8e8-dtf-transfer-builder) input[type=file]::file-selector-button {
  background: var(--e8e8-btn-grey, #555);
  border: 1px solid var(--e8e8-btn-grey, #555);
  border-radius: var(--e8e8-btn-radius, 20px);
  color: #fff;
  cursor: pointer;
  font-family: var(--e8e8-btn-font, "Google Sans Flex", Arial, sans-serif);
  font-size: 1rem;
  font-weight: var(--e8e8-btn-weight, 400);
  letter-spacing: 0;
  line-height: 1.4;
  margin: 0 0.5rem 0 0;
  padding: 0.25rem 0.5rem;
  transition: background-color 160ms ease, border-color 160ms ease;
}

body.single-product form.cart:has(.e8e8-dtf-transfer-builder) input[type=file]::file-selector-button:hover {
  background: var(--e8e8-btn-grey-hover, #444);
  border-color: var(--e8e8-btn-grey-hover, #444);
}

body.single-product form.cart:has(.e8e8-dtf-transfer-builder) input[type=file]::file-selector-button:active {
  background: var(--e8e8-btn-grey-active, #333);
  border-color: var(--e8e8-btn-grey-active, #333);
}

body.single-product form.cart:has(.e8e8-dtf-transfer-builder) input[type=file]:focus-visible {
  outline: 2px solid #dd1e01;
  outline-offset: 2px;
}

body.single-product form.cart:has(.e8e8-dtf-transfer-builder) button.single_add_to_cart_button,
.woocommerce div.product form.cart:has(.e8e8-dtf-transfer-builder) button.single_add_to_cart_button:not(#bulk-grid-add-to-cart),
.woocommerce-page div.product form.cart:has(.e8e8-dtf-transfer-builder) button.single_add_to_cart_button:not(#bulk-grid-add-to-cart) {
  background: var(--rt-solid-fill, #dd1e01) !important;
  border: 0 !important;
  border-radius: 20px !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--e8e8-font-body, "Google Sans Flex", Arial, sans-serif) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  min-height: 44px !important;
  padding: 0.25rem 1rem !important;
  text-transform: none !important;
}

@media (hover: hover) and (pointer: fine) {
  body.single-product form.cart:has(.e8e8-dtf-transfer-builder) button.single_add_to_cart_button:not(:disabled):hover {
    --rt-solid-fill: #e21f01;
  }
}
body.single-product form.cart:has(.e8e8-dtf-transfer-builder) button.single_add_to_cart_button:not(:disabled):active {
  --rt-solid-fill: #d51d01;
}

body.single-product form.cart:has(.e8e8-dtf-transfer-builder) button.single_add_to_cart_button:focus-visible {
  outline: 2px solid #dd1e01;
  outline-offset: 3px;
}

body.single-product form.cart:has(.e8e8-dtf-transfer-builder) button.single_add_to_cart_button::before,
body.single-product form.cart:has(.e8e8-dtf-transfer-builder) button.single_add_to_cart_button::after,
body.single-product form.cart:has(.e8e8-dtf-transfer-builder) button.single_add_to_cart_button:hover::before,
body.single-product form.cart:has(.e8e8-dtf-transfer-builder) button.single_add_to_cart_button:hover::after {
  content: none !important;
  display: none !important;
}

.e8e8-dtf-form .af_addon_total_price {
  display: none !important;
}

.e8e8-dtf-form .custom-file-upload-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  border-radius: 0;
}

.e8e8-dtf-form .custom-upload-button {
  flex: 0 0 auto;
  background: var(--e8e8-btn-grey, #555);
  color: #fff;
  border: 0;
  border-radius: var(--e8e8-radius-action, 20px);
  padding: 0.35rem 0.75rem;
  font: inherit;
  line-height: 1.4;
  cursor: pointer;
}

.e8e8-dtf-form .custom-upload-filename {
  flex: 1 1 120px;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  line-height: 1.4;
}

body.single-product form.e8e8-dtf-form input.e8e8-dtf-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
}

.e8e8-dtf-form .af_addon_field_class > br {
  display: none;
}

.e8e8-dtf-order-summary {
  background: var(--e8e8-color-surface-soft, #f1f1f1);
  padding: 1.25rem;
  border-radius: 20px;
  margin: 1.5rem 0;
  color: var(--e8e8-color-ink, #1d1d1f);
  display: grid;
  gap: 1rem;
  clear: both;
}

.e8e8-dtf-order-summary h3 {
  font-size: var(--e8e8-type-card);
  line-height: 1.3;
  padding: 0;
  margin: 0;
}

.e8e8-dtf-order-summary dl {
  margin: 0;
}

.e8e8-dtf-order-summary dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 0;
}

.e8e8-dtf-order-summary dl > div[hidden] {
  display: none;
}

.e8e8-dtf-order-summary dd {
  margin: 0;
  white-space: nowrap;
}

.e8e8-dtf-order-summary__total {
  border-top: 1px solid #d8d8d8;
  font-weight: 700;
}

body.single-product form.e8e8-dtf-form .quantity {
  float: none !important;
  width: 100%;
  margin: 0 !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  align-items: center;
  gap: 1rem;
}

.e8e8-dtf-quantity-field label,
.e8e8-dtf-order-summary .quantity label {
  font-weight: 600;
  color: var(--e8e8-color-ink, #1d1d1f);
}

body.single-product form.e8e8-dtf-form :is(#e8e8-dtf-sheet-quantity, input[name=quantity]) {
  box-sizing: border-box;
  min-width: 0;
  width: 100% !important;
  max-width: none !important;
  min-height: 48px;
  border: 1px solid #b8b8b8 !important;
  border-radius: 8px;
  background: #fff !important;
  color: #1d1d1f !important;
  padding: 0.65rem 0.75rem !important;
  font-family: var(--e8e8-font-body, "Google Sans Flex", Arial, sans-serif);
  font-size: 1.125rem !important;
  text-align: center;
}

.e8e8-dtf-form input[type=number]:focus-visible,
.e8e8-dtf-form .custom-upload-button:focus-visible {
  outline: 2px solid var(--e8e8-color-ink, #1d1d1f);
  outline-offset: 3px;
}

body.single-product form.e8e8-dtf-form .e8e8-dtf-order-summary button.single_add_to_cart_button {
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
}

[data-dtf-sticky] {
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}

[data-dtf-sticky] button:disabled {
  opacity: 0.6;
  cursor: wait;
}

body:has(.e8e8-dtf-form) .product-title-section .et_pb_wc_price {
  width: 100% !important;
  flex-basis: 100% !important;
}

@media (max-width: 980px) {
  body:has(.e8e8-dtf-form) .product-gallery-column:has(img[src*=woocommerce-placeholder]):not(:has(img:not([src*=woocommerce-placeholder]))) {
    display: none !important;
  }
  body:has(.e8e8-dtf-form) .et_pb_row:has(> .product-gallery-column) > .et_pb_column:has(.e8e8-dtf-form) {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  body:has(.e8e8-dtf-form) .product-title-section .et_pb_column:has(.et_pb_wc_price) {
    min-width: 150px;
  }
}
@media (max-width: 767px) {
  .e8e8-dtf-transfer-builder__grid,
  .e8e8-dtf-transfer-builder__pricing {
    grid-template-columns: 1fr;
  }
  .e8e8-dtf-transfer-builder__pricing {
    align-items: flex-start;
    display: grid;
  }
}
.e8e8-dtf-form .rt-dtf-section {
  scroll-margin-top: calc(var(--e8e8-divi-header-height, 96px) + 20px);
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--e8e8-color-border, #d2d2d7);
}

.e8e8-dtf-form .rt-dtf-section > h2 {
  margin: 0 !important;
  padding: 0 !important;
  font: inherit !important;
}

.e8e8-dtf-form .rt-dtf-section__toggle {
  display: flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.35em;
  width: 100%;
  min-height: 64px;
  margin: 0 !important;
  padding: 20px 0 !important;
  background: transparent !important;
  color: var(--e8e8-color-ink, #1d1d1f) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: start;
  font-family: var(--e8e8-font-body, "Google Sans Flex", Arial, sans-serif) !important;
  text-transform: none !important;
}

.e8e8-dtf-form .rt-dtf-section__toggle strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.e8e8-dtf-form .rt-dtf-section__toggle > span:not(.rt-dtf-section__indicator) {
  flex: 1 1 180px;
  color: var(--e8e8-type-support, #6e6e73);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.e8e8-dtf-form .rt-dtf-section__indicator {
  flex: none;
  margin-inline-start: auto;
  color: #6e6e73;
  font-size: 20px;
  font-weight: 400;
}

.e8e8-dtf-form .rt-dtf-section__toggle::before, .e8e8-dtf-form .rt-dtf-section__toggle::after {
  content: none !important;
  display: none !important;
}

.e8e8-dtf-form .rt-dtf-section__toggle:focus-visible {
  outline: 2px solid #1d1d1f !important;
  outline-offset: 3px;
}

.e8e8-dtf-form .rt-dtf-section__content {
  padding: 0 0 24px;
  min-width: 0;
  scroll-margin-top: 140px;
}

.e8e8-dtf-form .rt-dtf-section__content[hidden] {
  display: none !important;
}

.e8e8-dtf-form .e8e8-dtf-transfer-builder {
  background: var(--e8e8-color-surface-soft, #f5f5f7);
  border-radius: 20px;
  padding: clamp(16px, 3vw, 24px);
  margin: 0;
  box-shadow: none;
}

.e8e8-dtf-form .e8e8-dtf-transfer-field {
  border-color: #d2d2d7;
  border-radius: 16px;
  box-shadow: none;
}

.e8e8-dtf-form .e8e8-dtf-order-summary {
  background: var(--e8e8-color-surface-soft, #f5f5f7);
  border-radius: 20px;
  margin: 0;
  padding: clamp(16px, 3vw, 24px);
  box-shadow: none;
}

.e8e8-dtf-form .rt-dtf-section__content .e8e8-dtf-transfer-builder h3, .e8e8-dtf-form .e8e8-dtf-order-summary h3 {
  font-size: 20px !important;
  line-height: 1.3;
  font-weight: 600;
}

.e8e8-dtf-form input[type=number]:focus-visible, .e8e8-dtf-form .custom-upload-button:focus-visible {
  outline-color: #1d1d1f;
}

body:has(.e8e8-dtf-form) #page-container #et-boc .et-l .et_pb_accordion .et_pb_toggle {
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--e8e8-color-border, #d2d2d7) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:has(.e8e8-dtf-form) #page-container #et-boc .et-l .et_pb_accordion .et_pb_toggle_title {
  box-sizing: border-box;
  min-height: 64px;
  margin: 0 !important;
  padding: 20px 32px 20px 0 !important;
  background: transparent !important;
  color: var(--e8e8-color-ink, #1d1d1f) !important;
  font-family: var(--e8e8-font-body, "Google Sans Flex", Arial, sans-serif) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: start;
}

body:has(.e8e8-dtf-form) #page-container #et-boc .et-l .et_pb_accordion .et_pb_toggle_title::before {
  color: #6e6e73 !important;
}

body:has(.e8e8-dtf-form) #page-container #et-boc .et-l .et_pb_accordion .et_pb_toggle_content {
  padding: 0 0 24px !important;
}

body:has(.e8e8-dtf-form) .e8e8-product-disclosure:has(#reviews) {
  box-sizing: border-box;
  min-width: 0;
  padding: clamp(16px, 3vw, 24px);
  margin-block: 24px;
  background: #f5f5f7;
  border: 0;
  border-radius: 24px;
  box-shadow: none;
}

body:has(.e8e8-dtf-form) .e8e8-product-disclosure__content:has(#reviews) {
  box-sizing: border-box;
  min-width: 0;
  padding: clamp(16px, 3vw, 24px);
  background: #fff;
  border-radius: 20px;
}

body:has(.e8e8-dtf-form) #reviews {
  min-width: 0;
  margin: 0;
  font-family: var(--e8e8-font-body, "Google Sans Flex", Arial, sans-serif);
}

body:has(.e8e8-dtf-form) #reviews input#submit {
  min-height: 44px;
  padding: 6px 18px;
  border: 1px solid transparent !important;
  border-radius: 10em;
  background: var(--rt-accent, #dd1e01) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body:has(.e8e8-dtf-form) #reviews input#submit:hover {
  filter: brightness(0.92);
}

body:has(.e8e8-dtf-form) #reviews input#submit:focus-visible {
  outline: 2px solid #1d1d1f;
  outline-offset: 3px;
}

body.single-product form.e8e8-dtf-form .e8e8-dtf-order-summary button.single_add_to_cart_button {
  background: var(--rt-solid-fill, var(--rt-accent, #dd1e01)) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
}

body.single-product form.e8e8-dtf-form .e8e8-turnaround-option input:checked + .e8e8-turnaround-option__content {
  border-color: var(--e8e8-color-rush-red, #dd1e01) !important;
  box-shadow: none !important;
}

body.single-product form.e8e8-dtf-form .e8e8-turnaround-option input {
  accent-color: var(--e8e8-color-rush-red, #dd1e01);
}

body.single-product form.e8e8-dtf-form .e8e8-production-notes--dtf label > span {
  background: var(--e8e8-color-surface-soft, #f5f5f7);
  color: var(--e8e8-type-support, #6e6e73);
  border: 0;
  box-shadow: none;
}

.e8e8-dtf-form .rt-dtf-section #e8e8-turnaround-options-title,
.e8e8-dtf-form .rt-dtf-section .e8e8-dtf-transfer-builder__eyebrow,
.e8e8-dtf-form .rt-dtf-section .e8e8-dtf-transfer-builder__intro > h3 {
  display: none;
}
