:root {
  --ldshop-orange: #ff4f1f;
  --ldshop-orange-dark: #ed3f12;
  --ldshop-orange-soft: #fff0e9;
  --ldshop-gold: #c79500;
  --ldshop-gold-soft: #fff9e8;
  --ldshop-page: #f7f7f7;
  --ldshop-card: #ffffff;
  --ldshop-text: #333333;
  --ldshop-muted: #8b8b8b;
  --ldshop-line: #eeeeee;
  --ldshop-green: #278c34;
  --ldshop-radius: 13px;
  --ldshop-shadow: 0 6px 20px rgba(24, 24, 24, .025);
}

.woocommerce-account .woocommerce {
  display: block !important;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px;
  color: var(--ldshop-text);
  background: var(--ldshop-page);
  box-sizing: border-box;
}

.woocommerce-account .ldshop-account-shell {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

/* Override width/max-width/flex rules inherited from the active theme. */
body.woocommerce-account .ldshop-account-shell > .woocommerce-MyAccount-navigation {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  justify-self: stretch !important;
}

body.woocommerce-account .ldshop-account-shell > .woocommerce-MyAccount-content {
  display: block !important;
  grid-column: 2 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  justify-self: stretch !important;
  align-self: start !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > .ldshop-dashboard,
body.woocommerce-account .woocommerce-MyAccount-content > .ldshop-inner-page {
  display: grid;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > .ldshop-inner-page {
  display: block;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  position: sticky;
  top: 24px;
}

.woocommerce-account .woocommerce-MyAccount-content {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ldshop-account-nav {
  min-height: 520px;
  padding: 18px 16px;
  background: var(--ldshop-card);
  border: 1px solid #f4f4f4;
  border-radius: var(--ldshop-radius);
  box-shadow: var(--ldshop-shadow);
}

.ldshop-nav-list,
.woocommerce-account .woocommerce-MyAccount-navigation .ldshop-nav-list {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ldshop-nav-item,
.woocommerce-account .woocommerce-MyAccount-navigation .ldshop-nav-item {
  margin: 0 0 4px;
  padding: 0;
  border: 0;
}

.ldshop-nav-item a,
.woocommerce-account .woocommerce-MyAccount-navigation .ldshop-nav-item a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 38px;
  padding: 8px 14px;
  color: #4b4b4b;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none !important;
  transition: color .18s ease, background-color .18s ease;
}

.ldshop-nav-item a:hover {
  color: var(--ldshop-orange);
  background: #fff8f4;
}

.ldshop-nav-item.is-active a {
  color: var(--ldshop-orange);
  background: var(--ldshop-orange-soft);
  box-shadow: 0 3px 10px rgba(255, 79, 31, .04);
}

.ldshop-nav-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #454545;
}

.ldshop-nav-item.is-active .ldshop-nav-icon {
  color: var(--ldshop-orange);
}

.ldshop-nav-icon svg,
.ldshop-chevron svg,
.ldshop-outline-button svg,
.ldshop-point-medal svg,
.ldshop-history-icon svg,
.ldshop-support-icon svg,
.ldshop-verified svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ldshop-nav-divider {
  height: 1px;
  margin: 14px 6px !important;
  padding: 0 !important;
  background: var(--ldshop-line);
}

.ldshop-nav-badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: auto;
  padding: 0 5px;
  color: #fff;
  background: var(--ldshop-orange);
  border-radius: 20px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.ldshop-nav-logout a {
  color: #865243;
}

.ldshop-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ldshop-card,
.ldshop-inner-page {
  background: var(--ldshop-card);
  border: 1px solid #f5f5f5;
  border-radius: var(--ldshop-radius);
  box-shadow: var(--ldshop-shadow);
}

.ldshop-card {
  min-height: 154px;
  padding: 22px 24px;
}

.ldshop-profile-top,
.ldshop-profile-identity,
.ldshop-card-heading,
.ldshop-card-action-row,
.ldshop-page-header,
.ldshop-coupon-points,
.ldshop-history-row,
.ldshop-notification-row {
  display: flex;
  align-items: center;
}

.ldshop-profile-top {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.ldshop-profile-identity {
  gap: 17px;
  min-width: 0;
}

.ldshop-profile-avatar,
.ldshop-profile-avatar img {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
}

.ldshop-profile-avatar img {
  object-fit: cover;
}

.ldshop-profile-identity strong {
  overflow: hidden;
  color: #282828;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ldshop-outline-button,
.ldshop-primary-button,
.ldshop-gold-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 20px !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.ldshop-outline-button {
  color: #3f3f3f !important;
  background: #fff !important;
  border: 1px solid #d7d7d7 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .03);
}

.ldshop-outline-button svg {
  width: 17px;
  height: 17px;
}

.ldshop-primary-button {
  color: #fff !important;
  background: var(--ldshop-orange) !important;
  border: 1px solid var(--ldshop-orange) !important;
}

.ldshop-gold-button {
  color: #fff !important;
  background: var(--ldshop-gold) !important;
  border: 1px solid var(--ldshop-gold) !important;
}

.ldshop-outline-button:hover,
.ldshop-primary-button:hover,
.ldshop-gold-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .1);
}

.ldshop-profile-meta {
  display: grid;
  gap: 8px;
}

.ldshop-profile-meta > div {
  display: flex;
  align-items: center;
  min-width: 0;
  font-size: 12px;
}

.ldshop-profile-meta span:first-child {
  width: 66px;
  flex: 0 0 66px;
  color: #999;
}

.ldshop-profile-meta strong,
.ldshop-profile-meta em {
  overflow: hidden;
  margin-right: 8px;
  color: #4d4d4d;
  font-style: normal;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ldshop-profile-meta a {
  color: var(--ldshop-orange);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.ldshop-verified {
  display: inline-flex;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--ldshop-green);
}

.ldshop-card-heading {
  justify-content: space-between;
  min-height: 33px;
  padding-bottom: 16px;
  color: #555;
  border-bottom: 1px solid var(--ldshop-line);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none !important;
}

a.ldshop-card-heading:hover {
  color: var(--ldshop-orange);
}

.ldshop-chevron {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: #777;
}

.ldshop-order-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 24px;
}

.ldshop-order-stats > div {
  min-width: 0;
  text-align: center;
}

.ldshop-order-stats strong,
.ldshop-order-stats span {
  display: block;
}

.ldshop-order-stats strong {
  margin-bottom: 6px;
  color: #323232;
  font-size: 18px;
  font-weight: 700;
}

.ldshop-order-stats span {
  overflow: hidden;
  color: #777;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ldshop-card-action-row {
  justify-content: space-between;
  gap: 18px;
  padding-top: 23px;
}

.ldshop-balance-value,
.ldshop-points-value {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ldshop-mini-flag {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 17px;
  color: #ffe600;
  background: #e71d25;
  border-radius: 2px;
  font-size: 9px;
}

.ldshop-balance-value strong {
  color: #494949;
  font-size: 14px;
}

.ldshop-point-medal {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--ldshop-gold);
}

.ldshop-points-value strong {
  color: var(--ldshop-gold);
  font-size: 15px;
}

.ldshop-points-value > span:not(.ldshop-point-medal) {
  margin-left: 10px;
  color: #aaa;
  font-size: 10px;
}

.ldshop-points-value b {
  color: #555;
  font-size: 11px;
}

.ldshop-recent-card {
  grid-column: 1 / -1;
  min-height: 145px;
}

.ldshop-recent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 34px;
  padding-top: 20px;
}

.ldshop-recent-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: var(--ldshop-text);
  text-decoration: none !important;
}

.ldshop-product-image,
.ldshop-product-image img {
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
}

.ldshop-product-image img {
  object-fit: cover;
}

.ldshop-product-copy {
  display: block;
  min-width: 0;
}

.ldshop-product-copy strong,
.ldshop-product-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ldshop-product-copy strong {
  margin-bottom: 5px;
  color: #454545;
  font-size: 13px;
  font-weight: 500;
}

.ldshop-product-copy small {
  color: #a0a0a0;
  font-size: 10px;
}

.ldshop-inner-page {
  min-height: 520px;
  padding: 28px 30px;
}

.ldshop-page-header {
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ldshop-line);
}

