:root {
  --color-blue-900: #03234a;
  --color-blue-950: #021a38;
  --color-red-500: #e83a41;
  --color-yellow-400: #f2c05a;
  --color-mint-400: #22bfb2;
  --color-gray-50: #fbfcff;
  --color-gray-100: #f6f9ff;
  --color-gray-200: #e6e8ef;
  --color-gray-500: #6b7280;
  --color-gray-700: #374151;
  --color-gray-900: #111827;

  --color-brand-glow: #cfe0f7;
  --color-ring: rgba(207, 224, 247, 0.70);

  --color-carrier-skt: #2f16b0;
  --color-carrier-kt: #d61c24;
  --color-carrier-lgu: #d1007a;

  --color-bg-default: var(--color-gray-100);
  --color-surface: #ffffff;
  --color-text-primary: var(--color-gray-900);
  --color-text-secondary: var(--color-gray-700);
  --color-text-muted: var(--color-gray-500);
  --color-text-inverse: #ffffff;
  --color-border: var(--color-gray-200);

  --color-brand-primary: var(--color-blue-900);
  --color-brand-accent: var(--color-red-500);
  --color-brand-sub: var(--color-mint-400);
  --color-brand-point: var(--color-yellow-400);

  --color-button-primary: var(--color-blue-900);
  --color-button-cta: var(--color-red-500);
  --color-button-secondary: var(--color-gray-100);

  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.10);
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  margin: 0;
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(34, 191, 178, 0.12) 0%, rgba(34, 191, 178, 0) 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(242, 192, 90, 0.12) 0%, rgba(242, 192, 90, 0) 60%),
    linear-gradient(180deg, #f9fbff 0%, var(--color-bg-default) 36%, var(--color-bg-default) 100%);
  color: var(--color-text-primary);
}

#productView {
  --pv-accent-border: var(--color-brand-primary);
  --pv-accent-ring: var(--color-ring);
  --pv-cta-bg: var(--color-button-cta);
}

#productView[data-carrier="SKT"] {
  --pv-accent-border: var(--color-carrier-skt);
  --pv-accent-ring: rgba(54, 22, 205, 0.18);
  --pv-cta-bg: var(--color-carrier-skt);
}

#productView[data-carrier="KT"] {
  --pv-accent-border: var(--color-carrier-kt);
  --pv-accent-ring: rgba(236, 27, 35, 0.16);
  --pv-cta-bg: var(--color-carrier-kt);
}

#productView[data-carrier="LGU"] {
  --pv-accent-border: var(--color-carrier-lgu);
  --pv-accent-ring: rgba(235, 0, 139, 0.16);
  --pv-cta-bg: var(--color-carrier-lgu);
}

#orderModal,
#familyWarnModal {
  --pv-accent-border: var(--color-brand-primary);
  --pv-accent-ring: var(--color-ring);
}

#orderModal[data-carrier="SKT"],
#familyWarnModal[data-carrier="SKT"] {
  --pv-accent-border: var(--color-carrier-skt);
  --pv-accent-ring: rgba(54, 22, 205, 0.18);
}

#orderModal[data-carrier="KT"],
#familyWarnModal[data-carrier="KT"] {
  --pv-accent-border: var(--color-carrier-kt);
  --pv-accent-ring: rgba(236, 27, 35, 0.16);
}

#orderModal[data-carrier="LGU"],
#familyWarnModal[data-carrier="LGU"] {
  --pv-accent-border: var(--color-carrier-lgu);
  --pv-accent-ring: rgba(235, 0, 139, 0.16);
}

.order-profile-step input:focus,
.order-profile-step select:focus,
.order-profile-step textarea:focus {
  border-color: var(--pv-accent-border);
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

.admin-body .container {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(16px, 2vw, 32px) clamp(12px, 2vw, 20px);
}

.admin-body {
  font-size: clamp(15px, 0.9vw, 18px);
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(99, 102, 241, 0.10) 0%, rgba(99, 102, 241, 0) 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0) 60%),
    linear-gradient(180deg, #f7f9fc 0%, #f3f6fb 100%);
  color: #0f172a;
}

.admin-body h1,
.admin-body h2,
.admin-body h3 {
  letter-spacing: -0.02em;
}

.admin-body .card {
  border-radius: 16px;
  border: 1px solid rgba(231, 234, 242, 0.9);
  border-color: rgba(231, 234, 242, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.admin-body input,
.admin-body select,
.admin-body textarea {
  border-color: rgba(215, 219, 230, 0.95);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.admin-body input:focus,
.admin-body select:focus,
.admin-body textarea:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.7);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.16);
}

.admin-body button {
  transition: transform 80ms ease, background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.admin-body button:active {
  transform: translateY(1px);
}

.admin-body button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
}

.admin-body .primary {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.admin-body .primary.admin-logout {
  background: var(--color-button-cta);
  box-shadow: 0 10px 22px rgba(232, 58, 65, 0.22);
}

.admin-body .primary.admin-logout:hover {
  background: #d61c24;
}

.admin-body a.primary.admin-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  padding: var(--spacing-12) var(--spacing-16);
  cursor: pointer;
}

.admin-body .primary:hover {
  background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%);
}

