/* Base */
:root {
  --bg: #F9FAFB;
  --bg2: #FFFFFF;
  --line: #E5E7EB;
  --text: #1F2937;
  --muted: #4B5563;
  --muted2: #6B7280;
  --primary: #3B82F6;
  --primary-hover: #2563EB;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  /* ONMAD brand gradient (로고 색상) */
  --brand-start: #FF6A3D;  /* 오렌지 */
  --brand-end:   #E24F95;  /* 핑크 */
  --brand-grad: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  --brand-glow: 0 0 24px rgba(226,79,149,.25), 0 0 12px rgba(255,106,61,.25);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo a {
  font-weight: 700;
  font-size: 1.4rem;
  color: #111827;
  text-decoration: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu a {
  color: var(--muted2);
  text-decoration: none;
  font-weight: 500;
}

.nav-menu a:hover {
  color: #111827;
}

.instagram-link i {
  font-size: 1.25rem;
  color: var(--muted2);
}

.instagram-link i:hover {
  color: #111827;
}

.hamburger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111827;
  margin: 5px 0;
}

/* Hero */
.hero {
  background: #F3F4F6;
  text-align: center;
  padding: 120px 16px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: 2.8rem;
  line-height: 1.2;
}

.hero-title .highlight {
  color: var(--muted2);
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--muted);
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  background: var(--muted2);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
}

.cta-button:hover {
  background: #4B5563;
}

/* Sections */
.section-title {
  font-size: 1.6rem;
  margin: 0 0 16px;
  line-height: 1.3;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 16px;
}

/* Intro cards */
.intro {
  background: var(--bg2);
}

.intro-header {
  text-align: center;
  margin-bottom: 40px;
}

.intro-logo {
  margin-bottom: 24px;
}

.logo-text {
  font-size: 3.5rem;
  font-weight: 900;
  color: #111827; /* 검정색으로 변경 */
  letter-spacing: -0.02em;
}

.logo-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.intro-description {
  text-align: center;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.value-card {
  background: #F8FAFC;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.value-icon {
  font-size: 2rem;
  color: var(--muted2);
  margin-bottom: 10px;
}

/* Project */
.project .image-placeholder {
  background: #EEF2F7;
  color: #96A2B4;
  border: 1px dashed #D5DDE6;
  border-radius: 8px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Goods */
.goods .goods-description {
  color: var(--muted);
}

.goods-note {
  color: var(--muted);
  font-size: .95rem;
  margin-top: -8px;
  margin-bottom: 18px;
}

.donation-highlight {
  color: #DC2626;
  font-weight: 600;
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 4px solid #DC2626;
  display: inline-block;
  margin: 8px 0;
}

.goods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-badge {
  position: absolute;
  margin: 10px;
  background: #111827;
  color: #fff;
  font-size: .8rem;
  padding: 4px 8px;
  border-radius: 999px;
}

.product-image {
  height: 200px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-image:hover .product-image-img {
  transform: scale(1.05);
}

.image-placeholder {
  color: #98A2B3;
}

.product-info {
  padding: 16px;
}

.product-info h3 {
  margin: 0 0 6px;
}

.product-info p {
  margin: 0 0 8px;
  color: var(--muted);
}

.product-price {
  font-weight: 700;
  margin: 6px 0 12px;
}

.buy-button {
  border: 0;
  background: var(--muted2);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.buy-button:hover {
  background: #4B5563;
}

/* Instagram */
.instagram-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--muted2);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
}

.instagram-button:hover {
  background: #4B5563;
}

/* Footer */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--line);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted2);
}

.footer-links a:hover {
  color: #111827;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

/* Modal (order) */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
  visibility: hidden;
}

.modal.show {
  display: block !important;
  opacity: 1;
  visibility: visible;
}

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

.order-modal-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 5% auto;
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
  max-height: 80vh;
  overflow: auto;
}

.order-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
}

.order-modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-product-info {
  display: flex;
  gap: 14px;
  align-items: center;
}

