/* =========================================================
   Patria's Story Food — Contul meu (WooCommerce My Account)
   Autentificare, panou, comenzi, detalii comandă, adrese, detalii cont.
   Toate regulile încep cu body.psf-account ca să bată stilurile
   implicite WooCommerce și ale temei.
   ========================================================= */

body.psf-account { background: #F5E6CF; }

body.psf-account div.psf-cont,
body.psf-account div.psf-cont * { box-sizing: border-box; }

body.psf-account div.psf-cont {
  --psf-verde: #1E3B2C;
  --psf-verde-btn: linear-gradient(145deg, #2F5A44, #152A1F);
  --psf-rosu: #9E2A2B;
  --psf-maro: #5E4A38;
  --psf-text: #2B1E14;
  --psf-linie: #EAD7B5;
  --psf-card: linear-gradient(170deg, #FFFCF6, #FBF0DC);

  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 88px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--psf-text);
}

body.psf-account div.psf-cont a { color: var(--psf-verde); }
body.psf-account div.psf-cont a:hover { color: var(--psf-rosu); }

/* ---------- Antet (logat) ---------- */
body.psf-account div.psf-cont .psf-cont__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding: 22px 24px;
  border-radius: 24px;
  color: #F5E6CF;
  background: linear-gradient(160deg, #24503A 0%, #1E3B2C 55%, #152A1F 100%);
  box-shadow: 0 20px 44px rgba(21, 42, 31, 0.25);
}

body.psf-account div.psf-cont .psf-cont__avatar {
  flex: none;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  background: linear-gradient(135deg, #F7EBD6, #E3C58F);
  color: #152A1F;
  font-weight: 800;
  font-size: 22px;
}

body.psf-account div.psf-cont .psf-cont__hello { flex: 1; min-width: 0; }

body.psf-account div.psf-cont .psf-cont__eyebrow {
  margin: 0 0 4px;
  color: #E3C58F;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.psf-account div.psf-cont .psf-cont__title {
  margin: 0;
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  color: #FFF7EA;
}

body.psf-account div.psf-cont .psf-cont__logout {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(245, 230, 207, 0.4);
  color: #F5E6CF;
  font-weight: 700;
  text-decoration: none;
}

body.psf-account div.psf-cont .psf-cont__logout:hover { background: rgba(245, 230, 207, 0.1); color: #F5E6CF; }

/* ---------- Layout: meniu + conținut ---------- */
body.psf-account div.psf-cont .psf-cont__layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
}

body.psf-account div.psf-cont .woocommerce-MyAccount-navigation {
  flex: 1 1 260px;
  max-width: 300px;
  float: none;
  width: auto;
  margin: 0;
  padding: 10px;
  border-radius: 22px;
  background: var(--psf-card);
  border: 1px solid var(--psf-linie);
  box-shadow: 0 16px 34px rgba(43, 30, 20, 0.08);
}

body.psf-account div.psf-cont .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.psf-account div.psf-cont .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; list-style: none; }
body.psf-account div.psf-cont .woocommerce-MyAccount-navigation li::before { display: none; }

body.psf-account div.psf-cont .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--psf-verde);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s, color .2s;
}

body.psf-account div.psf-cont .woocommerce-MyAccount-navigation li a svg { flex: none; color: var(--psf-rosu); }
body.psf-account div.psf-cont .woocommerce-MyAccount-navigation li a:hover { background: rgba(30, 59, 44, 0.07); color: var(--psf-verde); }

body.psf-account div.psf-cont .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--psf-verde-btn);
  color: #F5E6CF;
  box-shadow: 0 10px 22px rgba(21, 42, 31, 0.25);
}

body.psf-account div.psf-cont .woocommerce-MyAccount-navigation li.is-active a svg { color: #E3C58F; }

body.psf-account div.psf-cont .woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #D9C29B;
}

body.psf-account div.psf-cont .woocommerce-MyAccount-content {
  flex: 999 1 560px;
  min-width: 0;
  float: none;
  width: auto;
  margin: 0;
  padding: 28px 30px;
  border-radius: 24px;
  background: var(--psf-card);
  border: 1px solid var(--psf-linie);
  box-shadow: 0 20px 44px rgba(43, 30, 20, 0.08);
}

