/*
Theme Name: Market Makers Theme
Theme URI: https://example.com/
Author: Codex
Description: App style WordPress theme inspired by UnitsTokenDistribution.
Version: 1.0.0
Text Domain: market-makers-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Sora:wght@400;500;600;700&display=swap');

:root {
  --mm-bg: #F9FAFB;
  --mm-sidebar-bg: #FAFAFA;
  --mm-surface: #FFFFFF;
  --mm-text: #111827;
  --mm-muted: #6B7280;
  --mm-border: #E5E7EB;
  --mm-accent: #22C55E;
  --mm-accent-strong: #00C853;
  --mm-accent-soft: rgba(34, 197, 94, 0.12);
  --mm-radius: 16px;
  --mm-font: "Space Grotesk", "Sora", "Segoe UI", sans-serif;
  --mm-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--mm-font);
  color: var(--mm-text);
  background: var(--mm-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.mm-app {
  min-height: 100vh;
  background: var(--mm-bg);
}

.mm-main {
  margin-left: 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.mm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px 12px;
  gap: 16px;
}

.mm-page-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.025em;
  margin: 0;
}

.mm-header-logo {
  height: 32px;
  width: auto;
  display: inline-block;
}

.mm-top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mm-top-widgets {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mm-settings-menu {
  position: relative;
}

.mm-settings-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mm-settings-icon svg,
.mm-settings-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.mm-settings-toggle:hover {
  color: #4B5563;
  background: #F3F4F6;
}

.mm-settings-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(24rem, 88vw);
  display: none;
  z-index: 60;
}

.mm-settings-menu.mm-open .mm-settings-dropdown {
  display: block;
}

.mm-settings-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  padding: 16px;
}

.mm-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
}

.mm-settings-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mm-settings-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.05);
  object-fit: cover;
}

.mm-settings-username {
  font-size: 20px;
  font-weight: 600;
  color: var(--mm-text);
  text-transform: lowercase;
  letter-spacing: -0.02em;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mm-settings-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F05858;
}

.mm-settings-logout svg {
  width: 28px;
  height: 28px;
}

.mm-settings-list,
.mm-settings-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-settings-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
  list-style: none;
}

.mm-settings-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.mm-settings-link:hover {
  background: #F5F5F5;
}

.mm-settings-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.mm-settings-item-icon img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 6px;
}

.mm-settings-label {
  flex: 1;
  margin-left: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--mm-text);
}

.mm-settings-no-icon .mm-settings-label {
  margin-left: 0;
}

.mm-settings-chevron {
  color: #9CA3AF;
  display: flex;
  align-items: center;
}

.mm-settings-chevron svg {
  width: 18px;
  height: 18px;
}

.mm-settings-footer {
  padding-top: 8px;
}

.mm-settings-footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  color: #999999;
  font-weight: 500;
}

.mm-settings-footer-links a:hover {
  color: #6B7280;
}

.mm-settings-submenu {
  margin: 6px 0 6px 40px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.mm-settings-submenu .mm-settings-link {
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 14px;
  background: #fafafa;
}

.mm-settings-submenu .mm-settings-label {
  font-size: 14px;
  font-weight: 600;
}

.mm-settings-submenu .mm-settings-chevron {
  display: none;
}

.mm-modal {
  display: none;
}

.mm-modal.mm-modal-open {
  display: flex;
}

.mm-launch-agreement.is-signed {
  background: #22C55E;
  color: #fff;
  pointer-events: none;
}

.mm-range {
  width: 100%;
  accent-color: #22C55E;
}

.mm-content {
  padding: 0 32px 32px;
  flex: 1;
}

.mm-card {
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  border-radius: var(--mm-radius);
  padding: 24px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.mm-stack {
  display: grid;
  gap: 20px;
}

.mm-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80px;
  background: var(--mm-sidebar-bg);
  border-right: 1px solid var(--mm-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
  z-index: 40;
}

.mm-sidebar-logo {
  width: 40px;
  height: 40px;
  color: var(--mm-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.mm-sidebar-logo img,
.mm-sidebar-logo svg {
  width: 32px;
  height: 32px;
}

.mm-sidebar-nav {
  flex: 1;
  width: 100%;
}

.mm-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.mm-menu li {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mm-menu > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #9CA3AF;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 4px 0;
}

.mm-menu > li > a:hover {
  color: #4B5563;
}

.mm-menu li.current-menu-item > a,
.mm-menu li.current-menu-ancestor > a {
  color: var(--mm-accent);
}

.mm-menu li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 32px;
  background: var(--mm-accent);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s ease, height 0.2s ease;
}

.mm-menu li.current-menu-item::before,
.mm-menu li.current-menu-ancestor::before {
  opacity: 1;
}

.mm-menu-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mm-menu-icon svg,
.mm-menu-icon img {
  width: 24px;
  height: 24px;
}

.mm-menu-label {
  text-align: center;
  color: inherit;
  display: block;
}

.mm-icon {
  width: 24px;
  height: 24px;
}

.mm-menu > li > a .mm-menu-icon,
.mm-menu > li > a .mm-menu-label {
  transition: color 0.2s ease, transform 0.2s ease;
}

.mm-menu > li > a:hover .mm-menu-icon,
.mm-menu > li > a:hover .mm-menu-label {
  transform: translateY(-1px);
}

.mm-submenu-toggle {
  border: none;
  background: transparent;
  color: #9CA3AF;
  cursor: pointer;
  margin-top: 6px;
  font-size: 10px;
}

.mm-menu .sub-menu {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  align-items: center;
}

.mm-menu .sub-menu a {
  font-size: 10px;
  font-weight: 600;
  color: var(--mm-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mm-menu li.mm-submenu-open > .sub-menu {
  display: flex;
}

.mm-sidebar-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mm-sidebar-logout {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mm-sidebar-bottom-icon svg,
.mm-sidebar-bottom-icon img {
  width: 22px;
  height: 22px;
}

.mm-sidebar-logout:hover {
  color: #ef4444;
}

.mm-sidebar-toggle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--mm-border);
  background: #fff;
  color: #9CA3AF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mm-sidebar-toggle svg {
  width: 18px;
  height: 18px;
}

.mm-mobile-nav {
  display: none;
}

body.mm-sidebar-collapsed .mm-sidebar {
  width: 64px;
}

body.mm-sidebar-collapsed .mm-main {
  margin-left: 64px;
}

body.mm-sidebar-collapsed .mm-menu-label,
body.mm-sidebar-collapsed .mm-submenu-toggle,
body.mm-sidebar-collapsed .mm-menu .sub-menu {
  display: none;
}

body.mm-sidebar-collapsed .mm-menu > li:hover > .sub-menu {
  display: flex;
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--mm-shadow);
  z-index: 50;
}

body.mm-sidebar-toggle-hidden .mm-sidebar-toggle {
  display: none;
}

@media (max-width: 900px) {
  .mm-sidebar {
    display: none;
  }

  .mm-main {
    margin-left: 0;
    padding-bottom: 80px;
  }

  .mm-content {
    padding: 0 20px 24px;
  }

  .mm-topbar {
    padding: 20px 20px 10px;
    flex-wrap: wrap;
  }

  .mm-mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--mm-surface);
    border-top: 1px solid var(--mm-border);
    align-items: center;
    justify-content: space-around;
    z-index: 60;
  }

  .mm-mobile-nav .mm-menu {
    flex-direction: row;
    gap: 0;
    width: 100%;
    justify-content: space-around;
  }

  .mm-mobile-nav .mm-menu > li > a {
    font-size: 9px;
    letter-spacing: 0.06em;
  }
}

.mm-button,
button,
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: none;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  background: var(--mm-accent-strong);
  color: #fff;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mm-button:hover,
button:hover,
.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.btn:hover {
  background: #00b34a;
  box-shadow: 0 10px 20px rgba(0, 200, 83, 0.2);
}

.mm-button-outline,
.btn-outline-primary {
  background: transparent;
  color: var(--mm-accent);
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.mm-button-outline:hover,
.btn-outline-primary:hover {
  background: var(--mm-accent);
  color: #fff;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
select,
textarea,
.form-control,
.form-select {
  width: 100%;
  border: 1px solid var(--mm-border);
  border-radius: 16px;
  padding: 12px 16px;
  background: #fff;
  font-size: 15px;
  color: var(--mm-text);
  outline: none;
  transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus,
.form-select:focus {
  border-color: var(--mm-accent);
  box-shadow: 0 0 0 4px var(--mm-accent-soft);
}

.card,
.woocommerce .woocommerce-order,
.woocommerce .woocommerce-customer-details,
.woocommerce .woocommerce-MyAccount-content {
  border-radius: var(--mm-radius);
  border: 1px solid var(--mm-border);
  background: var(--mm-surface);
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  border-radius: 14px;
  border: 1px solid var(--mm-border);
  background: #fff;
  color: var(--mm-text);
  padding: 14px 16px 14px 48px;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before {
  color: var(--mm-accent);
  left: 18px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  padding: 10px 24px;
}

.woocommerce #place_order,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--mm-accent-strong);
  color: #fff;
  border-radius: 999px;
  padding: 12px 28px;
  border: none;
}

.woocommerce #place_order:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: #00b34a;
  color: #fff;
}

.woocommerce .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--mm-accent);
  font-weight: 700;
}

.woocommerce ul.products li.product,
.woocommerce div.product .woocommerce-tabs {
  border-radius: var(--mm-radius);
}

.woocommerce div.product .woocommerce-tabs .panel > h2 {
  margin-bottom: 20px;
}

.woocommerce div.product .product_title {
  font-size: 2.3125rem;
  text-align: left;
}

.woocommerce div.product h2 {
  font-size: 2.3125rem;
}

.woocommerce section.related.products > h2 {
  margin-bottom: 20px;
}

/* .woocommerce .single-seller {
  justify-content: center;
  text-align: center;
  width: fit-content;
  max-width: 320px;
  margin: 0 auto;
}

.woocommerce .single-seller .seller-info {
  text-align: center;
  margin-left: 12px;
}

.woocommerce .single-seller .seller-info a,
.woocommerce .single-seller .seller-info span {
  display: block;
} */

