:root {
  --mlwc-primary: #6d5efc;
  --mlwc-primary-2: #23c4ff;
  --mlwc-secondary: #13c8a7;
  --mlwc-accent: #ffb84d;
  --mlwc-bg: #0b1020;
  --mlwc-surface: rgba(255, 255, 255, 0.10);
  --mlwc-surface-2: rgba(255, 255, 255, 0.14);
  --mlwc-border: rgba(255, 255, 255, 0.16);
  --mlwc-text: rgba(255, 255, 255, 0.95);
  --mlwc-text-soft: rgba(255, 255, 255, 0.72);
  --mlwc-shadow: 0 24px 72px rgba(3, 7, 18, 0.36);
  --mlwc-radius: 28px;
  --mlwc-radius-sm: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  direction: rtl;
  text-align: right;
  background: radial-gradient(circle at top right, rgba(109,94,252,0.35), transparent 35%),
              radial-gradient(circle at top left, rgba(35,196,255,0.20), transparent 30%),
              linear-gradient(180deg, #080d18 0%, #0c1425 50%, #09101d 100%);
  color: var(--mlwc-text);
}

body, button, input, select, textarea {
  font-family: Vazirmatn, IRANYekanX, IRANSans, Yekan Bakh, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.mlwc-container {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.mlwc-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(9,14,27,0.82), rgba(9,14,27,0.54));
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mlwc-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.mlwc-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.mlwc-brand__logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--mlwc-primary), var(--mlwc-primary-2));
  box-shadow: var(--mlwc-shadow);
  overflow: hidden;
}

.mlwc-brand__title {
  display: grid;
  line-height: 1.2;
}

.mlwc-brand__title strong {
  font-size: 17px;
  font-weight: 900;
}

.mlwc-brand__title span {
  color: var(--mlwc-text-soft);
  font-size: 13px;
}

.mlwc-nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--mlwc-border);
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  color: var(--mlwc-text);
}

.mlwc-primary-nav ul {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mlwc-primary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--mlwc-text-soft);
  transition: .22s ease;
}

.mlwc-primary-nav a:hover,
.mlwc-primary-nav .current-menu-item > a {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.mlwc-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mlwc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: var(--mlwc-shadow);
}

.mlwc-btn:hover {
  transform: translateY(-1px);
}

.mlwc-btn--primary {
  background: linear-gradient(135deg, var(--mlwc-primary), var(--mlwc-primary-2));
  color: #fff;
}

.mlwc-btn--ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid var(--mlwc-border);
  box-shadow: none;
}

.mlwc-main {
  padding: 34px 0 72px;
}

.mlwc-hero {
  position: relative;
  overflow: hidden;
  padding: 36px;
  margin-top: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(109,94,252,0.42), transparent 35%),
    radial-gradient(circle at 20% 20%, rgba(19,200,167,0.18), transparent 25%),
    linear-gradient(135deg, rgba(8,13,24,0.90), rgba(10,18,33,0.78));
  box-shadow: var(--mlwc-shadow);
}

.mlwc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.06), transparent 45%);
  pointer-events: none;
}

.mlwc-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
}

.mlwc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 13px;
  margin-bottom: 18px;
}

.mlwc-hero h1 {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.16;
  margin: 0 0 16px;
  font-weight: 1000;
  letter-spacing: -.02em;
}

.mlwc-hero p {
  color: var(--mlwc-text-soft);
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 22px;
}

.mlwc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mlwc-hero__panel {
  position: relative;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
}

.mlwc-hero__stats {
  display: grid;
  gap: 14px;
}

.mlwc-stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
}

.mlwc-stat-card strong {
  display: block;
  font-size: 18px;
}

.mlwc-stat-card span {
  display: block;
  margin-top: 4px;
  color: var(--mlwc-text-soft);
  font-size: 13px;
}

.mlwc-section {
  margin-top: 28px;
}

.mlwc-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.mlwc-section__head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 950;
}

.mlwc-section__head p {
  margin: 0;
  color: var(--mlwc-text-soft);
}

.mlwc-card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.mlwc-card {
  grid-column: span 4;
  padding: 24px;
  border-radius: var(--mlwc-radius);
  background: var(--mlwc-surface);
  border: 1px solid var(--mlwc-border);
  box-shadow: var(--mlwc-shadow);
  backdrop-filter: blur(18px);
}

