:root {
  --bc-gold: #ffbb3a;
  --bc-gold-dark: #e5a52f;
  --bc-gold-soft: rgba(255, 187, 58, 0.14);
  --bc-white: #ffffff;
  --bc-green: #2e7d32;
  --bc-green-dark: #1f5a24;
  --bc-text: #161616;
  --bc-muted: #6f6f6f;
  --bc-border: rgba(0, 0, 0, 0.08);
  --bc-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  --bc-shadow-hover: 0 16px 30px rgba(0, 0, 0, 0.08);
  --bc-radius-xl: 24px;
  --bc-radius-lg: 20px;
  --bc-radius-md: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.bc-account-page {
  padding: 36px 20px 60px;
  background: transparent;
}

.bc-account-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.bc-section {
  margin-top: 26px;
}

.bc-section-head {
  margin-bottom: 22px;
}

.bc-section-head h2 {
  margin: 0 0 6px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bc-text);
}

.bc-section-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--bc-muted);
}

.bc-card {
  background: var(--bc-white);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-xl);
  box-shadow: var(--bc-shadow);
  position: relative;
  overflow: hidden;
}

.bc-card::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 187, 58, 0.13), transparent 68%);
  pointer-events: none;
}

.bc-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--bc-muted);
}

.bc-btn {
  border: 0;
  border-radius: 14px;
  min-height: 52px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  cursor: pointer;
}

.bc-btn:hover {
  transform: translateY(-1px);
}

.bc-btn-sm {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 12px;
}

.bc-btn-gold {
  background: linear-gradient(135deg, #ffbb3a, #f3aa11);
  color: #2a1a00;
  box-shadow: 0 12px 26px rgba(255, 187, 58, 0.22);
}

.bc-btn-light {
  background: #fff;
  color: var(--bc-text);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 8px 20px rgba(17, 20, 14, 0.04);
}

.bc-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.bc-badge-green {
  background: rgba(46, 125, 50, 0.10);
  color: var(--bc-green-dark);
  border: 1px solid rgba(46, 125, 50, 0.16);
}

/* =========================
   ACCOUNT HERO
========================= */

.bc-card.bc-account-hero {
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
  background: var(--bc-white);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-xl);
  box-shadow: var(--bc-shadow);
  padding: 26px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  position: relative;
  overflow: hidden;
}

.bc-card.bc-account-hero::before {
  display: none;
}

.bc-card.bc-account-hero::after {
  content: "";
  position: absolute;
  left: -70px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.08) 0%, rgba(46, 125, 50, 0) 70%);
  pointer-events: none;
}

.bc-account-hero__left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
}

.bc-account-hero__meta {
  min-width: 0;
  flex: 1 1 auto;
}

.bc-card.bc-account-hero .bc-avatar-wrap {
  position: relative;
  flex: 0 0 82px;
  width: 82px;
  min-width: 82px;
}

.bc-card.bc-account-hero .bc-avatar {
  width: 82px;
  height: 82px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bc-white);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  background: #f4f4f4;
}

.bc-card.bc-account-hero .bc-status-dot {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 15px;
  height: 15px;
  background: var(--bc-green);
  border: 3px solid var(--bc-white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.10);
}

.bc-card.bc-account-hero .bc-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 187, 58, 0.12);
  color: var(--bc-green-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.bc-account-hero__meta h1 {
  margin: 0;
  color: var(--bc-text);
  font-size: 30px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.bc-account-hero__meta p {
  margin: 6px 0 0;
  color: var(--bc-muted);
  font-size: 15px;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.bc-card.bc-account-hero .bc-member-badges {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.bc-card.bc-account-hero .bc-member-badges .bc-badge,
.bc-card.bc-account-hero .bc-member-badges .bc-badge.bc-badge-green {
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  background: rgba(46, 125, 50, 0.10);
  color: var(--bc-green-dark);
  border: 1px solid rgba(46, 125, 50, 0.16);
}

.bc-account-hero__actions {
  width: 230px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.bc-account-hero__actions .bc-btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  border: 1px solid transparent;
  box-shadow: none;
}

.bc-account-hero__actions .bc-btn:hover {
  transform: translateY(-2px);
}

.bc-account-hero__actions .bc-btn-gold {
  background: var(--bc-gold);
  color: #1b1b1b;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: none;
}

.bc-account-hero__actions .bc-btn-gold:hover {
  background: #f7b12c;
  box-shadow: none;
}

.bc-account-hero__actions .bc-btn-light {
  background: var(--bc-white);
  color: var(--bc-green-dark);
  border-color: rgba(46, 125, 50, 0.18);
  box-shadow: none;
}

.bc-account-hero__actions .bc-btn-light:hover {
  background: rgba(46, 125, 50, 0.04);
}

/* =========================
   NAVIGATION - NAV CSS 1.0 APPLIED
========================= */

.bc-nav-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.bc-card.bc-nav-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 150px;
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--bc-text);
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-lg);
  box-shadow: none;
  transition: all 0.22s ease;
  overflow: hidden;
}

.bc-card.bc-nav-card::before {
  display: none;
}

.bc-card.bc-nav-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bc-shadow-hover);
  border-color: rgba(255, 187, 58, 0.22);
}