.order-product-image {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.order-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
  padding: 8px;
}

.order-product-text h3 {
  margin: 0;
}

.order-product-text p {
  margin: 6px 0 0;
  color: var(--muted);
  white-space: pre-line;
}

.order-options h4,
.order-shipping h4,
.order-info-fields h4 {
  margin: 0 0 10px;
}

.order-option-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  cursor: pointer;
}

.order-option-item:hover {
  background: #F9FAFB;
}

.order-option-item input {
  accent-color: #111827;
}

.order-shipping label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
}

.order-info-fields label {
  display: block;
  margin-bottom: 12px;
}

.order-info-fields input,
.order-info-fields textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.order-total {
  text-align: right;
  font-weight: 700;
}

.order-actions {
  text-align: right;
  position: sticky;
  bottom: 0;
  background: #fff;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

/* 모바일에서 버튼을 한 줄 가득 */
.checkout-button.w-full {
  width: 100%;
}

/* Payment / Summary / My Page */
.payment-section .payment-box {
  background: #F8FAFC;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0 20px;
}

.payment-amount {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  text-align: center;
  margin: 30px 0;
  padding: 20px;
  background: var(--bg);
  border-radius: 12px;
  border: 2px solid var(--primary);
}

.donation-note {
  color: var(--muted);
  background: var(--bg);
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid var(--success);
  margin-top: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.checkout-button {
  border: 0;
  background: var(--primary);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.checkout-button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.checkout-button:active {
  transform: translateY(0);
}

.checkout-button.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: #111827;
}

.order-summary p {
  margin: 6px 0;
  color: var(--muted);
}

.status-line {
  margin-top: 10px;
}

.mypage-login {
  max-width: 420px;
  margin: 0 auto;
}

.mypage-login input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.mypage-order {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #F9FAFB;
  padding: 16px;
  margin: 12px 0;
}

/* Privacy */
.privacy-policy {
  background: var(--bg2);
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

.privacy-policy .section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.privacy-policy p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.privacy-policy p strong {
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}

/* 푸터 아래 토글 패널 */
.privacy-panel[hidden] { 
  display: none; 
}

.privacy-panel {
  background: #F9FAFB;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

/* 버튼처럼 보이는 텍스트 링크 */
.linklike {
  background: transparent;
  border: 0;
  color: var(--muted2);
  cursor: pointer;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.linklike:hover { 
  color: #111827; 
}

.linklike:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 840px) {
  /* 모바일 네비게이션 */
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    flex-direction: column;
    gap: 12px;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .hamburger {
    display: block;
  }
  
  /* 모바일 레이아웃 */
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.2rem;
    text-wrap: balance; /* 균형잡힌 줄바꿈 */
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* 모바일 그리드 최적화 */
  .goods-grid {
    grid-template-columns: minmax(280px, 1fr);
    gap: 20px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .project-images {
    grid-template-columns: 1fr;
  }
  
  /* 모바일 결제 UI 개선 */
  .checkout-button {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.1rem;
    margin: 10px 0;
    min-height: 56px; /* 터치 타겟 최적화 */
  }
  
  /* 모바일에서 결제 버튼이 항상 보이도록 */
  .order-actions {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  }
  
  .payment-amount {
    font-size: 1.3rem;
    padding: 16px;
    margin: 20px 0;
  }
  
  .order-modal-content {
    margin: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }
  
  .order-options label,
  .order-shipping label {
    display: block;
    margin: 12px 0;
    padding: 12px;
    background: var(--bg);
    border-radius: 8px;
    border: 1px solid var(--line);
  }
  
  .order-info-fields label {
    display: block;
    margin: 16px 0;
  }
  
  .order-info-fields input,
  .order-info-fields textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 16px; /* 모바일에서 자동 확대 방지 */
  }
  
  .privacy-content {
    padding: 0 16px;
  }
  
  .privacy-policy p {
    padding: 12px;
    margin-bottom: 16px;
  }
}

/* 작은 모바일 화면 최적화 */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
  }
  
  .goods-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .project-images .image-item {
    min-width: 200px;
  }
  
  .project-images .project-image {
    width: 200px;
    height: 150px;
  }
  
  .product-card {
    padding: 16px;
  }
  
  .product-info h3 {
    font-size: 1.2rem;
  }
  
  .product-info p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .order-modal-content {
    margin: 12px;
    padding: 16px;
  }
  
  .order-actions {
    padding: 12px 0;
  }
  
  .checkout-button {
    padding: 16px 20px;
    font-size: 1rem;
  }
}

/* ===== ONMAD BRAND UTIL ===== */
.brand-text        { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-bg          { background: var(--brand-grad); color:#fff; }
.brand-border      { border-image: var(--brand-grad) 1; border-width: 2px; border-style: solid; }
.brand-underline   { background: linear-gradient( to right, transparent, transparent), var(--brand-grad); background-clip: content-box, text; }
.brand-chip        { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; background:rgba(226,79,149,.08); border:1px solid rgba(226,79,149,.25); color:#111827; font-weight:600; }
.glow              { box-shadow: var(--brand-glow); }

/* 버튼 변형 */
.btn-gradient {
  background: var(--brand-grad);
  color:#fff; border:0; border-radius:12px; padding:12px 18px; font-weight:700; cursor:pointer; transition:transform .12s ease, filter .2s ease;
}
.btn-gradient:hover { transform: translateY(-1px); filter: brightness(1.02); }
.btn-gradient:active { transform: translateY(0); }

/* 섹션 타이틀 강조선 */
.section-title { 
  position: relative; 
  text-align: center;
}

.section-title::after {
  content: ""; 
  position: absolute; 
  left: 50%; 
  bottom: -8px; 
  width: 72px; 
  height: 4px; 
  border-radius: 4px; 
  background: var(--brand-grad);
  transform: translateX(-50%);
}

/* 제품 배지/강조 */
.product-badge { background: var(--brand-grad); box-shadow: var(--brand-glow); }

/* CTA/구매 버튼 교체 */
.cta-button, .buy-button, .instagram-button { background: var(--brand-grad); }
.cta-button:hover, .buy-button:hover, .instagram-button:hover { filter: brightness(1.02); }

/* 모달 결제 버튼 */
.checkout-button { background: var(--brand-grad); box-shadow: 0 2px 8px rgba(226,79,149,.25); }
.checkout-button:hover { filter: brightness(1.02); transform: translateY(-1px); }
.checkout-button.ghost { background:transparent; border:1px solid rgba(226,79,149,.45); color:#111827; }

/* 옵션 토글 칩 */
.option-chip {
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; margin:6px 8px 0 0; border-radius:999px;
  background:#fff; border:1px solid var(--line); cursor:pointer; user-select:none;
}
.option-chip.selected { background: rgba(226,79,149,.08); border-color: rgba(226,79,149,.55); box-shadow: var(--brand-glow); }
.option-chip input { display:none; }

/* ===== 주문조회 섹션 ===== */
.orders-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.orders-header {
  text-align: center;
  margin-bottom: 60px;
}

.orders-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 8px;
}

.orders-container {
  max-width: 600px;
  margin: 0 auto;
}

.orders-login-form {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.form-header h3 {
  font-size: 1.5rem;
  margin: 16px 0 8px 0;
  color: var(--text);
}

.form-header p {
  color: var(--muted);
  margin: 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input {
  padding: 16px 20px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.orders-login-btn {
  background: var(--brand-grad);
  color: white;
  border: none;
  padding: 18px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(226, 79, 149, 0.3);
}

.orders-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(226, 79, 149, 0.4);
}

.orders-login-btn:active {
  transform: translateY(0);
}

.orders-result {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
  margin-top: 24px;
}

.result-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--line);
}

.result-header i {
  font-size: 2rem;
  color: var(--success);
}

.result-header h3 {
  margin: 0;
  color: var(--text);
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== 엽서 갤러리 ===== */
.postcard-gallery {
  margin: 24px 0;
  padding: 20px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.postcard-gallery h4 {
  margin: 0 0 16px 0;
  color: var(--text);
  font-size: 1.1rem;
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.gallery-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--line);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-image:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* ===== 프로젝트 섹션 ===== */
.project .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

/* ===== 프로젝트 이미지 ===== */
.project-images {
  margin: 32px 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.project-images::-webkit-scrollbar {
  height: 6px;
}

.project-images::-webkit-scrollbar-track {
  background: transparent;
}

.project-images::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}

.project-images::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

/* 이미지가 잘리지 않도록 설정 */
.project-images .image-item {
  flex-shrink: 0;
  min-width: 300px;
}

.project-images .project-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.image-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.image-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.project-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  filter: brightness(0.95);
}

.project-image:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  filter: brightness(1.05);
}

/* ===== 프로세스 스텝 ===== */
.process-steps {
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
}

.step-number {
  background: var(--brand-grad);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-content h5 {
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.step-content p {
  margin: 0;
  color: var(--muted2);
  line-height: 1.6;
}

/* ===== 인트로 로고 ===== */
.intro-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.logo-text {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.logo-text:hover {
  color: #FF6B9D;
}

.logo-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #FF6B9D;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.logo-text:hover::after {
  transform: scaleX(1);
}

/* ===== 인트로 로고 화살표 ===== */
.intro-logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.intro-team-toggle-btn {
  background: none;
  border: none;
  color: #111827;
  font-size: 3.5rem;
  font-weight: 900;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.02em;
}

.intro-team-toggle-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.intro-team-toggle-btn:hover::before {
  left: 100%;
}

.intro-team-toggle-btn:hover {
  background: rgba(255, 106, 61, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(226, 79, 149, 0.3);
}

.intro-team-toggle-btn:active {
  transform: translateY(0);
}

.intro-team-toggle-btn.active {
  background: var(--brand-grad);
  color: white;
  box-shadow: var(--brand-glow);
}

/* ===== 인라인 팀 패널 ===== */
.team-panel-inline {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
  opacity: 0;
  transform: translateY(-20px);
}

.team-panel-inline.active {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
  margin: 40px 0;
}

.team-panel-content-inline {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
}

.team-header-inline {
  text-align: center;
  margin-bottom: 40px;
}

.team-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  position: relative;
}

.team-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 72px;
  height: 4px;
  border-radius: 4px;
  background: var(--brand-grad);
  transform: translateX(-50%);
}

.team-content-inline {
  max-width: 1000px;
  margin: 0 auto;
}

.team-grid-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.team-member-inline {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--line);
}

.team-member-inline:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.member-avatar-inline {
  text-align: center;
  margin-bottom: 24px;
}

.member-avatar-inline i {
  font-size: 4rem;
  color: var(--brand-start);
  opacity: 0.8;
}

.member-info-inline {
  text-align: center;
}

.member-name-inline {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.member-role-inline {
  font-size: 1.1rem;
  color: var(--brand-start);
  font-weight: 600;
  margin-bottom: 16px;
}

.member-motto-inline {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 20px;
  padding: 12px 20px;
  background: rgba(255, 106, 61, 0.05);
  border-radius: 25px;
  border-left: 4px solid var(--brand-start);
}

.member-details-inline {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.member-details-inline li {
  padding: 8px 0;
  color: var(--muted2);
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}

.member-details-inline li::before {
  content: "•";
  color: var(--brand-end);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 8px;
}

/* ===== 반응형 디자인 ===== */
@media (max-width: 768px) {
  .intro-team-toggle-btn {
    font-size: 2.5rem;
    padding: 6px 12px;
  }
  
  .team-panel-inline.active {
    margin: 24px 0;
  }
  
  .team-panel-content-inline {
    padding: 24px;
    margin: 0 16px;
  }
  
  .team-title {
    font-size: 1.6rem;
  }
  
  .team-grid-inline {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .team-member-inline {
    padding: 24px;
  }
  
  .member-avatar-inline i {
    font-size: 3rem;
  }
  
  .member-name-inline {
    font-size: 1.3rem;
  }
  
  .member-role-inline {
    font-size: 1rem;
  }
  
  .member-motto-inline {
    font-size: 1.1rem;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  .intro-team-toggle-btn {
    font-size: 2rem;
    padding: 4px 8px;
  }
  
  .team-panel-content-inline {
    padding: 20px;
    margin: 0 12px;
  }
  
  .team-title {
    font-size: 1.4rem;
  }
  
  .team-member-inline {
    padding: 20px;
  }
  
  .member-avatar-inline i {
    font-size: 2.5rem;
  }
  
  .member-name-inline {
    font-size: 1.2rem;
  }
  
  .member-role-inline {
    font-size: 0.95rem;
  }
  
  .member-motto-inline {
    font-size: 1rem;
    padding: 8px 14px;
  }
  
  .member-details-inline li {
    font-size: 0.9rem;
    padding: 6px 0;
    padding-left: 18px;
  }
}

/* 상품 갤러리 스타일 */
.product-gallery {
  margin: 15px 0;
}

.gallery-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.gallery-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.gallery-thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}

.gallery-thumb.active {
  border-color: var(--brand-start);
  opacity: 1;
}

/* 모바일에서 갤러리 썸네일 */
@media (max-width: 768px) {
  .gallery-thumb {
    width: 50px;
    height: 50px;
  }
  
  .gallery-thumbnails {
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .gallery-thumb {
    width: 45px;
    height: 45px;
  }
  
  .gallery-thumbnails {
    gap: 5px;
  }
}

/* 관리자 패널 스타일 */
.admin-panel {
  background: var(--bg2);
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

/* 관리자 로그인 폼 */
.admin-login-form {
  max-width: 400px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.admin-login-form .form-header {
  text-align: center;
  margin-bottom: 24px;
}

.admin-login-form .form-header i {
  font-size: 3rem;
  color: var(--brand-start);
  margin-bottom: 16px;
}

.admin-login-form .form-header h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 8px;
}

.admin-login-form .form-header p {
  color: var(--muted2);
  font-size: 0.95rem;
}

/* 관리자 기능 */
.admin-functions {
  max-width: 600px;
  margin: 0 auto;
}

.admin-content {
  max-width: 600px;
  margin: 0 auto;
}

.admin-section {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.admin-section h3 {
  margin-bottom: 24px;
  color: var(--text);
  font-size: 1.25rem;
}

.admin-form .form-group {
  margin-bottom: 20px;
}

.admin-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.admin-form input,
.admin-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  background: white;
}

.admin-form input:focus,
.admin-form select:focus {
  outline: none;
  border-color: var(--brand-start);
  box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.1);
}

.admin-button {
  background: var(--brand-grad);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.admin-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--brand-glow);
}

.admin-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 관리자 패널 모바일 반응형 */
@media (max-width: 768px) {
  .admin-panel {
    padding: 40px 0;
  }
  
  .admin-section {
    padding: 24px;
    margin: 0 16px;
  }
}

/* ===== 주문 요약 섹션 ===== */
.order-summary-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

.order-summary-item {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}

.order-summary-item h4 {
  color: var(--text);
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.order-summary-item p {
  margin: 12px 0;
  color: var(--muted2);
  line-height: 1.6;
}

.order-summary-item strong {
  color: var(--text);
  font-weight: 600;
}

.status-line {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid var(--line);
  text-align: center;
}

.status-line strong {
  color: var(--text);
  font-weight: 600;
}

#shippingStatus {
  color: var(--primary);
  font-weight: 600;
}

.summary-actions {
  text-align: center;
  margin-top: 24px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .order-summary-section {
    padding: 40px 0;
  }
  
  .order-summary-item {
    padding: 24px;
    margin: 0 16px 20px 16px;
  }
  
  .order-summary-item h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }
  
  .order-summary-item p {
    margin: 10px 0;
    font-size: 0.95rem;
  }
}
