.product-builder-single {
  --ip-teal: #009468;
  --ip-teal-dark: #037152;
  --ip-teal-soft: #1ba87c;
  --ip-red: #dc3545;
  --ip-gray: #6c757d;
  --ip-summary-heading: #5f7284;
  --ip-gray-dark: #343a40;
  --ip-gray-light: #f5f7f9;
  --ip-gray-lighter: #f8f9fa;
  --ip-black: #000000;
  --ip-white: #ffffff;
  --ip-orange: #fd7e14;
  --ip-green: #28a745;
}

body.product-builder-single-page {
  padding-top: 14px !important;
}

@media (max-width: 991px) {
  body.product-builder-single-page {
    padding-top: 10px !important;
  }
}

.product-builder-global-loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(2px);
  border-radius: inherit;
  z-index: 500;
}

.product-builder-loading-spinner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--ip-teal);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.finish-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  border: 1px solid #bdbdbd;
  border-radius: 50%;
  font-size: 12px;
  color: #555;
  background: var(--ip-white);
  cursor: help;
  vertical-align: middle;
  font-family: "Dosis", sans-serif;
  font-weight: 600;
  line-height: 1;
}

.finish-info:hover {
  border-color: #9e9e9e;
  color: #333;
}

.finish-tooltip {
  position: fixed;
  max-width: 420px;
  padding: 30px 16px 14px 16px;
  border: 2px solid #134985;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(19, 73, 133, 0.15), 0 2px 4px rgba(0, 0, 0, 0.08);
  color: #1f2937;
  font-size: 14px;
  line-height: 1.55;
  z-index: 999999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.finish-tooltip-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.finish-tooltip-close:hover {
  background: #f3f4f6;
  color: #1f2937;
}

.finish-tooltip-close:active {
  background: #e5e7eb;
}

.finish-tooltip-content {
  color: #1f2937;
}

.finish-tooltip-content a {
  color: #134985;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.finish-tooltip-content a:hover {
  color: #0e3460;
  text-decoration: underline;
}

.finish-tooltip-content a:visited {
  color: #134985;
}

.finish-tooltip::after,
.finish-tooltip::before {
  content: "";
  position: absolute;
  left: 24px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
}

.finish-tooltip::after {
  border-top: 8px solid #134985;
  bottom: -8px;
}

.finish-tooltip::before {
  border-top: 7px solid #ffffff;
  bottom: -7px;
  z-index: 1;
}

.product-builder-single .options.options--finitions .info-icon,
.product-builder-single .options.options--finitions i,
.product-builder-single .options.options--finitions [data-role="info"],
.product-builder-single .options.options--finitions [aria-label*="info"],
.product-builder-single .options.options--finitions .option-name::after,
.product-builder-single .options.options--finitions .option__label::after {
  display: none !important;
  content: none !important;
}

.product-builder-single .product-date-choice {
  position: relative;
  margin-top: 8px;
}

.product-builder-single .u-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
}

.product-builder-single *:focus {
  outline: 2px solid var(--ip-teal);
  outline-offset: 2px;
  border-radius: 4px;
}

.product-builder-single .btn:focus,
.product-builder-single .form-control:focus {
  box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.2);
}





.product-builder-single .product__wrapper {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
  overflow: visible;
}

.product-builder-single .product__wrapper,
.product-builder-single .product__summary {
  align-self: flex-start;
}

@media (min-width: 992px) {
  .product-builder-single .product__summary {
    margin-top: -20px;
  }
}

.product-builder-single .product__specs,
.product-builder-single .product__summary > .row:first-child,
.product-builder-single .product--summary:first-child {
  margin-top: 0 !important;
}

