:root {
  --blue: #0A5CD8;
  --navy: #082955;
  --white: #FFFFFF;
  --surface: #F4F6F8;
  --blue-dark: #082955;
  --line: rgba(8, 41, 85, .16);
  --panel: rgba(255, 255, 255, 0.89);
  --motion: 1.2s cubic-bezier(.18, .02, .36, .96);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--surface);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  background:
    radial-gradient(circle at 23% 20%, rgba(10, 92, 216, .08), transparent 31%),
    radial-gradient(circle at 82% 74%, rgba(8, 41, 85, .06), transparent 27%),
    linear-gradient(135deg, var(--white) 0%, var(--surface) 54%, var(--white) 100%);
}

button, input { font: inherit; }
button { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 52px;
}

.auth-shell {
  width: min(1235px, 100%);
  height: 660px;
  min-height: 0;
  display: grid;
  grid-template-columns: 44% 56%;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(8, 41, 85, .12);
  border-radius: 26px;
  background: rgba(244, 246, 248, .76);
  backdrop-filter: blur(18px);
  transition: height var(--motion);
}

.auth-shell.is-register { height: 860px; }

.brand-panel {
  min-width: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, .8), rgba(244, 246, 248, .7));
}

.brand-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.brand-view {
  position: absolute;
  inset: 0;
  padding: 42px 48px 235px 78px;
  opacity: 1;
  transform: translateY(0);
  will-change: transform, opacity;
  transition: transform var(--motion), opacity .8s cubic-bezier(.18, .02, .36, .96);
}

.brand-register-view {
  opacity: 0;
  pointer-events: none;
  transform: translateY(108%);
}

.is-register .brand-login-view {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-108%);
}

.is-register .brand-register-view {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.brand-logo-image {
  width: auto;
  height: 50px;
  max-width: min(220px, 100%);
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: none;
}

.brand-mark {
  width: 51px;
  height: 51px;
  flex: 0 0 51px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  background: transparent;
}

.brand-mark::before {
  content: none;
}

.brand-mark > i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 49px;
  background: linear-gradient(135deg, #082955, #0A5CD8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  z-index: 1;
  color: #0A5CD8;
  font-size: 19px;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
}

.brand-intro {
  max-width: 355px;
  margin-top: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0A5CD8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 3px;
  background: #0A5CD8;
}

.brand-intro h2 {
  margin: 10px 0 8px;
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: -.7px;
}

.brand-intro p {
  margin: 0;
  color: rgba(8, 41, 85, .64);
  font-size: 14px;
  line-height: 1.55;
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 14px;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.25px;
}

.benefit-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  position: relative;
  color: #0A5CD8;
  border: 1px solid rgba(10, 92, 216, .18);
  border-radius: 10px;
  background: rgba(10, 92, 216, .07);
}

.benefit-icon i {
  font-size: 18px;
}

.parts-art {
  position: absolute;
  width: 545px;
  max-width: none;
  height: 235px;
  left: -8px;
  bottom: -1px;
  background-image: url(../images/auth-bg.webp);
  background-size: 500px 263px;
  background-position: 38% 100%;
  background-repeat: no-repeat;
  background-color: transparent;
  background-blend-mode: normal;
  mix-blend-mode: multiply;
  opacity: .62;
  filter: saturate(.15) contrast(.9) brightness(1.08);
  -webkit-mask-image: none;
  mask-image: none;
  pointer-events: none;
}

.parts-art.is-transitioning {
  z-index: 3;
}

.auth-shell.is-register .parts-art {
  width: 100%;
  height: 330px;
  left: 0;
  bottom: 0;
  background-size: contain;
  background-position: center bottom;
}

.auth-shell.parts-layer-transition .brand-stage {
  -webkit-mask-image: linear-gradient(to bottom, #000000 0%, #000000 48%, transparent 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000000 0%, #000000 48%, transparent 72%, transparent 100%);
}

.form-panel {
  min-width: 0;
  padding: 25px;
  display: flex;
  align-items: stretch;
  transform: none;
  transition: padding var(--motion);
}

.is-register .form-panel { padding-top: 25px; padding-bottom: 25px; }

.form-stage {
  width: 100%;
  min-height: 610px;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  background: var(--panel);
  box-shadow: 0 16px 38px rgba(8, 41, 85, .11), inset 0 1px 1px #FFFFFF;
  transition: min-height var(--motion);
}

.is-register .form-stage { min-height: 810px; }

.form-inner {
  position: absolute;
  inset: 0;
  padding: 45px 55px;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
  will-change: transform, opacity;
  transition: transform var(--motion), opacity .8s cubic-bezier(.18, .02, .36, .96);
}

.login-form { z-index: 2; pointer-events: auto; }
.register-form { z-index: 1; opacity: 0; pointer-events: none; transform: translateY(-108%); padding-top: 47px; padding-bottom: 47px; }
.is-register .login-form { z-index: 1; opacity: 0; pointer-events: none; transform: translateY(108%); }
.is-register .register-form { z-index: 2; opacity: 1; pointer-events: auto; transform: translateY(0); }

h1 {
  margin: 0 0 43px;
  text-align: center;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -1.7px;
  font-weight: 800;
  outline: none;
}

.register-form h1 { margin-bottom: 38px; }
form { width: 100%; }

.field {
  min-height: 72px;
  margin-bottom: 23px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .43);
  transition: none;
}

