/* ------------------------------------------------------------
   WooCommerce My Account — DTB
   White-background theme; card images preserved.
   Scoped to .woocommerce-account only.
   ------------------------------------------------------------ */

/* ── Page base: dark gradient matching IronTech Doll / brand pages ── */
body.woocommerce-account {
  background-color: #0d0d0d !important;
  background-image:
    radial-gradient(60% 80% at 30% 50%, rgba(196, 151, 62, 0.07) 0%, rgba(0,0,0,0) 65%),
    linear-gradient(170deg, #0d0d0d 0%, #16120a 60%, #0d0d0d 100%) !important;
  background-attachment: fixed !important;
}

/* ── Footer: keep original light background ── */
body.woocommerce-account .dtb-footer {
  background: #fff !important;
}

/* Ensure the account container fills the viewport height */
body.woocommerce-account .dtb-account-content-container {
  min-height: calc(100vh - 220px);
  padding-bottom: 80px;
  box-sizing: border-box;
}

/* ── Shared card style ── */
.dtb-ma-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-sizing: border-box;
}
.dtb-ma-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.54);
  pointer-events: none;
  z-index: 0;
}
.dtb-ma-card > * {
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════════════════════
   DESKTOP LAYOUT  (> 900px)
   ════════════════════════════════════════════════════════ */

/* Outer page wrapper (from page.php) */
body.woocommerce-account .dtb-account-content-container {
  max-width: 950px;
  width: 100%;
  margin: 40px auto 0;
  box-sizing: border-box;
}

/* MyAccount grid: 220px nav + content */
body.woocommerce-account .woocommerce-MyAccount {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 0 0 46px;
  box-sizing: border-box;
}

/* ── Nav card (sidebar) ── */
body.woocommerce-account .woocommerce-MyAccount-navigation {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 20px 16px;
  box-sizing: border-box;
  max-width: 220px;
  width: 100%;
  background-image: url('ma_card1.webp');
  background-size: cover;
  background-position: center;
  align-self: start;
}
body.woocommerce-account .woocommerce-MyAccount-navigation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  pointer-events: none;
  z-index: 0;
}
body.woocommerce-account .woocommerce-MyAccount-navigation > * {
  position: relative;
  z-index: 1;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0 0 4px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255,255,255,0.80);
  font-size: 14px;
  background: transparent;
  transition: background 0.15s, color 0.15s;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}

/* ── User avatar + name above nav links ── */
.dtb-account-user {
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.dtb-account-user__avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0;
}
.dtb-account-user__name {
  font-size: 13px;
  color: rgba(255,255,255,0.80);
  font-weight: 400;
  line-height: 1.3;
  word-break: break-word;
}

/* ── Content card ── */
body.woocommerce-account .woocommerce-MyAccount-content {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 24px;
  box-sizing: border-box;
  min-width: 0;
  max-width: 720px;
  background-image: url('ma_card2.webp');
  background-size: cover;
  background-position: center;
}
body.woocommerce-account .woocommerce-MyAccount-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  pointer-events: none;
  z-index: 0;
}
body.woocommerce-account .woocommerce-MyAccount-content > * {
  position: relative;
  z-index: 1;
}

/* Content text */
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-MyAccount-content p,
body.woocommerce-account .woocommerce-MyAccount-content li,
body.woocommerce-account .woocommerce-MyAccount-content td,
body.woocommerce-account .woocommerce-MyAccount-content th,
body.woocommerce-account .woocommerce-MyAccount-content label,
body.woocommerce-account .woocommerce-MyAccount-content strong,
body.woocommerce-account .woocommerce-MyAccount-content a,
body.woocommerce-account .woocommerce-MyAccount-content h1,
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
  color: rgba(255,255,255,0.90);
}
body.woocommerce-account .woocommerce-MyAccount-content a:hover {
  text-decoration: underline;
}