body.psf-account div.psf-cont .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
body.psf-account div.psf-cont .woocommerce-MyAccount-content p { margin: 0 0 14px; }

body.psf-account div.psf-cont .woocommerce-MyAccount-content h2,
body.psf-account div.psf-cont .woocommerce-MyAccount-content h3,
body.psf-account div.psf-cont .psf-cont__section-title {
  margin: 0 0 14px;
  font-family: inherit;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  color: var(--psf-verde);
}

/* ---------- Panou ---------- */
body.psf-account div.psf-cont .psf-cont__intro { margin-bottom: 22px; color: #4E3B2B; }
body.psf-account div.psf-cont .psf-cont__intro a { font-weight: 700; }

body.psf-account div.psf-cont .psf-cont__shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px;
  margin-bottom: 30px;
  width: 100%;
}

body.psf-account div.psf-cont .psf-cont__shortcuts { display: grid !important; }

body.psf-account div.psf-cont .psf-cont__shortcut {
  float: none !important;
  width: auto !important;
  max-width: none;
  margin: 0 !important;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid var(--psf-linie);
  text-decoration: none;
  color: var(--psf-text);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

body.psf-account div.psf-cont .psf-cont__shortcut:hover {
  transform: translateY(-2px);
  border-color: #C9A66B;
  box-shadow: 0 14px 28px rgba(43, 30, 20, 0.1);
  color: var(--psf-text);
}

body.psf-account div.psf-cont .psf-cont__shortcut-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--psf-verde-btn);
  color: #E3C58F;
}

body.psf-account div.psf-cont .psf-cont__shortcut strong { display: block; font-size: 16px; color: var(--psf-verde); }
body.psf-account div.psf-cont .psf-cont__shortcut small { display: block; font-size: 13px; color: var(--psf-maro); line-height: 1.35; }

body.psf-account div.psf-cont .psf-cont__recent-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

body.psf-account div.psf-cont .psf-cont__recent-head a { font-weight: 700; font-size: 15px; }

body.psf-account div.psf-cont .psf-cont__orders {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.psf-account div.psf-cont .psf-cont__order {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--psf-linie);
}

body.psf-account div.psf-cont .psf-cont__order-main { flex: 1 1 200px; min-width: 0; }
body.psf-account div.psf-cont .psf-cont__order-main strong { display: block; color: var(--psf-verde); }
body.psf-account div.psf-cont .psf-cont__order-main small { color: var(--psf-maro); font-size: 13px; }
body.psf-account div.psf-cont .psf-cont__order-total { font-weight: 800; color: var(--psf-rosu); }
body.psf-account div.psf-cont .psf-cont__order-total small { display: none; }

body.psf-account div.psf-cont .psf-cont__order-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 2px solid var(--psf-verde);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

body.psf-account div.psf-cont .psf-cont__order-link:hover { background: var(--psf-verde); color: #F5E6CF; }

/* Status comandă */
body.psf-account div.psf-cont .psf-cont__status {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  background: #EFE6D6;
  color: var(--psf-maro);
}

body.psf-account div.psf-cont .psf-cont__status--processing { background: #FFF1D6; color: #8A5A00; }
body.psf-account div.psf-cont .psf-cont__status--completed  { background: #DDEFE2; color: #1E5A35; }
body.psf-account div.psf-cont .psf-cont__status--on-hold    { background: #EDE7F3; color: #5A4378; }
body.psf-account div.psf-cont .psf-cont__status--cancelled,
body.psf-account div.psf-cont .psf-cont__status--failed,
body.psf-account div.psf-cont .psf-cont__status--refunded   { background: #F7E0DF; color: #8E2224; }

body.psf-account div.psf-cont .psf-cont__empty {
  padding: 22px;
  border-radius: 18px;
  border: 2px dashed #D9C29B;
  text-align: center;
}

/* ---------- Butoane ---------- */
body.psf-account div.psf-cont .button,
body.psf-account div.psf-cont button.button,
body.psf-account div.psf-cont a.button,
body.psf-account div.psf-cont input[type="submit"],
body.psf-account div.psf-cont .psf-cont__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: var(--psf-verde-btn);
  color: #F5E6CF;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(21, 42, 31, 0.25);
  transition: transform .2s, box-shadow .2s;
}

body.psf-account div.psf-cont .button:hover,
body.psf-account div.psf-cont input[type="submit"]:hover,
body.psf-account div.psf-cont .psf-cont__btn:hover {
  transform: translateY(-1px);
  background: var(--psf-verde-btn);
  color: #F5E6CF;
  box-shadow: 0 16px 32px rgba(21, 42, 31, 0.3);
}

/* butoane mici în tabele (Vezi, Plătește, Anulează) */
body.psf-account div.psf-cont table .button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
  margin: 2px 4px 2px 0;
  box-shadow: none;
}

/* ---------- Formulare ---------- */
body.psf-account div.psf-cont .form-row { margin: 0 0 16px; padding: 0; }

body.psf-account div.psf-cont label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--psf-verde);
  line-height: 1.4;
}

body.psf-account div.psf-cont .required { color: var(--psf-rosu); text-decoration: none; border: 0; }

body.psf-account div.psf-cont .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body.psf-account div.psf-cont input.input-text,
body.psf-account div.psf-cont input[type="text"],
body.psf-account div.psf-cont input[type="email"],
body.psf-account div.psf-cont input[type="password"],
body.psf-account div.psf-cont input[type="tel"],
body.psf-account div.psf-cont select,
body.psf-account div.psf-cont textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #D9C29B;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  color: var(--psf-text);
  transition: border-color .2s, box-shadow .2s;
}