.bc-nav-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f3ed;
  color: var(--bc-text);
  flex-shrink: 0;
}

.bc-nav-card__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.bc-nav-card__label {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--bc-text);
}

.bc-nav-card.is-active {
  border-color: var(--bc-gold);
  background: linear-gradient(180deg, #ffffff 0%, #fff8e9 100%);
  box-shadow: var(--bc-shadow);
}

.bc-nav-card.is-active .bc-nav-card__icon {
  background: var(--bc-gold-soft);
  color: #6f4b00;
}

.bc-nav-card.is-active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--bc-gold);
}

.bc-nav-card.bc-nav-card--gold {
  border-color: rgba(255, 187, 58, 0.25);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
}

.bc-nav-card.bc-nav-card--gold .bc-nav-card__icon {
  background: rgba(255, 187, 58, 0.14);
  color: #6f4b00;
}

.bc-nav-card.bc-nav-card--gold:hover {
  border-color: rgba(255, 187, 58, 0.38);
  background: linear-gradient(180deg, #ffffff 0%, #fff7e8 100%);
}

.bc-nav-card[data-bc-nav="overview"] .bc-nav-card__icon {
  background: var(--bc-gold-soft);
  color: #6f4b00;
}

/* =========================
   REST OF PAGE
========================= */

.bc-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bc-overview-stat {
  padding: 20px;
}

.bc-overview-stat strong {
  display: block;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.bc-overview-stat p {
  margin: 0;
  color: var(--bc-muted);
  font-size: 14px;
  line-height: 1.7;
}

.bc-account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

.bc-content-card {
  padding: 24px;
}

.bc-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.bc-card-head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.bc-text-link {
  color: #5f8c16;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.bc-text-link:hover {
  text-decoration: underline;
}

.bc-order-list,
.bc-simple-list {
  display: grid;
  gap: 12px;
}

.bc-order-item,
.bc-simple-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(20, 20, 20, 0.06);
  background: rgba(255, 255, 255, 0.7);
}

.bc-order-item__main strong,
.bc-simple-item strong {
  font-size: 16px;
}

.bc-order-item__main p,
.bc-simple-item p {
  margin: 4px 0 0;
  color: var(--bc-muted);
  font-size: 13px;
}

.bc-order-item__meta {
  text-align: right;
}

.bc-order-item__meta strong {
  display: block;
  margin-top: 8px;
}

.bc-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.bc-pill-completed,
.bc-pill-success {
  background: rgba(46, 125, 50, 0.10);
  color: var(--bc-green-dark);
}

.bc-pill-processing,
.bc-pill-warning {
  background: rgba(255, 187, 58, 0.22);
  color: #7b5200;
}

.bc-pill-on-hold,
.bc-pill-muted,
.bc-pill-pending,
.bc-pill-cancelled,
.bc-pill-failed,
.bc-pill-refunded {
  background: rgba(20, 20, 20, 0.06);
  color: #555c50;
}

.bc-address-grid,
.bc-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bc-info-box {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: 18px;
  padding: 18px;
}

.bc-info-box span {
  display: block;
  margin-bottom: 8px;
  color: var(--bc-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.bc-info-box strong {
  display: block;
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 8px;
  word-break: break-word;
}

.bc-info-box p {
  margin: 0;
  color: var(--bc-muted);
  font-size: 14px;
  line-height: 1.75;
}

.bc-account-footer-card {
  padding: 24px;
}

.bc-account-footer-card__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.bc-account-footer-card__content h2 {
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.bc-account-footer-card__content p {
  margin: 0;
  color: var(--bc-muted);
  font-size: 14px;
  line-height: 1.75;
  max-width: 640px;
}

.bc-empty-state p {
  margin: 0;
  color: var(--bc-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* LOST PASSWORD PAGE */
.elementor-shortcode > h3,
.bcaf-lost-password h3 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111111;
}

.elementor-shortcode > .bcaf-subtext,
.bcaf-lost-password .bcaf-subtext {
    margin: 0 0 24px;
    color: #6f756b;
    font-size: 14px;
    line-height: 1.8;
    max-width: 92%;
}

.elementor-shortcode > .bcaf-form,
.bcaf-lost-password .bcaf-form {
    display: grid;
    gap: 18px;
    max-width: 100%;
}

.elementor-shortcode > .bcaf-form .bcaf-field,
.bcaf-lost-password .bcaf-field {
    max-width: 100%;
}

.elementor-shortcode > .bcaf-form .bcaf-field label,
.bcaf-lost-password .bcaf-field label {
    display: block;
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #111111;
}

.elementor-shortcode > .bcaf-form .bcaf-field input,
.bcaf-lost-password .bcaf-field input {
    width: 100%;
    max-width: 100%;
    height: 54px;
    padding: 0 15px;
    border: 1px solid rgba(20, 20, 20, 0.09);
    border-radius: 14px;
    background: #fcfcf8;
    font-size: 14px;
    color: #141414;
    outline: none;
    transition: all 0.22s ease;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.01);
}

.elementor-shortcode > .bcaf-form .bcaf-field input:hover,
.bcaf-lost-password .bcaf-field input:hover {
    background: #ffffff;
    border-color: rgba(20, 20, 20, 0.14);
}

.elementor-shortcode > .bcaf-form .bcaf-field input:focus,
.bcaf-lost-password .bcaf-field input:focus {
    background: #ffffff;
    border-color: rgba(165, 220, 92, 0.9);
    box-shadow:
        0 0 0 4px rgba(165, 220, 92, 0.13),
        0 8px 20px rgba(165, 220, 92, 0.08);
}

.elementor-shortcode > .bcaf-form .bcaf-btn,
.bcaf-lost-password .bcaf-btn {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 800;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.22s ease;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.elementor-shortcode > .bcaf-form .bcaf-btn-green,
.bcaf-lost-password .bcaf-btn-green {
    background: linear-gradient(135deg, #a5dc5c, #8cc93a);
    color: #132107;
    box-shadow: 0 12px 26px rgba(165, 220, 92, 0.22);
}

.elementor-shortcode > .bcaf-form .bcaf-btn-green:hover,
.bcaf-lost-password .bcaf-btn-green:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(165, 220, 92, 0.28);
}

.elementor-shortcode > .bcaf-note,
.bcaf-lost-password .bcaf-note {
    margin-top: 18px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.elementor-shortcode > .bcaf-note .bcaf-link,
.bcaf-lost-password .bcaf-note .bcaf-link {
    color: #6e9a1f;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    transition: color 0.2s ease;
}

.elementor-shortcode > .bcaf-note .bcaf-link:hover,
.bcaf-lost-password .bcaf-note .bcaf-link:hover {
    color: #4f7412;
    text-decoration: underline;
}

.elementor-shortcode > .bcaf-notices,
.bcaf-lost-password .bcaf-notices {
    margin: 0 0 18px;
}

.elementor-shortcode > .bcaf-notices .woocommerce-error,
.elementor-shortcode > .bcaf-notices .woocommerce-message,
.elementor-shortcode > .bcaf-notices .woocommerce-info,
.bcaf-lost-password .bcaf-notices .woocommerce-error,
.bcaf-lost-password .bcaf-notices .woocommerce-message,
.bcaf-lost-password .bcaf-notices .woocommerce-info {
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 16px;
    list-style: none;
    font-size: 13px;
    line-height: 1.6;
    border: 1px solid rgba(20, 20, 20, 0.06);
    box-shadow: 0 8px 18px rgba(17, 20, 14, 0.04);
}

.elementor-shortcode > .bcaf-notices .woocommerce-error,
.bcaf-lost-password .bcaf-notices .woocommerce-error {
    background: #fff4f4;
    border-color: rgba(220, 38, 38, 0.16);
    color: #991b1b;
}

.elementor-shortcode > .bcaf-notices .woocommerce-message,
.bcaf-lost-password .bcaf-notices .woocommerce-message {
    background: #f3fff1;
    border-color: rgba(22, 163, 74, 0.16);
    color: #166534;
}

.elementor-shortcode > .bcaf-notices .woocommerce-info,
.bcaf-lost-password .bcaf-notices .woocommerce-info {
    background: #f7f8ff;
    border-color: rgba(59, 130, 246, 0.16);
    color: #1d4ed8;
}