.woocommerce ul.products li.product a img {
  border-radius: 14px;
}

.woocommerce table.shop_table {
  border-radius: var(--mm-radius);
  overflow: hidden;
  border-collapse: collapse;
  border: 1px solid var(--mm-border);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 16px;
  border-top: 1px solid var(--mm-border);
}

.woocommerce .woocommerce-cart-form__cart-item td.product-remove a {
  color: var(--mm-muted);
}

.woocommerce .cart_totals,
.woocommerce .woocommerce-checkout-review-order {
  background: var(--mm-surface);
  border-radius: var(--mm-radius);
  border: 1px solid var(--mm-border);
  padding: 20px;
}

.woocommerce .woocommerce-MyAccount-navigation {
  border-radius: var(--mm-radius);
  border: 1px solid var(--mm-border);
  background: var(--mm-surface);
  padding: 16px;
}

.woocommerce .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.woocommerce .woocommerce-MyAccount-navigation a {
  padding: 10px 12px;
  border-radius: 10px;
  display: block;
  color: var(--mm-muted);
  font-weight: 600;
}

.woocommerce .woocommerce-MyAccount-navigation a:hover,
.woocommerce .woocommerce-MyAccount-navigation .is-active a {
  background: #F3F4F6;
  color: var(--mm-text);
}