/* Extended text coverage — catches WooCommerce sub-page elements */
body.woocommerce-account .woocommerce-MyAccount-content span,
body.woocommerce-account .woocommerce-MyAccount-content small,
body.woocommerce-account .woocommerce-MyAccount-content em,
body.woocommerce-account .woocommerce-MyAccount-content address,
body.woocommerce-account .woocommerce-MyAccount-content legend,
body.woocommerce-account .woocommerce-MyAccount-content mark,
body.woocommerce-account .woocommerce-MyAccount-content abbr,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Price-amount,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Price-currencySymbol {
  color: rgba(255,255,255,0.90);
}
body.woocommerce-account .woocommerce-MyAccount-content fieldset {
  border-color: rgba(255,255,255,0.12);
}

/* Order detail: billing/shipping address — left-align, prevent overflow */
body.woocommerce-account .woocommerce-MyAccount-content address,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column p,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column address,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details {
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* WooCommerce notices inside content */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error {
  background: rgba(255,255,255,0.08) !important;
  border-top-color: rgba(255,255,255,0.28) !important;
  color: rgba(255,255,255,0.90) !important;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before {
  color: rgba(255,255,255,0.60) !important;
}

/* ── Order detail: section headings — match Andmed page style ── */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details h2,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title {
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.09em !important;
  color: rgba(255,255,255,0.35) !important;
  margin: 24px 0 12px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* ── Order detail: product table ── */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details thead th {
  font-size: 11px !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.35) !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
  background: transparent !important;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details tbody td {
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  background: transparent !important;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details tbody tr:last-child td {
  border-bottom: none !important;
}
/* Product name link */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details .product-name a {
  color: rgba(255,255,255,0.90) !important;
  text-decoration: none;
  font-weight: 400;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details .product-name a:hover {
  text-decoration: underline;
}

/* ── Order detail: totals (tfoot) ── */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot tr th {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.50) !important;
  padding: 8px 0 !important;
  border: none !important;
  background: transparent !important;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot tr td {
  font-size: 13px;
  color: rgba(255,255,255,0.75) !important;
  padding: 8px 0 !important;
  border: none !important;
  background: transparent !important;
}
/* Highlight the Grand Total row */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot .order-total th,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot .order-total td {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #fff !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255,255,255,0.12) !important;
}

/* ── Order detail: address block ── */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details {
  margin-top: 8px;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details address {
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: rgba(255,255,255,0.70) !important;
  font-style: normal !important;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 16px !important;
  margin: 0 !important;
}
/* Phone and email rows inside address */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details address p {
  font-size: 13px !important;
  color: rgba(255,255,255,0.70) !important;
  margin: 4px 0 0 !important;
}

/* Form inputs inside content */
body.woocommerce-account .woocommerce-MyAccount-content form .form-row input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content form .form-row input[type="text"],
body.woocommerce-account .woocommerce-MyAccount-content form .form-row input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content form .form-row input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content form .form-row textarea,
body.woocommerce-account .woocommerce-MyAccount-content form .form-row select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.30);
  color: rgba(255,255,255,0.92);
  outline: none;
}
body.woocommerce-account .woocommerce-MyAccount-content form .form-row input:focus,
body.woocommerce-account .woocommerce-MyAccount-content form .form-row textarea:focus,
body.woocommerce-account .woocommerce-MyAccount-content form .form-row select:focus {
  border-color: rgba(255,255,255,0.32);
}

/* Buttons inside content */
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button.button,
body.woocommerce-account .woocommerce-MyAccount-content a.button {
  border-radius: 999px;
  padding: 11px 22px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 400;
  text-transform: none;
  text-decoration: none;
  display: inline-block;
}
body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content a.button:hover {
  background: rgba(255,255,255,0.22);
  text-decoration: none;
}

/* Tables — force transparent, no box border (WC default adds white bg + border) */
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table {
  border-collapse: collapse !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 100%;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
  border-color: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.90);
  background: transparent !important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th {
  font-weight: 400;
}

/* Order details: right-align the price / amount column only */
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td.product-total,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th:last-child,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot td {
  text-align: right;
}

/* Order details: variation metadata — collapse spacing between rows */
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table .wc-item-meta,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table .variation {
  margin: 2px 0 0;
  padding: 0 0 0 12px;
  list-style: none;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table .wc-item-meta li {
  line-height: 1.3;
  margin: 0;
  padding: 0;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table .wc-item-meta li p {
  display: inline;
  margin: 0;
}

/* ════════════════════════════════════════════════════════
   LOGIN PAGE  (DTB custom form-login.php template)
   Matches the header login modal exactly:
   • Same dark-glass card (ma_card2.webp + rgba(0,0,0,0.58))
   • Inline forgot-password view (same JS/AJAX as modal)
   • Plain inputs = no WooCommerce white-bg interference
   ════════════════════════════════════════════════════════ */

/* Centre the login card */
body.woocommerce-account .dtb-login-page-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 60px;
  min-height: 50vh;
  box-sizing: border-box;
}

/* Card — identical spec to .dtb-login-modal__panel */
.dtb-login-page-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  border-radius: 18px;
  background-image: url('ma_card2.webp');
  background-size: cover;
  background-position: center;
  padding: 36px 28px 28px;
  box-sizing: border-box;
}
.dtb-login-page-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
  pointer-events: none;
  z-index: 0;
}
.dtb-login-page-card > * {
  position: relative;
  z-index: 1;
}

/* Headings */
.dtb-login-page-card h2 {
  color: #fff !important;
  font-size: 1.3em;
  font-weight: 400;
  margin: 0 0 20px !important;
  border: none !important;
  padding: 0 !important;
}

/* ── Strip WooCommerce's default white card / border from the <form> ── */
.dtb-login-page-card form.woocommerce-form,
.dtb-login-page-card form.woocommerce-form-login {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

/* ── Inputs: force dark glass style (beats WC specificity) ── */
.dtb-login-page-card .dtb-lf-row input[type="text"],
.dtb-login-page-card .dtb-lf-row input[type="password"],
.dtb-login-page-card .dtb-lf-row input[type="email"],
.dtb-login-page-card .dtb-lf-row input.woocommerce-Input,
.dtb-login-page-card .dtb-lf-row input.input-text {
  background: rgba(0,0,0,0.30) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
}
.dtb-login-page-card .dtb-lf-row input::placeholder {
  color: rgba(255,255,255,0.45) !important;
}
.dtb-login-page-card .dtb-lf-row input:focus {
  border-color: rgba(255,255,255,0.40) !important;
  box-shadow: none !important;
}

/* ── Checkbox label colour ── */
.dtb-login-page-card .dtb-lf-check label,
.dtb-login-page-card .dtb-lf-check label span {
  color: rgba(255,255,255,0.70) !important;
}

/* ── WooCommerce notices injected inside the card ── */
.dtb-login-page-card .woocommerce-error,
.dtb-login-page-card .woocommerce-message,
.dtb-login-page-card .woocommerce-info {
  background: rgba(255,255,255,0.08) !important;
  border-top-color: rgba(255,255,255,0.25) !important;
  color: rgba(255,255,255,0.90) !important;
  border-radius: 10px;
  list-style: none;
  padding: 10px 14px !important;
  margin: 0 0 10px !important;
}
.dtb-login-page-card .woocommerce-error li {
  margin: 0;
  padding: 0;
}

/* "Register" link below card */
.dtb-login-page-register {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.50) !important;
  text-align: center;
}
.dtb-login-page-register a {
  color: rgba(255,255,255,0.80) !important;
  text-decoration: underline !important;
}

/* ── Fallback: non-DTB login form rendering (safety net) ── */
body.woocommerce-account .dtb-account-content-container:has(form.woocommerce-form-login) {
  max-width: 400px;
  margin-inline: auto;
  padding: 40px 16px 60px;
}

/* ── Lost / reset password pages (WC built-in, not our popup) ── */
body.woocommerce-account .woocommerce form.lost_reset_password,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword {
  max-width: 400px;
  margin: 40px auto;
  padding: 34px 30px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background-image: url('ma_card2.webp');
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
}
body.woocommerce-account .woocommerce form.lost_reset_password::before,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
  pointer-events: none;
  z-index: 0;
}
body.woocommerce-account .woocommerce form.lost_reset_password > *,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword > * {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.90);
}

/* ════════════════════════════════════════════════════════
   ORDER HEADER  (dtb-order-header — all breakpoints)
   ════════════════════════════════════════════════════════ */

.dtb-order-header {
  margin-bottom: 20px;
}
.dtb-order-header__top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.dtb-order-header__number {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
}
.dtb-order-header__date {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* Status badge — order detail header */
.dtb-order-header__status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Status badge — orders list table */
.dtb-order-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.dtb-os--completed  { background: rgba(50,180,100,0.20); color: rgba(140,255,180,0.95); border: 1px solid rgba(50,180,100,0.25); }
.dtb-os--processing { background: rgba(200,160,40,0.20); color: rgba(255,220,120,0.95); border: 1px solid rgba(200,160,40,0.25); }
.dtb-os--hold       { background: rgba(200,160,40,0.20); color: rgba(255,220,120,0.95); border: 1px solid rgba(200,160,40,0.25); }
.dtb-os--cancelled  { background: rgba(200,50,50,0.20);  color: rgba(255,160,160,0.95); border: 1px solid rgba(200,50,50,0.25); }
.dtb-os--refunded   { background: rgba(120,80,200,0.20); color: rgba(200,170,255,0.95); border: 1px solid rgba(120,80,200,0.25); }
.dtb-os--failed     { background: rgba(200,50,50,0.20);  color: rgba(255,160,160,0.95); border: 1px solid rgba(200,50,50,0.25); }
.dtb-os--pending    { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.70); border: 1px solid rgba(255,255,255,0.14); }
.dtb-os--default    { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.70); border: 1px solid rgba(255,255,255,0.14); }