.admin-body .muted {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border: 1px solid rgba(215, 219, 230, 0.95);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.admin-body .muted:hover {
  background: #fff;
  border-color: rgba(188, 196, 216, 0.95);
}

.admin-body button:disabled,
.admin-body .muted:disabled,
.admin-body .primary:disabled {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.admin-body .admin-side {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(246, 248, 252, 0.78) 100%);
  border-color: rgba(231, 234, 242, 0.95);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.admin-body .admin-navbox {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(231, 234, 242, 0.95);
}

.admin-body .admin-item.active {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(231, 234, 242, 0.95);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.admin-body .admin-item:hover,
.admin-body .admin-subitem:hover {
  background: rgba(255, 255, 255, 0.85);
}

.admin-body .admin-table {
  border: 1px solid rgba(231, 234, 242, 0.95);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.admin-body .admin-table th {
  background: linear-gradient(180deg, rgba(247, 249, 252, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%);
}

.admin-body .admin-table tbody tr:nth-child(2n) td {
  background: rgba(246, 248, 252, 0.55);
}

.admin-body .admin-table tbody tr:hover td {
  background: rgba(219, 234, 254, 0.35);
}

a {
  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;
}

.hidden {
  display: none !important;
}

.back-link {
  display: inline-block;
  text-decoration: none;
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 8px;
}

.back-link:hover {
  color: #111;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 20px;
}

.auth-wrap {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 16px;
  padding: 22px;
  box-sizing: border-box;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.auth-card--center {
  margin: 0 auto;
}

.auth-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(230, 232, 239, 0.95);
}

.auth-head-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(230, 232, 239, 0.95);
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.85) 0%, rgba(255, 255, 255, 1) 100%);
  color: #1e40af;
  flex: 0 0 auto;
}

.auth-head-title {
  font-size: 16px;
  font-weight: 900;
  color: #111;
}

.auth-head-sub {
  margin-top: 3px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 700;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.login-policy {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.login-policy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.login-policy-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(230, 232, 239, 0.95);
  background: rgba(246, 248, 252, 0.7);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  font-size: 13px;
  color: #111;
  cursor: pointer;
}

.login-policy-btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex: 0 0 auto;
}

.login-policy-btn.is-open::after {
  transform: rotate(-135deg);
}

.login-policy-btn:hover {
  background: rgba(243, 244, 246, 0.9);
}

.login-policy-body {
  border: 1px solid rgba(230, 232, 239, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 248, 252, 0.6) 100%);
  border-radius: 14px;
  padding: 12px;
  max-height: 260px;
  overflow: auto;
}

.login-policy-body .order-terms-terms-text {
  max-height: none;
  overflow: visible;
}

.login-policy-note {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.reviews-actions {
  display: flex;
  justify-content: flex-end;
  margin: 10px 0 14px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.auth-tab {
  border: 1px solid rgba(230, 232, 239, 0.95);
  background: rgba(246, 248, 252, 0.7);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  color: #111;
}

.auth-tab.active {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #1e3a8a;
}

.row2a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.auth-result {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(230, 232, 239, 0.95);
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.55) 0%, rgba(255, 255, 255, 1) 100%);
  color: #111;
  font-weight: 900;
}

.auth-title {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

.auth-desc {
  margin: 8px 0 16px;
  color: #6b7280;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.oauth-grid {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.oauth-grid--row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.review-list {
  display: grid;
  gap: 12px;
}

.review-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(230, 232, 239, 0.95);
  background: #fff;
}

.review-thumb {
  width: 92px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(246, 248, 252, 0.7);
  border: 1px solid rgba(230, 232, 239, 0.95);
}

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

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.review-stars {
  font-weight: 900;
  color: #f59e0b;
  letter-spacing: 1px;
}

.review-date {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.review-product {
  margin-top: 6px;
  font-weight: 900;
  color: #111;
}

.review-author {
  margin-top: 4px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.review-content {
  margin-top: 8px;
  color: #111;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-stars-input {
  display: flex;
  gap: 6px;
}

.review-star-btn {
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 1;
  font-size: 22px;
  color: #cbd5e1;
  cursor: pointer;
}

.review-star-btn.is-on {
  color: #f59e0b;
}

.list-review-box {
  display: grid;
  gap: 10px;
}

.article-desc-list {
  border-radius: 16px;
  border: 1px solid rgba(230, 232, 239, 0.95);
  background: #fff;
  overflow: hidden;
}

.article-review-view {
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-list {
  display: grid;
  grid-template-columns: 92px 1fr 72px 92px;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.article-image {
  width: 92px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(246, 248, 252, 0.7);
  border: 1px solid rgba(230, 232, 239, 0.95);
}

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

.article-subject .b3 {
  margin: 6px 0 2px;
  font-weight: 900;
  color: #111;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-subject .b4 {
  font-weight: 900;
  color: #2563eb;
  font-size: 13px;
  cursor: pointer;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-name,
.article-date {
  text-align: right;
  white-space: nowrap;
}

.article-name .b3,
.article-date .b3 {
  font-weight: 900;
  color: #6b7280;
  font-size: 12px;
}

.star_wrap {
  display: inline-flex;
  gap: 3px;
  line-height: 1;
}

.star_wrap .star_div {
  font-size: 14px;
  color: #cbd5e1;
}

.star_wrap .star_div.star_full {
  color: #b92c2d;
}

.article-content {
  background: rgba(246, 248, 252, 0.5);
  overflow: hidden;
  transition: max-height 0.24s ease;
}

.article-content-inner {
  border-top: 1px solid rgba(230, 232, 239, 0.95);
  padding: 12px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.article-desc-list.is-open .article-content-inner {
  opacity: 1;
  transform: translateY(0);
}

.article-content .desc-content {
  color: #111;
  font-size: 13px;
  line-height: 1.7;
  word-break: break-word;
}

.article-content .desc-content p {
  margin: 0;
}

.review-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

@media (max-width: 560px) {
  .article-list {
    grid-template-columns: 76px 1fr;
    gap: 10px;
    align-items: start;
  }
  .article-image {
    width: 76px;
  }
  .article-name,
  .article-date {
    display: none;
  }
}

.auth-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px 0;
  color: #6b7280;
  font-weight: 800;
  font-size: 13px;
}

.auth-sep::before,
.auth-sep::after {
  content: "";
  height: 1px;
  background: #e6e8ef;
  flex: 1;
}

.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 900;
  border: 1px solid #e6e8ef;
}

.oauth-text {
  display: inline-block;
}

.oauth-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 1000;
  line-height: 1;
  font-size: 16px;
  user-select: none;
}

.oauth-badge--naver {
  background: #ffffff;
  color: #03c75a;
}

.auth-card .actions {
  justify-content: stretch;
}

.auth-card .actions > * {
  flex: 1 1 auto;
}

.auth-card .actions button.primary {
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 900;
}

.oauth-btn:hover {
  filter: brightness(0.97);
}

.oauth-btn--img {
  padding: 0;
  border: 0;
  background: transparent;
  height: 56px;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
}

.oauth-btn--img img {
  width: auto;
  max-width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.oauth-naver {
  background: #03c75a;
  color: #fff;
  border-color: #03c75a;
}

.oauth-kakao {
  background: #fee500;
  color: #111;
  border-color: #fee500;
}

.policy-wrap {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e6e8ef;
  border-radius: 14px;
  background: #f9fafb;
}

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

.policy-check {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: #111;
  font-weight: 800;
}

.policy-btn {
  border: 1px solid #e6e8ef;
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 800;
  font-size: 13px;
  color: #111;
  cursor: pointer;
  white-space: nowrap;
}

.policy-btn:hover {
  background: #f3f4f6;
}

.policy-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.policy-title {
  font-weight: 900;
  margin-bottom: 8px;
}

.policy-text {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.7;
  display: grid;
  gap: 6px;
}

.policy-modal-body {
  max-height: 70vh;
  overflow: auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.brand {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-brand-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand:hover {
  text-decoration: none;
}

.site-logo {
  height: 150px;
  width: auto;
  display: block;
}

.brand-text {
  line-height: 1;
}

.topbar {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.topbar-left {
  justify-self: start;
}

.topbar-inner .brand {
  justify-self: center;
}

.nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-left {
  justify-self: start;
}

.nav-right {
  justify-self: end;
  gap: 8px;
}

.top-search {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.top-search-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(230, 232, 239, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  z-index: 60;
}

.top-search.is-open .top-search-pop {
  display: inline-flex;
}

.top-search-input {
  border: 0;
  outline: none;
  background: transparent;
  color: var(--color-text-primary);
  flex: 1 1 auto;
  min-width: 0;
}

.top-search-input::placeholder {
  color: var(--color-text-muted);
  font-weight: 800;
}

.top-search-btn {
  border: 0;
  background: transparent;
  padding: 0;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.top-search-btn:hover {
  background: rgba(3, 35, 74, 0.08);
}

.nav a {
  text-decoration: none;
  color: var(--color-brand-primary);
  font-size: 16px;
  padding: 8px 10px;
  border-radius: 999px;
}

.nav-right a {
  color: var(--color-text-muted);
  font-size: 15px;
  padding: 1px 1px;
}

.nav-right a:hover {
  color: var(--color-text-primary);
}

.nav-right a.nav-pill {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  padding: 8px 10px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .topbar-inner .brand {
    justify-self: start;
  }
  .nav-right {
    justify-self: stretch;
  }
  .top-search {
    order: -1;
    justify-self: start;
  }
}

.nav-right a.nav-pill:hover {
  background: #f3f4f6;
}

.nav a:hover {
  background: #eef2ff;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  background: #eef2ff;
  border-color: #d7dbe6;
}

.icon {
  width: 20px;
  height: 20px;
  display: block;
}

.icon path {
  fill: none;
  stroke: #6b7280;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.subnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.subnav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 20px 6px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.subnav-inner a {
  text-decoration: none;
  color: var(--color-brand-primary);
  font-size: 20px;
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 999px;
}

.subnav-inner a:hover {
  background: #eef2ff;
}

.subnav-inner a.nav-hotdeal:hover {
  background: transparent;
}

.subnav-inner a.nav-hotdeal:focus-visible {
  background: transparent;
}

.nav-hotdeal {
  background-color: transparent;
  background-image: linear-gradient(90deg, #ff3b30, #ff9500, #ffcc00, #34c759, #007aff, #af52de, #ff2d55, #ff3b30);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.32);
  animation: hotdeal-rainbow 1.2s linear infinite, hotdeal-pulse 0.9s ease-in-out infinite;
  transform-origin: center;
  filter:
    drop-shadow(0 0 10px rgba(255, 59, 48, 0.28))
    drop-shadow(0 0 10px rgba(0, 122, 255, 0.24));
}

.nav-hotdeal:hover {
  background-color: transparent;
  filter:
    drop-shadow(0 0 14px rgba(255, 59, 48, 0.36))
    drop-shadow(0 0 14px rgba(0, 122, 255, 0.32))
    drop-shadow(0 0 10px rgba(255, 204, 0, 0.22));
}

@keyframes hotdeal-rainbow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes hotdeal-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    filter:
      drop-shadow(0 0 10px rgba(255, 59, 48, 0.28))
      drop-shadow(0 0 10px rgba(0, 122, 255, 0.24));
  }
  50% {
    opacity: 0.45;
    transform: scale(1.08);
    filter:
      drop-shadow(0 0 18px rgba(255, 59, 48, 0.46))
      drop-shadow(0 0 18px rgba(0, 122, 255, 0.40))
      drop-shadow(0 0 14px rgba(175, 82, 222, 0.30));
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-hotdeal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.hero {
  margin-top: 14px;
}

.site-footer {
  margin-top: 36px;
  background: linear-gradient(180deg, var(--color-surface), var(--color-bg-default));
  border-top: 1px solid var(--color-border);
}

.wg_fix_wrap {
  position: fixed;
  right: 34px;
  bottom: 34px;
  z-index: 1000;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.wg-fab {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #FEE500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: width 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-decoration: none;
}

.wg-fab img {
  width: 28px;
  height: 28px;
  display: block;
}

.wg-fab-label {
  font-weight: 900;
  color: #3c1e1e;
  white-space: nowrap;
  pointer-events: none;
  position: absolute;
  left: 56px;
  top: 50%;
  opacity: 0;
  transform: translateY(-50%) translateX(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .wg-fab:hover,
  .wg-fab:focus-visible {
    width: 140px;
    justify-content: flex-start;
    padding-left: 14px;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  }
  .wg-fab:hover .wg-fab-label,
  .wg-fab:focus-visible .wg-fab-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.wg-fab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--color-ring);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 20px 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.footer-info {
  font-size: 14px;
  color: var(--color-text-secondary);
  display: grid;
  gap: 10px;
}

.footer-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  line-height: 1.6;
}

.footer-item {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
}

.footer-item .k {
  color: var(--color-text-muted);
  font-weight: 900;
}

.footer-item .v {
  color: var(--color-text-muted);
}

.footer-item .v a {
  text-decoration: none;
  color: var(--color-text-muted);
}

.footer-item .v a:hover {
  text-decoration: underline;
}

.footer-line {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  padding: 2px 0;
}

.footer-line .k {
  color: var(--color-text-muted);
  font-weight: 800;
}

.footer-line .v a {
  text-decoration: none;
  color: var(--color-text-primary);
}

.footer-line .v a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-line {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.hero-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.hero-track {
  display: flex;
  transition: transform 350ms ease;
}

.hero-slide {
  min-width: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  display: block;
  height: 420px;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border-radius: 14px;
  padding: 14px 14px;
}

.hero-title {
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 6px;
}

.hero-subtitle {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}

.hero-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-btn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(31, 58, 95, 0.86);
  color: var(--color-text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
}

.hero-icon {
  width: 26px;
  height: 26px;
  display: block;
}

.hero-icon path {
  fill: none;
  stroke: #fff;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-slider:hover .hero-btn {
  opacity: 1;
  visibility: visible;
}

.hero-btn:hover {
  background: rgba(31, 58, 95, 0.96);
}

.hero-btn.prev {
  left: 10px;
}

.hero-btn.next {
  right: 10px;
}

.carousel {
  position: relative;
  overflow: visible;
}

.carousel::before,
.carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 86px;
  background: transparent;
}

.carousel::before {
  left: -86px;
}

.carousel::after {
  right: -86px;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 2px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track > .product-card {
  flex: 0 0 calc((100% - 48px) / 4);
  scroll-snap-align: start;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.carousel:hover .carousel-btn,
.carousel:focus-within .carousel-btn {
  opacity: 1;
  visibility: visible;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.86);
}

.carousel-btn.prev {
  left: -64px;
}

.carousel-btn.next {
  right: -64px;
}

.carousel-btn.hidden {
  display: none;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-dot.active {
  background: var(--color-brand-point);
  border-color: rgba(0, 0, 0, 0.08);
}

.section {
  margin-top: 30px;
}

.section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

#eventDetailCard:not(.hidden) {
  margin-top: 70px;
}

.section-header > div {
  text-align: center;
}

.section-title {
  font-size: 25px;
  font-weight: 900;
  margin: 0;
  color: var(--color-brand-primary);
}

.pv-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pv-title-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pv-title-badges .badge {
  font-size: 12px;
  padding: 6px 10px;
}

#productView .section-title {
  font-size: 36px;
  line-height: 1.12;
}

#productView .section-desc {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-brand-accent);
  margin-top: 8px;
}

#productView .pv-title-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#productView .pv-title-badges {
  order: -1;
  justify-content: center;
  flex-wrap: wrap;
}

.login-title {
  font-size: 34px;
}

.section-desc {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.mypage-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: start;
}

.admin-layout {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items: start;
}

.admin-side {
  background: linear-gradient(180deg, #eef2f7 0%, #f6f8fc 100%);
  border: 1px solid rgba(230, 232, 239, 0.9);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.06);
}

.admin-navbox {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(230, 232, 239, 0.9);
  border-radius: 14px;
  padding: 12px;
  backdrop-filter: blur(6px);
}

.admin-nav-title {
  font-weight: 900;
  font-size: 14px;
  color: #111;
}

.admin-hint {
  margin-top: 8px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.sales-form-section {
  grid-column: 1 / -1;
  border: 1px solid #e6e8ef;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 12px;
}

.sales-form-section-title {
  grid-column: 1 / -1;
  font-weight: 900;
  font-size: 13px;
  color: #111;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6e8ef;
}

.sales-detail {
  display: grid;
  gap: 12px;
}

.sales-detail-section {
  border: 1px solid #e6e8ef;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 12px;
}

.sales-detail-title {
  font-weight: 900;
  font-size: 13px;
  color: #111;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6e8ef;
  margin-bottom: 10px;
}

.sales-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.sales-detail-item {
  min-width: 0;
}

.sales-detail-label {
  font-weight: 900;
  font-size: 12px;
  color: #374151;
}

.sales-detail-value {
  margin-top: 4px;
  font-weight: 800;
  color: #111;
  white-space: pre-wrap;
  word-break: break-word;
}

.sales-detail-value.is-neg {
  color: var(--color-red-500);
}

.sales-detail-value--right {
  text-align: left;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .sales-detail-grid {
    grid-template-columns: 1fr;
  }
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #e6e8ef;
  vertical-align: top;
}

.admin-table th {
  font-weight: 900;
  color: #111;
  background: rgba(246, 248, 252, 0.7);
}

.admin-table .is-neg {
  color: var(--color-red-500);
  font-weight: 900;
}

.admin-opt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.admin-opt-grid--single {
  grid-template-columns: 1fr;
}

.color-palette-canvas {
  display: block;
  margin-top: 10px;
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e6e8ef;
  background: #f3f4f6;
  cursor: crosshair;
}

.admin-opt-box {
  border: 1px solid #e6e8ef;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  min-width: 0;
}

.admin-opt-title {
  font-weight: 900;
  font-size: 13px;
  color: #111;
  margin-bottom: 10px;
}

.admin-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e6e8ef;
  background: rgba(246, 248, 252, 0.7);
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  user-select: none;
  font-weight: 900;
  font-size: 13px;
  color: #111;
}

.admin-check input {
  width: 14px;
  height: 14px;
  margin: 0;
}

.admin-check.is-on {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #1e3a8a;
}

.admin-checks-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.device-color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.device-color-row input[type="text"] {
  min-width: 180px;
  flex: 1 1 180px;
}

.admin-price-box {
  border: 1px solid #e6e8ef;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
}

.admin-price-matrix {
  overflow: auto;
}

.admin-price-matrix table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.admin-price-matrix th,
.admin-price-matrix td {
  padding: 10px;
  border-bottom: 1px solid #e6e8ef;
}

.admin-price-matrix th {
  background: rgba(246, 248, 252, 0.7);
  font-weight: 900;
}

.admin-price-matrix input {
  width: 100%;
  min-width: 120px;
  box-sizing: border-box;
}

.admin-menu {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.admin-submenu {
  display: grid;
  gap: 6px;
  padding-left: 10px;
  margin: 2px 0 10px;
}

.admin-subitem {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 13px;
  color: #374151;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
}

.admin-subitem:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(230, 232, 239, 0.9);
}

.admin-subitem.active {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #1e3a8a;
}

.admin-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 900;
  color: #111;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
}

.admin-item--fold {
  justify-content: space-between;
}

.admin-fold-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  flex: 0 0 auto;
}

.admin-fold-icon::before {
  content: "▸";
  font-size: 16px;
  line-height: 1;
  transform-origin: center;
  transition: transform 140ms ease;
}

.admin-item[aria-expanded="true"] .admin-fold-icon::before {
  transform: rotate(90deg);
}

.admin-item:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(230, 232, 239, 0.9);
}

.admin-item.active {
  background: #fff;
  border-color: rgba(230, 232, 239, 0.95);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.06);
}

.admin-item:focus-visible {
  outline: 2px solid #c7d2fe;
  outline-offset: 2px;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.sales-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.sales-head-row {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.sales-head-actions {
  flex-wrap: wrap;
}

.sales-title {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.sales-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.sales-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.45fr;
  gap: 12px;
  align-items: start;
}

.sales-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
  align-items: start;
}

.sales-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sales-kpi-row .kpi .k {
  color: #6b7280;
  font-size: 12px;
  font-weight: 900;
}

.sales-kpi-row .kpi .v {
  margin-top: 6px;
  font-weight: 900;
  font-size: 18px;
  color: #111;
}

.dash-card .k {
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
}

.dash-card .v {
  margin-top: 6px;
  font-weight: 900;
  font-size: 22px;
  color: #111;
}

.dash-card .v.v-sm {
  font-size: 14px;
  color: #4b5563;
}

.banner-list {
  display: grid;
  gap: 10px;
}

.banner-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e6e8ef;
  border-radius: 12px;
  background: #fff;
}

.banner-thumb {
  width: 120px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e6e8ef;
  background: #f3f4f6;
}

.product-thumb {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #e6e8ef;
  background: #f3f4f6;
  display: block;
}

.banner-meta {
  min-width: 0;
}

.banner-url {
  font-size: 13px;
  color: #4b5563;
  font-weight: 800;
  word-break: break-all;
}

.banner-actions {
  display: flex;
  justify-content: flex-end;
}

.mypage-side {
  background: linear-gradient(180deg, #eef2f7 0%, #f6f8fc 100%);
  border: 1px solid rgba(230, 232, 239, 0.9);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.06);
}

.mypage-userbox {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(230, 232, 239, 0.9);
  border-radius: 14px;
  padding: 12px;
  backdrop-filter: blur(6px);
}

.mypage-userhead {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mypage-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: radial-gradient(120% 120% at 10% 10%, #93c5fd 0%, #6366f1 40%, #2563eb 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.55);
  user-select: none;
}

.mypage-user-title {
  font-weight: 900;
  font-size: 14px;
  color: #111;
}

.mypage-user-name {
  margin-top: 6px;
  font-weight: 900;
  font-size: 16px;
  color: #111;
}

.mypage-menu {
  margin-top: 12px;
}

.mypage-group-title {
  font-weight: 900;
  font-size: 13px;
  color: #374151;
  margin: 10px 2px 6px;
  letter-spacing: -0.2px;
}

.mypage-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  color: #111;
  position: relative;
  border: 1px solid transparent;
}

.mypage-item:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(230, 232, 239, 0.9);
}

.mypage-item.active {
  background: #fff;
  border-color: rgba(230, 232, 239, 0.95);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.06);
}

.mypage-item.active::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 3px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 99px;
  background: #2563eb;
}

.mypage-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(230, 232, 239, 0.9);
}

.mypage-icon svg {
  width: 18px;
  height: 18px;
  stroke: #2563eb;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mypage-content .card {
  padding: 18px;
  min-height: 240px;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
}

.mypage-panel-title {
  font-weight: 900;
  font-size: 18px;
  margin: 0;
}

.mypage-panel-sub {
  color: #4b5563;
  margin-top: 6px;
  font-size: 14px;
}

.mypage-panel-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

.mypage-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mypage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.mypage-stat-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, #ffffff 100%);
  border: 1px solid rgba(230, 232, 239, 0.95);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 22px rgba(17, 24, 39, 0.06);
}

.mypage-stat-card .k {
  font-size: 13px;
  font-weight: 900;
  color: #4b5563;
}

.mypage-stat-card .v {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 900;
  color: #111;
}

.mypage-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mypage-box {
  background: #fff;
  border: 1px solid rgba(230, 232, 239, 0.95);
  border-radius: 16px;
  overflow: hidden;
}

.mypage-box .h {
  padding: 12px 14px;
  font-weight: 900;
  font-size: 14px;
  border-bottom: 1px solid rgba(238, 240, 246, 0.95);
  background: rgba(246, 248, 252, 0.8);
}

.mypage-box .b {
  padding: 12px 14px;
  display: grid;
  gap: 10px;
}

.mypage-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(230, 232, 239, 0.9);
  background: rgba(255, 255, 255, 0.85);
}

