/* ═══════════════════════════════════════════════════════
   account.css – Customer My Account Stylesheet
   Coffee Brand Palette: Deep Brown, Cream, Gold Accents
═══════════════════════════════════════════════════════ */

/* ── ACCOUNT LAYOUT ── */
.account-container {
  max-width: 1200px;
  margin: 120px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* ── SIDEBAR NAVIGATION ── */
.account-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 100px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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


.account-user-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.account-user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.account-user-info {
  min-width: 0;
}

.account-user-info h4 {
  font-size: 1rem;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.account-user-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  display: block;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--fast);
  text-align: left;
  width: 100%;
}

.account-nav-btn i {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
  color: var(--primary);
  transition: color var(--fast);
}

.account-nav-btn:hover {
  background: rgba(200, 135, 58, 0.08);
  color: var(--cream);
}

.account-nav-btn:hover i {
  color: var(--gold);
}

.account-nav-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.account-nav-btn.active i {
  color: #fff;
}

/* Mobile Nav Bar / Header */
.account-mobile-header {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 99;
}

.account-mobile-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-mobile-menu-btn {
  font-size: 1.2rem;
  color: var(--gold);
  padding: 6px;
}

/* ── CONTENT AREA ── */
.account-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  min-height: 500px;
}

.account-section-panel {
  display: none;
  animation: tabFadeIn 0.4s ease forwards;
}

.account-section-panel.active {
  display: block;
}

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

.panel-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.panel-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
}

.panel-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── DASHBOARD TAB ── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}

.dashboard-user-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.dashboard-avatar-large {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 24px rgba(200, 135, 58, 0.2);
  flex-shrink: 0;
}

.dashboard-user-details h3 {
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 4px;
}

.dashboard-user-details .user-id {
  font-family: monospace;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.dashboard-user-details .member-since {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  transition: all var(--fast);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 135, 58, 0.35);
}

.stat-card .stat-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-card .stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
}

.stat-card .stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.dashboard-loyalty-card {
  background: linear-gradient(135deg, #221408 0%, #150902 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dashboard-loyalty-card::after {
  content: '☕';
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 8rem;
  opacity: 0.05;
}

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

.loyalty-header h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.loyalty-header i {
  color: var(--gold);
}

.loyalty-balance {
  margin: 10px 0;
}

.loyalty-balance span {
  font-size: 2.2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--cream);
}

.loyalty-balance p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: -2px;
}

.loyalty-footer {
  font-size: 0.75rem;
  color: rgba(240, 230, 211, 0.7);
  border-top: 1px solid rgba(200, 135, 58, 0.15);
  padding-top: 12px;
  margin-top: 12px;
}

