﻿.login-page { max-width: 440px; margin: 8px auto 0; padding: 16px 0 6px; }
.login-page__title { margin: 0 0 28px; text-align: center; font-size: 30px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.login-form { margin: 0; }
.login-form__errors { margin: 0 0 12px; color: #b42318; font-size: 13px; }
.login-form__field { margin: 0; }
.login-form__field input {
  width: 100%;
  height: 50px;
  border: 1px solid #d0d5dd;
  border-bottom: 0;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 400;
  color: #111827;
  background: #fff;
}
.login-form__field:last-of-type input { border-bottom: 1px solid #d0d5dd; }
.login-form__field input::placeholder { color: #98a2b3; }
.login-form__field-error { margin: 6px 0 0; color: #b42318; font-size: 12px; }
.login-form__remember { margin: 16px 0 0; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #101828; font-weight: 500; cursor: pointer; }
.login-form__remember input { width: 20px; height: 20px; accent-color: #111827; cursor: pointer; }
.login-form__submit {
  margin-top: 14px;
  width: 100%;
  height: 48px;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.login-form__links { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.login-form__links a { font-size: 14px; color: #344054; text-decoration: underline; text-underline-offset: 2px; }

.account-recovery__desc {
  margin: 0 0 16px;
  color: #475467;
  line-height: 1.7;
}

.account-recovery__hint,
.signup-help-text {
  margin: -2px 0 14px;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.account-recovery__result,
.account-recovery__done {
  margin-top: 16px;
}

.account-recovery__result strong {
  display: block;
  margin-bottom: 10px;
}

.account-recovery__result-list {
  margin: 0;
  padding-left: 18px;
}

.account-recovery__result-list li + li {
  margin-top: 6px;
}

.signup-wrap { max-width: 520px; margin: 0 auto; }
.signup-wrap input[type="text"],
.signup-wrap input[type="password"],
.signup-wrap input[type="date"] { width: 100%; padding: 8px; margin: 6px 0 14px; }
.signup-wrap button { padding: 10px 14px; cursor: pointer; }
.signup-address-group input { margin-bottom: 0 !important; }
.signup-address-group input + input { margin-top: -1px; }
.signup-gender-options { margin: 8px 0 14px; display: flex; flex-direction: column; gap: 8px; }
.signup-gender-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.signup-gender-option input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #111827;
}

.profile-wrap { max-width: 560px; margin: 0 auto; }
.profile-wrap input { width: 100%; padding: 8px; margin: 6px 0 14px; }
.profile-wrap button { padding: 10px 14px; cursor: pointer; }
.mypage-nav {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mypage-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.mypage-nav a.is-active {
  border-color: #111827;
  background: #111827;
  color: #fff;
  font-weight: 700;
}

.points-page {
  max-width: 1120px;
  margin: 0 auto;
}

.points-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 28%),
    linear-gradient(135deg, #fffdf8 0%, #fff8eb 52%, #f6f8fc 100%);
  padding: 30px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.points-hero::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -56px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.04);
}

.points-hero__eyebrow,
.points-history__eyebrow {
  margin: 0 0 10px;
  color: #b45309;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.points-hero h1,
.points-history h2 {
  margin: 0;
  color: #111827;
  letter-spacing: -0.02em;
}

.points-hero h1 {
  font-size: 42px;
  line-height: 1.08;
  font-weight: 800;
}

.points-hero__desc {
  max-width: 540px;
  margin: 14px 0 0;
  color: #475467;
  font-size: 16px;
  line-height: 1.7;
}

.points-hero__cards {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.points-stat {
  min-height: 180px;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.points-stat--tier {
  background: linear-gradient(160deg, #111827 0%, #334155 100%);
  color: #fff;
}

.points-stat--balance {
  background: linear-gradient(160deg, #fff 0%, #fff9ef 100%);
  color: #111827;
  border: 1px solid #f3e8d2;
}

.points-stat__label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.82;
}

.points-stat__value {
  display: block;
  margin-top: 10px;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.points-stat__sub {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.88;
}

.points-history {
  margin-top: 18px;
  border-radius: 24px;
  border-color: #e5e7eb;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.points-history__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}

.points-history__count {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.points-history__list {
  display: grid;
  gap: 12px;
}

.points-history__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 14px;
  align-items: center;
  border: 1px solid #eef2f6;
  border-radius: 20px;
  padding: 18px 18px 18px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.points-history__title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.points-history__title {
  color: #111827;
  font-size: 17px;
  font-weight: 800;
}

.points-history__amount {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.points-history__amount.is-positive {
  color: #b45309;
}

.points-history__amount.is-negative {
  color: #b42318;
}

.points-history__meta {
  margin: 8px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.points-history__meta span {
  display: inline-block;
  margin-left: 10px;
}

.points-history__memo {
  margin: 8px 0 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.6;
}

.points-history__side {
  border-left: 1px solid #edf0f5;
  padding-left: 16px;
  text-align: right;
}

.points-history__balance-label {
  display: block;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.points-history__balance {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.points-empty {
  border: 1px dashed #d0d5dd;
  border-radius: 20px;
  padding: 36px 20px;
  background: linear-gradient(180deg, #fcfcfd 0%, #f8fafc 100%);
  text-align: center;
}

.points-empty strong {
  display: block;
  color: #111827;
  font-size: 18px;
}

.points-empty p {
  margin: 10px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
}

.points-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: nowrap;
  width: 100%;
  text-align: center;
}

.points-pagination__numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.points-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.points-pagination__link:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.points-pagination__link.is-current {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
}

.points-pagination__link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.cart-wrap { max-width: 1280px; margin: 0 auto; }
.cart-page__title { margin: 4px 0 18px; font-size: 40px; line-height: 1.14; font-weight: 750; letter-spacing: -0.01em; }
.cart-page__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.cart-main { padding: 0; overflow: hidden; }
.cart-main__form { margin: 0; }
.cart-toolbar { display: flex; align-items: center; gap: 10px; padding: 18px 24px; border-bottom: 1px solid #e8ebf2; background: #f9fafb; }
.cart-check-label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #1f2937; cursor: pointer; }
.cart-check-label input { width: 18px; height: 18px; accent-color: #111827; cursor: pointer; }
.cart-toolbar__button { height: 36px; border-radius: 8px; border: 1px solid #d0d5dd; background: #fff; color: #344054; font-size: 15px; font-weight: 600; padding: 0 14px; cursor: pointer; }
.cart-head { display: grid; grid-template-columns: minmax(0, 1fr) 130px 140px 130px; gap: 12px; align-items: center; padding: 14px 24px; border-bottom: 1px solid #e8ebf2; font-size: 15px; font-weight: 600; color: #101828; }
.cart-items { background: #fff; }
.cart-item { display: grid; grid-template-columns: minmax(0, 1fr) 130px 140px 130px; gap: 12px; align-items: start; padding: 20px 24px; border-bottom: 1px solid #eef1f6; }
.cart-item.is-soldout { opacity: 0.74; }
.cart-item__info { display: grid; grid-template-columns: 22px 136px minmax(0, 1fr); gap: 14px; align-items: center; min-width: 0; }
.cart-check-label--item { justify-content: center; }
.cart-item__thumb { width: 136px; height: 136px; border-radius: 8px; border: 1px solid #e4e7ec; background: #f5f6f8; overflow: hidden; display: grid; place-items: center; color: #98a2b3; font-size: 12px; font-weight: 700; }
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__text { min-width: 0; }
.cart-item__name { display: block; font-size: 16px; line-height: 1.4; font-weight: 600; color: #101828; word-break: break-word; overflow-wrap: anywhere; }
.cart-item__badge { margin: 10px 0 0; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 13px; font-weight: 600; }
.cart-item__badge--soldout { background: #111827; }
.cart-item__option { margin: 8px 0 0; color: #475467; font-size: 13px; font-weight: 400; line-height: 1.4; word-break: break-word; overflow-wrap: anywhere; }
.cart-item__price,
.cart-item__sum { font-size: 19px; font-weight: 600; color: #111827; text-align: right; letter-spacing: -0.01em; align-self: start; padding-top: 38px; }
.cart-item__qty { display: flex; justify-content: center; align-self: start; padding-top: 30px; }
.qty-form { display: grid; grid-template-columns: 40px 52px 40px; align-items: center; height: 40px; border: 1px solid #d0d5dd; border-radius: 8px; overflow: hidden; }
.qty-form__btn { border: 0; border-right: 1px solid #d0d5dd; background: #f9fafb; color: #101828; font-size: 21px; line-height: 1; cursor: pointer; height: 100%; }
.qty-form__btn:last-child { border-right: 0; border-left: 1px solid #d0d5dd; }
.qty-form__input { width: 100%; height: 100%; border: 0; text-align: center; font-size: 16px; font-weight: 600; color: #111827; }
.qty-form__input::-webkit-outer-spin-button,
.qty-form__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-form--disabled { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; height: 40px; border-radius: 8px; border: 1px solid #e4e7ec; background: #f2f4f7; color: #98a2b3; font-size: 14px; font-weight: 500; }

.cart-summary { position: sticky; top: 98px; }
.cart-summary__title { margin: 0; font-size: 25px; font-weight: 700; letter-spacing: -0.01em; }
.cart-summary__list { margin: 18px 0 0; padding: 18px 0; border-top: 1px solid #e8ebf2; border-bottom: 1px solid #e8ebf2; }
.cart-summary__list div { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; }
.cart-summary__list div:first-child { margin-top: 0; }
.cart-summary__list dt { color: #1f2937; }
.cart-summary__list dt #summary-selected-qty { color: #667085; font-size: 12px; font-weight: 400; margin-left: 4px; }
.cart-summary__list dd { margin: 0; font-weight: 600; color: #111827; text-align: right; }
.cart-summary__total { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.cart-summary__total strong { font-size: 32px; letter-spacing: -0.01em; }
.cart-summary__order-btn { margin-top: 14px; width: 100%; height: 74px; border-radius: 8px; border: 0; background: #111827; color: #f8e9b2; font-size: 24px; font-weight: 700; display: grid; place-items: center; line-height: 1; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }
.cart-empty { padding: 28px; }
.empty { color: #667085; padding: 16px 0; font-size: 16px; }

.modal-open { overflow: hidden; }
.confirm-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; }
.confirm-modal[hidden] { display: none; }
.confirm-modal__backdrop { position: absolute; inset: 0; background: rgba(16, 24, 40, 0.42); }
.confirm-modal__panel { position: relative; width: min(92vw, 360px); background: #fff; border-radius: 12px; box-shadow: 0 24px 44px rgba(16, 24, 40, 0.24); padding: 22px 20px 16px; }
.confirm-modal__message { margin: 0; font-size: 15px; line-height: 1.5; color: #111827; text-align: center; }
.confirm-modal__actions { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.confirm-modal__btn { height: 40px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.confirm-modal__btn--cancel { border: 1px solid #d0d5dd; background: #fff; color: #344054; }
.confirm-modal__btn--ok { border: 0; background: #111827; color: #fff; }

.preview-wrap { max-width: 960px; margin: 0 auto; }
.box { border: 1px solid #d0d5dd; border-radius: 10px; padding: 14px; margin-bottom: 16px; background: #fff; }
.warn { border-color: #fda29b; background: #fef3f2; }
.ok { border-color: #a6f4c5; background: #ecfdf3; }

.order-wrap { max-width: 960px; margin: 0 auto; }
.order-wrap .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.order-wrap label { display: block; font-size: 13px; color: #475467; margin-bottom: 6px; }
.order-wrap input,
.order-wrap textarea { width: 100%; padding: 8px; }
.order-wrap button { margin-top: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 8px; font-weight: 700; background: #111827; color: #fff; cursor: pointer; }
.field-gap { margin-top: 12px; }
.order-wrap .total-line { margin-top: 10px; font-size: 15px; }

.order-checkout {
  max-width: 1280px;
  margin: 0 auto;
}

.order-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.order-checkout__main {
  display: grid;
  gap: 14px;
}

.order-card {
  border: 1px solid #d0d5dd;
  background: #fff;
  padding: 18px 18px 16px;
}

.order-card__title {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #1f2937;
}

.order-items {
  display: grid;
  gap: 10px;
}

.order-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #eceff5;
  padding-top: 10px;
}

.order-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.order-item__thumb {
  width: 86px;
  height: 86px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #f4f6fa;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 700;
}

.order-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.order-item__name {
  display: block;
  color: #111827;
  font-size: 18px;
  line-height: 1.36;
  font-weight: 700;
}

.order-item__option {
  margin: 6px 0 0;
  color: #667085;
  font-size: 13px;
}

.order-item__meta {
  margin: 6px 0 0;
  color: #475467;
  font-size: 14px;
}

.order-item__price {
  color: #111827;
  font-size: 20px;
  white-space: nowrap;
}

.order-copy-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.order-copy-check input {
  width: 18px;
  height: 18px;
  accent-color: #111827;
}

.order-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.order-info-grid--readonly input {
  background: #f9fafb;
}

.order-field label {
  display: block;
  margin-bottom: 6px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.order-field input,
.order-field textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #111827;
  padding: 10px 12px;
  font-size: 15px;
}

.order-field input[readonly] {
  color: #475467;
}

.order-field textarea {
  resize: vertical;
  min-height: 96px;
}

.order-field--full {
  margin-top: 10px;
}

.order-checkout__side {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 98px;
}

.order-summary {
  margin: 0;
  padding: 0;
}

.order-summary div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.order-summary div:first-child {
  margin-top: 0;
}

.order-summary dt {
  color: #344054;
  font-size: 14px;
}

.order-summary dd {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 700;
}

.order-summary__total {
  padding-top: 12px;
  border-top: 1px solid #eceff5;
}

.order-summary__total dt {
  color: #111827;
  font-weight: 700;
}

.order-summary__total dd {
  color: #dc2626;
}

.order-payment-method {
  margin-top: 2px;
  border: 1px solid #d0d5dd;
  background: #f9fafb;
  height: 50px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

.order-bank-info {
  margin: 10px 0 0;
  font-size: 13px;
  color: #475467;
  line-height: 1.5;
}

.order-submit-btn {
  margin-top: 14px;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 8px;
  background: #dc2626;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  cursor: pointer;
}

.order-submit-btn[disabled] {
  background: #98a2b3;
  cursor: not-allowed;
}

.complete-wrap { max-width: 860px; margin: 0 auto; }
.primary { background: #ecfdf3; border-color: #abefc6; }
.bank { background: #eff8ff; border-color: #b2ddff; }

.my-list-wrap { max-width: 980px; margin: 0 auto; }
.my-list-wrap h1 { margin: 6px 0 14px; }
.my-list-wrap .box { border-radius: 14px; }
.my-list-wrap .meta { color: #475467; font-size: 13px; }
.my-order-search { margin-bottom: 16px; }
.my-order-search__label {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}
.my-order-search__controls {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.my-order-search__input {
  flex: 1 1 280px;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 14px;
}
.my-order-search__submit svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.my-order-search__submit,
.my-order-search__reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.my-order-search__submit {
  border: 0;
  background: #111827;
  color: #fff;
}
.my-order-search__reset {
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
}
.my-order-empty {
  margin: 18px 0 0;
  color: #667085;
  font-size: 15px;
}
.my-order-mobile-list {
  display: none;
}
.my-order-mobile-card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}
.my-order-mobile-card + .my-order-mobile-card {
  margin-top: 12px;
}
.my-order-mobile-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.my-order-mobile-card__date {
  margin: 0 0 6px;
  color: #64748b;
  font-size: 12px;
}
.my-order-mobile-card__number {
  color: #2563eb;
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
.my-order-mobile-card__status {
  display: grid;
  gap: 2px;
  text-align: right;
}
.my-order-mobile-card__status strong {
  color: #111827;
  font-size: 13px;
}
.my-order-mobile-card__status span {
  color: #64748b;
  font-size: 12px;
}
.my-order-mobile-card__meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: #475467;
  font-size: 13px;
}
.my-order-mobile-items {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.my-order-mobile-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid #eef2f6;
  border-radius: 14px;
  background: #fbfcfe;
}
.my-order-mobile-item__thumb {
  width: 72px;
  height: 72px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #9ca3af;
  font-size: 9px;
  font-weight: 700;
}
.my-order-mobile-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.my-order-mobile-item__body {
  min-width: 0;
}
.my-order-mobile-item__name {
  display: block;
  color: #111827;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
}
.my-order-mobile-item__option,
.my-order-mobile-item__price {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}
.my-order-mobile-item__price {
  color: #111827;
  font-weight: 700;
}
.my-order-mobile-item__actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}
.my-order-mobile-card__foot {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}
.my-list-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.my-list-number { font-weight: 800; overflow-wrap: anywhere; }
.my-list-link { font-size: 14px; font-weight: 700; }
.my-list-status { margin: 8px 0 0; line-height: 1.5; }
.my-order-table-wrap {
  border-top: 1px solid #cdd3dc;
  border-bottom: 1px solid #cdd3dc;
  background: #fff;
}
.my-order-table {
  width: 100%;
  border-collapse: collapse;
}
.my-order-table th,
.my-order-table td {
  border-top: 1px solid #e5e7eb;
  padding: 14px 12px;
  vertical-align: middle;
}
.my-order-table thead th {
  border-top: 0;
  background: #f9fafb;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.my-order-table__order p {
  margin: 0 0 6px;
  color: #6b7280;
  font-size: 13px;
}
.my-order-table__order a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 14px;
  font-weight: 700;
}
.my-order-cancel-form {
  margin-top: 8px;
}
.my-order-cancel-btn {
  height: 28px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  font-size: 12px;
  padding: 0 10px;
  cursor: pointer;
}
.my-order-table__shipping,
.my-order-table__price,
.my-order-table__status,
.my-order-table__review,
.my-order-table__ship-action {
  text-align: center;
  font-size: 14px;
  width: 108px;
}
.my-order-table__review {
  text-align: right;
  vertical-align: top;
}
.my-order-table__ship-action {
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}
.my-order-table__product strong {
  display: block;
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
}
.my-order-table__product p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 13px;
}
.my-order-product {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.my-order-product__thumb {
  width: 52px;
  height: 52px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #9ca3af;
  font-size: 9px;
  font-weight: 700;
}
.my-order-product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.my-order-product__name {
  display: block;
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}
.my-order-table__status {
  color: #374151;
}
.my-order-table__status div {
  margin-top: 4px;
}
.my-order-review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #4b5563;
  color: #fff;
  height: 32px;
  min-width: 76px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.my-order-review-btn[disabled] {
  background: #cbd5e1;
  color: #475467;
  cursor: not-allowed;
}
.my-order-complete-form {
  margin: 0;
}
.my-order-complete-btn {
  border: 0;
  background: #0f766e;
  color: #fff;
  height: 32px;
  min-width: 76px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.my-order-complete-btn[disabled] {
  background: #cbd5e1;
  color: #475467;
  cursor: not-allowed;
}
.my-order-group-gap td {
  padding: 0;
  height: 22px;
  background: #f5f7fa;
  border-top: 1px solid #d9dee7;
  border-bottom: 1px solid #d9dee7;
}

.my-detail-wrap { max-width: 900px; margin: 0 auto; }
.my-detail-wrap .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.my-detail-wrap ul { margin: 0; padding-left: 18px; }
.kv-list { margin: 0; padding: 0; }
.kv-item { margin: 6px 0; line-height: 1.5; }
.kv-key { color: #667085; margin-right: 6px; }
.my-detail-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.my-detail-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-top: 1px solid #e5e7eb;
  padding-top: 10px;
}
.my-detail-item:first-child {
  border-top: 0;
  padding-top: 0;
}
.my-detail-item__thumb {
  width: 64px;
  height: 64px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 700;
}
.my-detail-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.my-detail-item__name {
  display: inline-block;
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none;
}
.my-detail-item__meta {
  margin: 4px 0 0;
  color: #111827;
  font-size: 14px;
}
.my-detail-item__option {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 13px;
}

.review-write-wrap { max-width: 760px; margin: 0 auto; }
.review-write-form { margin: 0; }
.review-write-form__field + .review-write-form__field { margin-top: 14px; }
.review-write-form__field label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
}
.review-write-form__field select,
.review-write-form__field textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #111827;
  padding: 10px 12px;
  font-size: 14px;
}
.review-write-form__field textarea {
  resize: vertical;
}
.review-write-form__error {
  margin: 6px 0 0;
  color: #b42318;
  font-size: 12px;
}
.review-write-form__actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.review-write-form__cancel,
.review-write-form__submit {
  min-width: 92px;
  height: 38px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
.review-write-form__cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5db;
  color: #344054;
  text-decoration: none;
}
.review-write-form__submit {
  border: 0;
  background: #111827;
  color: #fff;
  cursor: pointer;
}

.product-detail { max-width: 1180px; margin: 0 auto; }
.product-detail__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 28px;
  align-items: start;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #667085;
  margin-bottom: 12px;
}

.product-breadcrumb a { color: #475467; }

.product-main-image {
  background: #f4f4f6;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  overflow: hidden;
}

.product-main-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.product-main-image__empty {
  min-height: 420px;
  display: grid;
  place-items: center;
  color: #98a2b3;
}

.product-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 800;
  color: #111827;
}

.product-category {
  margin: 10px 0 0;
  color: #667085;
  font-size: 14px;
}

.product-price {
  margin: 14px 0 6px;
  font-size: 32px;
  font-weight: 900;
  color: #111827;
}

.product-status {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
}

.product-status.on { color: #027a48; }
.product-status.soldout { color: #b42318; }

.product-options {
  border-top: 1px solid #e4e7ec;
  border-bottom: 1px solid #e4e7ec;
  padding: 14px 0;
}

.product-options label {
  display: block;
  font-size: 13px;
  color: #344054;
  margin: 10px 0 6px;
  font-weight: 600;
}

.product-options select {
  width: 100%;
  height: 44px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
  padding: 0 12px;
  font-size: 14px;
}

.product-actions {
  display: grid;
  grid-template-columns: 54px 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.product-actions form { margin: 0; }

.product-actions button {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn-wish {
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #101828;
  font-size: 24px;
}

.btn-cart {
  border: 1px solid #111827;
  background: #fff;
  color: #111827;
}

.btn-buy {
  border: 0;
  background: #111827;
  color: #fff;
}

.btn-cart.disabled,
.btn-buy.disabled {
  border: 1px solid #e4e7ec;
  background: #f2f4f7;
  color: #98a2b3;
  cursor: not-allowed;
}

.product-description {
  margin-top: 30px;
  border-top: 1px solid #e4e7ec;
  padding-top: 22px;
  line-height: 1.75;
}

.product-description h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.product-description img {
  max-width: 100%;
  height: auto;
}

.product-description .empty { color: #667085; }

@media (max-width: 860px) {
  .login-page { max-width: 420px; padding-top: 10px; }
  .login-page__title { font-size: 28px; margin-bottom: 22px; }
  .login-form__field input { height: 46px; font-size: 15px; }
  .login-form__remember { font-size: 14px; }
  .login-form__submit { height: 46px; font-size: 16px; }
  .login-form__links { justify-content: flex-start; flex-wrap: wrap; }
  .login-form__links a { font-size: 14px; }
  .cart-page__title { font-size: 34px; margin-bottom: 14px; }
  .cart-page__layout { grid-template-columns: 1fr; }
  .cart-head { display: none; }
  .cart-main { border-radius: 18px; }
  .cart-toolbar {
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1fr 1fr;
    gap: 8px;
    align-items: center;
  }
  .cart-item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "info info"
      "price qty"
      "sum sum";
    padding: 16px 14px;
    gap: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  }
  .cart-item__info {
    grid-area: info;
    grid-template-columns: 22px 96px minmax(0, 1fr);
    grid-template-areas: "check thumb text";
    gap: 12px;
    align-items: start;
  }
  .cart-check-label--item {
    grid-area: check;
    align-self: center;
  }
  .cart-item__thumb {
    grid-area: thumb;
  }
  .cart-item__text {
    grid-area: text;
    min-width: 0;
    padding-top: 2px;
  }
  .cart-item__thumb { width: 96px; height: 96px; border-radius: 12px; }
  .cart-item__name { font-size: 17px; line-height: 1.4; }
  .cart-item__badge { height: 22px; padding: 0 10px; font-size: 13px; }
  .cart-item__option { margin-top: 6px; font-size: 12px; line-height: 1.5; }
  .cart-item__price,
  .cart-item__sum { font-size: 22px; text-align: left; padding-top: 0; }
  .cart-item__price {
    grid-area: price;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .cart-item__price::before {
    content: "단가";
    color: #667085;
    font-size: 12px;
    font-weight: 600;
  }
  .cart-item__qty { grid-area: qty; justify-content: flex-end; padding-top: 0; }
  .cart-item__sum {
    grid-area: sum;
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
  }
  .cart-item__sum::before {
    content: "합계";
    display: block;
    margin-bottom: 4px;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
  }
  .qty-form { grid-template-columns: 42px 52px 42px; height: 42px; }
  .qty-form__btn { font-size: 24px; }
  .qty-form__input { font-size: 20px; }
  .qty-form--disabled { height: 42px; min-width: 102px; font-size: 13px; }
  .cart-summary { position: static; }
  .cart-summary__title { font-size: 28px; }
  .cart-summary__list div { font-size: 15px; }
  .cart-summary__total { font-size: 18px; }
  .cart-summary__total strong { font-size: 30px; }
  .cart-summary__order-btn { height: 54px; font-size: 28px; }
  .order-checkout__layout { grid-template-columns: 1fr; }
  .order-checkout__side { position: static; }
  .order-card { padding: 14px; }
  .order-card__title { font-size: 24px; }
  .order-item { grid-template-columns: 72px minmax(0, 1fr); }
  .order-item__thumb { width: 72px; height: 72px; }
  .order-item__price { grid-column: 1 / -1; font-size: 18px; }
  .order-info-grid { grid-template-columns: 1fr; }
  .order-submit-btn { font-size: 22px; }
  .order-wrap .grid { grid-template-columns: 1fr; }
  .my-detail-wrap .grid { grid-template-columns: 1fr; }
  .my-list-wrap .box { padding: 12px; }
  .my-list-link { width: 100%; }
  .my-order-search__controls { align-items: center; flex-wrap: nowrap; }
  .my-order-search__input { flex: 1 1 auto; width: auto; }
  .my-order-search__submit {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }
  .my-order-search__reset {
    height: 42px;
    padding: 0 12px;
    white-space: nowrap;
  }
  .my-order-mobile-list { display: block; }
  .my-order-table-wrap { display: none; }
  .order-wrap button { width: 100%; }
  .product-detail__top { grid-template-columns: 1fr; }
  .product-main-image__empty { min-height: 280px; }
  .product-title { font-size: 24px; }
  .product-price { font-size: 28px; }
  .product-actions { grid-template-columns: 48px 1fr 1fr; }
  .points-hero { padding: 22px; border-radius: 22px; }
  .points-hero h1 { font-size: 32px; }
  .points-hero__desc { font-size: 15px; }
  .points-hero__cards { grid-template-columns: 1fr; }
  .points-stat { min-height: auto; }
  .points-stat__value { font-size: 34px; }
  .points-history { padding: 18px; border-radius: 20px; }
  .points-history__head { align-items: flex-start; flex-direction: column; }
  .points-history__item { grid-template-columns: 1fr; }
  .points-history__side {
    border-left: 0;
    border-top: 1px solid #edf0f5;
    padding-left: 0;
    padding-top: 12px;
    text-align: left;
  }
  .points-history__balance { font-size: 22px; }
  .points-pagination { justify-content: center; }
  .points-pagination__link { min-width: 36px; height: 36px; padding: 0 12px; }
}

@media (max-width: 520px) {
  .login-page {
    padding: 10px 14px 6px;
  }

  .login-form__errors,
  .login-form__remember,
  .login-form__links {
    padding-left: 2px;
    padding-right: 2px;
  }

  .login-form__links {
    gap: 8px 14px;
  }

  .points-page {
    padding: 0 2px;
  }

  .cart-page__title {
    font-size: 28px;
  }

  .cart-toolbar {
    grid-template-columns: minmax(0, 1fr) 1fr;
    grid-template-areas:
      "check check"
      "delete soldout";
    align-items: stretch;
  }

  .cart-check-label {
    grid-area: check;
  }

  .cart-toolbar__button {
    min-width: 0;
    min-height: 40px;
  }

  .cart-toolbar__button[form="selected-delete-form"] {
    grid-area: delete;
  }

  #sold-out-delete-trigger {
    grid-area: soldout;
  }

  .cart-item {
    padding: 14px 12px;
  }

  .cart-item__info {
    grid-template-columns: 22px 84px minmax(0, 1fr);
  }

  .cart-item__thumb {
    width: 84px;
    height: 84px;
  }

  .cart-item__name {
    font-size: 16px;
  }

  .cart-item__price,
  .cart-item__sum {
    font-size: 20px;
  }

  .qty-form {
    grid-template-columns: 38px 48px 38px;
    height: 40px;
  }

  .qty-form__btn {
    font-size: 20px;
  }

  .qty-form__input {
    font-size: 18px;
  }

  .cart-summary__order-btn {
    height: 50px;
    font-size: 22px;
  }

  .points-hero {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .points-hero__eyebrow,
  .points-history__eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .points-hero h1 {
    font-size: 28px;
  }

  .points-hero__desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
  }

  .points-hero__cards {
    margin-top: 18px;
    gap: 12px;
  }

  .points-stat {
    padding: 18px;
    border-radius: 20px;
  }

  .points-stat__value {
    font-size: 30px;
  }

  .points-stat__sub {
    margin-top: 14px;
    font-size: 13px;
  }

  .points-history {
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
  }

  .points-history__head {
    margin-bottom: 12px;
  }

  .points-history__count {
    align-self: center;
  }

  .points-history__item {
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
  }

  .points-history__title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .points-history__title {
    font-size: 16px;
  }

  .points-history__amount {
    font-size: 20px;
  }

  .points-history__meta,
  .points-history__memo {
    font-size: 12px;
  }

  .points-history__meta span {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .points-history__balance {
    font-size: 20px;
  }

  .points-pagination {
    gap: 8px;
    margin-top: 16px;
    flex-wrap: nowrap;
  }

  .points-pagination__numbers {
    justify-content: center;
    width: auto;
    flex-wrap: nowrap;
  }

  .points-pagination__link {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .cart-page__title {
    font-size: 28px;
  }

  .cart-toolbar {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .cart-toolbar__button {
    flex: 1 1 calc(50% - 5px);
    min-height: 40px;
  }

  .cart-item__info {
    grid-template-columns: 22px 84px minmax(0, 1fr);
  }

  .cart-item__thumb {
    width: 84px;
    height: 84px;
  }

  .cart-item__price,
  .cart-item__sum {
    font-size: 20px;
  }

  .cart-summary__order-btn {
    height: 50px;
    font-size: 22px;
  }

  .my-list-wrap h1 {
    font-size: 24px;
    line-height: 1.35;
  }

  .my-order-search {
    margin-bottom: 12px;
  }

  .my-order-search__label {
    margin-bottom: 6px;
  }

  .my-order-search__controls {
    gap: 6px;
  }

  .my-order-search__submit {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }

  .my-order-mobile-card {
    padding: 12px;
    border-radius: 16px;
  }

  .my-order-mobile-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .my-order-mobile-item__thumb {
    width: 64px;
    height: 64px;
  }

  .my-order-mobile-item__name {
    font-size: 14px;
  }

  .my-order-review-btn,
  .my-order-complete-btn {
    min-width: 84px;
  }

  .review-write-form__actions {
    flex-direction: column-reverse;
  }

  .review-write-form__cancel,
  .review-write-form__submit {
    width: 100%;
  }
}




