/* ── Account Page ── */
.account-wrap {
  max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px;
}
.page-hero {
  background: #f5f3f0; padding: 44px 40px 36px; margin-top: 58px;
}
.page-breadcrumb {
  font-size: 11px; color: #aaa; letter-spacing: .08em; margin-bottom: 10px; display: flex; gap: 6px;
}
.page-breadcrumb a { color: #aaa; }
.page-breadcrumb a:hover { color: #b8973a; }
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 300; color: #1a1a1a; letter-spacing: .04em;
}

/* ── Tabs ── */
.acc-tabs {
  display: flex; gap: 0; border-bottom: 1px solid #eee; margin-bottom: 32px; overflow-x: auto;
}
.acc-tab {
  padding: 14px 24px; font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #aaa; border-bottom: 2px solid transparent;
  cursor: pointer; white-space: nowrap; background: none; transition: color .2s, border-color .2s;
}
.acc-tab.active { color: #1a1a1a; border-bottom-color: #1a1a1a; }
.acc-panel { display: none; }
.acc-panel.active { display: block; }

/* ── Profile Card ── */
.profile-header {
  display: flex; align-items: center; gap: 20px;
  padding: 24px; background: #f9f8f5; border: 1px solid #eee;
  border-radius: 2px; margin-bottom: 28px;
}
.profile-avatar-img {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #b8973a, #d4b45a);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 600; color: #fff;
  font-family: 'Cormorant Garamond', serif; flex-shrink: 0;
}
.profile-name-text { font-size: 18px; font-weight: 500; color: #1a1a1a; }
.profile-email-text { font-size: 12px; color: #888; margin-top: 3px; }
.profile-since { font-size: 11px; color: #b8973a; letter-spacing: .06em; margin-top: 4px; }

/* ── Stats Row ── */
.acc-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px;
}
.acc-stat {
  border: 1px solid #eee; padding: 20px; text-align: center;
}
.acc-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400; color: #1a1a1a; line-height: 1;
}
.acc-stat-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #aaa; margin-top: 6px; }

/* ── Order List ── */
.order-card {
  border: 1px solid #eee; margin-bottom: 16px; transition: border-color .2s;
}
.order-card:hover { border-color: #b8973a; }
.order-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: #fafaf8; border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap; gap: 8px;
}
.order-num { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.order-date { font-size: 11px; color: #aaa; margin-top: 2px; }
.order-status-badge {
  font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.status-pending    { background: #fff3e0; color: #e65100; }
.status-confirmed  { background: #e3f2fd; color: #1565c0; }
.status-processing { background: #e3f2fd; color: #1565c0; }
.status-shipped    { background: #ede7f6; color: #4527a0; }
.status-delivered  { background: #e8f5e9; color: #2e7d32; }
.status-cancelled  { background: #ffebee; color: #c62828; }
.status-returned   { background: #f5f5f5; color: #616161; }

.order-items-row {
  display: flex; gap: 12px; padding: 16px 20px; align-items: center; flex-wrap: wrap;
}
.order-item-thumb {
  width: 60px; height: 60px; object-fit: cover; background: #f0ece4; flex-shrink: 0;
}
.order-item-info { flex: 1; min-width: 0; }
.order-item-name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-item-meta { font-size: 11px; color: #aaa; margin-top: 2px; }
.order-total-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; border-top: 1px solid #f0f0f0;
}
.order-total-amount { font-size: 15px; font-weight: 600; color: #1a1a1a; }

/* ── Order Tracking ── */
.tracking-wrap { padding: 20px; background: #f9f8f5; border: 1px solid #eee; border-radius: 2px; margin-bottom: 24px; }
.tracking-bar {
  display: flex; align-items: flex-start; position: relative;
  padding: 16px 0; overflow-x: auto;
}
.tracking-bar::before {
  content: ''; position: absolute; top: 24px; left: 0; right: 0; height: 2px;
  background: #eee; z-index: 0;
}
.tracking-step {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 1; min-width: 80px;
}
.tracking-dot {
  width: 14px; height: 14px; border-radius: 50%; background: #ddd;
  border: 2px solid #fff; box-shadow: 0 0 0 2px #ddd; margin-bottom: 8px; transition: all .3s;
}
.tracking-step.done .tracking-dot { background: #b8973a; box-shadow: 0 0 0 2px #b8973a; }
.tracking-step.current .tracking-dot {
  background: #1a1a1a; box-shadow: 0 0 0 3px rgba(26,26,26,.2);
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{box-shadow:0 0 0 3px rgba(26,26,26,.2)}50%{box-shadow:0 0 0 6px rgba(26,26,26,.1)} }
.tracking-label { font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #aaa; text-align: center; }
.tracking-step.done .tracking-label, .tracking-step.current .tracking-label { color: #1a1a1a; }

/* ── Address Section ── */
.address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.address-card {
  border: 1px solid #eee; padding: 20px; position: relative; cursor: pointer; transition: border-color .2s;
}
.address-card:hover { border-color: #b8973a; }
.address-card.default { border-color: #b8973a; }
.address-default-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #b8973a; background: #f5edda; padding: 3px 8px;
}
.address-name { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.address-text { font-size: 12px; color: #666; line-height: 1.7; }

/* ── Form Styles ── */
.form-group { margin-bottom: 18px; }
.form-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #1a1a1a; display: block; margin-bottom: 8px; }
.form-input {
  width: 100%; padding: 12px 14px; border: 1px solid #ddd; font-family: 'Poppins', sans-serif;
  font-size: 13px; color: #1a1a1a; outline: none; transition: border-color .2s;
}
.form-input:focus { border-color: #1a1a1a; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; padding: 14px 32px;
  background: #1a1a1a; color: #fff; cursor: pointer; border: none; transition: background .25s;
}
.form-submit:hover { background: #333; }
.form-submit.gold { background: #b8973a; }
.form-submit.gold:hover { background: #a07e2e; }
.form-submit.outline { background: transparent; color: #1a1a1a; border: 1px solid #1a1a1a; }
.form-submit.outline:hover { background: #1a1a1a; color: #fff; }

/* ── Login Box ── */
.account-login-box {
  max-width: 460px; margin: 0 auto; padding: 40px;
  border: 1px solid #eee;
}
.acc-login-tabs { display: flex; border-bottom: 1px solid #eee; margin-bottom: 28px; }
.acc-login-tab {
  flex: 1; padding: 13px; background: none; border: none; border-bottom: 2px solid transparent;
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer; transition: all .2s; color: #888;
}
.acc-login-tab.active { color: #1a1a1a; border-bottom-color: #1a1a1a; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .page-hero { padding: 32px 24px 24px; margin-top: 58px; }
  .acc-stats { grid-template-columns: 1fr 1fr; }
  .address-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .account-login-box { padding: 24px; }
  .acc-tab { padding: 12px 16px; font-size: 10px; }
  .order-card-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .acc-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .profile-header { flex-direction: column; text-align: center; }
  .tracking-label { font-size: 9px; }
}