.dashboard-recent-orders {
  margin-top: 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.dashboard-recent-orders h3 {
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-recent-orders h3 a {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.dashboard-recent-orders h3 a:hover {
  color: var(--gold);
}

/* ── PROFILE & SECURITY TAB ── */
.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.profile-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.security-section {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.security-section h3 {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 20px;
}

/* ── ORDERS TABLE ── */
.orders-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg2);
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.orders-table th, .orders-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.orders-table th {
  background: rgba(200, 135, 58, 0.08);
  font-weight: 700;
  color: var(--cream);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.orders-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
}

.order-status.pending { background: rgba(243, 156, 18, 0.15); color: #f39c12; }
.order-status.processing { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.order-status.shipped { background: rgba(155, 89, 182, 0.15); color: #9b59b6; }
.order-status.delivered { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.order-status.cancelled { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }

.order-actions {
  display: flex;
  gap: 8px;
}

.order-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all var(--fast);
}

.order-btn:hover {
  border-color: var(--primary);
  color: var(--cream);
}

.order-btn.btn-reorder {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
}

.order-btn.btn-reorder:hover {
  box-shadow: 0 4px 12px rgba(200, 135, 58, 0.25);
  transform: translateY(-1px);
}

/* Detail Order Modal & List */
.order-detail-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.order-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: var(--bg2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.order-detail-info {
  display: flex;
  flex-direction: column;
}

.order-detail-info span:first-child {
  font-size: 0.85rem;
  color: var(--cream);
  font-weight: 600;
}

.order-detail-info span:last-child {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.order-detail-price {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.88rem;
}

/* ── ADDRESS BOOK TAB ── */
.address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.address-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  transition: all var(--fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.address-card:hover {
  border-color: rgba(200, 135, 58, 0.35);
  transform: translateY(-2px);
}

.address-card.default {
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.08);
}

.address-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(200, 135, 58, 0.12);
  color: var(--gold);
  margin-bottom: 12px;
  width: fit-content;
}

.address-tag.home { background: rgba(200, 135, 58, 0.12); color: var(--gold); }
.address-tag.office { background: rgba(52, 152, 219, 0.12); color: #3498db; }
.address-tag.other { background: rgba(149, 165, 166, 0.12); color: var(--text-muted); }

.address-name {
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
}

.address-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.address-mobile {
  font-size: 0.82rem;
  color: var(--cream);
  margin-bottom: 20px;
}

.address-actions {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.address-btn {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--fast);
}

.address-btn:hover {
  color: var(--cream);
}

.address-btn.delete:hover {
  color: #e74c3c;
}

.address-btn.set-default {
  color: var(--primary);
  margin-left: auto;
}

.address-btn.set-default:hover {
  color: var(--gold);
}

.add-address-card {
  background: transparent;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 240px;
  transition: all var(--fast);
  color: var(--text-muted);
}

.add-address-card:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(200, 135, 58, 0.03);
}

.add-address-card i {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.add-address-card span {
  font-weight: 700;
  font-size: 0.95rem;
}

/* Modal form style */
.address-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.address-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.address-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1600;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px;
}

.address-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

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

.address-modal-header h3 {
  font-size: 1.25rem;
  color: var(--cream);
}

.address-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.address-modal-close:hover {
  background: var(--primary);
  color: #fff;
}

/* ── WISHLIST TAB ── */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.wishlist-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--fast);
  display: flex;
  flex-direction: column;
}

.wishlist-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 135, 58, 0.35);
}

.wishlist-img-wrap {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.wishlist-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wishlist-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(13, 9, 5, 0.6);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all var(--fast);
}

.wishlist-remove-btn:hover {
  background: #e74c3c;
  color: #fff;
}

.wishlist-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wishlist-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wishlist-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.wishlist-empty {
  text-align: center;
  padding: 60px 0;
  grid-column: 1/-1;
}

.wishlist-empty i {
  font-size: 3rem;
  color: var(--text-muted);
  opacity: 0.3;
  margin-bottom: 16px;
}

.wishlist-empty p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ── REWARDS TAB ── */
.rewards-header-banner {
  background: radial-gradient(circle at 10% 20%, rgba(200, 135, 58, 0.2) 0%, transparent 60%),
              linear-gradient(135deg, #1f140a 0%, #0d0905 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.rewards-banner-text h3 {
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 6px;
}

.rewards-banner-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.rewards-banner-text strong {
  color: var(--gold);
}

.rewards-banner-points {
  text-align: right;
}

.rewards-banner-points .points-value {
  font-size: 3rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.rewards-banner-points .points-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.rewards-subtitle {
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.coupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.coupon-card {
  background: var(--bg2);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.coupon-card::before, .coupon-card::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
}

.coupon-card::before { left: -8px; transform: translateY(-50%) rotate(45deg); border-left: 0; border-bottom: 0; }
.coupon-card::after { right: -8px; transform: translateY(-50%) rotate(45deg); border-right: 0; border-top: 0; }

.coupon-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.coupon-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
}

.coupon-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  background: rgba(212,175,55,0.12);
  color: var(--gold);
  border-radius: var(--radius-pill);
}

.coupon-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
  margin-top: 8px;
}

.coupon-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 16px;
}

.coupon-code-row {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.coupon-code-value {
  flex: 1;
  padding: 8px 12px;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--cream);
  font-weight: 700;
  display: flex;
  align-items: center;
}

.coupon-copy-btn {
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0 14px;
  transition: all var(--fast);
}

.coupon-copy-btn:hover {
  background: var(--primary-light);
}

.rewards-ledger {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.ledger-row:last-child {
  border-bottom: none;
}

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

.ledger-action {
  font-size: 0.88rem;
  color: var(--cream);
  font-weight: 600;
}

.ledger-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.ledger-points {
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
}

.ledger-points.earned { color: #2ecc71; }
.ledger-points.spent { color: #e74c3c; }

/* ── NOTIFICATIONS TAB ── */
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  gap: 16px;
  position: relative;
  transition: all var(--fast);
}

.notification-item:hover {
  border-color: rgba(200, 135, 58, 0.25);
}

.notification-item.unread {
  border-left: 3px solid var(--gold);
}

.notification-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(200, 135, 58, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.notification-item.unread .notification-icon {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}

.notification-body {
  flex: 1;
}

.notification-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 4px;
}

.notification-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 6px;
}

.notification-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.notification-actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  flex-shrink: 0;
}

.notification-clear {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 4px;
  transition: color var(--fast);
}

.notification-clear:hover {
  color: #e74c3c;
}

.notification-read-btn {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
}

.notification-read-btn:hover {
  color: var(--gold);
}

/* ── SUPPORT CENTER TAB ── */
.support-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.support-option-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--fast);
}

