/* =============================================================================
   RDA My Account — Complete Styles
   File: your-child-theme/assets/css/rda-myaccount.css
   ============================================================================= */

/* @import url('https://fonts.googleapis.com/css2?family=Lora:wght@700&family=Inter:wght@400;500;600&display=swap'); */

/* ── Tokens ──────────────────────────────────────────────────────────────────── */
:root {
  --c-bg: #F7F4EE;
  --c-white: #FFFFFF;
  --c-border: #E6E2D8;
  --c-border-soft: #EDE9DF;
  --c-gold: #A08C00;
  --c-gold-bg: #FEFCE8;
  --c-text: #1C1C1C;
  --c-text-body: #3D3D3D;
  --c-text-meta: #888880;
  --c-nav-active-bg: #FEF9E8;
  --c-nav-active: #7A6A00;
  --c-btn: #4B4400;
  --c-btn-hover: #3A3300;
  --c-toggle-on: #4B4400;
  --c-toggle-off: #C8C4B6;
  --c-input-border: #DDD9CE;
  --c-input-focus: #A08C00;
  --r-card: 14px;
  --r-input: 8px;
  --r-btn: 8px;
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06);
  /* --font-head: 'Lora', Georgia, serif;
  --font-ui: 'Manrope', sans-serif; */
}

/* =============================================================================
   WOOCOMMERCE RESET
   ============================================================================= */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: none !important;
}

.woocommerce-account h1.entry-title,
.woocommerce-account h1.page-title,
.woocommerce-account .entry-header h1,
.woocommerce-account .page-header h1,
.woocommerce-account .woocommerce>h1,
.woocommerce-account .woocommerce>h2 {
  display: none !important;
}

/* =============================================================================
   PAGE HEADER
   ============================================================================= */
.rda-page-header {
  margin: 0 auto;
}

.rda-page-title {
  font-size: 40px !important;
  font-weight: 500 !important;
  color: #535457 !important;
  margin: 0 0 15px;
  line-height: 1.2 !important;
}

.rda-page-subtitle {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--c-text-meta);
  margin: 0;
  font-weight: 400;
}

/* =============================================================================
   LAYOUT
   ============================================================================= */
.rda-account-wrapper {
  display: grid;
  grid-template-columns: 415px 1fr;
  gap: 28px;
  align-items: start;
  margin: 0 auto;
  box-sizing: border-box;
}

.rda-account-wrapper * {
  font-family: var(--e-global-typography-58e71de-font-family), Sans-serif !important;
}

@media (max-width: 860px) {
  .rda-account-wrapper {
    grid-template-columns: 1fr;
    padding: 20px 20px 40px;
  }

  .rda-page-header {
    padding: 24px 20px 0;
  }
}

/* =============================================================================
   SIDEBAR
   ============================================================================= */