/* ════════════════════════════════════════════════════════
   MOBILE  (≤ 900px)
   ════════════════════════════════════════════════════════ */

@media (max-width: 900px) {

  /* Hide the desktop user-avatar block on mobile (nav is horizontal, no room) */
  .dtb-account-user {
    display: none !important;
  }

  /* Remove all side gutters from the outer container */
  body.woocommerce-account .dtb-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.woocommerce-account .dtb-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.woocommerce-account .dtb-account-content-container {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  body.woocommerce-account article,
  body.woocommerce-account .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  /* Stack nav above content */
  body.woocommerce-account .woocommerce-MyAccount {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    max-width: 100%;
  }

  /* ── Nav strip: full-width with card1 bg ── */
  body.woocommerce-account .woocommerce-MyAccount-navigation {
    max-width: 100% !important;
    width: 100% !important;
    flex: none !important;
    border-radius: 0 !important;
    padding: 12px 10px 10px !important;
    background-image: url('ma_card1.webp') !important;
    background-size: cover !important;
    background-position: center !important;
  }

  /* Horizontal pill row — single scrollable row */
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
    display: none;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 !important;
  }

  /* Pills */
  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: inline-flex !important;
    align-items: center;
    white-space: nowrap;
    padding: 9px 16px !important;
    border-radius: 999px !important;
    font-size: 13px;
    background: rgba(255,255,255,0.10) !important;
    color: rgba(255,255,255,0.85) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: rgba(255,255,255,0.24) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.24) !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: rgba(255,255,255,0.18) !important;
    color: #fff !important;
  }

  /* Logout: own row, right-aligned */
  body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
    flex: 0 0 100% !important;
    display: flex !important;
    justify-content: flex-end;
    margin-top: 2px;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
    font-size: 12px !important;
    padding: 7px 14px !important;
    background: rgba(200,50,50,0.18) !important;
    border-color: rgba(200,50,50,0.22) !important;
    color: rgba(255,160,160,0.92) !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: rgba(200,50,50,0.32) !important;
    color: #fff !important;
  }

  /* ── Content card: full-width, card2 bg ── */
  body.woocommerce-account .woocommerce-MyAccount-content {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;
    padding: 20px 12px 40px !important;
    margin: 0;
    min-height: 60vh;
    background-image: url('ma_card2.webp') !important;
  }

  /* Orders table: stacked card layout — no horizontal scroll */
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table {
    display: block;
    width: 100%;
    min-width: 0;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead {
    display: none;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody,
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tr {
    display: block;
    width: 100%;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tr {
    margin-bottom: 10px;
    padding: 10px 12px 6px;
    background: rgba(0,0,0,0.20);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.90);
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td:last-child {
    border-bottom: none;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td::before {
    content: attr(data-title);
    color: rgba(255,255,255,0.50);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    margin-right: 12px;
    flex-shrink: 0;
  }

  /* Order number: show as card title at top */
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number {
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
    padding-bottom: 8px !important;
    margin-bottom: 2px;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number::before {
    content: "NR" !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number a {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.95) !important;
    text-decoration: none !important;
  }

  /* Hide tarneinfo column (added by DTB tracking plugin) */
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-ldst-tracking {
    display: none !important;
  }

  /* Actions cell: hide "Toimingud" label, show button only */
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
    border-bottom: none;
    padding-top: 10px !important;
    justify-content: stretch;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before {
    display: none !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button {
    width: 100% !important;
    text-align: center;
  }

  /* ── Order detail page: section spacing ── */
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details {
    margin-top: 20px;
  }

  /* Order details table — responsive layout */
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) {
    min-width: 0;
    width: 100%;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.08);
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) thead {
    display: none;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) tbody,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) tfoot {
    display: block;
    width: 100%;
  }
  /* Product rows: name left, price right on same line */
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) tbody tr {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) tbody td {
    display: block;
    border: none;
    padding: 0;
    color: rgba(255,255,255,0.90);
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) tbody td.product-name {
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.4;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) tbody td.product-total {
    flex: 0 0 auto;
    text-align: right;
    font-size: 14px;
    white-space: nowrap;
  }
  /* Totals (tfoot) rows */
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) tfoot tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) tfoot tr:last-child {
    border-bottom: none;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) tfoot th {
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.50);
    border: none;
    padding: 0;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) tfoot td {
    text-align: right;
    border: none;
    padding: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.90);
  }
  /* Highlight the total row */
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) tfoot tr:last-child th,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) tfoot tr:last-child td {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table:not(.woocommerce-orders-table) tfoot tr:last-child {
    border-top: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
  }

  /* Touch-friendly inputs */
  body.woocommerce-account .woocommerce form .form-row input.input-text,
  body.woocommerce-account .woocommerce form .form-row select,
  body.woocommerce-account .woocommerce form .form-row textarea {
    font-size: 16px;
    padding: 14px 12px;
  }

  /* Full-width buttons */
  body.woocommerce-account .woocommerce-MyAccount-content .button,
  body.woocommerce-account .woocommerce-MyAccount-content button.button,
  body.woocommerce-account .woocommerce-MyAccount-content a.button {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    box-sizing: border-box;
    display: block;
  }

  /* ── Login card: full-width on mobile ── */
  body.woocommerce-account #customer_login {
    padding: 20px 5px 40px;
  }
  body.woocommerce-account #customer_login .u-column1 {
    max-width: 100%;
    border-radius: 18px;
  }

  /* Login button full-width */
  body.woocommerce-account #customer_login form .button,
  body.woocommerce-account #customer_login form button.button {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    box-sizing: border-box;
    display: block;
  }

  /* ── Order detail: section headings (mobile inherits global rule, just adjust margin) ── */
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details__title,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details h2,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title {
    margin: 20px 0 10px !important;
  }

  /* ── Order detail: address cards ── */
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-columns {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column {
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column address,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.80) !important;
    margin: 0;
  }

  /* ── Order detail: order info paragraph ── */
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-overview {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.75) !important;
    margin-bottom: 20px;
  }
}