.mypage-order-row .n {
  font-weight: 900;
}

.mypage-order-row .m {
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 700;
}

.mypage-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  color: #1e3a8a;
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

.mypage-mini {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(230, 232, 239, 0.9);
  background: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.mypage-mini img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: #f4f6fb;
  border: 1px solid rgba(230, 232, 239, 0.9);
}

.mypage-mini .t {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.mypage-mini .n {
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mypage-mini .m {
  font-size: 13px;
  color: #6b7280;
  font-weight: 700;
}

.mypage-mini:hover {
  filter: brightness(0.985);
}

.mypage-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mypage-profile-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mypage-kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(230, 232, 239, 0.9);
  background: rgba(255, 255, 255, 0.85);
}

.mypage-kv .k {
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
}

.mypage-kv .v {
  font-weight: 900;
  color: #111;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mypage-form {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.mypage-field {
  min-width: 0;
}

.mypage-field input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.mypage-profile-footer {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 10px;
  grid-column: 1 / -1;
}

.mypage-profile-footer .primary {
  min-width: 120px;
}

.mypage-danger-link {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  justify-self: center;
}

.mypage-danger-link:hover {
  color: #111;
}

.mypage-profile-item {
  background: #fff;
  border: 1px solid rgba(230, 232, 239, 0.95);
  border-radius: 16px;
  padding: 14px;
}

.mypage-profile-item .k {
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
}

.mypage-profile-item .v {
  margin-top: 6px;
  font-weight: 900;
  font-size: 16px;
}

.empty {
  color: #6b7280;
  font-weight: 800;
}

@media (max-width: 920px) {
  .mypage-layout {
    grid-template-columns: 1fr;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
  .sales-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sales-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sales-layout {
    grid-template-columns: 1fr;
  }
  .admin-opt-grid {
    grid-template-columns: 1fr;
  }
  .banner-item {
    grid-template-columns: 1fr;
  }
  .banner-thumb {
    width: 100%;
    height: 140px;
  }
  .mypage-split {
    grid-template-columns: 1fr;
  }
  .mypage-profile-grid {
    grid-template-columns: 1fr;
  }
  .mypage-profile-layout {
    grid-template-columns: 1fr;
  }
}

.category-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 16px;
}

.category-controls .control {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
}

.category-controls label {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 700;
}

.category-controls select {
  border: 0;
  background: var(--color-surface);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
  outline: none;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 16px 0 8px;
}

.page-btn {
  border: 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.page-info {
  font-size: 14px;
  color: var(--color-text-secondary);
  min-width: 72px;
  text-align: center;
  font-weight: 800;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.best {
  grid-template-columns: repeat(4, 1fr);
}

.cat-section {
  padding-top: 0;
}

.cat-icons {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
}

.cat-icon {
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--color-text-primary);
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 82px;
}

.cat-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.cat-icon-badge svg {
  width: 28px;
  height: 28px;
  display: block;
}

.cat-icon-badge svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cat-icon-badge[data-variant="navy"] {
  background: var(--color-brand-primary);
  color: var(--color-text-inverse);
}

.cat-icon-badge[data-variant="accent"],
.cat-icon-badge[data-variant="red"] {
  background: var(--color-brand-accent);
  color: var(--color-text-inverse);
}

.cat-icon-badge[data-variant="mint"] {
  background: var(--color-brand-sub);
  color: var(--color-brand-primary);
}

.cat-icon-badge[data-variant="yellow"] {
  background: var(--color-brand-point);
  color: var(--color-brand-primary);
}

.cat-icon-label {
  font-size: 13px;
  font-weight: 900;
  color: var(--color-text-secondary);
}

.grid.products {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  background: var(--color-surface);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.product-card {
  padding: 0;
  overflow: hidden;
}

.product-media {
  position: relative;
  background: var(--color-gray-50);
}

.product-media img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  display: block;
  padding: 14px;
  box-sizing: border-box;
  -webkit-user-drag: none;
}

.event-card .product-media img {
  object-fit: cover;
  padding: 0;
}

#eventGrid {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

#preorderGrid,
#categoryPostGrid {
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.event-card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.event-card .product-media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.event-card .product-media img {
  height: 100%;
  aspect-ratio: 1 / 1;
}

.event-card .product-body {
  padding: 12px 2px 0;
}

.event-card .product-name {
  font-size: 18px;
  font-weight: 900;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.event-card .product-meta {
  font-size: 14px;
}

.event-detail-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 60px;
}

.event-detail-titlebox {
  display: grid;
  gap: 6px;
  min-width: 0;
}

#eventDetailCard.card {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

#preorderDetailCard.card,
#categoryPostCard.card {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

#eventDetailMeta {
  padding-top: 6px;
  margin-bottom: 0;
}

.event-detail-image {
  display: block;
  height: auto;
  border-radius: 0;
  margin-left: auto;
  margin-right: auto;
}

#eventDetailContent img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#eventDetailContent a,
#detailProductText a,
.pv-detail-images a,
#internetTvDetailContent a,
#pvNoticeHtml a {
  display: inline-block;
  max-width: 100%;
}

