div {
  font-size: 14px;
}

/* Loading spinner for identity buttons */
.lion-btn-primary.is-loading,
.lion-btn-outline.is-loading {
  opacity: 0.9;
  pointer-events: none;
}

.lion-btn-primary.is-loading::after,
.lion-btn-outline.is-loading::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-inline-start: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  vertical-align: -2px;
  animation: lionBtnSpin 0.7s linear infinite;
}

@keyframes lionBtnSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Identity verification (profile) */
.lion-identity-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.lion-identity-row input {
  width: 140px;
  border: 1px solid #d7e0f2;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.lion-identity-row input:focus {
  border-color: var(--lion-green);
  box-shadow: 0 0 0 3px rgba(0, 166, 147, 0.12);
}

.lion-identity-row input:disabled,
.lion-profile-form input[readonly] {
  background: #f8fafc;
  color: #64748b;
  border-color: #e2e8f0;
}

.lion-identity-row button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lion-identity-status {
  font-size: 12px;
  font-weight: 800;
  color: var(--lion-muted);
}

.lion-identity-status.is-ok {
  color: var(--lion-green);
}

.lion-identity-status.is-bad {
  color: #dc2626;
}
.lion-dashboard {
  direction: rtl;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 16px;
  color: #0f172a;
}.lion-sidebar__section {
    display: flex
;
    gap: 10px;
    align-items: center;
}

.lion-dashboard__layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.lion-dashboard__sidebar {
  flex: 0 0 360px;
  width: 360px;
}

.lion-dashboard__main {
  flex: 1 1 auto;
  min-width: 0;
}

.lion-card {
  background: #ffffff;
  border: 1px solid #d7e0f2;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

/* Sidebar */
.lion-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  border-bottom: 1px solid #e7eef9;
  background: #f7faff;
}

.lion-sidebar__header.is-accent {
  background: #63c6be;
}

.lion-sidebar__user {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.lion-sidebar__name {
  font-weight: 700;
  font-size: 16px;
  color: #0f172a;
}

.lion-sidebar__phone {
  font-weight: 500;
  font-size: 12px;
  color: #0f172a;
  opacity: 0.85;
}
span.lion-sidebar__text {
    font-size: 16px;
    font-weight: 500;
}
.lion-tab-section {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  justify-content: center;
}
.lion-tabs {
    display: flex
;
    border-bottom: 1px solid #e7eef9;
    justify-content: space-between;
}

.lion-sidebar__avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e9eef8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.lion-sidebar__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lion-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid #d7e0f2;
  background: #ffffff;
  color: var(--color-primary, #00a693);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.lion-icon-btn svg {
  width: 20px;
  height: 20px;
}

.lion-sidebar__nav {
  padding: 14px 0 18px;
}

.lion-sidebar__link {
  position: relative;
  margin: 8px 12px;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  transition: background 0.2s ease, color 0.2s ease;
}

.lion-sidebar__badge {
  margin-inline-start: auto;
  background: #ef4444;
  color: #ffffff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  min-width: 22px;
  text-align: center;
}

.lion-sidebar__icon svg {
  width: 24px;
  height: 24px;
}

.lion-sidebar__link:hover {
  background: #f7faff;
}

.lion-sidebar__link.is-active {
  color: var(--color-primary, #00a693);
  background: #f1fbfa;
}

.lion-sidebar__link.is-active::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 38px;
  border-radius: 999px;
  background: var(--color-primary, #00a693);
}

.lion-sidebar__link.is-logout {
  margin-top: 18px;
}

/* Main card */
.lion-dashboard__card {
  min-height: 480px;
}

/* Tabs (Orders) */
.lion-tabs {
  display: flex;
  border-bottom: 1px solid #e7eef9;
}

.lion-tab {
  /* flex: 1 1 0; */
  padding: 18px 10px;
  text-decoration: none;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}
span.lion-ticket-tab-icon {
    display: flex
;
}
.lion-tab.is-active {
  color: var(--color-primary, #00a693);
}

.lion-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  right: -10%;
  height: 4px;
  border-radius: 999px;
  background: var(--color-primary, #00a693);
}

/* Orders list */
.lion-order {
  padding: 22px 24px;
  border-bottom: 1px solid #e7eef9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.lion-order__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 28px;
  align-items: flex-end;
  justify-content: space-between;
}

.lion-order__items {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex: 0 0 auto;
}

.lion-order__thumb {
  width: 92px;
  height: 92px;
  border-radius: 14px;
  border: 1px solid #d7e0f2;
  background: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lion-order__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.lion-order__qty {
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #f7faff;
  border: 1px solid #cfe1f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--color-primary, #00a693);
}

.lion-order__meta {
  flex: 1 1 auto;
  min-width: 0;
}

.lion-order__meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}

.lion-order__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.lion-order__meta-item span {
  color: #4b5563;
  font-weight: 500;
}

.lion-order__meta-item strong,
.lion-order__meta-item strong * {
  font-weight: 800;
  color: #0f172a;
}

.lion-order__sep {
  width: 1px;
  height: 18px;
  background: #dbe6f7;
}

.lion-order__status {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.lion-order__status-label {
  color: #0f172a;
  font-weight: 600;
}

.lion-order__status-value {
  color: #f59e0b;
  font-weight: 800;
}

.lion-order__chev {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary, #00a693);
  text-decoration: none;
}

.lion-order__chev svg {
  width: 22px;
  height: 22px;
}

/* Section header (Addresses, Favorites, etc.) */
.lion-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #e7eef9;
}

.lion-section-header--simple {
  justify-content: flex-start;
}

.lion-section-title {
  position: relative;
  font-weight: 800;
  font-size: 14px;
  color: var(--color-primary, #00a693);
  padding-bottom: 0px;
}



.lion-section-header--simple .lion-section-title::after {
  width: 90px;
}

.lion-add-link {
  color: var(--color-primary, #00a693);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lion-add-link__plus {
  font-size: 22px;
  line-height: 1;
}

/* Order view */
.lion-woocommerce--order-view {
  padding: 0;
}

.lion-order-view {
  display: flex;
  flex-direction: column;
  color: #0f172a;
}

.lion-order-view__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #e7eef9;
  position: relative;
  gap: 12px;
}

.lion-order-view__head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background: var(--color-primary, #00a693);
}

.lion-order-view__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 800;
}

.lion-order-view__back svg {
  width: 20px;
  height: 20px;
}

.lion-order-view__download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  color: var(--color-primary, #00a693);
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 166, 147, 0.2);
  background: #f1fbfa;
}

.lion-order-view__download-icon svg {
  width: 18px;
  height: 18px;
}

.lion-order-view__section {
  padding: 18px 22px;
}

.lion-order-view__section--meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lion-order-view__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
}

.lion-order-view__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.lion-order-view__meta-item span {
  color: #64748b;
  font-weight: 600;
}

.lion-order-view__meta-item strong {
  font-weight: 800;
}

.lion-order-view__address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.9;
}

