@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --velmora-cream: #fafaf5;
  --velmora-forest: #2d5016;
  --velmora-gold: #c9a84c;
  --velmora-charcoal: #2c2c2c;
}

body.velmora-account-page {
  background: var(--velmora-cream);
  color: var(--velmora-charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.velmora-account-page header.site-header#masthead,
body.velmora-account-page footer.site-footer#colophon,
body.velmora-account-page .woocommerce-notices-wrapper {
  display: none !important;
}

body.velmora-account-page #content,
body.velmora-account-page .site-content,
body.velmora-account-page .ast-container,
body.velmora-account-page .content-area,
body.velmora-account-page .site-main,
body.velmora-account-page article,
body.velmora-account-page .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.velmora-account-page .entry-header {
  display: none;
}

.velmora-account,
.velmora-account * {
  box-sizing: border-box;
}

.velmora-account {
  min-height: 68vh;
  padding: 56px 16px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.bg-cream-glow {
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(201, 168, 76, .16), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(143, 175, 106, .14), transparent 55%),
    var(--velmora-cream);
}

.velmora-account-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.velmora-account-heading {
  margin-bottom: 28px;
}

.velmora-account-heading p {
  margin: 0 0 8px;
  color: var(--velmora-forest);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.velmora-account-heading h1 {
  margin: 0;
  color: var(--velmora-charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.velmora-account-heading span {
  display: block;
  max-width: 620px;
  margin-top: 12px;
  color: rgba(44, 44, 44, .7);
  font-size: 15px;
  line-height: 1.7;
}

.velmora-account-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 24px 70px rgba(45, 80, 22, .12), inset 0 0 0 1px rgba(45, 80, 22, .06);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.velmora-login-page {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 28px;
}

.velmora-login-card {
  max-width: 544px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 24px 60px rgba(45, 80, 22, .10), inset 0 0 0 1px rgba(45, 80, 22, .08);
}

.velmora-login-title {
  margin: 0;
  color: var(--velmora-charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  line-height: 1.15;
}

.velmora-login-subtitle {
  margin: 12px 0 0;
  color: rgba(44, 44, 44, .7);
  font-size: 14px;
  line-height: 1.75;
}

.velmora-login-form {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.velmora-login-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--velmora-charcoal);
  font-size: 14px;
  font-weight: 700;
}

.velmora-login-field input {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(45, 80, 22, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .6);
  color: var(--velmora-charcoal);
  font-size: 14px;
  box-shadow: none;
}

.velmora-login-field input:focus {
  border-color: rgba(201, 168, 76, .88);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(201, 168, 76, .14);
}

.velmora-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.velmora-btn:disabled {
  opacity: .7;
  cursor: wait;
}

.velmora-btn-primary {
  border: 0;
  background: var(--velmora-forest);
  color: var(--velmora-cream);
}

.velmora-btn-primary:hover {
  background: #234112;
  color: var(--velmora-cream);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(45, 80, 22, .16);
}

.velmora-btn-outline {
  border: 1px solid rgba(45, 80, 22, .1);
  background: rgba(255, 255, 255, .5);
  color: var(--velmora-charcoal);
}

.velmora-btn-outline:hover {
  background: rgba(45, 80, 22, .05);
  color: var(--velmora-charcoal);
}

.velmora-login-feedback {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.velmora-login-feedback.is-error {
  color: #ad2a2a;
}

.velmora-login-feedback.is-success {
  color: #2d5016;
}

.velmora-login-footer {
  margin: 16px 0 0;
  color: rgba(44, 44, 44, .7);
  font-size: 12px;
  line-height: 1.6;
}

.velmora-login-footer a {
  color: var(--velmora-forest);
  font-weight: 700;
  text-decoration: none;
}

.velmora-account-card .woocommerce {
  display: grid;
  gap: 0;
}

.velmora-account-card .woocommerce:has(.woocommerce-MyAccount-navigation) {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: stretch;
  background: linear-gradient(90deg, #2d5016 0 300px, transparent 300px);
}

.velmora-account-card .woocommerce-MyAccount-navigation,
.velmora-account-card .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  clear: none !important;
}

.velmora-account-profile {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 32px 26px 24px;
  background: transparent;
  color: var(--velmora-cream);
  display: flex;
  align-items: center;
  gap: 14px;
}

.velmora-account-avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--velmora-gold);
  color: var(--velmora-charcoal);
  font-size: 22px;
  font-weight: 800;
}

.velmora-account-profile p {
  margin: 0;
  color: rgba(250, 250, 245, .7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.velmora-account-profile h2 {
  margin: 3px 0 0;
  color: var(--velmora-cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  line-height: 1.1;
  word-break: break-word;
}

.velmora-account-card .woocommerce-MyAccount-navigation {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  background: transparent;
}

.velmora-account-card .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0 24px 30px;
  list-style: none;
}

.velmora-account-card .woocommerce-MyAccount-navigation li {
  margin: 0;
  border: 0 !important;
  list-style: none;
}

.velmora-account-card .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  margin-bottom: 8px;
  border: 0 !important;
  border-radius: 999px;
  color: rgba(250, 250, 245, .78);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.velmora-account-card .woocommerce-MyAccount-navigation a:hover,
.velmora-account-card .woocommerce-MyAccount-navigation .is-active a {
  background: var(--velmora-gold);
  color: var(--velmora-charcoal);
  transform: translateX(2px);
}

.velmora-account-card .woocommerce-MyAccount-content {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 420px;
  padding: 38px 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(250, 250, 245, .45));
}

.velmora-account-card .woocommerce-MyAccount-content p {
  color: rgba(44, 44, 44, .76);
  font-size: 15px;
  line-height: 1.8;
}

.velmora-account-card .woocommerce-MyAccount-content a {
  color: var(--velmora-forest);
  font-weight: 800;
}

.velmora-account-card .woocommerce table.shop_table {
  width: 100%;
  margin: 0;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 12px;
  table-layout: auto;
}

.velmora-account-card .woocommerce table.shop_table th {
  border: 0 !important;
  background: rgba(255, 255, 255, .36);
  color: rgba(44, 44, 44, .62);
  font-size: 12px;
  letter-spacing: .12em;
  line-height: 1.3;
  padding: 14px 16px;
  text-align: left;
  text-transform: uppercase;
}

.velmora-account-card .woocommerce table.shop_table td {
  border: 0 !important;
  background: rgba(250, 250, 245, .78);
  padding: 16px;
  color: rgba(44, 44, 44, .82);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  vertical-align: middle;
}

.velmora-account-card .woocommerce table.shop_table td::before {
  display: none !important;
  content: none !important;
}

.velmora-account-card .woocommerce table.shop_table tr td:first-child {
  border-radius: 16px 0 0 16px;
}

.velmora-account-card .woocommerce table.shop_table tr td:last-child {
  border-radius: 0 16px 16px 0;
}

.velmora-account-card .woocommerce-orders-table__cell-order-actions {
  white-space: nowrap;
}

.velmora-account-card .woocommerce-orders-table__cell-order-actions .button {
  min-height: 40px;
  margin: 3px 5px 3px 0;
  padding: 11px 18px;
}

.velmora-account-card .woocommerce form.login,
.velmora-account-card .woocommerce form.register,
.velmora-account-card .woocommerce form.lost_reset_password,
.velmora-account-card .woocommerce-EditAccountForm,
.velmora-account-card .woocommerce-address-fields {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  border: 0;
}

.velmora-account-card .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) {
  padding: 42px;
}

.velmora-account-card .u-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.velmora-account-card .u-column1,
.velmora-account-card .u-column2 {
  width: 100%;
  float: none;
  padding: 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 20px 44px rgba(45, 80, 22, .07), inset 0 0 0 1px rgba(45, 80, 22, .05);
}

.velmora-account-card h2,
.velmora-account-card h3,
.velmora-account-card legend {
  color: var(--velmora-charcoal);
  font-family: "Playfair Display", Georgia, serif;
}

.velmora-account-card h2 {
  margin: 0 auto 24px;
  max-width: 640px;
  font-size: 30px;
}

.velmora-account-card .woocommerce > h2 {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(45, 80, 22, .08);
}

.velmora-account-card label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--velmora-charcoal);
  font-size: 13px;
  font-weight: 800;
}

.velmora-account-card .form-row {
  margin-bottom: 18px;
}

.velmora-account-card .input-text,
.velmora-account-card input[type="text"],
.velmora-account-card input[type="email"],
.velmora-account-card input[type="password"],
.velmora-account-card input[type="tel"],
.velmora-account-card select,
.velmora-account-card textarea {
  min-height: 48px;
  border: 1px solid rgba(45, 80, 22, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  color: var(--velmora-charcoal);
  padding: 10px 14px;
  box-shadow: none;
}

.velmora-account-card textarea {
  min-height: 110px;
}

.velmora-account-card .input-text:focus,
.velmora-account-card input:focus,
.velmora-account-card select:focus,
.velmora-account-card textarea:focus {
  border-color: rgba(201, 168, 76, .9);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(201, 168, 76, .16);
}

.velmora-account-card .button,
.velmora-account-card button.button,
.velmora-account-card a.button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--velmora-forest);
  color: var(--velmora-cream);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.velmora-account-card .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 6px;
}

.velmora-account-card .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.velmora-account-card .woocommerce-form-login__rememberme input {
  width: 16px;
  height: 16px;
  accent-color: var(--velmora-forest);
}

.velmora-account-card .woocommerce-form-login__submit {
  min-width: 136px;
}

.velmora-account-card .woocommerce-LostPassword {
  max-width: 640px;
  margin: 16px auto 0;
  text-align: right;
}

.velmora-account-card .button:hover,
.velmora-account-card button.button:hover,
.velmora-account-card a.button:hover {
  background: var(--velmora-forest);
  color: var(--velmora-cream);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(45, 80, 22, .18);
}

.velmora-account-card .woocommerce-privacy-policy-text,
.velmora-account-card .woocommerce-LostPassword,
.velmora-account-card .woocommerce-form__label-for-checkbox {
  color: rgba(44, 44, 44, .68);
  font-size: 13px;
}

.velmora-account-card .woocommerce-message,
.velmora-account-card .woocommerce-info,
.velmora-account-card .woocommerce-error {
  margin: 0 0 20px;
  border: 0;
  border-radius: 18px;
  background: rgba(45, 80, 22, .08);
  color: var(--velmora-charcoal);
}

.velmora-account-card .woocommerce-MyAccount-content .woocommerce-Addresses,
.velmora-account-card .woocommerce-MyAccount-content .woocommerce-Addresses.u-columns,
.velmora-account-card .woocommerce-MyAccount-content .woocommerce-Addresses.col2-set {
  clear: both;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  width: 100%;
  margin: 28px 0 0;
}

.velmora-account-card .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address,
.velmora-account-card .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address.u-column1,
.velmora-account-card .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address.u-column2,
.velmora-account-card .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address.col-1,
.velmora-account-card .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address.col-2 {
  float: none !important;
  display: flex;
  flex-direction: column;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid rgba(45, 80, 22, .08);
  border-radius: 20px;
  background: rgba(250, 250, 245, .78);
  box-shadow: 0 18px 40px rgba(45, 80, 22, .06);
}

.velmora-account-card .woocommerce-Address-title,
.velmora-account-card .woocommerce-Address header.title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.velmora-account-card .woocommerce-Address-title h2 {
  margin: 0;
  max-width: none;
  color: var(--velmora-charcoal);
  font-size: 24px;
  line-height: 1.15;
}

.velmora-account-card .woocommerce-Address-title .edit {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--velmora-gold);
  color: var(--velmora-charcoal);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.velmora-account-card .woocommerce-Address address {
  flex: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(44, 44, 44, .72);
  font-size: 15px;
  font-style: normal;
  line-height: 1.8;
}

.velmora-account-card .woocommerce-MyAccount-content > form {
  margin: 0;
}

.velmora-account-card .woocommerce-MyAccount-content > form > h3 {
  margin: 0 0 24px;
  color: var(--velmora-charcoal);
  font-size: 30px;
  line-height: 1.15;
}

.velmora-account-card .woocommerce-address-fields {
  max-width: none;
  margin: 0;
}

.velmora-account-card .woocommerce-address-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  align-items: start;
}