.rda-account-sidebar {
  overflow: hidden;
  position: sticky;
  top: 130px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: linear-gradient(0deg, rgba(198, 147, 50, 0) 0%, rgba(198, 147, 50, 0.18) 100%);
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.rda-account-nav {
  padding: 10px;
}

.rda-nav-list {
  list-style: none;
  margin: 0 !important;
  padding: 0px !important;
}

.rda-nav-list .rda-nav-item {
  margin-bottom: 5px;
}

.account-tab-main-title {
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: -0.36px;
  color: #000000;
  margin: 0 0 12px;
}

.rda-nav-divider {
  height: 1px;
  margin: 10px 20px;
}

.rda-nav-link {
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.40px;
  color: rgba(0, 0, 0, 0.8) !important;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: background 0.12s, color 0.12s;
  -webkit-transition: background 0.12s, color 0.12s;
  -moz-transition: background 0.12s, color 0.12s;
  -ms-transition: background 0.12s, color 0.12s;
  -o-transition: background 0.12s, color 0.12s;
}

.rda-nav-link:hover {
  color: #000000 !important;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.rda-nav-link--active {
  color: #000000 !important;
  background: #FFFFFF !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.rda-nav-link--active .rda-nav-icon {
  color: #000000;
}

.rda-nav-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.rda-nav-icon svg path {
  width: 25px;
  height: 25px;
  stroke: rgba(0, 0, 0, 0.8);
}

.rda-nav-link--active .rda-nav-icon svg path,
.rda-nav-link:hover .rda-nav-icon svg path {
  stroke: #000000;
}

.rda-nav-label {
  flex: 1;
  white-space: nowrap;
}

.rda-nav-chevron {
  flex-shrink: 0;
  color: #BBBBBB;
  display: flex;
  align-items: center;
}

.rda-nav-chevron svg path {
  width: 15px;
  height: 15px;
  stroke: rgb(0, 0, 0, 0.8);
}

.rda-nav-link--active .rda-nav-chevron svg path,
.rda-nav-link:hover .rda-nav-chevron svg path {
  stroke: #D1A85B;
}

.rda-logout-item {
  padding: 22px;
  background-color: #C69332;
  margin-top: 108px;
}

.rda-logout-item .rda-nav-link {
  padding: 0;
  color: #FFFFFF !important;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.rda-logout-item .rda-nav-link:hover {
  color: #000000 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.rda-logout-item .rda-nav-link .rda-nav-icon svg path {
  stroke: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.rda-logout-item .rda-nav-link:hover .rda-nav-icon svg path {
  stroke: #000000;
}

.rda-logout-item .rda-nav-link .rda-nav-chevron svg path {
  stroke: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.rda-logout-item .rda-nav-link:hover .rda-nav-chevron svg path {
  stroke: #000000;
}

/* =============================================================================
   MAIN CONTENT
   ============================================================================= */

.rda-profile-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* =============================================================================
   CARD
   ============================================================================= */
.rda-card {
  background: #F6F6F6;
  padding: 32px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.rda-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.rda-card-ico {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rda-card-ico svg {
  width: 24px;
  height: 24px;
}

.rda-card-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.40px;
  color: #000000;
  margin: 0 !important;
}

/* =============================================================================
   FORM FIELDS
   ============================================================================= */
.rda-form {
  display: block;
}

.rda-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 18px;
}

@media (max-width: 580px) {
  .rda-fields-row {
    grid-template-columns: 1fr;
  }
}

.rda-field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.rda-field-group::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 30px;
  width: 56px;
  height: 2px;
  background-color: #C69332;
}

.rda-field-group--full {
  margin-bottom: 16px;
}

.rda-field-label {
  display: block;
  color: #000000;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.36px;
  line-height: 150%;
}

.rda-field-input {
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: -0.36px;
  color: #868686;
  width: 100%;
  background: transparent !important;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s !important;
  -webkit-appearance: none;
  appearance: none;
  padding: 12px 20px 12px 30px !important;
  border: 1px solid #DDDDDD !important;
  border-radius: 10px !important;
  -webkit-border-radius: 10px !important;
  -moz-border-radius: 10px !important;
  -ms-border-radius: 10px !important;
  -o-border-radius: 10px !important;
  -webkit-transition: border-color 0.15s, box-shadow 0.15s !important;
  -moz-transition: border-color 0.15s, box-shadow 0.15s !important;
  -ms-transition: border-color 0.15s, box-shadow 0.15s !important;
  -o-transition: border-color 0.15s, box-shadow 0.15s !important;

}

.rda-field-input::placeholder {
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: -0.36px;
  color: #868686;
}

.rda-field-input:focus {
  border-color: var(--c-input-focus);
  box-shadow: 0 0 0 3px rgba(160, 140, 0, 0.1);
}

.rda-select-wrap {
  position: relative;
  display: block;
}

.rda-field-select {
  width: 100%;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: -0.36px;
  color: #868686;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding: 12px 20px;
  border: 1px solid #DDDDDD !important;
  background-color: transparent;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-transition: border-color 0.15s, box-shadow 0.15s;
  -moz-transition: border-color 0.15s, box-shadow 0.15s;
  -ms-transition: border-color 0.15s, box-shadow 0.15s;
  -o-transition: border-color 0.15s, box-shadow 0.15s;
}

.rda-field-select:focus {
  border-color: var(--c-input-focus);
  box-shadow: 0 0 0 3px rgba(160, 140, 0, 0.1);
}

.rda-select-chevron {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 28px;
  height: 28px;
  pointer-events: none;
  color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.rda-select-chevron svg {
  width: 16px;
  height: 16px;
}

.rda-form-footer {
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

/* =============================================================================
   BUTTONS
   ============================================================================= */
.rda-save-btn {
  font-family: var(--e-global-typography-58e71de-font-family), Sans-serif !important;
  font-weight: 500 !important;
  font-size: 20px !important;
  line-height: 130% !important;
  letter-spacing: -0.40px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px !important;
  background: linear-gradient(180.00deg, #C69332 0%, #B3852D 100%) !important;
  box-shadow: 0px 0px 0px 0px #FFFFFF, 0px 0px 0px 0px #F8F0E2, 0px 3.71px 4.85px 0px rgba(198, 147, 50, 0.15), 0px 10.27px 13.40px 0px rgba(198, 147, 50, 0.22), 0px 24.72px 32.26px 0px rgba(198, 147, 50, 0.19), 0px 42px 107px 0px rgba(198, 147, 50, 0.34), inset 0px 1px 4px 0px #F8F0E2, inset 0px 1px 18px 0 #F8F0E2 !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer;
  text-decoration: none;
  border-radius: 52px !important;
  -webkit-border-radius: 52px !important;
  -moz-border-radius: 52px !important;
  -ms-border-radius: 52px !important;
  -o-border-radius: 52px !important;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.rda-save-btn:hover {
  background: linear-gradient(180deg, #D8A03A 0%, #C08B28 100%) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0px 8px 20px rgba(198, 147, 50, 0.28),
    0px 20px 40px rgba(198, 147, 50, 0.24),
    0px 40px 80px rgba(198, 147, 50, 0.30),
    inset 0px 1px 4px #fff3dc,
    inset 0px 1px 20px #fff3dc !important;
}

.rda-save-btn:active {
  background: #2E2800;
}

.rda-btn-cancel {
  cursor: pointer;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.40px;
  color: #000000 !important;
  padding: 10px 16px !important;
  border: 1px solid rgba(198, 147, 50, 0.40) !important;
  background-color: rgba(198, 147, 50, 0.10) !important;
  border-radius: 52px !important;
  -webkit-border-radius: 52px !important;
  -moz-border-radius: 52px !important;
  -ms-border-radius: 52px !important;
  -o-border-radius: 52px !important;
  transition: background 0.12s, border-color 0.12s;
  -webkit-transition: background 0.12s, border-color 0.12s;
  -moz-transition: background 0.12s, border-color 0.12s;
  -ms-transition: background 0.12s, border-color 0.12s;
  -o-transition: background 0.12s, border-color 0.12s;
}

.rda-btn-cancel:hover {
  background-color: rgba(198, 147, 50, 1) !important;
}

.woocommerce-error {
  border-top-color: #f5676d;
}

.woocommerce-error::before {
  color: #f5676d;
}

/* =============================================================================
   NOTIFICATIONS
   ============================================================================= */
.rda-notif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 580px) {
  .rda-notif-grid {
    grid-template-columns: 1fr;
  }
}

.rda-notif-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  background-color: #FFFFFF;
  padding: 20px;
  border: none;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.rda-notif-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.rda-notif-name {
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: -0.36px;
  color: #000000;
  display: block;
}

.rda-notif-desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: -0.36px;
  color: #868686;
  display: block;
}

.rda-toggle {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  cursor: pointer;
  line-height: 1;
  margin-top: 2px;
}

.rda-toggle input[type="checkbox"] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.rda-toggle-track {
  display: block;
  width: 68px;
  height: 34px;
  background: rgba(209, 168, 91, 0.2);
  position: relative;
  transition: background 0.2s;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.rda-toggle-thumb {
  display: block;
  position: absolute;
  width: 34px;
  height: 34px;
  background: #D1A85B;
  top: 0px;
  left: 0px;
  transition: transform 0.2s;
  -webkit-transition: transform 0.2s;
  -moz-transition: transform 0.2s;
  -ms-transition: transform 0.2s;
  -o-transition: transform 0.2s;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}


.rda-toggle input:checked~.rda-toggle-track .rda-toggle-thumb {
  transform: translateX(34px);
  -webkit-transform: translateX(34px);
  -moz-transform: translateX(34px);
  -ms-transform: translateX(34px);
  -o-transform: translateX(34px);
}

/* =============================================================================
   ADDRESS CARDS
   ============================================================================= */
.rda-addr-card {
  padding: 24px 28px 24px !important;
}

/* Top row: heading left, button right — flex, vertically centered */
.rda-addr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

/* Left side: icon badge + title */
.rda-addr-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

/* Body area */
.rda-addr-body {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 12px 20px;
  border: 1px solid #DDDDDD;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.rda-addr-empty {
  text-align: center;
  color: var(--c-text-meta);
  font-size: 0.875rem;
  font-family: var(--font-ui);
  margin: 0;
  padding: 12px 0;
}

.rda-addr-display {
  width: 100%;
  justify-content: flex-start;
  font-weight: 400;
  font-size: 18px;
  font-style: normal;
  line-height: 150%;
  letter-spacing: -0.36px;
  color: #868686;
}

/* + Add Address button */
.rda-add-btn {
  font-family: var(--e-global-typography-58e71de-font-family), Sans-serif !important;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  font-weight: 500 !important;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.40px;
  color: #000000 !important;
  padding: 10px 16px !important;
  border: 1px solid rgba(198, 147, 50, 0.40) !important;
  background-color: rgba(198, 147, 50, 0.10) !important;
  border-radius: 52px !important;
  -webkit-border-radius: 52px !important;
  -moz-border-radius: 52px !important;
  -ms-border-radius: 52px !important;
  -o-border-radius: 52px !important;
  transition: background 0.15s;
  -webkit-transition: background 0.15s;
  -moz-transition: background 0.15s;
  -ms-transition: background 0.15s;
  -o-transition: background 0.15s;
}

.rda-add-btn:hover {
  color: #FFFFFF !important;
  background-color: rgba(198, 147, 50, 1) !important;
}

/* =============================================================================
   MODAL
   ============================================================================= */

/* The modal wrapper — hidden by default via display:none in HTML.
   JS sets style.display='flex' to show, style.display='none' to hide.
   DO NOT set display here — that would override the inline style:none. */
#rda-addr-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 999999 !important;
  /* display is controlled by JS only — not set here */
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  font-family: var(--font-ui);
}

/* Semi-transparent backdrop — fills the full modal wrapper */
.rda-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

/* White modal box — sits on top of backdrop */
.rda-modal-box {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  width: 100%;
  max-width: 849px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  font-family: var(--font-ui);
  animation: rdaModalIn 0.2s ease;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

@keyframes rdaModalIn {
  from {
    transform: translateY(20px) scale(0.97);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Modal header */
.rda-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  background-color: #C69332;
  border-radius: 20px 20px 0 0;
  -webkit-border-radius: 20px 20px 0 0;
  -moz-border-radius: 20px 20px 0 0;
  -ms-border-radius: 20px 20px 0 0;
  -o-border-radius: 20px 20px 0 0;
}

.rda-modal-title {
  margin: 0;
  font-weight: 500;
  font-size: 38px;
  line-height: 150%;
  letter-spacing: -0.76px;
  color: #000000;
}

.rda-modal-close {
  width: 28px !important;
  height: 28px;
  background: none !important;
  border: none !important;
  color: #141B34 !important;
  border: none;
  padding: 0 !important;
  cursor: pointer;
  font-size: 28px !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 0px !important;
  transition: background 0.12s, color 0.12s;
  -webkit-transition: background 0.12s, color 0.12s;
  -moz-transition: background 0.12s, color 0.12s;
  -ms-transition: background 0.12s, color 0.12s;
  -o-transition: background 0.12s, color 0.12s;
}

.rda-modal-close:hover {
  background: #F5F3EE;
  color: var(--c-text);
}

.rda-modal-box form {
  background-color: #FFFFFF;
}

/* Modal scrollable body */
.rda-modal-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Each field row in modal */
.rda-mfield {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.rda-mfield::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 30px;
  width: 56px;
  height: 2px;
  background-color: #EFAE1C;
}

.rda-mfield--3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .rda-mfield--3col {
    grid-template-columns: 1fr;
  }
}

.rda-req {
  color: #cc3333;
  font-size: 0.8rem;
}

.rda-opt {
  color: var(--c-text-meta);
  font-size: 0.78rem;
  font-weight: 400;
}

/* Modal footer */
.rda-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 20px 30px 30px;
}

/* Body scroll lock */
body.rda-modal-open {
  overflow: hidden !important;
}

/* =============================================================================
   WOOCOMMERCE NOTICES
   ============================================================================= */
.rda-account-main .woocommerce-message,
.rda-account-main .woocommerce-error,
.rda-account-main .woocommerce-info {
  border-radius: 8px !important;
  margin-bottom: 16px !important;
  font-family: var(--font-ui) !important;
}

.rda-account-main .woocommerce-MyAccount-content {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 28px 30px;
  font-family: var(--font-ui);
}

/* =============================================================================
   ACCESSIBILITY
   ============================================================================= */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}


/* =============================================================================
   MEMBERSHIPS TAB
   ============================================================================= */

.rda-mem-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Summary Bar */
.rda-mem-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 680px) {
  .rda-mem-summary {
    grid-template-columns: 1fr;
  }
}

.rda-mem-summary-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px;
  border: 1px solid rgba(198, 147, 50, 0.30);
  background-color: #F6F6F6;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

.rda-mem-summary-item--active {
  background: linear-gradient(180.00deg, rgba(198, 147, 50, 0.14) 0%, rgba(198, 147, 50, 0.20) 100%);
}

.rda-mem-summary-label {
  font-weight: 400;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: -0.48px;
  color: #757575;
}

.rda-mem-summary-value {
  font-weight: 700;
  font-size: 26px;
  line-height: 150%;
  letter-spacing: -0.52px;
  color: #000000;
}

/* Upgrade Banner */
.rda-mem-upgrade-text {
  text-align: center;
  font-size: 24px;
  line-height: 150%;
  font-weight: 400;
  letter-spacing: -0.48px;
  color: #757575;
  margin: 32px 0;
}

/* Tier Cards Grid — columns set via inline style on the element */
.rda-mem-tiers {
  display: grid;
  gap: 12px;
  align-items: start;
}

@media (max-width: 780px) {
  .rda-mem-tiers {
    grid-template-columns: 1fr !important;
  }
}

/* Single Tier Card */
.rda-mem-card {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid #DDDDDD;
  background-color: #FFFFFF;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}


.rda-mem-card-head {
  padding: 30px;
  border: 1px dashed rgba(198, 147, 50, 0.20);
  background: linear-gradient(0deg, rgba(198, 147, 50, 0) 0%, rgba(198, 147, 50, 0.20) 100%);
  margin-bottom: 20px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}


.rda-mem-tier-name {
  font-weight: 400;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: -0.48px;
  color: #000000;
  margin: 0 0 10px;
}

.rda-mem-price {
  display: flex;
  align-items: baseline;
}

.rda-mem-amount {
  font-weight: 700;
  font-size: 30px;
  line-height: 150%;
  letter-spacing: -0.60px;
  color: #000000;
}

.rda-mem-period {
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.40px;
  color: #757575;
}

.rda-mem-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  font-family: var(--font-ui);
  line-height: 1.3;
}

.rda-mem-badge--neutral {
  background: #F0EDE4;
  color: var(--c-text-meta);
  border: 1px solid var(--c-border);
}

.rda-mem-badge--gold {
  background: #FEF3C7;
  color: #7A5F00;
  border: 1px solid #E8D875;
}

.rda-mem-features {
  flex: 1;
  margin-bottom: 20px;
}

.rda-mem-features-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-text-meta);
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

.rda-mem-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rda-mem-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--c-text-body);
  font-family: var(--font-ui);
  line-height: 1.45;
}