.mlwc-card--wide {
  grid-column: span 6;
}

.mlwc-card--full {
  grid-column: 1 / -1;
}

.mlwc-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 900;
}

.mlwc-card p {
  color: var(--mlwc-text-soft);
  line-height: 1.95;
  margin-top: 0;
}

.mlwc-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-inline-start: 8px;
  margin-bottom: 8px;
}

.mlwc-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mlwc-step {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

.mlwc-step__no {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--mlwc-primary), var(--mlwc-secondary));
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}

.mlwc-step h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
}

.mlwc-step p {
  margin: 0;
  color: var(--mlwc-text-soft);
  line-height: 1.9;
}

.mlwc-lottery-archive,
.mlwc-lottery-periods,
.mlwc-lottery-rules {
  display: grid;
  gap: 14px;
}

.mlwc-lottery-period,
.mlwc-lottery-winner {
  padding: 18px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

.mlwc-lottery-period__top,
.mlwc-lottery-winner__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.mlwc-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.mlwc-status--pending { background: rgba(255,184,77,0.16); color: #ffd18b; }
.mlwc-status--running { background: rgba(35,196,255,0.16); color: #9ce9ff; }
.mlwc-status--done { background: rgba(19,200,167,0.16); color: #9ff4e3; }
.mlwc-status--empty { background: rgba(255,255,255,0.10); color: #fff; }

.mlwc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--mlwc-text-soft);
  font-size: 13px;
}

.mlwc-countdown {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}

.mlwc-products-shortcode .woocommerce ul.products {
  margin: 0;
}

.mlwc-home-editor-content {
  margin-top: 28px;
}

.mlwc-content-wrapper {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.mlwc-page-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 1000;
}

.mlwc-entry-content {
  color: var(--mlwc-text-soft);
  line-height: 2;
}

.mlwc-entry-content h2,
.mlwc-entry-content h3,
.mlwc-entry-content h4 {
  color: var(--mlwc-text);
}

.site-footer {
  margin-top: 40px;
  padding: 30px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
}

.mlwc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 22px;
}

.mlwc-footer-grid h4 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
}

.mlwc-footer-grid p,
.mlwc-footer-grid li {
  color: var(--mlwc-text-soft);
  line-height: 1.9;
}

.mlwc-footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mlwc-footer-grid a:hover {
  color: #fff;
}

.mlwc-post-list,
.mlwc-search-results {
  display: grid;
  gap: 18px;
}

.mlwc-post-card {
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

.mlwc-post-card h2 {
  margin-top: 0;
}

.mlwc-pagination {
  margin-top: 18px;
}

.woocommerce .quantity .qty,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce input[type="number"],
.woocommerce textarea,
.woocommerce select {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 12px 14px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper > div {
  border-radius: 20px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 999px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--mlwc-primary), var(--mlwc-primary-2));
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  color: #fff;
}

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

.woocommerce nav.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
}

.woocommerce-account .woocommerce-MyAccount-content {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
}

@media (max-width: 1180px) {
  .mlwc-hero__grid,
  .mlwc-footer-grid {
    grid-template-columns: 1fr;
  }
  .mlwc-card,
  .mlwc-card--wide {
    grid-column: span 12;
  }
  .mlwc-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .mlwc-nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mlwc-primary-nav {
    position: absolute;
    inset-inline: 16px;
    top: 92px;
    display: none;
    padding: 14px;
    border-radius: 24px;
    background: rgba(9,14,27,0.98);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--mlwc-shadow);
  }

  .mlwc-primary-nav.is-open {
    display: block;
  }

  .mlwc-primary-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .mlwc-primary-nav a {
    justify-content: flex-start;
  }

  .mlwc-hero {
    padding: 24px;
    border-radius: 28px;
  }

  .mlwc-section__head {
    flex-direction: column;
    align-items: start;
  }

  .mlwc-card-grid {
    grid-template-columns: 1fr;
  }

  .mlwc-step {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .mlwc-site-header__inner {
    min-height: 72px;
  }
  .mlwc-brand__title span {
    display: none;
  }
  .mlwc-header-actions {
    display: none;
  }
  .mlwc-steps {
    grid-template-columns: 1fr;
  }
  .mlwc-hero h1 {
    font-size: 32px;
  }
  .mlwc-card,
  .mlwc-hero__panel,
  .mlwc-content-wrapper {
    padding: 18px;
  }
}


