body.wc-preselect .grid.grid-2 {
  display: none !important;
}

body.wc-preselect .wc-inline-toolbar {
  display: none !important;
}

body.wc-config-active .wc-model-stage {
  display: none !important;
}

body.wc-config-active .grid.grid-2 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start;
}

body.wc-config-active .grid.grid-2 > .card:first-child {
  width: min(1100px, 100%);
  margin: 0 auto;
}

body.wc-config-active .grid.grid-2 > .card:last-child {
  position: fixed;
  right: 18px;
  bottom: 88px;
  width: min(390px, calc(100vw - 24px));
  max-height: min(72vh, 760px);
  overflow: auto;
  z-index: 35;
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

body.wc-summary-open .grid.grid-2 > .card:last-child {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.wc-hidden-source {
  display: none !important;
}

.choice-meta {
  display: none !important;
}

.wc-model-stage {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.wc-stage-header {
  padding: 20px 22px 8px;
}

.wc-stage-kicker {
  color: #c59a3d;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wc-stage-title {
  margin: 8px 0 10px;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.08;
}

.wc-stage-copy {
  max-width: 760px;
  color: rgba(232, 237, 247, 0.72);
  line-height: 1.6;
}

.wc-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.wc-model-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(218, 149, 35, 0.14), transparent 36%),
    linear-gradient(160deg, rgba(15, 24, 42, 0.96), rgba(9, 17, 33, 0.92));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.wc-model-badge {
  justify-self: start;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(197, 154, 61, 0.16);
  color: #f3c96b;
  font-size: 12px;
  font-weight: 700;
}

.wc-model-hero {
  height: 180px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  display: grid;
  place-items: center;
}

.wc-model-hero svg {
  width: min(200px, 88%);
  height: auto;
}

.wc-model-name {
  font-size: 26px;
  font-weight: 800;
}

.wc-model-copy {
  color: rgba(232, 237, 247, 0.74);
  line-height: 1.58;
  min-height: 50px;
}

.wc-model-points {
  margin: 0;
  padding-left: 18px;
  color: rgba(232, 237, 247, 0.88);
  line-height: 1.55;
}

.wc-model-enter {
  width: 100%;
}

.wc-inline-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 0 auto 18px;
  padding: 18px 20px;
  width: min(1100px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(17, 28, 52, 0.95), rgba(11, 19, 37, 0.95));
}

.wc-inline-eyebrow {
  color: rgba(232, 237, 247, 0.56);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wc-inline-title {
  margin-top: 6px;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
}

.wc-inline-copy {
  margin-top: 6px;
  color: rgba(232, 237, 247, 0.72);
  line-height: 1.55;
}

.wc-mobile-lang-switch {
  display: none;
}

.wc-mobile-config-bar {
  display: none;
}

.wc-summary-trigger {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 36;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: min(360px, calc(100vw - 24px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(10, 18, 34, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.wc-summary-main {
  min-width: 0;
  flex: 1 1 auto;
}

.wc-summary-trigger[hidden] {
  display: none !important;
}

.wc-summary-label {
  font-size: 12px;
  color: rgba(232, 237, 247, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wc-summary-total {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.wc-summary-meta {
  margin-top: 4px;
  color: rgba(232, 237, 247, 0.72);
  font-size: 13px;
}

.wc-summary-trigger .btn {
  min-width: 116px;
}

.wc-summary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wc-summary-cta-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wc-summary-cta-icon svg {
  width: 16px;
  height: 16px;
}

.wc-summary-backdrop {
  position: fixed;
  inset: 0;
  z-index: 34;
  background: rgba(4, 10, 20, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.wc-summary-backdrop[hidden] {
  display: none !important;
}

body.wc-summary-open .wc-summary-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.wc-mobile-category-dock {
  display: none;
}

.wc-summary-specs {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-summary-spec-title {
  font-size: 13px;
  font-weight: 800;
  color: rgba(232, 237, 247, 0.9);
  margin-bottom: 10px;
}

.wc-summary-spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.wc-summary-spec-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wc-summary-spec-name {
  font-size: 12px;
  color: rgba(232, 237, 247, 0.58);
}

.wc-summary-spec-value {
  font-size: 13px;
  font-weight: 700;
  color: rgba(232, 237, 247, 0.9);
}

.wc-summary-spec-empty {
  font-size: 12px;
  color: rgba(232, 237, 247, 0.58);
}

.wc-weight-row td:last-child,
.wc-weight-row td {
  font-weight: 700;
}

.wc-option-anchor {
  scroll-margin-top: 18px;
}

body.wc-config-active .model-viewer {
  min-height: min(56vh, 580px);
}

@media (max-width: 900px) {
  body.wc-config-active .grid.grid-2 > .card:last-child {
    right: 10px;
    bottom: 76px;
    width: calc(100vw - 20px);
    max-height: min(72vh, 620px);
  }

  .wc-summary-trigger {
    right: 10px;
    bottom: 10px;
    min-width: calc(100vw - 20px);
  }

  .wc-inline-toolbar {
    padding: 16px;
  }

  .wc-summary-trigger {
    padding: 11px 12px;
    border-radius: 16px;
    gap: 10px;
  }

  .wc-summary-label {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .wc-summary-total {
    font-size: 18px;
    line-height: 1;
  }

  .wc-summary-meta {
    margin-top: 3px;
    font-size: 11px;
  }

  .wc-summary-trigger .btn {
    min-width: 0;
    padding: 10px 12px;
  }

  .wc-summary-cta {
    gap: 6px;
  }

  .wc-summary-cta-text {
    white-space: nowrap;
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .card.header .select.compact {
    display: none !important;
  }

  body.wc-config-active .card.header,
  body.wc-config-active .wc-inline-toolbar,
  body.wc-config-active .wc-summary-trigger {
    display: none !important;
  }

  .wc-mobile-lang-switch {
    display: inline-flex;
    gap: 6px;
    margin-left: auto;
    padding-top: 10px;
  }

  .wc-mobile-lang-btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(232, 237, 247, 0.78);
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
  }

  .wc-mobile-lang-btn.active {
    border-color: rgba(243, 201, 107, 0.72);
    background: rgba(243, 201, 107, 0.16);
    color: #f6d589;
  }

  .wc-mobile-config-bar {
    position: sticky;
    top: 10px;
    z-index: 38;
    display: grid;
    grid-template-columns: auto minmax(92px, 1fr) auto;
    gap: 8px;
    align-items: center;
    margin: 0 0 12px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(9, 17, 33, 0.96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
  }

  .wc-mobile-config-start {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }

  .wc-mobile-config-lang {
    display: inline-flex;
    gap: 6px;
  }

  .wc-mobile-config-lang-btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(232, 237, 247, 0.78);
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
  }

  .wc-mobile-config-lang-btn.active {
    border-color: rgba(243, 201, 107, 0.72);
    background: rgba(243, 201, 107, 0.16);
    color: #f6d589;
  }

  .wc-mobile-switch-model,
  .wc-mobile-summary-toggle {
    min-width: 0;
    padding: 8px 10px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1;
  }

  .wc-mobile-summary-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .wc-mobile-config-summary {
    min-width: 0;
    text-align: center;
  }

  .wc-mobile-config-total {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.05;
    color: rgba(232, 237, 247, 0.96);
  }

  .wc-mobile-config-weight {
    margin-top: 2px;
    font-size: 10.5px;
    line-height: 1.15;
    color: rgba(232, 237, 247, 0.66);
    white-space: nowrap;
  }

  body.wc-config-active .container {
    padding-bottom: 104px;
  }

  body.wc-config-active .grid.grid-2 > .card:first-child {
    padding: 12px;
  }

  body.wc-config-active .model-viewer {
    position: relative !important;
    top: auto !important;
    z-index: 1 !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    margin-bottom: 12px;
    box-shadow: none !important;
  }

  .model-viewer::after {
    left: 10px;
    right: 10px;
    bottom: 7px;
    height: 3px;
  }

  .option-groups {
    gap: 10px;
  }

  .option-group {
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
  }

  .option-header {
    gap: 8px;
  }

  .option-title {
    font-size: 14px;
    line-height: 1.2;
  }

  .option-code {
    margin-top: 2px;
    font-size: 11px;
  }

  .option-current {
    max-width: 52%;
    padding: 4px 8px;
    font-size: 11px;
  }

  .choice-grid,
  .color-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .choice-btn {
    min-height: 62px;
    gap: 6px;
    padding: 10px;
    border-radius: 12px;
  }

  .choice-main {
    gap: 8px;
  }

  .choice-label {
    font-size: 12px;
    line-height: 1.25;
  }

  .chip-swatch {
    width: 16px;
    height: 16px;
  }

  body.wc-config-active .category-grid {
    display: none !important;
  }

  .wc-hidden-mobile-category-title {
    display: none !important;
  }

  .wc-mobile-category-dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 14px;
    z-index: 37;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(9, 17, 33, 0.96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
  }

  .wc-mobile-category-dock[hidden] {
    display: none !important;
  }

  body.wc-summary-open .wc-mobile-category-dock {
    opacity: 0;
    pointer-events: none;
  }

  .wc-mobile-category-track {
    flex: 1 1 auto;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .wc-mobile-category-track::-webkit-scrollbar {
    display: none;
  }

  .wc-mobile-category-chip {
    flex: 0 0 auto;
    min-width: max-content;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(232, 237, 247, 0.78);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }

  .wc-mobile-category-chip.active {
    border-color: rgba(243, 201, 107, 0.72);
    background: rgba(243, 201, 107, 0.16);
    color: #f6d589;
  }

  .wc-mobile-category-arrow {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(232, 237, 247, 0.86);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
  }

  .wc-mobile-category-arrow:disabled {
    opacity: 0.28;
  }

  .wc-mobile-category-dock:not(.is-overflowing) .wc-mobile-category-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .wc-mobile-config-bar {
    grid-template-columns: auto minmax(76px, 1fr) auto;
    gap: 6px;
    padding: 9px;
  }

  .wc-mobile-config-start {
    gap: 5px;
  }

  .wc-model-stage {
    gap: 10px;
    margin-bottom: 14px;
  }

  .wc-stage-header {
    padding: 10px 4px 2px;
  }

  .wc-stage-kicker {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .wc-stage-title {
    margin: 4px 0 6px;
    font-size: 22px;
    line-height: 1.04;
  }

  .wc-stage-copy {
    display: none;
  }

  .wc-model-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .wc-model-card {
    gap: 8px;
    padding: 10px 8px 12px;
    border-radius: 16px;
  }

  .wc-model-badge {
    padding: 4px 7px;
    font-size: 9px;
    line-height: 1.15;
  }

  .wc-model-hero {
    height: 84px;
    border-radius: 12px;
  }

  .wc-model-hero svg {
    width: min(92px, 96%);
  }

  .wc-model-name {
    font-size: 16px;
    line-height: 1.1;
  }

  .wc-model-copy {
    display: -webkit-box;
    min-height: 0;
    margin: 0;
    font-size: 10px;
    line-height: 1.35;
    color: rgba(232, 237, 247, 0.76);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .wc-model-points {
    display: none;
  }

  .wc-model-enter {
    padding: 10px 6px;
    min-height: 0;
    font-size: 11px;
    line-height: 1.2;
  }

  .wc-summary-trigger {
    gap: 8px;
    align-items: center;
  }

  .wc-summary-total {
    font-size: 17px;
  }

  .wc-summary-label {
    display: none;
  }

  .wc-summary-meta {
    font-size: 10px;
    line-height: 1.2;
  }

  .wc-summary-trigger .btn {
    padding-inline: 10px;
  }

  .wc-summary-cta-text {
    font-size: 10px;
  }

  .wc-summary-specs {
    margin-top: 14px;
    padding-top: 12px;
  }

  .wc-summary-spec-item {
    padding: 9px 10px;
    border-radius: 12px;
  }

  .wc-summary-spec-name,
  .wc-summary-spec-empty {
    font-size: 11px;
  }

  .wc-summary-spec-value {
    font-size: 12px;
  }

  .option-group {
    padding: 10px;
  }

  .option-title {
    font-size: 13px;
  }

  .option-current {
    max-width: 48%;
    font-size: 10px;
    padding: 4px 7px;
  }

  .choice-grid,
  .color-choice-grid {
    gap: 7px;
  }

  .choice-btn {
    min-height: 58px;
    padding: 9px;
  }

  .choice-label {
    font-size: 11px;
    line-height: 1.22;
  }
}

@media (max-width: 420px) {
  .wc-mobile-config-lang {
    gap: 5px;
  }

  .wc-mobile-config-lang-btn,
  .wc-mobile-switch-model,
  .wc-mobile-summary-toggle {
    padding: 7px 9px;
    font-size: 10px;
  }

  .wc-mobile-config-total {
    font-size: 15px;
  }

  .wc-mobile-config-weight {
    font-size: 10px;
  }

  .wc-mobile-lang-switch {
    gap: 5px;
    padding-top: 8px;
  }

  .wc-mobile-lang-btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .wc-stage-title {
    font-size: 20px;
  }

  .wc-model-card {
    padding: 8px 6px 10px;
  }

  .wc-model-badge {
    font-size: 8px;
    padding: 4px 6px;
  }

  .wc-model-hero {
    height: 74px;
  }

  .wc-model-name {
    font-size: 14px;
  }

  .wc-model-copy {
    font-size: 9px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  .wc-model-enter {
    font-size: 10px;
    padding: 9px 4px;
  }

  .option-group {
    padding: 9px;
  }

  .option-header {
    align-items: center;
  }

  .option-current {
    max-width: 46%;
  }

  .choice-grid,
  .color-choice-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .choice-btn {
    min-height: 54px;
    padding: 8px;
    border-radius: 10px;
  }

  .choice-label {
    font-size: 10.5px;
  }
}