#eventDetailContent a img,
#detailProductText a img,
.pv-detail-images a img,
#internetTvDetailContent a img,
#pvNoticeHtml a img {
  display: block;
}

.admin-html-editor {
  display: grid;
  gap: 10px;
}

.html-editor-toolbar {
  display: block;
  padding: 10px;
  border: 1px solid #e6e8ef;
  border-radius: 14px;
  background: #fff;
}

.toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 10px;
  border-right: 1px solid #eef0f6;
}

.toolbar-group:last-child {
  padding-right: 0;
  border-right: 0;
}

.tbtn {
  width: 36px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6e8ef;
  border-radius: 10px;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.tbtn:hover {
  background: #f7f8fb;
}

.tbtn:active {
  transform: translateY(1px);
}

.tbtn i {
  font-size: 18px;
}

.color-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  height: 34px;
  border: 1px solid #e6e8ef;
  border-radius: 10px;
  background: #fff;
}

.color-label i {
  font-size: 16px;
  color: #6b7280;
}

.html-editor-color {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.html-editor-area {
  min-height: 260px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e6e8ef;
  background: #fff;
  outline: none;
  line-height: 1.7;
  word-break: break-word;
}

.html-editor-area img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: top;
  border-radius: 12px;
  border: 1px solid #e6e8ef;
  background: #fff;
}

