/* Dream Fulfilled - Customization Helper */

body#product .df-customization-cart-helper {
  margin-top: 10px;
  max-width: 320px;
}

body#product .df-fake-add-to-cart {
  width: 100%;
  max-width: 320px;
  min-height: 52px;
  background: #A7854A !important;
  border: 1px solid #A7854A !important;
  color: #161210 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 24px !important;
  box-shadow: none !important;
  text-align: center !important;
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
  font-family: var(--df-font-body, inherit) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

body#product .df-fake-add-to-cart span,
body#product .df-fake-add-to-cart i,
body#product .df-fake-add-to-cart .icon_btn {
  color: #161210 !important;
}

body#product .df-fake-add-to-cart span {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

body#product .df-fake-add-to-cart i,
body#product .df-fake-add-to-cart .icon_btn {
  font-size: 15px !important;
  line-height: 1 !important;
}

body#product .df-fake-add-to-cart:hover,
body#product .df-fake-add-to-cart:focus {
  background: #5F6B50 !important;
  border-color: #5F6B50 !important;
  color: #E9DFCF !important;
}

body#product .df-fake-add-to-cart:hover span,
body#product .df-fake-add-to-cart:hover i,
body#product .df-fake-add-to-cart:hover .icon_btn,
body#product .df-fake-add-to-cart:focus span,
body#product .df-fake-add-to-cart:focus i,
body#product .df-fake-add-to-cart:focus .icon_btn {
  color: #E9DFCF !important;
}

body#product .product-customization .df-conditional-customization-hidden {
  display: none !important;
}

body#product .product-customization.df-customization-empty-hidden {
  display: none !important;
}

body#product .product-customization .df-customization-field-error {
  border-color: #C6A15B !important;
  box-shadow: 0 0 0 1px rgba(198, 161, 91, 0.55) !important;
}

body#product .product-customization .df-customization-error,
body#product .product-customization .df-customization-global-error {
  position: relative;
  display: block;
  max-width: 520px;
  margin: 10px 0 6px;
  padding: 11px 14px;
  background: #C6A15B !important;
  border: 1px solid #D8B66F !important;
  border-radius: 6px;
  color: #161210 !important;
  font-family: var(--df-font-body, inherit) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  text-shadow: none !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

body#product .product-customization .df-customization-error::before,
body#product .product-customization .df-customization-global-error::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 22px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid #C6A15B;
}

body#product .product-customization .df-customization-global-error {
  margin-top: 12px;
}

body#product .product-customization .df-save-customization-pulse {
  animation: dfSaveCustomizationPulse 1.2s ease-in-out 2;
}

body#product .df-customization-reordered {
  margin-top: 18px;
  margin-bottom: 18px;
}

body#product form#add-to-cart-or-refresh + .product-customization.df-customization-reordered {
  border-top: 1px solid #4A403A;
  padding-top: 18px;
}

/*  PRODUCTO - Orden visual seguro: variantes > personalización > cantidad/carrito
-------------------------------------------------- */
body#product .df-customization-layout-active {
  display: flex;
  flex-direction: column;
}

body#product .df-customization-layout-active form#add-to-cart-or-refresh.df-customization-reorder-form {
  display: contents;
}

body#product .df-customization-layout-active form#add-to-cart-or-refresh.df-customization-reorder-form > .product-variants,
body#product .df-customization-layout-active form#add-to-cart-or-refresh.df-customization-reorder-form > .js-product-variants {
  order: 40;
}

body#product .df-customization-layout-active .product-customization.df-customization-reordered {
  order: 50;
}

body#product .df-customization-layout-active form#add-to-cart-or-refresh.df-customization-reorder-form > .product-add-to-cart {
  order: 60;
}


body#product .df-customization-layout-active form#add-to-cart-or-refresh.df-customization-reorder-form > .df-customization-cart-helper,
body#product .df-customization-layout-active > .df-customization-cart-helper {
  order: 61;
}

body#product .df-customization-layout-active .product-additional-info {
  order: 70;
}

@keyframes dfSaveCustomizationPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 161, 91, 0.7);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(198, 161, 91, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(198, 161, 91, 0);
  }
}

@media (max-width: 767px) {
  body#product .df-customization-cart-helper {
    max-width: 306px;
  }

  body#product .df-fake-add-to-cart {
    max-width: 306px;
    min-height: 55px;
    padding: 11px 22px !important;
    font-size: 15px !important;
  }

  body#product .df-fake-add-to-cart span {
    font-size: 15px !important;
  }
}