.ldshop-page-header h2 {
  margin: 0 0 5px !important;
  padding: 0 !important;
  color: #333 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.ldshop-page-header p {
  margin: 0;
  color: #999;
  font-size: 12px;
}

.ldshop-coupon-points,
.ldshop-points-hero {
  margin-top: 20px;
  padding: 18px 20px;
  background: linear-gradient(100deg, var(--ldshop-orange-soft), #fff8f4);
  border: 1px solid #ffe0d3;
  border-radius: 8px;
}

.ldshop-coupon-points {
  gap: 14px;
}

.ldshop-coupon-points > div:nth-child(2) span,
.ldshop-coupon-points > div:nth-child(2) strong {
  display: block;
}

.ldshop-coupon-points > div:nth-child(2) span {
  color: #8f8f8f;
  font-size: 10px;
}

.ldshop-coupon-points > div:nth-child(2) strong {
  color: var(--ldshop-orange);
  font-size: 22px;
}

.ldshop-coupon-points p {
  margin: 0 0 0 auto;
  color: #777;
  font-size: 11px;
}

.ldshop-coupon-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  color: #999;
  font-size: 11px;
}

.ldshop-sort-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin: 0 !important;
  padding: 0 13px !important;
  color: #333 !important;
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 5px !important;
  opacity: 1 !important;
  font-size: 11px !important;
  cursor: pointer;
}

