/* =========================================
   ARDA HAIR — CUSTOMER ACCOUNT
========================================= */

.account-page {
  background: var(--paper);
  color: var(--ink);
}

.account-home-button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: .25s ease;
}

.account-home-button:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}


/* =========================================
   MAIN
========================================= */

.account-main {
  padding: 90px 6vw 120px;
}

.account-intro {
  max-width: 760px;
  margin-bottom: 50px;
}

.account-intro h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 90px);
  line-height: .98;
  font-weight: 500;
  margin: 14px 0 24px;
}

.account-intro p {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}


/* =========================================
   AUTH CARD
========================================= */

.account-card {
  width: min(680px, 100%);
  margin: 0 auto;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;

  box-shadow:
    0 28px 80px rgba(23, 19, 15, .08);
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.account-tab {
  min-height: 62px;
  border: 0;
  background: transparent;
  color: var(--muted);

  font-size: 13px;
  font-weight: 700;
  cursor: pointer;

  transition: .25s ease;
}

.account-tab:first-child {
  border-right: 1px solid var(--line);
}

.account-tab:hover {
  color: var(--ink);
  background: var(--cream);
}

.account-tab.active {
  background: var(--ink);
  color: #fff;
}


/* =========================================
   PANELS
========================================= */

.account-panel {
  padding: 46px;
}

.account-panel-heading {
  margin-bottom: 34px;
}

.account-panel-heading > span {
  display: block;
  color: var(--accent);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;

  margin-bottom: 10px;
}

.account-panel-heading h2 {
  margin: 0 0 12px;

  font-family: 'Playfair Display', serif;
  font-size: 46px;
  line-height: 1.05;
  font-weight: 500;
}

.account-panel-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}


/* =========================================
   FORM FIELDS
========================================= */

.account-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}

.account-field > span {
  font-size: 12px;
  font-weight: 700;
}

.account-field > input,
.password-field {
  width: 100%;
  min-height: 54px;

  border: 1px solid var(--line);
  border-radius: 15px;

  background: #fff;
}

.account-field > input {
  padding: 0 16px;
  outline: none;

  transition:
    border-color .2s,
    box-shadow .2s;
}

.account-field > input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(23,19,15,.06);
}

.account-field input::placeholder {
  color: #aaa39a;
}


/* PASSWORD */

.password-field {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.password-field input {
  min-width: 0;
  flex: 1;
  height: 52px;

  border: 0;
  outline: 0;
  background: transparent;

  padding: 0 16px;
}

.password-toggle {
  align-self: stretch;

  padding: 0 16px;

  border: 0;
  border-left: 1px solid var(--line);

  background: transparent;
  color: var(--muted);

  cursor: pointer;
  font-size: 11px;
  font-weight: 700;

  transition: .2s;
}

.password-toggle:hover {
  background: var(--cream);
  color: var(--ink);
}


/* =========================================
   FORM HELPERS
========================================= */

.account-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 15px;
  margin: 8px 0 25px;
}

.remember-option,
.account-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.remember-option input,
.account-checkbox input {
  margin-top: 2px;
  accent-color: var(--ink);
}

.account-checkbox {
  margin: 6px 0 24px;
}

.account-text-button {
  border: 0;
  background: transparent;
  padding: 0;

  color: var(--ink);
  cursor: pointer;

  font-size: 12px;
  font-weight: 700;
}

.account-text-button:hover {
  text-decoration: underline;
}


/* =========================================
   BUTTONS
========================================= */

.account-primary-button,
.account-secondary-button {
  min-height: 54px;
  padding: 0 22px;

  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.account-primary-button {
  width: 100%;

  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.account-primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(23,19,15,.18);
}

.account-primary-button:disabled {
  opacity: .5;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.account-secondary-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.account-secondary-button:hover {
  border-color: var(--ink);
}

#resetPanel .account-secondary-button {
  width: 100%;
  margin-top: 10px;
}


/* =========================================
   MESSAGES
========================================= */

.account-message {
  min-height: 22px;
  margin-top: 18px;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.5;
}

.account-message.success {
  color: #538153;
}

.account-message.error {
  color: #b23b3b;
}


/* =========================================
   LOGGED-IN DASHBOARD
========================================= */

.customer-dashboard {
  width: 100%;
}

.dashboard-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 48px;
  padding-bottom: 35px;

  border-bottom: 1px solid var(--line);
}

