.profile-body {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.profile-layout {
  padding: 40px 6vw;
  display: flex;
  justify-content: center;
  flex: 1;
}

.profile-container {
  width: 100%;
  max-width: 650px;
}

/* User Info Header */
.profile-header-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.avatar-circle {
  width: 72px;
  height: 72px;
  background: var(--accent);
  color: var(--black);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
}

.user-info h2 {
  font-size: 24px;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.user-info p {
  color: var(--muted);
  font-size: 14px;
}

/* Menus */
.profile-menu {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: background 0.2s;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.menu-icon {
  width: 40px;
  color: var(--muted);
}

.menu-icon svg {
  width: 22px;
  height: 22px;
}

.menu-text {
  flex: 1;
}

.menu-text h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.menu-text p {
  font-size: 13px;
  color: var(--muted);
}

.menu-arrow {
  color: var(--muted);
  font-size: 24px;
}

/* Logout Button */
.logout-btn {
  width: 100%;
  margin-top: 16px;
  border-color: rgba(255, 77, 77, 0.3);
  color: #ff4d4d;
  background: rgba(255, 77, 77, 0.05);
  font-weight: 800;
  border-radius: 999px;
  min-height: 54px;
  cursor: pointer;
}

.logout-btn:hover {
  background: #ff4d4d;
  color: #ffffff;
  border-color: #ff4d4d;
}
/* ==========================================
   PROFILE TABS (Orders / Wishlist)
   ========================================== */
.profile-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}

.profile-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 16px;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.profile-tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.profile-tab-panel {
  display: none;
}

.profile-tab-panel.active {
  display: block;
}

/* ==========================================
   ORDER CARDS
   ========================================== */
.order-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.order-id {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.order-date {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.order-status {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.order-status.confirmed {
  background: rgba(215, 255, 63, 0.12);
  color: var(--accent);
}

.order-items-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.order-item-tag {
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
  color: var(--muted);
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.order-total {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.order-payment {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 10px;
}

/* ==========================================
   WISHLIST CARDS
   ========================================== */
.wishlist-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.wishlist-card:hover {
  border-color: rgba(255,255,255,0.15);
}

.wishlist-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.wishlist-price {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}

.remove-wishlist-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.remove-wishlist-btn:hover {
  background: rgba(255, 77, 77, 0.1);
  color: #ff4d4d;
  border-color: #ff4d4d;
}

/* ==========================================
   EMPTY STATE
   ========================================== */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}

/* ==========================================
   WISHLIST BUTTON ON PRODUCT PAGE
   ========================================== */
.wishlist-btn {
  min-width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.wishlist-btn:hover {
  border-color: #ff4d6d;
  color: #ff4d6d;
}

.wishlist-btn.wishlisted {
  border-color: #ff4d6d;
  color: #ff4d6d;
  background: rgba(255, 77, 109, 0.08);
}

/* ==========================================
   EMPTY STATE FIX — better centered look
   ========================================== */
.empty-state {
  text-align: center;
  padding: 56px 24px;
  color: var(--muted);
  font-size: 15px;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  margin-top: 8px;
}

.empty-state p {
  margin-bottom: 0;
  color: var(--muted);
}

.empty-state .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  background: var(--accent);
  color: var(--black);
  border: none;
  cursor: pointer;
  text-decoration: none;
  margin-top: 20px !important;
}

/* Wishlist nav icon hover — goes red on hover */
.wishlist-nav-btn:hover svg {
  stroke: #ff4d6d;
}

/* Wishlist card is now an <a> tag — fix link styling */
a.wishlist-card {
  display: flex;
  text-decoration: none;
  cursor: pointer;
}

a.wishlist-card:hover {
  border-color: var(--accent);
}

a.wishlist-card:hover .wishlist-name {
  color: var(--accent);
}