.bundle-upgrades[hidden], .bundle-discord-order[hidden], .bundle-order-text[hidden] { display: none !important; }
.product-detail-text[hidden] { display: none !important; }
.product-detail-modal.has-bundle-upgrades { max-width: 920px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; }
.bundle-upgrades { margin: 0 0 18px; color: var(--text-main, #111); }
.bundle-config-intro { margin: 0 0 18px; color: var(--text-muted, #666); font-size: 14px; }
.bundle-config-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.bundle-config-group legend { padding: 0; margin: 0 0 9px; font-size: 13px; font-weight: 800; }
.bundle-config-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bundle-options-fuser { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bundle-choice { display: flex; align-items: center; position: relative; min-width: 0; cursor: pointer; border: 1px solid var(--border-color, #ddd); border-radius: 12px; padding: 12px 25px 12px 12px; background: var(--bg-alt, #f9f9f9); transition: border-color .15s, background .15s; }
.bundle-choice:hover { border-color: #e62222; }
.bundle-choice.is-selected { border-color: #e62222; background: rgba(230, 34, 34, .07); box-shadow: inset 0 0 0 1px #e62222; }
.bundle-choice:has(input:focus-visible) { outline: 2px solid #e62222; outline-offset: 3px; }
.bundle-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bundle-choice-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bundle-choice-body strong { font-size: 13px; line-height: 1.3; }
.bundle-choice-body small { color: var(--text-muted, #666); font-size: 12px; }
.bundle-choice.is-selected small { color: #d51c1c; }
.bundle-choice-check { position: absolute; right: 9px; top: 11px; color: #e62222; font-size: 12px; font-weight: 800; visibility: hidden; }
.bundle-choice.is-selected .bundle-choice-check { visibility: visible; }
.bundle-config-included { color: var(--text-muted, #666); font-size: 12px; line-height: 1.5; margin: 0 0 14px; }
.bundle-config-total { display: flex; flex-direction: column; gap: 5px; padding: 13px 0; margin-bottom: 10px; border-top: 1px solid var(--border-color, #ddd); }
.bundle-config-summary { font-size: 14px; }
.bundle-config-breakdown { color: var(--text-muted, #666); font-size: 12px; }
.bundle-copy { font-size: 12px; padding: 9px 12px; }
.bundle-copy-status { min-height: 17px; margin: 7px 0 0; font-size: 12px; line-height: 1.4; color: var(--text-muted, #666); }
.bundle-order-text { display: block; box-sizing: border-box; width: 100%; padding: 10px 12px; margin: 10px 0; border: 1px solid var(--border-color, #ddd); border-radius: 9px; resize: vertical; font: 12px/1.6 var(--font-main, sans-serif); color: var(--text-main, #111); background: var(--bg-alt, #f9f9f9); }
.bundle-discord-order { margin: 16px 0; text-align: left; }
.bundle-discord-order > strong { font-size: 14px; }
@media (max-width: 720px) {
  .product-detail-modal.has-bundle-upgrades { padding: 20px; }
  .has-bundle-upgrades .product-detail-media { min-height: 130px; max-height: 190px; }
  .has-bundle-upgrades .product-detail-media img { max-height: 165px; width: auto; }
}
@media (max-width: 400px) {
  .bundle-options-fuser { grid-template-columns: 1fr; }
  .bundle-options-fuser .bundle-choice-body { flex-direction: row; justify-content: space-between; gap: 10px; width: 100%; }
}

.bundle-copy-status:empty { display: none; }