.woocommerce form.checkout .form-row {
  margin-bottom: 16px;
}

.woocommerce .quantity .qty {
  max-width: 90px;
  text-align: center;
}

.woocommerce .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid var(--mm-border);
  padding-bottom: 8px;
}

.woocommerce .woocommerce-tabs ul.tabs li {
  border: none;
  background: transparent;
}

.woocommerce .woocommerce-tabs ul.tabs li a {
  color: var(--mm-muted);
  font-weight: 600;
  padding: 10px 12px;
}

.woocommerce .woocommerce-tabs ul.tabs li.active a {
  color: var(--mm-text);
  border-bottom: 2px solid var(--mm-accent);
}

.mm-login-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.mm-login-visual {
  position: relative;
  height: 40vh;
  min-height: 320px;
  background: #F3F4F6;
  overflow: hidden;
  border-bottom: 1px solid var(--mm-border);
}

.mm-login-marquee {
  position: absolute;
  inset: -80%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  transform: rotate(-20deg);
  transform-origin: center;
}

.mm-login-row {
  display: flex;
  gap: 16px;
  min-width: 200%;
  align-items: center;
  animation: mm-login-scroll var(--mm-duration, 90s) linear infinite;
}

.mm-login-row.mm-direction-right {
  animation-direction: reverse;
}

.mm-login-token {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mm-login-token.is-custom {
  padding: 0;
}

.mm-login-token.is-coin {
  padding: 14px;
}

.mm-login-token img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mm-login-token.is-custom img {
  object-fit: cover;
}

.mm-login-token-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  color: #16a34a;
  background: #ecfdf3;
}

.mm-login-link {
  display: block;
}

.mm-login-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35));
}

