/* ============================================================
   PROFILE PAGE — profile.css
   ============================================================ */

.pf-page { background: #f7f8fc; min-height: 100vh; padding: 1.75rem 0 4rem; }

/* ============================================================
   LAYOUT
   ============================================================ */
.pf-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.pf-sidebar { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 80px; }

/* Avatar card */
.pf-avatar-card {
  background: #fff;
  border: 1px solid #e4e5ee;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
}
.pf-avatar-wrap { position: relative; }
.pf-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4169e1, #6c8fff);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-avatar-edit {
  position: absolute;
  bottom: 0; right: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #4169e1;
  border: 2px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pf-avatar-edit svg { width: 11px; height: 11px; stroke: currentColor; }
.pf-avatar-info { display: flex; flex-direction: column; gap: .2rem; }
.pf-avatar-name  { font-size: .95rem; font-weight: 800; color: var(--text); }
.pf-avatar-email { font-size: .75rem; color: var(--text-muted); }
.pf-avatar-badge {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  background: linear-gradient(90deg, #f5d060, #d4af37);
  color: #7a5c00;
  padding: .2rem .65rem;
  border-radius: 9999px;
  margin: 0 auto;
}
.pf-avatar-badge svg { width: 12px; height: 12px; stroke: currentColor; fill: currentColor; }

/* Nav */
.pf-nav {
  background: #fff;
  border: 1px solid #e4e5ee;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pf-nav__item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all .15s;
  cursor: pointer;
  border-left: 3px solid transparent;
  position: relative;
}
.pf-nav__item svg { width: 17px; height: 17px; stroke: currentColor; flex-shrink: 0; }
.pf-nav__item:hover { background: #f7f8fc; color: #4169e1; }
.pf-nav__item.active { background: #eef0fa; color: #4169e1; border-left-color: #4169e1; }
.pf-nav__badge {
  margin-left: auto;
  background: #4169e1;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .1rem .45rem;
  border-radius: 9999px;
}
.pf-nav__divider { height: 1px; background: #f0f1f7; margin: .25rem 0; }
.pf-nav__item--logout { color: #e63946; }
.pf-nav__item--logout:hover { background: #fff5f5; color: #c0392b; }

/* ============================================================
   CONTENT
   ============================================================ */
.pf-content { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }

/* Sections */
.pf-section { display: none; flex-direction: column; gap: 1.25rem; }
.pf-section.active { display: flex; animation: pfFadeIn .2s ease; }
@keyframes pfFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.pf-section-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.pf-section-head h1 { font-size: 1.3rem; font-weight: 800; margin: 0; flex: 1; }
.pf-section-head__count {
  font-size: .82rem;
  font-weight: 600;
  background: #eef0fa;
  color: #4169e1;
  padding: .2rem .65rem;
  border-radius: 9999px;
}
.pf-add-btn { font-size: .82rem; padding: .45rem 1rem; }

/* ============================================================
   CARDS
   ============================================================ */
.pf-card {
  background: #fff;
  border: 1px solid #e4e5ee;
  border-radius: 14px;
  overflow: hidden;
}
.pf-card--danger { border-color: #ffc5c5; }
.pf-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem .75rem;
  border-bottom: 1px solid #f0f1f7;
}
.pf-card__head h3 { font-size: .95rem; font-weight: 700; margin: 0; }
.pf-link {
  background: none;
  border: none;
  font-size: .8rem;
  font-weight: 600;
  color: #4169e1;
  cursor: pointer;
  font-family: var(--font);
  transition: color .15s;
  padding: 0;
  text-decoration: none;
}
.pf-link:hover { text-decoration: underline; }

/* ============================================================
   STATS ROW
   ============================================================ */
.pf-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
}
.pf-stat-card {
  background: #fff;
  border: 1px solid #e4e5ee;
  border-radius: 12px;
  padding: 1.1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.pf-stat-card__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pf-stat-card__icon svg { width: 20px; height: 20px; stroke: currentColor; }
.pf-stat-card__icon--blue   { background: #eef0fa; color: #4169e1; }
.pf-stat-card__icon--red    { background: #fff0f0; color: #e63946; }
.pf-stat-card__icon--green  { background: #f0faf4; color: #27ae60; }
.pf-stat-card__icon--yellow { background: #fffbea; color: #d4af37; }
.pf-stat-card__val   { font-size: 1.3rem; font-weight: 800; color: var(--text); line-height: 1; }
.pf-stat-card__label { font-size: .72rem; color: var(--text-muted); font-weight: 600; margin-top: .15rem; }

/* ============================================================
   ORDER LIST (overview)
   ============================================================ */
.pf-order-list { display: flex; flex-direction: column; }
.pf-order-row {
  display: grid;
  grid-template-columns: 140px 110px 80px 80px auto;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-bottom: 1px solid #f0f1f7;
  font-size: .83rem;
  transition: background .15s;
}
.pf-order-row:last-child { border-bottom: none; }
.pf-order-row:hover { background: #f7f8fc; }
.pf-order-row__id   { font-weight: 700; color: #4169e1; }
.pf-order-row__date { color: var(--text-muted); }
.pf-order-row__total { font-weight: 700; }

/* Badges */
.pf-badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: 9999px;
  font-size: .7rem;
  font-weight: 700;
  white-space: nowrap;
}
.pf-badge--delivered { background: #f0faf4; color: #27ae60; }
.pf-badge--shipping  { background: #eef0fa; color: #4169e1; }
.pf-badge--cancelled { background: #fff0f0; color: #e63946; }
.pf-badge--pending   { background: #fffbea; color: #d4af37; }

/* ============================================================
   BONUS CARD
   ============================================================ */
.pf-bonus-card { padding: 1.25rem; }
.pf-bonus-card .pf-card__head { display: none; }
.pf-bonus-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.pf-bonus-card__top h3 { font-size: .95rem; font-weight: 700; margin-bottom: .15rem; }
.pf-bonus-card__top p  { font-size: .78rem; color: var(--text-muted); }
.pf-bonus-card__points {
  font-size: 1.3rem;
  font-weight: 800;
  color: #d4af37;
}
.pf-bonus-levels { display: flex; gap: 0; margin-bottom: .85rem; }
.pf-bonus-level {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 600;
}
.pf-bonus-level__dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #e4e5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
}
.pf-bonus-level.done .pf-bonus-level__dot  { background: #2ecc71; color: #fff; }
.pf-bonus-level.active .pf-bonus-level__dot { background: linear-gradient(135deg,#f5d060,#d4af37); color: #7a5c00; }
.pf-bonus-level.active { color: #d4af37; }
.pf-bonus-level__pts { font-size: .65rem; color: #aaa; }
.pf-bonus-bar-wrap { display: flex; align-items: center; gap: .75rem; }
.pf-bonus-bar { flex: 1; height: 8px; background: #e4e5ee; border-radius: 9999px; overflow: hidden; }
.pf-bonus-bar__fill { height: 100%; background: linear-gradient(90deg,#4169e1,#6c8fff); border-radius: 9999px; transition: width .5s; }
.pf-bonus-bar__label { font-size: .72rem; color: var(--text-muted); white-space: nowrap; }

/* ============================================================
   ORDER CARDS (orders section)
   ============================================================ */
.pf-filter-tabs {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.pf-filter-tab {
  padding: .45rem 1rem;
  border: 1.5px solid #e4e5ee;
  border-radius: 9999px;
  background: #fff;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font);
  transition: all .15s;
}
.pf-filter-tab.active { background: #4169e1; border-color: #4169e1; color: #fff; }
.pf-filter-tab:hover:not(.active) { border-color: #c5cbee; color: var(--text); }

.pf-orders-full { display: flex; flex-direction: column; gap: .85rem; }

.pf-order-card {
  background: #fff;
  border: 1px solid #e4e5ee;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.pf-order-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.pf-order-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1.1rem;
  border-bottom: 1px solid #f0f1f7;
}
.pf-order-card__id   { font-weight: 700; color: #4169e1; font-size: .88rem; margin-right: .6rem; }
.pf-order-card__date { font-size: .78rem; color: var(--text-muted); }
.pf-order-card__books {
  display: flex;
  gap: .5rem;
  padding: .85rem 1.1rem;
  flex-wrap: wrap;
}
.pf-order-card__books img {
  width: 48px; height: 66px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e4e5ee;
}
.pf-order-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1.1rem;
  border-top: 1px solid #f0f1f7;
  background: #f7f8fc;
}
.pf-order-card__total { font-size: .85rem; color: var(--text-muted); }
.pf-order-card__total strong { color: var(--primary); font-size: .95rem; }
.pf-order-card__actions { display: flex; gap: .5rem; }

/* Small buttons */
.pf-btn-sm {
  padding: .35rem .85rem;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all .15s;
  border: 1.5px solid transparent;
}
.pf-btn-sm--outline  { border-color: #e4e5ee; background: #fff; color: var(--text); }
.pf-btn-sm--outline:hover { border-color: #4169e1; color: #4169e1; }
.pf-btn-sm--primary  { background: #4169e1; color: #fff; border-color: #4169e1; }
.pf-btn-sm--primary:hover { background: #2a3f8f; }
.pf-btn-sm--full { width: 100%; display: block; text-align: center; }

/* Order tracking */
.pf-order-card__track { padding: .5rem 1.1rem .75rem; }
.pf-track { display: flex; align-items: center; }
.pf-track__step { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.pf-track__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #e4e5ee;
  border: 2px solid #e4e5ee;
}
.pf-track__step span { font-size: .65rem; color: var(--text-muted); white-space: nowrap; }
.pf-track__line { flex: 1; height: 2px; background: #e4e5ee; }
.pf-track__line.done { background: #2ecc71; }
.pf-track__step.done .pf-track__dot { background: #2ecc71; border-color: #2ecc71; }
.pf-track__step.active .pf-track__dot { background: #4169e1; border-color: #4169e1; box-shadow: 0 0 0 3px rgba(65,105,225,.2); }
.pf-track__step.active span { color: #4169e1; font-weight: 700; }

/* ============================================================
   WISHLIST
   ============================================================ */
.pf-wish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}
.pf-wish-item {
  background: #fff;
  border: 1px solid #e4e5ee;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s;
}
.pf-wish-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.pf-wish-item__remove {
  position: absolute;
  top: .5rem; right: .5rem;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  font-size: .65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  z-index: 2;
}
.pf-wish-item__remove:hover { background: #e63946; }
.pf-wish-item__img { display: block; height: 160px; overflow: hidden; }
.pf-wish-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pf-wish-item:hover .pf-wish-item__img img { transform: scale(1.04); }
.pf-wish-item__body { padding: .75rem; display: flex; flex-direction: column; gap: .3rem; }
.pf-wish-item__title { font-size: .82rem; font-weight: 700; color: var(--text); text-decoration: none; transition: color .15s; display: block; }
.pf-wish-item__title:hover { color: #4169e1; }
.pf-wish-item__author { font-size: .72rem; color: var(--text-muted); }
.pf-wish-item__price  { font-size: .9rem; font-weight: 800; color: var(--primary); margin-bottom: .2rem; }

/* ============================================================
   MY BOOKS
   ============================================================ */
.pf-books-tabs { margin-bottom: -.25rem; }
.pf-books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.pf-book-item { display: flex; flex-direction: column; gap: .4rem; }
.pf-book-item a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid #e4e5ee; height: 170px; }
.pf-book-item img { width: 100%; height: 100%; object-fit: cover; }
.pf-book-item__title  { font-size: .82rem; font-weight: 700; color: var(--text); }
.pf-book-item__author { font-size: .72rem; color: var(--text-muted); }
.pf-book-item__progress { display: flex; align-items: center; gap: .4rem; }
.pf-book-item__prog-bar { flex: 1; height: 4px; background: #e4e5ee; border-radius: 9999px; overflow: hidden; }
.pf-book-item__prog-bar div { height: 100%; background: #4169e1; border-radius: 9999px; }
.pf-book-item__progress span { font-size: .65rem; color: var(--text-muted); font-weight: 700; white-space: nowrap; }
.pf-done { color: #27ae60 !important; font-weight: 700 !important; }
.pf-book-item__tag { font-size: .72rem; font-weight: 700; color: var(--text-muted); background: #f0f1f7; padding: .15rem .5rem; border-radius: 6px; display: inline-block; }

/* ============================================================
   ADDRESSES
   ============================================================ */
.pf-addr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.pf-addr-card {
  background: #fff;
  border: 2px solid #e4e5ee;
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  transition: border-color .2s;
}
.pf-addr-card--default { border-color: #4169e1; }
.pf-addr-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .3rem; }
.pf-addr-default-tag {
  font-size: .7rem;
  font-weight: 700;
  background: #eef0fa;
  color: #4169e1;
  padding: .15rem .5rem;
  border-radius: 6px;
}
.pf-addr-card__actions { display: flex; gap: .25rem; }
.pf-icon-btn { background: none; border: none; font-size: .9rem; cursor: pointer; padding: .15rem; border-radius: 4px; transition: background .15s; }
.pf-icon-btn:hover { background: #f0f1f7; }
.pf-icon-btn--del:hover { background: #fff0f0; }
.pf-addr-card__name { font-size: .88rem; font-weight: 700; }
.pf-addr-card__line { font-size: .8rem; color: var(--text-muted); }
.pf-addr-card--add {
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.pf-addr-card--add button {
  background: none;
  border: none;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  transition: color .15s;
}
.pf-addr-card--add button span { font-size: 1.5rem; line-height: 1; }
.pf-addr-card--add button:hover { color: #4169e1; }

/* ============================================================
   FORM ELEMENTS (shared)
   ============================================================ */
.pf-addr-form { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.pf-addr-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.pf-field { display: flex; flex-direction: column; gap: .25rem; }
.pf-field--full { grid-column: 1 / -1; }
.pf-field label { font-size: .75rem; font-weight: 700; color: var(--text); }
.pf-input {
  padding: .6rem .85rem;
  border: 1.5px solid #e4e5ee;
  border-radius: 8px;
  font-size: .88rem;
  font-family: var(--font);
  color: var(--text);
  background: #f7f8fc;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  box-sizing: border-box;
}
.pf-input:focus { border-color: #4169e1; background: #fff; box-shadow: 0 0 0 3px rgba(65,105,225,.1); }
.pf-input.error { border-color: #e63946; }
.pf-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2rem; cursor: pointer; }
.pf-check-row { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text-muted); cursor: pointer; }
.pf-check-row input { accent-color: #4169e1; cursor: pointer; }
.pf-addr-form__btns { display: flex; align-items: center; gap: .75rem; }
.pf-field-err { font-size: .72rem; color: #e63946; font-weight: 600; min-height: .9rem; }

/* ============================================================
   SETTINGS
   ============================================================ */
.pf-settings-view { padding: .75rem 1.25rem 1rem; display: flex; flex-direction: column; gap: .5rem; }
.pf-settings-row { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; padding: .35rem 0; border-bottom: 1px solid #f7f8fc; }
.pf-settings-row span { color: var(--text-muted); }
.pf-settings-row strong { color: var(--text); font-weight: 600; }
.pf-settings-form { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.pf-settings-form--always { display: flex !important; }

/* Password eye */
.pf-input-eye { position: relative; }
.pf-input-eye .pf-input { padding-right: 2.5rem; }
.pf-eye-btn { position: absolute; right: .65rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: .9rem; opacity: .5; transition: opacity .15s; }
.pf-eye-btn:hover { opacity: 1; }

/* Notification toggles */
.pf-notif-list { display: flex; flex-direction: column; gap: 0; padding: .25rem 0; }
.pf-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.25rem;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid #f0f1f7;
}
.pf-toggle-row:last-child { border-bottom: none; }
.pf-toggle-row:hover { background: #f7f8fc; }
.pf-toggle-row strong { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .1rem; }
.pf-toggle-row span { font-size: .75rem; color: var(--text-muted); }
.pf-toggle {
  width: 42px; height: 24px;
  border-radius: 9999px;
  background: #e4e5ee;
  position: relative;
  flex-shrink: 0;
  transition: background .25s;
  cursor: pointer;
}
.pf-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform .25s;
}
.pf-toggle.active { background: #4169e1; }
.pf-toggle.active::after { transform: translateX(18px); }

/* Danger zone */
.pf-danger-text { font-size: .83rem; color: var(--text-muted); padding: .5rem 1.25rem .75rem; }
.pf-btn-danger {
  margin: 0 1.25rem 1.25rem;
  padding: .55rem 1.25rem;
  background: #fff;
  border: 2px solid #e63946;
  border-radius: 9px;
  color: #e63946;
  font-size: .85rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all .15s;
}
.pf-btn-danger:hover { background: #e63946; color: #fff; }

/* ============================================================
   DELETE MODAL
   ============================================================ */
.pf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.pf-modal {
  background: #fff;
  border-radius: 18px;
  padding: 2.25rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: pfModalIn .25s ease;
}
@keyframes pfModalIn { from { opacity: 0; transform: scale(.94) translateY(16px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.pf-modal__icon { font-size: 2.5rem; margin-bottom: .75rem; }
.pf-modal h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: .5rem; }
.pf-modal p  { font-size: .85rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 1.5rem; }
.pf-modal__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.pf-modal__actions .pf-btn-danger { margin: 0; }

/* ============================================================
   ACTIVE NAV HIGHLIGHT
   ============================================================ */
.nav-icon-btn--active { color: #4169e1 !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .pf-layout { grid-template-columns: 1fr; }
  .pf-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .pf-avatar-card { flex-direction: row; text-align: left; }
  .pf-nav { flex-direction: row; flex-wrap: wrap; overflow: visible; }
  .pf-nav__item { border-left: none; border-bottom: 3px solid transparent; padding: .6rem .85rem; }
  .pf-nav__item.active { border-bottom-color: #4169e1; }
  .pf-stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pf-stats-row { grid-template-columns: repeat(2, 1fr); }
  .pf-addr-form__row { grid-template-columns: 1fr; }
  .pf-order-row { grid-template-columns: 1fr 1fr; }
  .pf-order-row__items { display: none; }
  .pf-wish-grid { grid-template-columns: repeat(2, 1fr); }
}