.rda-mem-check {
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
}

.rda-mem-check svg {
  width: 15px;
  height: 15px;
}

.rda-mem-cta {
  margin-top: auto;
}

.rda-mem-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-ui);
  cursor: pointer;
  border: none;
  text-decoration: none !important;
  transition: background 0.15s;
  line-height: 1.4;
  box-sizing: border-box;
}

/* Current plan — dark olive, disabled */
.rda-mem-btn--current {
  background: linear-gradient(180.00deg, #C69332 0%, #B3852D 100%) !important;
  box-shadow: 0px 0px 0px 0px #FFFFFF,
    0px 0px 0px 0px #F8F0E2,
    0px 3.71px 4.85px 0px rgba(198, 147, 50, 0.15),
    0px 10.27px 13.40px 0px rgba(198, 147, 50, 0.22),
    0px 24.72px 32.26px 0px rgba(198, 147, 50, 0.19),
    0px 42px 107px 0px rgba(198, 147, 50, 0.34),
    inset 0px 1px 4px 0px #F8F0E2,
    inset 0px 1px 18px 0 #F8F0E2;
  color: #fff !important;
  opacity: 0.85;
  cursor: default;
}

/* Upgrade — gold for all non-current tiers */
.rda-mem-btn--upgrade {
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.40px;
  color: #000000;
  padding: 10px 16px;
  border: 1px solid rgba(198, 147, 50, 0.40);
  background-color: rgba(198, 147, 50, 0.10);
}

.rda-mem-btn--upgrade:hover {
  color: #FFFFFF;
  background-color: rgba(198, 147, 50, 1);
}

/* =============================================================================
/* =============================================================================
   TRACK ORDER — SINGLE ORDER DETAIL VIEW
   ============================================================================= */

.rda-track-detail-card {
  padding: 28px 28px 32px;
}

/* Header: title left, back link right */
.rda-trd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.rda-trd-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rda-trd-back {
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.40px;
  color: #000000;
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid rgba(198, 147, 50, 0.40);
  background-color: rgba(198, 147, 50, 0.10);
  border-radius: 52px;
  -webkit-border-radius: 52px;
  -moz-border-radius: 52px;
  -ms-border-radius: 52px;
  -o-border-radius: 52px;
}

.rda-trd-back:hover {
  color: #FFFFFF;
  background-color: rgba(198, 147, 50, 1);
}

/* Section labels */

.rda-trd-updates {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.rda-trd-section-label {
  margin: 0 0 16px;
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.40px;
  color: #000000;
}

/* ── TIMELINE ────────────────────────────────────────────────────────────────── */
.rda-trd-timeline {
  margin-bottom: 28px;
}

/*
  Steps row:
  Each step = flex column [top-row][label]
  Top row = [node][connector line]
  Node is fixed 40px circle
  Connector stretches between nodes using flex:1
*/
.rda-trd-steps {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 4px;
}

.rda-trd-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}

/* Top row inside each step: circle + line */
.rda-trd-step-top {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
}

/* ── Node circle ── */
.rda-trd-node {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Green filled — completed step */
.rda-trd-node--done {
  background: #D1A85B;
}

/* Dark circle with gold clock — current/pending */
.rda-trd-node--current,
.rda-trd-node--pending {
  background: #D9D9D9;
}

.rda-trd-node--pending {
  opacity: 0.6;
}

/* ── Connector between nodes ── */
.rda-trd-connector {
  flex: 1;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 2px;
  min-width: 12px;
}

.rda-trd-dashes {
  width: 100%;
  height: 0;
  border-top: 2px dashed rgba(0, 0, 0, 0.2);
}

/* Green dashes for completed connectors */
.rda-trd-connector--done .rda-trd-dashes {
  border-top-color: #D1A85B;
  border-top-style: dashed;
}

/* ── Step label below node ── */
.rda-trd-step-label {
  font-size: 0.72rem;
  color: var(--c-text-body);
  font-family: var(--font-ui);
  line-height: 1.3;
  margin-top: 8px;
  padding-right: 4px;
  word-break: break-word;
  max-width: 100%;
}

/* ── UPDATES ─────────────────────────────────────────────────────────────────── */
.rda-trd-updates {}

.rda-trd-update-list {
  display: flex;
  flex-direction: column;
}

.rda-trd-update-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Left: dot + vertical dashed line stacked */
.rda-trd-update-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 18px;
}

/* Gold dot — exactly matches screenshot */
.rda-trd-update-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D1A85B;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Dashed vertical connector between dots */
.rda-trd-update-vline {
  width: 0;
  flex: 1;
  min-height: 24px;
  border-left: 2px dashed rgba(0, 0, 0, 0.2);
  margin: 4px 0;
}

/* Text */
.rda-trd-update-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 22px;
}

