/* Особистий кабінет — Pibu */
:root {
  --gf-acc-pink: #e61f7f;
  --gf-acc-pink-light: #fff0f6;
  --gf-acc-border: #ececf0;
  --gf-acc-text: #1a1a1a;
  --gf-acc-muted: #888;
  --gf-acc-bg: #f7f7f9;
}

.gf-account {
  margin: 0;
  font-family: var(--gf-font-body, "Prompt", sans-serif);
  font-size: 15px;
  color: var(--gf-acc-text);
  background: var(--gf-acc-bg);
  min-height: 100vh;
}

.gf-account h1,
.gf-account h2,
.gf-account h3,
.gf-account .gf-account-nav__title {
  font-family: var(--gf-font-heading, "Barlow", sans-serif);
}

.gf-account-top {
  background: #fff;
  border-bottom: 1px solid var(--gf-acc-border);
  padding: 12px 20px;
}

.gf-account-top__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.gf-account-catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--gf-acc-pink);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.gf-account-catalog-btn:hover {
  opacity: 0.92;
  color: #fff;
}

.gf-account-search {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  background: #f3f3f5;
  border-radius: 999px;
  padding: 4px 6px 4px 16px;
}

.gf-account-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
}

.gf-account-search button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  color: #666;
}

.gf-account-cart-link {
  font-size: 1.25rem;
  color: #333;
  text-decoration: none;
}

.gf-account-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .gf-account-wrap {
    grid-template-columns: 1fr;
  }
}

.gf-account-sidebar {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--gf-acc-border);
  padding: 20px;
}

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

.gf-account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gf-acc-pink-light);
  color: var(--gf-acc-pink);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gf-account-user-name {
  font-weight: 700;
  margin: 0 0 4px;
  font-size: 1rem;
}

.gf-account-user-phone {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gf-acc-muted);
}

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

.gf-account-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.15s;
}

.gf-account-nav__link:hover {
  background: #f5f5f7;
}

.gf-account-nav__link.is-active {
  background: var(--gf-acc-pink-light);
  color: var(--gf-acc-pink);
  font-weight: 600;
}

.gf-account-nav__link--logout {
  margin-top: 8px;
  color: #666;
}

.gf-account-main {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--gf-acc-border);
  padding: 28px 24px;
  min-height: 400px;
}

.gf-account-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.gf-account-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.gf-account-lead {
  color: var(--gf-acc-muted);
  margin: -0.5rem 0 1.25rem;
}

.gf-account-empty {
  color: var(--gf-acc-muted);
  padding: 2rem 0;
}

.gf-account-flash {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  background: #fff7fb;
  color: #7a1f4a;
  border: 1px solid #f0d0e0;
}

.gf-account-flash--success {
  background: #edf9f0;
  color: #1d6b38;
  border: 1px solid #b8e6c8;
}

.gf-account-flash--error {
  background: #fff3f3;
  color: #9b1c1c;
  border: 1px solid #f5c2c2;
}

/* Orders */
.gf-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gf-order-card {
  border: 1px solid var(--gf-acc-border);
  border-radius: 12px;
  overflow: hidden;
}

.gf-order-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  background: #fafafa;
}

.gf-order-card__head::-webkit-details-marker {
  display: none;
}

.gf-order-card__id {
  font-weight: 700;
  margin-right: 12px;
}

.gf-order-card__date {
  color: var(--gf-acc-muted);
  font-size: 0.9rem;
}

.gf-order-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gf-order-card__total {
  font-weight: 700;
}

