/* ==========================================================================
   Sri Lakshmi Fashion (SLF) - Screen 7: Customer Account Dashboard CSS
   Brand Identity: Deep Burgundy (#720120), Royal Gold (#c59a44 / #cca352),
   Warm Ivory / Cream (#fcf9f5, #fbf8f4), Playfair Display & Plus Jakarta Sans.
   ========================================================================== */

:root {
  --slf-burgundy: #720120;
  --slf-burgundy-hover: #580119;
  --slf-burgundy-light: #fbebee;
  --slf-gold: #cca352;
  --slf-gold-dark: #b88b3b;
  --slf-gold-light: #fcf6eb;
  --slf-ivory: #fcf9f5;
  --slf-bg-warm: #faf7f2;
  --slf-border: #ece7e1;
  --slf-text-dark: #222222;
  --slf-text-muted: #666666;
  --slf-text-light: #888888;
  --slf-radius-sm: 6px;
  --slf-radius-md: 10px;
  --slf-radius-lg: 16px;
  --slf-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --slf-shadow-md: 0 4px 16px rgba(114, 1, 32, 0.06);
  --slf-shadow-hover: 0 8px 24px rgba(114, 1, 32, 0.12);
}

body {
  background-color: var(--slf-bg-warm);
  color: var(--slf-text-dark);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* ==========================================================================
   CONTAINER & BREADCRUMBS
   ========================================================================== */
.account-page-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px 60px 24px;
}

.account-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0 20px 0;
  font-size: 13px;
  color: var(--slf-text-muted);
}

.account-breadcrumbs a {
  color: var(--slf-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.account-breadcrumbs a:hover {
  color: var(--slf-burgundy);
}

.account-breadcrumbs .sep {
  color: #bbb;
  font-size: 12px;
}

.account-breadcrumbs .current {
  color: var(--slf-burgundy);
  font-weight: 600;
}

/* ==========================================================================
   WELCOME BANNER / PROFILE HEADER (DESKTOP)
   ========================================================================== */
.welcome-banner {
  background: linear-gradient(135deg, #fffdfb 0%, #faf3ea 100%);
  border: 1px solid #eddcc6;
  border-radius: var(--slf-radius-lg);
  padding: 24px 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--slf-shadow-sm);
}

/* Decorative Gold Floral corner */
.welcome-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(204, 163, 82, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.welcome-profile-left {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1;
}

.profile-avatar-wrapper {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--slf-gold) 0%, #f7e6cc 50%, var(--slf-gold-dark) 100%);
  box-shadow: 0 4px 12px rgba(184, 139, 59, 0.25);
  flex-shrink: 0;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  display: block;
}

.welcome-text-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.welcome-greeting {
  font-size: 14px;
  font-weight: 500;
  color: var(--slf-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0;
}

.welcome-customer-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--slf-burgundy);
  margin: 0;
  line-height: 1.2;
}

.welcome-subtext {
  font-size: 14px;
  color: var(--slf-text-muted);
  margin: 0;
}

/* Benefits Strip in Header */
.benefits-strip-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid #ebd9be;
  border-radius: 50px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.benefit-pill {
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--slf-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slf-gold-dark);
  font-size: 15px;
  flex-shrink: 0;
}

.benefit-text {
  display: flex;
  flex-direction: column;
}

.benefit-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--slf-text-dark);
  line-height: 1.2;
}

.benefit-desc {
  font-size: 11px;
  color: var(--slf-text-light);
}

/* ==========================================================================
   METRICS ROW (5 STAT CARDS)
   ========================================================================== */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--slf-border);
  border-radius: var(--slf-radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--slf-shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--slf-shadow-md);
  border-color: var(--slf-gold);
}

.metric-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.metric-icon-orders {
  background: #fdf1f2;
  color: var(--slf-burgundy);
  border: 1px solid #f9ccd1;
}

.metric-icon-delivered {
  background: #f1f8f3;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.metric-icon-transit {
  background: #fff8f0;
  color: #e65100;
  border: 1px solid #ffe0b2;
}

.metric-icon-upcoming {
  background: #f0f7ff;
  color: #0277bd;
  border: 1px solid #b3e5fc;
}

.metric-icon-wishlist {
  background: #fff0f5;
  color: #c2185b;
  border: 1px solid #f8bbd0;
}