.dashboard-heading h2 {
  margin: 12px 0 6px;

  font-family: 'Playfair Display', serif;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1;
  font-weight: 500;
}

.dashboard-heading p {
  margin: 0;
  color: var(--muted);
}

.logout-button {
  flex: 0 0 auto;
}


/* =========================================
   OVERVIEW CARDS
========================================= */

.account-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 14px;

  margin-bottom: 100px;
}

.account-overview-card {
  min-height: 260px;

  display: flex;
  flex-direction: column;

  padding: 26px;

  border: 1px solid var(--line);
  border-radius: 22px;

  background: #fff;

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.account-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(23,19,15,.08);
}

.overview-number {
  color: var(--accent);

  font-size: 11px;
  font-weight: 700;

  margin-bottom: auto;
}

.account-overview-card h3 {
  margin: 30px 0 10px;

  font-family: 'Playfair Display', serif;
  font-size: 27px;
  line-height: 1.1;
  font-weight: 500;
}

.account-overview-card p {
  margin: 0 0 20px;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.account-overview-card a {
  margin-top: auto;

  font-size: 12px;
  font-weight: 700;
}

.account-overview-card a:hover {
  text-decoration: underline;
}

.overview-coming {
  margin-top: auto;

  color: var(--muted);

  font-size: 11px;
  font-weight: 600;
}


/* =========================================
   PROFILE
========================================= */

.profile-section {
  display: grid;
  grid-template-columns: .72fr 1.28fr;

  gap: 8vw;

  padding: 80px 0 20px;

  border-top: 1px solid var(--line);
}

.profile-heading h2 {
  margin: 12px 0 18px;

  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
  font-weight: 500;
}

.profile-heading p {
  max-width: 420px;

  color: var(--muted);
  line-height: 1.7;
}

.profile-form {
  padding: 34px;

  border: 1px solid var(--line);
  border-radius: 24px;

  background: #fff;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 0 16px;
}

.profile-full {
  grid-column: 1 / -1;
}

.profile-save {
  width: auto;
  min-width: 220px;
  margin-top: 8px;
}


/* =========================================
   MOBILE / TABLET
========================================= */

@media (max-width: 1050px) {

  .account-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}


@media (max-width: 700px) {

  .account-main {
    padding:
      55px 18px
      80px;
  }

  .account-intro {
    margin-bottom: 35px;
  }

  .account-intro h1 {
    font-size: 48px;
  }

  .account-intro p {
    font-size: 15px;
  }

  .account-card {
    border-radius: 20px;
  }

  .account-panel {
    padding: 28px 20px;
  }

  .account-panel-heading h2 {
    font-size: 38px;
  }

  .account-form-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-overview-grid {
    grid-template-columns: 1fr;
    margin-bottom: 70px;
  }

  .account-overview-card {
    min-height: 220px;
  }

  .dashboard-heading {
    display: block;
  }

  .logout-button {
    margin-top: 24px;
  }

  .profile-form {
    padding: 22px 18px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-full {
    grid-column: auto;
  }

  .profile-save {
    width: 100%;
  }

  .account-page .desktop-nav {
    display: none;
  }

}


@media (max-width: 480px) {

  .account-tabs {
    grid-template-columns: 1fr;
  }

  .account-tab:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .account-panel-heading h2 {
    font-size: 34px;
  }

  .account-home-button {
    display: none;
  }

}


/* =========================================
   PREMIUM ACCOUNT 2026
========================================= */

.account-page {
  background:
    radial-gradient(
      circle at 90% 12%,
      rgba(231,167,187,.14),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #fff 0%,
      #fff8fa 100%
    ) !important;

  color: #111 !important;
}

/* HEADER */

.account-page .announcement {
  background: #0b0b0c !important;
  color: #fff !important;
}

.account-page .site-header {
  background: rgba(255,255,255,.96) !important;

  border-bottom:
    1px solid #eee5e8 !important;
}

.account-brand-logo {
  width: 150px;
  height: 58px;

  display: flex;
  align-items: center;
}

.account-brand-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: left center;
}

.account-page .desktop-nav a {
  color: #111;
}

.account-page .desktop-nav a::after {
  background: #e7a7bb;
}

.account-page .lang-picker {
  border-color: #eadfe3;
}

.account-home-button {
  border-color: #eadfe3 !important;

  background: #fff !important;
  color: #111 !important;
}

.account-home-button:hover {
  border-color: #e7a7bb !important;

  background: #fff1f5 !important;
  color: #111 !important;
}

/* MAIN */

.account-main {
  max-width: 1360px;

  margin: 0 auto;

  padding-top: 105px !important;
  padding-bottom: 130px !important;
}

.account-intro {
  max-width: 900px !important;

  margin-bottom: 58px !important;
}

.account-intro .section-kicker {
  color: #b75f7c;
}

.account-intro h1 {
  color: #111;

  font-size:
    clamp(52px, 6.7vw, 92px) !important;

  letter-spacing: -.025em;
}

.account-intro p {
  max-width: 680px;

  color: #777075 !important;

  font-size: 16px !important;
}

/* AUTH CARD */

.account-card {
  width: min(760px, 100%) !important;

  border:
    1px solid #eee3e7 !important;

  border-radius: 28px !important;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(231,167,187,.12),
      transparent 25%
    ),
    #fff !important;

  box-shadow:
    0 30px 90px rgba(20,15,17,.09) !important;
}