/* ════════════════════════════════════════════════════════
   DASHBOARD + ORDERS PAGE TYPOGRAPHY
   Matches the Andmed form aesthetic: small labels, 14px body
   ════════════════════════════════════════════════════════ */

/* Dashboard greeting */
.dtb-myaccount-dashboard-title {
  font-size: 17px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.92) !important;
  margin: 0 0 6px !important;
}
.dtb-myaccount-dashboard-text {
  font-size: 13px !important;
  color: rgba(255,255,255,0.45) !important;
  margin: 0 0 22px !important;
}

/* Orders section divider label — text comes from data-label attribute (set via PHP/i18n) */
.dtb-myaccount-orders-card::before {
  content: attr(data-label);
  text-transform: uppercase;
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.35);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}

/* Orders table text — match Andmed form sizing */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-date time {
  font-size: 13px;
  color: rgba(255,255,255,0.60);
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-total {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.90);
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-number a {
  font-size: 14px;
}

/* ════════════════════════════════════════════════════════
   ANDMED (edit-account) FORM  — all breakpoints
   ════════════════════════════════════════════════════════ */

/* Section grouping */
.dtb-edit-account-form .dtb-form-section {
  margin-bottom: 22px;
}
.dtb-edit-account-form .dtb-form-section__title {
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.35) !important;
  margin: 0 0 12px !important;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dtb-edit-account-form .dtb-form-section--password .dtb-form-section__title {
  margin-top: 4px !important;
}
.dtb-edit-account-form .dtb-form-section__hint {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin: -6px 0 12px;
  line-height: 1.4;
}

/* Form rows: tighter spacing */
.dtb-edit-account-form .woocommerce-form-row {
  margin-bottom: 12px !important;
}
.dtb-edit-account-form label {
  font-size: 12px !important;
  color: rgba(255,255,255,0.55) !important;
  margin-bottom: 5px !important;
  display: block;
}
.dtb-edit-account-form .woocommerce-MyAccount-content form .form-row input.input-text,
.dtb-edit-account-form input.input-text,
.dtb-edit-account-form input[type="text"],
.dtb-edit-account-form input[type="email"],
.dtb-edit-account-form input[type="password"],
.dtb-edit-account-form input[type="tel"] {
  padding: 10px 12px !important;
  font-size: 14px !important;
}

/* Shipping address section */
.dtb-form-section--shipping {
  background: rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 16px 18px;
}

/* Select input */
.dtb-edit-account-form select.woocommerce-Input {
  width: 100% !important;
  box-sizing: border-box;
  padding: 10px 12px !important;
  font-size: 14px !important;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.30);
  color: rgba(255,255,255,0.90);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px !important;
  cursor: pointer;
}
.dtb-edit-account-form select.woocommerce-Input:focus {
  border-color: rgba(255,255,255,0.32);
}
.dtb-edit-account-form select.woocommerce-Input option {
  background: #1a1a1a;
  color: #fff;
}

