@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/wp-content/themes/twentytwentyfive/assets/fonts/manrope/Manrope-VariableFont_wght.woff2") format("woff2");
}

:root {
  --bg: #f5f7fa;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.9);
  --surface-muted: #f8fafc;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.16);
  --ink: #0f172a;
  --muted: #64748b;
  --accent: #da3d2a;
  --accent-strong: #c9311e;
  --accent-soft: #fff0ec;
  --navy: #111827;
  --shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  --shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.04);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  padding: 0;
}

button,
input,
textarea {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.page-shell {
  width: min(100%, 1060px);
  margin: 0 auto;
  padding: 24px 14px 48px;
}

.page-shell.page-compact {
  width: min(100%, 760px);
}

.site-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}

.logo-link,
.logo-wrap {
  display: block;
  width: min(100%, 320px);
  margin: 0 auto;
}

.site-logo {
  width: 100%;
  height: auto;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 10px;
}

.scroll-links {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-links::-webkit-scrollbar {
  display: none;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-link,
.nav-button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover,
.nav-button:hover {
  color: var(--ink);
}

.nav-link.is-active,
.nav-button.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.count-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.notice-card {
  padding: 14px 0 16px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.notice-card.error {
  color: #b03525;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 14px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 2px;
}

.product-name {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  min-height: calc(13px * 1.4 * 2);
  word-break: keep-all;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-price {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.product-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qty-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}

.qty-value {
  min-width: 36px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.add-cart-btn,
.primary-btn,
.secondary-btn,
.ghost-btn {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.add-cart-btn,
.primary-btn {
  width: 100%;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.add-cart-btn:hover,
.primary-btn:hover {
  transform: translateY(-1px);
  background: #0b1220;
}

.secondary-btn {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 800;
}

.secondary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
}

.ghost-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 18px;
}

.section-stack {
  display: grid;
  gap: 16px;
}

.section-card {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.section-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.section-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 700;
}

.cart-list,
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
}

.cart-thumb-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f5f8 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

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

.cart-details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-name {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: -0.03em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.cart-meta,
.cart-actions,
.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.cart-subtotal {
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
}

.remove-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.bank-notice {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(218, 61, 42, 0.12);
  color: #7c2d12;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.bank-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(218, 61, 42, 0.16);
  color: #9f2d1f;
  font-size: 13px;
  font-weight: 900;
}

.total-row {
  font-size: 16px;
  font-weight: 800;
}

.total-row strong {
  font-size: 24px;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.shipping-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  outline: 0;
}

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

.field input:focus,
.field textarea:focus {
  border-color: rgba(218, 61, 42, 0.3);
  box-shadow: 0 0 0 3px rgba(218, 61, 42, 0.08);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.order-card {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-soft);
}

.order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.order-id {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.order-date {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.order-total {
  margin-top: 12px;
  font-size: 19px;
  color: var(--accent);
  font-weight: 900;
}

.order-items {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.order-shipping {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
}

.order-shipping strong {
  font-size: 12px;
  color: var(--muted);
  font-weight: 900;
}

.empty-state {
  padding: 26px 20px;
  border: 1px dashed rgba(15, 23, 42, 0.14);
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 50;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

@media (max-width: 720px) {
  .page-shell,
  .page-shell.page-compact {
    padding: 22px 12px 42px;
  }

  .toolbar {
    gap: 8px;
  }

  .scroll-links {
    gap: 12px;
  }

  .utility-links {
    gap: 8px;
  }

  .nav-link,
  .nav-button {
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .products-grid {
    gap: 20px 10px;
  }

  .product-name {
    font-size: 12px;
    min-height: calc(12px * 1.4 * 2);
  }

  .cart-item {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .nav-link,
  .nav-button {
    font-size: 13px;
  }

  .products-grid {
    gap: 18px 8px;
  }

  .qty-btn {
    width: 30px;
    height: 32px;
  }

  .qty-value {
    min-width: 30px;
    font-size: 12px;
  }

  .add-cart-btn,
  .primary-btn,
  .secondary-btn,
  .ghost-btn {
    min-height: 40px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-link,
  .nav-button,
  .add-cart-btn,
  .primary-btn,
  .secondary-btn,
  .ghost-btn,
  .toast {
    transition: none;
  }
}
.site-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-business,
.footer-credit {
  display: grid;
  gap: 8px;
}

.footer-credit {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-line,
.footer-credit p {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.footer-line strong {
  color: var(--ink);
  font-weight: 800;
  margin-right: 6px;
}

.footer-line span {
  margin-right: 14px;
}

@media (max-width: 560px) {
  .site-footer {
    margin-top: 28px;
    padding-top: 18px;
  }

  .footer-line,
  .footer-credit p {
    font-size: 11px;
    line-height: 1.8;
  }

  .footer-line span,
  .footer-line strong {
    margin-right: 8px;
  }
}
.footer-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link:hover {
  color: var(--accent);
}
.load-more-btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
  cursor: pointer;
  padding: 8px 0;
}

.load-more-btn:hover {
  color: var(--accent);
}

@media (max-width: 420px) {
  .load-more-btn {
    font-size: 17px;
  }
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: start;
}

.cart-panel {
  min-width: 0;
}

.cart-summary-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.cart-total-row {
  margin-top: 0;
}

.cart-total-row strong {
  font-size: 34px;
}

.shipping-form-visible {
  margin-top: 0;
}

.action-row-block {
  margin-top: 16px;
}

.primary-btn-wide {
  width: 100%;
  min-height: 48px;
  font-size: 15px;
}

@media (max-width: 860px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-total-row strong {
    font-size: 28px;
  }
}
.bank-notice-compact {
  margin-top: 0;
}

.address-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.address-search-btn {
  min-width: 102px;
}

.shipping-form-plain {
  margin-top: 0;
}

.shipping-form-plain .field {
  display: none;
}

.shipping-form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: #fff;
  outline: 0;
  font-size: 15px;
  line-height: 1.4;
}

.shipping-form-input:focus {
  border-color: rgba(218, 61, 42, 0.3);
  box-shadow: 0 0 0 3px rgba(218, 61, 42, 0.08);
}

.shipping-form-input[readonly] {
  cursor: pointer;
}

.shipping-form-textarea {
  min-height: 96px;
  resize: vertical;
}

.complete-card {
  display: grid;
  gap: 16px;
}

.complete-copy {
  display: grid;
  gap: 10px;
}

.complete-line {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 800;
}

.complete-line strong {
  color: var(--ink);
  font-size: 19px;
}

.complete-notice {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(218, 61, 42, 0.12);
  color: #7c2d12;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 800;
}

.complete-notice p {
  margin: 0;
}

.complete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.complete-link-btn {
  justify-content: center;
  display: inline-flex;
  align-items: center;
  min-width: 160px;
}

@media (max-width: 860px) {
  .address-search-row {
    grid-template-columns: 1fr;
  }

  .address-search-btn,
  .complete-link-btn {
    width: 100%;
  }
}