.velmora-account-card .woocommerce-address-fields .form-row,
.velmora-account-card .woocommerce-address-fields__field-wrapper .form-row {
  float: none !important;
  display: block;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.velmora-account-card .woocommerce-address-fields .form-row-wide {
  grid-column: 1 / -1;
}

.velmora-account-card .woocommerce-address-fields .form-row-first,
.velmora-account-card .woocommerce-address-fields .form-row-last {
  grid-column: auto;
}

.velmora-account-card .woocommerce-address-fields label {
  display: block;
}

.velmora-account-card .woocommerce-input-wrapper,
.velmora-account-card .woocommerce-address-fields input,
.velmora-account-card .woocommerce-address-fields select,
.velmora-account-card .woocommerce-address-fields textarea {
  display: block;
  width: 100%;
}

.velmora-account-card .select2-container {
  width: 100% !important;
}

.velmora-account-card .select2-container--default .select2-selection--single {
  min-height: 48px;
  border: 1px solid rgba(45, 80, 22, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
}

.velmora-account-card .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--velmora-charcoal);
  line-height: 48px;
  padding-left: 14px;
  padding-right: 38px;
}

.velmora-account-card .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px;
  right: 10px;
}

.velmora-account-card .woocommerce-address-fields p:last-child {
  margin-top: 24px !important;
}