/* Three-column grid (city + postcode + country) */
.dtb-form-grid.dtb-form-grid--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Address inner wrapper — relative so dropdown positions correctly */
.dtb-addr-wrap {
  position: relative;
  display: block;
}
.dtb-addr-wrap input.input-text {
  width: 100%;
  box-sizing: border-box;
}

/* Maa-amet autocomplete dropdown */
.dtb-addr-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9999;
  list-style: none;
  margin: 2px 0 0;
  padding: 4px 0;
  background: #1c1a14;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.55);
  max-height: 220px;
  overflow-y: auto;
}
.dtb-addr-item {
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  line-height: 1.3;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.1s;
}
.dtb-addr-item:last-child { border-bottom: none; }
.dtb-addr-item:hover,
.dtb-addr-item.dtb-addr-active {
  background: rgba(196,151,62,0.14);
  color: #fff;
}

/* Password input + toggle wrapper */
.dtb-edit-account-form .dtb-pw-wrap {
  position: relative;
  display: block;
}
.dtb-edit-account-form .dtb-pw-wrap input.input-text {
  width: 100% !important;
  box-sizing: border-box;
  padding-right: 46px !important;
}
.dtb-edit-account-form .dtb-pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: rgba(255,255,255,0.40);
  transition: color 0.15s;
  line-height: 0;
}
.dtb-edit-account-form .dtb-pw-toggle:hover {
  color: rgba(255,255,255,0.75);
}
.dtb-edit-account-form .dtb-pw-toggle svg.dtb-eye {
  width: 18px;
  height: 18px;
  display: block;
}
/* Show/hide — add svg tag to selector (specificity 41) to beat svg.dtb-eye rule (31) */
.dtb-edit-account-form .dtb-pw-toggle svg.dtb-eye.dtb-eye--hide { display: none; }
.dtb-edit-account-form .dtb-pw-wrap.dtb-pw-visible .dtb-pw-toggle svg.dtb-eye.dtb-eye--show { display: none; }
.dtb-edit-account-form .dtb-pw-wrap.dtb-pw-visible .dtb-pw-toggle svg.dtb-eye.dtb-eye--hide { display: block; }