.html-editor-area img.is-selected {
  outline: 3px solid var(--color-brand-primary);
  outline-offset: 2px;
}

.html-editor-area a {
  color: var(--color-brand-primary);
  text-decoration: underline;
}

.html-editor-area table {
  width: 100%;
  border-collapse: collapse;
}

.html-editor-area th,
.html-editor-area td {
  border: 1px solid #e6e8ef;
  padding: 10px;
  vertical-align: top;
}

.html-editor-area blockquote {
  margin: 10px 0;
  padding: 10px 12px;
  border-left: 4px solid var(--color-brand-primary);
  background: #f7f8fb;
  border-radius: 12px;
}

.html-editor-area pre {
  margin: 10px 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e6e8ef;
  background: #0b1020;
  color: #f5f7ff;
  overflow: auto;
}

.html-editor-area code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
}

.badge-stack {
  position: absolute;
  left: 10px;
  top: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  background: var(--color-brand-primary);
  color: var(--color-text-inverse);
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 800;
  width: fit-content;
}

.badge[data-variant="best"] {
  background: rgba(54, 207, 201, 0.20);
  color: var(--color-brand-primary);
}

.badge[data-variant="popular"] {
  background: rgba(255, 77, 79, 0.16);
  color: var(--color-brand-accent);
}

.badge[data-variant="new"] {
  background: rgba(255, 214, 102, 0.38);
  color: var(--color-brand-primary);
}

.badge[data-variant="recommend"] {
  background: #fce7f3;
  color: #be185d;
}

.badge[data-variant="value"] {
  background: #ffedd5;
  color: #9a3412;
}

.badge[data-variant="preorder"] {
  background: rgba(255, 214, 102, 0.24);
  color: var(--color-brand-primary);
}

.product-body {
  padding: 14px 14px 16px;
  display: grid;
  gap: 8px;
}

.product-name {
  margin: 0;
  font-weight: 800;
  font-size: 15px;
}

.product-tagline {
  font-size: 13px;
  font-weight: 900;
  color: var(--color-brand-accent);
  letter-spacing: -0.01em;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 13px;
}

.product-prices {
  display: grid;
  gap: 8px;
}

.product-price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text-muted);
}

.product-price-line .k {
  font-weight: 800;
}

.product-price-line .v {
  font-weight: 900;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
  font-size: 16px;
}

.product-price-line.is-base .v {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(107, 114, 128, 0.65);
  color: var(--color-text-muted);
}

.product-price-line.is-discount .k,
.product-price-line.is-discount .v {
  color: var(--color-brand-accent);
}