.lion-order-view__address span {
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
}

.lion-order-view__address-text {
  color: #0f172a;
  font-weight: 700;
}

.lion-order-view__divider {
  height: 1px;
  background: #e7eef9;
}

.lion-order-view__totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
}

.lion-order-view__total {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.lion-order-view__total span {
  color: #64748b;
  font-weight: 600;
}

.lion-order-view__total strong {
  font-weight: 900;
  color: #0f172a;
}

.lion-order-view__payment-card {
  border: 1px solid #d7e0f2;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}

.lion-order-view__payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #eef2ff;
}

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

.lion-order-view__payment-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.lion-order-view__payment-status.is-success {
  color: #00a693;
}

.lion-order-view__payment-status.is-failed {
  color: #ef4444;
}

.lion-order-view__payment-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.lion-order-view__payment-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.lion-order-view__payment-meta span {
  color: #64748b;
  font-weight: 600;
}

.lion-order-view__payment-meta strong {
  font-weight: 800;
}

.lion-order-view__delivery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
}

.lion-order-view__delivery-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.lion-order-view__delivery-item span {
  color: #64748b;
  font-weight: 600;
}

.lion-order-view__status {
  color: var(--color-primary, #00a693);
}

.lion-order-view__items {
  padding: 6px 22px 12px;
}

.lion-order-view__item-group {
  padding: 18px 0;
  border-bottom: 1px solid #e7eef9;
}

.lion-order-view__item-group:last-child {
  border-bottom: 0;
}

.lion-order-view__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lion-order-view__item-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.lion-order-view__item-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  border: 1px solid #d7e0f2;
  background: #f7faff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.lion-order-view__item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lion-order-view__item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.lion-order-view__item-title {
  font-weight: 800;
  color: #0f172a;
  line-height: 1.7;
}

.lion-order-view__item-price {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-weight: 900;
}

.lion-order-view__item-qty {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.lion-order-view__item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lion-order-view__review {
  padding: 10px 18px;
  font-size: 13px;
}

.lion-order-view__item-extra {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  color: #64748b;
  font-weight: 700;
  font-size: 13px;
}

.lion-order-view__item-link {
  color: #64748b;
  text-decoration: none;
}

.lion-order-view__item-link:hover {
  color: var(--color-primary, #00a693);
}

.lion-order-view__item-confirm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #475569;
  font-weight: 700;
}

.lion-order-view__confirm-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lion-order-view__confirm-btn {
  border: 1px solid #d7e0f2;
  background: #fff;
  color: #0f172a;
  border-radius: 10px;
  padding: 8px 18px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.lion-order-view__confirm-btn.is-yes {
  border-color: rgba(0, 166, 147, 0.5);
  color: var(--color-primary, #00a693);
}

.lion-order-view__footer {
  padding: 6px 22px 22px;
}

.lion-order-view__reorder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary, #00a693);
  text-decoration: none;
  font-weight: 800;
}

.lion-order-view__reorder svg {
  width: 20px;
  height: 20px;
}

/* Addresses */
.lion-address {
  padding: 22px 24px;
  border-bottom: 1px solid #e7eef9;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.lion-address:last-child {
  border-bottom: 0;
}

.lion-address__details {
  flex: 1 1 auto;
  min-width: 0;
}

.lion-address__title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.lion-address__text {
  color: #334155;
  line-height: 2;
}

.lion-address__postcode {
  margin-top: 10px;
  color: #334155;
  font-weight: 600;
}

.lion-address__meta {
  margin-top: 10px;
  color: #334155;
  font-weight: 600;
}

.lion-address__meta span {
  color: #4b5563;
  font-weight: 500;
}

.lion-address__postcode span {
  color: #4b5563;
  font-weight: 500;
}

.lion-address__actions {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
  padding-top: 4px;
}

/* Empty state */
.lion-empty {
  padding: 34px 24px;
  text-align: center;
  color: #475569;
  font-weight: 600;
}

/* Forms */
.lion-form {
  padding: 30px 28px;
}

.lion-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}

.lion-profile-avatar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #d7e0f2;
  border-radius: 16px;
  background: #fff;
}

.lion-profile-avatar__preview {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  overflow: hidden;
  background: #f1f5f9;
  flex: 0 0 auto;
}

.lion-profile-avatar__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lion-profile-avatar__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lion-profile-avatar__file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.lion-profile-avatar__remove {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-weight: 700;
}

.lion-field--full {
  grid-column: 1 / -1;
}

