/* ========== FIGMA DESIGN TOKENS ========== */
:root {
  /* Colors */
  --color-primary: #5835f0;
  --color-primary-dark: #4a2dd4;
  --color-black: #000000;
  --color-text-dark: #131313;
  --color-text-gray: #525252; /* WCAG AA 대비 개선 */
  --color-text-light: #737373; /* WCAG AA 대비 개선 */
  --color-bg-light: #f2f2f2;
  --color-bg-lighter: #f8f8f8;
  --color-white: #ffffff;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  /* Font sizes */
  --font-10: 10px;
  --font-12: 12px;
  --font-14: 14px;
  --font-16: 16px;
  --font-18: 18px;
  --font-20: 20px;
  --font-24: 24px;
  --font-32: 32px;
  --font-40: 40px;

  /* Spacing */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
}

/* ========== RESET ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff !important;
  color: var(--color-text-dark);
  line-height: 1.5;
  min-height: 100vh;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  border: none;
  outline: none;
}

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

ul, ol {
  list-style: none;
}

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

/* ========== ACCESSIBILITY ========== */

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 12px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Focus Styles */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Screen Reader Only */
.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;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== APP CONTAINER ========== */
#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ========== HEADER ========== */
.header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-24);
  border-bottom: 1px solid var(--color-bg-light);
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__logo {
  font-size: var(--font-20);
  font-weight: 700;
  color: var(--color-primary);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.header__nav-item {
  font-size: var(--font-14);
  font-weight: 500;
  color: var(--color-text-gray);
  cursor: pointer;
  transition: color 0.2s;
}

.header__nav-item:hover,
.header__nav-item.active {
  color: var(--color-primary);
}

.header__user {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-light);
}

.header__user-info {
  display: flex;
  flex-direction: column;
}

.header__user-name {
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-text-dark);
}

.header__user-level {
  font-size: var(--font-12);
  color: var(--color-primary);
}

/* ========== MAIN CONTENT ========== */
.main {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-32);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-12) var(--space-24);
  font-size: var(--font-14);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
}

.btn--secondary {
  background: var(--color-bg-light);
  color: var(--color-text-dark);
}

.btn--secondary:hover {
  background: #e5e5e5;
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--full {
  width: 100%;
}

.btn--lg {
  height: 56px;
  font-size: var(--font-16);
}

/* ========== INPUTS ========== */
.input {
  width: 100%;
  padding: var(--space-16);
  font-size: var(--font-16);
  border: 1px solid var(--color-bg-light);
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: border-color 0.2s;
}

.input:focus {
  border-color: var(--color-primary);
}

.input--error {
  border-color: var(--color-error);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.input-label {
  font-size: var(--font-14);
  font-weight: 500;
  color: var(--color-text-dark);
}

.input-helper {
  font-size: var(--font-12);
  color: var(--color-text-gray);
}

.input-error {
  font-size: var(--font-12);
  color: var(--color-error);
}

/* ========== CARDS ========== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-bg-light);
  overflow: hidden;
}

.card--hover:hover {
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.card__image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--color-bg-light);
  object-fit: cover;
}

.card__content {
  padding: var(--space-16);
}

.card__title {
  font-size: var(--font-16);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-8);
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--font-12);
  color: var(--color-text-gray);
}

.card__price {
  font-size: var(--font-18);
  font-weight: 700;
  color: var(--color-primary);
}

/* ========== PRODUCT GRID ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-24);
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== PRODUCT DETAIL ========== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-48);
}

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

.product-detail__gallery {
  position: sticky;
  top: 96px;
}

.product-detail__main-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-16);
  overflow: hidden;
}

.product-detail__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__thumbnails {
  display: flex;
  gap: var(--space-12);
}

.product-detail__thumbnail {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.product-detail__thumbnail:hover,
.product-detail__thumbnail.active {
  border-color: var(--color-primary);
}

.product-detail__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.product-detail__creator {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-16);
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
}

.product-detail__creator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
}

.product-detail__creator-info {
  flex: 1;
}

.product-detail__creator-name {
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-text-dark);
}

.product-detail__creator-level {
  font-size: var(--font-12);
  color: var(--color-primary);
}

.product-detail__title {
  font-size: var(--font-24);
  font-weight: 700;
  color: var(--color-text-dark);
}

.product-detail__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
}

.product-detail__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.product-detail__stat-label {
  font-size: var(--font-12);
  color: var(--color-text-gray);
}

.product-detail__stat-value {
  font-size: var(--font-20);
  font-weight: 700;
  color: var(--color-text-dark);
}

.product-detail__stat-value--primary {
  color: var(--color-primary);
}

.product-detail__actions {
  display: flex;
  gap: var(--space-12);
}

/* ========== TABS ========== */
.tabs {
  display: flex;
  gap: var(--space-8);
  padding: var(--space-8);
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
}

.tab {
  flex: 1;
  padding: var(--space-12) var(--space-16);
  font-size: var(--font-14);
  font-weight: 500;
  color: var(--color-text-gray);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-align: center;
}

.tab:hover {
  color: var(--color-text-dark);
}

.tab.active {
  background: var(--color-white);
  color: var(--color-text-dark);
  font-weight: 600;
}

.tab-content {
  display: none;
  padding: var(--space-24) 0;
}

.tab-content.active {
  display: block;
}

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-20) var(--space-24);
  border-bottom: 1px solid var(--color-bg-light);
}

.modal__title {
  font-size: var(--font-18);
  font-weight: 700;
  color: var(--color-text-dark);
}

.modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text-gray);
  transition: background 0.2s;
}

.modal__close:hover {
  background: var(--color-bg-light);
}

.modal__body {
  padding: var(--space-24);
  overflow-y: auto;
  max-height: calc(90vh - 140px);
}

.modal__footer {
  display: flex;
  gap: var(--space-12);
  padding: var(--space-20) var(--space-24);
  border-top: 1px solid var(--color-bg-light);
}

/* ========== BID MODAL (Figma: 1-modal가격만제시) ========== */
.bid-modal__product {
  display: flex;
  gap: var(--space-16);
  padding: var(--space-16);
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-24);
}

.bid-modal__product-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
}

.bid-modal__product-info {
  flex: 1;
}

.bid-modal__product-title {
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-4);
}

.bid-modal__product-price {
  font-size: var(--font-12);
  color: var(--color-text-gray);
}

.bid-modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.bid-modal__input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.bid-modal__summary {
  padding: var(--space-16);
  background: var(--color-bg-lighter);
  border-radius: var(--radius-md);
}

.bid-modal__summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-8) 0;
}

.bid-modal__summary-label {
  font-size: var(--font-14);
  color: var(--color-text-gray);
}

.bid-modal__summary-value {
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-text-dark);
}

.bid-modal__summary-total {
  border-top: 1px solid var(--color-bg-light);
  margin-top: var(--space-8);
  padding-top: var(--space-12);
}

.bid-modal__summary-total .bid-modal__summary-value {
  font-size: var(--font-18);
  color: var(--color-primary);
}

/* ========== TERMS MODAL (Figma: 1-modal2결제동의) ========== */
.terms-modal__content {
  max-height: 300px;
  overflow-y: auto;
  padding: var(--space-16);
  background: var(--color-bg-lighter);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-20);
}

.terms-modal__section {
  margin-bottom: var(--space-16);
}

.terms-modal__section:last-child {
  margin-bottom: 0;
}

.terms-modal__section-title {
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-8);
}

.terms-modal__section-text {
  font-size: var(--font-14);
  color: var(--color-text-gray);
  line-height: 1.6;
}

.terms-modal__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  padding: var(--space-16);
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
}

.terms-modal__checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-primary);
}

.terms-modal__checkbox-label {
  font-size: var(--font-14);
  color: var(--color-text-dark);
  line-height: 1.5;
}

/* ========== SUCCESS MODAL (Figma: 2-입찰가격제시완료Default) ========== */
.success-modal {
  text-align: center;
}

.success-modal__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-24);
  background: #ecfdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-modal__icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-success);
}

.success-modal__title {
  font-size: var(--font-20);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-8);
}

.success-modal__message {
  font-size: var(--font-14);
  color: var(--color-text-gray);
  margin-bottom: var(--space-24);
}

.success-modal__summary {
  padding: var(--space-20);
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-24);
}

.success-modal__summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-8) 0;
}

.success-modal__notification {
  padding: var(--space-16);
  background: var(--color-bg-lighter);
  border-radius: var(--radius-md);
}

.success-modal__notification-title {
  font-size: var(--font-14);
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: var(--space-12);
}

.success-modal__notification-buttons {
  display: flex;
  gap: var(--space-8);
}

/* ========== SELLER PAGES ========== */
.seller-dashboard {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.seller-dashboard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-16);
}