.metric-info {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: 26px;
  font-weight: 800;
  color: var(--slf-text-dark);
  line-height: 1.1;
}

.metric-label {
  font-size: 13px;
  color: var(--slf-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* ==========================================================================
   MAIN DASHBOARD GRID LAYOUT (SIDEBAR + CONTENT)
   ========================================================================== */
.account-layout-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

/* --------------------------------------------------------------------------
   LEFT SIDEBAR: NAVIGATION & PROMO CARD
   -------------------------------------------------------------------------- */
.account-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-nav-card {
  background: #ffffff;
  border: 1px solid var(--slf-border);
  border-radius: var(--slf-radius-md);
  box-shadow: var(--slf-shadow-sm);
  overflow: hidden;
  padding: 8px;
}

.sidebar-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-nav-item a,
.sidebar-nav-item button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slf-text-dark);
  text-decoration: none;
  border-radius: var(--slf-radius-sm);
  transition: all 0.2s ease;
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}

.sidebar-nav-item.active a,
.sidebar-nav-item.active button {
  background: var(--slf-burgundy);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(114, 1, 32, 0.2);
}

.sidebar-nav-item a:hover:not(.active a),
.sidebar-nav-item button:hover:not(.active button) {
  background: #faf4f5;
  color: var(--slf-burgundy);
}

.sidebar-nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-nav-badge {
  margin-left: auto;
  background: var(--slf-burgundy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.sidebar-nav-item.active .sidebar-nav-badge {
  background: #ffffff;
  color: var(--slf-burgundy);
}

/* Sidebar Promotional Card */
.sidebar-promo-card {
  background: linear-gradient(135deg, #fbf5eb 0%, #f6ebd8 100%);
  border: 1px solid #ebd9be;
  border-radius: var(--slf-radius-md);
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--slf-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
}

.promo-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 125px;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  mask-image: linear-gradient(to left, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

.promo-content {
  position: relative;
  z-index: 2;
  max-width: 140px;
}

.promo-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--slf-burgundy);
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.promo-subtext {
  font-size: 12px;
  color: #665;
  margin: 0 0 14px 0;
  line-height: 1.35;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--slf-burgundy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 7px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(114, 1, 32, 0.25);
  border: none;
  cursor: pointer;
}

.promo-btn:hover {
  background: var(--slf-burgundy-hover);
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   RIGHT CONTENT: SUB-GRID (RECENT ORDERS + SIDEBAR WIDGETS)
   -------------------------------------------------------------------------- */
.dashboard-main-subgrid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ==========================================================================
   RECENT ORDERS SECTION
   ========================================================================== */
.orders-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--slf-burgundy);
  margin: 0;
}

.view-all-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--slf-burgundy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.view-all-link:hover {
  color: var(--slf-burgundy-hover);
  text-decoration: underline;
}

/* Individual Order Card */
.recent-orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card-item {
  background: #ffffff;
  border: 1px solid var(--slf-border);
  border-radius: var(--slf-radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--slf-shadow-sm);
  transition: all 0.25s ease;
}

.order-card-item:hover {
  box-shadow: var(--slf-shadow-md);
  border-color: #dfd4c5;
}

.order-primary-thumb-wrap {
  width: 82px;
  height: 104px;
  border-radius: var(--slf-radius-sm);
  overflow: hidden;
  border: 1px solid #ebd9be;
  flex-shrink: 0;
  background: #faf7f2;
}

.order-primary-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.order-card-item:hover .order-primary-thumb {
  transform: scale(1.04);
}

.order-center-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-num-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--slf-text-dark);
  margin: 0;
}

.order-timestamp {
  font-size: 12px;
  color: var(--slf-text-light);
  margin: 0;
}

.order-meta-line {
  font-size: 13px;
  color: var(--slf-text-dark);
  font-weight: 500;
  margin: 2px 0 6px 0;
}

.order-meta-line strong {
  font-weight: 700;
  color: var(--slf-burgundy);
}

/* Mini thumbnail list row */
.order-mini-thumbs-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.mini-thumb-wrap {
  width: 34px;
  height: 42px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e5ded6;
  background: #f7f3ee;
  flex-shrink: 0;
}