.product-builder-single .product__specs > .row:first-child > .col-12:first-child,
.product-builder-single .product__summary > .row:first-child > .col-12:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.product-builder-single .product__specs {
  flex: 0 0 90%;
  max-width: 90%;
  background: var(--ip-gray-lighter);
  border-radius: 12px;
  padding: 0 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.product-builder-single .product__summary {
  position: sticky;
  top: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: visible;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-areas:
    "product--summary"
    "product--upsale"
    "product--add_to_cart" !important;
  gap: 0;
  width: 100%;
  padding: 1rem;
  isolation: isolate;
}

.product-builder-single .product__summary .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: visible;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.product-builder-single .product__summary .col-12 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.product-builder-single .product__summary.is-loading {
  pointer-events: none;
}

.product-builder-single .product__summary .product--summary {
  padding: 0rem !important;
}

.product-builder-single .product--summary {
  grid-area: product--summary;
  position: relative;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.product-builder-single .product--summary h4 {
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.product-builder-single .product--summary .step {
  margin-bottom: 0.3rem;
}

.product-builder-single .product--summary .step:empty,
.product-builder-single .product--summary .step .options:empty {
  display: none;
}

.product-builder-single .product--summary .hidden-section {
  display: none !important;
}

.product-builder-single .product--summary .step .options:not(:has(.option[style*="block"])) {
  display: none;
}

.product-builder-single .product--summary .options {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  row-gap: 0;
  column-gap: 1.5rem;
}

.product-builder-single .product--summary .options .option {
  display: none !important;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.3rem 0;
  border: none;
  background: #fafafa;
  position: relative;
}

.product-builder-single .product--summary .options .option:nth-child(odd),
.product-builder-single .product--summary .options .option:nth-child(even) {
  padding-right: 0;
  padding-left: 7px;
  border-right: none;
}

.product-builder-single .product--summary .options .option[style*="block"] {
  display: flex !important;
}

.product-builder-single .product--summary .options .option__title {
  color: #9ca3af;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0;
  white-space: nowrap;
}

.product-builder-single .product--summary .options .option__title::after {
  content: ":";
}

.product-builder-single .product--summary .options .option__value {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1f2937;
  text-align: left;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .product-builder-single .product--summary .options {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .product-builder-single .product--summary .options .option:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }

  .product-builder-single .product--summary .options .option:nth-child(even) {
    padding-left: 0;
  }

  .product-builder-single .product--summary .options .option {
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .product-builder-single .product--summary .options .option:last-child {
    border-bottom: none;
  }
}

.product-builder-single .product__summary::after {
  display: none !important;
}

.product-builder-single .product-short-description {
  color: var(--ip-white);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.product-builder-single .btn-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin: 0 0 1rem;
  background: var(--ip-teal);
  color: var(--ip-white) !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-builder-single .btn-with-icon i {
  margin: 0;
  color: inherit;
}

.product-builder-single .btn-with-icon:hover,
.product-builder-single .btn-with-icon:focus {
  color: var(--ip-white) !important;
  background: var(--ip-teal-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(32, 201, 151, 0.4);
}

.product-builder-single .product__header {
  background: linear-gradient(50deg, #000000 25%, #134985 100%);
  color: var(--ip-white);
  padding: 1rem;
  margin: 0 0 1rem !important;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(32, 201, 151, 0.2);
}

.product-builder-single .product__header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
}

.product-builder-single .product__title-section {
  flex: 0 0 65%;
}

.product-builder-single .product__header-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 4px 8px;
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-builder-single .product__header-readmore:hover,
.product-builder-single .product__header-readmore:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.product-builder-single .product__header-readmore:active {
  transform: translateY(1px);
}

.product-builder-single .product__header .product-short-description {
  margin: 0;
  margin-top: 25px;
  color: var(--ip-white);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 300;
}

.product-builder-single .product__header .product-short-description * {
  color: inherit !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  font-weight: 300 !important;
  margin: 0 0 0.35rem 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  background: transparent !important;
}

.product-builder-single .product__header .product__image {
  flex: 0 0 25%;
  text-align: center;
}

.product-builder-single .product__header .product__image img {
  max-width: 14rem !important;
  height: auto;
  border-radius: 8px;
}

.product-builder-single .product__header hr {
  border-color: rgba(255, 255, 255, 0.3);
  margin: 0.75rem 0;
}

.product-builder-single .step {
  background: var(--ip-white);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-builder-single .step .step__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.product-builder-single .step .surtitle {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--ip-gray-dark);
  color: var(--ip-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-builder-single .options--specs,
.product-builder-single .options--finitions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.product-builder-single .options--specs .option,
.product-builder-single .options--finitions .option {
  background: var(--ip-white);
  border: 1px solid #e0e6eb;
  border-radius: 4px;
  padding: 0.6rem;
  text-align: left;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-builder-single .options--specs .option:hover,
.product-builder-single .options--finitions .option:hover {
  box-shadow: none;
  transform: none;
}

.product-builder-single .options--specs .option__title,
.product-builder-single .options--finitions .option__title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ip-gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.product-builder-single .options--specs .option__value,
.product-builder-single .options--finitions .option__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ip-gray-dark);
}

.product-builder-single .form-control,
.product-builder-single .dropdown__container select {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
  font-size: 0.95rem;
  height: 38px;
  line-height: 1.2;
  background: var(--ip-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-builder-single .form-group,
.product-builder-single .data__group {
  margin-bottom: 1rem !important;
}

.product-builder-single .form-group label,
.product-builder-single .data__group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: var(--ip-gray-dark);
}

.product-builder-single .form-control:focus,
.product-builder-single .dropdown__container select:focus {
  border-color: var(--ip-teal);
  box-shadow: 0 0 0 2px rgba(32, 201, 151, 0.1);
}

.product-builder-single textarea.form-control {
  min-height: 56px;
  height: auto;
  padding: 0.45rem 0.65rem;
}


.product-builder-single .custom-control-input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.product-builder-single .custom-control-label {
  position: relative;
  padding-left: 2rem;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.product-builder-single .custom-control-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  transition: all 150ms ease;
}

.product-builder-single .custom-control-label:hover::before {
  border-color: #9ca3af;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-builder-single .custom-control-input:checked ~ .custom-control-label::before {
  background: #a21a16;
  border-color: #a21a16;
}

.product-builder-single .custom-control-label::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  transition: transform 150ms ease;
}

.product-builder-single .custom-control-input:checked ~ .custom-control-label::after {
  transform: translateY(-50%) scale(1);
}

.product-builder-single .custom-control-input:focus ~ .custom-control-label::before {
  outline: 2px solid #a21a16;
  outline-offset: 2px;
}

.product-builder-single .custom-control-input:disabled ~ .custom-control-label {
  opacity: 0.5;
  cursor: not-allowed;
}

.product-builder-single .custom-control-input:disabled ~ .custom-control-label::before {
  border-color: #e5e7eb;
  background: #f9fafb;
}

.product-builder-single .product--upsale {
  grid-area: product--upsale;
  margin: 0.25rem 0;
  padding: 0.75rem 0;
  border-top: none;
  border-bottom: none;
}

.product-builder-single .upsale-heading {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.6rem 0;
}


.product-builder-single .upsales-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.product-builder-single .upsales-quantities {
  display: contents;
}

.product-builder-single .upsales-prices {
  display: contents;
}

.product-builder-single .upsale-option {
  display: block;
  position: relative;
  cursor: pointer;
}


.product-builder-single .upsale-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}


.product-builder-single .upsale-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 35px;
  margin: 0;
  padding: 0 0.5rem;
  background: #ffffff;
  border: 2px solid #a21a16;
  border-radius: 8px;
  color: #a21a16;
  font-size: 0.8rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  text-align: center;
  word-spacing: 12px;
}

.product-builder-single .upsale-option input[type="radio"]:checked ~ label {
  background: #a21a16;
  color: #ffffff;
  border-color: #a21a16;
}


.product-builder-single .upsale-option input[type="radio"]:focus ~ label {
  outline: 2px solid #a21a16;
  outline-offset: 2px;
}

.product-builder-single .upsale-price {
  display: none;
}

.product-builder-single .product--add_to_cart {
  grid-area: product--add_to_cart;
  margin: 0.0rem 0 0 0;
  padding: 0.75rem 0 0 0;
  padding: 1rem 0rem 0rem 0rem !important;
}

.product-builder-single .product__infos-text {
  margin-bottom: 0;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem;
}

.product-builder-single .infos-labels,
.product-builder-single .infos-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: center;
}

.product-builder-single .infos-labels {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ip-gray);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.product-builder-single .info-label,
.product-builder-single .info-value {
  flex: 1;
  text-align: center;
}

.product-builder-single .info-value {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
}

.product-builder-single .input-inline {
  width: 64px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.product-builder-single .product__unit-price-row {
  text-align: center;
  padding: 0.5rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.product-builder-single .unit-price-value {
  font-weight: 600;
  color: #a21a16;
}

.product-builder-single .production-delay {
  font-weight: 600;
  color: #2c3e50;
}

.product-builder-single .product__cta-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: start;
}

.product-builder-single .product__cta-main {
  display: grid;
  gap: 0.85rem;
}

.product-builder-single .product__cta-calendar {
  align-self: start;
  grid-column: 1 / -1;
}


.product-builder-single .product__rush-info {
  text-align: center;
  margin: 0.5rem 0;
  padding: 0.5rem;
  font-size: 0.875rem;
  color: #2c3e50;
  background: #fff8e1;
  border-radius: 4px;
  border-left: 3px solid #ffc107;
}

.product-builder-single .product__rush-info.is-hidden {
  display: none;
}

.product-builder-single .rush-date {
  font-weight: 600;
  color: #d32f2f;
}

.product-builder-single .rush-cost {
  font-weight: 600;
  color: #d32f2f;
}

.product-builder-single .btn-clear-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  margin-left: 0.5rem;
  padding: 0;
  background: #fff;
  border: 1px solid #d32f2f;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  color: #d32f2f;
  line-height: 1;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.product-builder-single .btn-clear-date:hover {
  background: #d32f2f;
  color: #fff;
  transform: scale(1.1);
}

.product-builder-single .btn-clear-date:active {
  transform: scale(0.9);
}


.product-builder-single .product__submit-row {
  display: flex;
  justify-content: center;
  position: relative;
}

.product-builder-single .data__group {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}


.product-builder-single .product__cta-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 0.75rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  display: none;
  align-items: center;
  gap: 0.35rem;
  z-index: 1200;
  display: grid;
  grid-template-columns: auto 1fr;
}

.product-builder-single .product__cta-sticky .product__cta-sticky-price {
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
}

.product-builder-single .product__cta-sticky .product__cta-sticky-meta {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 2px;
}

.product-builder-single .product__cta-sticky .product__cta-sticky-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  justify-self: start;
}

.product-builder-single .product__cta-sticky .product__cta-sticky-button {
  width: auto;
  min-width: 140px;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
  justify-self: end;
}

.product-builder-single .product__cta-sticky.is-active {
  display: flex;
}

@media (min-width: 769px) {
  .product-builder-single .product__cta-sticky {
    display: none !important;
  }
}


@media (max-width: 768px) {
  .product-builder-single .product-builder-global-loading-overlay {
    display: none !important;
  }
}


.product-builder-single .product-date-toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 0;
}

.product-builder-single .toggle-question {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
}


.product-builder-single .toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.product-builder-single .toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.product-builder-single .toggle-slider {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  background-color: #ccc;
  border-radius: 26px;
  transition: background-color 0.3s ease;
}

.product-builder-single .toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  top: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.product-builder-single .toggle-input:checked + .toggle-slider {
  background-color: #a21a16;
}

.product-builder-single .toggle-input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.product-builder-single .toggle-label-non,
.product-builder-single .toggle-label-oui {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6c757d;
  transition: color 0.3s ease;
}

.product-builder-single .toggle-input:not(:checked) ~ .toggle-label-non {
  color: #2c3e50;
}

.product-builder-single .toggle-input:checked ~ .toggle-label-oui {
  color: #a21a16;
}


.product-builder-single .product-date-calendar-zone {
  overflow: hidden;
  max-height: 1000px;
  opacity: 1;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  margin-top: 1rem;
}

.product-builder-single .product-date-calendar-zone.is-hidden {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.product-builder-single .product-date-choice__input.is-hidden {
  display: none !important;
}

.product-builder-single .product-date-choice__intro {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.product-builder-single .product-date-choice__legend {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: #555;
}

.product-builder-single .product-date-choice__legend .legend-box {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 4px;
}

.product-builder-single .legend-rush {
  background: #ffd54f;
  border: 1px solid #e0b800;
}

.product-builder-single .legend-standard {
  background: #4caf50;
  border: 1px solid #2e7d32;
}

.product-builder-single .legend-disabled {
  background: #e0e0e0;
  border: 1px solid #bdbdbd;
}

.product-builder-single .product-date-choice__fees-simple {
  font-size: 0.65rem;
  font-weight: 400;
  line-height: 1.3;
  color: #666;
  margin-top: 4px;
}

.product-builder-single .product-date-choice__fees {
  display: none !important;
}

.product-builder-single button[name="add-to-cart"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px !important;
  border-radius: 6px !important;
  border: none;
  background: var(--ip-teal);
  color: var(--ip-white);
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(0, 148, 104, 0.3) !important;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.product-builder-single button[name="add-to-cart"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(0, 148, 104, 0.4) !important;
}

.product-builder-single button[name="add-to-cart"]:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(0, 148, 104, 0.3) !important;
}

.product-builder-single .instarush-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  margin-top: 16px;
  border-radius: 10px;
  border-left: 4px solid #e53935;
  background: rgba(229, 57, 53, 0.08);
  position: relative;
  z-index: 9999;
}

.product-builder-single .instarush-error__icon {
  color: #e53935;
  font-size: 1.2rem;
  margin-top: 2px;
}

.product-builder-single .instarush-error__content {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #3b3b3b;
}

.product-builder-single .instarush-error__content strong {
  color: var(--ip-black);
}

.product-builder-single .instarush-error__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
}

.instarush-error--warning {
  background: #fff8e1;
  color: #856404;
  border-left-color: #ffb300;
}

.instarush-error--success {
  background: #e8f5e8;
  color: #2e7d32;
  border-left-color: #4caf50;
}





.product-builder-single .pbc-datepicker {
  position: static;
  width: 90%;
  max-width: 100%;
  margin: 0.75rem auto 0;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  overflow: hidden;
  display: none;
}

.product-builder-single .pbc-datepicker.is-open {
  display: block !important;
}

.product-builder-single .pbc-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: linear-gradient(135deg, #009468 0%, #007d56 100%);
  color: var(--ip-white);
  border-radius: 10px 10px 0 0;
}

.product-builder-single .pbc-cal-header button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--ip-white);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  padding: 0;
}