.seller-dashboard__actions {
  display: flex;
  gap: var(--space-12);
}

.seller-dashboard__title {
  font-size: var(--font-24);
  font-weight: 700;
  color: var(--color-text-dark);
}

.seller-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-16);
}

.seller-stat {
  padding: var(--space-24);
  background: var(--color-white);
  border: 1px solid var(--color-bg-light);
  border-radius: var(--radius-lg);
}

.seller-stat__label {
  font-size: var(--font-12);
  color: var(--color-text-gray);
  margin-bottom: var(--space-8);
}

.seller-stat__value {
  font-size: var(--font-32);
  font-weight: 700;
  color: var(--color-text-dark);
}

.seller-stat__change {
  font-size: var(--font-12);
  color: var(--color-success);
  margin-top: var(--space-4);
}

/* ========== AUCTION MANAGEMENT (Figma: 3-판매자물품경매진행) ========== */
.auction-manage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32);
}

@media (max-width: 900px) {
  .auction-manage {
    grid-template-columns: 1fr;
  }
}

.auction-manage__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.auction-manage__product {
  display: flex;
  gap: var(--space-16);
  padding: var(--space-20);
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
}

.auction-manage__product-image {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.auction-manage__product-info {
  flex: 1;
}

.auction-manage__product-title {
  font-size: var(--font-18);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-8);
}

.auction-manage__product-status {
  display: inline-flex;
  padding: var(--space-4) var(--space-12);
  background: #ecfdf5;
  color: var(--color-success);
  font-size: var(--font-12);
  font-weight: 600;
  border-radius: var(--radius-full);
}

.auction-manage__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
}

.auction-manage__stat {
  padding: var(--space-20);
  background: var(--color-white);
  border: 1px solid var(--color-bg-light);
  border-radius: var(--radius-md);
}

.auction-manage__stat-label {
  font-size: var(--font-12);
  color: var(--color-text-gray);
  margin-bottom: var(--space-8);
}

.auction-manage__stat-value {
  font-size: var(--font-24);
  font-weight: 700;
  color: var(--color-text-dark);
}

.auction-manage__actions {
  display: flex;
  gap: var(--space-12);
}

.auction-manage__bids {
  padding: var(--space-24);
  background: var(--color-white);
  border: 1px solid var(--color-bg-light);
  border-radius: var(--radius-lg);
}

.auction-manage__bids-title {
  font-size: var(--font-16);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-16);
}

.bid-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.bid-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-12);
  background: var(--color-bg-lighter);
  border-radius: var(--radius-sm);
}

.bid-item__user {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.bid-item__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-light);
}

.bid-item__name {
  font-size: var(--font-14);
  font-weight: 500;
  color: var(--color-text-dark);
}

.bid-item__amount {
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-primary);
}

/* ========== AUTH PAGE ========== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: var(--space-24);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.auth-card__header {
  padding: var(--space-32);
  text-align: center;
}

.auth-card__logo {
  font-size: var(--font-32);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-8);
}

.auth-card__subtitle {
  font-size: var(--font-14);
  color: var(--color-text-gray);
}

.auth-card__body {
  padding: 0 var(--space-32) var(--space-32);
}

.auth-card__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.auth-card__footer {
  text-align: center;
  padding-top: var(--space-16);
  font-size: var(--font-14);
  color: var(--color-text-gray);
}

.auth-card__footer a {
  color: var(--color-primary);
  font-weight: 600;
}

/* ========== MYPAGE ========== */
.mypage {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-32);
}

@media (max-width: 900px) {
  .mypage {
    grid-template-columns: 1fr;
  }
}

.mypage__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.mypage__nav-item {
  padding: var(--space-12) var(--space-16);
  font-size: var(--font-14);
  color: var(--color-text-gray);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.mypage__nav-item:hover {
  background: var(--color-bg-light);
  color: var(--color-text-dark);
}

.mypage__nav-item.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.mypage__content {
  min-height: 400px;
}

.mypage__section-title {
  font-size: var(--font-20);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-24);
}

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: var(--space-48);
}

.empty-state__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-16);
  background: var(--color-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-gray);
}

.empty-state__title {
  font-size: var(--font-16);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-8);
}

.empty-state__message {
  font-size: var(--font-14);
  color: var(--color-text-gray);
}

/* ========== UTILITIES ========== */
.text-primary { color: var(--color-primary); }
.text-gray { color: var(--color-text-gray); }
.text-success { color: var(--color-success); }
.text-error { color: var(--color-error); }

.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

.mt-8 { margin-top: var(--space-8); }
.mt-16 { margin-top: var(--space-16); }
.mt-24 { margin-top: var(--space-24); }
.mt-32 { margin-top: var(--space-32); }

.mb-8 { margin-bottom: var(--space-8); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-24 { margin-bottom: var(--space-24); }
.mb-32 { margin-bottom: var(--space-32); }

.hidden { display: none !important; }

/* ========== FIGMA MOBILE STYLES ========== */

/* Mobile Page Layout */
.page--mobile {
  max-width: 375px;
  margin: 0 auto;
  background: var(--color-white);
  min-height: 100vh;
  position: relative;
  padding-bottom: 70px;
}

.main--mobile {
  padding: 0;
  max-width: 100%;
}

/* Mobile Header (Figma style) */
.mobile-header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #f2f2f2;
}

.mobile-header__left {
  flex: 0 0 auto;
}

.mobile-header__center {
  flex: 1;
  text-align: center;
}

.mobile-header__logo {
  font-size: 20px;
  font-weight: 700;
  color: #5836f1;
}

.mobile-header__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-header__user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 11px;
}

.mobile-header__username {
  color: #5836f1;
  font-weight: 600;
}

.mobile-header__level {
  color: #999;
  font-size: 10px;
}

.mobile-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
}

.mobile-header__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-header__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}

.mobile-header__icon:hover {
  background: #f2f2f2;
}

/* Mobile Bottom Navigation (Figma style) */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 375px;
  max-width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--color-white);
  border-top: 1px solid #f2f2f2;
  z-index: 100;
}

.mobile-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: #999;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
}

.mobile-nav__item.active {
  color: #5836f1;
}

.mobile-nav__item svg {
  width: 24px;
  height: 24px;
}

/* Home Banner */
.home-banner {
  background: linear-gradient(135deg, #5836f1 0%, #8b5cf6 100%);
  padding: 24px 16px;
  margin: 16px 16px 24px;
  border-radius: 16px;
}

.home-banner__content {
  color: white;
}

.home-banner__badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.home-banner__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.home-banner__desc {
  font-size: 14px;
  opacity: 0.9;
}

/* Home Section */
.home-section {
  margin-bottom: 24px;
}

.home-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  margin-bottom: 12px;
}

.home-section__title {
  font-size: 18px;
  font-weight: 700;
  color: #131313;
}

.home-section__more {
  font-size: 14px;
  color: #5836f1;
  background: none;
  cursor: pointer;
}

/* Home Products Grid */
.home-products {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px;
}