.ldshop-sort-button::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 50%;
  color: #333;
  font-size: 12px;
  pointer-events: none;
  transform: translateY(-58%);
}

.ldshop-coupon-sort {
  min-width: 158px;
  min-height: 38px;
  margin: 0 !important;
  padding: 8px 24px 8px 0 !important;
  color: #333 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer;
}

.ldshop-coupon-sort:focus {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.ldshop-coupon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.ldshop-orders-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.ldshop-orders-summary > div {
  padding: 15px 12px;
  text-align: center;
  background: var(--ldshop-orange-soft);
  border: 1px solid #ffe0d3;
  border-radius: 7px;
}

.ldshop-orders-summary strong,
.ldshop-orders-summary span {
  display: block;
}

.ldshop-orders-summary strong {
  margin-bottom: 4px;
  color: var(--ldshop-orange);
  font-size: 20px;
  line-height: 1;
}

.ldshop-orders-summary span {
  color: #777;
  font-size: 10px;
}

.ldshop-orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 23px;
  padding: 0 2px 13px;
  color: #999;
  border-bottom: 1px solid var(--ldshop-line);
  font-size: 11px;
}

.ldshop-orders-toolbar > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #444;
}

.ldshop-orders-toolbar svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--ldshop-orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ldshop-order-list {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--ldshop-line);
  border-radius: 8px;
}

.ldshop-order-list-head,
.ldshop-order-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) minmax(82px, .6fr) minmax(92px, .7fr) minmax(110px, .8fr) minmax(105px, .75fr) 72px;
  align-items: center;
  gap: 14px;
}

.ldshop-order-list-head {
  min-height: 43px;
  padding: 10px 15px;
  color: #777;
  background: #fafafa;
  border-bottom: 1px solid var(--ldshop-line);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.ldshop-order-row {
  min-height: 92px;
  padding: 14px 15px;
  background: #fff;
  border-bottom: 1px solid var(--ldshop-line);
}

.ldshop-order-row:last-child {
  border-bottom: 0;
}

.ldshop-order-row:hover {
  background: #fffaf7;
}

.ldshop-order-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ldshop-order-image,
.ldshop-order-image img {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 7px;
}

.ldshop-order-image img {
  object-fit: cover;
}

.ldshop-order-product > span:last-child {
  min-width: 0;
}

.ldshop-order-product strong,
.ldshop-order-product small,
.ldshop-order-total strong,
.ldshop-order-total small {
  display: block;
}

.ldshop-order-product strong {
  overflow: hidden;
  margin-bottom: 5px;
  color: #444;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ldshop-order-product small,
.ldshop-order-total small {
  color: #a0a0a0;
  font-size: 9px;
}

.ldshop-order-number a {
  color: var(--ldshop-orange);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.ldshop-order-date,
.ldshop-order-total {
  color: #555;
  font-size: 11px;
}

.ldshop-order-total strong {
  margin-bottom: 4px;
  color: #333;
  font-size: 12px;
  font-weight: 600;
}

.ldshop-order-status > span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 9px;
  color: #a76c00;
  background: #fff7dc;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.ldshop-order-status > .is-completed {
  color: #257c35;
  background: #ecf8ef;
}

.ldshop-order-status > .is-processing {
  color: #b3451e;
  background: var(--ldshop-orange-soft);
}

.ldshop-order-status > .is-refunded,
.ldshop-order-status > .is-cancelled,
.ldshop-order-status > .is-failed {
  color: #777;
  background: #f1f1f1;
}

.ldshop-order-action {
  text-align: right;
}

.ldshop-order-action .ldshop-primary-button {
  min-height: 32px;
  padding: 7px 13px !important;
  font-size: 10px !important;
}

.ldshop-orders-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 22px;
}

.ldshop-orders-pagination > span {
  color: #888;
  font-size: 11px;
}

.ldshop-orders-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 310px;
  text-align: center;
}

