.build-ten-pack,
.build-ten-pack * { box-sizing: border-box; }

.build-ten-pack {
  display: block;
  width: 100%;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--ten-pack-border, #e5e5e5);
  background: transparent;
  color: #1c1c1c;
}

.build-ten-pack__header { margin-bottom: 16px; }
.build-ten-pack__eyebrow {
  margin-bottom: 6px;
  color: var(--ten-pack-accent, #ff9f0a);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.build-ten-pack__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 750;
}
.build-ten-pack__description {
  margin: 8px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.55;
}

.build-ten-pack__source { display: none !important; }
.build-ten-pack__empty[hidden] { display: none !important; }

.build-ten-pack__empty {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px dashed var(--ten-pack-accent, #ff9f0a);
  border-radius: 8px;
  color: #6a6a6a;
  background: #fff;
  font-size: 12px;
  line-height: 1.5;
}

.build-ten-pack__availability {
  margin: -4px 0 14px;
  color: #7a7a7a;
  font-size: 11px;
  line-height: 1.4;
}
.build-ten-pack__availability strong {
  color: var(--ten-pack-accent, #ff9f0a);
  font-size: 12px;
}

.build-ten-pack__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}
.build-ten-pack__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.build-ten-pack__field > span {
  color: #202020;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}
.build-ten-pack__field em {
  color: #d94141;
  font-style: normal;
}
.build-ten-pack__field select {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--ten-pack-border, #e5e5e5);
  border-radius: 4px;
  outline: none;
  background: #fff;
  color: #1f1f1f;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.build-ten-pack__field select:focus {
  border-color: var(--ten-pack-accent, #ff9f0a);
  box-shadow: 0 0 0 2px rgba(255, 159, 10, .12);
}
.build-ten-pack__field select.is-filled {
  border-color: rgba(255, 159, 10, .55);
}

.build-ten-pack__cta-box {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 159, 10, .18);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 159, 10, .08) 0%, rgba(255, 159, 10, .03) 100%);
}

.build-ten-pack__summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.build-ten-pack__summary-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.build-ten-pack__progress {
  color: #1b1b1b;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}
.build-ten-pack__progress strong {
  color: var(--ten-pack-accent, #ff9f0a);
  font-size: 20px;
}
.build-ten-pack__progress span {
  color: #242424;
  font-size: 14px;
}

.build-ten-pack__helper {
  max-width: 330px;
  color: #6b6b6b;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}
.build-ten-pack__helper.is-ready {
  color: #2f7b4e;
  font-weight: 650;
}

.build-ten-pack__progress-bar {
  position: relative;
  width: 100%;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #ececec;
}
.build-ten-pack__progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ten-pack-accent, #ff9f0a) 88%, #fff) 0%, var(--ten-pack-accent, #ff9f0a) 100%);
  transition: width .22s ease;
}

.build-ten-pack__button {
  position: relative;
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px solid var(--ten-pack-button, #ff9f0a);
  border-radius: 10px;
  background: var(--ten-pack-button, #ff9f0a) !important;
  color: var(--ten-pack-button-text, #fff) !important;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .015em;
  box-shadow: 0 10px 24px rgba(255, 159, 10, .18);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, filter .2s ease;
}
.build-ten-pack__button:not(:disabled):hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 12px 26px rgba(255, 159, 10, .24);
}
.build-ten-pack__button:disabled {
  background: #d9d9d9 !important;
  border-color: #d9d9d9 !important;
  color: #808080 !important;
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
}
.build-ten-pack__button.is-loading { pointer-events: none; }
.build-ten-pack__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: ten-pack-spin .7s linear infinite;
}
.build-ten-pack__button.is-loading .build-ten-pack__spinner { display: inline-block; }

.build-ten-pack__message {
  min-height: 18px;
  margin-top: 10px;
  color: #b63030;
  font-size: 12px;
  line-height: 1.5;
}
.build-ten-pack__message.is-success { color: #2f7b4e; }

@keyframes ten-pack-spin { to { transform: rotate(360deg); } }

@media (max-width: 767px) {
  .build-ten-pack {
    padding: 18px 0 0;
  }
  .build-ten-pack__title { font-size: 21px; }
  .build-ten-pack__description { font-size: 12px; }
  .build-ten-pack__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .build-ten-pack__field { gap: 5px; }
  .build-ten-pack__field select {
    height: 46px;
    border: 1px solid #dedede !important;
    background: #fff !important;
    color: #171717 !important;
  }
  .build-ten-pack__cta-box {
    margin-top: 16px;
    padding: 14px;
    border-radius: 12px;
  }
  .build-ten-pack__summary-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .build-ten-pack__helper {
    max-width: none;
    text-align: left;
  }
  .build-ten-pack__progress strong { font-size: 19px; }
  .build-ten-pack__button {
    min-height: 54px;
    font-size: 16px;
    border-radius: 10px !important;
  }
}

/* =========================================================
   Universal Build Pack — final prominent purchase CTA
   Scoped only to the generic Build Pack component.
   ========================================================= */
theme-build-pack.build-pack .build-ten-pack__cta-box {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #FFD8A3;
  border-radius: 12px;
  background: #FFF9F1;
}

theme-build-pack.build-pack .build-ten-pack__progress-bar {
  height: 9px;
  background: #E9E9E9 !important;
  border-radius: 999px;
  overflow: hidden;
}

theme-build-pack.build-pack .build-ten-pack__progress-bar > span {
  display: block !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: #FF9F0A !important;
  transition: width .22s ease !important;
}

theme-build-pack.build-pack button.build-ten-pack__button {
  all: unset;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 14px !important;
  padding: 15px 20px !important;
  border-radius: 10px !important;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  text-align: center !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

theme-build-pack.build-pack button.build-ten-pack__button::before,
theme-build-pack.build-pack button.build-ten-pack__button::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Not ready: clearly disabled */
theme-build-pack.build-pack button.build-ten-pack__button:disabled {
  background: #E4E4E4 !important;
  background-color: #E4E4E4 !important;
  border: 2px solid #D6D6D6 !important;
  color: #777777 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}

/* Ready: unmistakable primary CTA */
theme-build-pack.build-pack button.build-ten-pack__button.is-ready:not(:disabled) {
  background: #FF9F0A !important;
  background-color: #FF9F0A !important;
  background-image: none !important;
  border: 2px solid #FF9F0A !important;
  color: #1D1F21 !important;
  box-shadow: 0 8px 20px rgba(255, 159, 10, .30) !important;
  opacity: 1 !important;
}

theme-build-pack.build-pack button.build-ten-pack__button.is-ready:not(:disabled):hover {
  background: #F39800 !important;
  background-color: #F39800 !important;
  border-color: #F39800 !important;
  color: #111111 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 11px 24px rgba(255, 159, 10, .36) !important;
}

theme-build-pack.build-pack button.build-ten-pack__button.is-ready:not(:disabled):active {
  transform: translateY(0) !important;
  box-shadow: 0 5px 12px rgba(255, 159, 10, .24) !important;
}

theme-build-pack.build-pack .build-ten-pack__button-icon {
  display: inline-flex !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  color: currentColor !important;
}

theme-build-pack.build-pack .build-ten-pack__button-icon svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

@media (max-width: 767px) {
  theme-build-pack.build-pack .build-ten-pack__cta-box {
    margin-top: 16px;
    padding: 13px;
  }

  theme-build-pack.build-pack button.build-ten-pack__button {
    min-height: 58px !important;
    padding: 15px 14px !important;
    font-size: 16px !important;
  }
}