.mini-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Order Right Actions & Status */
.order-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 140px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.status-badge.badge-delivered {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.status-badge.badge-in-transit {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffe0b2;
}

.status-badge.badge-cancelled {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.status-badge.badge-upcoming {
  background: #e3f2fd;
  color: #0277bd;
  border: 1px solid #bbdefb;
}

.status-subtext {
  font-size: 11px;
  color: var(--slf-text-muted);
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.order-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 120px;
  margin-top: 4px;
}

.btn-order-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--slf-burgundy);
  border: 1.5px solid var(--slf-burgundy);
  border-radius: var(--slf-radius-sm);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.btn-order-view:hover {
  background: var(--slf-burgundy-light);
}

.btn-order-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--slf-burgundy);
  color: #ffffff;
  border: 1.5px solid var(--slf-burgundy);
  border-radius: var(--slf-radius-sm);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.btn-order-primary:hover {
  background: var(--slf-burgundy-hover);
  border-color: var(--slf-burgundy-hover);
}

/* ==========================================================================
   SIDEBAR WIDGETS (DEFAULT ADDRESS, WISHLIST, RECENTLY VIEWED)
   ========================================================================== */
.dashboard-sidebar-widgets {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget-card {
  background: #ffffff;
  border: 1px solid var(--slf-border);
  border-radius: var(--slf-radius-md);
  padding: 20px;
  box-shadow: var(--slf-shadow-sm);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.widget-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--slf-burgundy);
  margin: 0;
}

/* Default Address Card */
.address-content-box {
  background: #faf7f2;
  border: 1px solid #ebd9be;
  border-radius: var(--slf-radius-sm);
  padding: 14px 16px;
  position: relative;
}

.address-type-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.address-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--slf-burgundy);
}

.address-menu-btn {
  background: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  padding: 2px 4px;
  font-size: 16px;
  border-radius: 4px;
}

.address-menu-btn:hover {
  color: var(--slf-text-dark);
}

.address-lines {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin: 0 0 8px 0;
}

.address-phone {
  font-size: 13px;
  font-weight: 600;
  color: var(--slf-text-dark);
  margin: 0;
}

/* Wishlist & Recently Viewed List */
.mini-product-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-product-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f2ece4;
}

.mini-product-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.mini-product-img-wrap {
  width: 58px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ecdcc7;
  flex-shrink: 0;
  background: #faf7f2;
}

.mini-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.mini-product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--slf-text-dark);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.mini-product-name:hover {
  color: var(--slf-burgundy);
}

.btn-wishlist-heart {
  background: transparent;
  border: none;
  color: #e53935;
  cursor: pointer;
  padding: 0;
  font-size: 16px;
  line-height: 1;
}

.btn-wishlist-heart.outline {
  color: #bbb;
}

.mini-product-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--slf-burgundy);
  margin: 2px 0 6px 0;
}

