.d-flex{
  display: flex;
}
.s-between{
  justify-content: space-between;
}
.d__none{
  display: none;
}

.product-form_colors_box {
    height: 60px;
    width: 60px;
    margin: 0 auto;
    cursor: pointer;
    border-radius: 100%;
    border: 8px solid var(--color);
    background-color: transparent;
    transition: all 0.1s ease;
  }
  .form__fieldset{
    border: 0px;
    padding: 0px;
  }
  .hide__inputs{
    width: 1px;
    height: 1px;
    position: absolute;
  }
  .colors:checked + label .product-form_colors_box{
    background-color: var(--color);
  }
  fieldset.colors__fileds.form__fieldset {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.clors_content {
  display: grid;
    grid-template-columns: 40% 1fr;
    gap: 4em;
    align-items: center;
    margin-top: 2em;
}
.colors_single_con {
  width: 20%;
  text-align: center;
}
.colors_materials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
}
.product-form_colors_name{
  font-size: 0.8rem;
    margin-top: 0.5em;
}
.colors_materials #material_options #fabric{
  padding: 0rem 2em 0 .8em;
}
.customize_card {
  background-color: #F7F7F7;
    padding: 2em;
    margin-bottom: 1em;
    border-radius: 15px;
}
.customize_card_title{
    font-size: 1.17em;
    margin-block-start: 1em;
    font-weight: bold;
    unicode-bidi: isolate;
}
.clouser_type_note{
  margin-block-end: 1em;
}

/* Customer Notes Styling */
.select-box_note {
  margin-top: 8px !important;
  color: #666 !important;
  font-size: 0.9em !important;
  font-style: italic;
  line-height: 1.4;
  padding: 6px 8px;
  background-color: #f8f9fa;
  border-left: 3px solid #007cba;
  border-radius: 4px;
  margin-left: 0 !important;
}

/* Rote Stern für Pflichtfelder */
.required_star {
  color: #dc3545 !important;
  font-weight: bold;
  margin-left: 4px;
}

/* Deaktivierter Warenkorb-Button */
.single_add_to_cart_button:disabled {
  background-color: #6c757d !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.single_add_to_cart_button:disabled:hover {
  background-color: #6c757d !important;
  transform: none !important;
}

.single_add_to_cart_button.disabled {
  background-color: #6c757d !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}
.card_cols {
   display: grid;
    grid-template-columns: 40% 1fr;
    gap: 4em;
    align-items: center;
    margin-top: 2em;
}
.dimention_input_con {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin-bottom: 1em;
}
.product_schema_description{
  margin-top: 1em;
}
.dimention_content_left img {
  max-height: 250px;
  box-shadow: none;
  margin: 0 auto;
}
.dynamic-card_header {
  display: flex;
  justify-content: space-between;
}
.dynamic-card_header {
  display: flex;
  justify-content: space-between;
}
.switch_input {
  display: none;
}
.switch_input:checked + .switch_box {
  background-color: #00A922;
}
.switch_box {
  background-color: white;
  border: 2px solid gainsboro;
  height: 30px;
  width: 60px;
  position: relative;
  border-radius: 60px;
}
.switch_input:checked + .switch_box .inner {
  left: 31px;
  background-color: white;
}
.switch_box .inner {
  height: 24px;
  width: 24px;
  border-radius: 100%;
  background-color: lightgray;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 1px;
  transition: left 0.3s ease;
}
.dynamic-card_switch {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 1em;
}
.select-boxes,.extras_con {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
}
.select-box{
  cursor: pointer;
}
.select-box_content {
  border: 2px solid #DCDCDC;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.select-box_image {
  position: relative;
  overflow: hidden;
  height: 170px;
}
.select-box_image img {
  transition: 0.3s ease;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.select-box:hover .select-box_image img {
  transform: scale(1.05);
  transform-origin: center;
}
.select-box_label {
  text-align: center;
  background-color: #dcdcdc;
  padding: 0.5em 0.1em;
  font-size: 0.8rem;
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
}
.select-box input:checked + .select-box_content {
  border-color: #1E73BE;
}
.select-box input:checked + .select-box_content .select-box_label {
  background-color: #1E73BE;
  color: white;
}
.customize_card.dynamic-card .dynamic-card_content:not(.visible){
  display: none;
}
.customize_card.dynamic-card.active .dynamic-card_content{
  display: block;
}
.dynamic-card_switch .switch{
  cursor: pointer;
}
.customze_card_content_left img{
  box-shadow: none;
}
.product-form_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    margin-bottom: 1em;
}
.product-form_col {
  width: 50%;
}
#options-window-split{
display: none;
}
.dynamic-card_content.active #options-window-split{
  display: block;
}