/*  PRODUCTO - Campos de personalización convertidos en desplegables
-------------------------------------------------- */
body#product .product-customization .df-native-customization-hidden {
  display: none !important;
}

body#product .product-customization .df-dropdown-customization-item small,
body#product .product-customization .df-dropdown-customization-item .float-xs-right {
  display: none !important;
}

body#product .product-customization select.df-customization-select {
  width: 100% !important;
  min-height: 52px !important;
  height: 52px !important;
  padding: 11px 42px 11px 14px !important;
  background-color: #3A302B !important;
  border: 1px solid #4A403A !important;
  color: #E9DFCF !important;
  font-family: var(--df-font-body, inherit) !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  appearance: auto;
}

body#product .product-customization select.df-customization-select:hover,
body#product .product-customization select.df-customization-select:focus {
  border-color: #A7854A !important;
  box-shadow: 0 0 0 1px rgba(167, 133, 74, 0.35) !important;
  outline: none !important;
}

body#product .product-customization select.df-customization-select option {
  background-color: #2A211D;
  color: #E9DFCF;
}

/*  PRODUCTO - Ajuste de legibilidad en personalización
-------------------------------------------------- */
body#product .product-customization,
body#product .product-customization label,
body#product .product-customization .control-label,
body#product .product-customization .product-customization-item label {
  font-family: var(--df-font-body, inherit) !important;
  text-shadow: none !important;
}

body#product .product-customization label,
body#product .product-customization .control-label,
body#product .product-customization .product-customization-item label {
  color: #E9DFCF !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.01em !important;
}

body#product .product-customization textarea,
body#product .product-customization input[type="text"],
body#product .product-customization select.df-customization-select,
body#product .product-customization select.df-customization-select option {
  font-weight: 400 !important;
  text-shadow: none !important;
}

body#product .product-customization textarea::placeholder,
body#product .product-customization input[type="text"]::placeholder {
  color: #C8B9A7 !important;
  opacity: 1 !important;
  font-weight: 400 !important;
}


/*  PRODUCTO - Espaciado fino entre personalizaciones
-------------------------------------------------- */
body#product .product-customization .product-customization-item,
body#product .product-customization li.product-customization-item,
body#product .product-customization .form-group.product-customization-item,
body#product .product-customization .df-dropdown-customization-item {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}

body#product .product-customization .product-customization-item + .product-customization-item,
body#product .product-customization li.product-customization-item + li.product-customization-item,
body#product .product-customization .df-dropdown-customization-item + .df-dropdown-customization-item {
  margin-top: 16px !important;
}

body#product .product-customization .product-customization-item > label,
body#product .product-customization li.product-customization-item > label,
body#product .product-customization .df-dropdown-customization-item > label,
body#product .product-customization label.control-label,
body#product .product-customization label.font-weight-bold {
  display: block !important;
  margin: 0 0 9px !important;
  color: #E9DFCF !important;
  font-family: var(--df-font-body, inherit) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

body#product .product-customization .product-customization-item > label *,
body#product .product-customization li.product-customization-item > label *,
body#product .product-customization .df-dropdown-customization-item > label * {
  font-weight: inherit !important;
  text-shadow: none !important;
}

body#product .product-customization .product-customization-item textarea,
body#product .product-customization .product-customization-item input[type="text"],
body#product .product-customization .product-customization-item select.df-customization-select,
body#product .product-customization .df-dropdown-customization-item select.df-customization-select {
  margin-top: 0 !important;
}

/*  PRODUCTO - Ajuste de hueco superior tras reordenar personalización
-------------------------------------------------- */
body#product .steasy_divider.between_details_and_buttons + .product-actions.df-customization-layout-active,
body#product .product-actions.df-customization-layout-active {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body#product .df-customization-layout-active form#add-to-cart-or-refresh.df-customization-reorder-form {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body#product .df-customization-layout-active form#add-to-cart-or-refresh.df-customization-reorder-form > .product-variants,
body#product .df-customization-layout-active form#add-to-cart-or-refresh.df-customization-reorder-form > .js-product-variants,
body#product .df-customization-layout-active .product-variants,
body#product .df-customization-layout-active .js-product-variants {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body#product .df-customization-layout-active .product-variants:first-child,
body#product .df-customization-layout-active .js-product-variants:first-child {
  margin-top: 0 !important;
}

body#product .df-customization-layout-active .product-customization.df-customization-reordered {
  margin-top: 18px !important;
}

/* v1.0.24 - Orden visual sin mover nodos: evita parpadeos con AJAX de Panda */
body#product .df-customization-layout-active > .product-actions,
body#product .df-customization-layout-active > .js-product-actions {
  display: contents !important;
}
