body.elmas-page:has(.vs-login-page) {
  background: #f5f7fb;
}

body.elmas-page:has(.vs-login-page) main {
  background:
    radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--vs-primary, #d90429) 12%, transparent), transparent 28rem),
    linear-gradient(180deg, #fff 0, #f5f7fb 18rem);
}

body.elmas-page .vs-login-page {
  margin: 0 auto;
  padding: 18px 24px 58px;
  width: min(1380px, 100%);
}

body.elmas-page .vs-login-shell {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
}

body.elmas-page .vs-login-hero,
body.elmas-page .vs-login-left,
body.elmas-page .vs-login-register-panel {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--vs-primary, #d90429) 12%, var(--vs-border, #e5e7eb));
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(17, 24, 39, .08);
}

body.elmas-page .vs-login-hero {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--vs-primary, #d90429) 92%, #111827) 0%, color-mix(in srgb, var(--vs-primary, #d90429) 60%, #111827) 52%, #111827 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(30px, 5vw, 68px);
  position: relative;
}

body.elmas-page .vs-login-hero::after {
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  content: "";
  height: 220px;
  position: absolute;
  right: -54px;
  top: -42px;
  transform: rotate(16deg);
  width: 220px;
}

body.elmas-page .vs-login-eyebrow,
body.elmas-page .vs-login-register-kicker {
  color: var(--vs-primary, #d90429);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

body.elmas-page .vs-login-hero .vs-login-eyebrow {
  color: rgba(255,255,255,.76);
}

body.elmas-page .vs-login-hero h1 {
  font-size: clamp(36px, 4.8vw, 66px);
  line-height: 1.02;
  margin: 16px 0 18px;
  max-width: 720px;
}

body.elmas-page .vs-login-hero p {
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
  max-width: 580px;
}

body.elmas-page .vs-login-benefits {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

body.elmas-page .vs-login-benefits span {
  align-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  width: min(100%, 360px);
}

body.elmas-page .vs-login-benefits svg {
  height: 20px;
  width: 20px;
}

body.elmas-page .vs-login-left {
  display: grid;
  gap: 16px;
  padding: 22px;
}

body.elmas-page .vs-login-left .vs-account-panel {
  border: 0;
  box-shadow: none;
  padding: 10px;
}

body.elmas-page .vs-login-left .vs-account-heading h1 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  margin: 0 0 10px;
}

body.elmas-page .vs-login-left .vs-account-heading p,
body.elmas-page .vs-login-register-panel p {
  color: var(--vs-text-muted, #64748b);
  font-size: 15px;
  line-height: 1.65;
}

body.elmas-page .vs-login-left .vs-account-panel label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

body.elmas-page .vs-login-left .vs-account-panel label span {
  color: var(--vs-text, #111827);
  font-size: 13px;
  font-weight: 800;
}

body.elmas-page .vs-login-left .vs-account-panel input {
  border-radius: 12px;
  min-height: 52px;
  padding: 0 15px;
}

body.elmas-page .vs-login-left .vs-account-primary,
body.elmas-page .vs-login-left .vs-account-secondary,
body.elmas-page .vs-login-register-panel a {
  border-radius: 12px;
  min-height: 52px;
  width: 100%;
}

body.elmas-page .vs-login-left .vs-account-primary {
  margin-top: 18px;
}

body.elmas-page .vs-account-links {
  display: flex;
  justify-content: center;
}

body.elmas-page .vs-account-links button {
  background: transparent;
  border: 0;
  color: var(--vs-primary, #d90429);
  font-weight: 800;
  padding: 8px;
}

body.elmas-page .vs-login-register-panel {
  padding: 24px;
}

body.elmas-page .vs-login-register-panel h2 {
  font-size: 24px;
  margin: 8px 0 8px;
}

body.elmas-page .vs-login-register-panel a {
  align-items: center;
  background: #111827;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  margin-top: 6px;
}

body.elmas-page .vs-forgot-dialog {
  max-width: 480px;
  width: min(100%, 480px);
}

body.elmas-page .vs-account-modal-close {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

@media (max-width: 980px) {
  body.elmas-page .vs-login-shell {
    grid-template-columns: 1fr;
  }

  body.elmas-page .vs-login-hero {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  body.elmas-page .vs-login-page {
    padding: 14px 14px 42px;
  }

  body.elmas-page .vs-login-hero,
  body.elmas-page .vs-login-left,
  body.elmas-page .vs-login-register-panel {
    border-radius: 14px;
  }

  body.elmas-page .vs-login-left {
    padding: 16px;
  }
}

body.elmas-page:has(.vs-account-page) {
  background: #f6f7fb;
}

body.elmas-page:has(.vs-account-page) main {
  background:
    linear-gradient(180deg, #fff 0, #f6f7fb 220px),
    #f6f7fb;
}

body.elmas-page .vs-account-page {
  color: var(--vs-text, #111827);
  display: grid;
  gap: 22px;
  margin: 0 auto;
  padding: 20px 24px 64px;
  width: min(1360px, 100%);
}

body.elmas-page .vs-category-breadcrumb {
  align-items: center;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
}

body.elmas-page .vs-category-breadcrumb a {
  color: #334155;
  text-decoration: none;
}

body.elmas-page .vs-category-breadcrumb a:hover {
  color: var(--vs-primary, #d90429);
}

body.elmas-page .vs-account-heading-row {
  align-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--vs-primary, #d90429) 96%, #111827) 0%, color-mix(in srgb, var(--vs-primary, #d90429) 68%, #111827) 100%);
  border-radius: 18px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  min-height: 150px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  position: relative;
}

body.elmas-page .vs-account-heading-row::after {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  content: "";
  height: 190px;
  position: absolute;
  right: -48px;
  top: -78px;
  width: 190px;
}

body.elmas-page .vs-account-heading-row > div {
  position: relative;
  z-index: 1;
}

body.elmas-page .vs-account-heading h1,
body.elmas-page .vs-account-heading-row h1 {
  color: inherit;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

body.elmas-page .vs-account-heading p,
body.elmas-page .vs-account-login-required p,
body.elmas-page .vs-account-soft-text {
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
  margin: 7px 0 0;
}

body.elmas-page .vs-account-heading-row p {
  color: rgba(255,255,255,.82);
  font-size: 17px;
}

body.elmas-page .vs-account-login-required,
body.elmas-page .vs-account-panel,
body.elmas-page .vs-account-sidebar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .07);
}

body.elmas-page .vs-account-login-required {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 28px;
}

body.elmas-page .vs-account-login-required[hidden],
body.elmas-page .vs-account-dashboard[hidden],
body.elmas-page .vs-account-section[hidden],
body.elmas-page .vs-address-modal[hidden] {
  display: none !important;
}

body.elmas-page .vs-account-login-required h2,
body.elmas-page .vs-account-heading h2 {
  color: #0f172a;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.1;
  margin: 0;
}

body.elmas-page .vs-account-login-required a {
  align-items: center;
  background: var(--vs-primary, #d90429);
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
}

body.elmas-page .vs-account-dashboard {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 280px minmax(0, 1fr);
}

body.elmas-page .vs-account-sidebar {
  display: grid;
  gap: 8px;
  padding: 12px;
  position: sticky;
  top: 18px;
}

body.elmas-page .vs-account-sidebar button,
body.elmas-page .vs-account-sidebar a {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 12px;
  color: #334155;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 800;
  min-height: 46px;
  padding: 0 14px;
  text-align: left;
  text-decoration: none;
}

body.elmas-page .vs-account-sidebar button:hover,
body.elmas-page .vs-account-sidebar a:hover,
body.elmas-page .vs-account-sidebar button.active {
  background: color-mix(in srgb, var(--vs-primary, #d90429) 10%, #fff);
  color: var(--vs-primary, #d90429);
}

body.elmas-page .vs-account-sidebar .vs-account-secondary[data-logout] {
  background: #111827;
  color: #fff;
  justify-content: center;
  margin-top: 8px;
}

body.elmas-page .vs-account-main,
body.elmas-page .vs-account-section {
  min-width: 0;
}

body.elmas-page .vs-account-section.active {
  display: block;
}

body.elmas-page .vs-account-panel {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
}

body.elmas-page .vs-account-panel label,
body.elmas-page .vs-address-form label {
  display: grid;
  gap: 8px;
}

body.elmas-page .vs-account-panel label span,
body.elmas-page .vs-address-form label span,
body.elmas-page .vs-account-check-row > span {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

body.elmas-page .vs-account-panel input,
body.elmas-page .vs-account-panel textarea,
body.elmas-page .vs-account-panel select,
body.elmas-page .vs-address-form input,
body.elmas-page .vs-address-form textarea,
body.elmas-page .vs-address-form select {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  color: #0f172a;
  min-height: 50px;
  padding: 0 15px;
  width: 100%;
}

body.elmas-page .vs-account-panel textarea,
body.elmas-page .vs-address-form textarea {
  min-height: 104px;
  padding: 13px 15px;
  resize: vertical;
}

body.elmas-page .vs-account-panel input:focus,
body.elmas-page .vs-account-panel textarea:focus,
body.elmas-page .vs-account-panel select:focus,
body.elmas-page .vs-address-form input:focus,
body.elmas-page .vs-address-form textarea:focus,
body.elmas-page .vs-address-form select:focus {
  border-color: var(--vs-primary, #d90429);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--vs-primary, #d90429) 14%, transparent);
  outline: 0;
}

body.elmas-page .vs-account-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.elmas-page .vs-address-form {
  display: grid;
  gap: 14px;
}

body.elmas-page .vs-account-check-row,
body.elmas-page .vs-account-checks {
  display: grid;
  gap: 12px;
}

body.elmas-page .vs-account-checks label {
  align-items: center;
  color: #475569;
  display: inline-flex;
  font-weight: 700;
  gap: 9px;
}

body.elmas-page .vs-account-checks input[type="checkbox"] {
  accent-color: var(--vs-primary, #d90429);
  min-height: auto;
  width: 18px;
}

body.elmas-page .vs-account-primary,
body.elmas-page .vs-account-secondary,
body.elmas-page .vs-address-action,
body.elmas-page .vs-order-action {
  align-items: center;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

body.elmas-page .vs-account-primary {
  background: var(--vs-primary, #d90429);
  border: 1px solid var(--vs-primary, #d90429);
  color: #fff;
  justify-self: start;
}

body.elmas-page .vs-account-primary:hover {
  background: color-mix(in srgb, var(--vs-primary, #d90429) 86%, #111827);
}

body.elmas-page .vs-account-secondary,
body.elmas-page .vs-address-action,
body.elmas-page .vs-order-action {
  background: #fff;
  border: 1px solid #dbe3ef;
  color: #0f172a;
}

body.elmas-page .vs-address-action.danger,
body.elmas-page .vs-order-action.danger {
  border-color: #fecaca;
  color: #b91c1c;
}

body.elmas-page .vs-account-message {
  color: #475569;
  font-weight: 700;
  margin: 0;
}

body.elmas-page .vs-address-list,
body.elmas-page .vs-order-list {
  display: grid;
  gap: 14px;
}

body.elmas-page .vs-address-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.elmas-page .vs-address-add-button {
  justify-self: start;
}

body.elmas-page .vs-address-card,
body.elmas-page .vs-order-row,
body.elmas-page .vs-cart-empty {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  color: #334155;
  display: grid;
  gap: 10px;
  padding: 16px;
}

body.elmas-page .vs-address-card-head,
body.elmas-page .vs-address-actions,
body.elmas-page .vs-order-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.elmas-page .vs-address-card-head {
  justify-content: space-between;
}

body.elmas-page .vs-address-badge {
  background: color-mix(in srgb, var(--vs-primary, #d90429) 10%, #fff);
  border-radius: 999px;
  color: var(--vs-primary, #d90429);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 10px;
}

body.elmas-page .vs-address-card p,
body.elmas-page .vs-address-card span,
body.elmas-page .vs-order-row span {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

body.elmas-page .vs-address-actions {
  border-top: 1px solid #e5e7eb;
  margin-top: 4px;
  padding-top: 12px;
}

body.elmas-page .vs-order-card {
  align-items: center;
  grid-template-columns: 74px minmax(0, 1.2fr) minmax(120px, .55fr) minmax(120px, .55fr) auto;
}

body.elmas-page .vs-order-card img {
  aspect-ratio: 1;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
}

body.elmas-page .vs-order-card-title {
  background: transparent;
  border: 0;
  color: #0f172a;
  cursor: pointer;
  display: block;
  font: inherit;
  font-weight: 900;
  padding: 0;
  text-align: left;
}

body.elmas-page .vs-order-actions b {
  color: #0f172a;
}

body.elmas-page .vs-address-modal {
  align-items: center;
  background: rgba(15, 23, 42, .48);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 120;
}

body.elmas-page .vs-address-modal[hidden] {
  display: none;
}

body.elmas-page .vs-address-modal-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .22);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 24px;
  width: min(620px, 100%);
}

body.elmas-page .vs-account-modal-head {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

body.elmas-page .vs-account-modal-close {
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  font-size: 22px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  width: 42px;
}

@media (max-width: 1020px) {
  body.elmas-page .vs-account-dashboard,
  body.elmas-page .vs-address-list,
  body.elmas-page .vs-account-grid {
    grid-template-columns: 1fr;
  }

  body.elmas-page .vs-account-sidebar {
    position: static;
  }

  body.elmas-page .vs-order-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  body.elmas-page .vs-order-card > span,
  body.elmas-page .vs-order-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body.elmas-page .vs-account-page {
    padding: 14px 14px 46px;
  }

  body.elmas-page .vs-account-heading-row,
  body.elmas-page .vs-account-panel,
  body.elmas-page .vs-account-sidebar,
  body.elmas-page .vs-account-login-required {
    border-radius: 14px;
  }

  body.elmas-page .vs-account-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  body.elmas-page .vs-account-sidebar a,
  body.elmas-page .vs-account-sidebar button {
    min-height: 42px;
    padding: 0 10px;
  }
}

body.elmas-page .vs-account-menu-list {
  display: grid;
  gap: 6px;
}

body.elmas-page .vs-account-menu-list button,
body.elmas-page .vs-account-menu-list a {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #334155;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  min-height: 46px;
  padding: 0 14px;
  text-align: left;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

body.elmas-page .vs-account-menu-list button:hover,
body.elmas-page .vs-account-menu-list a:hover {
  background: #f1f5f9;
  color: #0f172a;
}

body.elmas-page .vs-account-menu-list button.active {
  background: color-mix(in srgb, var(--vs-primary, #d90429) 10%, #fff);
  border-color: color-mix(in srgb, var(--vs-primary, #d90429) 32%, #fff);
  color: var(--vs-primary, #d90429);
}

body.elmas-page .vs-account-menu-toggle {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #0f172a;
  cursor: pointer;
  display: none;
  font: inherit;
  font-weight: 800;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  width: 100%;
}

body.elmas-page .vs-account-menu-toggle svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform .18s ease;
  width: 18px;
}

body.elmas-page .vs-account-menu-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

body.elmas-page .vs-account-section-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
}

body.elmas-page .vs-profile-options-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 6px;
}

body.elmas-page .vs-account-check-row,
body.elmas-page .vs-profile-password-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

body.elmas-page .vs-account-check-row > span,
body.elmas-page .vs-profile-password-card > span {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

body.elmas-page .vs-account-checks {
  display: grid;
  gap: 10px;
}

body.elmas-page .vs-account-checks label {
  align-items: center;
  color: #334155;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 10px;
  margin: 0;
}

body.elmas-page .vs-account-checks input[type="checkbox"] {
  accent-color: var(--vs-primary, #d90429);
  height: 17px;
  min-height: 0;
  width: 17px;
}

body.elmas-page .vs-account-checks-divider {
  background: #e5e7eb;
  height: 1px;
  margin: 4px 0;
}

body.elmas-page .vs-account-check-required {
  color: var(--vs-primary, #d90429);
  font-weight: 800;
}

body.elmas-page .vs-account-check-muted {
  color: #94a3b8;
  font-size: 13px;
}

body.elmas-page .vs-address-detail-list {
  display: grid;
  gap: 8px;
}

body.elmas-page .vs-address-detail-row {
  align-items: start;
  color: #334155;
  display: grid;
  font-size: 14px;
  gap: 12px;
  grid-template-columns: minmax(0, 130px) minmax(0, 1fr);
  line-height: 1.5;
}

body.elmas-page .vs-address-detail-row > span:first-child {
  color: #64748b;
  font-weight: 700;
}

body.elmas-page .vs-order-detail-info {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

body.elmas-page .vs-order-detail-info-item {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  display: grid;
  gap: 7px;
  padding: 15px 16px;
}

body.elmas-page .vs-order-detail-info-item > span:first-child {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

body.elmas-page .vs-order-detail-info-item strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

body.elmas-page .vs-order-status-badge {
  align-items: center;
  align-self: start;
  background: color-mix(in srgb, var(--vs-primary, #d90429) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--vs-primary, #d90429) 30%, #fff);
  border-radius: 999px;
  color: var(--vs-primary, #d90429);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  justify-self: start;
  padding: 6px 13px;
}

body.elmas-page .vs-order-detail-section-title {
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 12px;
}

body.elmas-page .vs-order-detail-lines {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  display: grid;
  overflow: hidden;
}

body.elmas-page .vs-order-detail-lines-head {
  align-items: center;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  color: #64748b;
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 16px;
  grid-template-columns: 84px minmax(0, 1fr) 78px 130px 130px;
  letter-spacing: .03em;
  padding: 13px 16px;
  text-transform: uppercase;
}

body.elmas-page .vs-order-detail-lines-head::before {
  content: "";
}

body.elmas-page .vs-order-detail-lines-head > span:nth-child(n + 2) {
  text-align: right;
}

body.elmas-page .vs-order-detail-lines-head > span:first-child {
  text-align: left;
}

body.elmas-page .vs-order-detail-line {
  align-items: center;
  border-top: 1px solid #f1f5f9;
  display: grid;
  gap: 16px;
  grid-template-columns: 84px minmax(0, 1fr) 78px 130px 130px;
  padding: 14px 16px;
}

body.elmas-page .vs-order-detail-line:first-of-type {
  border-top: 0;
}

body.elmas-page .vs-order-detail-line > img {
  aspect-ratio: 1 / 1;
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  height: auto;
  object-fit: cover;
  width: 100%;
}

body.elmas-page .vs-order-detail-line > strong:nth-last-child(-n + 3) {
  text-align: right;
}

body.elmas-page .vs-order-detail-product {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body.elmas-page .vs-order-detail-product strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body.elmas-page .vs-order-detail-product small {
  color: #64748b;
  font-size: 12.5px;
}

body.elmas-page .vs-order-detail-line > strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

body.elmas-page .vs-order-detail-bottom {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 42%);
}

body.elmas-page .vs-order-tracking-card,
body.elmas-page .vs-order-summary-card,
body.elmas-page .vs-order-address-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
}

body.elmas-page .vs-order-tracking-card {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 42px minmax(0, 1fr);
}

body.elmas-page .vs-order-tracking-card > span[aria-hidden] {
  background: color-mix(in srgb, var(--vs-primary, #d90429) 12%, #fff);
  border-radius: 12px;
  height: 42px;
  width: 42px;
}

body.elmas-page .vs-order-tracking-card h3,
body.elmas-page .vs-order-summary-card h3,
body.elmas-page .vs-order-address-card h3 {
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px;
}

body.elmas-page .vs-order-tracking-card p {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

body.elmas-page .vs-order-summary-card {
  display: grid;
  gap: 10px;
}

body.elmas-page .vs-order-summary-card > div {
  color: #334155;
  display: flex;
  font-size: 14px;
  gap: 12px;
  justify-content: space-between;
}

body.elmas-page .vs-order-summary-card > div:last-of-type {
  border-top: 1px solid #e5e7eb;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  margin-top: 4px;
  padding-top: 12px;
}

body.elmas-page .vs-order-tax-note {
  color: #94a3b8;
  font-size: 12.5px;
  line-height: 1.55;
  margin: 2px 0 0;
}

body.elmas-page .vs-order-address-stack {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

body.elmas-page .vs-order-address-row {
  display: grid;
  gap: 16px;
}

body.elmas-page .vs-order-address-card p {
  color: #475569;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

body.elmas-page .vs-account-modal {
  align-items: center;
  background: rgba(15, 23, 42, .55);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 1200;
}

body.elmas-page .vs-account-modal[hidden] {
  display: none !important;
}

body.elmas-page .vs-account-modal-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .28);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 22px;
  width: min(560px, 100%);
}

/* Siparis detayi penceresi: 5 kolonlu urun satiri (gorsel 84 + miktar 78 + 2x130 px + bosluklar ~520 px) genel
   560 px pencereye sigmiyordu; urun adi sutunu 0 px kalip ad harf harf alt alta diziliyor, Toplam sagdan
   kesiliyordu. Yalniz siparis penceresi genisler (sifremi unuttum vb. 560 px kalir); urun listesi kendi
   genisligine gore (container) dar kalinca alt alta duzene gecer. */
body.elmas-page [data-order-modal] .vs-account-modal-box {
  width: min(920px, 100%);
}

body.elmas-page [data-order-modal] .vs-order-detail-lines {
  container-type: inline-size;
}

@container (max-width: 640px) {
  body.elmas-page .vs-order-detail-lines-head {
    display: none;
  }

  body.elmas-page .vs-order-detail-line {
    gap: 12px;
    grid-template-columns: 68px minmax(0, 1fr);
    row-gap: 6px;
  }

  body.elmas-page .vs-order-detail-line > strong {
    grid-column: 2;
    text-align: left !important;
  }
}

@media (max-width: 900px) {
  body.elmas-page .vs-account-menu-toggle {
    display: flex;
  }

  body.elmas-page .vs-account-menu-list {
    display: none;
    margin-top: 10px;
  }

  body.elmas-page .vs-account-menu-list.is-open,
  body.elmas-page .vs-account-sidebar.is-open .vs-account-menu-list {
    display: grid;
  }

  body.elmas-page .vs-order-detail-bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  body.elmas-page .vs-order-detail-lines-head {
    display: none;
  }

  body.elmas-page .vs-order-detail-line {
    gap: 12px;
    grid-template-columns: 68px minmax(0, 1fr);
    row-gap: 6px;
  }

  body.elmas-page .vs-order-detail-line > strong {
    grid-column: 2;
    text-align: left !important;
  }
}

body.elmas-page .vs-account-page,
body.elmas-page .vs-account-page * {
  font-family: "Jost", "Segoe UI", system-ui, sans-serif !important;
}

body.elmas-page:has(.vs-account-page),
body.elmas-page:has(.vs-account-page) main {
  background: #fff;
}

body.elmas-page .vs-account-page {
  display: grid;
  gap: 0;
  width: min(1500px, calc(100% - 80px));
  max-width: none;
  margin: 72px auto 120px;
  padding: 0 clamp(20px, 2.6vw, 48px);
  color: #1d1d1d;
}

body.elmas-page .vs-account-page .vs-category-breadcrumb {
  display: none;
}

body.elmas-page .vs-account-page > .vs-account-heading-row {
  display: block;
  min-height: 0;
  height: auto;
  margin: 0 0 30px;
  padding: 0 0 16px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #1d1d1d;
  border-radius: 0;
  box-shadow: none;
}

body.elmas-page .vs-account-page > .vs-account-heading-row h1 {
  margin: 0;
  color: #1d1d1d;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: .01em;
}

body.elmas-page .vs-account-page > .vs-account-heading-row p {
  margin: 8px 0 0;
  color: #8a8a8a;
  font-size: 14px;
  font-weight: 300;
}

body.elmas-page .vs-account-login-required {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 96px 24px 104px;
  background: transparent;
  border: 0;
  border-top: 1px solid #ececec;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

body.elmas-page .vs-account-login-required h2 {
  margin: 0;
  color: #1d1d1d;
  font-size: 26px;
  font-weight: 400;
}

body.elmas-page .vs-account-login-required p {
  margin: 0;
  color: #8a8a8a;
  font-size: 14px;
  font-weight: 300;
}

body.elmas-page .vs-account-login-required a {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 28px;
  background: var(--vs-primary, #b08957) !important;
  color: #fff !important;
  border: 1px solid var(--vs-primary, #b08957);
  border-radius: 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}

body.elmas-page .vs-account-dashboard {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: 96px;
  align-items: start;
}

body.elmas-page .vs-account-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  position: sticky;
  top: 24px;
}

body.elmas-page .vs-account-sidebar .vs-account-menu-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #ececec;
}

body.elmas-page .vs-account-sidebar button:not(.vs-account-menu-toggle),
body.elmas-page .vs-account-sidebar a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ececec;
  border-radius: 0;
  color: #6d6d6d;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: .01em;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

body.elmas-page .vs-account-sidebar button:not(.vs-account-menu-toggle):hover,
body.elmas-page .vs-account-sidebar a:hover {
  background: #faf9f8;
  color: #1d1d1d;
}

body.elmas-page .vs-account-sidebar button.active {
  background: #faf9f8;
  box-shadow: inset 2px 0 0 var(--vs-primary, #b08957);
  color: var(--vs-primary, #b08957);
  font-weight: 400;
}

body.elmas-page .vs-account-sidebar .vs-account-secondary[data-logout] {
  justify-content: center;
  margin-top: 18px;
  min-height: 44px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid #d9d9d9;
  color: #1d1d1d;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.elmas-page .vs-account-sidebar .vs-account-secondary[data-logout]:hover {
  border-color: #1d1d1d;
  color: #1d1d1d;
}

body.elmas-page .vs-account-sidebar .vs-account-menu-toggle {
  display: none !important;
}

@media (max-width: 640px) {
  body.elmas-page .vs-account-sidebar .vs-account-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    justify-self: stretch;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #d9d9d9 !important;
    border-radius: 0;
    color: #1d1d1d;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  body.elmas-page .vs-account-sidebar .vs-account-menu-toggle svg {
    width: 16px;
    height: 16px;
    stroke: #1d1d1d;
    fill: none;
    transition: transform .25s ease;
  }

  body.elmas-page .vs-account-sidebar .vs-account-menu-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  body.elmas-page .vs-account-sidebar .vs-account-menu-list {
    margin-top: 0;
    border-top: 0;
    border-left: 1px solid #ececec;
    border-right: 1px solid #ececec;
    animation: elmasAccountMenuIn .2s ease both;
  }

  @keyframes elmasAccountMenuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

body.elmas-page .vs-account-panel {
  display: grid;
  gap: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.elmas-page .vs-account-panel > .vs-account-heading {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid #1d1d1d;
}

body.elmas-page .vs-account-panel > .vs-account-heading.vs-account-section-toolbar {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

body.elmas-page .vs-account-panel > .vs-account-heading h2 {
  margin: 0;
  color: #1d1d1d;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.elmas-page .vs-account-panel > .vs-account-heading p,
body.elmas-page .vs-account-soft-text {
  margin: 0;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
}

body.elmas-page .vs-account-panel label,
body.elmas-page .vs-address-form label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-items: stretch;
  gap: 7px;
  margin: 0;
}

body.elmas-page .vs-account-panel label > span,
body.elmas-page .vs-address-form label > span {
  justify-self: start;
  text-align: left !important;
}

body.elmas-page .vs-account-panel label > span::after,
body.elmas-page .vs-address-form label > span::after,
body.elmas-page .vs-account-check-row > span::after,
body.elmas-page .vs-profile-password-card > span::after {
  content: none !important;
}

body.elmas-page .vs-account-panel label > span {
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.elmas-page .vs-account-panel input,
body.elmas-page .vs-account-panel select,
body.elmas-page .vs-account-panel textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  box-shadow: none;
  color: #1d1d1d;
  font-size: 14px;
  font-weight: 300;
  transition: border-color .2s ease;
}

body.elmas-page .vs-account-panel input:focus,
body.elmas-page .vs-account-panel select:focus,
body.elmas-page .vs-account-panel textarea:focus {
  outline: none;
  border-color: var(--vs-primary, #b08957);
  box-shadow: none;
}

body.elmas-page .vs-account-panel input:disabled {
  background: #f6f5f3;
  color: #8a8a8a;
}

body.elmas-page .vs-account-panel[data-profile-form] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 22px;
  align-items: start;
}

body.elmas-page .vs-account-panel[data-profile-form] > .vs-account-heading,
body.elmas-page .vs-account-panel[data-profile-form] > .vs-profile-options-grid,
body.elmas-page .vs-account-panel[data-profile-form] > .vs-account-message {
  grid-column: 1 / -1;
}

body.elmas-page .vs-account-panel[data-profile-form] > button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: start;
}

body.elmas-page .vs-profile-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 10px;
  padding-top: 26px;
  border-top: 1px solid #ececec;
}

body.elmas-page .vs-account-check-row,
body.elmas-page .vs-profile-password-card {
  display: grid;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.elmas-page .vs-account-check-row > span,
body.elmas-page .vs-profile-password-card > span {
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.elmas-page .vs-account-checks {
  display: grid;
  gap: 8px;
}

body.elmas-page .vs-account-panel .vs-account-check-row .vs-account-checks label,
body.elmas-page .vs-account-panel .vs-account-checks label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #6d6d6d;
  font-size: 13px;
  font-weight: 300;
}

body.elmas-page .vs-account-checks label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--vs-primary, #b08957);
}

body.elmas-page .vs-account-checks label > span {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
}

body.elmas-page .vs-register-password-fields {
  display: grid;
  gap: 10px;
  position: relative;
}

body.elmas-page .vs-password-toggle {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 26px;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #8a8a8a;
  cursor: pointer;
}

body.elmas-page .vs-account-panel .vs-account-primary,
body.elmas-page .vs-address-form .vs-account-primary {
  min-height: 46px;
  padding: 0 26px;
  background: var(--vs-primary, #b08957) !important;
  color: #fff !important;
  border: 1px solid var(--vs-primary, #b08957);
  border-radius: 0;
  box-shadow: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .2s ease;
}

body.elmas-page .vs-account-panel .vs-account-primary:hover,
body.elmas-page .vs-address-form .vs-account-primary:hover {
  filter: brightness(.92);
}

body.elmas-page .vs-account-panel .vs-address-add-button {
  min-height: 42px;
  padding: 0 18px;
  font-size: 11px;
  letter-spacing: .1em;
}

body.elmas-page .vs-account-message {
  margin: 0;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 300;
}

body.elmas-page .vs-order-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #ececec;
}

body.elmas-page .vs-order-row,
body.elmas-page .vs-order-card {
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 16px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ececec;
  border-radius: 0;
  box-shadow: none;
}

body.elmas-page .vs-order-row > img {
  width: 62px;
  height: 76px;
  object-fit: cover;
  border-radius: 0;
  background: #f6f5f3;
}

body.elmas-page .vs-order-card-title {
  padding: 0;
  background: transparent;
  border: 0;
  color: #1d1d1d;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

body.elmas-page .vs-order-card-title:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.elmas-page .vs-order-no,
body.elmas-page .vs-order-row > span {
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 300;
}

body.elmas-page .vs-order-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}

body.elmas-page .vs-order-actions b {
  color: #1d1d1d;
  font-size: 16px;
  font-weight: 500;
}

body.elmas-page .vs-order-action {
  min-height: 34px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  color: #1d1d1d;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s ease;
}

body.elmas-page .vs-order-action:hover {
  border-color: var(--vs-primary, #b08957);
  color: var(--vs-primary, #b08957);
}

body.elmas-page .vs-order-action.danger {
  color: #b3261e;
}

body.elmas-page .vs-order-action.danger:hover {
  border-color: #b3261e;
  color: #b3261e;
}

body.elmas-page .vs-address-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

body.elmas-page .vs-address-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  background: #f6f5f3;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.elmas-page .vs-address-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.elmas-page .vs-address-card-head strong,
body.elmas-page .vs-address-card-head h3 {
  margin: 0;
  color: #1d1d1d;
  font-size: 15px;
  font-weight: 400;
}

body.elmas-page .vs-address-card .vs-address-badge {
  padding: 3px 10px;
  background: var(--vs-primary, #b08957);
  color: #fff;
  border: 0;
  border-radius: 0;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
  line-height: 1.6;
  text-transform: uppercase;
}

body.elmas-page .vs-address-detail-list {
  display: grid;
  gap: 4px;
}

body.elmas-page .vs-address-detail-row {
  color: #6d6d6d;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
}

body.elmas-page .vs-address-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

body.elmas-page .vs-address-action {
  min-height: 32px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  color: #1d1d1d;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

body.elmas-page .vs-address-action:hover {
  border-color: var(--vs-primary, #b08957);
  color: var(--vs-primary, #b08957);
}

body.elmas-page .vs-address-action.danger {
  color: #b3261e;
}

body.elmas-page .vs-address-modal-box {
  border-radius: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .18);
}

body.elmas-page .vs-account-modal-head {
  padding-bottom: 14px;
  border-bottom: 1px solid #ececec;
}

body.elmas-page .vs-account-modal-head h2 {
  margin: 0;
  color: #1d1d1d;
  font-size: 16px;
  font-weight: 400;
}

body.elmas-page .vs-account-modal-close {
  background: transparent;
  border: 0;
  color: #8a8a8a;
  font-size: 22px;
  cursor: pointer;
}

body.elmas-page .vs-address-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: start;
}

body.elmas-page .vs-address-form label:has(textarea),
body.elmas-page .vs-address-form > button,
body.elmas-page .vs-address-form > .vs-account-grid,
body.elmas-page .vs-address-form > .vs-account-checks,
body.elmas-page .vs-address-form > .vs-account-message {
  grid-column: 1 / -1;
}

body.elmas-page .vs-address-form .vs-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: start;
}

body.elmas-page .vs-address-form .vs-account-secondary,
body.elmas-page .vs-address-form button[type="submit"] {
  justify-self: start;
  min-height: 46px;
  height: auto;
  padding: 0 26px;
  background: var(--vs-primary, #b08957) !important;
  color: #fff !important;
  border: 1px solid var(--vs-primary, #b08957) !important;
  border-radius: 0 !important;
  box-shadow: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .2s ease;
}

body.elmas-page .vs-address-form .vs-account-secondary:hover,
body.elmas-page .vs-address-form button[type="submit"]:hover {
  filter: brightness(.92);
}

body.elmas-page .vs-address-form .vs-account-checks label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6d6d6d;
  font-size: 13px;
  font-weight: 300;
}

body.elmas-page .vs-address-form .vs-account-checks input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  accent-color: var(--vs-primary, #b08957);
}

body.elmas-page .vs-account-section .vs-cart-empty {
  padding: 56px 20px;
  background: transparent;
  border: 0;
  border-top: 1px solid #ececec;
  border-radius: 0;
  box-shadow: none;
  color: #8a8a8a;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
}

@media (max-width: 960px) {
  body.elmas-page .vs-account-page {
    width: 100%;
    margin: 34px auto 64px;
    padding: 0 20px;
  }

  body.elmas-page .vs-account-dashboard {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  body.elmas-page .vs-account-sidebar {
    position: static;
  }

  body.elmas-page .vs-account-panel[data-profile-form],
  body.elmas-page .vs-profile-options-grid,
  body.elmas-page .vs-address-form {
    grid-template-columns: minmax(0, 1fr);
  }

  body.elmas-page .vs-address-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.vs-account-menu-list .vs-account-bayi-only { display: none !important; }
body.vs-customer-is-dealer .vs-account-menu-list .vs-account-bayi-only { display: flex !important; }
body:not(.vs-customer-is-dealer) [data-account-section="bakiye"] { display: none !important; }

.vs-bakiye-banner {
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid #bbe3c5;
  border-radius: 10px;
  background: #f0fdf4;
  color: #166534;
  font-size: 14px;
  font-weight: 600;
}

.vs-bakiye-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 0 0 6px;
}

.vs-bakiye-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.vs-bakiye-form input {
  width: 200px;
  max-width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d8dfea;
  border-radius: 9px;
  font: inherit;
  font-size: 15px;
}

.vs-bakiye-liste-baslik {
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.vs-bakiye-table-wrap { overflow-x: auto; }

.vs-bakiye-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.vs-bakiye-table th {
  padding: 9px 10px;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.vs-bakiye-table td {
  padding: 10px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
}

.vs-bakiye-table td small {
  display: block;
  margin-top: 2px;
  color: #94a3b8;
  font-size: 11.5px;
}

.vs-bakiye-rozet {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.vs-bakiye-rozet.is-basarili { background: #ecfdf5; color: #047857; }
.vs-bakiye-rozet.is-basarisiz { background: #fef2f2; color: #b91c1c; }
.vs-bakiye-rozet.is-bekliyor { background: #fffbeb; color: #b45309; }
.vs-bakiye-rozet.is-iptal { background: #f3f4f6; color: #4b5563; }

.vs-bakiye-makbuz-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #d8dfea;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}

.vs-bakiye-makbuz-btn:hover { background: #f1f5f9; border-color: #b6c2d4; }

@media (max-width: 640px) {
  .vs-bakiye-form input { width: 100%; }
  .vs-bakiye-form { align-items: stretch; flex-direction: column; }
}

body.elmas-page .vs-forgot-modal {
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  background: rgba(15, 23, 42, .55);
  z-index: 9999;
}

body.elmas-page .vs-forgot-dialog,
body.elmas-page [data-forgot-modal] .vs-forgot-dialog.vs-account-panel {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--vs-primary, #d90429) 14%, var(--vs-border, #e5e7eb));
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(15, 23, 42, .28);
  gap: 14px;
  max-width: 460px;
  padding: 26px;
  width: min(100%, 460px);
}

body.elmas-page .vs-forgot-modal:not([hidden]) .vs-forgot-dialog {
  animation: elmasForgotIn .22s ease-out;
}

@keyframes elmasForgotIn {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.elmas-page .vs-forgot-modal:not([hidden]) .vs-forgot-dialog {
    animation: none;
  }
}

body.elmas-page [data-forgot-modal] .vs-account-modal-head {
  align-items: flex-start;
  margin-bottom: 0;
}

body.elmas-page [data-forgot-modal] .vs-account-heading h2 {
  color: var(--vs-text, #111827);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

body.elmas-page [data-forgot-modal] .vs-account-heading p {
  color: var(--vs-text-muted, #64748b);
  font-size: 13.5px;
  line-height: 1.55;
  margin-top: 6px;
}

body.elmas-page [data-forgot-modal] .vs-account-modal-close {
  background: #f5f7fb;
  border: 1px solid #e5eaf2;
  border-radius: 12px;
  color: #536180;
  font-size: 20px;
  height: 38px;
  transition: background .15s ease, color .15s ease;
  width: 38px;
}

body.elmas-page [data-forgot-modal] .vs-account-modal-close:hover {
  background: var(--vs-primary, #d90429);
  border-color: var(--vs-primary, #d90429);
  color: #fff;
}

body.elmas-page [data-forgot-modal] .vs-forgot-dialog label {
  margin-top: 4px;
}

body.elmas-page [data-forgot-modal] .vs-forgot-dialog .vs-account-secondary {
  background: var(--vs-primary, #d90429);
  border: 1px solid var(--vs-primary, #d90429);
  color: #fff;
  font-weight: 800;
  margin-top: 4px;
}

body.elmas-page [data-forgot-modal] .vs-forgot-dialog .vs-account-secondary:hover {
  background: color-mix(in srgb, var(--vs-primary, #d90429) 86%, #111827);
  border-color: color-mix(in srgb, var(--vs-primary, #d90429) 86%, #111827);
}

body.elmas-page [data-forgot-form-content][hidden],
body.elmas-page [data-forgot-modal] .vs-forgot-success-card[hidden] {
  display: none !important;
}

body.elmas-page [data-forgot-modal] .vs-forgot-success-card {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 4px 4px 2px;
  text-align: center;
}

body.elmas-page [data-forgot-modal] .vs-forgot-success-card .vs-account-modal-head {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
  position: relative;
  width: 100%;
}

body.elmas-page [data-forgot-modal] .vs-forgot-success-card .vs-account-modal-close {
  position: absolute;
  right: -12px;
  top: -12px;
}

body.elmas-page [data-forgot-modal] .vs-forgot-success-icon {
  align-items: center;
  background: var(--vs-primary, #d90429);
  border-radius: 999px;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--vs-primary, #d90429) 30%, transparent);
  color: #fff;
  display: inline-flex;
  font-size: 26px;
  font-weight: 900;
  height: 62px;
  justify-content: center;
  width: 62px;
}

body.elmas-page [data-forgot-modal] .vs-forgot-success-card h2 {
  color: var(--vs-text, #111827);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

body.elmas-page [data-forgot-modal] .vs-forgot-success-card p {
  color: var(--vs-text-muted, #64748b);
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0 0;
}

body.elmas-page:has([data-reset-password-page]) main {
  background:
    radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--vs-primary, #d90429) 10%, transparent), transparent 26rem),
    linear-gradient(180deg, #fff 0, #f5f7fb 18rem);
}

body.elmas-page [data-reset-password-page] .vs-account-shell-narrow {
  max-width: 520px;
  padding: 26px 0 40px;
}

body.elmas-page .vs-reset-password-panel {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--vs-primary, #d90429) 12%, var(--vs-border, #e5e7eb));
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(17, 24, 39, .08);
  gap: 14px;
  padding: 30px 28px;
}

body.elmas-page .vs-reset-password-panel .vs-account-heading h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

body.elmas-page .vs-reset-password-panel .vs-account-heading p {
  color: var(--vs-text-muted, #64748b);
  font-size: 14px;
  line-height: 1.6;
}

body.elmas-page .vs-reset-password-panel .vs-register-password-row {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

body.elmas-page .vs-reset-password-panel .vs-register-password-row > span {
  color: var(--vs-text, #111827);
  font-size: 13px;
  font-weight: 800;
}

body.elmas-page .vs-reset-password-panel .vs-register-password-fields input[data-password-field] {
  background: #fff;
  border: 1.5px solid #cfd8e6;
  border-radius: 12px;
  color: #0f172a;
  min-height: 52px;
  padding: 0 46px 0 15px;
  width: 100%;
}

body.elmas-page .vs-reset-password-panel .vs-register-password-fields input[data-password-field]:focus {
  border-color: var(--vs-primary, #d90429);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--vs-primary, #d90429) 14%, transparent);
  outline: none;
}

body.elmas-page .vs-reset-password-panel .vs-password-toggle {
  color: #64748b;
  height: 32px;
  right: 10px;
  top: 10px;
  width: 32px;
}

body.elmas-page .vs-reset-password-panel .vs-account-primary {
  border-radius: 12px;
  justify-self: stretch;
  margin-top: 6px;
  min-height: 52px;
  width: 100%;
}

body.elmas-page [data-reset-password-page] .vs-account-links {
  justify-content: center;
}

body.elmas-page [data-reset-password-page] .vs-account-links a {
  color: var(--vs-primary, #d90429);
  font-weight: 800;
}

body.elmas-page .vs-reset-password-panel .vs-register-password-fields {
  gap: 10px;
  grid-template-columns: 1fr;
  position: relative;
}