.ldshop-orders-empty h3 {
  margin: 0 0 6px !important;
  color: #444 !important;
  font-size: 16px !important;
}

.ldshop-orders-empty p {
  margin: 0 0 18px;
  color: #999;
  font-size: 11px;
}

.ldshop-coupon-card {
  position: relative;
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  min-height: 150px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0d8cf;
  border-radius: 9px;
}

.ldshop-coupon-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ldshop-orange);
}

.ldshop-coupon-value::before,
.ldshop-coupon-value::after {
  content: "";
  position: absolute;
  left: 106px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
}

.ldshop-coupon-value::before { top: -9px; }
.ldshop-coupon-value::after { bottom: -9px; }

.ldshop-coupon-value strong {
  font-size: 24px;
  line-height: 1.1;
}

.ldshop-coupon-value span {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
}

.ldshop-coupon-details {
  min-width: 0;
  padding: 16px;
}

.ldshop-coupon-details h3 {
  margin: 0 0 8px !important;
  color: #3f3f3f !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.ldshop-coupon-details p {
  margin: 3px 0;
  color: #999;
  font-size: 10px;
}

.ldshop-coupon-code {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.ldshop-coupon-code code {
  overflow: hidden;
  padding: 5px 8px;
  color: var(--ldshop-orange);
  background: var(--ldshop-orange-soft);
  border: 1px dashed #ffb59c;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ldshop-coupon-code button {
  margin: 0 !important;
  padding: 6px 10px !important;
  color: #fff !important;
  background: var(--ldshop-orange) !important;
  border: 0 !important;
  border-radius: 4px !important;
  font-size: 10px !important;
}

.ldshop-coupon-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
}

.ldshop-empty-art {
  width: 180px;
  max-width: 60%;
}

.ldshop-empty-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.ldshop-coupon-empty h3 {
  margin: 7px 0 5px !important;
  color: #555 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.ldshop-coupon-empty p {
  margin: 0;
  color: #aaa;
  font-size: 11px;
}