.velmora-account-card .woocommerce-address-fields button.button {
  min-width: 170px;
}

@media (max-width: 860px) {
  .velmora-account {
    padding: 34px 12px;
  }

  .velmora-account-card .u-columns,
  .velmora-account-card .woocommerce:has(.woocommerce-MyAccount-navigation) {
    grid-template-columns: 1fr;
  }

  .velmora-login-page {
    padding: 18px;
  }

  .velmora-login-card {
    padding: 24px 20px;
  }

  .velmora-account-card .woocommerce:has(.woocommerce-MyAccount-navigation) {
    background: #2d5016;
  }

  .velmora-account-profile,
  .velmora-account-card .woocommerce-MyAccount-navigation,
  .velmora-account-card .woocommerce-MyAccount-content {
    grid-column: auto;
    grid-row: auto;
  }

  .velmora-account-card .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 18px 18px;
  }

  .velmora-account-card .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
  }

  .velmora-account-card .woocommerce-MyAccount-content,
  .velmora-account-card .u-column1,
  .velmora-account-card .u-column2,
  .velmora-account-card .woocommerce form.login,
  .velmora-account-card .woocommerce form.register {
    padding: 24px;
  }

  .velmora-account-card .woocommerce-MyAccount-content {
    background: rgba(255, 255, 255, .86);
  }

  .velmora-account-card .woocommerce table.shop_table thead {
    display: none;
  }

  .velmora-account-card .woocommerce table.shop_table,
  .velmora-account-card .woocommerce table.shop_table tbody,
  .velmora-account-card .woocommerce table.shop_table tr,
  .velmora-account-card .woocommerce table.shop_table td {
    display: block;
    width: 100%;
  }

  .velmora-account-card .woocommerce table.shop_table tr {
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(250, 250, 245, .78);
  }

  .velmora-account-card .woocommerce table.shop_table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-radius: 0 !important;
  }

  .velmora-account-card .woocommerce table.shop_table td::before {
    display: inline-block !important;
    content: attr(data-title) !important;
    color: rgba(44, 44, 44, .58);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .velmora-account-card .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) {
    padding: 26px;
  }

  .velmora-account-card .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) {
    align-items: stretch;
    flex-direction: column;
  }

  .velmora-account-card .woocommerce-form-login__submit {
    width: 100%;
  }

  .velmora-account-card .woocommerce-Addresses,
  .velmora-account-card .woocommerce-address-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .velmora-account-card .woocommerce-Address {
    padding: 18px;
  }

  .velmora-account-card .woocommerce-Address-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .velmora-account-card .woocommerce-address-fields .form-row-wide,
  .velmora-account-card .woocommerce-address-fields .form-row-first,
  .velmora-account-card .woocommerce-address-fields .form-row-last {
    grid-column: 1;
  }
}