.product-price-line.is-final .k {
  color: var(--color-brand-primary);
}

.product-price-line.is-final .v {
  color: var(--color-brand-primary);
  font-size: 18px;
}

.product-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.product-price-main {
  font-size: 16px;
  font-weight: 900;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.badge-discount {
  background: var(--color-brand-accent);
  color: var(--color-text-inverse);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

.product-view-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.product-view-main {
  min-width: 0;
}

.product-page {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(520px, 1fr);
  gap: 22px;
  align-items: start;
}

.product-page-left {
  padding: 14px;
}

.product-page-left.card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.product-page-middle.card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.product-page-left img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  background: transparent;
  border-radius: 16px;
  border: 0;
  padding: 22px;
  box-sizing: border-box;
  display: block;
}

.pv-thumbs {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pv-thumb {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  border: 0;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pv-thumb.is-on {
  box-shadow: none;
}

.pv-thumb:focus-visible {
  outline: none;
  box-shadow: none;
}

.product-page-middle {
  padding: 14px;
}

.pv-section {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.pv-label {
  font-weight: 900;
  color: var(--color-text-primary);
  font-size: 17px;
}

.pv-label--split {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pv-label-sep {
  color: var(--color-border);
  font-weight: 900;
}

.pv-label-value {
  color: var(--color-text-muted);
  font-weight: 900;
  font-size: 16px;
}

.pv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pv-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  color: var(--color-text-primary);
}

.pv-chip .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
}

.pv-chip--color {
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px;
  border-radius: 16px;
  min-width: 72px;
  justify-content: center;
}

.pv-chip--color .dot {
  width: 22px;
  height: 22px;
}

.pv-chip--color .pv-chip-text {
  font-size: 12px;
  font-weight: 900;
  color: var(--color-text-muted);
  line-height: 1;
}

.pv-chip.is-on {
  border-color: var(--pv-accent-border);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

.pv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pv-field {
  display: grid;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.pv-btns {
  display: grid;
  grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
  gap: 10px;
}

.pv-porting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

.pv-porting-label {
  font-size: 13px;
  font-weight: 900;
  color: rgba(30, 41, 59, 0.82);
  margin: 0 0 8px;
}

@media (max-width: 720px) {
  .pv-porting-grid {
    grid-template-columns: 1fr;
  }
}

.pv-btn {
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: 14px;
  padding: 12px 12px;
  cursor: pointer;
  font-weight: 900;
  color: var(--color-text-primary);
  font-size: 15px;
  width: 100%;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 80ms ease;
}

.pv-btn:hover {
  background: rgba(3, 35, 74, 0.04);
  border-color: rgba(3, 35, 74, 0.22);
}

.pv-btn:active {
  transform: translateY(1px);
}

.pv-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

.pv-btn.is-on {
  border-color: var(--pv-accent-border);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

.pv-carrier-btn {
  padding: 8px 10px;
  min-height: 44px;
  display: grid;
  place-items: center;
}

.pv-carrier-logo {
  height: 22px;
  width: auto;
  display: block;
}


.pv-color-icons {
  display: grid;
  grid-template-columns: repeat(auto-fill, 44px);
  justify-content: start;
  gap: 6px;
}

.pv-color-btn {
  border: 0;
  background: transparent;
  padding: 2px 0;
  cursor: pointer;
  position: relative;
  display: grid;
  place-items: center;
}

.pv-color-btn .dot {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(230, 232, 239, 0.95);
}

.pv-color-btn.is-on .dot {
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
  border-color: var(--pv-accent-border);
}

.pv-color-btn:focus-visible {
  outline: none;
}

.pv-color-btn:focus-visible .dot {
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

.pv-color-check {
  position: absolute;
  top: 0px;
  right: calc(50% - 16px);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--pv-accent-border);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: none;
  place-items: center;
  border: 2px solid rgba(245, 247, 250, 0.92);
}

.pv-color-btn.is-on .pv-color-check {
  display: grid;
}

.pv-field--full {
  grid-column: 1 / -1;
}

.pv-field-label {
  font-weight: 800;
  color: var(--color-text-muted);
  font-size: 14px;
}

.pv-plan-box {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  overflow: hidden;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.pv-plan-box:hover {
  border-color: rgba(188, 196, 216, 0.95);
}

.pv-plan-box:focus-within {
  border-color: var(--pv-accent-border);
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

#pvPlan {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px 12px;
  background: var(--color-surface);
  font-weight: 800;
  outline: none;
}

#pvPlan:focus {
  border-color: var(--pv-accent-border);
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

.pv-plan-open {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 12px 12px;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--color-text-primary);
}

.pv-plan-open:focus-visible {
  outline: none;
}

.pv-plan-open-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pv-plan-open-icon {
  flex: 0 0 auto;
  color: var(--color-text-muted);
  font-size: 20px;
  line-height: 1;
}

.pv-plan-meta {
  margin-top: 0;
  display: grid;
  gap: 6px;
  background: transparent;
  border-top: 1px solid var(--color-border);
  padding: 10px 12px 12px;
}

.pv-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
}

.pv-plan-row .k {
  color: var(--color-text-muted);
  font-weight: 900;
}

.pv-plan-row .v {
  color: var(--color-text-primary);
  font-weight: 900;
  text-align: right;
}

.plan-search input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px 12px;
  background: var(--color-surface);
  outline: none;
}

.plan-search input:focus {
  border-color: var(--pv-accent-border);
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

.plan-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  max-height: min(60vh, 560px);
  overflow: auto;
  padding-right: 2px;
}

.plan-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  padding: 12px 12px;
}

.plan-item.is-on {
  border-color: var(--pv-accent-border);
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.plan-name {
  font-weight: 900;
  color: var(--color-text-primary);
}

.plan-fee {
  font-weight: 900;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.plan-meta {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.plan-meta .r {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.plan-meta .k {
  color: var(--color-text-muted);
  font-weight: 900;
}

.plan-meta .v {
  color: var(--color-text-primary);
  font-weight: 900;
  text-align: right;
}

.pv-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pv-toggle-btn {
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 900;
  color: var(--color-text-primary);
}

.pv-toggle-btn.is-on {
  border-color: var(--pv-accent-border);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

#productView input:focus,
#productView select:focus,
#productView textarea:focus {
  border-color: var(--pv-accent-border);
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

.product-page-right {
  padding: 14px;
  position: sticky;
  top: 120px;
  align-self: start;
}

.pv-below-grid {
  margin-top: 24px;
  display: block;
}

.goods-item-info {
  width: 100%;
}

.detail-menu-wrap {
  position: sticky;
  top: 58px;
  z-index: 45;
  background: var(--color-bg-default);
  backdrop-filter: none;
  padding: 12px 0 0;
}

.detail-menu-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(230, 232, 239, 0.95);
}

.detail-menu-tab {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
}

.tab-menu .info-tab {
  text-decoration: none;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  font-weight: 900;
  font-size: 18px;
}

.tab-menu.is-on .info-tab {
  color: var(--color-brand-primary);
}

.tab-menu .t4 {
  font: inherit;
}

.tab-menu-line {
  position: absolute;
  bottom: 0;
  height: 4px;
  background: var(--color-brand-primary);
  border-radius: 999px;
  left: 0;
  width: 0;
  transform: translateX(0);
  transition: transform 180ms ease, width 180ms ease;
}

.detail-content {
  padding-top: 18px;
}

.content-box {
  min-height: 100px;
  margin-bottom: 30px;
  display: block;
}

.pv-below {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.pv-below-card {
  scroll-margin-top: 120px;
}

.pv-below-title {
  font-weight: 900;
  color: #111;
  margin-bottom: 10px;
}

.pv-detail-text {
  white-space: pre-wrap;
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
}

.pv-detail-images {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.pv-detail-images img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 0;
  background: transparent;
  box-shadow: var(--shadow-sm);
}

.pv-notice {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #374151;
  font-size: 14px;
  line-height: 1.55;
}

.pv-notice-html {
  color: #374151;
  font-size: 14px;
  line-height: 1.55;
}

.pv-notice-html img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.pv-reviews {
  display: grid;
  gap: 10px;
  color: #374151;
  font-size: 14px;
}

.pv-sum {
  border: 0;
  border-radius: 14px;
  padding: 14px;
  background: rgba(245, 247, 250, 0.9);
}

.pv-sum-title {
  font-weight: 900;
  color: #111;
  font-size: 15px;
}

.pv-sum-value {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 900;
  color: #111;
  letter-spacing: -0.02em;
}

.pv-sum-sub {
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 800;
}

.pv-sum-sub.is-neg {
  color: var(--color-red-500);
}

.pv-break {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #374151;
}

.pv-break-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pv-break-row .k {
  color: #6b7280;
  font-weight: 800;
}

.pv-break-row .v {
  font-weight: 900;
}

.pv-break-row .v.is-neg {
  color: var(--color-red-500);
}

.pv-total {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 16px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(219, 234, 254, 0.55) 0%, rgba(224, 231, 255, 0.55) 100%);
  border: 0;
}

.pv-total-k {
  font-weight: 900;
  color: #1e3a8a;
  font-size: 14px;
  justify-self: start;
}

.pv-total-v {
  white-space: nowrap;
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 36px);
  letter-spacing: -0.02em;
  color: #111;
  justify-self: end;
  text-align: right;
}

.pv-actions {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.pv-actions .cta {
  width: 100%;
  padding: 14px 14px;
  font-weight: 900;
  background: var(--pv-cta-bg);
  color: var(--color-text-inverse);
}

.pv-actions .cta:hover {
  filter: brightness(0.97);
}

.pv-actions .cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

.pv-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pv-actions-row > button {
  width: 100%;
  padding: 12px 12px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .product-view-layout {
    grid-template-columns: 1fr;
  }
  .product-page {
    grid-template-columns: 1fr;
  }
  .product-page-left img {
    height: 280px;
  }
  .product-page-right {
    position: static;
    top: auto;
  }
  .pv-grid {
    grid-template-columns: 1fr;
  }
}

form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.verify-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-weight: 900;
  font-size: 12px;
  width: fit-content;
}

input, select, textarea, button {
  font: inherit;
}

input, select, textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 4px var(--color-ring);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

button {
  border: 0;
  border-radius: var(--radius-md);
  padding: var(--spacing-12) var(--spacing-16);
  cursor: pointer;
}

button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--color-ring);
}

.primary {
  background: var(--color-button-cta);
  color: var(--color-text-inverse);
}

.cta {
  background: var(--color-button-cta);
  color: var(--color-text-inverse);
}

.secondary {
  background: var(--color-button-primary);
  color: var(--color-text-inverse);
}

.muted {
  background: var(--color-surface);
  color: var(--color-brand-primary);
  border: 1px solid var(--color-border);
}

#policiesFilterCarrierBtn,
#policiesFilterPlanGroupBtn,
#policiesFilterOpenTypeBtn,
#policiesFilterContractTypeBtn {
  background: #fff;
  color: #111;
  border: 1px solid #d7dbe6;
}

.status {
  font-size: 14px;
  line-height: 1.4;
}

.status.ok {
  color: #0f766e;
}

.status.err {
  color: #b91c1c;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e6e8ef;
  overflow: hidden;
}

#orderModal .modal-panel {
  max-width: 680px;
  max-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
}

#orderModal .modal-body {
  padding: 18px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
}

#salesDetailModal .modal-panel {
  max-width: 760px;
  max-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
}