.ldshop-points-hero {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ldshop-points-hero > div:nth-child(2) span,
.ldshop-points-hero > div:nth-child(2) strong {
  display: block;
}

.ldshop-points-hero > div:nth-child(2) span {
  color: #888;
  font-size: 10px;
}

.ldshop-points-hero > div:nth-child(2) strong {
  color: var(--ldshop-orange);
  font-size: 24px;
}

.ldshop-tier-pill {
  margin-left: auto;
  padding: 8px 12px;
  color: #846300;
  background: var(--ldshop-gold-soft);
  border: 1px solid #f4e3a1;
  border-radius: 30px;
  font-size: 11px;
}

.ldshop-reward-market {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.ldshop-level-panel,
.ldshop-reward-shop {
  padding: 17px;
  background: #fafafa;
  border: 1px solid var(--ldshop-line);
  border-radius: 9px;
}

.ldshop-level-panel h3 {
  margin: 0 0 12px !important;
  color: #777 !important;
  font-size: 10px !important;
  font-weight: 500 !important;
}

.ldshop-level-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
}

.ldshop-level-item:last-child {
  margin-bottom: 0;
}

.ldshop-level-item.is-active {
  background: var(--ldshop-gold-soft);
  border-color: var(--ldshop-gold);
  box-shadow: 0 0 0 1px rgba(199, 149, 0, .1);
}

.ldshop-level-number {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  color: #fff;
  background: linear-gradient(145deg, #d9aa79, #a96236);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
}

.ldshop-level-item:nth-of-type(2) .ldshop-level-number {
  background: linear-gradient(145deg, #c9cdd4, #77808c);
}

.ldshop-level-item:nth-of-type(3) .ldshop-level-number {
  background: linear-gradient(145deg, #f0b4a8, #b95949);
}

.ldshop-level-item:nth-of-type(4) .ldshop-level-number {
  background: linear-gradient(145deg, #e98ca4, #a92f55);
}

.ldshop-level-item > span:last-child {
  min-width: 0;
}

.ldshop-level-item strong,
.ldshop-level-item small {
  display: block;
}

.ldshop-level-item strong {
  margin-bottom: 2px;
  color: #4c4c4c;
  font-size: 10px;
}

.ldshop-level-item small {
  color: #aaa;
  font-size: 8px;
  white-space: nowrap;
}

.ldshop-reward-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 36px;
  margin-bottom: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--ldshop-line);
}

.ldshop-reward-heading > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #444;
  font-size: 11px;
}

.ldshop-reward-heading small {
  color: #999;
  font-size: 8px;
}

.ldshop-reward-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ldshop-reward-card {
  min-width: 0;
}

.ldshop-reward-art {
  display: flex;
  align-items: center;
  min-height: 145px;
  padding: 16px;
  background: #fe6d6e;
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}

.ldshop-reward-card.is-locked .ldshop-reward-art {
  filter: none;
  opacity: 1;
}

.ldshop-reward-ticket {
  position: relative;
  width: 100%;
  padding: 12px;
  color: #333;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(112, 75, 0, .12);
}

.ldshop-reward-ticket::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #fe6d6e;
  border-radius: 50%;
  transform: translateY(-50%);
}

.ldshop-reward-ticket strong,
.ldshop-reward-ticket span,
.ldshop-reward-ticket small {
  display: block;
}

.ldshop-reward-ticket strong {
  display: inline;
  font-size: 17px;
}

.ldshop-reward-ticket span {
  display: inline;
  margin-left: 4px;
  font-size: 8px;
  font-weight: 700;
}

.ldshop-reward-ticket small {
  margin-top: 7px;
  color: #888;
  font-size: 7px;
}

.ldshop-reward-copy {
  padding-top: 11px;
}

.ldshop-reward-copy h4 {
  min-height: 34px;
  margin: 0 0 4px !important;
  color: #424242 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.ldshop-reward-copy p {
  overflow: hidden;
  margin: 0 0 9px;
  color: #aaa;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ldshop-reward-cost {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--ldshop-gold);
}

.ldshop-reward-cost .ldshop-point-medal {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.ldshop-reward-cost strong {
  font-size: 12px;
}

.ldshop-redeem-form {
  margin: 0;
}

.ldshop-redeem-form .ldshop-gold-button,
.ldshop-reward-disabled {
  width: 100%;
  min-height: 35px;
  padding: 8px 10px !important;
  border-radius: 4px !important;
  font-size: 10px !important;
}

.ldshop-reward-disabled {
  color: #999 !important;
  background: #eee !important;
  border: 1px solid #e1e1e1 !important;
  cursor: not-allowed;
}

/* My Points: use the brand pink for every muted/grey text label. */
.ldshop-points-page .ldshop-page-header p,
.ldshop-points-page .ldshop-points-hero > div:nth-child(2) span,
.ldshop-points-page .ldshop-level-panel h3,
.ldshop-points-page .ldshop-level-item small,
.ldshop-points-page .ldshop-reward-heading small,
.ldshop-points-page .ldshop-reward-ticket small,
.ldshop-points-page .ldshop-reward-copy p,
.ldshop-points-page .ldshop-reward-disabled,
.ldshop-points-page .ldshop-history-row small,
.ldshop-points-page .ldshop-empty-inline span {
  color: #fe6d6e !important;
}

.ldshop-section-title {
  margin: 26px 0 12px !important;
  color: #444 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.ldshop-points-history,
.ldshop-notification-list {
  border-top: 1px solid var(--ldshop-line);
}

.ldshop-history-row,
.ldshop-notification-row {
  gap: 13px;
  min-height: 66px;
  padding: 12px 5px;
  color: #444;
  border-bottom: 1px solid var(--ldshop-line);
  text-decoration: none !important;
}

.ldshop-history-row:hover,
.ldshop-notification-row:hover {
  background: #fffaf7;
}

.ldshop-history-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 8px;
  flex: 0 0 34px;
  color: var(--ldshop-orange);
  background: var(--ldshop-orange-soft);
  border-radius: 50%;
}

.ldshop-history-row > span:nth-child(2),
.ldshop-notification-row > span:nth-child(2) {
  min-width: 0;
}

.ldshop-history-row strong,
.ldshop-history-row small,
.ldshop-notification-row strong,
.ldshop-notification-row small {
  display: block;
}

.ldshop-history-row strong,
.ldshop-notification-row strong {
  margin-bottom: 4px;
  font-size: 12px;
}

.ldshop-history-row small,
.ldshop-notification-row small {
  color: #999;
  font-size: 10px;
}

.ldshop-history-row > b {
  margin-left: auto;
  color: var(--ldshop-green);
  font-size: 12px;
}

.ldshop-notification-row > .ldshop-chevron {
  margin-left: auto;
}

.ldshop-support-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  text-align: center;
}

.ldshop-support-icon {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 16px;
  padding: 18px;
  color: var(--ldshop-orange);
  background: var(--ldshop-orange-soft);
  border-radius: 50%;
}

.ldshop-support-box h3 {
  margin: 0 0 7px !important;
  color: #444 !important;
  font-size: 17px !important;
}

.ldshop-support-box p {
  max-width: 420px;
  margin: 0 0 20px;
  color: #999;
  font-size: 12px;
}

.ldshop-empty-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 66px;
  color: #999;
  font-size: 12px;
}