@keyframes mm-login-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.mm-login-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 24px;
  background: #fff;
}

.mm-login-content {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.mm-login-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 12px;
}

.mm-login-subtitle {
  color: var(--mm-muted);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 28px;
}

#loginform {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#loginform label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--mm-text);
  margin: 0 0 6px 4px;
}

.mm-login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

#loginform input[type="text"],
#loginform input[type="password"] {
  border-radius: 20px;
  padding: 14px 18px;
  border: 1px solid var(--mm-border);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
}

#loginform .login-submit input {
  width: 100%;
  margin-bottom: 20px;
}

.mm-login-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  color: var(--mm-muted);
}

.mm-login-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--mm-text);
}

.mm-login-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--mm-accent-strong);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mm-login-links {
  display: flex;
  gap: 16px;
}

.mm-login-links-menu {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-login-links-menu li {
  margin: 0;
}

.mm-login-links-menu a {
  color: var(--mm-muted);
}

.mm-login-links-menu a:hover {
  color: var(--mm-text);
}

.mm-login-links a {
  color: var(--mm-muted);
}

.mm-login-links a:hover {
  color: var(--mm-text);
}

@media (min-width: 992px) {
  .mm-login-layout {
    flex-direction: row;
  }

  .mm-login-visual {
    width: 50%;
    height: auto;
    border-bottom: none;
    border-right: 1px solid var(--mm-border);
  }

  .mm-login-panel {
    width: 50%;
    justify-content: center;
    padding: 48px 40px;
  }
}

@media (min-width: 768px) {
  .mm-login-token {
    width: 140px;
    height: 140px;
  }

  .mm-login-row {
    gap: 32px;
  }
}
.mm-content a[class*="bg-[#22C55E]"]:hover,
.mm-content button[class*="bg-[#22C55E]"]:hover {
  background-color: #2fd86a;
  color: #fff;
}

.mm-content a[class*="bg-[#00C853]"],
.mm-content button[class*="bg-[#00C853]"] {
  background-color: #00C853;
  color: #fff;
}

.mm-content a[class*="bg-[#00C853]"]:hover,
.mm-content button[class*="bg-[#00C853]"]:hover {
  background-color: #00b34a;
  color: #fff;
}

.mm-wallet-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 24px;
}

.mm-wallet-tab {
  position: relative;
  padding: 0 0 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #9CA3AF;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: none;
}

.mm-wallet-tab:hover {
  color: #4B5563;
  background: transparent;
}

.mm-wallet-tab.is-active {
  color: #111827;
}

.mm-wallet-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #00C853;
  border-radius: 999px;
}

.mm-launch-modal-card {
  max-width: 520px;
}

.mm-tabs button {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 16px;
  color: #9CA3AF;
  font-weight: 700;
  font-size: 14px;
  box-shadow: none;
}

.mm-tabs button:hover {
  color: #4B5563;
  background: transparent;
}

.mm-tabs button:focus {
  outline: none;
  box-shadow: none;
}

.mm-tab-underline {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #00C853;
  border-radius: 999px;
}

.mm-settings-list li {
  margin: 0;
}

/* WooCommerce theme alignment */
.woocommerce .woocommerce-breadcrumb {
  color: var(--mm-muted);
  font-weight: 600;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--mm-text);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  color: var(--mm-muted);
  font-weight: 600;
}

.woocommerce ul.products li.product {
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
}

.woocommerce ul.products li.product .button {
  background: var(--mm-accent-strong);
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
}

.woocommerce ul.products li.product .button:hover {
  background: #00b34a;
}

.woocommerce div.product .woocommerce-product-gallery {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--mm-border);
}

.woocommerce div.product form.cart .button {
  background: var(--mm-accent-strong);
  color: #fff;
  border-radius: 999px;
  padding: 12px 28px;
}

.woocommerce div.product form.cart .button:hover {
  background: #00b34a;
}

.woocommerce .quantity .qty {
  border-radius: 14px;
  border: 1px solid var(--mm-border);
  padding: 10px 14px;
}

.woocommerce .woocommerce-tabs ul.tabs li a {
  border: none;
  background: transparent;
  color: var(--mm-muted);
  font-weight: 600;
  padding: 12px 14px;
}

.woocommerce .woocommerce-tabs ul.tabs li.active a {
  color: var(--mm-text);
  border-bottom: 2px solid var(--mm-accent);
}