.gf-order-status {
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.gf-order-status.is-new { background: #e8f0fe; color: #1a56db; }
.gf-order-status.is-processing { background: #fff4e5; color: #b45309; }
.gf-order-status.is-shipped { background: #ede9fe; color: #6d28d9; }
.gf-order-status.is-done { background: #edf9f0; color: #1d6b38; }
.gf-order-status.is-cancelled { background: #f3f3f5; color: #666; }

.gf-order-card__body {
  padding: 16px 18px 20px;
  border-top: 1px solid var(--gf-acc-border);
}

.gf-order-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 8px;
}

.gf-order-items-table th,
.gf-order-items-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #f0f0f2;
}

.gf-order-items-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--gf-acc-muted);
}

/* Wishlist */
.gf-wishlist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gf-wishlist-row {
  display: grid;
  grid-template-columns: 72px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--gf-acc-border);
  border-radius: 12px;
}

@media (max-width: 700px) {
  .gf-wishlist-row {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
  }
  .gf-wishlist-row__price,
  .gf-wishlist-buy-btn,
  .gf-wishlist-remove-btn {
    grid-column: 2;
  }
}

.gf-wishlist-row__img-wrap img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  background: #f6f6f8;
  border: 1px solid #eee;
}

.gf-wishlist-row__name {
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}

.gf-wishlist-row__name:hover {
  color: var(--gf-acc-pink);
}

.gf-wishlist-row__sku {
  font-size: 0.85rem;
  color: var(--gf-acc-muted);
  margin: 4px 0 0;
}

.gf-wishlist-row__price {
  font-weight: 700;
  white-space: nowrap;
}

.gf-wishlist-buy-btn {
  padding: 10px 20px;
  background: var(--gf-acc-pink);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.gf-wishlist-remove-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gf-acc-border);
  border-radius: 10px;
  background: #fff;
  color: #888;
  cursor: pointer;
}

/* Forms */
.gf-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}

@media (max-width: 600px) {
  .gf-info-grid {
    grid-template-columns: 1fr;
  }
}

.gf-info-field--full {
  grid-column: 1 / -1;
}

.gf-info-field label {
  display: block;
  font-size: 0.82rem;
  color: var(--gf-acc-muted);
  margin-bottom: 6px;
}

.gf-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gf-acc-border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
}

.gf-input:focus {
  outline: none;
  border-color: var(--gf-acc-pink);
  box-shadow: 0 0 0 3px rgba(230, 31, 127, 0.12);
}

.gf-field-hint {
  font-size: 0.78rem;
  color: var(--gf-acc-muted);
  margin: 6px 0 0;
}

.gf-form-actions {
  margin-top: 1.5rem;
}

.gf-address-block {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gf-acc-border);
}

.gf-address-block:last-of-type {
  border-bottom: none;
}

.gf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.gf-btn--primary {
  background: var(--gf-acc-pink);
  color: #fff;
}

.gf-btn--ghost {
  background: #fff;
  border: 1px solid var(--gf-acc-border);
  color: #333;
}

.gf-btn--block {
  width: 100%;
}

.gf-dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
  margin: 0;
}

.gf-dl dt {
  color: var(--gf-acc-muted);
  font-size: 0.88rem;
}

.gf-dl dd {
  margin: 0;
  font-weight: 500;
}

/* Login */
.gf-login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gf-login-wrap {
  width: 100%;
  max-width: 420px;
}

.gf-login-logo {
  display: block;
  text-align: center;
  margin-bottom: 24px;
}

.gf-login-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--gf-acc-border);
  padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.gf-login-title {
  font-size: 1.35rem;
  margin: 0 0 8px;
  text-align: center;
}

.gf-login-sub {
  text-align: center;
  color: var(--gf-acc-muted);
  margin: 0 0 24px;
  font-size: 0.92rem;
}

.gf-login-form .gf-info-field {
  margin-bottom: 16px;
}

.gf-login-demo {
  margin-top: 24px;
  padding: 16px;
  background: #f8f8fa;
  border-radius: 12px;
  font-size: 0.88rem;
}

.gf-login-demo__title {
  font-weight: 700;
  margin: 0 0 8px;
}

.gf-login-demo p {
  margin: 0 0 4px;
}

.gf-login-demo .gf-btn {
  margin-top: 12px;
}

.gf-login-back {
  text-align: center;
  margin: 20px 0 0;
  font-size: 0.9rem;
}

.gf-login-back a {
  color: var(--gf-acc-pink);
}
