/* PDP configurator + sticky ATC — V3.1 */
.ccux-configurator { margin: 16px 0 20px; }
.ccux-config__step { margin-bottom: 18px; }
.ccux-config__step-label {
  font-size: 14px; font-weight: 800; margin-bottom: 10px; color: #111827;
}
.ccux-config__step--future {
  background: #F3F4F6; border-radius: 8px; padding: 12px 14px; color: #6B7280;
}

.ccux-park-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.ccux-park-card {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 14px;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  text-decoration: none; color: inherit;
  min-height: 88px;
  background: #fff;
}
.ccux-park-card.is-selected {
  border-color: #E8380D;
  box-shadow: 0 4px 14px rgba(232,56,13,.18);
}
.ccux-park-card strong { font-size: 15px; }
.ccux-park-card span:not(.ccux-badge):not(.ccux-check) {
  font-size: 12px; color: #6B7280;
}
.ccux-badge {
  position: absolute; top: -10px; left: 12px;
  background: #E8380D; color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .4px;
  padding: 3px 8px; border-radius: 4px;
}
.ccux-badge--tier { left: auto; right: 40px; top: 8px; }

.ccux-edition-list { display: flex; flex-direction: column; gap: 8px; }
.ccux-edition {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 12px 14px;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  text-decoration: none; color: inherit;
  background: #fff;
}
.ccux-edition.is-selected {
  border-color: #E8380D;
  box-shadow: 0 4px 14px rgba(232,56,13,.18);
}
.ccux-edition.is-disabled { opacity: .45; cursor: not-allowed; }
.ccux-edition__name { font-size: 15px; font-weight: 800; grid-column: 1; }
.ccux-edition__meta { font-size: 11.5px; color: #6B7280; grid-column: 1; }
.ccux-edition__price {
  grid-column: 2; grid-row: 1 / span 2;
  align-self: center; font-size: 18px; font-weight: 900;
}
.ccux-edition .ccux-check {
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #E8380D; color: #fff;
  font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
}
.ccux-compare { margin-top: 10px; font-size: 13px; }
.ccux-compare summary { cursor: pointer; font-weight: 700; color: #E8380D; }

/* Sticky ATC bar */
.ccux-sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: #0B0F1A; color: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  padding: 12px 20px;
}
.ccux-sticky-atc__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.ccux-sticky-atc__name { font-size: 14px; font-weight: 700; }
.ccux-sticky-atc__gift { font-size: 12px; color: #16A34A; margin-top: 4px; font-weight: 600; }
.ccux-sticky-atc__right {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.ccux-sticky-atc__price { font-size: 22px; font-weight: 900; }
.ccux-sticky-atc__qty {
  display: flex; align-items: center; background: #1f2937; border-radius: 8px; overflow: hidden;
}
.ccux-sticky-atc__qty button {
  width: 36px; height: 40px; border: 0; background: transparent; color: #fff;
  font-size: 18px; cursor: pointer;
}
.ccux-sticky-atc__qty input {
  width: 40px; height: 40px; border: 0; background: transparent; color: #fff;
  text-align: center; font-weight: 700;
}
.ccux-sticky-atc__btn {
  background: #16A34A; color: #fff; border: 0;
  border-radius: 10px; padding: 12px 22px;
  font-size: 15px; font-weight: 800; cursor: pointer;
  white-space: nowrap;
}
.ccux-sticky-atc__btn:hover { background: #15803D; }

body.catalog-product-view { padding-bottom: 100px; }

@media (max-width: 767px) {
  .ccux-park-cards { grid-template-columns: 1fr; }
  .ccux-sticky-atc__inner { flex-direction: column; align-items: stretch; }
  .ccux-sticky-atc__right { justify-content: space-between; }
  .ccux-sticky-atc__btn { flex: 1; }
}

/* 2026-09-07: badge sits beside the name, never over the price */
.ccux-edition__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1;
  min-width: 0;
  padding-right: 4px;
}
.ccux-edition__name { min-width: 0; }
.ccux-badge--tier {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  flex: 0 0 auto;
}
.ccux-edition__price {
  padding-right: 30px;
  white-space: nowrap;
  z-index: 1;
}
.ccux-edition.is-park-hidden { display: none !important; }