.account-tabs {
  border-bottom:
    1px solid #eee3e7 !important;
}

.account-tab {
  color: #777075 !important;
}

.account-tab:first-child {
  border-right:
    1px solid #eee3e7 !important;
}

.account-tab:hover {
  background: #fff5f8 !important;
  color: #111 !important;
}

.account-tab.active {
  background: #111 !important;
  color: #fff !important;
}

/* PANEL */

.account-panel {
  padding: 50px !important;
}

.account-panel-heading > span {
  color: #b75f7c !important;
}

.account-panel-heading h2 {
  color: #111;

  font-size: 48px !important;
}

.account-panel-heading p {
  color: #777075 !important;
}

/* FORM */

.account-field > span {
  color: #111;
}

.account-field > input,
.password-field {
  border-color: #e6dcdf !important;

  background: #fff !important;

  box-shadow:
    0 4px 16px rgba(0,0,0,.02);
}

.account-field > input:focus,
.password-field:focus-within {
  border-color: #e7a7bb !important;

  box-shadow:
    0 0 0 4px rgba(231,167,187,.13) !important;
}

.password-toggle {
  border-left-color: #eee3e7 !important;

  color: #8a7d82 !important;
}

.password-toggle:hover {
  background: #fff1f5 !important;
  color: #b75f7c !important;
}

.remember-option,
.account-checkbox {
  color: #777075 !important;
}

.remember-option input,
.account-checkbox input {
  accent-color: #b75f7c !important;
}

.account-text-button {
  color: #b75f7c !important;
}

/* BUTTONS */

.account-primary-button {
  border-color: #111 !important;

  background: #111 !important;
  color: #fff !important;

  box-shadow:
    0 12px 30px rgba(17,17,17,.12);
}

.account-primary-button:hover {
  background: #b75f7c !important;

  border-color: #b75f7c !important;

  box-shadow:
    0 16px 38px rgba(183,95,124,.22) !important;
}

.account-secondary-button {
  border-color: #e7a7bb !important;

  background: #fff !important;
  color: #111 !important;
}

.account-secondary-button:hover {
  background: #fff1f5 !important;

  border-color: #b75f7c !important;
}

/* DASHBOARD */

.dashboard-heading {
  border-bottom:
    1px solid #eadfe3 !important;
}

.dashboard-heading .section-kicker {
  color: #b75f7c;
}

.dashboard-heading h2 {
  color: #111;
}

.dashboard-heading p {
  color: #777075 !important;
}

.account-overview-grid {
  gap: 16px !important;
}