.product-builder-single .pbc-cal-header button:hover:not([disabled]) {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.product-builder-single .pbc-cal-header button[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
}

.product-builder-single .pbc-month-label {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: capitalize;
  color: var(--ip-white);
  margin: 0;
}

.product-builder-single .pbc-calendar-grid {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 6px;
  padding: 8px 12px 12px;
  background: #fff;
}

.product-builder-single .pbc-weekday-header {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 24px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #666;
  background: #f8f9fa;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-builder-single .pbc-day-empty {
  height: 36px;
  visibility: hidden;
}

.product-builder-single .pbc-day,
.product-builder-single .pbc-day-cell {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 50%;
  background: #f8f9fa;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ip-gray-dark);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  aspect-ratio: 1 / 1;
  user-select: none;
}

.product-builder-single .pbc-day:hover:not(.is-disabled),
.product-builder-single .pbc-day-cell:hover:not(.is-disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.product-builder-single .pbc-day.is-disabled,
.product-builder-single .pbc-day-cell.is-disabled {
  background: #e0e0e0 !important;
  color: #9e9e9e !important;
  cursor: not-allowed;
}

.product-builder-single .pbc-day-cell.is-rush,
.product-builder-single .pbc-day.is-rush {
  background: #ffc107 !important;
  color: #000 !important;
  font-weight: 700;
}

.product-builder-single .pbc-day-cell.is-standard,
.product-builder-single .pbc-day.is-standard {
  background: #4caf50 !important;
  color: #fff !important;
  font-weight: 700;
}

.product-builder-single .pbc-day-cell.is-holiday,
.product-builder-single .pbc-day.is-holiday {
  background: #ff9800 !important;
  color: #fff !important;
  font-weight: 700;
}

.product-builder-single .pbc-day-cell.is-weekend,
.product-builder-single .pbc-day.is-weekend {
  background: #f5f5f5 !important;
  color: #bdbdbd !important;
}

.product-builder-single .pbc-day-cell.is-today,
.product-builder-single .pbc-day.is-today {
  box-shadow: 0 0 0 3px #2196f3 !important;
}

.product-builder-single .pbc-day-cell.is-selected,
.product-builder-single .pbc-day.is-selected {
  box-shadow: 0 0 0 3px #000 !important;
  font-weight: 700 !important;
}

.product-builder-single .pbc-day-cell.is-next-month {
  opacity: 0.4;
}

.product-builder-single .pbc-day-cell:focus-visible {
  outline: 2px solid #2196f3;
  outline-offset: 2px;
}

.product-builder-single #desired-date:focus {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}





@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1199px) {
  .product-builder-single .product__wrapper {
    flex-direction: column !important;
    gap: 1.5rem;
  }

  .product-builder-single .product__summary {
    position: static !important;
    order: 2;
    max-width: 100% !important;
    flex: 1 !important;
  }

  .product-builder-single .product__specs {
    order: 1;
    max-width: 100% !important;
    flex: 1 !important;
    padding: 1.25rem;
  }

  .product-builder-single .product--summary {
    padding: 0 1.25rem 1.25rem;
  }

  .product-builder-single .product--summary .options .option {
    flex: 0 0 48% !important;
    margin-right: 2% !important;
  }

  .product-builder-single .product--summary .options .option:nth-child(2n) {
    margin-right: 0 !important;
  }
}

@media (max-width: 991px) {
  .product-builder-single .product__header {
    text-align: center;
    padding: 1.2rem;
  }

  .product-builder-single .product__header .product__image {
    text-align: center;
    margin-top: 0.75rem;
  }

  .product-builder-single .product__wrapper {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .product-builder-single .product__wrapper {
    flex-direction: column;
  }

  .product-builder-single .product__summary {
    width: 100%;
    max-width: none;
    margin: 0;
    flex: 1 !important;
    font-size: 0.92rem;
  }

  .product-builder-single .product__summary > .row {
    justify-content: stretch;
  }

  .product-builder-single .product__specs {
    max-width: none;
  }

  .product-builder-single .product--summary .options {
    gap: 0.5rem;
  }

  .product-builder-single .product__header-content {
    display: grid;
    grid-template-columns: 70% 30%;
    grid-template-areas:
      "title image"
      "desc desc";
    align-items: start;
    gap: 0.5rem 0.75rem;
    text-align: left;
  }

  .product-builder-single .product__title-section {
    display: contents;
  }

  .product-builder-single .product__header-content h3 {
    grid-area: title;
    margin-bottom: 0.2rem;
  }

  .product-builder-single .product__header .product__image {
    grid-area: image;
    text-align: right;
    align-self: start;
  }

  .product-builder-single .product__header .product__image img {
    max-width: 8rem !important;
    margin-left: auto;
    display: block;
  }

.product-builder-single .product__header .product-short-description {
  grid-area: desc;
  text-align: left;
  width: 100%;
  margin-top: 0.1rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
}

.product-builder-single .product__header-readmore {
  grid-area: desc;
  justify-self: end;
    align-self: end;
    margin-top: 0.3rem;
  }

  .product-builder-single .product--summary .options .option {
    flex: 0 0 100% !important;
    width: 99% !important;
    margin-right: 0 !important;
  }

  .product-builder-single .product--summary h4 {
    font-size: 0.9rem;
    font-weight: 700;
  }

  .product-builder-single .product--summary .options .option__title {
    font-size: 0.68rem;
  }

  .product-builder-single .product--summary .options .option__value {
    font-size: 0.78rem;
    font-weight: 600;
  }


  .product-builder-single .product-date-toggle-header {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .product-builder-single .toggle-switch {
    justify-content: center;
  }

  .product-builder-single .options--specs,
  .product-builder-single .options--finitions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-builder-single .product__specs {
    padding: 0.75rem;
  }

  .product-builder-single .upsales-inline {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .product-builder-single .infos-labels,
  .product-builder-single .infos-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    text-align: left;
    align-items: center;
  }

  .product-builder-single .product__header-content {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 0.75rem;
  }

  .product-builder-single .product__title-section {
    flex: 0 0 70%;
    max-width: 70%;
  }

  .product-builder-single .product__header .product__image {
    flex: 0 0 30%;
    max-width: 30%;
    text-align: right;
  }

  .product-builder-single .product__header .product__image img {
    max-width: 8rem !important;
    margin-left: auto;
  }

  .product-builder-single .product__header .product-short-description {
    text-align: left;
  }

  .product-builder-single .product__cta-layout {
    grid-template-columns: 1fr;
  }

  .product-builder-single .product__cta-sticky.is-active {
    display: flex;
  }
}


.product-builder-single .product__summary {
  position: sticky;
}

.product-builder-single .product__summary .product-builder-global-loading-overlay {
  position: absolute;
  inset: 0;
}

@media (max-width: 576px) {
  .product-builder-single .pbc-datepicker {
    position: static;
    width: 240px;
    min-width: 0;
    max-width: 100%;
    margin: 0.5rem auto 0;
  }

  .product-builder-single .options--specs,
  .product-builder-single .options--finitions {
    grid-template-columns: 1fr;
  }

  .product-builder-single .upsales-inline {
    grid-template-columns: 1fr;
  }
}
.product-builder-single .step .section-heading {
  display: none;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2c3e50;
  position: relative;
  padding-bottom: 0;
  border-bottom: none;
}

.product-builder-single .step .section-heading:first-child {
  margin-top: 0;
}


.product-builder-single .step:has(.options--finitions .option[style*="block"]) .section-heading:nth-of-type(2) {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 0.6rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0;
  border-bottom: none;
}
.product-builder-single .options--specs .custom-control,
.product-builder-single .options--finitions .custom-control {
  margin-top: 15px;
}





.product-builder-single .pbc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 9999;
  animation: pbcFadeIn 0.5s ease;
}

.product-builder-single .pbc-modal-overlay.is-hidden {
  display: none;
}


.product-builder-single .pbc-modal-container {
  position: absolute;
  bottom: 13rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 355px;
  animation: none;
}


.product-builder-single .pbc-modal-content {
  background: #fff;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}


.product-builder-single .pbc-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #009468 0%, #007d56 100%);
  color: #fff;
}

.product-builder-single .pbc-modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.product-builder-single .pbc-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.product-builder-single .pbc-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}


.product-builder-single .pbc-modal-body {
  padding: 1.25rem;
  max-height: 70vh;
  overflow-y: auto;
}


.product-builder-single .pbc-modal-overlay .pbc-datepicker {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: block !important;
}

.product-builder-single .pbc-modal-overlay .pbc-cal-header {
  border-radius: 8px;
  margin-bottom: 0.75rem;
}


@keyframes pbcFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pbcSlideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


.product-builder-single .product-date-calendar-zone {
  display: none !important;
}


@media (max-width: 576px) {
  .product-builder-single .pbc-modal-container {
    max-width: 100%;
  }

  .product-builder-single .pbc-modal-content {
    border-radius: 16px 16px 0 0;
  }

  .product-builder-single .pbc-modal-body {
    padding: 1rem;
  }
}