.home-products--horizontal {
  flex-direction: row;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.home-products--horizontal::-webkit-scrollbar {
  display: none;
}

/* Large Products (New Arrivals) */
.home-products--large {
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.home-products--large::-webkit-scrollbar {
  display: none;
}

.home-section__header--center {
  justify-content: center;
  position: relative;
}

.home-section__header--center .home-section__title {
  text-align: center;
}

.home-section__nav {
  position: absolute;
  right: 0;
  display: flex;
  gap: 8px;
}

.home-section__arrow {
  width: 32px;
  height: 32px;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  color: #666;
}

.product-card-large {
  flex: 1;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.product-card-large__image {
  width: 100%;
  aspect-ratio: 1;
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
}

.product-card-large__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-large__info {
  padding: 12px 4px;
}

.product-card-large__creator {
  font-size: 11px;
  color: #999;
  margin-bottom: 4px;
}

.product-card-large__title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-large__meta {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.product-card-large__badge {
  font-size: 10px;
  padding: 3px 8px;
  background: #5836f1;
  color: #fff;
  border-radius: 4px;
}

.product-card-large__date {
  font-size: 10px;
  padding: 3px 8px;
  background: #f0f0f0;
  color: #666;
  border-radius: 4px;
}

.product-card-large__stats {
  display: flex;
  justify-content: space-between;
}

.product-card-large__price {
  font-size: 14px;
  font-weight: 700;
  color: #5836f1;
}

.product-card-large__participants {
  font-size: 12px;
  color: #999;
}

.home-products__add {
  flex: 1;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 32px;
  color: #bbb;
  background: #fafafa;
  transition: all 0.2s;
}

.home-products__add:hover {
  border-color: #5835f0;
  color: #5835f0;
  background: #f5f3ff;
}

/* Mobile Product Card (Figma style) */
.product-card-mobile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--color-white);
  border: 1px solid #f2f2f2;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: box-shadow 0.2s;
  width: 140px;
  flex-shrink: 0;
}

.product-card-mobile:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-card-mobile__image {
  width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f2f2f2;
}

.product-card-mobile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-mobile__badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 4px 8px;
  background: #10b981;
  color: white;
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
}

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

.product-card-mobile__creator {
  font-size: 10px;
  color: #999;
}

.product-card-mobile__title {
  font-size: 12px;
  font-weight: 600;
  color: #131313;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-mobile__stats {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}

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

.product-card-mobile__stat-label {
  font-size: 9px;
  color: #999;
}

.product-card-mobile__stat-value {
  font-size: 11px;
  font-weight: 600;
  color: #5836f1;
}

.product-card-mobile__stat:last-child .product-card-mobile__stat-value {
  color: #666;
}

/* Small Product Card (horizontal scroll) */
.product-card-small {
  flex-shrink: 0;
  width: 140px;
  scroll-snap-align: start;
  cursor: pointer;
}

.product-card-small__image {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  position: relative;
  background: #f2f2f2;
  margin-bottom: 8px;
}

.product-card-small__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-small__timer {
  position: absolute;
  bottom: 6px;
  right: 6px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
}

.product-card-small__title {
  font-size: 13px;
  font-weight: 500;
  color: #131313;
  margin-bottom: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-small__price {
  font-size: 14px;
  font-weight: 700;
  color: #5836f1;
}

/* Side Menu (Figma: sidemenu) */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--color-white);
  z-index: 1001;
  transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

.side-menu.open {
  right: 0;
}

.side-menu__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.side-menu__overlay.open {
  opacity: 1;
  visibility: visible;
}

.side-menu__header {
  padding: 20px 16px;
  border-bottom: 1px solid #f2f2f2;
}

.side-menu__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-menu__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f2f2f2;
}

.side-menu__user-name {
  font-size: 16px;
  font-weight: 600;
  color: #131313;
}

.side-menu__user-level {
  font-size: 12px;
  color: #5836f1;
}

.side-menu__nav {
  padding: 16px 0;
}

.side-menu__nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 15px;
  color: #131313;
  cursor: pointer;
  transition: background 0.2s;
}

.side-menu__nav-item:hover {
  background: #f8f8f8;
}

.side-menu__nav-item svg {
  width: 20px;
  height: 20px;
  color: #606060;
}

/* ========== PRODUCT DETAIL PAGE (Figma Style) ========== */

/* Detail Header */
.detail-header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.detail-header__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  cursor: pointer;
}

.detail-header__actions {
  display: flex;
  gap: 8px;
}

.detail-header__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  cursor: pointer;
}

/* Detail Main */
.detail-main {
  padding-bottom: 80px;
}

/* Detail Gallery (Swiper) */
.detail-gallery {
  background: #f2f2f2;
}

.detail-swiper {
  width: 100%;
  aspect-ratio: 1;
}

.detail-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-swiper .swiper-pagination {
  bottom: 16px;
}

.detail-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
}

.detail-swiper .swiper-pagination-bullet-active {
  background: #fff;
}

.detail-gallery__thumbs.swiper {
  padding: 12px 16px;
}

.detail-gallery__thumbs .swiper-wrapper {
  display: flex;
  gap: 8px;
}

.detail-gallery__thumb {
  width: 60px !important;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.detail-gallery__thumb.active,
.detail-gallery__thumb.swiper-slide-thumb-active {
  border-color: #5836f1;
}

.detail-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Home Horizontal Swiper */
.home-swiper {
  padding: 0 16px 8px;
  overflow: visible;
}

.home-swiper .swiper-slide {
  width: auto;
}

.home-swiper .product-card-small {
  width: 140px;
}

/* Detail Content */
.detail-content {
  padding: 20px 16px;
}

/* Detail Seller */
.detail-seller {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f2f2f2;
  border-radius: 12px;
  margin-bottom: 16px;
}

.detail-seller__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
}

.detail-seller__info {
  flex: 1;
}

.detail-seller__name {
  font-size: 14px;
  font-weight: 600;
  color: #131313;
}

.detail-seller__level {
  font-size: 12px;
  color: #5836f1;
}

.detail-seller__follow {
  padding: 8px 16px;
  background: #5836f1;
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
}

/* Detail Title */
.detail-title {
  font-size: 20px;
  font-weight: 700;
  color: #131313;
  margin-bottom: 8px;
}

.detail-desc {
  font-size: 14px;
  color: #606060;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Detail Bid Info */
.detail-bid-info {
  padding: 16px;
  background: #f8f8f8;
  border-radius: 12px;
  margin-bottom: 20px;
}

.detail-bid-info__row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
}

.detail-bid-info__row:last-child {
  border-bottom: none;
}

.detail-bid-info__label {
  font-size: 14px;
  color: #606060;
}

.detail-bid-info__value {
  font-size: 14px;
  font-weight: 600;
  color: #131313;
}

.detail-bid-info__value--primary {
  color: #5836f1;
  font-size: 18px;
  font-weight: 700;
}

/* Detail Tabs */
.detail-tabs {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: #f2f2f2;
  border-radius: 12px;
  margin-bottom: 20px;
}