.woocommerce-account .woocommerce{
  display:grid !important;
  grid-template-columns: minmax(0, 1fr) 280px !important;
  gap:32px !important;
  align-items:start !important;
}
.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation{
  grid-column:2;
  grid-row:1;
  width:auto !important;
  float:none !important;
  clear:none !important;
  margin:0 !important;
}
.woocommerce-account .woocommerce > .woocommerce-MyAccount-content{
  grid-column:1;
  grid-row:1;
  min-width:0;
  width:auto !important;
  float:none !important;
  clear:none !important;
  margin-top:0 !important;
  align-self:start;
}
@media (max-width: 960px){
  .woocommerce-account .woocommerce{
    display:block !important;
  }
  .woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce > .woocommerce-MyAccount-content{
    width:auto !important;
    float:none !important;
    clear:none !important;
  }
}



/* Checkout readability fix */
.wc-block-components-text-input input,
.wc-block-components-text-input label,
.wc-block-components-text-input input::placeholder,
.wc-block-components-address-form input,
.wc-block-components-address-form label{
    color:#6b4e16 !important;
}
.wc-block-components-text-input input,
.wc-block-components-address-form input{
    background:#fff !important;
}


/* Checkout readability and block-based forms */
.wc-block-components-text-input input,
.wc-block-components-text-input label,
.wc-block-components-text-input input::placeholder,
.wc-block-components-address-form input,
.wc-block-components-address-form label,
.wc-blocks-components-select__label,
.wc-blocks-components-select__select,
.wc-block-components-address-form__address_2-toggle,
.wc-block-checkout__terms .wc-block-components-checkbox__label,
.wc-block-checkout__add-note .wc-block-components-checkbox__label,
.wc-block-components-radio-control__label,
.wc-block-components-product-name,
.wc-block-components-checkout-step__title,
.wc-block-components-checkout-step__heading,
.wc-block-components-address-card,
.wc-block-components-address-card__address-section {
    color: #6b4e16 !important;
}

.wc-block-components-text-input input,
.wc-block-components-address-form input,
.wc-blocks-components-select__select {
    background: #fff !important;
    -webkit-text-fill-color: #6b4e16 !important;
    caret-color: #6b4e16 !important;
}

.wc-block-components-text-input input::placeholder {
    opacity: .72 !important;
}



