/* Marketplace and account surfaces share the platform's editable colour palette. */
.kx-marketplace { --market-border: #899aff35; color: #f5f6ff; margin: 32px 0; }
.kx-marketplace-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); gap: 24px; }
.kx-marketplace-card { min-width: 0; padding: 28px; border: 1px solid var(--market-border); border-radius: 20px; background: linear-gradient(145deg,#232c46,#131827); box-shadow: 0 12px 44px #0002; }
.kx-marketplace-card h2,.kx-marketplace-card h3 { margin-top: 0; line-height: 1.2; }
.kx-marketplace-card p { color: #c4cbe0; }
.kx-marketplace a { color: #c1caff; text-underline-offset: 4px; overflow-wrap: anywhere; }
.kx-marketplace label,.woocommerce label { display: block; font-weight: 600; margin: 12px 0 6px; }
.kx-marketplace input:not([type=checkbox]):not([type=radio]),.kx-marketplace textarea,.kx-marketplace select,
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select { box-sizing: border-box; width: 100%; max-width: 100%; color: #f5f6ff; background: #111727; border: 1px solid #899aff65; border-radius: 10px; padding: 12px 14px; font: inherit; }
.kx-marketplace input[type=file] { font-size: 14px; overflow: hidden; }
.kx-marketplace textarea { min-height: 140px; resize: vertical; }
.kx-marketplace input[type=checkbox],.woocommerce input[type=checkbox] { accent-color: #899aff; }
.kx-marketplace button,.kx-marketplace .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button { display: inline-block; cursor: pointer; color: #101528; background: #b7c3ff; border: 1px solid transparent; border-radius: 10px; padding: 12px 18px; font-weight: 700; text-decoration: none; white-space: normal; margin: 6px 6px 6px 0; line-height: 1.5; }
.kx-marketplace button:hover,.kx-marketplace .button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover { background: #d2dbff; color: #101528; }
.kx-marketplace :focus-visible,.woocommerce :focus-visible { outline: 3px solid #8de1ca; outline-offset: 4px; }
.kx-marketplace button:disabled { opacity: .55; cursor: not-allowed; }
.kx-marketplace-form { max-width: 780px; padding: clamp(18px,4vw,36px); border: 1px solid var(--market-border); border-radius: 18px; background: #171e30; }
.kx-marketplace code,.kx-marketplace pre { overflow-wrap: anywhere; word-break: break-word; white-space: pre-wrap; }
.kx-marketplace table,.woocommerce table.shop_table { width: 100%; border-collapse: collapse; color: #e8ebfa; }
.kx-marketplace th,.kx-marketplace td,.woocommerce table.shop_table th,.woocommerce table.shop_table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid #899aff35; overflow-wrap: anywhere; }
.kx-marketplace .notice,.kx-marketplace [role=status],.woocommerce-info,.woocommerce-message { padding: 16px 20px; border: 1px solid #8de1ca55; border-left: 4px solid #8de1ca; border-radius: 8px; color: #eefaf7; background: #152a2b; }
.kx-marketplace .error,.woocommerce-error { padding: 16px 20px; border-left: 4px solid #ffb4b4; color: #ffe1e1; background: #37222c; }
.marketplace-intro { padding: 36px; border: 1px solid #899aff50; border-radius: 22px; background: radial-gradient(ellipse at 100% 0,#764ba24a,transparent 70%),#182034; }
.marketplace-intro strong { color: #9aefd6; }
.marketplace-flow { counter-reset: step; }
.marketplace-flow .guide-card::before { counter-increment: step; content: '0' counter(step); display: block; color: #a6b4ff; font-size: 32px; font-weight: 800; }
.marketplace-account-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 24px 0; }
.woocommerce { color: #e8ebfa; margin: 30px 0; }
.woocommerce a { color: #c1caff; }
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register { border: 1px solid #899aff45; border-radius: 16px; background: #171e30; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-MyAccount-navigation li { padding: 10px; border-bottom: 1px solid #899aff35; }
.woocommerce-MyAccount-navigation .is-active a { color: #9aefd6; }
.woocommerce #payment,.woocommerce-checkout #payment { background: #1b2337; border: 1px solid #899aff45; border-radius: 14px; }
.woocommerce-checkout #payment div.payment_box { background: #29344e; color: #f5f6ff; }
.woocommerce .quantity .qty { max-width: 90px; }
.woocommerce form .form-row .required { color: #ffb4b4; }
.woocommerce .select2-selection,.select2-results { color: #151929; }
@media(max-width:700px) {
  .marketplace-intro,.kx-marketplace-card { padding: 22px; }
  .kx-marketplace th,.kx-marketplace td { font-size: 13px; padding: 10px 5px; }
  .woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content { float: none!important; width: 100%!important; }
  .woocommerce table.shop_table_responsive tr td { background: #171e30!important; }
}