.rda-trd-update-item:last-child .rda-trd-update-text-wrap {
  padding-bottom: 0;
}

.rda-trd-update-title {
  display: block;
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.40px;
  color: #000000;
}

.rda-trd-update-date {
  display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.32px;
  color: #757575;
}

/* =============================================================================
   TRACK ORDER — ORDER LIST VIEW
   ============================================================================= */

.rda-olist-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each order row card */
.rda-olist-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(209, 168, 91, 0.4);
}

.rda-olist-item:last-child {
  border-bottom: none;
}

/* Top info row */
.rda-olist-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.rda-olist-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rda-olist-num {
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: -0.36px;
  color: #000000;
}

.rda-olist-date {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.32px;
  color: #000000;
}

.rda-olist-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rda-olist-total {
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: -0.36px;
  color: #000000;
}

/* Status badge pill */
.rda-olist-badge {
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: -0.36px;
  color: #868686;
}

.rda-olist-badge--completed {
  color: #166534;
}

.rda-olist-badge--processing {
  color: #7A5F00;
}

.rda-olist-badge--pending {
  color: #888880;
}

.rda-olist-badge--on-hold {
  color: #991B1B;
}

.rda-olist-badge--in-transit,
.rda-olist-badge--shipped {
  color: #1E40AF;
}