.field:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, .43);
  box-shadow: none;
}

.field:focus-within {
  border-color: #0A5CD8;
  background: rgba(255, 255, 255, .43);
  box-shadow: none;
}

.field-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  position: relative;
  color: rgba(8, 41, 85, .60);
  font-size: 18px;
  font-style: normal;
}

.field input {
  min-width: 0;
  width: 100%;
  height: 68px;
  padding: 0 23px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-size: 17px;
}

.field-icon + .sr-only + input { padding-left: 0; }
.field input::placeholder { color: rgba(8, 41, 85, .58); opacity: 1; }

.eye-toggle {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.eye-toggle i {
  color: rgba(8, 41, 85, .60);
  font-size: 17px;
}

.eye-toggle:hover { background: transparent; }
.eye-toggle:hover i { color: var(--blue); }

.register-form .field { min-height: 61px; margin-bottom: 17px; }
.register-form .field input { height: 58px; font-size: 16px; }
.register-form .eye-toggle { height: 54px; }
.register-consents { margin: 0 0 14px; display: grid; gap: 9px; }
.register-consents .check-label { display: grid; grid-template-columns: 19px minmax(0, 1fr); align-items: start; gap: 9px; color: rgba(8, 41, 85, .78); font-size: 11px; line-height: 1.45; }
.register-consents .check-label > span:last-child { padding-top: 1px; }
.register-consents .custom-check { width: 19px; height: 19px; margin: 0; border-radius: 4px; }
.register-consents .check-label input:checked + .custom-check::after { left: 50%; top: 46%; width: 5px; height: 9px; transform: translate(-50%, -50%) rotate(45deg); }
.consent-link { color: #082955; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.guest-continue { margin: 13px auto 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; color: #0A5CD8; background: transparent; box-shadow: none; font-size: 12px; font-weight: 800; cursor: pointer; transform: none; }
.guest-continue:hover, .guest-continue:active { color: #0A5CD8; background: transparent; box-shadow: none; transform: none; }

.form-options {
  min-height: 51px;
  margin: 8px 0 17px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: rgba(8, 41, 85, .78);
  font-size: 15px;
}

.form-options.split { justify-content: space-between; align-items: center; }

.check-label {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  cursor: pointer;
  line-height: 1.35;
}

.check-label input { position: absolute; opacity: 0; pointer-events: none; }

.custom-check {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border: 2px solid rgba(8, 41, 85, .18);
  border-radius: 6px;
  background: #FFFFFF;
  position: relative;
  transition: .2s;
}

.check-label input:checked + .custom-check { border-color: var(--blue); background: var(--blue); }
.check-label input:checked + .custom-check::after { content: ""; position: absolute; left: 7px; top: 3px; width: 7px; height: 13px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check-label input:focus-visible + .custom-check { outline: 3px solid rgba(10, 92, 216, .25); outline-offset: 3px; }

.text-button,
.switch-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.text-button:hover,
.switch-button:hover { color: var(--blue-dark); text-decoration: underline; }

.submit-button {
  width: 100%;
  min-height: 70px;
  border: 0;
  border-radius: 12px;
  color: #FFFFFF;
  background: linear-gradient(108deg, #0A5CD8, #0A5CD8 50%, #0A5CD8);
  box-shadow: none;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: filter .16s;
}

.register-form .submit-button { min-height: 65px; }
.submit-button:hover { transform: none; filter: saturate(1.08); }
.submit-button:active { transform: none; }

.notice {
  min-height: 21px;
  margin: 10px 0 0;
  text-align: center;
  color: #0A5CD8;
  font-size: 12px;
  opacity: 0;
  transition: opacity .2s;
}

.notice.show { opacity: 1; }
.notice.error { color: #082955; }
.login-form > .panel-notice { margin: auto 0 0; }

.switch-copy {
  margin: 10px 0;
  padding-top: 0;
  text-align: center;
  color: rgba(8, 41, 85, .64);
  font-size: 16px;
}

.login-form > .switch-copy { margin-top: 28px; }

.switch-button { margin-left: 13px; font-size: inherit; }

/* Şifremi unuttum */
.forgotten-form {
  justify-content: center;
  padding-top: 38px;
  padding-bottom: 38px;
}

.auth-shell.is-forgotten .parts-art {
  width: 100%;
  height: 235px;
  left: 0;
  bottom: 0;
  background-size: contain;
  background-position: center bottom;
}

.forgotten-step[hidden] { display: none; }
.forgotten-form h1 { margin-bottom: 25px; font-size: 38px; }
.forgotten-copy {
  max-width: 470px;
  margin: 0 auto 28px;
  color: rgba(8, 41, 85, .64);
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
}
.forgotten-form .field { min-height: 62px; margin-bottom: 16px; }
.forgotten-form .field input { height: 59px; font-size: 16px; }
.forgotten-form .eye-toggle { height: 56px; }
.forgotten-form .submit-button { min-height: 64px; }
.forgotten-login-link { margin-top: 18px; }
.forgotten-login-link .switch-button { display: inline-block; text-decoration: none; }
.forgotten-back {
  margin: 6px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.eye-toggle:focus-visible,
.text-button:focus-visible,
.switch-button:focus-visible,
.submit-button:focus-visible {
  outline: 3px solid rgba(10, 92, 216, .3);
  outline-offset: 3px;
}

button:disabled { cursor: default; }

@media (max-width: 1050px) {
  .auth-page { padding: 28px; }
  .auth-shell { grid-template-columns: 39% 61%; }
  .brand-view { padding-left: 40px; padding-right: 30px; }
  .brand-intro h2 { font-size: 22px; }
  .benefits li { font-size: 16px; gap: 13px; }
  .parts-art { left: -120px; }
  .form-inner { padding-left: 38px; padding-right: 38px; }
}

@media (max-width: 760px) {
  body:not(.is-iframe-mode) .auth-page { display: block; padding: 18px; }
  body:not(.is-iframe-mode) .auth-shell,
  body:not(.is-iframe-mode) .auth-shell.is-register { display: block; width: 100%; height: auto; min-height: auto; border-radius: 22px; overflow: visible; }
  body:not(.is-iframe-mode) .brand-panel { min-height: 245px; padding: 0; border-radius: 22px 22px 0 0; }
  body:not(.is-iframe-mode) .auth-shell.is-register .brand-panel { min-height: 275px; }
  .brand-view { padding: 27px 22px 24px; }
  .brand { justify-content: center; }
  .brand-logo-image { width: min(180px, 72%); height: 42px; margin-inline: auto; object-position: center; }
  .brand-intro { max-width: 420px; margin: 23px auto 0; text-align: center; }
  .brand-intro .eyebrow,
  .brand-intro p { display: none; }
  .brand-intro h2 { margin: 0; font-size: 21px; }
  .benefits { margin: 25px 0 0; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .benefits li { flex-direction: column; gap: 7px; text-align: center; font-size: 13px; }
  .benefit-icon { width: 36px; height: 36px; }
  .parts-art { display: none; }
  body:not(.is-iframe-mode) .form-panel,
  body:not(.is-iframe-mode) .is-register .form-panel { padding: 0; transform: none; }
  body:not(.is-iframe-mode) .form-stage { min-height: 505px; border-radius: 22px; }
  body:not(.is-iframe-mode) .is-register .form-stage { min-height: 810px; }
  .form-inner,
  .register-form { padding: 36px 24px; }
  h1,
  .register-form h1 { margin-bottom: 31px; font-size: 33px; }
  .field { min-height: 61px; margin-bottom: 16px; }
  .field input { height: 58px; font-size: 15px; padding: 0 16px; }
  .field-icon { width: 48px; height: 48px; flex-basis: 48px; }
  .eye-toggle { width: 52px; height: 52px; flex-basis: 52px; }
  .form-options { font-size: 13px; }
  .custom-check { width: 24px; height: 24px; flex-basis: 24px; }
  .text-button { font-size: 12px; }
  .submit-button { min-height: 61px; font-size: 16px; }
  .switch-copy { margin: 10px 0; padding-top: 0; font-size: 14px; }
  .forgotten-form { min-height: 525px; padding: 34px 24px; }
  .forgotten-form h1 { margin-bottom: 20px; font-size: 31px; }
  .forgotten-copy { margin-bottom: 23px; font-size: 13px; }
}

@media (max-width: 420px) {
  .auth-page { padding: 0; }
  .auth-shell { border: 0; border-radius: 0; }
  .brand-panel { border-radius: 0; }
  .form-stage { border-radius: 22px 22px 0 0; }
  .form-inner,
  .register-form { padding-left: 18px; padding-right: 18px; }
  .form-options.split { align-items: flex-start; }
  .check-label { gap: 9px; }
  .switch-button { margin-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Hesabım */
.account-page { min-height: 100vh; margin: 0; padding: 48px; display: grid; place-items: center; color: #082955; background: #F4F6F8; }
.account-page *, .account-page *::before, .account-page *::after { box-sizing: border-box; }
.account-page button, .account-page input { font: inherit; }
.account-shell { width: min(1600px, 100%); min-height: 780px; display: grid; grid-template-columns: 330px minmax(0, 1fr); overflow: hidden; border: 1px solid rgba(8, 41, 85, .14); border-radius: 30px; background: #FFFFFF; }
.account-sidebar { min-width: 0; padding: 44px 28px; color: #FFFFFF; background: #082955; }
.account-user { display: flex; align-items: center; gap: 20px; padding: 0 15px 42px; }
.user-avatar { width: 70px; height: 70px; flex: 0 0 70px; display: grid; place-items: center; border-radius: 50%; color: #082955; background: #FFFFFF; font-size: 28px; font-weight: 800; }
.user-avatar { overflow: hidden; }
.user-avatar img, .profile-photo-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.user-avatar img[hidden], .profile-photo-preview img[hidden] { display: none; }
.account-user div { min-width: 0; }
.account-user strong { display: block; margin-bottom: 5px; font-size: 18px; }
.account-user div > span { display: block; overflow: hidden; color: rgba(255, 255, 255, .72); font-size: 13px; text-overflow: ellipsis; }
.account-nav { display: grid; gap: 8px; }
.account-nav-item { width: 100%; min-height: 58px; padding: 0 22px; display: flex; align-items: center; gap: 18px; border: 0; border-radius: 14px; color: #FFFFFF; background: transparent; box-shadow: none; font-size: 16px; font-weight: 700; text-align: left; text-decoration: none; cursor: pointer; transform: none; transition: none; }
.account-nav-item i { width: 25px; flex: 0 0 25px; font-size: 23px; text-align: center; }
.account-nav-item.is-active { background: #0A5CD8; }
.account-nav-item:hover, .account-nav-item:active { color: #FFFFFF; box-shadow: none; transform: none; }
.account-logout { margin-top: 6px; }
.account-content { min-width: 0; padding: 72px 55px 55px; background: #FFFFFF; }
.account-tab-panel { width: 100%; }
.account-tab-panel:focus { outline: 0; }
.account-tab-panel[hidden] { display: none; }
.account-heading { margin-bottom: 34px; }
.account-heading > span { display: block; margin-bottom: 7px; color: #0A5CD8; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.account-heading h1 { margin: 0; color: #082955; font-size: clamp(30px, 3vw, 42px); line-height: 1.12; letter-spacing: -1.5px; }
.account-heading p { margin: 10px 0 0; color: rgba(8, 41, 85, .62); font-size: 14px; }
.orders-table-wrap { overflow: hidden; border: 0; border-radius: 0; }
.orders-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.orders-table th, .orders-table td { padding: 27px 35px; text-align: left; }
.orders-table th { color: rgba(8, 41, 85, .7); font-weight: 700; }
.orders-table td { border-top: 1px solid rgba(8, 41, 85, .12); color: #082955; }
.orders-table td strong { font-weight: 800; }
.order-product { min-width: 225px; display: flex; align-items: center; gap: 13px; }
.parts-art.order-product-photo { position: static; z-index: auto; width: 58px; height: 58px; flex: 0 0 58px; display: block; border: 1px solid rgba(8, 41, 85, .10); border-radius: 11px; background-size: 180px 95px; background-repeat: no-repeat; background-color: #F4F6F8; background-blend-mode: multiply; mix-blend-mode: normal; opacity: 1; filter: saturate(.15) contrast(.92) brightness(1.04); -webkit-mask-image: none; mask-image: none; }
.order-product-copy { min-width: 0; display: grid; gap: 4px; }
.order-product-copy strong { font-size: 13px; white-space: nowrap; }
.order-product-copy small { color: rgba(8, 41, 85, .58); font-size: 10px; white-space: nowrap; }
.order-status { display: inline; min-width: 0; min-height: 0; border-radius: 0; background: transparent; font-weight: 800; }
.order-status.is-complete { color: #16A34A; background: transparent; }
.order-status.is-shipping { color: #0A5CD8; background: transparent; }
.order-status.is-cancelled { color: #DC2626; background: transparent; }
.account-primary-button { min-height: 54px; padding: 0 30px; border: 1px solid #0A5CD8; border-radius: 11px; color: #FFFFFF; background: #0A5CD8; box-shadow: none; font-size: 15px; font-weight: 800; cursor: pointer; transform: none; transition: none; }
.account-primary-button:hover, .account-primary-button:active { color: #FFFFFF; background: #0A5CD8; box-shadow: none; transform: none; }
.address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.address-card { min-height: 230px; padding: 25px; border: 1px solid rgba(8, 41, 85, .16); border-radius: 16px; background: #FFFFFF; box-shadow: none; }
.address-card.is-default { border-color: #0A5CD8; }
.address-card-title { min-height: 31px; margin-bottom: 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.address-card-title > span { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; }
.address-card-title i { color: #0A5CD8; }
.address-card-title em { padding: 5px 9px; border-radius: 12px; color: #0A5CD8; background: rgba(10, 92, 216, .09); font-size: 10px; font-style: normal; font-weight: 800; }
.address-card > strong { display: block; margin-bottom: 8px; font-size: 14px; }
.address-card > p { min-height: 48px; margin: 0 0 9px; color: rgba(8, 41, 85, .66); font-size: 13px; line-height: 1.55; white-space: pre-line; }
.address-card > span { color: rgba(8, 41, 85, .76); font-size: 13px; }
.address-card-actions { margin-top: 19px; display: flex; gap: 17px; }
.address-card-actions button { padding: 0; border: 0; color: #0A5CD8; background: transparent; box-shadow: none; font-size: 12px; font-weight: 800; cursor: pointer; transform: none; }
.address-card-actions button:hover, .address-card-actions button:active { color: #0A5CD8; box-shadow: none; transform: none; }
.add-address-card { width: max-content; min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; align-self: start; gap: 10px; border: 1px solid #0A5CD8; border-radius: 10px; color: #FFFFFF; background: #0A5CD8; box-shadow: none; cursor: pointer; transform: none; transition: none; }
.add-address-card i { font-size: 15px; }
.add-address-card span { font-size: 14px; font-weight: 800; }
.add-address-card:hover, .add-address-card:active { color: #FFFFFF; background: #0A5CD8; box-shadow: none; transform: none; }
.account-form { max-width: 620px; display: grid; gap: 17px; }
.account-form label { display: grid; gap: 8px; color: #082955; font-size: 13px; font-weight: 800; }
.account-form input, .account-form select, .account-form textarea { width: 100%; min-height: 54px; padding: 0 17px; border: 1px solid rgba(8, 41, 85, .18); border-radius: 11px; outline: 0; color: #082955; background: #FFFFFF; box-shadow: none; font-size: 14px; font-weight: 500; }
.account-form textarea { min-height: 120px; padding-top: 14px; resize: vertical; }
.account-form input:hover { border-color: rgba(8, 41, 85, .18); box-shadow: none; }
.account-form input:focus { border-color: #0A5CD8; box-shadow: none; }
.account-form .account-primary-button { justify-self: start; margin-top: 6px; }
.profile-save-notice { min-height: 18px; margin: 0; color: #0A5CD8; font-size: 12px; font-weight: 700; }
.profile-photo-editor { max-width: 620px; margin-bottom: 27px; padding-bottom: 27px; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid rgba(8, 41, 85, .12); }
.profile-photo-preview { width: 88px; height: 88px; flex: 0 0 88px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: #082955; background: #F4F6F8; font-size: 30px; font-weight: 800; }
.profile-photo-copy { min-width: 0; }
.profile-photo-copy > strong { display: block; font-size: 15px; }
.profile-photo-copy > p { margin: 5px 0 13px; color: rgba(8, 41, 85, .62); font-size: 11px; }
.profile-photo-actions { display: flex; align-items: center; gap: 15px; }
.profile-photo-select { min-height: 40px; padding: 0 15px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #0A5CD8; border-radius: 9px; color: #FFFFFF; background: #0A5CD8; box-shadow: none; font-size: 12px; font-weight: 800; cursor: pointer; }
.profile-photo-remove { padding: 0; border: 0; color: #0A5CD8; background: transparent; box-shadow: none; font-size: 11px; font-weight: 800; cursor: pointer; transform: none; }
.profile-photo-select:hover { color: #FFFFFF; background: #0A5CD8; box-shadow: none; }
.profile-photo-remove:hover, .profile-photo-remove:active { color: #0A5CD8; background: transparent; box-shadow: none; transform: none; }

.logout-modal { position: fixed; inset: 0; z-index: 100; padding: 24px; display: grid; place-items: center; box-sizing: border-box; background: rgba(8, 41, 85, .14); }
.logout-modal[hidden] { display: none; }
.logout-modal::before, .logout-modal::after { content: none; }
.logout-dialog { width: min(560px, 100%); max-width: 100%; padding: 42px 38px; box-sizing: border-box; border: 1px solid rgba(8, 41, 85, .10); border-radius: 20px; background: #FFFFFF; box-shadow: none; text-align: center; }
.logout-icon { width: 78px; height: 78px; margin: 0 auto 26px; display: grid; place-items: center; border-radius: 50%; color: #082955; background: #F4F6F8; font-size: 30px; }
.logout-dialog h2 { margin: 0; color: #082955; font-size: 26px; line-height: 1.25; letter-spacing: -.7px; }
.logout-dialog p { margin: 14px 0 30px; color: rgba(8, 41, 85, .62); font-size: 14px; }
.logout-actions { display: flex; justify-content: center; gap: 15px; }
.logout-button { width: 170px; min-height: 50px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; border-radius: 10px; box-shadow: none; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transform: none; transition: none; }
.logout-cancel { border: 1px solid rgba(8, 41, 85, .18); color: #082955; background: #FFFFFF; }
.logout-confirm { border: 1px solid #0A5CD8; color: #FFFFFF; background: #0A5CD8; }
.logout-button:hover, .logout-button:active { box-shadow: none; transform: none; }
.logout-cancel:hover, .logout-cancel:active { color: #082955; background: #FFFFFF; border-color: rgba(8, 41, 85, .18); }
.logout-confirm:hover, .logout-confirm:active { color: #FFFFFF; background: #0A5CD8; border-color: #0A5CD8; }
.logout-modal-open { overflow: hidden; }
.address-dialog { width: min(620px, 100%); padding: 34px; text-align: left; }
.address-dialog-heading { margin-bottom: 25px; display: flex; align-items: center; gap: 15px; }
.address-dialog-icon { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; border-radius: 50%; color: #0A5CD8; background: #F4F6F8; font-size: 20px; }
.address-dialog-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.5px; }
.address-dialog-heading p { margin: 4px 0 0; font-size: 12px; }
.address-modal-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.address-modal-form label { display: grid; gap: 7px; color: #082955; font-size: 12px; font-weight: 800; }
.address-modal-form input, .address-modal-form textarea { width: 100%; padding: 0 14px; border: 1px solid rgba(8, 41, 85, .18); border-radius: 10px; outline: 0; color: #082955; background: #FFFFFF; box-shadow: none; font: inherit; font-weight: 500; resize: vertical; }
.address-modal-form input { min-height: 48px; }
.address-modal-form textarea { min-height: 85px; padding-top: 13px; }
.address-modal-form input:hover, .address-modal-form textarea:hover { border-color: rgba(8, 41, 85, .18); box-shadow: none; }
.address-modal-form input:focus, .address-modal-form textarea:focus { border-color: #0A5CD8; box-shadow: none; }
.address-full-field, .address-modal-actions { grid-column: 1 / -1; }
.address-modal-actions { margin-top: 5px; display: flex; justify-content: flex-end; gap: 12px; }
.address-modal-actions .logout-button { width: 155px; }

@media (max-width: 980px) {
  .account-page { padding: 24px; place-items: start center; }
  .account-shell { min-height: 0; grid-template-columns: 250px minmax(0, 1fr); border-radius: 22px; }
  .account-sidebar { padding: 30px 17px; }
  .account-user { padding: 0 8px 28px; gap: 12px; }
  .user-avatar { width: 52px; height: 52px; flex-basis: 52px; font-size: 21px; }
  .account-user strong { font-size: 14px; }
  .account-nav-item { min-height: 51px; padding: 0 15px; gap: 12px; font-size: 13px; }
  .account-nav-item i { width: 22px; flex-basis: 22px; font-size: 19px; }
  .account-content { padding: 48px 30px; }
  .orders-table th, .orders-table td { padding: 22px 18px; }
  .address-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .account-page { padding: 0; display: block; background: #FFFFFF; }
  .account-shell { display: block; width: 100%; border: 0; border-radius: 0; }
  .account-sidebar { padding: 24px 17px 17px; }
  .account-user { padding-bottom: 20px; }
  .account-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .account-nav-item { min-height: 58px; padding: 8px 5px; flex-direction: column; justify-content: center; gap: 5px; border-radius: 10px; font-size: 10px; text-align: center; }
  .account-nav-item i { width: auto; flex: none; font-size: 17px; }
  .account-logout { margin-top: 0; }
  .account-content { padding: 34px 17px 45px; }
  .account-heading { margin-bottom: 25px; }
  .account-heading h1 { font-size: 30px; }
  .account-heading p { line-height: 1.5; }
  .orders-table-wrap { overflow: visible; border: 0; }
  .orders-table, .orders-table tbody { display: block; }
  .orders-table thead { display: none; }
  .orders-table tr { margin-bottom: 13px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid rgba(8, 41, 85, .14); border-radius: 13px; }
  .orders-table td { padding: 15px; display: grid; gap: 5px; border: 0; font-size: 13px; }
  .orders-table td::before { content: attr(data-label); color: rgba(8, 41, 85, .55); font-size: 10px; font-weight: 700; }
  .orders-table td:first-child { grid-column: 1 / -1; border-bottom: 1px solid rgba(8, 41, 85, .10); }
  .order-product { min-width: 0; }
  .order-product-copy strong, .order-product-copy small { white-space: normal; }
  .order-status { min-width: 0; min-height: 29px; justify-content: flex-start; background: transparent !important; }
  .account-primary-button { width: 100%; }
  .address-card { min-height: 220px; }
  .add-address-card { width: 100%; }
  .account-form .account-primary-button { justify-self: stretch; }
  .profile-photo-editor { align-items: flex-start; }
  .profile-photo-preview { width: 72px; height: 72px; flex-basis: 72px; font-size: 25px; }
  .profile-photo-actions { align-items: flex-start; flex-direction: column; gap: 9px; }
  .logout-dialog { padding: 34px 20px; border-radius: 18px; }
  .logout-icon { width: 70px; height: 70px; margin-bottom: 22px; font-size: 27px; }
  .logout-dialog h2 { font-size: 22px; }
  .logout-dialog p { margin: 13px 0 25px; font-size: 13px; }
  .logout-actions { gap: 11px; }
  .logout-button { width: auto; min-width: 0; min-height: 54px; flex: 1 1 0; font-size: 14px; }
  .address-dialog { padding: 27px 18px; }
  .address-modal-form { grid-template-columns: 1fr; }
  .address-full-field, .address-modal-actions { grid-column: auto; }
  .address-modal-actions .logout-button { width: auto; }
}

/* Site brand link on auth panels */
.auth-page a.brand{text-decoration:none;color:inherit}


/* Hesabim + global header/footer */
body.account-page.has-global-shell {
  display: block;
  min-height: 100vh;
  padding: 0;
  place-items: unset;
  background: #F4F6F8;
}
body.account-page.has-global-shell .account-main {
  width: 100%;
  padding: 36px 24px 64px;
  box-sizing: border-box;
}
body.account-page.has-global-shell .account-shell {
  margin: 0 auto;
}

/* Account data views shared by the live Beike screens. */
.orders-table { table-layout: fixed; }
.orders-table th:nth-child(1) { width: 35%; }
.orders-table th:nth-child(2) { width: 17%; }
.orders-table th:nth-child(3) { width: 15%; }
.orders-table th:nth-child(4) { width: 17%; }
.orders-table th:nth-child(5) { width: 16%; }
.orders-table td { overflow-wrap: anywhere; }
.orders-table td:last-child { padding-right: 16px; }
.order-status { white-space: normal; }

.account-empty-state {
  min-height: 330px;
  padding: 45px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  border: 1px dashed rgba(8, 41, 85, .18);
  border-radius: 18px;
  text-align: center;
  background: #F8FAFC;
}
.account-empty-state p { margin: 0; color: rgba(8, 41, 85, .65); }
.account-empty-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0A5CD8;
  background: rgba(10, 92, 216, .08);
  font-size: 28px;
}
.account-primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; }

/* Favorilerim */
.wishlist-page { min-height: 70vh; padding: 38px 24px 72px; color: #082955; background: #F4F6F8; }
.wishlist-page-shell { width: min(1500px, 100%); margin: 0 auto; }
.wishlist-breadcrumb { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; color: rgba(8, 41, 85, .56); font-size: 12px; font-weight: 700; }
.wishlist-breadcrumb a { color: #0A5CD8; text-decoration: none; }
.wishlist-breadcrumb i { font-size: 8px; }
.wishlist-page-content { min-height: 620px; padding: 46px 48px 58px; border: 1px solid rgba(8, 41, 85, .13); border-radius: 24px; background: #FFFFFF; box-shadow: 0 14px 36px rgba(8, 41, 85, .05); }
.wishlist-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.wishlist-heading > div { min-width: 0; }
.wishlist-heading > .wishlist-total {
  margin: 4px 0 0;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #0A5CD8;
  background: rgba(10, 92, 216, .08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
.account-empty-state > div:not(.account-empty-icon) { display: grid; gap: 8px; }
.account-empty-state > div:not(.account-empty-icon) strong { color: #082955; font-size: 17px; }

@media (min-width: 701px) and (max-width: 1300px) {
  .orders-table th, .orders-table td { padding: 22px 13px; }
  .order-product { min-width: 0; }
  .order-product-copy strong, .order-product-copy small { white-space: normal; }
}
@media (max-width: 900px) {
  body.account-page.has-global-shell .account-main { padding: 0 0 40px; }
  .wishlist-page { padding: 24px 16px 48px; }
  .wishlist-page-content { padding: 34px 26px 44px; border-radius: 19px; }
}
@media (max-width: 700px) {
  .wishlist-heading { display: block; }
  .wishlist-heading > .wishlist-total { margin-top: 16px; }
  .wishlist-page { padding: 16px 0 36px; }
  .wishlist-breadcrumb { padding: 0 17px; }
  .wishlist-page-content { min-height: 520px; padding: 30px 17px 40px; border-right: 0; border-left: 0; border-radius: 0; }
}

/* Favoriler: arşivle aynı site genişliği ve gerçek ürün kartı düzeni. */
body.page-wishlist .wishlist-page { padding: 36px 0 72px; }
body.page-wishlist .wishlist-page-shell {
  width: min(1600px, calc(100% - 64px));
  max-width: 1600px;
  margin-inline: auto;
}
body.page-wishlist .wishlist-page-content {
  min-height: 620px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.page-wishlist .wishlist-heading,
body.page-wishlist .wishlist-heading > div,
body.page-wishlist .wishlist-heading h1,
body.page-wishlist .wishlist-heading p {
  text-align: left !important;
}
body.page-wishlist #wishlistContent > .product-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: start;
}
body.page-wishlist #wishlistContent .reference-product-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  transition: opacity .22s ease, transform .22s ease;
}
body.page-wishlist #wishlistContent .reference-product-card.is-removing { opacity: 0; transform: scale(.97) !important; }

@media (max-width: 1200px) {
  body.page-wishlist #wishlistContent > .product-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 767px) {
  body.page-wishlist .wishlist-page { padding: 20px 0 42px; }
  body.page-wishlist .wishlist-page-shell { width: calc(100% - 28px); }
  body.page-wishlist .wishlist-breadcrumb { padding: 0; }
  body.page-wishlist .wishlist-page-content { min-height: 520px; padding: 0; }
}

/* Layer login modalı (iframe modu): kabuğu görünüm alanına sığdır, sayfa kaydırmayı kapat */
body.auth-layout.is-iframe-mode,
body.is-iframe-mode { overflow: hidden; }
body.auth-layout.is-iframe-mode .auth-page,
body.is-iframe-mode .auth-page { height: 100vh; min-height: 100vh; padding: 14px; box-sizing: border-box; }
body.auth-layout.is-iframe-mode .auth-shell,
body.auth-layout.is-iframe-mode .auth-shell.is-register,
body.is-iframe-mode .auth-shell,
body.is-iframe-mode .auth-shell.is-register {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
}
body.auth-layout.is-iframe-mode .brand-panel,
body.is-iframe-mode .brand-panel { display: none !important; }
body.auth-layout.is-iframe-mode .form-panel,
body.auth-layout.is-iframe-mode .is-register .form-panel,
body.is-iframe-mode .form-panel,
body.is-iframe-mode .is-register .form-panel {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  display: flex !important;
  overflow: hidden !important;
}
body.auth-layout.is-iframe-mode .form-stage,
body.auth-layout.is-iframe-mode .is-register .form-stage,
body.is-iframe-mode .form-stage,
body.is-iframe-mode .is-register .form-stage {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}
body.auth-layout.is-iframe-mode .form-inner,
body.is-iframe-mode .form-inner {
  position: relative !important;
  inset: auto !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px 20px !important;
  transform: none !important;
}
body.auth-layout.is-iframe-mode .auth-shell:not(.is-register) .register-form,
body.is-iframe-mode .auth-shell:not(.is-register) .register-form {
  display: none !important;
}
body.auth-layout.is-iframe-mode .auth-shell.is-register .login-form,
body.is-iframe-mode .auth-shell.is-register .login-form {
  display: none !important;
}
body.auth-layout.is-iframe-mode .auth-shell:not(.is-register) .login-form,
body.auth-layout.is-iframe-mode .auth-shell.is-register .register-form,
body.is-iframe-mode .auth-shell:not(.is-register) .login-form,
body.is-iframe-mode .auth-shell.is-register .register-form {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 2 !important;
}
@media (max-width: 767px) {
  body.auth-layout.page-login.is-iframe-mode .auth-page,
  body.auth-layout.is-iframe-mode .auth-page,
  body.is-iframe-mode .auth-page {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100vh !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }
  body.auth-layout.page-login.is-iframe-mode .auth-shell,
  body.auth-layout.page-login.is-iframe-mode .auth-shell.is-register,
  body.auth-layout.is-iframe-mode .auth-shell,
  body.auth-layout.is-iframe-mode .auth-shell.is-register,
  body.is-iframe-mode .auth-shell,
  body.is-iframe-mode .auth-shell.is-register {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
  }
  body.auth-layout.page-login.is-iframe-mode .brand-panel,
  body.auth-layout.is-iframe-mode .brand-panel,
  body.is-iframe-mode .brand-panel { display: none !important; }
  body.auth-layout.page-login.is-iframe-mode .form-panel,
  body.auth-layout.page-login.is-iframe-mode .is-register .form-panel,
  body.auth-layout.is-iframe-mode .form-panel,
  body.auth-layout.is-iframe-mode .is-register .form-panel,
  body.is-iframe-mode .form-panel,
  body.is-iframe-mode .is-register .form-panel {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    display: flex !important;
    overflow: hidden !important;
  }
  body.is-iframe-mode .form-stage,
  body.is-iframe-mode .is-register .form-stage {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }
  body.is-iframe-mode .form-inner,
  body.is-iframe-mode .auth-shell:not(.is-register) .login-form,
  body.is-iframe-mode .auth-shell.is-register .register-form {
    padding: 20px 18px 18px !important;
  }
  body.is-iframe-mode h1,
  body.is-iframe-mode .register-form h1 {
    margin-bottom: 20px !important;
    font-size: 26px !important;
  }
  body.is-iframe-mode .field {
    min-height: 54px !important;
    margin-bottom: 12px !important;
  }
  body.is-iframe-mode .field input {
    height: 50px !important;
  }
  body.is-iframe-mode .submit-button {
    min-height: 52px !important;
  }
  body.is-iframe-mode .switch-copy {
    margin: 8px 0 0 !important;
  }
}

/* Sipariş detay — Hesabım ile aynı kabuk */
.account-order-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.account-order-heading__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}
.account-secondary-button {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(8, 41, 85, .18);
  border-radius: 11px;
  color: #082955;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.account-secondary-button--sm,
.account-primary-button--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}
.account-alert {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}
.account-alert--danger {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.order-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}
.order-meta-card {
  padding: 18px 20px;
  border: 1px solid rgba(8, 41, 85, .12);
  border-radius: 14px;
  background: #F8FAFC;
}
.order-meta-card > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(8, 41, 85, .58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.order-meta-card > strong {
  color: #082955;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  word-break: break-word;
}
.order-section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(8, 41, 85, .10);
}
.order-section__title {
  margin: 0 0 18px;
  color: #082955;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.3px;
}
.order-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.order-address-card {
  padding: 20px 22px;
  border: 1px solid rgba(8, 41, 85, .12);
  border-radius: 14px;
  background: #F8FAFC;
  display: grid;
  gap: 6px;
}
.order-address-card h3 {
  margin: 0 0 8px;
  color: rgba(8, 41, 85, .58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.order-address-card strong {
  color: #082955;
  font-size: 15px;
}
.order-address-card p,
.order-address-card span {
  margin: 0;
  color: rgba(8, 41, 85, .68);
  font-size: 14px;
  line-height: 1.55;
}
.order-products {
  display: grid;
  gap: 0;
}
.order-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(8, 41, 85, .10);
}
.order-product-row:last-child { border-bottom: 0; padding-bottom: 0; }
.order-product-row:first-child { padding-top: 0; }
.order-product-row .order-product-photo {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
  border: 1px solid rgba(8, 41, 85, .10);
  border-radius: 12px;
  background: #fff;
}
.order-product-row .order-product-copy strong,
.order-product-row .order-product-copy strong a {
  color: #082955;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: normal;
}
.order-product-row .order-product-copy strong a:hover { color: #0A5CD8; }
.order-product-row .order-product-copy small {
  white-space: normal;
  font-size: 12px;
}
.order-product-row__total {
  display: grid;
  gap: 10px;
  justify-items: end;
  text-align: right;
  flex: 0 0 auto;
}
.order-product-row__total strong {
  color: #0A5CD8;
  font-size: 16px;
  font-weight: 800;
}
.order-totals {
  max-width: 420px;
  margin-left: auto;
  display: grid;
  gap: 10px;
}
.order-totals__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(8, 41, 85, .10);
  border-radius: 12px;
  background: #F8FAFC;
  color: rgba(8, 41, 85, .72);
  font-size: 14px;
  font-weight: 700;
}
.order-totals__row strong { color: #082955; font-weight: 800; }
.order-totals__row.is-grand {
  border-color: rgba(10, 92, 216, .22);
  background: #F0F6FF;
  color: #082955;
  font-size: 15px;
}
.order-totals__row.is-grand strong { color: #0A5CD8; font-size: 18px; }
.order-comment {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(8, 41, 85, .12);
  border-radius: 12px;
  background: #F8FAFC;
  color: rgba(8, 41, 85, .75);
  font-size: 14px;
  line-height: 1.55;
}
.order-detail-table th:nth-child(1),
.order-detail-table th:nth-child(2),
.order-detail-table th:nth-child(3) { width: auto; }

@media (max-width: 1100px) {
  .order-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .account-order-heading { display: grid; gap: 18px; }
  .account-order-heading__actions { justify-content: flex-start; }
  .order-meta-grid,
  .order-address-grid { grid-template-columns: 1fr; }
  .order-product-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .order-product-row__total { justify-items: start; text-align: left; width: 100%; }
  .order-totals { max-width: none; margin-left: 0; }
  .account-secondary-button,
  .account-primary-button--sm { width: 100%; }
}