.btn-add-to-cart-mini {
  align-self: flex-start;
  background: #ffffff;
  color: var(--slf-burgundy);
  border: 1px solid var(--slf-burgundy);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add-to-cart-mini:hover {
  background: var(--slf-burgundy);
  color: #ffffff;
}

/* ==========================================================================
   MOBILE VIEWS & BOTTOM NAVIGATION
   ========================================================================== */
.mobile-account-header {
  display: none;
}

.mobile-profile-card {
  display: none;
}

.mobile-menu-card {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

/* ==========================================================================
   MODALS (VIEW DETAILS, ADDRESS, PROFILE, PASSWORD, NOTIFICATIONS, HELP)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--slf-radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--slf-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fdfaf7;
  border-top-left-radius: var(--slf-radius-lg);
  border-top-right-radius: var(--slf-radius-lg);
}

.modal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--slf-burgundy);
  margin: 0;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--slf-burgundy);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--slf-border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: #faf7f2;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slf-text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--slf-border);
  border-radius: var(--slf-radius-sm);
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--slf-burgundy);
  box-shadow: 0 0 0 3px rgba(114, 1, 32, 0.1);
}

.btn-secondary {
  background: #ffffff;
  color: #555;
  border: 1px solid #ccc;
  border-radius: var(--slf-radius-sm);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--slf-burgundy);
  color: #ffffff;
  border: 1px solid var(--slf-burgundy);
  border-radius: var(--slf-radius-sm);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--slf-burgundy-hover);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #2e7d32;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--slf-radius-sm);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TABLETS & MOBILE <= 992px, <= 860px, <= 480px)
   ========================================================================== */
@media (max-width: 1024px) {
  .welcome-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .benefits-strip-box {
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
    border-radius: var(--slf-radius-md);
  }
  .account-layout-grid {
    grid-template-columns: 200px 1fr;
  }
  .dashboard-main-subgrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .account-page-container {
    padding: 0 16px 80px 16px;
  }

  /* Hide Desktop specific components on mobile */
  .benefits-strip-box {
    display: none;
  }

  .welcome-banner {
    display: none;
  }

  .account-breadcrumbs {
    display: none;
  }

  .account-sidebar-col {
    display: none;
  }

  /* Show Mobile Header & Profile summary */
  .mobile-account-header {
    display: block;
    padding: 14px 0 6px 0;
  }

  .mobile-page-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--slf-burgundy);
    margin: 0 0 16px 0;
  }

  .mobile-profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--slf-border);
    border-radius: var(--slf-radius-md);
    padding: 14px 18px;
    margin-bottom: 18px;
    box-shadow: var(--slf-shadow-sm);
  }

  .mobile-profile-left {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .mobile-avatar-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--slf-gold) 0%, #ecdcc7 100%);
    flex-shrink: 0;
  }

  .mobile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }

  .mobile-profile-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--slf-text-dark);
    margin: 0;
  }

  .mobile-view-profile-link {
    font-size: 13px;
    color: var(--slf-burgundy);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .mobile-settings-btn {
    background: transparent;
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
  }

  /* Mobile horizontal scrollable metrics */
  .metrics-row {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 8px;
    margin-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .metrics-row::-webkit-scrollbar {
    display: none;
  }

  .metric-card {
    flex: 0 0 auto;
    min-width: 80px;
    padding: 12px 14px;
    gap: 10px;
  }

  .metric-number {
    font-size: 20px;
  }

  .metric-label {
    font-size: 12px;
  }

  /* Mobile Account Navigation Menu List */
  .mobile-menu-card {
    display: block;
    background: #ffffff;
    border: 1px solid var(--slf-border);
    border-radius: var(--slf-radius-md);
    box-shadow: var(--slf-shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
  }

  .mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-menu-item a,
  .mobile-menu-item button {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid #f2ede7;
    text-decoration: none;
    color: var(--slf-text-dark);
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    box-sizing: border-box;
    cursor: pointer;
  }

  .mobile-menu-item:last-child a,
  .mobile-menu-item:last-child button {
    border-bottom: none;
  }

  .mobile-menu-chevron {
    margin-left: auto;
    color: #aaa;
    font-size: 16px;
  }

  /* Mobile Promo Banner */
  .mobile-promo-banner {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fbf5eb 0%, #f6ebd8 100%);
    border: 1px solid #ebd9be;
    border-radius: var(--slf-radius-md);
    overflow: hidden;
    margin-bottom: 24px;
  }

  .mobile-promo-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .mobile-promo-text {
    padding: 14px 16px;
  }

  .mobile-promo-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--slf-burgundy);
    margin: 0 0 4px 0;
  }

  .mobile-promo-sub {
    font-size: 12px;
    color: #665;
    margin: 0 0 10px 0;
  }

  /* Single Column Layout on Mobile */
  .account-layout-grid {
    display: block;
  }

  .dashboard-main-subgrid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .order-card-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-right-col {
    width: 100%;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0ede8;
  }

  .order-actions-stack {
    width: auto;
    flex-direction: row;
    margin-top: 0;
  }

  /* Mobile Sticky Bottom Navigation */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e0d8cf;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    z-index: 990;
    justify-content: space-around;
    padding: 8px 4px 10px 4px;
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: #777;
    font-size: 11px;
    font-weight: 500;
    position: relative;
    padding: 4px 8px;
  }

  .bottom-nav-item.active {
    color: var(--slf-burgundy);
    font-weight: 700;
  }

  .bottom-nav-icon {
    font-size: 18px;
    line-height: 1;
  }

  .bottom-nav-badge {
    position: absolute;
    top: 0;
    right: 10px;
    background: var(--slf-burgundy);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