/* Light mode fallback */
body.mlwc-light-mode {
  background: linear-gradient(180deg, #f7f8fc 0%, #eef2ff 100%);
  color: #111827;
}
body.mlwc-light-mode .mlwc-site-header,
body.mlwc-light-mode .site-footer {
  background: rgba(255,255,255,0.82);
  color: #111827;
  border-color: rgba(15,23,42,0.08);
}
body.mlwc-light-mode .mlwc-brand__title span,
body.mlwc-light-mode .mlwc-text-soft,
body.mlwc-light-mode .mlwc-entry-content,
body.mlwc-light-mode .mlwc-footer-grid p,
body.mlwc-light-mode .mlwc-footer-grid li,
body.mlwc-light-mode .mlwc-hero p {
  color: rgba(17,24,39,0.72);
}
body.mlwc-light-mode .mlwc-hero,
body.mlwc-light-mode .mlwc-content-wrapper,
body.mlwc-light-mode .mlwc-card,
body.mlwc-light-mode .mlwc-post-card,
body.mlwc-light-mode .mlwc-lottery-period,
body.mlwc-light-mode .mlwc-lottery-winner,
body.mlwc-light-mode .woocommerce-account .woocommerce-MyAccount-content {
  background: rgba(255,255,255,0.82);
  color: #111827;
  border-color: rgba(15,23,42,0.08);
}
body.mlwc-light-mode .woocommerce input[type="text"],
body.mlwc-light-mode .woocommerce input[type="email"],
body.mlwc-light-mode .woocommerce input[type="tel"],
body.mlwc-light-mode .woocommerce input[type="password"],
body.mlwc-light-mode .woocommerce input[type="number"],
body.mlwc-light-mode .woocommerce textarea,
body.mlwc-light-mode .woocommerce select,
body.mlwc-light-mode .wc-block-components-text-input input,
body.mlwc-light-mode .wc-block-components-address-form input,
body.mlwc-light-mode .wc-blocks-components-select__select {
  background: #fff !important;
  color: #5b3f14 !important;
  -webkit-text-fill-color: #5b3f14 !important;
}

/* Better visibility for block checkout fields when hidden by the settings panel */
.wc-block-checkout__billing-fields .wc-block-components-address-form__first_name,
.wc-block-checkout__billing-fields .wc-block-components-address-form__last_name,
.wc-block-checkout__billing-fields .wc-block-components-address-form__company,
.wc-block-checkout__billing-fields .wc-block-components-address-form__address_1,
.wc-block-checkout__billing-fields .wc-block-components-address-form__address_2-toggle,
.wc-block-checkout__billing-fields .wc-block-components-address-form__address_2-hidden-input,
.wc-block-checkout__billing-fields .wc-block-components-address-form__city,
.wc-block-checkout__billing-fields .wc-block-components-address-form__state,
.wc-block-checkout__billing-fields .wc-block-components-address-form__postcode,
.wc-block-checkout__billing-fields .wc-block-components-address-form__phone,
.wc-block-checkout__shipping-fields .wc-block-components-address-form__first_name,
.wc-block-checkout__shipping-fields .wc-block-components-address-form__last_name,
.wc-block-checkout__shipping-fields .wc-block-components-address-form__company,
.wc-block-checkout__shipping-fields .wc-block-components-address-form__address_1,
.wc-block-checkout__shipping-fields .wc-block-components-address-form__address_2-toggle,
.wc-block-checkout__shipping-fields .wc-block-components-address-form__address_2-hidden-input,
.wc-block-checkout__shipping-fields .wc-block-components-address-form__city,
.wc-block-checkout__shipping-fields .wc-block-components-address-form__state,
.wc-block-checkout__shipping-fields .wc-block-components-address-form__postcode,
.wc-block-checkout__shipping-fields .wc-block-components-address-form__phone {
  transition: opacity .15s ease;
}


/* My Account layout fix - sidebar right, content left */
.woocommerce-account .woocommerce{
  display:flex !important;
  flex-direction:row !important;
  direction:ltr !important;
  gap:32px !important;
  align-items:flex-start !important;
}
.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation{
  order:2 !important;
  flex:0 0 280px !important;
  width:280px !important;
  max-width:280px !important;
  float:none !important;
  clear:none !important;
  margin:0 !important;
  direction:rtl !important;
}
.woocommerce-account .woocommerce > .woocommerce-MyAccount-content{
  order:1 !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  width:auto !important;
  float:none !important;
  clear:none !important;
  margin-top:0 !important;
  direction:rtl !important;
}
.woocommerce-account .woocommerce nav.woocommerce-MyAccount-navigation ul{
  margin-bottom:0;
}
@media (max-width: 960px){
  .woocommerce-account .woocommerce{
    display:block !important;
    direction:rtl !important;
  }
  .woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce > .woocommerce-MyAccount-content{
    width:auto !important;
    max-width:none !important;
    flex:initial !important;
    order:initial !important;
  }
}


/* Checkout field readability & optional hiding */
body.woocommerce-checkout .woocommerce-billing-fields input[type="email"],
body.woocommerce-checkout .woocommerce-billing-fields input[type="tel"]{
  color:#5b3f14 !important;
  -webkit-text-fill-color:#5b3f14 !important;
  background:#fff !important;
}
body.woocommerce-checkout .woocommerce-billing-fields label{
  color:#5b3f14 !important;
}


/* Checkout phone field visibility / required state */
body.woocommerce-checkout .woocommerce-billing-fields #billing_phone_field,
body.woocommerce-checkout .woocommerce-billing-fields .form-row.validate-phone{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  clear:both !important;
}
body.woocommerce-checkout .woocommerce-billing-fields #billing_phone_field .woocommerce-input-wrapper{
  display:block !important;
  width:100% !important;
}
body.woocommerce-checkout .woocommerce-billing-fields #billing_phone{
  display:block !important;
  width:100% !important;
  min-height:52px !important;
  padding:14px 16px !important;
  border-radius:16px !important;
  border:1px solid rgba(91,63,20,.24) !important;
  background:#fff !important;
  color:#5b3f14 !important;
  -webkit-text-fill-color:#5b3f14 !important;
  box-shadow:none !important;
  opacity:1 !important;
  visibility:visible !important;
}
body.woocommerce-checkout .woocommerce-billing-fields #billing_phone::placeholder{
  color:rgba(91,63,20,.55) !important;
}
body.woocommerce-checkout .woocommerce-billing-fields #billing_phone_field label{
  color:#5b3f14 !important;
}
body.woocommerce-checkout .woocommerce-billing-fields #billing_phone_field .required,
body.woocommerce-checkout .woocommerce-billing-fields #billing_phone_field .required_field{
  color:#c2410c !important;
  font-weight:900 !important;
}