.account-overview-card {
  border:
    1px solid #eee3e7 !important;

  background: #fff !important;

  border-radius: 20px !important;

  box-shadow:
    0 8px 30px rgba(20,15,17,.04);
}

.account-overview-card:hover {
  border-color: #e7a7bb !important;

  box-shadow:
    0 22px 55px rgba(20,15,17,.10) !important;
}

.overview-number {
  color: #b75f7c !important;
}

.account-overview-card h3 {
  color: #111;
}

.account-overview-card p,
.overview-coming {
  color: #777075 !important;
}

.account-overview-card a {
  color: #b75f7c;
}

/* PROFILE */

.profile-section {
  border-top:
    1px solid #eadfe3 !important;
}

.profile-heading .section-kicker {
  color: #b75f7c;
}

.profile-heading h2 {
  color: #111;
}

.profile-heading p {
  color: #777075 !important;
}

.profile-form {
  border:
    1px solid #eee3e7 !important;

  border-radius: 24px !important;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(231,167,187,.10),
      transparent 28%
    ),
    #fff !important;

  box-shadow:
    0 18px 55px rgba(20,15,17,.06);
}

/* FOOTER */

.account-page footer {
  padding: 70px 6vw 28px !important;

  display: grid;
  grid-template-columns:
    1.3fr .7fr;

  gap: 18px 60px;

  background: #080809 !important;

  color: #fff !important;

  border-top:
    1px solid rgba(255,255,255,.08) !important;
}

.account-footer-logo {
  width: 180px;
  height: 60px;

  display: inline-flex;
  align-items: center;
}

.account-footer-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: left center;

  filter:
    grayscale(1)
    brightness(0)
    invert(1);
}

.account-page footer p {
  color:
    rgba(255,255,255,.46) !important;

  font-size: 12px;
}

.account-page .footer-links {
  justify-content: flex-end;
}

.account-page .footer-links a {
  color:
    rgba(255,255,255,.55) !important;

  font-size: 12px;
}

.account-page .footer-links a:hover {
  color: #e7a7bb !important;
}

.account-page footer small {
  color:
    rgba(255,255,255,.30) !important;
}

/* TABLET */

@media (max-width: 900px) {

  .account-page footer {
    grid-template-columns: 1fr !important;
  }

  .account-page .footer-links {
    justify-content: flex-start;
  }
}

/* MOBILE */

@media (max-width: 600px) {

  .account-brand-logo {
    width: 120px;
    height: 48px;
  }

  .account-main {
    padding-top: 65px !important;
    padding-bottom: 85px !important;
  }

  .account-panel {
    padding: 30px 20px !important;
  }

  .account-card {
    border-radius: 20px !important;
  }

  .account-footer-logo {
    width: 150px;
    height: 50px;
  }
}

/* =========================================
   ORDER HISTORY
========================================= */

.orders-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.orders-heading {
  margin-bottom: 40px;
}

.orders-heading h2 {
  margin: 12px 0 18px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
  font-weight: 500;
}

.orders-heading p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
}

.orders-content {
  display: grid;
  gap: 18px;
}

.orders-state {
  padding: 28px;
  border: 1px solid #eee3e7;
  border-radius: 20px;
  background: #fff;
  color: #777075;
}

.order-history-card {
  padding: 28px;
  border: 1px solid #eee3e7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(20,15,17,.04);
}

.order-history-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.order-history-number {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 500;
}

.order-history-meta {
  margin-top: 8px;
  color: #777075;
  font-size: 13px;
}

.order-history-total {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.order-history-status {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.order-status-badge {
  padding: 7px 11px;
  border-radius: 999px;
  background: #f8edf1;
  color: #9b4966;
  font-size: 11px;
  font-weight: 700;
}

.order-history-items {
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #eee3e7;
}

.order-history-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.order-history-item-name {
  font-weight: 600;
}

.order-history-item-meta {
  margin-top: 4px;
  color: #777075;
  font-size: 12px;
}

@media (max-width: 700px) {

  .orders-section {
    padding: 60px 0;
  }

  .order-history-top {
    display: block;
  }

  .order-history-total {
    margin-top: 14px;
  }

}