/* Track Order button */
.rda-olist-track-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.32px;
  color: #fff !important;
  text-decoration: none !important;
  transition: background 0.15s;
  padding: 5px 14px;
  background-color: #C69332;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.rda-olist-track-btn:hover {
  background: var(--c-btn-hover);
}

/* ── Mini progress tracker inside each order ── */
.rda-olist-progress {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.rda-olist-progress-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}

.rda-olist-progress-top {
  display: flex;
  align-items: center;
  width: 100%;
  height: 20px;
}

/* Small dot node */
.rda-olist-dot {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rda-olist-dot--done {
  background: #D1A85B;
}

.rda-olist-dot--current {
  background: #D9D9D9;
}

.rda-olist-dot--pending {
  background: #D9D9D9;
}

/* Dashed line between mini dots */
.rda-olist-progress-line {
  flex: 1;
  height: 0;
  border-top: 2px dashed rgba(0, 0, 0, 0.2);
  min-width: 4px;
}

.rda-olist-progress-line--done {
  border-top-color: #D1A85B;
}

/* Step label under mini dot */
.rda-olist-step-label {
  margin-top: 5px;
  padding-right: 2px;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.32px;
  color: #000000;
}

@media (max-width: 600px) {

  .rda-olist-meta {
    width: 100%;
    max-width: calc(50% - 6px);
  }

  .rda-olist-right {
    width: 100%;
    max-width: calc(50% - 6px);
    justify-content: flex-end;
  }

}

/* =============================================================================
   ORDER HISTORY TAB — Full override with strong selectors
   ============================================================================= */

/* ── Card 1: Manage Orders ───────────────────────────────────────────────────── */
.woocommerce-account .rda-oh-manage-card {
  padding: 26px 28px 28px !important;
}

/* Stats row — HORIZONTAL flex, 3 items side by side */
.woocommerce-account .rda-oh-stats {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 40px !important;
  margin-bottom: 22px !important;
  flex-wrap: wrap !important;
}

/* Single stat block — vertical column */
.woocommerce-account .rda-oh-stat {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 5px !important;
  min-width: 120px;
}

/* Label row: icon + text side by side */
.woocommerce-account .rda-oh-stat-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--c-text-body) !important;
  font-family: var(--font-ui) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-account .rda-oh-stat-icon {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.woocommerce-account .rda-oh-stat-icon svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}