.woocommerce .woocommerce-checkout #payment,
.woocommerce .woocommerce-cart .cart_totals,
.woocommerce .woocommerce-checkout-review-order {
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  border-radius: var(--mm-radius);
  padding: 20px;
}

.woocommerce .select2-container .select2-selection--single {
  border: 1px solid var(--mm-border);
  border-radius: 16px;
  height: 46px;
  padding: 6px 12px;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
  color: var(--mm-text);
  line-height: 32px;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
  height: 44px;
}

/* Woochain (bootstrap wrapper) alignment */
.bootstrap {
  font-family: var(--mm-font);
  color: var(--mm-text);
}

.bootstrap .btn {
  border-radius: 999px;
  border: none;
  font-weight: 700;
  padding: 0.55rem 1.5rem;
  transition: all 0.2s ease;
}

.bootstrap .btn-primary {
  background: var(--mm-accent-strong);
  color: #fff;
}

.bootstrap .btn-primary:hover {
  background: #00b34a;
  color: #fff;
}

.bootstrap .btn-outline-primary {
  border: 1px solid var(--mm-accent);
  color: var(--mm-accent);
  background: transparent;
}

.bootstrap .btn-outline-primary:hover {
  background: var(--mm-accent);
  color: #fff;
}

.bootstrap .btn-secondary {
  background: #111827;
  color: #fff;
}

.bootstrap .btn-secondary:hover {
  background: #1f2937;
  color: #fff;
}

.bootstrap .form-control,
.bootstrap .custom-select,
.bootstrap .input-group-text {
  border-radius: 16px;
  border: 1px solid var(--mm-border);
  background: #fff;
  color: var(--mm-text);
}

.bootstrap .form-control:focus,
.bootstrap .custom-select:focus {
  border-color: var(--mm-accent);
  box-shadow: 0 0 0 4px var(--mm-accent-soft);
}

.bootstrap .form-group label,
.bootstrap label {
  font-weight: 600;
  color: var(--mm-text);
}

.bootstrap .card {
  border-radius: 24px;
  border: 1px solid var(--mm-border);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.bootstrap .table {
  border-collapse: separate;
  border-spacing: 0;
}

.bootstrap .table th,
.bootstrap .table td {
  border-top: 1px solid var(--mm-border);
  padding: 12px 16px;
}

.bootstrap .badge {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
}

.bootstrap .alert {
  border-radius: 16px;
  border: 1px solid var(--mm-border);
  background: #fff;
}

.bootstrap .modal-content {
  border-radius: 24px;
  border: 1px solid var(--mm-border);
  box-shadow: var(--mm-shadow);
}

.bootstrap .nav-tabs {
  border-bottom: 1px solid var(--mm-border);
}

.bootstrap .nav-tabs .nav-link {
  border: none;
  color: var(--mm-muted);
  font-weight: 600;
  padding: 0.75rem 1rem;
}

.bootstrap .nav-tabs .nav-link.active {
  color: var(--mm-text);
  background: transparent;
  border-bottom: 2px solid var(--mm-accent);
}

.bootstrap .pagination .page-link {
  border: 1px solid var(--mm-border);
  border-radius: 10px;
  color: var(--mm-text);
}

.bootstrap .page-item.active .page-link {
  background: var(--mm-accent);
  border-color: var(--mm-accent);
  color: #fff;
}

.bootstrap .btn-success {
  background: var(--mm-accent);
  color: #fff;
}

.bootstrap .btn-success:hover {
  background: #1fb556;
  color: #fff;
}

.bootstrap .btn-info {
  background: #111827;
  color: #fff;
}

.bootstrap .btn-info:hover {
  background: #1f2937;
  color: #fff;
}

.bootstrap .btn-warning {
  background: #f59e0b;
  color: #111827;
}

.bootstrap .btn-danger {
  background: #ef4444;
  color: #fff;
}

.bootstrap .dropdown-menu {
  border-radius: 16px;
  border: 1px solid var(--mm-border);
  box-shadow: var(--mm-shadow);
  padding: 8px;
}

.bootstrap .dropdown-item {
  border-radius: 12px;
  padding: 8px 12px;
}

.bootstrap .dropdown-item:hover,
.bootstrap .dropdown-item:focus {
  background: #F3F4F6;
}

.bootstrap .card-header,
.bootstrap .card-footer {
  background: #F9FAFB;
  border-color: var(--mm-border);
}

.bootstrap .text-muted {
  color: var(--mm-muted) !important;
}