/* Save row */
.dtb-edit-account-form .dtb-save-row {
  margin-top: 8px;
}
.dtb-edit-account-form .dtb-save-btn {
  min-width: 180px;
}

/* Mobile overrides for edit-account form */
@media (max-width: 900px) {
  .dtb-edit-account-form .dtb-save-btn {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 15px 20px !important;
    box-sizing: border-box;
    font-size: 15px;
  }
  .dtb-edit-account-form .dtb-pw-wrap input.input-text {
    font-size: 16px;
  }
}

/* ════════════════════════════════════════════════════════
   DESKTOP-ONLY IMPROVEMENTS  (> 900px)
   ════════════════════════════════════════════════════════ */

@media (min-width: 901px) {

  /* ── Wider container to fit 220px nav ── */
  body.woocommerce-account .dtb-account-content-container {
    max-width: 1020px;
    padding: 0 20px 80px;
  }

  /* ── Content card: expand to fill the grid cell ── */
  body.woocommerce-account .woocommerce-MyAccount-content {
    max-width: 100%;
  }

  /* ── Orders table: styled desktop layout ── */
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table {
    border-collapse: collapse;
    width: 100%;
  }

  /* Table header */
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead tr {
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead th {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.38);
    padding: 0 12px 12px;
    border: none;
    white-space: nowrap;
  }

  /* Rows */
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: background 0.12s;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr:last-child {
    border-bottom: none;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr:hover {
    background: rgba(255,255,255,0.04);
  }

  /* Cells */
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td {
    padding: 14px 12px;
    border: none;
    font-size: 14px;
    vertical-align: middle;
    color: rgba(255,255,255,0.88);
  }

  /* Column widths */
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number {
    width: 90px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-date {
    width: 130px;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
    width: 150px;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-total {
    font-weight: 500;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
    text-align: right;
    width: 160px;
  }

  /* Order number link — no underline, inherit bold weight */
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-weight: 600;
  }
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline;
  }

  /* Action button — smaller pill, right-aligned */
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
    display: inline-block !important;
    width: auto !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
  }

  /* ── Andmed form: two-column grid for profile fields ── */
  .dtb-edit-account-form .dtb-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .dtb-edit-account-form .dtb-form-grid .form-row {
    margin: 0;
  }

  /* Password section as a subtle inset card */
  .dtb-edit-account-form .dtb-form-section--password {
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 24px;
  }
  .dtb-edit-account-form .dtb-form-section--password .dtb-form-section__title {
    margin-top: 0 !important;
    border-bottom-color: rgba(255,255,255,0.10);
  }

}