.ldshop-empty-inline a {
  color: var(--ldshop-orange);
  font-weight: 600;
  text-decoration: none;
}

/* Style the remaining native WooCommerce account screens consistently. */
.woocommerce-account .woocommerce-MyAccount-content:not(:has(.ldshop-dashboard)):not(:has(.ldshop-inner-page)) {
  min-height: 520px;
  padding: 28px 30px !important;
  background: #fff !important;
  border: 1px solid #f5f5f5 !important;
  border-radius: var(--ldshop-radius);
  box-shadow: var(--ldshop-shadow) !important;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  color: #333;
}

.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"] {
  color: #fff;
  background: var(--ldshop-orange);
  border: 1px solid var(--ldshop-orange);
  border-radius: 4px;
}

.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"]:hover {
  color: #fff;
  background: var(--ldshop-orange-dark);
}

.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-table {
  overflow: hidden;
  border-color: var(--ldshop-line) !important;
  border-radius: 7px !important;
}

.woocommerce-account .woocommerce-orders-table th,
.woocommerce-account .woocommerce-orders-table td,
.woocommerce-account .woocommerce-table th,
.woocommerce-account .woocommerce-table td {
  padding: 12px !important;
  border-color: var(--ldshop-line) !important;
  font-size: 12px;
}

.woocommerce-account .woocommerce-MyAccount-content input.input-text,
.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"] {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.woocommerce-account .woocommerce-MyAccount-content input:focus {
  border-color: var(--ldshop-orange);
  box-shadow: 0 0 0 3px rgba(255, 79, 31, .08);
  outline: 0;
}