#salesDetailModal .modal-body {
  padding: 14px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
}

.modal-head {
  padding: 14px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #eef0f6;
}

.modal-title {
  font-weight: 900;
  font-size: 16px;
  margin: 0;
}

.modal-close {
  background: #f3f4f6;
  border-radius: 10px;
  padding: 8px 10px;
}

.modal-body {
  padding: 14px;
}

.family-warn-text {
  display: grid;
  gap: 10px;
  padding: 2px 2px 12px;
}

.family-warn-line {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--color-text-primary);
}

.family-warn-line.is-strong {
  color: var(--color-red-500);
}

.order-owner-step {
  display: grid;
  gap: 30px;
}

.order-owner-title {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.order-owner-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.order-owner-btn {
  display: grid;
  gap: 6px;
  text-align: left;
  padding: 16px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.order-owner-btn .t {
  font-weight: 900;
  color: var(--color-text-primary);
  font-size: 15px;
}

.order-owner-btn .d {
  font-weight: 800;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.3;
}

.order-owner-btn:hover {
  border-color: rgba(0, 0, 0, 0.16);
}

.order-owner-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--color-ring);
}

.order-owner-note {
  font-size: 14px;
  font-weight: 900;
  color: var(--color-red-500);
  line-height: 1.3;
}

.order-profile-step {
  display: grid;
  gap: 18px;
}

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

.order-profile-subgroup {
  display: grid;
  gap: 8px;
}

#orderGuardianGroup {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 12px;
  background: rgba(248, 250, 252, 0.75);
}

.order-profile-label {
  font-size: 14px;
  font-weight: 900;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

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

.order-gender-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  font-weight: 900;
  font-size: 15px;
  color: var(--color-text-primary);
}

.order-gender-btn .ico {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.22);
  position: relative;
}

.order-gender-btn .ico.male {
  border-color: rgba(2, 132, 199, 0.55);
}

.order-gender-btn .ico.female {
  border-color: rgba(219, 39, 119, 0.55);
}

.order-gender-btn.is-on {
  border-color: var(--pv-accent-border);
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

.order-new-phone-row {
  display: grid;
  grid-template-columns: 1fr 14px 1fr 14px 1fr;
  align-items: center;
  gap: 0;
}

.order-existing-phone-row {
  display: grid;
  grid-template-columns: 1fr 14px 1fr 14px 1fr;
  align-items: center;
  gap: 0;
}

.order-rrn-row {
  display: grid;
  grid-template-columns: 1fr 14px 1fr;
  align-items: center;
  gap: 0;
}

.order-address-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.order-profile-step select {
  height: 44px;
}

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

.order-pay-method-btn {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 14px;
  font-weight: 900;
  color: rgba(30, 41, 59, 0.92);
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease, color 140ms ease;
}

.order-pay-method-btn.is-on {
  background: #fff;
  border-color: var(--pv-accent-border);
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
  color: var(--color-text-primary);
}

.order-address-btn {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(241, 245, 249, 0.85);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  font-size: 13px;
  color: rgba(30, 41, 59, 0.9);
  white-space: nowrap;
}

.order-phone-box {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.order-phone-dash {
  color: var(--color-text-muted);
  font-weight: 900;
  text-align: center;
}

#orderNewMid4 {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  text-align: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.order-existing-phone-row input {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  text-align: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-weight: 900;
  letter-spacing: 0.06em;
}

#orderRrnFront,
#orderRrnBackMasked {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  text-align: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-weight: 900;
  letter-spacing: 0.10em;
}

#orderAddressInput {
  height: 44px;
  box-sizing: border-box;
  font-weight: 800;
  color: var(--color-text-primary);
}

#orderAddressInput[readonly] {
  background: rgba(255, 255, 255, 0.92);
}

#orderBirthInput {
  font-weight: 900;
  letter-spacing: 0.06em;
}

.order-phone-box#orderNewRandomBox {
  color: var(--color-text-primary);
}

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