/* ============================================================
   LOYALTY POINTS — dashboard mini-card + full Boonused page
   ============================================================ */

/* ── Nav sidebar loyalty progress bar (below name, above menu items) ── */
.dtb-nav-loyalty-bar {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}
.dtb-nav-loyalty-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #c4973e, #e8c06a);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.dtb-nav-loyalty-bar--gold .dtb-nav-loyalty-bar__fill {
  background: linear-gradient(90deg, #c4973e, #f5d98a, #c4973e);
  background-size: 200% 100%;
  animation: dtb-gold-shimmer 2.5s linear infinite;
}
@keyframes dtb-gold-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Dashboard mini-card ── */
.dtb-dash-loyalty {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(196,151,62,0.12) 0%, rgba(196,151,62,0.04) 100%);
  border: 1px solid rgba(196,151,62,0.28);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}
/* no hover — card is no longer a link */
.dtb-dash-loyalty__left {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}
.dtb-dash-loyalty__star {
  font-size: 20px;
  color: #c4973e;
  line-height: 1;
}
.dtb-dash-loyalty__pts {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.dtb-dash-loyalty__word {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.dtb-dash-loyalty__badge {
  font-size: 12px;
  font-weight: 600;
  color: #c4973e;
  background: rgba(196,151,62,0.12);
  border: 1px solid rgba(196,151,62,0.3);
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 4px;
}
.dtb-dash-loyalty__right {
  flex: 1;
  min-width: 0;
}
.dtb-dash-loyalty__bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}
.dtb-dash-loyalty__fill {
  height: 100%;
  background: linear-gradient(90deg, #c4973e, #e8c06a);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.dtb-dash-loyalty__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.dtb-dash-loyalty__sub--gold {
  color: #c4973e;
  font-weight: 600;
}

/* ── Full Boonused page ── */
.dtb-loyalty {
  max-width: 560px;
}

.dtb-loyalty__card {
  background: linear-gradient(135deg, rgba(196,151,62,0.14) 0%, rgba(196,151,62,0.04) 100%);
  border: 1px solid rgba(196,151,62,0.30);
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 24px;
}
.dtb-loyalty__star {
  display: block;
  font-size: 32px;
  color: #c4973e;
  margin-bottom: 8px;
}
.dtb-loyalty__total {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.dtb-loyalty__label {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  margin-top: 4px;
  margin-bottom: 12px;
}
.dtb-loyalty__tier {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 14px;
}
.dtb-loyalty__tier--gold {
  color: #c4973e;
  background: rgba(196,151,62,0.12);
  border: 1px solid rgba(196,151,62,0.30);
}

/* Progress block */
.dtb-loyalty__progress-wrap {
  margin-bottom: 20px;
}
.dtb-loyalty__progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  margin-bottom: 8px;
}
.dtb-loyalty__progress-next {
  color: #c4973e;
  font-weight: 500;
}
.dtb-loyalty__progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}
.dtb-loyalty__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #c4973e, #e8c06a);
  border-radius: 999px;
  transition: width 0.5s ease;
}
.dtb-loyalty__progress-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

.dtb-loyalty__gold-achieved {
  text-align: center;
  margin-bottom: 20px;
}

/* Info blurb */
.dtb-loyalty__info {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  margin-bottom: 28px;
  line-height: 1.6;
}
.dtb-loyalty__info strong {
  color: rgba(255,255,255,0.75);
}

/* History */
.dtb-loyalty__history-title {
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.09em !important;
  color: rgba(255,255,255,0.35) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 10px;
  margin-bottom: 0 !important;
}
.dtb-loyalty__history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.dtb-loyalty__history-table th {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.30);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: left;
  background: transparent !important;
}
.dtb-loyalty__history-table td {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.70);
  background: transparent !important;
}
.dtb-loyalty__history-table tr:last-child td {
  border-bottom: none;
}
.dtb-loyalty__history-table a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
}
.dtb-loyalty__history-table a:hover {
  text-decoration: underline;
}
.dtb-loyalty__history-pts {
  text-align: right !important;
  color: #c4973e !important;
  font-weight: 700 !important;
}

.dtb-loyalty__empty {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