/* Large number below label */
.woocommerce-account .rda-oh-stat-value {
  display: block !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--c-text) !important;
  font-family: var(--font-ui) !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Action Buttons Row ──────────────────────────────────────────────────────── */
.woocommerce-account .rda-oh-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

.woocommerce-account .rda-oh-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 11px 18px !important;
  background: #D4A800 !important;
  color: #3A2800 !important;
  border-radius: 28px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  font-family: var(--font-ui) !important;
  text-decoration: none !important;
  text-align: center !important;
  line-height: 1.3 !important;
  flex: 1 !important;
  min-width: 0 !important;
  border: none !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
}

.woocommerce-account .rda-oh-action-btn:hover {
  background: #BF9700 !important;
  color: #3A2800 !important;
  text-decoration: none !important;
}

/* ── Card 2: Order History Table ─────────────────────────────────────────────── */
.woocommerce-account .rda-oh-history-card {
  padding: 26px 28px 28px !important;
}

.woocommerce-account .rda-oh-table {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin-top: 4px !important;
}

/* Header row */
.woocommerce-account .rda-oh-table-head {
  display: grid !important;
  grid-template-columns: 1fr 150px 150px !important;
  gap: 12px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid var(--c-border) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--c-text) !important;
  font-family: var(--font-ui) !important;
  margin: 0 !important;
  list-style: none !important;
}

.woocommerce-account .rda-oh-table-head span {
  display: block !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--c-text) !important;
}

/* Data rows */
.woocommerce-account .rda-oh-table-row {
  display: grid !important;
  grid-template-columns: 1fr 150px 150px !important;
  gap: 12px !important;
  padding: 13px 0 !important;
  border-bottom: 1px solid var(--c-border-soft) !important;
  align-items: center !important;
  margin: 0 !important;
  list-style: none !important;
}

.woocommerce-account .rda-oh-table-row:last-child {
  border-bottom: none !important;
}