.support-option-card:hover {
  border-color: rgba(200, 135, 58, 0.35);
  transform: translateY(-2px);
}

.support-option-card i {
  font-size: 2rem;
  margin-bottom: 12px;
}

.support-option-card.whatsapp i { color: #25d366; }
.support-option-card.email i { color: var(--gold); }
.support-option-card.phone i { color: #3498db; }

.support-option-card h4 {
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 6px;
}

.support-option-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.faq-section {
  margin-top: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cream);
  cursor: pointer;
  transition: background var(--fast);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.01);
}

.faq-question i {
  font-size: 0.8rem;
  color: var(--gold);
  transition: transform var(--fast);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(0, 0, 0, 0.1);
}

.faq-answer-inner {
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

/* ── SETTINGS TAB ── */
.settings-section-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.settings-section-block h3 {
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.settings-row:not(:last-child) {
  border-bottom: 1px solid rgba(200, 135, 58, 0.08);
}

.settings-row-text h4 {
  font-size: 0.92rem;
  color: var(--cream);
  margin-bottom: 2px;
}

.settings-row-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Switch Styles */
.settings-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.settings-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-switch {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--surface);
  border: 1px solid var(--border);
  transition: .3s;
  border-radius: 24px;
}

.slider-switch:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider-switch {
  background-color: var(--primary);
  border-color: var(--primary);
}

input:checked + .slider-switch:before {
  transform: translateX(20px);
  background-color: #fff;
}

/* ── RESPONSIVE STYLES ── */
@media (max-width: 992px) {
  .account-container {
    grid-template-columns: 1fr;
    margin-top: 100px;
  }
  
  .account-sidebar {
    display: none; /* Controlled by mobile side drawer */
  }

  .account-mobile-header {
    display: flex;
  }
  
  /* Mobile Sidebar Drawer */
  .account-sidebar-mobile {
    display: block;
    position: fixed;
    top: 60px;
    left: -290px;
    width: 280px;
    height: calc(100vh - 60px);
    background: var(--surface);
    border-right: 1px solid var(--border);
    z-index: 1000;
    padding: 24px;
    box-shadow: 20px 0 40px rgba(0, 0, 0, 0.5);
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }
  
  .account-sidebar-mobile.open {
    left: 0;
  }

  .account-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .account-mobile-overlay.open {
    opacity: 1;
    pointer-events: all;
  }
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .support-options-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .account-content {
    padding: 20px 16px;
  }
  .panel-header h2 {
    font-size: 1.3rem;
  }
  .profile-form-grid {
    grid-template-columns: 1fr;
  }
  .orders-table th:nth-child(3), .orders-table td:nth-child(3) {
    display: none; /* Hide product count on small screens */
  }
}

@media (max-width: 480px) {
  .dashboard-stats-grid {
    grid-template-columns: 1fr;
  }
  .coupons-grid {
    grid-template-columns: 1fr;
  }
  .address-grid {
    grid-template-columns: 1fr;
  }
  .wishlist-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .wishlist-img-wrap {
    height: 120px;
  }
  .wishlist-name {
    font-size: 0.85rem;
  }
  .wishlist-price {
    font-size: 1rem;
  }
  .rewards-header-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 24px;
  }
  .rewards-banner-points {
    text-align: center;
  }
}