.detail-tabs__item {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #606060;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}

.detail-tabs__item.active {
  background: #fff;
  color: #131313;
  font-weight: 600;
}

/* Detail Tab Content */
.detail-tab-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Detail Specs */
.detail-specs {
  padding: 16px;
  background: #f8f8f8;
  border-radius: 12px;
}

.detail-specs__title {
  font-size: 14px;
  font-weight: 600;
  color: #131313;
  margin-bottom: 12px;
}

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

.detail-specs__item {
  font-size: 14px;
  color: #606060;
}

.detail-specs__label {
  font-weight: 500;
  color: #131313;
}

/* Detail Funding Info */
.detail-funding-info {
  padding: 16px;
  background: #fff5f5;
  border-radius: 12px;
  border: 1px solid #ffecec;
}

.detail-funding-info__title {
  font-size: 14px;
  font-weight: 600;
  color: #131313;
  margin-bottom: 12px;
}

.detail-funding-info__text {
  font-size: 13px;
  color: #606060;
  line-height: 1.7;
}

/* Detail Actions (Fixed Bottom) */
.detail-actions {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 375px;
  max-width: 100%;
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid #f2f2f2;
  z-index: 100;
}

.detail-actions__secondary {
  flex: 1;
  height: 52px;
  background: #f2f2f2;
  color: #606060;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
}

.detail-actions__primary {
  flex: 2;
  height: 52px;
  background: #5836f1;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
}

.detail-actions__primary:hover {
  background: #4a2dd4;
}

/* ========== DESKTOP RESPONSIVE - Figma 1:1 ========== */

/* 태블릿+ (768px 이상) */
@media (min-width: 768px) {
  .page--mobile {
    max-width: 100%;
    padding-bottom: 0;
  }

  .mobile-nav {
    display: none;
  }

  .main--mobile {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  /* 히어로 - 전체 너비 유지 */
  .hero-figma {
    width: 100%;
    min-height: 360px;
  }

  /* 검색바 */
  .search-bar-figma {
    max-width: 700px;
    margin: 20px auto;
  }

  /* 섹션 공통 */
  .home-section {
    padding: 0 5%;
    margin-bottom: 32px;
  }

  /* New Arrivals - 가로 플렉스 유지 */
  .home-products--large {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 20px;
    overflow: visible;
  }

  .home-products--large .product-card-large {
    flex: 1;
    min-width: 0;
  }

  .home-products__add {
    display: flex;
    flex: 0 0 80px;
    height: auto;
    min-height: 200px;
  }

  /* 프로모 배너 */
  .promo-banner-figma {
    padding: 0 5%;
    margin-bottom: 32px;
  }

  /* 한정 상품 */
  .limited-section {
    padding: 0 5%;
    margin-bottom: 32px;
  }

  .limited-section__row {
    display: flex;
    gap: 20px;
  }

  .limited-card--large,
  .limited-card--small {
    flex: 1;
  }

  /* 투표 섹션 */
  .vote-section-figma {
    padding: 0 5%;
    margin-bottom: 32px;
  }

  .vote-section-figma__content {
    display: flex;
    gap: 32px;
  }

  .vote-section-figma__left,
  .vote-section-figma__right {
    flex: 1;
  }

  /* 푸터 */
  .footer-figma {
    width: 100%;
  }

  .footer-figma__inner {
    padding: 40px 5%;
  }
}

/* 데스크톱 (1024px+) */
@media (min-width: 1024px) {
  .hero-figma {
    min-height: 420px;
  }

  .hero-figma__title {
    font-size: 38px;
  }

  .home-section,
  .promo-banner-figma,
  .limited-section,
  .vote-section-figma {
    padding: 0 8%;
    margin-bottom: 48px;
  }

  .home-section__title {
    font-size: 22px;
  }

  .home-products--large {
    gap: 24px;
  }

  .home-products__add {
    flex: 0 0 100px;
    min-height: 280px;
  }
}

/* 대형 데스크톱 (1400px+) */
@media (min-width: 1400px) {
  .hero-figma {
    min-height: 480px;
  }

  .hero-figma__title {
    font-size: 44px;
  }

  .home-section,
  .promo-banner-figma,
  .limited-section,
  .vote-section-figma,
  .footer-figma__inner {
    padding: 0 10%;
  }
}

/* 초대형 (1920px) - Figma 원본: 좌우 436px 패딩 */
@media (min-width: 1920px) {
  .hero-figma {
    min-height: 540px;
  }

  .hero-figma__title {
    font-size: 52px;
  }

  /* Figma: 1920px에서 좌우 436px = 약 22.7% */
  .home-section,
  .promo-banner-figma,
  .limited-section,
  .vote-section-figma,
  .footer-figma__inner {
    padding: 0 calc((100% - 1048px) / 2);
    max-width: 100%;
  }

  .search-bar-figma {
    max-width: 600px;
  }

  .home-products--large {
    gap: 40px;
  }

  .home-products__add {
    flex: 0 0 100px;
  }
}

/* Mypage responsive */
@media (max-width: 768px) {
  .mypage {
    flex-direction: column;
  }

  .mypage__sidebar {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    border-bottom: 1px solid var(--color-bg-light);
    padding-bottom: 0;
    margin-bottom: 24px;
  }

  .mypage__sidebar::-webkit-scrollbar {
    display: none;
  }

  .mypage__nav-item {
    white-space: nowrap;
    padding: 12px 16px;
  }
}

/* Seller dashboard responsive */
@media (max-width: 900px) {
  .seller-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .seller-dashboard .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .seller-stats {
    grid-template-columns: 1fr;
  }

  .seller-dashboard .product-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ========== FIGMA 1:1 HERO ========== */
.hero-figma {
  position: relative;
  background: linear-gradient(135deg, #5836f1 0%, #7c5df8 50%, #a78bfa 100%);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 60px 24px 40px;
  min-height: 280px;
  overflow: hidden;
  /* 전체 너비 확장 */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.hero-figma__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-figma__title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-figma__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

.hero-figma__tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px;
}

.hero-figma__tab {
  width: 100%;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  border: none;
  color: #666;
  transition: all 0.2s;
}

.hero-figma__tab--active {
  background: #5836f1;
  color: #fff;
  box-shadow: 0 4px 12px rgba(88, 54, 241, 0.3);
}

/* 태블릿 이상에서 가로 정렬 */
@media (min-width: 600px) {
  .hero-figma__tabs {
    flex-direction: row;
    justify-content: center;
    padding: 0;
  }

  .hero-figma__tab {
    flex: 1;
    max-width: 180px;
    border-radius: 12px;
  }
}

/* ========== FIGMA 1:1 SEARCH BAR ========== */
.search-bar-figma {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.search-bar-figma__icon {
  padding: 8px;
  cursor: pointer;
}

.search-bar-figma__tags {
  display: flex;
  gap: 8px;
  flex: 1;
}

.search-bar-figma__tag {
  font-size: 13px;
  color: #5836f1;
  background: #f5f3ff;
  padding: 6px 12px;
  border-radius: 16px;
  white-space: nowrap;
}

.search-bar-figma__search {
  padding: 8px;
  cursor: pointer;
}

.search-bar-figma__add {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  font-size: 18px;
  color: #999;
  cursor: pointer;
}

/* ========== FIGMA 1:1 CATEGORY ========== */
.category-figma {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 20px 16px;
  background: #fff;
}

.category-figma__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.category-figma__img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-figma__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-figma__item span {
  font-size: 12px;
  font-weight: 500;
  color: #333;
}

/* ========== FIGMA 1:1 PROMO ========== */
.promo-figma {
  background: linear-gradient(180deg, #5836f1 0%, #7c5df8 100%);
  padding: 20px 16px;
  margin: 24px 0;
  position: relative;
}

.promo-figma__chat {
  margin-bottom: 16px;
}

.promo-figma__bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.promo-figma__bubble--left {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-bottom-left-radius: 4px;
}

.promo-figma__bubble--right {
  background: #fff;
  color: #333;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.promo-figma__character {
  position: absolute;
  right: 10px;
  top: 30px;
  width: 80px;
  height: 80px;
}

.promo-figma__character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promo-figma__character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promo-figma__bottom {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
}

.promo-figma__title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.promo-figma__products {
  display: flex;
  gap: 10px;
}

.promo-figma__card {
  flex: 1;
  cursor: pointer;
}

.promo-figma__card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}

.promo-figma__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.promo-figma__name {
  font-size: 11px;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-figma__price {
  font-size: 12px;
  color: #5836f1;
  font-weight: 600;
}

/* ========== FIGMA 1:1 PROMO BANNER ========== */
.promo-banner-figma {
  background: linear-gradient(135deg, #e8e4ff 0%, #f5f3ff 100%);
  padding: 24px 16px;
  margin: 16px 0;
  position: relative;
  overflow: hidden;
}

.promo-banner-figma__header {
  margin-bottom: 20px;
}

.promo-banner-figma__header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.promo-banner-figma__header p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.promo-banner-figma__sub {
  color: #5836f1 !important;
  font-weight: 500;
}

.promo-banner-figma__note {
  font-size: 11px !important;
  color: #999 !important;
  margin-top: 4px;
}

.promo-banner-figma__products {
  display: flex;
  gap: 12px;
}

.promo-banner-figma__card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.promo-banner-figma__card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.promo-banner-figma__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.promo-banner-figma__name {
  font-size: 12px;
  color: #333;
  font-weight: 500;
}

.promo-banner-figma__price {
  font-size: 13px;
  color: #5836f1;
  font-weight: 700;
}

.promo-banner-figma__character {
  position: absolute;
  right: -20px;
  top: 10px;
  width: 100px;
  height: 100px;
  opacity: 0.3;
}

.promo-banner-figma__character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Home products scroll */
.home-products--scroll {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 8px !important;
  -webkit-overflow-scrolling: touch;
}

.home-products--scroll::-webkit-scrollbar {
  display: none;
}

.home-products--scroll > * {
  flex: 0 0 auto;
}

.hero-banner__content {
  max-width: 375px;
  margin: 0 auto;
  text-align: center;
}

.hero-banner__title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-banner__highlight {
  font-weight: 900;
  display: inline;
}

.hero-banner__subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-banner__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-banner__btn {
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.hero-banner__btn--primary {
  background: white;
  color: #5836f1;
  border: none;
}

.hero-banner__btn--primary:hover {
  background: #f2f2f2;
  transform: translateY(-1px);
}

.hero-banner__btn--secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.hero-banner__btn--secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* Hero Search */
.hero-search {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 12px 20px;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-search__icon {
  flex-shrink: 0;
}

.hero-search__input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #131313;
}

.hero-search__input::placeholder {
  color: #999;
}

/* ========== CATEGORY BUTTONS (Figma Style) ========== */
.category-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 24px 16px;
  background: white;
  margin-top: -20px;
  border-radius: 24px 24px 0 0;
  position: relative;
  z-index: 1;
}

.category-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-btn:hover {
  border-color: #5836f1;
  box-shadow: 0 4px 12px rgba(88,54,241,0.15);
}

.category-btn__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f5f3ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-btn__text {
  font-size: 14px;
  font-weight: 600;
  color: #131313;
}

/* ========== PROMO SECTION (10만원 한정 - Figma Style) ========== */
.promo-section {
  background: linear-gradient(180deg, #5836f1 0%, #7B61FF 100%);
  padding: 32px 16px;
  margin: 32px 0;
}

.promo-section__header {
  margin-bottom: 24px;
}

.promo-section__title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  text-align: center;
}

.promo-chat {
  margin-bottom: 24px;
  position: relative;
}

.promo-chat__bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.promo-chat__bubble--left {
  background: rgba(255,255,255,0.2);
  color: white;
  border-bottom-left-radius: 4px;
  margin-right: auto;
}

.promo-chat__bubble--right {
  background: white;
  color: #131313;
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.promo-chat__character {
  position: absolute;
  right: 0;
  bottom: -40px;
}

.promo-products {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 0;
  -webkit-overflow-scrolling: touch;
}

.promo-products::-webkit-scrollbar {
  display: none;
}

.promo-products .product-card-small {
  flex-shrink: 0;
  background: white;
  border-radius: 16px;
}

/* ========== D-DAY BADGE ========== */
.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #5836f1;
  color: white;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}

/* ========== FIGMA 1:1 FOOTER ========== */
.footer-figma {
  background: #f5f5f5;
  padding: 40px 20px 100px;
  margin-top: 24px;
}

.footer-figma__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  max-width: 600px;
}

.footer-figma__col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

.footer-figma__col a {
  display: block;
  font-size: 12px;
  color: #888;
  text-decoration: none;
  margin-bottom: 10px;
  line-height: 1.4;
}

.footer-figma__col a:hover {
  color: #5836f1;
}

.footer-figma__bottom {
  border-top: 1px solid #e0e0e0;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-figma__logo {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.footer-figma__company {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-figma__company span {
  font-size: 11px;
  color: #999;
}

.footer-figma__company span:not(:last-child)::after {
  content: '';
  margin-left: 8px;
}

.footer-figma__legal {
  display: flex;
  gap: 16px;
}

.footer-figma__legal a {
  font-size: 11px;
  color: #999;
  text-decoration: none;
}

.footer-figma__legal a:hover {
  color: #5836f1;
}

.footer-figma__copyright {
  font-size: 11px;
  color: #bbb;
  margin-top: 8px;
}

/* ========== GRID PRODUCTS ========== */
.home-products--grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 16px;
}

.product-card-grid {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.product-card-grid__image {
  width: 100%;
  aspect-ratio: 1;
  background: #f5f5f5;
}

.product-card-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-grid__info {
  padding: 12px;
}

.product-card-grid__title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-grid__price {
  font-size: 14px;
  font-weight: 700;
  color: #5836f1;
}

.home-section__subtitle {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
  display: block;
}

/* ========== VOTE SECTION ========== */
.vote-section {
  background: #f8f7ff;
  padding: 24px 16px;
  margin: 16px 0;
}

.vote-section__header {
  margin-bottom: 16px;
}

.vote-section__title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.vote-section__desc {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.vote-section__timer {
  display: flex;
  gap: 8px;
  align-items: center;
}

.vote-section__label {
  font-size: 12px;
  color: #999;
}

.vote-section__time {
  font-size: 14px;
  font-weight: 700;
  color: #5836f1;
}

.vote-section__stats {
  margin-bottom: 16px;
}

.vote-section__stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vote-section__stat-label {
  font-size: 12px;
  color: #666;
}

.vote-section__stat-value {
  font-size: 14px;
  color: #333;
}

.vote-section__stat-value strong {
  font-weight: 700;
  color: #5836f1;
}

.vote-section__sellers {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.vote-seller-card {
  flex: 0 0 auto;
  width: 140px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.vote-seller-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
}

.vote-seller-card__info h4 {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.vote-seller-card__info p {
  font-size: 10px;
  color: #999;
  margin: 2px 0;
}

.vote-seller-card__btn {
  margin-top: 8px;
  padding: 6px 16px;
  background: #5836f1;
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

/* ========== LIMITED SECTION (Figma) ========== */
.limited-section {
  padding: 24px 16px;
  background: #fff;
}

.limited-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.limited-section__title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.limited-section__desc {
  font-size: 11px;
  color: #999;
}

.limited-section__right {
  text-align: right;
}

.limited-section__label {
  font-size: 11px;
  color: #999;
  display: block;
}

.limited-section__count {
  font-size: 16px;
  font-weight: 700;
  color: #5836f1;
}

.limited-section__row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.limited-section__row--small {
  gap: 8px;
}

.limited-card {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #f5f5f5;
}

.limited-card--large {
  flex: 1;
  aspect-ratio: 1;
}

.limited-card--small {
  flex: 1;
  aspect-ratio: 1;
}

.limited-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== VOTE SECTION FIGMA ========== */
.vote-section-figma {
  padding: 24px 16px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.vote-section-figma__header {
  margin-bottom: 16px;
}

.vote-section-figma__header h2 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.vote-section-figma__header p {
  font-size: 11px;
  color: #999;
}

.vote-section-figma__content {
  display: flex;
  gap: 16px;
}

.vote-section-figma__left {
  flex: 1;
}

.vote-section-figma__timer {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.vote-section-figma__timer span {
  font-size: 11px;
  color: #999;
}

.vote-section-figma__timer strong {
  font-size: 14px;
  color: #5836f1;
}

.vote-section-figma__products {
  display: flex;
  gap: 8px;
}

.vote-product {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #f5f5f5;
}

.vote-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vote-section-figma__right {
  flex: 1;
}

.vote-section-figma__stats {
  margin-bottom: 12px;
  text-align: right;
}

.vote-section-figma__stats span {
  font-size: 11px;
  color: #999;
}

.vote-section-figma__stats p {
  font-size: 14px;
  color: #333;
}

.vote-section-figma__stats strong {
  color: #5836f1;
  font-weight: 700;
}

.vote-seller-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}

.vote-seller-row:last-child {
  border-bottom: none;
}

.vote-seller-row img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.vote-seller-row__info {
  flex: 1;
}

.vote-seller-row__info h4 {
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.vote-seller-row__info p {
  font-size: 10px;
  color: #999;
}

.vote-seller-row button {
  padding: 6px 12px;
  background: #5836f1;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* ========== VOTE CTA ========== */
.vote-cta {
  padding: 24px 16px;
  text-align: center;
}

.vote-cta__btn {
  width: 100%;
  max-width: 400px;
  padding: 16px 32px;
  background: #5836f1;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

/* ========== EXTRA PRODUCTS ========== */
.extra-products {
  padding: 16px;
  background: #f8f8f8;
}

.extra-products__row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.extra-products__row:last-child {
  margin-bottom: 0;
}

.extra-product {
  flex: 1;
  aspect-ratio: 1.5;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.extra-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Vote section product side image */
.vote-section-figma__product-side {
  width: 100%;
  aspect-ratio: 1.5;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.vote-section-figma__product-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== RESPONSIVE BREAKPOINTS (Figma) ========== */
/* NOTE: 상단 미디어 쿼리에서 .page--mobile max-width 처리함 */

/* Tablet: 800px+ - 추가 스타일만 */
@media (min-width: 800px) {
  .hero-figma__tabs {
    gap: 16px;
  }

  .hero-figma__tab {
    max-width: 200px;
    padding: 18px 32px;
    font-size: 16px;
  }

  .search-bar-figma {
    padding: 16px 24px;
  }

  .product-card-large {
    min-width: 200px;
  }

  .promo-banner-figma__products {
    gap: 20px;
  }

  .vote-section-figma__products {
    gap: 12px;
  }

  .footer-figma__columns {
    max-width: 700px;
    gap: 32px;
  }
}

/* Desktop: 1920px+ */
@media (min-width: 1200px) {
  /* page--mobile max-width는 상단에서 100%로 설정됨 */

  .hero-figma__tabs {
    gap: 20px;
  }

  .hero-figma__tab {
    max-width: 240px;
    padding: 20px 40px;
    font-size: 18px;
  }

  .search-bar-figma {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  .home-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 0;
  }

  .home-products--large {
    gap: 24px;
    padding: 0 24px;
  }

  .product-card-large {
    min-width: 260px;
  }

  .promo-banner-figma {
    max-width: 1100px;
    margin: 24px auto;
    border-radius: 16px;
    padding: 40px 32px;
  }

  .promo-banner-figma__products {
    max-width: 600px;
  }

  .limited-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 32px;
  }

  .vote-section-figma {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 32px;
  }

  .vote-section-figma__left {
    flex: 1.2;
  }

  .vote-section-figma__right {
    flex: 0.8;
  }

  .vote-cta {
    max-width: 600px;
    margin: 0 auto;
    padding: 32px;
  }

  .extra-products {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 32px;
  }

  .footer-figma {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 100px;
  }

  .footer-figma__columns {
    max-width: 800px;
    gap: 48px;
  }
}

/* Large Desktop: 1920px+ */
/* 1920px 스타일은 상단에서 정의됨 - 중복 제거 */

/* Mobile title breaks */
.desktop-title {
  display: none;
}

.mobile-break {
  display: inline;
}

@media (min-width: 600px) {
  .desktop-title {
    display: inline;
  }
  .mobile-break {
    display: none;
  }
}

/* Mobile: New Arrivals 세로 배치 */
@media (max-width: 599px) {
  .home-products--large {
    flex-direction: column;
    gap: 16px;
  }

  .product-card-large {
    width: 100%;
  }

  .product-card-large__image {
    aspect-ratio: 16/9;
  }

  .home-products__add {
    display: none;
  }

  /* 투표 섹션 세로 */
  .vote-section-figma__content {
    flex-direction: column;
  }

  .vote-section-figma__left,
  .vote-section-figma__right {
    width: 100%;
  }

  .vote-section-figma__product-side {
    display: none;
  }

  /* 이번주 한정 상품 세로 */
  .limited-section__row {
    flex-direction: column;
  }

  .limited-card--large,
  .limited-card--small {
    width: 100%;
  }
}

/* ========== PRODUCT DETAIL PAGE - FIGMA 1:1 ========== */

/* 상품 상세 페이지 컨테이너 */
.detail-page-figma {
  background: #fff;
}

/* 이미지 갤러리 (Figma) */
.detail-gallery-figma {
  padding: 0;
  margin-bottom: 20px;
}

.detail-gallery-figma .detail-swiper {
  border-radius: 0;
}

.detail-gallery-figma .swiper-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* 상품 정보 컨테이너 (Figma) */
.detail-content-figma {
  padding: 20px;
}

/* 판매자 정보 (Figma: 이름 + 만족도 + 리뷰) */
.detail-seller-figma {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f8f8f8;
  border-radius: 12px;
  margin-bottom: 20px;
}

.detail-seller-figma .detail-seller__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5835f0, #8b5cf6);
}

.detail-seller-figma .detail-seller__info {
  flex: 1;
}

.detail-seller-figma .detail-seller__name {
  font-size: 15px;
  font-weight: 600;
  color: #131313;
  margin-bottom: 4px;
}

.detail-seller-figma .detail-seller__stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #666;
}

.detail-seller-figma .detail-seller__satisfaction {
  color: #10b981;
  font-weight: 500;
}

.detail-seller-figma .detail-seller__reviews {
  color: #999;
}

.detail-seller-figma .detail-seller__follow {
  padding: 8px 16px;
  background: #5835f0;
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* 제품 스펙 (Figma: 형태, 호환 스위치 등) */
.detail-specs-figma {
  background: #fafafa;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.detail-specs-figma .detail-specs__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.detail-specs-figma .detail-specs__row:last-child {
  border-bottom: none;
}

.detail-specs-figma .detail-specs__label {
  font-size: 13px;
  color: #666;
}

.detail-specs-figma .detail-specs__value {
  font-size: 13px;
  color: #131313;
  font-weight: 500;
}

/* 상품 타이틀 (Figma) */
.detail-title-figma {
  font-size: 20px;
  font-weight: 700;
  color: #131313;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* 카운트다운 타이머 (Figma) */
.detail-countdown-figma {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #f0f0f0;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.detail-countdown-figma .detail-countdown__label {
  font-size: 13px;
  color: #666;
}

.detail-countdown-figma .detail-countdown__timer {
  display: flex;
  align-items: center;
  gap: 4px;
}

.detail-countdown-figma .detail-countdown__num {
  font-size: 18px;
  font-weight: 700;
  color: #5835f0;
}

.detail-countdown-figma .detail-countdown__sep {
  font-size: 16px;
  color: #999;
}

/* 뱃지 (Figma) */
.detail-badges-figma {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.detail-badges-figma .detail-badge {
  padding: 6px 12px;
  background: #f0f0f0;
  color: #666;
  font-size: 12px;
  border-radius: 20px;
}

/* 탭 (Figma) */
.detail-tabs-figma {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
}

.detail-tabs-figma .detail-tabs__item {
  flex: 1;
  padding: 14px;
  text-align: center;
  font-size: 14px;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.detail-tabs-figma .detail-tabs__item.active {
  color: #5835f0;
  font-weight: 600;
  border-bottom: 2px solid #5835f0;
  margin-bottom: -2px;
}

/* 펀딩 안내 (Figma) */
.detail-funding-figma {
  background: #fafafa;
  border-radius: 12px;
  padding: 20px;
}

.detail-funding-figma .detail-funding-info__title {
  font-size: 16px;
  font-weight: 600;
  color: #131313;
  margin-bottom: 12px;
}

.detail-funding-figma .detail-funding-info__text {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* 하단 액션 버튼 (Figma) */
.detail-actions-figma {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border-top: 1px solid #eee;
}

.detail-actions-figma .detail-actions__secondary {
  flex: 1;
  padding: 14px;
  background: #f0f0f0;
  color: #666;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
}

.detail-actions-figma .detail-actions__primary {
  flex: 2;
  padding: 14px;
  background: #5835f0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
}

/* ========== PRODUCT DETAIL - 반응형 (375px, 800px, 1920px) ========== */

/* 모바일 (375px 기준) */
@media (max-width: 599px) {
  .detail-gallery-figma .swiper-slide img {
    height: 240px;
  }

  .detail-content-figma {
    padding: 16px;
  }

  .detail-title-figma {
    font-size: 18px;
  }

  .detail-countdown-figma {
    flex-direction: column;
    gap: 8px;
  }
}

/* 태블릿 (800px) */
@media (min-width: 800px) {
  .detail-page-figma .detail-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px;
  }

  .detail-gallery-figma {
    position: sticky;
    top: 100px;
    height: fit-content;
    border-radius: 16px;
    overflow: hidden;
  }

  .detail-gallery-figma .swiper-slide img {
    height: 400px;
  }

  .detail-content-figma {
    padding: 0;
  }

  .detail-actions-figma {
    position: static;
    max-width: 540px;
    padding: 0;
    background: transparent;
    border: none;
  }
}

/* 데스크톱 (1200px+) */
@media (min-width: 1200px) {
  .detail-page-figma .detail-main {
    max-width: 1280px;
    gap: 60px;
    padding: 60px;
  }

  .detail-gallery-figma .swiper-slide img {
    height: 500px;
  }

  .detail-title-figma {
    font-size: 24px;
  }

  .detail-countdown-figma .detail-countdown__num {
    font-size: 24px;
  }
}

/* 대형 데스크톱 (1920px) */
@media (min-width: 1920px) {
  .detail-page-figma .detail-main {
    max-width: 1400px;
  }

  .detail-gallery-figma .swiper-slide img {
    height: 600px;
  }
}

/* ========== SELLER NEW PAGE - FIGMA 1:1 (4-판매자경매만들기) ========== */

.seller-new-figma {
  background: #f5f5f5;
  min-height: 100vh;
}

/* 헤더 */
.seller-new-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.seller-new-header__logo {
  font-size: 18px;
  font-weight: 700;
  color: #5835f0;
}

.seller-new-header__search {
  flex: 1;
}

.seller-new-header__search input {
  width: 100%;
  padding: 10px 16px;
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  font-size: 14px;
}

.seller-new-header__user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.seller-new-header__name {
  font-size: 14px;
  font-weight: 600;
  color: #131313;
}

.seller-new-header__level {
  font-size: 12px;
  color: #5835f0;
}

/* 메인 */
.seller-new-main {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.seller-new-title {
  font-size: 24px;
  font-weight: 700;
  color: #5835f0;
  text-align: center;
  margin-bottom: 32px;
}

/* 이미지 업로드 */
.seller-new-image-upload {
  width: 100%;
  height: 200px;
  background: #fff;
  border: 2px dashed #ddd;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.2s;
}

.seller-new-image-upload:hover {
  border-color: #5835f0;
  color: #5835f0;
}

/* 입찰금액 입력 필드 */
.seller-new-field {
  margin-bottom: 20px;
}

.seller-new-field input {
  width: 100%;
  padding: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 15px;
}

/* 폼 */
.seller-new-form {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
}

.seller-new-form .input-group {
  margin-bottom: 20px;
}

.seller-new-form .input-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #131313;
  margin-bottom: 8px;
}

.seller-new-form .input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 14px;
}

.seller-new-form .input--small {
  width: auto;
  min-width: 60px;
  padding: 10px 12px;
}

/* 날짜 행 */
.seller-new-date-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* 액션 버튼 */
.seller-new-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.seller-new-actions .btn {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
}

.seller-new-actions .btn--secondary {
  background: #f0f0f0;
  color: #666;
}

.seller-new-actions .btn--primary {
  background: #5835f0;
  color: #fff;
}

/* ========== SELLER NEW - 반응형 ========== */

@media (max-width: 599px) {
  .seller-new-header {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .seller-new-header__user {
    flex-direction: row;
    gap: 8px;
    justify-content: flex-end;
  }

  .seller-new-main {
    padding: 20px 16px;
  }

  .seller-new-title {
    font-size: 20px;
  }

  .seller-new-image-upload {
    height: 160px;
  }

  .seller-new-date-row {
    flex-wrap: wrap;
  }

  .seller-new-form .input--small {
    min-width: 50px;
    flex: 1;
  }
}

@media (min-width: 800px) {
  .seller-new-header {
    padding: 20px 40px;
  }

  .seller-new-main {
    max-width: 700px;
    padding: 60px 40px;
  }

  .seller-new-image-upload {
    height: 240px;
  }

  .seller-new-form {
    padding: 32px;
  }
}

@media (min-width: 1200px) {
  .seller-new-main {
    max-width: 800px;
  }
}

/* ========== LEGAL PAGES (이용약관, 개인정보처리방침, 운영정책) ========== */

.legal-page {
  padding-bottom: 80px;
}

.legal-page__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-bg-light);
  position: sticky;
  top: 60px;
  z-index: 10;
}

.legal-page__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
}

.legal-page__back:hover {
  background: var(--color-bg-light);
}

.legal-page__back:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.legal-page__title {
  font-size: var(--font-18);
  font-weight: 700;
  color: var(--color-text-dark);
}

.legal-page__content {
  padding: 24px 20px;
}

.legal-page__date {
  font-size: var(--font-12);
  color: var(--color-text-gray);
  margin-bottom: 24px;
}

.legal-page__intro {
  font-size: var(--font-14);
  color: var(--color-text-dark);
  line-height: 1.8;
  margin-bottom: 32px;
  padding: 16px;
  background: var(--color-bg-lighter);
  border-radius: var(--radius-md);
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-size: var(--font-16);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

.legal-section h3 {
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 16px 0 8px;
}

.legal-section p {
  font-size: var(--font-14);
  color: var(--color-text-dark);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section ol,
.legal-section ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-section li {
  font-size: var(--font-14);
  color: var(--color-text-dark);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-section ol {
  list-style: decimal;
}

.legal-section ul {
  list-style: disc;
}

.legal-section li ul {
  margin-top: 8px;
  margin-bottom: 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: var(--font-14);
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--color-bg-light);
}

.legal-table th {
  background: var(--color-bg-lighter);
  font-weight: 600;
  color: var(--color-text-dark);
}

.legal-table td {
  color: var(--color-text-dark);
}

/* ========== CS PAGES (고객센터, 공지사항, FAQ, 문의, 신고) ========== */

.cs-page {
  padding-bottom: 80px;
}

.cs-page__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-bg-light);
  position: sticky;
  top: 60px;
  z-index: 10;
}

.cs-page__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
}

.cs-page__back:hover {
  background: var(--color-bg-light);
}

.cs-page__back:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.cs-page__title {
  font-size: var(--font-18);
  font-weight: 700;
  color: var(--color-text-dark);
}

.cs-page__content {
  padding: 24px 20px;
}

/* Notice List */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notice-item {
  background: var(--color-white);
  border: 1px solid var(--color-bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.notice-item:hover {
  border-color: var(--color-primary);
}

.notice-item--pinned {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, rgba(88, 53, 240, 0.02) 0%, rgba(88, 53, 240, 0.05) 100%);
}

.notice-item__link {
  display: block;
  padding: 16px;
}

.notice-item__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.notice-item__badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: var(--font-10);
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.notice-item__date {
  font-size: var(--font-12);
  color: var(--color-text-light);
}

.notice-item__title {
  font-size: var(--font-14);
  font-weight: 500;
  color: var(--color-text-dark);
  line-height: 1.5;
}

/* FAQ */
.faq-category {
  margin-bottom: 32px;
}

.faq-category__title {
  font-size: var(--font-14);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

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

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  font-size: var(--font-14);
  font-weight: 500;
  color: var(--color-text-dark);
  text-align: left;
  background: transparent;
  transition: background 0.2s;
}

.faq-item__question:hover {
  background: var(--color-bg-lighter);
}

.faq-item__question:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.faq-item__question[aria-expanded="true"] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__icon {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item__answer {
  padding: 0 16px 16px;
  font-size: var(--font-14);
  color: var(--color-text-gray);
  line-height: 1.8;
}

.faq-item__answer[hidden] {
  display: none;
}

/* Inquiry */
.inquiry-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-bg-light);
}

.inquiry-tab {
  flex: 1;
  padding: 12px 16px;
  font-size: var(--font-14);
  font-weight: 500;
  color: var(--color-text-gray);
  background: transparent;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.inquiry-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.inquiry-tab:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.inquiry-content[hidden] {
  display: none;
}

.inquiry-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.inquiry-empty svg {
  margin-bottom: 16px;
}

.inquiry-empty p {
  font-size: var(--font-14);
  color: var(--color-text-light);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: var(--font-14);
  color: var(--color-text-dark);
  background: var(--color-white);
  border: 2px solid var(--color-bg-light);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-light);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23606060' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

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

.form-file__label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  font-size: var(--font-14);
  color: var(--color-text-gray);
  background: var(--color-bg-lighter);
  border: 2px dashed var(--color-bg-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.form-file__label:hover {
  border-color: var(--color-primary);
  background: rgba(88, 53, 240, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 599px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: var(--radius-md);
  transition: background 0.2s;
}

.form-submit:hover {
  background: var(--color-primary-dark);
}

.form-submit:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.form-submit--danger {
  background: var(--color-error);
}

.form-submit--danger:hover {
  background: #dc2626;
}

/* Report */
.report-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  margin-bottom: 24px;
  background: rgba(88, 53, 240, 0.05);
  border: 1px solid rgba(88, 53, 240, 0.2);
  border-radius: var(--radius-md);
}

.report-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.report-notice p {
  font-size: var(--font-14);
  color: var(--color-text-dark);
  line-height: 1.6;
}

/* ========== ABOUT PAGE (회사 소개) ========== */

.about-page {
  padding-bottom: 80px;
}

.about-hero {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 100%);
}

.about-hero__title {
  font-size: var(--font-24);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: 16px;
}

.about-hero__subtitle {
  font-size: var(--font-14);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.about-section {
  padding: 32px 20px;
}

.about-section__title {
  font-size: var(--font-14);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.about-section__text {
  font-size: var(--font-14);
  color: var(--color-text-dark);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 599px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}

.about-feature {
  text-align: center;
  padding: 24px 16px;
  background: var(--color-bg-lighter);
  border-radius: var(--radius-lg);
}

.about-feature__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 50%;
}

.about-feature__title {
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.about-feature__desc {
  font-size: var(--font-12);
  color: var(--color-text-gray);
  line-height: 1.5;
}

.about-section--contact {
  background: var(--color-bg-lighter);
}

.about-contact p {
  font-size: var(--font-14);
  color: var(--color-text-dark);
  line-height: 1.8;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg-lighter);
  border-radius: var(--radius-md);
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 50%;
}

.contact-item__content h3 {
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.contact-item__content p {
  font-size: var(--font-14);
  color: var(--color-text-gray);
  line-height: 1.6;
}

.contact-form-wrapper {
  padding: 24px;
  background: var(--color-bg-lighter);
  border-radius: var(--radius-lg);
}

.contact-form__title {
  font-size: var(--font-16);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

/* ========== GUIDE PAGES (수요조사, 제작사, 유의사항) ========== */

.guide-page {
  padding-bottom: 80px;
}

.guide-page__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-bg-light);
  position: sticky;
  top: 60px;
  z-index: 10;
}

.guide-page__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
}

.guide-page__back:hover {
  background: var(--color-bg-light);
}

.guide-page__back:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.guide-page__title {
  font-size: var(--font-18);
  font-weight: 700;
  color: var(--color-text-dark);
}

.guide-page__content {
  padding: 24px 20px;
}

.guide-section {
  margin-bottom: 32px;
}

.guide-section h2 {
  font-size: var(--font-16);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

.guide-section p {
  font-size: var(--font-14);
  color: var(--color-text-dark);
  line-height: 1.8;
  margin-bottom: 12px;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-step {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg-lighter);
  border-radius: var(--radius-md);
}

.guide-step__num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-14);
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 50%;
}

.guide-step__content h3 {
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.guide-step__content p {
  font-size: var(--font-14);
  color: var(--color-text-gray);
  line-height: 1.6;
  margin: 0;
}

.guide-list {
  padding-left: 20px;
  list-style: disc;
}

.guide-list li {
  font-size: var(--font-14);
  color: var(--color-text-dark);
  line-height: 1.8;
  margin-bottom: 8px;
}

.guide-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 599px) {
  .guide-categories {
    grid-template-columns: 1fr;
  }
}

.guide-category {
  padding: 20px;
  background: var(--color-bg-lighter);
  border-radius: var(--radius-md);
}

.guide-category h3 {
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.guide-category p {
  font-size: var(--font-12);
  color: var(--color-text-gray);
  margin: 0;
}

.guide-faq__item {
  margin-bottom: 8px;
  background: var(--color-bg-lighter);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.guide-faq__item summary {
  padding: 16px;
  font-size: var(--font-14);
  font-weight: 500;
  color: var(--color-text-dark);
  cursor: pointer;
  list-style: none;
}

.guide-faq__item summary::-webkit-details-marker {
  display: none;
}

.guide-faq__item p {
  padding: 0 16px 16px;
  font-size: var(--font-14);
  color: var(--color-text-gray);
  line-height: 1.6;
  margin: 0;
}

.guide-section--warning {
  padding: 20px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-lg);
}

.guide-warning-list {
  padding: 0;
  list-style: none;
}

.guide-warning-list li {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

.guide-warning-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.guide-warning-list li strong {
  display: block;
  font-size: var(--font-14);
  font-weight: 600;
  color: var(--color-error);
  margin-bottom: 4px;
}

.guide-warning-list li p {
  font-size: var(--font-14);
  color: var(--color-text-dark);
  line-height: 1.6;
  margin: 0;
}

/* ========== RESPONSIVE - NEW PAGES ========== */

@media (min-width: 800px) {
  .legal-page__header,
  .cs-page__header,
  .guide-page__header {
    padding: 20px 40px;
    top: 70px;
  }

  .legal-page__content,
  .cs-page__content,
  .guide-page__content {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 40px;
  }

  .about-hero {
    padding: 80px 40px;
  }

  .about-hero__title {
    font-size: var(--font-32);
  }

  .about-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
  }
}

@media (min-width: 1200px) {
  .legal-page__content,
  .cs-page__content,
  .guide-page__content {
    max-width: 900px;
  }

  .about-hero__title {
    font-size: var(--font-40);
  }

  .about-section {
    max-width: 900px;
  }
}

/* ========== SERVICE GUIDE PAGE ========== */
.service-guide {
  padding-bottom: 80px;
}

.service-hero {
  text-align: center;
  padding: 48px 20px;
  background: linear-gradient(135deg, #5835f0 0%, #7c5ff5 100%);
  color: white;
  margin: -20px -20px 0;
}

.service-hero__title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.service-hero__sub {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.6;
}

.service-types {
  padding: 32px 20px;
}

.service-section__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

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

.service-type-card {
  background: var(--color-bg-lighter);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-type-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-type-card__icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 12px;
}

.service-type-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.service-type-card p {
  font-size: 13px;
  color: var(--color-text-gray);
  line-height: 1.5;
}

.service-section {
  padding: 32px 20px;
  border-top: 1px solid var(--color-bg-light);
}

.service-section--alt {
  background: var(--color-bg-lighter);
}

.service-section__header {
  margin-bottom: 24px;
}

.service-section__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-text-dark);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.service-section__badge--primary {
  background: var(--color-primary);
}

.service-section__desc {
  font-size: 14px;
  color: var(--color-text-gray);
  margin-top: 8px;
}

.service-flow {
  margin-bottom: 24px;
}

.service-flow__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-bg-light);
}

.service-flow__steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-flow__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.service-flow__num {
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.service-flow__content {
  flex: 1;
  padding-top: 2px;
}

.service-flow__content strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.service-flow__content p {
  font-size: 13px;
  color: var(--color-text-gray);
}

.service-notice {
  background: white;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 16px;
}

.service-notice strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.service-notice ul {
  list-style: none;
}

.service-notice li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--color-text-gray);
  margin-bottom: 8px;
  line-height: 1.5;
}

.service-notice li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--color-text-light);
  border-radius: 50%;
}

.service-notice--safe {
  background: rgba(88, 53, 240, 0.08);
}

.service-notice--safe li::before {
  background: var(--color-primary);
}

.service-compare {
  padding: 32px 20px;
  border-top: 1px solid var(--color-bg-light);
}

.service-compare__table {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--color-bg-light);
}

.service-compare__row:last-child {
  border-bottom: none;
}

.service-compare__row span {
  padding: 12px 8px;
  font-size: 12px;
  text-align: center;
  color: var(--color-text-dark);
}

.service-compare__row span:first-child {
  font-weight: 600;
  text-align: left;
  padding-left: 12px;
  color: var(--color-text-gray);
}

.service-compare__row--header {
  background: var(--color-bg-lighter);
}

.service-compare__row--header span {
  font-weight: 700;
  font-size: 13px;
}

.service-fee {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.service-fee__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-lighter);
  padding: 16px;
  border-radius: var(--radius-md);
}

.service-fee__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.service-fee__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

.service-fee__note {
  font-size: 11px;
  color: var(--color-text-light);
}

.service-fee__desc {
  font-size: 13px;
  color: var(--color-text-gray);
}

.service-cta {
  text-align: center;
  padding: 48px 20px;
  background: var(--color-text-dark);
  color: white;
}

.service-cta h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-cta p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-cta__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 300px;
  margin: 0 auto;
}

.service-cta__btn {
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.service-cta__btn:hover {
  background: rgba(255,255,255,0.1);
}

.service-cta__btn--primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.service-cta__btn--primary:hover {
  background: var(--color-primary-dark);
}

/* 데스크탑 반응형 */
@media (min-width: 800px) {
  .service-hero {
    padding: 64px 40px;
    margin: 0;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }

  .service-hero__title {
    font-size: 42px;
  }

  .service-hero__sub {
    font-size: 18px;
  }

  .service-types,
  .service-section,
  .service-compare {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 40px;
  }

  .service-section__title {
    font-size: 24px;
  }

  .service-flow {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
  }

  .service-flow__steps {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-flow__step {
    flex: 1;
    min-width: 140px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-flow__content {
    padding-top: 8px;
  }

  .service-compare__row span {
    padding: 16px 12px;
    font-size: 14px;
  }

  .service-cta__btns {
    flex-direction: row;
    max-width: 400px;
  }

  .service-cta__btn {
    flex: 1;
  }
}

@media (min-width: 1200px) {
  .service-types,
  .service-section,
  .service-compare {
    max-width: 900px;
  }
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  color: white;
  font-size: var(--font-14);
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 40px);
  text-align: center;
}

.toast-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-success {
  background: var(--color-success);
}

.toast-error {
  background: var(--color-error);
}

.toast-warning {
  background: var(--color-warning);
}

.toast-info {
  background: var(--color-primary);
}

/* ========== LOADING STATES ========== */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-bg-light) 25%,
    var(--color-bg-lighter) 50%,
    var(--color-bg-light) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 1em;
  margin: 0.5em 0;
}

.skeleton-title {
  height: 1.5em;
  width: 60%;
  margin-bottom: 0.75em;
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 1;
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* ========== LOADING SPINNER ========== */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== BUTTON STATES ========== */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid white;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

/* ========== TRANSITIONS ========== */
.fade-enter {
  opacity: 0;
}

.fade-enter-active {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.fade-exit {
  opacity: 1;
}

.fade-exit-active {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slide-up-enter {
  opacity: 0;
  transform: translateY(20px);
}

.slide-up-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ========== VIEW TRANSITIONS (modern browsers) ========== */
@supports (view-transition-name: none) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.25s;
  }

  .page-transition {
    view-transition-name: page;
  }
}

/* ========== CONTAINER QUERIES (modern browsers) ========== */
@supports (container-type: inline-size) {
  .product-card-container {
    container-type: inline-size;
  }

  @container (max-width: 200px) {
    .product-card__title {
      font-size: var(--font-12);
    }
    .product-card__price {
      font-size: var(--font-14);
    }
  }

  @container (min-width: 300px) {
    .product-card__title {
      font-size: var(--font-16);
    }
    .product-card__price {
      font-size: var(--font-18);
    }
  }
}

/* ========== SEARCH PAGE ========== */
.search-page {
  padding: 0;
}

.search-header {
  padding: 16px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-bg-light);
  position: sticky;
  top: 56px;
  z-index: 50;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-bg-light);
  border-radius: var(--radius-full);
}

.search-input-wrap svg {
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: none;
  font-size: var(--font-14);
  color: var(--color-text-dark);
}

.search-input::placeholder {
  color: var(--color-text-light);
}

.search-btn {
  padding: 8px 16px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--font-14);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.search-categories {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.search-categories::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex-shrink: 0;
  padding: 8px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-bg-light);
  border-radius: var(--radius-full);
  font-size: var(--font-14);
  color: var(--color-text-dark);
  cursor: pointer;
  transition: all 0.2s;
}

.category-chip.active,
.category-chip:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.search-results {
  padding: 16px;
}

.search-results__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.search-results__count {
  font-size: var(--font-14);
  color: var(--color-text-gray);
}

.search-sort {
  padding: 8px 12px;
  background: var(--color-white);
  border: 1px solid var(--color-bg-light);
  border-radius: var(--radius-sm);
  font-size: var(--font-14);
  color: var(--color-text-dark);
  cursor: pointer;
}

.search-results__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .search-results__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .search-results__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