.product-form_summary {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #F7F7F7;
  border-radius: 999px;
  float: right;
}
.product-form_summary_price {
  margin-right: 1em;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0 1em;
}
.woocommerce-js div.product form.cart .button.single_add_to_cart_button {
  background-color: #FFD500;
  color: #1D1C1C;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1em;
  text-transform: none;
  gap: 2em;
  cursor: pointer;
  border-radius: 999px;
  float: right ;
  margin-bottom: 0px;
}
.product-form_summary.fixed {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: white;
  border: 1px solid lightgray;
  z-index: 999;
}
#custom-price{
  position: relative
}
.woocommerce-Price-amount .loader_con.hidden{
  display: none;
}
.woocommerce-Price-amount .loader_con {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  background: white;
  text-align: center;
}
.woocommerce-Price-amount svg{
  width: 35px;
  height: 35px;
}


.required_star{
  color: #d00;
  margin-left: 4px;
}

.form_error_message.required-field{
  color: #d00;
  font-weight: 500;
}

/* Deutliche Disabled-Darstellung für den Warenkorb-Button */
.single_add_to_cart_button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.4);
}


form#customizeable_form .product-form_field{
  width: 250px;
  box-shadow: none;
  border: 1px solid gainsboro;
  line-height: 1.618;
  text-rendering: optimizeLegibility;
  padding: 0.75em;
  color: #3E3E3E;
  font-size: 1rem;
}
.cart.customizeable_form input:focus{
  background-color: white;
  border-left: 4px solid #1E73BE;
  outline: none;
}

.hidden{
  display: none !important;
}
.product-form_unit{
  padding-left: 10px;
}
#customizeable_form select{
  padding: 6px 10px;
}
#customizeable_form .shutter_side{
  width: 250px;
}
#customizeable_form .shutter_wrapper{
  align-items: center;
  gap: 20px;
}

@media screen and (max-width: 768.5px){
  #customizeable_form .shutter_wrapper {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
}
  .card_cols {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2em;
  }
  .dimention_input_con {
    display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: flex-start;
  }
  .product-form_col {
      width: 100%;
  }
  .colors_single_con {
      width: calc(33.33% - 20px);
  }
  .dynamic-card_header {
      flex-direction: column;
      margin-bottom: 1em;
  }
  .customize_card {
      padding: 1em;
  }
  .colors_materials {
      flex-direction: column;
      align-items: flex-start;
  }
  .select-boxes,.extras_con {
      display: grid;
      grid-template-columns: 1fr;
  }
  .customize_card_title {
    font-size: 1.3rem;
  }
}

.woocommerce-Price-amount .loader_con{
 height: 100%;
}
.customize_card.dynamic-card.accessories_target .dynamic-card_content:not(.visible){
  display: none;
}
.customize_card.dynamic-card.accessories_target.active .dynamic-card_content{
  display: block;
}
.customize_card.accessories_target{
margin-bottom: 0px;
padding-bottom: 0px;
}
.form_error_message{
color: red;
font-size: 12px;
}
div#file-list {
    
}
.file-item {
background: #369763;
    padding: 8px 10px;
    border-radius: 9px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}
.file-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 0.75em;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

.file-item {
    animation: fadeIn 0.5s ease-in-out;
}
.file-action {
    font-size: 0.75em;
    cursor: pointer;
}
.upload-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    }
.upload-container label {
    text-align: center;
}
#sketch_file-upload{
display: none;
}
span.file-size {
    opacity: .5;
}
.sketch__container .customize_card_title{
padding-bottom: 0px;
}

.single_add_to_cart_button.disabled{
  pointer-events: none;
}