body.psf-account div.psf-cont textarea { padding: 12px 16px; min-height: 110px; }

body.psf-account div.psf-cont input.input-text:focus,
body.psf-account div.psf-cont input[type="text"]:focus,
body.psf-account div.psf-cont input[type="email"]:focus,
body.psf-account div.psf-cont input[type="password"]:focus,
body.psf-account div.psf-cont input[type="tel"]:focus,
body.psf-account div.psf-cont select:focus,
body.psf-account div.psf-cont textarea:focus {
  outline: none;
  border-color: var(--psf-verde);
  box-shadow: 0 0 0 3px rgba(30, 59, 44, 0.15);
}

/* select2 / selectWoo (țară, județ) */
body.psf-account div.psf-cont .select2-container .select2-selection--single {
  height: 50px;
  border: 1px solid #D9C29B;
  border-radius: 14px;
}

body.psf-account div.psf-cont .select2-container .select2-selection--single .select2-selection__rendered { line-height: 48px; padding-left: 16px; }
body.psf-account div.psf-cont .select2-container .select2-selection--single .select2-selection__arrow { height: 48px; right: 8px; }

body.psf-account div.psf-cont input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--psf-verde); vertical-align: middle; }

body.psf-account div.psf-cont fieldset {
  margin: 24px 0 16px;
  padding: 18px 18px 4px;
  border: 1px solid var(--psf-linie);
  border-radius: 18px;
}

body.psf-account div.psf-cont legend { padding: 0 8px; font-weight: 800; color: var(--psf-verde); }

body.psf-account div.psf-cont em,
body.psf-account div.psf-cont .description { font-size: 13px; color: var(--psf-maro); }

/* Detalii cont: prenume + nume pe același rând */
body.psf-account div.psf-cont .form-row-first,
body.psf-account div.psf-cont .form-row-last { width: 48.5%; float: left; }
body.psf-account div.psf-cont .form-row-last { float: right; }
body.psf-account div.psf-cont .form-row-wide,
body.psf-account div.psf-cont .clear { clear: both; }

/* ---------- Tabele (comenzi, detalii comandă) ---------- */
body.psf-account div.psf-cont table.shop_table,
body.psf-account div.psf-cont table.woocommerce-orders-table,
body.psf-account div.psf-cont table.woocommerce-table {
  width: 100%;
  margin: 0 0 24px;
  border: 1px solid var(--psf-linie);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #FFFFFF;
  font-size: 15px;
}

body.psf-account div.psf-cont table.shop_table th,
body.psf-account div.psf-cont table.shop_table td {
  padding: 14px 16px;
  border: 0;
  border-top: 1px solid #F1E4CC;
  text-align: left;
  vertical-align: middle;
  background: none;
}

