/* ========================================================
   PÜR Theme — Customer Account, Dashboard, Auth & Wishlist Styles
   ======================================================== */

/* ─── Checkout Login Prompt & Modal ─── */
.ds-checkout-login-wrap {
  margin: 0 0 10px;
}
.ds-checkout-login-prompt,
.ds-checkout-login-prompt.ds-prompt-collapsed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 14px;
  background: color-mix(in srgb, var(--primary, #03A8B9) 6%, #FFF);
  border: 1px solid color-mix(in srgb, var(--primary, #03A8B9) 20%, #E2E8F0);
  border-radius: 10px;
  min-height: 36px;
  box-sizing: border-box;
}
.ds-prompt-left,
.ds-checkout-login-prompt-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--foreground, #0F172A);
  font-weight: 500;
}
.ds-login-icon {
  font-size: 14px;
  flex-shrink: 0;
}
.ds-prompt-txt {
  font-size: 12px;
  color: #334155;
}
.ds-checkout-auth-open-btn,
.ds-checkout-login-toggle-btn {
  padding: 4px 12px;
  height: 26px;
  border-radius: 6px;
  border: 0;
  background: var(--primary, #03A8B9);
  color: #FFF;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ds-checkout-auth-open-btn:hover,
.ds-checkout-login-toggle-btn:hover {
  background: var(--primary-deep, #02818E);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--primary, #03A8B9) 50%, transparent);
}

.ds-checkout-logged-badge {
  padding: 12px 18px;
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  border-radius: 14px;
  color: #065F46;
  font-size: 13px;
  font-weight: 600;
}

/* ─── Popup Auth Modal (Independent of Checkout Frame) ─── */
.ds-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.ds-auth-modal.is-open {
  visibility: visible;
  opacity: 1;
}
.ds-auth-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ds-auth-modal-container {
  position: relative;
  width: min(480px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 24px 64px -12px rgba(15, 23, 42, 0.35);
  border: 1px solid var(--border, #E2E8F0);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
.ds-auth-modal.is-open .ds-auth-modal-container {
  transform: scale(1);
}
.ds-auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--muted, #F1F5F9);
  color: var(--muted-foreground, #64748B);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}
.ds-auth-modal-close:hover {
  background: #FEE2E2;
  color: #DC2626;
  transform: scale(1.06);
}
.ds-auth-modal-header {
  padding: 24px 24px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border, #E2E8F0);
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary, #03A8B9) 6%, #FFF) 0%, #FFF 100%);
}
.ds-auth-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--foreground, #0F172A);
  margin: 6px 0 0;
}
.ds-auth-modal-body {
  padding: 18px 24px 22px;
}
.ds-auth-modal-footer {
  padding: 12px 20px;
  background: var(--muted, #F8FAFC);
  border-top: 1px solid var(--border, #E2E8F0);
  text-align: center;
}
.ds-auth-modal-guest-note {
  font-size: 11.5px;
  color: var(--muted-foreground, #64748B);
  margin: 0;
}
.ds-auth-alert {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}
.ds-auth-alert.is-error {
  background: #FEE2E2;
  border: 1px solid #FECACA;
  color: #B91C1C;
}
.ds-auth-alert.is-success {
  background: #D1FAE5;
  border: 1px solid #A7F3D0;
  color: #047857;
}

/* ─── Auth Page (Login / Register) ─── */
.ds-auth-wrapper {
  max-width: 520px;
  margin: 40px auto 60px;
  padding: 0 16px;
}
.ds-auth-card {
  background: #FFF;
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 36px -10px rgba(15, 23, 42, 0.08);
}
.ds-auth-header {
  padding: 32px 28px 20px;
  text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary, #03A8B9) 7%, #FFF) 0%, #FFF 100%);
  border-bottom: 1px solid var(--border, #E2E8F0);
}
.ds-auth-logo {
  margin-bottom: 12px;
}
.ds-auth-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--primary, #03A8B9) 12%, #FFF);
  color: var(--primary-deep, #02818E);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ds-auth-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--foreground, #0F172A);
  margin: 0 0 6px;
}
.ds-auth-sub {
  font-size: 13px;
  color: var(--muted-foreground, #64748B);
  line-height: 1.45;
  margin: 0;
}

/* Auth Tabs */
.ds-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  background: var(--muted, #F1F5F9);
  margin: 18px 24px 0;
  border-radius: 12px;
  gap: 6px;
}
.ds-auth-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-foreground, #64748B);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ds-auth-tab:hover {
  color: var(--foreground, #0F172A);
}
.ds-auth-tab.active {
  background: #FFF;
  color: var(--primary-deep, #02818E);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Auth Form */
.ds-auth-body {
  padding: 24px 28px;
}
.ds-auth-form .ds-form-group {
  margin-bottom: 16px;
}
.ds-auth-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--foreground, #0F172A);
  margin-bottom: 6px;
}
.ds-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ds-lost-pwd-link {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary, #03A8B9);
  text-decoration: none;
}
.ds-lost-pwd-link:hover {
  text-decoration: underline;
}
.ds-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.ds-input-icon {
  position: absolute;
  left: 14px;
  font-size: 15px;
  color: var(--muted-foreground, #64748B);
  pointer-events: none;
}
.ds-auth-form .ds-input,
.ds-auth-form input[type="text"],
.ds-auth-form input[type="email"],
.ds-auth-form input[type="password"] {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 42px;
  border-radius: 10px;
  border: 1.5px solid var(--border, #E2E8F0);
  background: #FFF;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--foreground, #0F172A);
  transition: all 0.2s ease;
}
.ds-auth-form .ds-input:focus,
.ds-auth-form input:focus {
  outline: none;
  border-color: var(--primary, #03A8B9);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary, #03A8B9) 15%, transparent);
}
.ds-remember-row {
  margin: 12px 0 18px;
}
.ds-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted-foreground, #64748B);
  cursor: pointer;
}
.ds-auth-submit-btn {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(135deg, var(--primary, #03A8B9) 0%, var(--primary-deep, #02818E) 100%);
  color: #FFF;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px -4px color-mix(in srgb, var(--primary, #03A8B9) 50%, transparent);
  transition: all 0.2s ease;
}
.ds-auth-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px color-mix(in srgb, var(--primary, #03A8B9) 65%, transparent);
}
.ds-auth-note {
  font-size: 12px;
  color: var(--muted-foreground, #64748B);
  margin: 0 0 16px;
  line-height: 1.4;
}

.ds-auth-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px 20px;
  background: var(--muted, #F8FAFC);
  border-top: 1px solid var(--border, #E2E8F0);
  gap: 10px;
  flex-wrap: wrap;
}
.ds-auth-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted-foreground, #64748B);
}

/* ─── Customer Account Layout (Fixed Full Width & No Squeeze) ─── */
.woocommerce-account .page-standard-main {
  max-width: 1240px !important;
  width: 100% !important;
  padding: 24px 16px 60px !important;
  margin: 0 auto !important;
}
.woocommerce-account .page-standard-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.woocommerce-account .woocommerce {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  margin: 0 !important;
}

.ds-account-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  width: 100%;
  max-width: 1200px;
  margin: 16px auto 60px;
  box-sizing: border-box;
}
@media (max-width: 860px) {
  .ds-account-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ─── Global Multi-Tab Customer Account Popup Modal ─── */
.ds-account-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ds-account-modal-overlay.is-open {
  opacity: 1;
}

.ds-account-popup-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.95);
  width: min(460px, 94vw);
  max-height: 88vh;
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 24px 64px -12px rgba(15, 23, 42, 0.35);
  border: 1px solid #E2E8F0;
  z-index: 999999;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.ds-account-popup-modal.is-open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Multi-Tab App Layout */
.ds-account-popup-modal.ds-acc-multi-modal {
  width: min(840px, 95vw);
  max-height: 88vh;
  height: 580px;
  display: flex;
  flex-direction: row;
  padding: 0;
}

/* Sidebar */
.ds-acc-pop-sidebar {
  width: 230px;
  min-width: 230px;
  background: #F8FAFC;
  border-right: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
}
.ds-acc-pop-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}
.ds-acc-pop-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary, #03A8B9);
  padding: 2px;
  flex-shrink: 0;
}
.ds-acc-pop-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.ds-avatar-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #FFF;
}
.ds-acc-pop-user-meta {
  min-width: 0;
}
.ds-acc-pop-name {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ds-acc-pop-email {
  font-size: 11px;
  color: #64748B;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Navigation Tabs */
.ds-acc-pop-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.ds-pop-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: #334155;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
}
.ds-pop-tab-btn:hover {
  background: #EEF2FF;
  color: #4338CA;
}
.ds-pop-tab-btn.active {
  background: var(--primary, #03A8B9);
  color: #FFFFFF;
  box-shadow: 0 4px 14px -3px rgba(3, 168, 185, 0.4);
}
.ds-pop-tab-btn.is-logout {
  margin-top: auto;
  color: #DC2626;
}
.ds-pop-tab-btn.is-logout:hover {
  background: #FEE2E2;
  color: #B91C1C;
}
.ds-pop-badge {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 10.5px;
  font-weight: 700;
  background: #E2E8F0;
  color: #334155;
}
.ds-pop-badge.ds-badge-pink {
  background: #FCE7F3;
  color: #BE185D;
}
.ds-pop-tab-btn.active .ds-pop-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Main Area */
.ds-acc-pop-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #FFFFFF;
}
.ds-acc-pop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #F1F5F9;
  background: #FFFFFF;
}
.ds-acc-pop-crumb {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}
.ds-acc-pop-title {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin: 0;
}
.ds-acc-pop-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: #F1F5F9;
  color: #64748B;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ds-acc-pop-close:hover {
  background: #FEE2E2;
  color: #DC2626;
  transform: scale(1.08);
}
.ds-acc-pop-content-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.ds-acc-pane {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toast */
.ds-acc-toast {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
  animation: fadeIn 0.2s ease;
}
.ds-acc-toast.is-success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}
.ds-acc-toast.is-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ─── Hero Banner (Dark Gradient + Glow) ─── */
.ds-pop-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.35);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.ds-pop-banner::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 168, 185, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.ds-pop-banner-text {
  position: relative;
  z-index: 1;
}
.ds-pop-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(3, 168, 185, 0.2);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.ds-pop-banner h4 {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.ds-pop-banner p {
  font-size: 12px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.4;
}
.ds-pop-banner-btn-wrap {
  position: relative;
  z-index: 1;
}
.ds-pop-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 24px;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.ds-pop-hero-btn:hover {
  transform: translateY(-2px);
  background: #F8FAFC;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  color: #0F172A;
}

/* ─── 4 Glowing Stat Cards ─── */
.ds-acc-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}
.ds-acc-stat-box {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 12px !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}
.ds-acc-stat-box:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.08) !important;
}
.ds-acc-stat-box.is-stat-blue {
  background: #F0F7FF !important;
  border: 1.5px solid #DBEAFE !important;
}
.ds-acc-stat-box.is-stat-blue .ds-stat-icon-wrap {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35) !important;
}
.ds-acc-stat-box.is-stat-amber {
  background: #FFFBEB !important;
  border: 1.5px solid #FEF3C7 !important;
}
.ds-acc-stat-box.is-stat-amber .ds-stat-icon-wrap {
  background: linear-gradient(135deg, #F59E0B, #D97706) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35) !important;
}
.ds-acc-stat-box.is-stat-emerald {
  background: #ECFDF5 !important;
  border: 1.5px solid #D1FAE5 !important;
}
.ds-acc-stat-box.is-stat-emerald .ds-stat-icon-wrap {
  background: linear-gradient(135deg, #10B981, #059669) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
}
.ds-acc-stat-box.is-stat-rose {
  background: #FFF1F2 !important;
  border: 1.5px solid #FFE4E6 !important;
}
.ds-acc-stat-box.is-stat-rose .ds-stat-icon-wrap {
  background: linear-gradient(135deg, #F43F5E, #E11D48) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35) !important;
}
.ds-acc-stat-box .ds-stat-icon-wrap {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.ds-acc-stat-box .ds-stat-meta {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}
.ds-acc-stat-box .ds-stat-val {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  display: block !important;
  line-height: 1.15 !important;
}
.ds-acc-stat-box .ds-stat-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #64748B !important;
  display: block !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
}

/* ─── Subcard (Recent Orders) ─── */
.ds-acc-subcard {
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 18px !important;
  background: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
}
.ds-subcard-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
}
.ds-subcard-title-group {
  display: flex !important;
  flex-direction: column !important;
}
.ds-subcard-head h5 {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 !important;
}
.ds-subcard-subtitle {
  font-size: 11.5px !important;
  color: #94A3B8 !important;
  display: block !important;
}
.ds-subcard-pill-btn {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  border: 1.5px solid #E2E8F0 !important;
  background: #F8FAFC !important;
  color: #334155 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.ds-subcard-pill-btn:hover {
  border-color: #03A8B9 !important;
  background: #E6FFFA !important;
  color: #02818E !important;
}
.ds-pop-empty {
  text-align: center !important;
  padding: 30px 16px !important;
}
.ds-empty-graphic {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: #F8FAFC !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 12px !important;
}
.ds-pop-empty h6 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin: 0 0 4px !important;
}
.ds-pop-empty p {
  font-size: 12px !important;
  color: #94A3B8 !important;
  margin: 0 !important;
}

/* Orders List */
.ds-pop-orders-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ds-pop-order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 13px;
}
.ds-pop-order-card.is-detailed {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px;
}
.ds-order-header-row, .ds-order-body-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ds-order-items-preview {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: #475569;
}
.ds-order-btns {
  display: flex;
  gap: 6px;
}
.ds-order-date {
  font-size: 11px;
  color: #64748B;
  display: block;
}
.ds-order-price {
  font-weight: 700;
  color: #0F172A;
}

/* ─── In-Modal Order Details SPA View ─── */
.ds-inmodal-order-view {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ds-ord-view-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ds-ord-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ds-ord-back-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}
.ds-ord-view-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ds-ord-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  margin-bottom: 16px;
}
.ds-ord-hero-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 4px;
}
.ds-ord-hero-card p {
  font-size: 12px;
  color: #94A3B8;
  margin: 0;
}
.ds-ord-hero-card strong {
  color: #FFFFFF;
}
.ds-ord-hero-total {
  text-align: right;
}
.ds-ord-hero-total span {
  font-size: 11px;
  color: #94A3B8;
  display: block;
}
.ds-ord-hero-total strong {
  font-size: 18px;
  color: #38BDF8;
  display: block;
}

/* Tracking Stepper */
.ds-ord-tracker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  border: 1.5px solid #F1F5F9;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 16px;
  position: relative;
}
.ds-track-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
}
.ds-track-step .ds-step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.ds-track-step.is-done {
  color: #0F172A;
}
.ds-track-step.is-done .ds-step-dot {
  background: #10B981;
  color: #FFFFFF;
}
.ds-track-step.is-curr .ds-step-dot {
  background: #03A8B9;
  color: #FFFFFF;
}

/* Card Containers */
.ds-ord-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}
.ds-ord-card h5 {
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
}

/* Items List */
.ds-ord-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ds-ord-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F1F5F9;
}
.ds-ord-item-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.ds-ord-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-ord-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ds-ord-item-info {
  flex: 1;
  min-width: 0;
}
.ds-ord-item-info strong {
  font-size: 13px;
  color: #0F172A;
  display: block;
}
.ds-ord-item-info span {
  font-size: 11.5px;
  color: #64748B;
}
.ds-ord-item-total {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
}

/* 2-col info */
.ds-ord-info-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}
.ds-ord-info-grid .ds-ord-card {
  margin-bottom: 0;
}
.ds-ord-info-grid p {
  font-size: 12.5px;
  color: #475569;
  margin: 0 0 3px;
  line-height: 1.4;
}
.ds-ord-calc-line {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #475569;
  padding: 4px 0;
}
.ds-ord-calc-line.is-total {
  border-top: 1.5px solid #E2E8F0;
  padding-top: 8px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
}
.ds-ord-calc-line.is-total span:last-child {
  color: #03A8B9;
  font-size: 15px;
}
.ds-ord-note-box {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #FFFBEB;
  border: 1px solid #FEF3C7;
  font-size: 11.5px;
  color: #92400E;
}

/* Wishlist Grid inside popup */
.ds-pop-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ds-pop-wish-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  position: relative;
  transition: all 0.2s ease;
}
.ds-pop-wish-item:hover {
  border-color: var(--primary, #03A8B9);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.ds-wish-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #F8FAFC;
  flex-shrink: 0;
}
.ds-wish-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ds-wish-details {
  flex: 1;
  min-width: 0;
}
.ds-wish-name {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.ds-wish-price {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary, #03A8B9);
  display: block;
  margin-top: 2px;
}
.ds-wish-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ds-wish-remove-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: #F1F5F9;
  color: #94A3B8;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ds-wish-remove-btn:hover {
  background: #FEE2E2;
  color: #DC2626;
}

/* Forms inside popup */
.ds-pop-form .ds-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.ds-pop-form .ds-form-group {
  margin-bottom: 12px;
}
.ds-pop-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 5px;
}
.ds-pop-form .ds-input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
}
.ds-pop-form .ds-input:focus {
  border-color: var(--primary, #03A8B9);
  background: #FFFFFF;
  outline: none;
}
.ds-pop-form textarea.ds-input {
  height: auto;
  min-height: 60px;
  padding: 8px 12px;
  resize: vertical;
}
.ds-form-divider {
  border: 0;
  border-top: 1px solid #E2E8F0;
  margin: 16px 0;
}
.ds-form-section-title {
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
}

/* Empty state */
.ds-pop-empty {
  text-align: center;
  padding: 24px 16px;
  color: #64748B;
}
.ds-pop-empty.is-large {
  padding: 40px 16px;
}
.ds-pop-empty.is-large .ds-empty-ico {
  font-size: 36px;
  margin-bottom: 8px;
}
.ds-pop-empty.is-large h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 4px;
}
.ds-pop-empty.is-large p {
  font-size: 13px;
  margin: 0 0 14px;
}

/* Responsive */
@media (max-width: 720px) {
  .ds-account-popup-modal.ds-acc-multi-modal {
    flex-direction: column;
    height: 90vh;
  }
  .ds-acc-pop-sidebar {
    width: 100%;
    min-width: 100%;
    border-right: 0;
    border-bottom: 1px solid #E2E8F0;
    padding: 12px 14px;
  }
  .ds-acc-pop-nav {
    flex-direction: row;
    overflow-x: auto;
  }
  .ds-pop-tab-btn {
    white-space: nowrap;
  }
  .ds-acc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ds-pop-wishlist-grid {
    grid-template-columns: 1fr;
  }
}
.ds-pop-order-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ds-pop-view-btn {
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--primary, #03A8B9);
  color: #FFF;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.ds-pop-view-btn:hover {
  background: var(--primary-deep, #02818E);
}

/* Sidebar Navigation */
.ds-account-sidebar {
  background: #FFF;
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px -6px rgba(0,0,0,0.05);
  position: sticky;
  top: 90px;
  width: 280px;
  min-width: 280px;
  box-sizing: border-box;
}
.ds-account-user-card {
  padding: 22px 20px;
  text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary, #03A8B9) 8%, #FFF) 0%, #FFF 100%);
  border-bottom: 1px solid var(--border, #E2E8F0);
}
.ds-account-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 2.5px solid var(--primary, #03A8B9);
  padding: 2px;
  background: #FFF;
}
.ds-account-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.ds-avatar-online {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #FFF;
}
.ds-account-user-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--foreground, #0F172A);
  margin: 0 0 2px;
}
.ds-account-user-email {
  font-size: 12px;
  color: var(--muted-foreground, #64748B);
  margin: 0;
  word-break: break-all;
}

.ds-account-nav-list {
  list-style: none;
  margin: 0;
  padding: 10px;
}
.ds-account-nav-list li {
  margin-bottom: 4px;
}
.ds-account-nav-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--foreground, #0F172A);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ds-account-nav-list a:hover {
  background: color-mix(in srgb, var(--primary, #03A8B9) 6%, #FFF);
  color: var(--primary-deep, #02818E);
  transform: translateX(3px);
}
.ds-account-nav-list li.is-active a {
  background: var(--primary, #03A8B9);
  color: #FFF;
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--primary, #03A8B9) 60%, transparent);
}
.ds-nav-icon {
  font-size: 16px;
  flex-shrink: 0;
}
.ds-nav-text {
  flex: 1;
}
.ds-nav-arrow {
  font-size: 12px;
  opacity: 0.5;
  transition: transform 0.2s ease;
}
.ds-account-nav-list a:hover .ds-nav-arrow {
  transform: translateX(2px);
  opacity: 1;
}

/* ─── Dashboard Content & Cards ─── */
.ds-dashboard-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ds-dash-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary, #03A8B9) 12%, #FFF) 0%, color-mix(in srgb, var(--primary, #03A8B9) 4%, #FFF) 100%);
  border: 1px solid color-mix(in srgb, var(--primary, #03A8B9) 20%, #E2E8F0);
  border-radius: 18px;
}
.ds-badge-teal {
  background: color-mix(in srgb, var(--primary, #03A8B9) 15%, #FFF);
  color: var(--primary-deep, #02818E);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 8px;
}
.ds-dash-greeting {
  font-size: 22px;
  font-weight: 800;
  color: var(--foreground, #0F172A);
  margin: 0 0 6px;
}
.ds-dash-banner-sub {
  font-size: 13px;
  color: var(--muted-foreground, #64748B);
  margin: 0;
  max-width: 560px;
  line-height: 1.5;
}

/* Stats Overview Grid */
.ds-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ds-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #FFF;
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ds-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.ds-stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ds-stat-icon-wrap.is-blue { background: #EFF6FF; }
.ds-stat-icon-wrap.is-amber { background: #FFFBEB; }
.ds-stat-icon-wrap.is-green { background: #ECFDF5; }
.ds-stat-icon-wrap.is-pink { background: #FDF2F8; }
.ds-stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ds-stat-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted-foreground, #64748B);
}
.ds-stat-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--foreground, #0F172A);
  line-height: 1.2;
}

/* Account Cards */
.ds-account-card {
  background: #FFF;
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ds-account-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border, #E2E8F0);
  flex-wrap: wrap;
  gap: 12px;
}
.ds-account-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--foreground, #0F172A);
  margin: 0 0 3px;
}
.ds-account-card-sub {
  font-size: 12.5px;
  color: var(--muted-foreground, #64748B);
  margin: 0;
}

/* Orders Table */
.ds-orders-table-wrap {
  overflow-x: auto;
}
.ds-orders-table {
  width: 100%;
  border-collapse: collapse;
}
.ds-orders-table th {
  padding: 10px 14px;
  background: var(--muted, #F8FAFC);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-foreground, #64748B);
  text-align: left;
  border-bottom: 1px solid var(--border, #E2E8F0);
}
.ds-orders-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border, #E2E8F0);
  font-size: 13px;
  color: var(--foreground, #0F172A);
  vertical-align: middle;
}
.ds-order-num {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--foreground, #0F172A);
}
.ds-order-num-link {
  font-weight: 700;
  color: var(--primary, #03A8B9);
  text-decoration: none;
}
.ds-order-num-link:hover {
  text-decoration: underline;
}
.ds-order-items-count {
  display: block;
  font-size: 11.5px;
  color: var(--muted-foreground, #64748B);
}
.ds-status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}
.ds-status-badge.is-processing,
.ds-status-badge.is-pending,
.ds-status-badge.is-on-hold {
  background: #FEF3C7;
  color: #B45309;
}
.ds-status-badge.is-completed {
  background: #D1FAE5;
  color: #047857;
}
.ds-status-badge.is-cancelled,
.ds-status-badge.is-failed,
.ds-status-badge.is-refunded {
  background: #FEE2E2;
  color: #B91C1C;
}
.ds-order-price {
  color: var(--primary, #03A8B9);
  font-size: 14px;
}

/* Empty State */
.ds-empty-state {
  text-align: center;
  padding: 40px 20px;
}
.ds-empty-icon {
  font-size: 44px;
  margin-bottom: 12px;
}
.ds-empty-state h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--foreground, #0F172A);
  margin: 0 0 6px;
}
.ds-empty-state p {
  font-size: 13px;
  color: var(--muted-foreground, #64748B);
  margin: 0 0 18px;
}

/* ─── Wishlist Component ─── */
.ds-card-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted-foreground, #64748B);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  z-index: 5;
}
.ds-card-wishlist-btn:hover {
  transform: scale(1.12);
  background: #FFF;
  color: #E11D48;
}
.ds-card-wishlist-btn.is-active,
.ds-card-wishlist-btn.is-active svg {
  color: #E11D48;
  fill: #E11D48;
}

.ds-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.ds-wishlist-card {
  position: relative;
  background: #FFF;
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 14px;
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ds-wishlist-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.ds-wishlist-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: #FEE2E2;
  color: #DC2626;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.ds-wishlist-remove:hover {
  background: #DC2626;
  color: #FFF;
}
.ds-wishlist-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--muted, #F8FAFC);
}
.ds-wishlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ds-wishlist-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.ds-wishlist-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.ds-wishlist-title a {
  color: var(--foreground, #0F172A);
  text-decoration: none;
}
.ds-wishlist-title a:hover {
  color: var(--primary, #03A8B9);
}
.ds-wishlist-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary, #03A8B9);
}
.ds-wishlist-stock {
  font-size: 11px;
  font-weight: 600;
}
.ds-wishlist-stock.in-stock { color: #16A34A; }
.ds-wishlist-stock.out-of-stock { color: #DC2626; }
.ds-wishlist-actions {
  margin-top: auto;
  padding-top: 6px;
}
.ds-wishlist-actions button {
  width: 100%;
}

/* ─── Dedicated Wishlist Popup Modal Styles ─── */
.ds-wishlist-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: dsFadeIn 0.2s ease forwards;
}

.ds-wishlist-popup-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2110;
  width: min(560px, 94vw);
  max-height: min(88vh, 760px);
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: dsModalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dsModalPop {
  0% {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.ds-wishlist-pop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #FAFAFC;
  border-bottom: 1px solid #EDEFEF;
}

.ds-wishlist-pop-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ds-wishlist-pop-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #FFE4E6;
  color: #E11D48;
}

.ds-wishlist-pop-titles {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ds-wishlist-pop-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.ds-wishlist-pop-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--primary, #03A8B9);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ds-wishlist-pop-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ds-wishlist-pop-close:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
  transform: rotate(90deg);
}

.ds-wishlist-pop-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  max-height: calc(88vh - 80px);
  -webkit-overflow-scrolling: touch;
}

.ds-wishlist-pop-body::-webkit-scrollbar {
  width: 6px;
}

.ds-wishlist-pop-body::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 10px;
}

.ds-wishlist-pop-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ds-wishlist-pop-item {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
  gap: 16px;
  padding: 14px 16px;
  background: #FAFAFC;
  border: 1px solid #EBECEF;
  border-radius: 16px;
  transition: all 0.22s ease;
}

.ds-wishlist-pop-item:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
}

.ds-wishlist-pop-thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  flex-shrink: 0;
  border: 1px solid #EDEFEF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.ds-wishlist-pop-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.ds-wishlist-pop-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.ds-wishlist-pop-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ds-wishlist-pop-name {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.ds-wishlist-pop-name a {
  color: #0F172A;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.ds-wishlist-pop-name a:hover {
  color: var(--primary, #03A8B9);
}

.ds-wishlist-pop-remove {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.ds-wishlist-pop-remove:hover {
  background: #FEE2E2;
  color: #EF4444;
  transform: rotate(90deg);
}

.ds-wishlist-pop-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ds-wishlist-pop-price {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--primary, #03A8B9);
}

.ds-wishlist-pop-price del {
  color: #94A3B8;
  font-weight: 400;
  font-size: 13px;
  margin-right: 4px;
}

.ds-wishlist-pop-price ins {
  text-decoration: none;
}

.ds-wishlist-pop-stock {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.ds-wishlist-pop-stock.in-stock {
  background: #ECFDF5;
  color: #059669;
}

.ds-wishlist-pop-stock.out-of-stock {
  background: #FEF2F2;
  color: #DC2626;
}

.ds-wishlist-pop-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.ds-wishlist-btn-order {
  background: linear-gradient(135deg, #03A8B9 0%, #02818E 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(3, 168, 185, 0.25) !important;
}

.ds-wishlist-btn-order:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(3, 168, 185, 0.35) !important;
}

.ds-wishlist-btn-cart {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
}

.ds-wishlist-btn-cart:hover {
  background: #F8FAFC !important;
  border-color: #94A3B8 !important;
  color: var(--primary, #03A8B9) !important;
}

.ds-wishlist-empty-state {
  text-align: center;
  padding: 48px 20px;
}

.ds-wishlist-empty-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FFE4E6;
  color: #E11D48;
  margin-bottom: 16px;
  animation: dsPulse 2s infinite ease-in-out;
}

.ds-wishlist-empty-state h4 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: #0F172A;
}

.ds-wishlist-empty-state p {
  margin: 0 0 22px;
  font-size: 14px;
  color: #64748B;
  line-height: 1.5;
  max-width: 320px;
  margin-inline: auto;
}

.ds-wishlist-explore-btn {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
}

.ds-wishlist-pop-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #EDEFEF;
}

.ds-wishlist-continue-btn {
  width: 100%;
  justify-content: center;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.ds-wishlist-continue-btn:hover {
  background: #F8FAFC;
  border-color: var(--primary, #03A8B9);
  color: var(--primary, #03A8B9);
}

.ds-wishlist-pop-loading {
  text-align: center;
  padding: 44px 20px;
  color: #64748B;
}

.ds-wishlist-pop-loading p {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 580px) {
  .ds-wishlist-popup-modal {
    width: 95vw;
    border-radius: 18px;
  }
  .ds-wishlist-pop-header {
    padding: 14px 18px;
  }
  .ds-wishlist-pop-title {
    font-size: 16px;
  }
  .ds-wishlist-pop-body {
    padding: 14px 16px;
  }
  .ds-wishlist-pop-item {
    padding: 12px;
    gap: 12px;
  }
  .ds-wishlist-pop-thumb {
    width: 68px;
    height: 68px;
  }
  .ds-wishlist-pop-name {
    font-size: 13.5px;
  }
  .ds-wishlist-pop-actions .btn {
    padding: 5px 10px !important;
    font-size: 12px !important;
  }
}