.order-notice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 10px;
  border-bottom: 1px solid #eef0f6;
}

.order-notice-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.order-notice-count {
  font-size: 13px;
  font-weight: 900;
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.order-notice-body {
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 14px;
  padding: 14px 14px;
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(99, 102, 241, 0.06) 0%, rgba(99, 102, 241, 0) 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(59, 130, 246, 0.04) 0%, rgba(59, 130, 246, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  max-height: 52vh;
  overflow: auto;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.order-notice-item {
  padding: 14px 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.order-notice-item + .order-notice-item {
  margin-top: 12px;
}

.order-notice-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.order-notice-no {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 13px;
  font-weight: 900;
  color: var(--color-text-primary);
  flex: 0 0 auto;
}

.order-notice-item-title {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.order-notice-item-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.notice-check-btn {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(241, 245, 249, 0.85);
  color: rgba(30, 41, 59, 0.82);
  font-weight: 900;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease, color 140ms ease;
}

.notice-check-btn.is-on {
  background: #fff;
  border-color: var(--pv-accent-border);
  color: var(--color-text-primary);
  box-shadow: 0 0 0 4px var(--pv-accent-ring);
}

.primary.is-disabled {
  background: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
}

.order-notice-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: rgba(30, 41, 59, 0.92);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.order-notice-list li::marker {
  color: var(--pv-accent-border);
}

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

.order-terms-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  padding: 4px 2px 10px;
  border-bottom: 1px solid #eef0f6;
}

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

.admin-body #detailBox.order-terms-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-body #detailBox.order-terms-summary .order-terms-section {
  min-width: 0;
}

.admin-body #detailBox.order-terms-summary .order-terms-section.wide {
  grid-column: 1 / -1;
}

@media (max-width: 860px) {
  .admin-body #detailBox.order-terms-summary {
    grid-template-columns: 1fr;
  }
}

.admin-body #detailBox.app-sheet {
  display: block;
}

.admin-body #detailBox.app-sheet .app-title {
  background: #ffffff;
  color: #000000;
  font-weight: 900;
  font-size: 22px;
  text-align: center;
  padding: 10px 12px;
  border: 1px solid #d7dce3;
}

.admin-body #detailBox.app-sheet .app-sec {
  margin-top: 10px;
}

.admin-body #detailBox.app-sheet .app-sec-title {
  background: #dbeafe;
  color: #000000;
  font-weight: 900;
  font-size: 14px;
  padding: 8px 10px;
  border: 1px solid #d7dce3;
}

.admin-body #detailBox.app-sheet .app-grid {
  border: 1px solid #d7dce3;
  border-top: 0;
}

.admin-body #detailBox.app-sheet .app-row {
  display: grid;
  grid-template-columns: 112px 1fr 112px 1fr;
}

.admin-body #detailBox.app-sheet .app-row-wide {
  grid-template-columns: 112px 1fr;
}

.admin-body #detailBox.app-sheet .app-l {
  background: #f5f8fc;
  font-weight: 900;
  font-size: 13px;
  color: #222222;
  padding: 7px 8px;
  border-top: 1px solid #d7dce3;
  border-right: 1px solid #d7dce3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.admin-body #detailBox.app-sheet .app-v {
  background: #ffffff;
  font-weight: 800;
  font-size: 13px;
  color: #222222;
  padding: 7px 8px;
  border-top: 1px solid #d7dce3;
  border-right: 1px solid #d7dce3;
  display: flex;
  align-items: center;
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-body #detailBox.app-sheet .app-row > .app-v:last-child {
  border-right: 0;
}

.admin-body #detailBox.app-sheet .app-row-wide > .app-v {
  border-right: 0;
}

.admin-body #detailBox.app-sheet .app-secret {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.admin-body #detailBox.app-sheet .app-secret .t {
  flex: 1 1 auto;
}

.admin-body #detailBox.app-sheet .app-secret .b {
  flex: 0 0 auto;
}

.admin-memo-history {
  display: grid;
  gap: 10px;
}

.admin-memo-item {
  border: 1px solid #e6e8ef;
  border-radius: 12px;
  padding: 10px 12px;
  background: #ffffff;
}

.admin-memo-item .h {
  font-size: 13px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 6px;
}

.admin-memo-item .b {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  white-space: pre-wrap;
  word-break: break-word;
}

.order-terms-section {
  display: grid;
  gap: 8px;
}

.order-terms-section-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
  padding: 0 2px;
}

.order-terms-card {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 12px 12px 12px 14px;
  display: grid;
  gap: 8px;
}

.order-terms-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--pv-accent-border);
  opacity: 0.55;
  border-radius: 0;
}

.order-terms-kv {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 4px;
  padding: 6px 0;
}

.order-terms-kv + .order-terms-kv {
  border-top: 1px dashed rgba(148, 163, 184, 0.28);
}

.order-terms-kv .k {
  font-size: 12px;
  font-weight: 900;
  color: rgba(51, 65, 85, 0.78);
  letter-spacing: -0.01em;
}

.order-terms-kv .v {
  font-size: 14px;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.92);
  text-align: left;
  word-break: break-word;
}

.order-terms-kv .v.is-neg {
  color: var(--color-red-500);
}

.order-terms-checks {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 12px 12px;
  display: grid;
  gap: 10px;
}

.order-terms-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
  color: var(--color-text-primary);
}

.order-terms-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.order-terms-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-terms-view {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(241, 245, 249, 0.85);
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 900;
  font-size: 13px;
  color: rgba(30, 41, 59, 0.9);
  white-space: nowrap;
}

.order-terms-terms {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.order-terms-terms-title {
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.order-terms-terms-text {
  color: rgba(30, 41, 59, 0.9);
  font-size: 13px;
  line-height: 1.75;
  display: grid;
  gap: 6px;
  max-height: 38vh;
  overflow: auto;
}

.order-terms-terms-sub {
  font-weight: 900;
  color: var(--color-text-primary);
  margin-top: 6px;
}

.order-finish-step {
  display: grid;
  gap: 14px;
  text-align: center;
}

.order-finish-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.order-finish-desc {
  font-size: 14px;
  font-weight: 800;
  color: rgba(30, 41, 59, 0.9);
  line-height: 1.55;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.order-finish-actions {
  justify-content: stretch;
}

.order-finish-actions > * {
  flex: 1 1 0;
}

@media (max-width: 640px) {
  .order-gender-options {
    grid-template-columns: 1fr;
  }
  .row2 {
    grid-template-columns: 1fr;
  }
  .hero-slide img {
    height: 280px;
  }
  .grid.best {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid.products {
    grid-template-columns: repeat(2, 1fr);
  }
  .carousel-track {
    gap: 12px;
  }
  .carousel-track > .product-card {
    flex: 0 0 calc((100% - 12px) / 2);
  }
  .carousel-btn.prev {
    left: 6px;
  }
  .carousel-btn.next {
    right: 6px;
  }
  .carousel::before,
  .carousel::after {
    display: none;
  }
}

@media (max-width: 980px) {
  .grid.products {
    grid-template-columns: repeat(3, 1fr);
  }
  .carousel-track > .product-card {
    flex: 0 0 calc((100% - 32px) / 3);
  }
  .carousel-btn.prev {
    left: -44px;
  }
  .carousel-btn.next {
    right: -44px;
  }
  .carousel::before {
    left: -56px;
    width: 56px;
  }
  .carousel::after {
    right: -56px;
    width: 56px;
  }
}

@media (max-width: 1120px) {
  .grid.best {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid.products {
    grid-template-columns: repeat(4, 1fr);
  }
  .carousel-track > .product-card {
    flex: 0 0 calc((100% - 48px) / 4);
  }
}