.woocommerce-account .rda-oh-product-name,
.woocommerce-account .rda-oh-qty,
.woocommerce-account .rda-oh-subtotal {
  display: block !important;
  font-size: 0.875rem !important;
  color: var(--c-text-body) !important;
  font-family: var(--font-ui) !important;
  font-weight: 400 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Discount % highlight inside badge */
.rda-mem-badge-pct {
  font-weight: 700;
  margin-right: 3px;
}

/* Billing period — "per month" style, smaller and muted */
.rda-mem-period {
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.40px;
  color: #757575;
}

/* order-history start */

.order-block {
  padding: 10px;
  margin-bottom: 32px;
  background-color: #FFFFFF;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.order-block:last-child {
  margin-bottom: 0;
}

.order-card-group {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
}

.order-history-card {
  flex: calc(33% - 14px);
  height: auto;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background-color: #FFFFFF;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.order-history-card .order-title {
  display: block;
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.40px;
  color: #000000;
  margin-bottom: 10px;
}

.order-history-card .order-count {
  font-weight: 500;
  font-size: 38px;
  line-height: 150%;
  letter-spacing: -0.76px;
  color: #000000;
}

.order-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.order-action .order-btn {
  flex: calc(25% - 8px);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.32px;
  color: #FFFFFF;
  text-align: center;
  white-space: nowrap !important;
  padding: 5px 14px;
  background-color: #C69332;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.order-content-headings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border: 1px solid rgba(198, 147, 50, 0.50);
  background-color: rgba(198, 147, 50, 0.10);
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.order-content-headings * {
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.40px;
  color: #C69332;
  width: 100%;
  max-width: 180px;
  text-align: center;
}

.order-content-headings .column-1 {
  max-width: 100%;
  text-align: left;
}

.order-content-headings .column-3 {
  text-align: right;
}

.product-order-history-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background-color: #FFFFFF;
  margin-top: 10px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.product-order-history-details * {
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.40px;
  color: #000000;
  width: 100%;
  max-width: 180px;
  text-align: center;
}

.product-order-history-details .column-1 {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.32px;
}

.product-order-history-details .column-3 {
  text-align: right;
}

.product-order-history-details .prdocut-name {
  max-width: 100%;
  text-align: left;
}

.product-order-history-details .prdocut-name>*:first-child,
.product-order-history-details .product-quantity>*:first-child,
.product-order-history-details .product-sub-total>*:first-child {
  display: none;
  font-weight: 700;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: -0.40px;
  color: #C69332;
}

.product-order-history-details .prdocut-name>*:nth-child(2) {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.32px;
}

.product-order-history-details .product-sub-total {
  text-align: right;
}

/* order-history end */

.referral-link .rda-field-group {
  width: 100%;
}

.referral-link .referral-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}


.referral-link .rda-field-label {
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.40px;
  color: #757575;
  margin-bottom: 10px;
}

.referral-link .rda-save-btn {
  flex: none;
}

.affiliate-card-group {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
}

.affiliate-card-group .order-history-card {
  flex: calc(25% - 15px);
  height: auto;
  cursor: pointer;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.affiliate-card-group .order-history-card:hover {
  border: 1px solid rgba(198, 147, 50, 0.30);
  background: linear-gradient(0deg, rgba(198, 147, 50, 0) 0%, rgba(198, 147, 50, 0.20) 100%);
}

.rda-rate-group {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.rda-rate-group>* {
  width: 100%;
  max-width: 50%;
  text-align: left;
}

.order-block .rda-card-title {
  display: block;
  margin-bottom: 10px !important;
}

.order-block .rate-title {
  font-weight: 700;
  font-size: 30px;
  line-height: 150%;
  letter-spacing: -0.60px;
  color: #000000;
}

.order-block .rda-sale {
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.40px;
  color: #757575;
}

.order-block .view-all-link {
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.40px;
  text-decoration: underline;
  white-space: nowrap;
  color: #000000;
}

.order-block .view-all-link:hover {
  color: #D4A800;
}

/* my-account-coa-library */

.rda-library-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rad-product-image {
  position: relative;
  width: 85px;
  height: 85px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background-color: #D9D9D9;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.rad-product-image * {
  width: 100% !important;
  height: 60px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.rad-product-image:after {
  position: absolute;
  content: "";
  bottom: -14px;
  left: 7px;
  width: 59px;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='81' viewBox='0 0 80 81' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.2' filter='url(%23filter0_f_573_3371)'%3E%3Cpath d='M69.0547 40.5554L69.0547 10.0547H46.0421L10.0547 70.0547L69.0547 40.5554Z' fill='url(%23paint0_linear_573_3371)'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_f_573_3371' x='-0.000267982' y='-0.000267982' width='79.1099' height='80.1099' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3E%3CfeGaussianBlur stdDeviation='5.02748' result='effect1_foregroundBlur_573_3371'/%3E%3C/filter%3E%3ClinearGradient id='paint0_linear_573_3371' x1='67.4288' y1='11.3809' x2='-5.36837' y2='76.2798' gradientUnits='userSpaceOnUse'%3E%3Cstop/%3E%3Cstop offset='1' stop-color='white' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: -1;
}

.rda-library-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.40px;
  color: #000000;
}

.rda-library-sub-title {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.32px;
  color: #757575;
}

.rda-library-actions .view-product-btn {
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.32px;
  text-decoration: underline;
  color: #000000;
}

.rda-library-actions .view-product-btn:hover {
  color: #C69332;
}

.rda-library-actions .download-btn {
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.32px;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border: 1px solid #C08B28;
  background-color: #C69332;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.rda-library-actions .download-btn:hover {
  background-color: transparent;
  color: #C69332;
}

.coa-libaray-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background-color: #FFFFFF;
  margin-top: 10px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.coa-libaray-row:first-child {
  margin-top: 48px;
}

.rda-library-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rda-library-actions .download-btn svg path {
  stroke: #FFFFFF;
}

.rda-library-actions .download-btn:hover svg path {
  stroke: #C69332;
}

/* my-account-coa-library */

.rda-page-header .rda-page-title {
  font-family: var(--e-global-typography-a86bc9e-font-family), Sans-serif !important;
  font-size: var(--e-global-typography-a86bc9e-font-size) !important;
  font-weight: var(--e-global-typography-a86bc9e-font-weight) !important;
  text-transform: var(--e-global-typography-a86bc9e-text-transform) !important;
  font-style: var(--e-global-typography-a86bc9e-font-style) !important;
  line-height: var(--e-global-typography-a86bc9e-line-height) !important;
  letter-spacing: var(--e-global-typography-a86bc9e-letter-spacing) !important;
  color: var(--e-global-color-037cd96) !important;
  margin: 0 !important;
}

.rda-page-header {
  padding: 209px 0 80px;
}

.top-content {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

.rda-page-subtitle {
  color: #000;
}

.container {
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 20px;
}

.rda-account-content {
  padding: 80px 0;
}

/* Responsive */


@media (max-width: 1280px) {
  .rda-account-wrapper {
    grid-template-columns: 340px 1fr;
  }

  .rda-toggle-track {
    width: 44px;
    height: 23px;
  }

  .rda-toggle-thumb {
    width: 24px;
    height: 24px;
  }

  .rda-card {
    padding: 20px;
  }

  .rda-toggle input:checked~.rda-toggle-track .rda-toggle-thumb {
    transform: translateX(24px);
    -webkit-transform: translateX(24px);
    -moz-transform: translateX(24px);
    -ms-transform: translateX(24px);
    -o-transform: translateX(24px);
  }

  .rda-mem-summary-label {
    font-size: 22px;
  }

  .rda-mem-summary-value {
    font-size: 20px;
  }

  .rda-mem-tier-name {
    font-size: 22px;
  }

  .rda-mem-amount {
    font-size: 26px;
  }

  .rda-mem-upgrade-text {
    font-size: 22px;
  }

  .rda-trd-update-title {
    font-size: 18px;
    line-height: 110%;
  }

  .order-history-card .order-count {
    font-size: 28px;
  }

  .rda-mem-card-head {
    padding: 20px;
  }

  .rda-account-content {
    padding: 112px 0 35px;
  }

  .rda-account-content {
    padding: 50px 0;
  }
}

@media (max-width: 1024px) {
  .rda-account-wrapper {
    grid-template-columns: 300px 1fr;
  }

  .rda-modal-title {
    font-size: 28px;
  }

  .rda-addr-card {
    padding: 20px !important;
  }

  .affiliate-card-group .order-history-card {
    flex: calc(50% - 14px);
  }

  .order-block .rate-title {
    font-size: 26px;
  }

  .order-content-headings {
    padding: 15px;
  }

  .order-content-headings * {
    font-size: 18px;
    line-height: 110%;
  }

  .product-order-history-details * {
    font-size: 18px;
    line-height: 110%;
  }

  .coa-libaray-row:first-child {
    margin-top: 20px;
  }
}

@media (max-width: 880px) {
  .rda-account-wrapper {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .rda-mfield--3col {
    grid-template-columns: 1fr;
  }

  .rda-account-sidebar {
    position: unset;
  }

  .rda-nav-icon {
    width: 20px;
    height: 20px;
  }

  .rad-product-image {
    width: 66px;
    height: 66px;
  }

  .rad-product-image * {
    height: 47px !important;
  }

  .rad-product-image:after {
    bottom: -11px;
    left: 6px;
    width: 45px;
    height: 46px;
  }

  .rda-library-title {
    font-size: 18px;
    line-height: 120%;
  }

  .rda-library-sub-title {
    line-height: 110%;
  }

  .rda-page-header {
    padding: 112px 0 26px;
  }

  .rda-account-content {
    padding: 35px 0;
  }

}

@media (max-width: 680px) {
  .woocommerce-account .rda-oh-stats {
    gap: 20px !important;
  }

  .woocommerce-account .rda-oh-actions {
    flex-wrap: wrap !important;
  }

  .woocommerce-account .rda-oh-action-btn {
    flex: none !important;
    width: calc(50% - 5px) !important;
  }

  .woocommerce-account .rda-oh-table-head,
  .woocommerce-account .rda-oh-table-row {
    grid-template-columns: 1fr 80px 90px !important;
  }
}

@media (max-width: 575px) {
  .rda-card {
    padding: 26px;
  }

  .rda-notif-row {
    padding: 15px;
  }

  .rda-addr-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .affiliate-card-group .order-history-card {
    flex: 100%;
    padding: 15px;
  }

  .order-history-card .order-title {
    font-size: 18px;
  }

  .referral-link .referral-input-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .rda-rate-group {
    flex-direction: column;
  }

  .order-content-headings {
    display: none;
  }

  .product-order-history-details {
    flex-direction: column;
  }

  .product-order-history-details>* {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    max-width: 100%;
  }

  .product-order-history-details .prdocut-name>*:first-child,
  .product-order-history-details .product-quantity>*:first-child,
  .product-order-history-details .product-sub-total>*:first-child {
    display: block;
    text-align: left;
  }

  .product-order-history-details .prdocut-name>*:last-child,
  .product-order-history-details .product-quantity>*:last-child,
  .product-order-history-details .product-sub-total>*:last-child {
    text-align: right;
  }

  .coa-libaray-row {
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
  }

  .rda-olist-progress {
    flex-direction: column;
  }

  .rda-olist-progress-step:last-child .rda-olist-progress-top {
    height: auto;
  }

  .rda-olist-progress-top {
    flex-direction: column;
    align-items: flex-start;
    height: 90px;
    max-width: 10px;
  }

  .rda-olist-progress-line {
    height: 100%;
    border-left: 2px dashed rgba(0, 0, 0, 0.2);
    border-top: none;
    margin: -18px auto;
  }

  .rda-olist-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    z-index: 1;
  }

  .rda-olist-progress-step {
    flex-direction: row;
    gap: 10px;
  }

  .rda-olist-step-label {
    margin-top: -6px;
  }

  .rda-olist-item:first-child {
    padding: 0 0 18px;
  }

  .rda-trd-step-top {
    flex-direction: column;
    align-items: flex-start;
    height: 90px;
    max-width: 10px;
  }

  .rda-trd-steps {
    flex-direction: column;
  }

  .rda-trd-step {
    flex-direction: row;
    gap: 10px;
  }

  .rda-trd-dashes {
    width: 4px;
    height: 100%;
    border-top: none;
    border-left: 2px dashed rgba(0, 0, 0, 0.2);
    margin: 0 auto;
  }

  .rda-trd-node {
    width: 12px;
    height: 12px;
    min-width: 12px;
  }

  .rda-trd-update-dot {
    width: 12px;
    height: 12px;
  }

  .rda-trd-step-label {
    margin-top: 0;
  }

  .rda-trd-step:last-child .rda-trd-step-top {
    height: auto;
  }

  .rda-page-header .top-content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}