body.psf-account div.psf-cont table.shop_table thead th {
  border-top: 0;
  background: #F7EEDD;
  color: var(--psf-verde);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.psf-account div.psf-cont table.shop_table tfoot th,
body.psf-account div.psf-cont table.shop_table tfoot td { font-weight: 700; }
body.psf-account div.psf-cont table.shop_table .amount { font-weight: 800; color: var(--psf-rosu); }
body.psf-account div.psf-cont table.shop_table .woocommerce-orders-table__cell-order-number a { font-weight: 800; }

/* status în tabelul de comenzi (WooCommerce pune clasa pe <tr>) */
body.psf-account div.psf-cont .woocommerce-orders-table__cell-order-status { font-weight: 700; }
body.psf-account div.psf-cont tr.order .woocommerce-orders-table__cell-order-status { color: var(--psf-maro); }
body.psf-account div.psf-cont tr.status-processing .woocommerce-orders-table__cell-order-status { color: #8A5A00; }
body.psf-account div.psf-cont tr.status-completed .woocommerce-orders-table__cell-order-status { color: #1E5A35; }
body.psf-account div.psf-cont tr.status-cancelled .woocommerce-orders-table__cell-order-status,
body.psf-account div.psf-cont tr.status-failed .woocommerce-orders-table__cell-order-status { color: #8E2224; }

/* paginare comenzi */
body.psf-account div.psf-cont .woocommerce-pagination { display: flex; gap: 10px; justify-content: space-between; }

/* detalii comandă */
body.psf-account div.psf-cont mark {
  padding: 2px 8px;
  border-radius: 6px;
  background: #F7EEDD;
  color: var(--psf-verde);
  font-weight: 700;
}

body.psf-account div.psf-cont .woocommerce-customer-details address,
body.psf-account div.psf-cont .woocommerce-Address address {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--psf-linie);
  border-radius: 16px;
  background: #FFFFFF;
  font-style: normal;
  line-height: 1.6;
}

body.psf-account div.psf-cont .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.psf-account div.psf-cont .woocommerce-columns--addresses::before,
body.psf-account div.psf-cont .woocommerce-columns--addresses::after { display: none; }
body.psf-account div.psf-cont .woocommerce-columns--addresses .woocommerce-column { float: none; width: auto; max-width: none; }

/* ---------- Adrese ---------- */
body.psf-account div.psf-cont .woocommerce-Addresses,
body.psf-account div.psf-cont .u-columns.addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

body.psf-account div.psf-cont .woocommerce-Addresses::before,
body.psf-account div.psf-cont .woocommerce-Addresses::after { display: none; }

body.psf-account div.psf-cont .woocommerce-Address {
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid var(--psf-linie);
}

body.psf-account div.psf-cont .woocommerce-Address address { padding: 0; border: 0; background: none; }

body.psf-account div.psf-cont .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

body.psf-account div.psf-cont .woocommerce-Address-title::before,
body.psf-account div.psf-cont .woocommerce-Address-title::after { display: none; }

body.psf-account div.psf-cont .woocommerce-Address-title h2,
body.psf-account div.psf-cont .woocommerce-Address-title h3 { margin: 0; font-size: 18px; float: none; }

body.psf-account div.psf-cont .woocommerce-Address-title .edit {
  float: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 2px solid var(--psf-verde);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

body.psf-account div.psf-cont .woocommerce-Address-title .edit:hover { background: var(--psf-verde); color: #F5E6CF; }

/* ---------- Mesaje WooCommerce ---------- */
body.psf-account .woocommerce-message,
body.psf-account .woocommerce-info,
body.psf-account .woocommerce-error,
body.psf-account .woocommerce-notices-wrapper > div {
  max-width: 1232px;
  margin: 0 auto 18px;
  padding: 14px 18px;
  border: 0;
  border-left: 4px solid #1E3B2C;
  border-radius: 14px;
  background: #FFFCF6;
  color: #2B1E14;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(43, 30, 20, 0.08);
  list-style: none;
}

body.psf-account .woocommerce-message::before,
body.psf-account .woocommerce-info::before,
body.psf-account .woocommerce-error::before { display: none; }

body.psf-account .woocommerce-info { border-left-color: #C9A66B; }
body.psf-account .woocommerce-error { border-left-color: #9E2A2B; }
body.psf-account .woocommerce-error li { margin: 0; }

body.psf-account .woocommerce-message .button,
body.psf-account .woocommerce-info .button {
  float: right;
  margin-left: 12px;
  padding: 6px 14px;
  border-radius: 10px;
  background: #1E3B2C;
  color: #F5E6CF;
  font-size: 14px;
  text-decoration: none;
}

body.psf-account div.psf-cont .woocommerce-MyAccount-content .woocommerce-message,
body.psf-account div.psf-cont .woocommerce-MyAccount-content .woocommerce-info,
body.psf-account div.psf-cont .woocommerce-MyAccount-content .woocommerce-error { margin: 0 0 18px; max-width: none; background: #FFFFFF; }

/* =========================================================
   Autentificare / Înregistrare (neautentificat)
   ========================================================= */
body.psf-account div.psf-cont--login .psf-cont__login-head {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

body.psf-account div.psf-cont--login .psf-cont__eyebrow { color: var(--psf-rosu); }
body.psf-account div.psf-cont--login .psf-cont__title { color: var(--psf-verde); font-size: clamp(32px, 4vw, 48px); }
body.psf-account div.psf-cont--login .psf-cont__lead { margin: 12px 0 0; font-size: 18px; color: #4E3B2B; }

body.psf-account div.psf-cont .psf-cont__forms {
  display: grid;
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
  align-items: start;
  gap: 24px;
}

body.psf-account div.psf-cont .psf-cont__forms--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; }

/* Unele teme/WooCommerce pun ::before/::after (clearfix) pe acest container;
   într-o grilă devin „celule” goale și împing cardurile pe coloana a doua. */
body.psf-account div.psf-cont .psf-cont__forms::before,
body.psf-account div.psf-cont .psf-cont__forms::after { content: none !important; display: none !important; }

/* Cardurile pe același rând, mereu în ordinea: formular stânga, card verde dreapta */
body.psf-account div.psf-cont .psf-cont__forms--two > .psf-cont__card { grid-row: 1; float: none; width: auto; margin: 0; }
body.psf-account div.psf-cont .psf-cont__forms--two > .psf-cont__card:first-child { grid-column: 1; }
body.psf-account div.psf-cont .psf-cont__forms--two > .psf-cont__card--green { grid-column: 2; }

body.psf-account div.psf-cont .psf-cont__forms .u-column1,
body.psf-account div.psf-cont .psf-cont__forms .u-column2 { float: none; width: auto; }

body.psf-account div.psf-cont .psf-cont__card {
  padding: 30px;
  border-radius: 26px;
  background: var(--psf-card);
  border: 1px solid var(--psf-linie);
  box-shadow: 0 24px 50px rgba(43, 30, 20, 0.10);
}

/* card verde (îndemn spre cont nou / autentificare) */
body.psf-account div.psf-cont .psf-cont__card--green {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #24503A 0%, #1E3B2C 55%, #152A1F 100%);
  border-color: rgba(227, 197, 143, 0.4);
  color: #F5E6CF;
}

body.psf-account div.psf-cont .psf-cont__card-title {
  margin: 0 0 20px;
  font-family: inherit;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.15;
  color: var(--psf-verde);
}

body.psf-account div.psf-cont .psf-cont__card--green .psf-cont__card-title { margin-bottom: 8px; color: #FFF7EA; }
body.psf-account div.psf-cont .psf-cont__card--green .psf-cont__aside-text { color: #DCCBAE; }

body.psf-account div.psf-cont .psf-cont__aside-text { margin: 0 0 20px; font-size: 16px; color: #4E3B2B; }
body.psf-account div.psf-cont .psf-cont__note,
body.psf-account div.psf-cont .woocommerce-privacy-policy-text { font-size: 14px; color: var(--psf-maro); }
body.psf-account div.psf-cont .woocommerce-privacy-policy-text p { margin: 0 0 14px; }

body.psf-account div.psf-cont .psf-cont__card form { margin: 0; padding: 0; border: 0; }
body.psf-account div.psf-cont .psf-cont__card .button,
body.psf-account div.psf-cont .psf-cont__card .psf-cont__btn { width: 100%; min-height: 52px; }

/* buton auriu */
body.psf-account div.psf-cont .psf-cont__btn--gold,
body.psf-account div.psf-cont .psf-cont__btn--gold:hover {
  margin-top: auto;
  background: linear-gradient(135deg, #F7EBD6, #E3C58F);
  color: #152A1F;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

body.psf-account div.psf-cont .psf-cont__row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

body.psf-account div.psf-cont .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 500;
  font-size: 15px;
  color: var(--psf-text);
}

body.psf-account div.psf-cont .psf-cont__lost { font-size: 15px; font-weight: 700; }

body.psf-account div.psf-cont .psf-cont__switch {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed #D9C29B;
  text-align: center;
  font-size: 15px;
  color: var(--psf-maro);
}

body.psf-account div.psf-cont .psf-cont__switch a { font-weight: 700; }

body.psf-account div.psf-cont .psf-cont__benefits {
  margin: 0 0 26px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(245, 230, 207, 0.18);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  color: #E2D4BA;
}

body.psf-account div.psf-cont .psf-cont__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
}

body.psf-account div.psf-cont .psf-cont__benefits svg { flex: none; margin-top: 2px; color: #E3C58F; }

/* ---------- Ai uitat parola / parolă nouă / confirmare ---------- */
body.psf-account div.psf-cont--narrow .psf-cont__card--center {
  max-width: 520px;
  margin: 0 auto;
  padding: 36px 34px;
  text-align: center;
}

body.psf-account div.psf-cont .psf-cont__card--center form { text-align: left; }
body.psf-account div.psf-cont .psf-cont__card--center .psf-cont__card-title { margin-bottom: 10px; font-size: clamp(26px, 3vw, 32px); }

body.psf-account div.psf-cont .psf-cont__badge-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--psf-verde-btn);
  color: #E3C58F;
  box-shadow: 0 12px 26px rgba(21, 42, 31, 0.3);
}

body.psf-account div.psf-cont .psf-cont__badge-icon--ok { background: linear-gradient(135deg, #F7EBD6, #E3C58F); color: #152A1F; }

/* câmpurile din resetare pe toată lățimea */
body.psf-account div.psf-cont .lost_reset_password .form-row-first,
body.psf-account div.psf-cont .lost_reset_password .form-row-last { width: 100%; float: none; }

body.psf-account div.psf-cont .psf-cont__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

body.psf-account div.psf-cont .psf-cont__back:hover { text-decoration: underline; }

body.psf-account div.psf-cont .psf-cont__small { margin: 16px 0 0; font-size: 14px; color: var(--psf-maro); }
body.psf-account div.psf-cont .psf-cont__small a { font-weight: 700; }

/* indicatorul de putere a parolei (WooCommerce) */
body.psf-account div.psf-cont .woocommerce-password-strength {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

body.psf-account div.psf-cont .woocommerce-password-strength.short,
body.psf-account div.psf-cont .woocommerce-password-strength.bad { background: #F7E0DF; color: #8E2224; }
body.psf-account div.psf-cont .woocommerce-password-strength.good { background: #FFF1D6; color: #8A5A00; }
body.psf-account div.psf-cont .woocommerce-password-strength.strong { background: #DDEFE2; color: #1E5A35; }
body.psf-account div.psf-cont .woocommerce-password-hint { display: block; margin-top: 6px; font-size: 13px; color: var(--psf-maro); }

/* ochiul „arată parola” (WooCommerce) */
body.psf-account div.psf-cont .password-input { position: relative; display: block; }
body.psf-account div.psf-cont .password-input input { padding-right: 48px; }
body.psf-account div.psf-cont .show-password-input {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: var(--psf-verde);
  cursor: pointer;
}

body.psf-account div.psf-cont .show-password-input:hover { background: rgba(30, 59, 44, 0.07); }

/* ---------- Tabletă ---------- */
@media (max-width: 1000px) {
  body.psf-account div.psf-cont .woocommerce-MyAccount-navigation { max-width: none; flex-basis: 100%; min-width: 0; }
  body.psf-account div.psf-cont .woocommerce-MyAccount-content { flex-basis: 100%; }
  body.psf-account div.psf-cont .woocommerce-MyAccount-navigation ul {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }
  body.psf-account div.psf-cont .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  body.psf-account div.psf-cont .woocommerce-MyAccount-navigation li { flex: none; }
  body.psf-account div.psf-cont .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
}

/* ---------- Telefon ---------- */
@media (max-width: 700px) {
  body.psf-account div.psf-cont { padding: 24px 16px 56px; font-size: 15px; }

  body.psf-account div.psf-cont .psf-cont__head { flex-wrap: wrap; gap: 14px; padding: 18px; border-radius: 20px; margin-bottom: 18px; }
  body.psf-account div.psf-cont .psf-cont__avatar { width: 48px; height: 48px; font-size: 18px; }
  body.psf-account div.psf-cont .psf-cont__logout { min-height: 40px; padding: 0 14px; font-size: 14px; }

  body.psf-account div.psf-cont .psf-cont__layout { gap: 16px; }
  body.psf-account div.psf-cont .woocommerce-MyAccount-navigation { padding: 6px; border-radius: 18px; }
  body.psf-account div.psf-cont .woocommerce-MyAccount-navigation li a { min-height: 42px; padding: 0 12px; font-size: 14px; gap: 8px; }
  body.psf-account div.psf-cont .woocommerce-MyAccount-navigation li a svg { width: 18px; height: 18px; }
  body.psf-account div.psf-cont .woocommerce-MyAccount-content { padding: 20px 16px; border-radius: 20px; }

  body.psf-account div.psf-cont .psf-cont__shortcuts { gap: 10px; margin-bottom: 24px; }
  body.psf-account div.psf-cont .psf-cont__shortcut { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  body.psf-account div.psf-cont .psf-cont__shortcut-icon { width: 40px; height: 40px; border-radius: 12px; }
  body.psf-account div.psf-cont .psf-cont__shortcut-icon svg { width: 20px; height: 20px; }
  body.psf-account div.psf-cont .psf-cont__shortcut strong { font-size: 15px; }
  body.psf-account div.psf-cont .psf-cont__order { gap: 8px 12px; }
  body.psf-account div.psf-cont .psf-cont__order-main { flex-basis: 100%; }
  body.psf-account div.psf-cont .psf-cont__order-link { margin-left: auto; }

  body.psf-account div.psf-cont .woocommerce-Addresses,
  body.psf-account div.psf-cont .u-columns.addresses,
  body.psf-account div.psf-cont .woocommerce-columns--addresses { grid-template-columns: minmax(0, 1fr); }

  body.psf-account div.psf-cont .form-row-first,
  body.psf-account div.psf-cont .form-row-last { width: 100%; float: none; }

  /* tabelul de comenzi devine carduri (WooCommerce adaugă data-title) */
  body.psf-account div.psf-cont table.shop_table_responsive { border: 0; background: none; border-radius: 0; overflow: visible; }
  body.psf-account div.psf-cont table.shop_table_responsive thead { display: none; }
  body.psf-account div.psf-cont table.shop_table_responsive tbody tr {
    display: block;
    margin-bottom: 12px;
    padding: 6px 0;
    border: 1px solid var(--psf-linie);
    border-radius: 16px;
    background: #FFFFFF;
  }
  body.psf-account div.psf-cont table.shop_table_responsive tbody td,
  body.psf-account div.psf-cont table.shop_table_responsive tbody th {
    display: block;
    padding: 8px 14px;
    border: 0;
    text-align: right;
  }
  body.psf-account div.psf-cont table.shop_table_responsive tbody td::before,
  body.psf-account div.psf-cont table.shop_table_responsive tbody th::before {
    content: attr(data-title);
    float: left;
    margin-right: 12px;
    font-weight: 700;
    color: var(--psf-verde);
    text-align: left;
  }
  body.psf-account div.psf-cont table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions::before { display: none; }

  body.psf-account div.psf-cont .psf-cont__forms--two { grid-template-columns: minmax(0, 1fr); }
  body.psf-account div.psf-cont .psf-cont__forms--two > .psf-cont__card { grid-column: 1; grid-row: auto; }
  body.psf-account div.psf-cont .psf-cont__card { padding: 22px 18px; border-radius: 20px; }
  body.psf-account div.psf-cont--narrow .psf-cont__card--center { padding: 28px 20px; }
  body.psf-account div.psf-cont .psf-cont__badge-icon { width: 56px; height: 56px; border-radius: 17px; margin-bottom: 14px; }
  body.psf-account div.psf-cont .psf-cont__card-title { font-size: 22px; }
  body.psf-account div.psf-cont--login .psf-cont__lead { font-size: 16px; }
}