/* Prevent email label from showing when hidden by settings */
body.woocommerce-checkout .woocommerce-billing-fields #billing_email_field{
  display:block;
}


.mlwc-home-referral .mlwc-home-referral__shell {
  padding: 0;
}

.mlwc-home-referral .mlwc-referral-counter {
  margin: 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(109,94,252,0.22), transparent 35%),
    radial-gradient(circle at top left, rgba(35,196,255,0.18), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.11), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
}

.mlwc-home-referral .mlwc-referral-counter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.12), transparent 45%);
  pointer-events: none;
}

.mlwc-home-referral .mlwc-referral-counter > * {
  position: relative;
  z-index: 1;
}

.mlwc-home-referral .mlwc-referral-counter h3 {
  margin-top: 8px;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.3;
}

.mlwc-home-referral .mlwc-referral-counter__subtitle {
  max-width: 820px;
}

.mlwc-home-referral .mlwc-referral-counter__status {
  font-size: 15px;
  line-height: 2;
  padding: 14px 16px;
  border-radius: 20px;
}

.mlwc-home-referral .mlwc-referral-counter__codebox,
.mlwc-home-referral .mlwc-referral-counter__countdown {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.12);
}

.mlwc-home-referral .mlwc-referral-counter__meta {
  gap: 12px;
}

.mlwc-home-referral .mlwc-referral-counter__policy {
  font-size: 18px;
  line-height: 1.7;
}

.mlwc-home-referral .mlwc-referral-counter .button.mlwc-copy-username {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.12);
  color: #fff;
  box-shadow: none;
}

.mlwc-home-referral .mlwc-referral-counter .button.mlwc-copy-username:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.18);
}

.mlwc-home-referral .mlwc-referral-counter__notice--success {
  background: rgba(19,200,167,0.12);
  border-color: rgba(19,200,167,0.22);
  color: #d7fff7;
}

.mlwc-home-referral .mlwc-referral-counter__notice--warning {
  background: rgba(255,184,77,0.12);
  border-color: rgba(255,184,77,0.22);
  color: #ffe2b0;
}

.mlwc-home-referral .mlwc-referral-counter__notice--danger {
  background: rgba(255,94,94,0.12);
  border-color: rgba(255,94,94,0.22);
  color: #ffd1d1;
}

.mlwc-home-referral .mlwc-referral-counter__notice--info {
  background: rgba(35,196,255,0.12);
  border-color: rgba(35,196,255,0.22);
  color: #d4f6ff;
}

.mlwc-home-referral .mlwc-countdown {
  animation: mlwc-pulse 1.8s ease-in-out infinite;
}

@keyframes mlwc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(35,196,255,0.0); }
  50% { box-shadow: 0 0 0 8px rgba(35,196,255,0.06); }
}

@media (max-width: 640px) {
  .mlwc-home-referral .mlwc-referral-counter__meta {
    grid-template-columns: 1fr;
  }

  .mlwc-home-referral .mlwc-referral-banner__row {
    align-items: stretch;
  }

  .mlwc-home-referral .mlwc-referral-counter .button.mlwc-copy-username {
    width: 100%;
  }
}