@media (max-width: 1100px) {
  .woocommerce-account .ldshop-account-shell {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 18px;
  }

  .ldshop-card {
    padding: 19px;
  }

  .ldshop-points-value > span:not(.ldshop-point-medal) {
    display: none;
  }

  .ldshop-coupon-grid {
    grid-template-columns: 1fr;
  }

  .ldshop-reward-market {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .ldshop-reward-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ldshop-order-list-head,
  .ldshop-order-row {
    grid-template-columns: minmax(190px, 1.5fr) 75px 88px minmax(95px, .7fr) 70px;
  }

  .ldshop-order-list-head > span:nth-child(3),
  .ldshop-order-date {
    display: none;
  }
}

@media (max-width: 820px) {
  .woocommerce-account .woocommerce {
    display: block !important;
    padding: 12px;
  }

  .woocommerce-account .ldshop-account-shell {
    display: block !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    position: static;
    margin-bottom: 16px !important;
  }

  body.woocommerce-account .ldshop-account-shell > .woocommerce-MyAccount-navigation,
  body.woocommerce-account .ldshop-account-shell > .woocommerce-MyAccount-content {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
  }

  .ldshop-account-nav {
    min-height: 0;
    padding: 12px;
  }

  .ldshop-nav-list,
  .woocommerce-account .woocommerce-MyAccount-navigation .ldshop-nav-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .ldshop-nav-divider {
    display: none;
  }

  .ldshop-nav-item,
  .woocommerce-account .woocommerce-MyAccount-navigation .ldshop-nav-item {
    min-width: 0;
    margin: 0;
  }

  .ldshop-nav-item a,
  .woocommerce-account .woocommerce-MyAccount-navigation .ldshop-nav-item a {
    min-width: 0;
    padding: 8px 10px;
  }

  .ldshop-nav-item a > span:last-of-type {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ldshop-reward-market {
    grid-template-columns: 1fr;
  }

  .ldshop-level-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .ldshop-level-panel h3 {
    grid-column: 1 / -1;
  }

  .ldshop-level-item {
    display: block;
    min-width: 0;
    margin: 0;
    text-align: center;
  }

  .ldshop-level-number {
    margin: 0 auto 8px;
  }

  .ldshop-level-item small {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 640px) {
  .ldshop-dashboard {
    grid-template-columns: 1fr;
  }

  .ldshop-recent-card {
    grid-column: auto;
  }

  .ldshop-recent-grid {
    grid-template-columns: 1fr;
  }

  .ldshop-coupon-points {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .ldshop-coupon-points p {
    width: 100%;
    margin-left: 0;
  }

  .ldshop-inner-page {
    padding: 20px 17px;
  }

  .ldshop-orders-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ldshop-order-list {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .ldshop-order-list-head {
    display: none;
  }

  .ldshop-order-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 18px;
    min-height: 0;
    margin-bottom: 12px;
    padding: 15px;
    border: 1px solid var(--ldshop-line);
    border-radius: 8px;
  }

  .ldshop-order-product {
    grid-column: 1 / -1;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--ldshop-line);
  }

  .ldshop-order-date {
    display: block;
  }

  .ldshop-order-row [data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #aaa;
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
  }

  .ldshop-order-product[data-label]::before {
    display: none;
  }

  .ldshop-order-action {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .ldshop-page-header {
    align-items: flex-start;
  }

  .ldshop-coupon-card {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .ldshop-reward-grid {
    grid-template-columns: 1fr;
  }

  .ldshop-reward-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ldshop-coupon-value::before,
  .ldshop-coupon-value::after {
    left: 81px;
  }
}

@media (max-width: 480px) {
  .ldshop-nav-list,
  .woocommerce-account .woocommerce-MyAccount-navigation .ldshop-nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ldshop-card {
    padding: 17px;
  }

  .ldshop-profile-top {
    align-items: flex-start;
  }

  .ldshop-profile-top .ldshop-outline-button {
    width: 42px;
    padding: 9px !important;
  }

  .ldshop-profile-top .ldshop-outline-button span {
    display: none;
  }

  .ldshop-order-stats {
    gap: 5px;
  }

  .ldshop-order-stats span {
    font-size: 9px;
  }

  .ldshop-card-action-row {
    align-items: flex-start;
  }

  .ldshop-points-value {
    gap: 7px;
  }

  .ldshop-points-value b {
    display: none;
  }

  .ldshop-coupon-toolbar > span {
    display: none;
  }

  .ldshop-coupon-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .ldshop-coupon-value::before,
  .ldshop-coupon-value::after {
    left: 69px;
  }

  .ldshop-coupon-value strong {
    font-size: 18px;
  }

  .ldshop-points-hero {
    flex-wrap: wrap;
  }

  .ldshop-level-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ldshop-tier-pill {
    width: 100%;
    margin-left: 0;
  }
}