.lion-field label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
  color: #0f172a;
}

.lion-field input,
.lion-field textarea,
.lion-field select {
  width: 100%;
  border: 1px solid #d7e0f2;
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  background: #fff;
  color: #0f172a;
}

.lion-field input::placeholder,
.lion-field textarea::placeholder {
  color: #94a3b8;
}

.lion-field input:focus,
.lion-field textarea:focus,
.lion-field select:focus {
  border-color: rgba(0, 166, 147, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 166, 147, 0.12);
}

.lion-helper {
  margin-top: 10px;
  color: #64748b;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.9;
}

.lion-sheba {
  display: flex;
  align-items: center;
  border: 1px solid #d7e0f2;
  border-radius: 16px;
  overflow: hidden;
}

.lion-sheba__prefix {
  padding: 0 14px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0f172a;
  background: #f7faff;
  border-left: 1px solid #d7e0f2;
}

.lion-sheba input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.lion-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}
.lion-ticket-row-content {
    display: flex
;
    align-items: center;
    width: 100%;
    gap: 50px;
    justify-content: space-between;
    padding-left: 30px;
}

.lion-btn-primary {
      background: white;
    color: var(--color-primary, #00a693) !important;
    border: 1px solid var(--color-primary, #00a693) !important;
    border-radius: 8px;
    padding: 8px 22px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex
;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}



.lion-btn-primary:hover {
  background: var(--color-primary, #00a693) !important;
  color: white;
  filter: brightness(0.96);
}

.lion-btn-ghost {
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid #d7e0f2;
  color: #0f172a;
  background: #fff;
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Favorites */
.lion-fav-grid {
  padding: 22px 22px 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lion-fav-card {
  display: block;
  background: #fff;
  border: 1px solid #d7e0f2;
  border-radius: 18px;
  padding: 14px;
  text-decoration: none;
  color: #0f172a;
}

.lion-fav-card__img {
  height: 140px;
  border-radius: 14px;
  background: #f7faff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lion-fav-card__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 10px;
}

.lion-fav-card__title {
  margin-top: 12px;
  font-weight: 900;
  font-size: 14px;
}

.lion-fav-card__price {
  margin-top: 6px;
  color: #475569;
  font-weight: 700;
}

/* Wishlist manager */
.lion-wishlist-app {
  background: #f7f8fe;
  border: unset;
  border-radius: 28px;
  padding: 0px;
  margin-top: 0px;
}
.ion-wishlist-tabs2-inner {
    display: flex
;
    align-items: center;
    gap: 10px;
}

.lion-wishlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e7eef9;
  padding-bottom: 14px;
}

.lion-wishlist-tabs {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.lion-wishlist-tab {
  border: none;
  background: transparent;
  color: #556080;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.lion-wishlist-tab--active {
  color: var(--color-primary, #00a693);
}

.lion-wishlist-tab--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: var(--color-primary, #00a693);
  border-radius: 999px;
}

.lion-wishlist-cta {
  border: none;
  background: var(--color-primary, #00a693);
  color: #ffffff;
  border-radius: 14px;
  padding: 10px 24px;
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
}

.lion-wishlist-body {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 24px;
}

.lion-wishlist-panel {
  border-radius: 20px;
  border: 1px solid #dfe6f5;
  background: #ffffff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 420px;
}

.lion-wishlist-panel--detail {
  min-height: 380px;
}

.lion-wishlist-panel-title {
  font-weight: 800;
  margin: 0;
  font-size: 16px;
}

.lion-wishlist-panel-subtitle {
  margin: 4px 0 0;
  color: #64748b;
  font-weight: 500;
  font-size: 13px;
}

.lion-wishlist-create {
  border-radius: 18px;
  border: 1px dashed #d3d6e8;
  padding: 16px;
  background: #f8f9ff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lion-wishlist-create__starter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: #0f172a;
}

.lion-wishlist-create__btn {
  border: none;
  background: transparent;
  color: var(--color-primary, #00a693);
  font-weight: 700;
  cursor: pointer;
}

.lion-wishlist-create__form {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.lion-wishlist-create__form input {
  border: 1px solid #dfe6f5;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  width: 100%;
  font-family: inherit;
}

.lion-wishlist-create__actions {
  display: flex;
  gap: 8px;
}

.lion-wishlist-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.lion-wishlist-list-item {
  border: 1px solid #dfe6f5;
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  text-align: right;
}

.lion-wishlist-list-item:hover,
.lion-wishlist-list-item.is-active {
  border-color: var(--color-primary, #00a693);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.lion-wishlist-list-item__text strong {
  display: block;
  font-size: 15px;
}

.lion-wishlist-list-item__text span {
  color: #64748b;
  font-size: 13px;
}

.lion-wishlist-list-item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lion-wishlist-list-item__date {
  font-size: 12px;
  color: #94a7c6;
}

.lion-wishlist-list-item__delete {
  border: none;
  background: transparent;
  color: #dc2626;
  font-weight: 700;
  cursor: pointer;
}

.lion-wishlist-search {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lion-wishlist-search__field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lion-wishlist-search__field input {
  flex: 1;
  border: 1px solid #dfe6f5;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
}

.lion-wishlist-search__field button {
  border: none;
  background: #0f172a;
  color: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}

.lion-wishlist-search__hint {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.lion-wishlist-search-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.lion-wishlist-search-result {
  border: 1px solid #dfe6f5;
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
}

.lion-wishlist-search-result strong {
  font-size: 14px;
}

.lion-wishlist-search-result span {
  color: #64748b;
  font-size: 13px;
}

.lion-wishlist-search-result button {
  border: none;
  background: var(--color-primary, #00a693);
  color: #fff;
  border-radius: 12px;
  padding: 7px 18px;
  font-weight: 700;
  cursor: pointer;
}

.lion-wishlist-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 6px;
  flex: 1 1 auto;
}

.lion-wishlist-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid #e1e7f5;
  background: #fff;
}

.lion-wishlist-product__thumb img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 14px;
  background: #f3f5ff;
}

.lion-wishlist-product__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lion-wishlist-product__title {
  font-weight: 700;
  font-size: 15px;
  margin: 0;
}

.lion-wishlist-product__title a {
  color: #0f172a;
  text-decoration: none;
}

.lion-wishlist-product__price {
  color: #0f172a;
  font-weight: 700;
  font-size: 14px;
}

.lion-wishlist-product__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lion-wishlist-product__remove {
  border: none;
  background: transparent;
  color: #d02626;
  font-weight: 700;
  cursor: pointer;
}

.lion-wishlist-product__add-to-cart {
  border: 1px solid #00a693;
  border-radius: 10px;
  padding: 6px 16px;
  color: #00a693;
  text-decoration: none;
  font-weight: 700;
}

.lion-wishlist-empty {
  padding: 18px;
  border: 1px dashed #dfe6f5;
  border-radius: 16px;
  text-align: center;
  color: #64748b;
  font-weight: 600;
}

/* Favorites card styling */
.lion-dashboard__card--favorites {
  border: 1px solid #cdd9f0;
  border-radius: 26px;
  box-shadow: none;
  background: #ffffff;
}

.lion-dashboard__card--favorites .lion-wishlist-app {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.lion-dashboard__card--favorites .lion-wishlist-topbar {
  background: transparent;
  border-bottom: 1px solid #d7e0f2;
  padding: 18px 26px;
}

.lion-dashboard__card--favorites .lion-wishlist-tabs2 {
  order: -1;
  gap: 32px;
}

.lion-dashboard__card--favorites .lion-wishlist-views {
  background: transparent;
  padding: 10px 26px 26px;
}

.lion-dashboard__card--favorites .lion-wishlist-item__thumb img {
  background: transparent;
}

/* Wishlist (v2) — UI aligned with screenshots */
.lion-wishlist-app {
  background: #f7faff;
  border: 1px solid #d7e0f2;
  border-radius: 26px;
  overflow: hidden;
}

.lion-wishlist-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 22px;
  border-bottom: 1px solid #e7eef9;
  background: white;
}

.lion-wishlist-addbtn {
  border: none;
  background: transparent;
  color: var(--color-primary, #00a693);
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.lion-wishlist-addbtn__plus {
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.lion-wishlist-tabs2 {
  display: inline-flex;
  align-items: center;
  gap: 26px;
}

.lion-wishlist-tab2 {
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  color: #0f172a;
  position: relative;
  padding: 8px 2px;
}

.lion-wishlist-tab2.is-active {
  color: var(--color-primary, #00a693);
}

.lion-wishlist-tab2.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 4px;
  border-radius: 999px;
  background: var(--color-primary, #00a693);
}

.lion-wishlist-views {
  padding: 22px;
  background: #ffffff;
}

.lion-wishlist-view {
  display: none;
}

.lion-wishlist-view.is-active {
  display: block;
}

.lion-wishlist-empty2 {
  padding: 40px 18px;
  border-radius: 18px;
  border: 1px dashed #d7e0f2;
  text-align: center;
  color: #64748b;
  font-weight: 700;
  background: #f7faff;
}

.lion-wishlist-products2 {
  display: flex;
  flex-direction: column;
}

.lion-wishlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #e7eef9;
      flex-direction: row-reverse;
}

.lion-wishlist-item:last-child {
  border-bottom: 0;
}

.lion-wishlist-item__thumb img {
  width: 110px;
  height: 64px;
  object-fit: contain;
  border-radius: 14px;
  background: #f7faff;
}

.lion-wishlist-item__mid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
button.lion-wishlist-addbtn:hover {
    color: #00a693;
}
span.lion-wishlist-item__price-text {
    display: flex
;
    flex-direction: column;
    align-items: flex-start;
}

.lion-wishlist-item__name {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.9;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lion-wishlist-item__name a {
  color: inherit;
  text-decoration: none;
}

.lion-wishlist-item__price {
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.lion-wishlist-item__price del {
      color: #94a3b8;
    font-weight: 500;
    font-size: 12px;
}
.lion-wishlist-item__price del span.woocommerce-Price-currencySymbol {
    display: none;
}

.lion-wishlist-item__price ins {
  text-decoration: none;
  color: #0f172a;
  font-weight: 900;
}

.lion-wishlist-item__discount {
  background: #ef4444;
  color: #fff;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.lion-wishlist-item__left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.lion-wishlist-item__to-cart {
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lion-wishlist-item__remove {
  border: none;
    background: transparent;
    cursor: pointer;
    color: #0f172a;
    font-size: 18px;
    padding: 0px !important;
    margin: 0px !important;
    display: flex
;
}

.lion-wishlist-empty-state {
  display: none;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
}

.lion-wishlist-empty-state__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #64748b;
}

.lion-wishlist-empty-state__text {
  color: #64748b;
  font-weight: 700;
}

.lion-wishlist-empty-state__btn {
  border: 1px solid var(--color-primary, #00a693);
  color: var(--color-primary, #00a693);
  border-radius: 999px;
  padding: 12px 24px;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.lion-wishlist-lists {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lion-wishlist-listcard {
  border: 1px solid #d7e0f2;
  border-radius: 18px;
  background: #fff;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: right;
  position: relative;
}

.lion-wishlist-listcard__name {
  font-weight: 900;
  color: #0f172a;
}

.lion-wishlist-listcard__count {
  color: #94a3b8;
  font-weight: 800;
  margin-left: 42px;
}

.lion-wishlist-listcard__trash {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.lion-wishlist-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
  padding: 0 0 0px;
  margin-bottom: 0px;
}

.lion-wishlist-back {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
}

.lion-wishlist-detail-title {
  font-weight: 900;
  font-size: 16px;
  color: #0f172a;
}

.lion-wishlist-search2 {
  position: relative;
  margin: 0px 0;
}

.lion-wishlist-search2 input {
  width: 100%;
  border: 1px solid #d7e0f2;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
}

.lion-wishlist-search-results2 {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d7e0f2;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  z-index: 5;
}

.lion-wishlist-search-row {
  width: 100%;
  border: 0;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: right;
  align-items: center;
}

.lion-wishlist-search-row + .lion-wishlist-search-row {
  border-top: 1px solid #eef2ff;
}

.lion-wishlist-search-row__name {
  font-weight: 800;
  color: #0f172a;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lion-wishlist-search-row__price {
  color: #64748b;
  font-weight: 700;
  font-size: 12px;
}

.lion-wishlist-search-row__btn {
  color: var(--color-primary, #00a693);
  font-weight: 900;
  font-size: 12px;
}

.lion-wishlist-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 4000;
}

.lion-wishlist-modal.is-visible {
  display: block;
}

.lion-wishlist-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
}
button.lion-wishlist-modal__submit:hover {
    background-color: #00A693 !important;
}
.lion-wishlist-modal__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(620px, 92vw);
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.25);
}
button.lion-wishlist-tab2:hover {
    color: #00a793;
}
.lion-wishlist-modal__close {
  position: absolute;
  top: 18px;
  left: 18px;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  /* background: #f1f5f9; */
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #e11d48;
}

.lion-wishlist-modal__title {
  margin: 0 0 20px;
  text-align: center;
  font-weight: 900;
  color: #0f172a;
  font-size: 14px;
}

.lion-wishlist-modal__label {
  display: block;
  margin: 0 0 10px;
  font-weight: 500;
  color: #0f172a;
  font-size: 12px;
}

.lion-wishlist-modal__form input {
  width: 100%;
  border: 1px solid #d7e0f2;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 500;
  font-family: inherit;
  font-size: 14px;
}

.lion-wishlist-modal__actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}

.lion-wishlist-modal__submit {
  border: none;
  background: var(--color-primary, #00a693);
  color: #fff;
  border-radius: 8px;
  padding: 8px 28px;
  font-weight: 900;
  cursor: pointer;
}

.lion-wishlist-modal__back {
  border: none;
  background: transparent;
  color: #0f172a;
  font-weight: 900;
  cursor: pointer;
}

 /* Comments */
.lion-comments {
  padding: 10px 0;
}

.lion-comment {
  padding: 18px 22px;
  border-bottom: 1px solid #e7eef9;
}

.lion-comment:last-child {
  border-bottom: 0;
}

.lion-comment__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-weight: 800;
}

.lion-comment__meta a {
  color: var(--color-primary, #00a693);
  text-decoration: none;
}

.lion-comment__meta-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lion-comment__meta-main a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lion-comment__meta-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.lion-comment__status {
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.lion-comment__status.is-approved {
  color: var(--color-primary, #00a693);
  background: #f1fbfa;
  border-color: rgba(0, 166, 147, 0.25);
}

.lion-comment__status.is-pending {
  color: #b45309;
  background: #fffbeb;
  border-color: rgba(180, 83, 9, 0.25);
}

.lion-comment__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lion-comment__action {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid #d7e0f2;
  background: #ffffff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lion-comment__action svg {
  width: 18px;
  height: 18px;
}

.lion-comment__action:hover {
  background: #f7faff;
}

.lion-comment__action.is-danger {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.25);
}

.lion-comment__action.is-danger:hover {
  background: rgba(220, 38, 38, 0.06);
}

.lion-comment__date {
  color: #64748b;
  font-weight: 700;
  font-size: 12px;
}

.lion-comment__content {
  color: #334155;
  line-height: 2;
}

/* Woo content inside dashboard (view-order fallback) */
.lion-woocommerce {
  padding: 22px;
}

.lion-woocommerce .woocommerce {
  color: #0f172a;
}

@media (max-width: 1100px) {
  .lion-dashboard__layout {
    flex-direction: column;
  }

  .lion-dashboard__sidebar {
    width: 100%;
    flex: 1 1 auto;
  }

  .lion-sidebar__nav {
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .lion-sidebar__link {
    margin: 0;
  }

  .lion-sidebar__link.is-active::after {
    right: 10px;
    width: 4px;
  }

  .lion-wishlist-body {
    grid-template-columns: 1fr;
  }

  .lion-wishlist-panel {
    min-height: auto;
  }

  .lion-wishlist-list {
    max-height: none;
  }
}

@media (max-width: 768px) {
  .lion-dashboard {
    padding: 26px 12px;
  }

  .lion-order-view__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .lion-order-view__meta,
  .lion-order-view__totals,
  .lion-order-view__delivery {
    grid-template-columns: 1fr;
  }

  .lion-order-view__payment-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .lion-order-view__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .lion-order-view__item-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .lion-order-view__item-extra {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .lion-order-view__item-confirm {
    flex-direction: column;
    align-items: flex-start;
  }

  .lion-form-grid {
    grid-template-columns: 1fr;
  }

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

  .lion-order__content {
    flex-direction: column;
    align-items: stretch;
  }

  .lion-order__items {
    justify-content: flex-start;
  }

  .lion-tab {
    padding: 16px 6px;
    font-size: 14px;
  }

  .lion-wishlist-body {
    display: flex;
    flex-direction: column;
  }

  .lion-wishlist-search__field {
    flex-direction: column;
  }

  .lion-wishlist-search__field button {
    width: 100%;
  }

  .lion-wishlist-product {
    flex-direction: column;
    align-items: flex-start;
  }

  .lion-wishlist-product__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .lion-wishlist-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .lion-wishlist-tabs2 {
    gap: 18px;
  }

  .lion-wishlist-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .lion-wishlist-item__left {
    width: 100%;
    justify-content: space-between;
  }

  .lion-wishlist-item__thumb img {
    width: 100%;
    height: auto;
    max-height: 140px;
  }

  .lion-wishlist-modal__panel {
    width: min(92vw, 420px);
  }
}

/* ============================
   Wallet
============================ */
.lion-wallet {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 12px;
  color: #334155;
  padding: 18px 20px 24px;
}

.lion-wallet * {
  font-size: inherit;
}

.lion-wallet-banner {
  background: #5ec7bb;
  border-radius: 16px;
  padding: 14px 20px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.lion-wallet-balance {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

.lion-wallet-balance-label {
  opacity: 0.95;
}

.lion-wallet-balance-amount {
  direction: rtl;
  font-weight: 800;
}

.lion-wallet-balance-amount .woocommerce-Price-amount,
.lion-wallet-balance-amount .amount {
  color: #ffffff;
  font-weight: 800;
}

.lion-wallet-banner-btn {
  border: 0;
  background: #ffffff;
  color: #5ec7bb;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.lion-wallet-banner-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.lion-wallet-banner-btn:active {
  transform: translateY(0);
}

.lion-wallet-banner-btn-icon {
  font-size: 18px;
  line-height: 1;
  opacity: 0.9;
}

.lion-wallet-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 12px;
  margin-bottom: 8px;
}

.lion-wallet-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.lion-wallet-guide {
  display: none;
}

.lion-wallet-guide-title {
  font-weight: 800;
  margin-bottom: 8px;
}

.lion-wallet-guide-list {
  margin: 0;
  padding: 0 18px 0 0;
  color: #475569;
  line-height: 1.9;
}

.lion-wallet-table-wrap {
  /* background: #ffffff; */
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  border: none;
  overflow: hidden;
  /* box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06); */
}
.lion-wallet thead {
    border-bottom: 1px solid #e2e8f0 !important;
}
.lion-wallet th {
    border: none;
    background: none;
}

.lion-wallet-table {
  width: 100%;
  border-collapse: collapse;
}

.lion-wallet-table th,
.lion-wallet-table td {
  padding: 16px 12px;
  border-bottom: 1px solid #eef2f7;
  text-align: center;
  white-space: nowrap;
}

.lion-wallet-table th {
  /* background: #f8fafc; */
  color: #64748b;
  font-weight: 700;
  font-size: 12px;
}

.lion-wallet-table td {
  font-size: 12px;
  color: #0f172a;
}

.lion-wallet-table th:not(:last-child),
.lion-wallet-table td:not(:last-child) {
  border: unset !important;
  background-color: unset !important;
}
table tbody tr:hover>td, table tbody tr:hover>th {
  background-color: unset !important;
}
table td, table th {
  background-color: unset;
  border: unset !important;
}
table caption+thead tr:first-child td, table caption+thead tr:first-child th, table colgroup+thead tr:first-child td, table colgroup+thead tr:first-child th, table thead:first-child tr:first-child td, table thead:first-child tr:first-child th {
  border-block-start: unset;
}
.lion-wallet-table tbody tr:last-child td {
  border-bottom: 0;
}
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
  background-color: unset;
}

.lion-wallet-table td.is-plus {
  color: #5ec7bb;
  font-weight: 800;
}

.lion-wallet-table td.is-minus {
  color: #ef4444;
  font-weight: 800;
}

.lion-wallet-empty-row td {
  padding: 70px 16px;
}

.lion-wallet-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #64748b;
  font-size: 12px;
}

.lion-wallet-empty-icon svg {
  width: 42px;
  height: 42px;
  opacity: 0.5;
}

.lion-wallet-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.lion-wallet-actions .lion-btn-ghost {
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 12px;
  border-color: #e2e8f0;
  color: #64748b;
}

#lion-wallet-topup-modal .lion-btn-primary {
  background: #5ec7bb !important;
  color: #ffffff !important;
  padding: 10px 26px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
}

.lion-btn-ghost.is-loading,
.lion-btn-primary.is-loading {
  opacity: 0.85;
  cursor: wait;
}

/* ============================
   Modal (shared with checkout)
============================ */
html.lion-modal-open,
html.lion-modal-open body {
  overflow: hidden;
}

.lion-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lion-modal.is-open {
  display: flex;
}

.lion-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  transition: opacity 180ms ease;
}

.lion-modal.is-open .lion-modal-backdrop {
  opacity: 1;
}

.lion-modal-dialog {
  position: relative;
  width: min(92vw, 640px);
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  transform: translateY(10px) scale(0.985);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
  overflow: hidden;
}

.lion-modal.is-open .lion-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.lion-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-bottom: 1px solid #eef2ff;
}

.lion-modal-title {
  font-weight: 900;
  color: #0f172a;
}

.lion-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  font-size: 18px;
}

.lion-modal-body {
  padding: 18px 16px 18px;
}

.lion-wallet-topup-info {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #0f172a;
  line-height: 1.9;
  margin-bottom: 16px;
  text-align: center;
  font-size: 12px;
}

#lion-wallet-topup-modal .lion-modal-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

#lion-wallet-topup-modal .lion-modal-head {
  padding: 18px 26px 10px;
  border-bottom: 0;
}

#lion-wallet-topup-modal .lion-modal-body {
  padding: 8px 26px 26px;
}

#lion-wallet-topup-modal .lion-modal-dialog {
  width: min(92vw, 720px);
  border-radius: 18px;
}

#lion-wallet-topup-modal .lion-modal-close {
  border: 0;
  background: transparent;
  font-size: 20px;
}

.lion-wallet-topup-title-icon svg {
  width: 20px;
  height: 20px;
}

.lion-wallet-quick {
  margin-bottom: 16px;
}

.lion-wallet-quick-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  direction: rtl;
}

.lion-wallet-quick-btn {
  border: 1px solid #d1d5db !important;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 12px;
  font-weight: 500;
  font-size: 12px;
  color: #0f172a;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.lion-wallet-quick-btn:hover {
  border-color: #5ec7bb;
  color: #5ec7bb;
}

.lion-wallet-quick-btn.is-active {
  border-color: #5ec7bb;
  background: #e7f7f4;
  color: #5ec7bb;
}

.lion-wallet-topup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lion-wallet-topup-label {
  font-weight: 800;
  font-size: 12px;
}

.lion-wallet-topup-input {
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  direction: rtl;
}

.lion-wallet-topup-input input {
  flex: 1 1 auto;
  border: 0;
  outline: none;
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  text-align: right;
  direction: rtl;
  order: 1;
}

.lion-wallet-topup-unit {
  color: #64748b;
  font-weight: 800;
  order: 2;
}

.lion-wallet-topup-submit {
  width: fit-content;
  padding: 10px 26px;
  background: #5ec7bb;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  align-self: flex-end;
}

/* ============================
   Toast
============================ */
.lion-toast-container {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lion-toast {
  width: min(92vw, 420px);
  background: #2b2f3a;
  color: #ffffff;
  border-radius: 16px;
  padding: 16px 18px 16px 60px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.35);
  border: 0;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.lion-toast::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.lion-toast.is-show {
  transform: translateY(0);
  opacity: 1;
}

.lion-toast.is-hide {
  transform: translateY(10px);
  opacity: 0;
}

.lion-toast--success {
  color: #ffffff;
}
.lion-toast--error {
  color: #ffffff;
}
.lion-toast--info {
  color: #ffffff;
}
.lion-toast--warning {
  color: #ffffff;
}

.lion-toast-msg {
  line-height: 1.8;
}

.lion-toast-progress {
  display: none;
}

/* ============================
   Tickets
============================ */
.lion-ticket-tabs {
  display: flex;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid #e7eef9;
}

.lion-ticket-app {
  position: relative;
}

.lion-ticket-app.is-loading {
  pointer-events: none;
}

.lion-ticket-app.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(2px);
  z-index: 5;
}

.lion-ticket-app.is-loading::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 50%;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  border-radius: 50%;
  border: 3px solid #e2e8f0;
  border-top-color: var(--color-primary, #00a693);
  animation: lionTicketSpin 0.9s linear infinite;
  z-index: 6;
}

@keyframes lionTicketSpin {
  to {
    transform: rotate(360deg);
  }
}

.lion-ticket-tab {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 16px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 800;
  border: 1px solid transparent;
  background: #ffffff;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
      flex-direction: row-reverse;
}

.lion-ticket-tab:hover {
  background: #f7faff;
}

.lion-ticket-tab.is-active {
  color: var(--color-primary, #00a693);
  /* background: #f1fbfa; */
  /* border-color: #cdeeea; */
}

.lion-ticket-tab.is-active .lion-ticket-tab-count {
  background: var(--color-primary, #00a693);
  color: #ffffff;
}

.lion-ticket-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 20%;
  right: 20%;
  height: 4px;
  border-radius: 999px;
  background: var(--color-primary, #00a693);
}

.lion-ticket-tab-count {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  /* background: #f1f5f9; */
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.lion-ticket-tab-icon svg {
  width: 20px;
  height: 20px;
}

.lion-ticket-empty {
  padding: 70px 24px 60px;
  text-align: center;
}

.lion-ticket-empty-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  color: var(--color-primary, #00a693);
}

.lion-ticket-empty h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}

.lion-ticket-empty p {
  margin: 0 0 18px;
  color: #64748b;
  line-height: 1.9;
}

.lion-ticket-list {
  padding: 18px 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lion-ticket-toolbar {
  padding: 16px 20px 0;
  display: flex;
  justify-content: flex-end;
}

.lion-ticket-row {
  border: 1px solid #e7eef9;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #0f172a;
  background: #ffffff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lion-ticket-row:hover {
  background: #f7faff;
  border-color: #d5e0f3;
}

.lion-ticket-row-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.lion-ticket-row-meta {
  display: flex;
  gap: 18px;
  color: #64748b;
  font-weight: 700;
  font-size: 12px;
  align-items: center;
}

.lion-ticket-row-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #fff7ed;
  color: #ea580c;
}

.lion-ticket-row-status.is-answered {
  background: #fef3c7;
  color: #b45309;
}

.lion-ticket-row-status.is-in_review {
  background: #e0f2fe;
  color: #0369a1;
}

.lion-ticket-row-status.is-closed {
  background: #f1f5f9;
  color: #64748b;
}

.lion-ticket-row-arrow svg {
  width: 20px;
  height: 20px;
}

.lion-ticket-footer {
  padding: 0 20px 24px;
  display: flex;
  justify-content: flex-end;
}

.lion-ticket-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 3px 20px;
  border-bottom: 1px solid #e7eef9;
  justify-content: space-between;
}

.lion-ticket-back {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid #d7e0f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #0f172a;
}

.lion-ticket-back svg {
  width: 20px;
  height: 20px;
}

.lion-ticket-head-title {
      display: flex
;
    flex-direction: row;
    gap: 6px;
    flex: 1 1 auto;
    align-items: center;
        justify-content: space-between;
}

.lion-ticket-subject {
  font-weight: 900;
  font-size: 16px;
}

.lion-ticket-meta {
  display: flex;
  gap: 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  align-items: center;
}

.lion-ticket-id {
  color: #64748b;
}

.lion-ticket-status {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 800;
}

.lion-ticket-status.is-open {
  background: #ecfeff;
  color: #0891b2;
}

.lion-ticket-status.is-in_review {
  background: #e0f2fe;
  color: #0369a1;
}

.lion-ticket-status.is-answered {
  background: #fef3c7;
  color: #b45309;
}

.lion-ticket-status.is-closed {
  background: #f1f5f9;
  color: #64748b;
}

.lion-ticket-head-spacer {
  flex: 1 1 auto;
}

.lion-ticket-close-form {
  margin-right: 0;
}

.lion-ticket-thread {
  padding: 22px 22px 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 300px;
  overflow: scroll;
}

.lion-ticket-msg {
  max-width: 78%;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.lion-ticket-msg.is-user {
  align-self: flex-end;
  flex-direction: row-reverse;
  text-align: right;
}

.lion-ticket-msg.is-staff {
  align-self: flex-start;
}

.lion-ticket-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.lion-ticket-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lion-ticket-avatar span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #cbd5f5;
}

.lion-ticket-msg-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.lion-ticket-msg-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.lion-ticket-msg.is-user .lion-ticket-msg-head {
  justify-content: flex-end;
}

.lion-ticket-msg-name {
  color: #0f172a;
  font-weight: 900;
}

.lion-ticket-msg-role {
  color: #0ea5a5;
  font-weight: 800;
}

.lion-ticket-bubble {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 12px 14px;
  line-height: 1.9;
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.lion-ticket-msg.is-user .lion-ticket-bubble {
  background: #e7f7f4;
}

.lion-ticket-files {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lion-ticket-file {
  font-size: 12px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
}

.lion-ticket-reply {
  border-top: 1px solid #e7eef9;
  padding: 18px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fbfcff;
}

.lion-ticket-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lion-ticket-attach {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px dashed #d7e0f2;
  border-radius: 14px;
  color: #64748b;
  font-weight: 800;
  cursor: pointer;
  background: #ffffff;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lion-ticket-attach:hover {
  border-color: #5ec7bb;
  color: #0f766e;
}

.lion-ticket-attach input {
  display: none;
}

.lion-ticket-attach.is-wide {
  width: 100%;
  justify-content: center;
  background: #f8fafc;
}

.lion-ticket-help {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.lion-ticket-form {
  padding: 24px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lion-ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lion-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lion-form-label {
  font-weight: 800;
  color: #0f172a;
}

.lion-form-input,
.lion-form-select,
.lion-form-textarea {
  width: 100%;
  border: 1px solid #d7e0f2;
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  background: #fff;
  color: #0f172a;
}

.lion-form-textarea {
  min-height: 140px;
  resize: vertical;
}

.lion-form-input:focus,
.lion-form-select:focus,
.lion-form-textarea:focus {
  border-color: rgba(0, 166, 147, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 166, 147, 0.12);
}

.lion-form-input.is-invalid,
.lion-form-select.is-invalid,
.lion-form-textarea.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.lion-ticket-closed-note {
  padding: 16px 20px 24px;
  color: #64748b;
  font-weight: 800;
}

button.lion-wishlist-modal__close:hover {
    color: red;
}
@media (max-width: 768px) {
  .lion-wallet-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .lion-wallet-quick-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lion-wallet-table th,
  .lion-wallet-table td {
    white-space: normal;
  }

  .lion-toast-container {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .lion-toast {
    width: 100%;
  }

  .lion-ticket-tabs {
    flex-wrap: wrap;
  }

  .lion-ticket-tab {
    flex: 1 1 calc(50% - 8px);
  }

  .lion-ticket-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .lion-ticket-row-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .lion-ticket-msg {
    max-width: 100%;
  }

  .lion-ticket-msg {
    flex-direction: column;
  }

  .lion-ticket-msg.is-user {
    flex-direction: column;
    align-items: flex-end;
  }

  .lion-ticket-avatar {
    width: 32px;
    height: 32px;
  }

  .lion-ticket-head {
    flex-wrap: wrap;
  }

  .lion-ticket-close-form {
    width: 100%;
    margin-right: 0;
  }

  .lion-ticket-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .lion-dashboard {
    font-size: 12px;
  }

  .lion-dashboard * {
    font-size: inherit;
  }

  .lion-dashboard__layout {
    gap: 16px;
  }

  .lion-dashboard__card {
    min-height: auto;
  }

  .lion-sidebar__nav {
    padding: 10px;
    gap: 8px;
  }

  .lion-sidebar__link {
    margin: 0;
    padding: 10px 12px;
    gap: 8px;
  }

  .lion-section-title,
  .lion-sidebar__name,
  .lion-tab,
  .lion-ticket-tab-label,
  .lion-ticket-head-title,
  .lion-ticket-subject,
  .lion-wishlist-tab2,
  .lion-wishlist-item__price,
  .lion-wishlist-detail-title,
  .lion-wallet-title,
  .lion-order__meta strong,
  .lion-order__status-value,
  .lion-address__title,
  .lion-comment__meta,
  .lion-ticket-row-title {
    font-size: 14px;
  }

  .lion-sidebar__phone,
  .lion-ticket-tab-count,
  .lion-order__meta-item span,
  .lion-order__status-label,
  .lion-ticket-row-status,
  .lion-ticket-row-date,
  .lion-sidebar__badge,
  .lion-comment__date,
  .lion-address__meta,
  .lion-address__postcode,
  .lion-ticket-msg-time,
  .lion-ticket-msg-role,
  .lion-wishlist-item__discount {
    font-size: 10px;
  }
}
