.intro-main {
  min-height: 779px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 90px;
  background-image: linear-gradient(180deg,#fff 0%,#ffffff00 42%,#ffffff1a 100%),linear-gradient(#fcfcfca6,#fcfcfca6),url('../images/bg.png');
  background-size: 100% 100%,100% 1081px,1920px 1081px;
  background-position: center top;
  background-repeat: no-repeat;
}

.gates { display: flex; align-items: center; justify-content: center; gap: 24px; width: 1200px; max-width: 100%; }
.gate { width: 385px; height: 385px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 24px; border: 3px solid var(--green); color: var(--green); background: linear-gradient(135deg,#fcfcfc33 52%,#feffcf1a),white; box-shadow: 0 4px 6px #0f172a08,0 12px 16px #0f172a12; }
.gate.member { border: 0; color: white; background: linear-gradient(90deg,#34d399,#22c55e); box-shadow: 0 6px 8px #22c55e1f,0 16px 18px #22c55e33; }
.gate>.icon { width: 64px; height: 64px; }
.gate strong { font-size: 24px; font-weight: 800; line-height: 1.25; }
.intro-page .site-footer { min-height: 301px; background: white; padding: 40px 0; border-top: 1px solid var(--line); }
.intro-page .site-footer nav { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; gap: 18px; }
.intro-page .site-footer p { margin: 0; line-height: 16px; font-size: 12px; font-weight: 400; }

/* 최신 Figma 메인 - 인트로: 미디어 히어로와 접근 유형 선택 */
.intro-main { min-height: 0; display: block; padding: 0; background: white; }
.intro-media { min-height: 560px; display: flex; align-items: end; justify-content: center; padding: 56px 24px; background: linear-gradient(180deg,#071b2d21 10%,#071b2de8 100%),url('../images/bg.png') center/cover no-repeat; }
.intro-trust { width: min(1200px,100%); padding: 48px 64px; color: white; background: #071b2dc2; }
.intro-trust p:first-child { color: #b9f227; font-size: 18px; font-weight: 800; }
.intro-trust h1 { margin: 10px 0 18px; font-size: 48px; line-height: 1.2; font-weight: 800; }
.intro-trust p:last-child { max-width: 650px; color: #ffffffd9; font-size: 16px; line-height: 1.5; }
.access-console { width: min(1200px,calc(100% - 48px)); margin: 0 auto; padding: 52px 0 64px; }
.intro-brand { display: inline-flex; align-items: center; }
.intro-brand img { width: 118px; height: 29px; object-fit: contain; }
.access-options { margin-top: 32px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 24px; }
.access-options>p { grid-column: 1 / -1; color: #687386; font-size: 16px; }
.access-options .gate { width: auto; height: 130px; padding: 24px; border: 1px solid #dde4e8; box-shadow: none; flex-direction: row; justify-content: flex-start; gap: 16px; color: #101827; }
.access-options .gate>.icon { width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: #ddfbe9; }
.access-options .gate strong { flex: 1; font-size: 20px; }
.access-options .gate span { color: var(--green); font-size: 24px; }
.access-options .gate.member { background: var(--green); border-color: var(--green); color: white; }
.access-options .gate.member>.icon { background: #ffffff26; }
.access-options .gate.member span { color: white; }
.intro-support { display: flex; align-items: center; gap: 8px; margin-top: 24px; color: #687386; font-size: 13px; }
.intro-support i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* New-PC 410:313 — 모바일과 다른 좌측 미디어 / 우측 접근 콘솔 */
@media (min-width: 1025px) {
  .intro-page .intro-main { display: flex; min-height: 890px; }
  .intro-page .intro-media { position: relative; width: min(48.4375vw,930px); min-height: 890px; padding: 0; justify-content: flex-start; align-items: flex-end; background-image: url('../images/intro/medical-gas-laboratory.png'); background-size: auto 100%; background-position: 33.3% center; }
  .intro-page .intro-media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,#071b2d33 0%,#071b2de0 100%); }
  .intro-page .intro-trust { position: relative; z-index: 1; width: 706px; max-width: calc(100% - 90px); min-height: 196px; margin: 0 45px 88px auto; padding: 24px 28px; background: #071b2dc2; }
  .intro-page .intro-trust p:first-child { font-size: 13px; }
  .intro-page .intro-trust h1 { margin: 14px 0; font-size: 40px; }
  .intro-page .intro-trust p:last-child { font-size: 16px; line-height: 24px; }
  .intro-page .access-console { flex: 1 1 0; width: auto; min-height: 890px; margin: 0; padding: 70px 110px 84px; display: flex; flex-direction: column; justify-content: space-between; }
  .intro-page .intro-brand img { width: 118px; height: 29px; }
  .intro-page .access-options { display: flex; flex-direction: column; gap: 16px; margin: 0; }
  .intro-page .access-options>p { margin-bottom: 16px; font-size: 17px; }
  .intro-page .access-options .gate { flex: none; width: 100%; height: 150px; padding: 30px; gap: 24px; }
  .intro-page .access-options .gate>.icon { width: 70px; height: 70px; padding: 14px; }
  .intro-page .access-options .gate strong { font-size: 22px; }
  .intro-page .access-options .gate span { font-size: 28px; }
  .intro-page .intro-support { margin: 0; gap: 12px; font-size: 13px; }
  .intro-page .intro-support i { width: 8px; height: 8px; }
  .intro-page .site-footer { min-height: 0; padding: 28px 180px; }
  .intro-page .site-footer .container { width: 100%; }
}

/* 11. 비회원 메인 · 최신 Figma 238:2796 */
.guest-home { --header: 80px; }
.guest-home .site-header .logo { width: 118px; }
.guest-home .desktop-nav a[href="login.html"] { color: var(--green); border: 1px solid var(--green); font-size: 14px; padding: 3px 8px; }

.guest-hero { height: 661px; padding: 80px 24px 50px; display: flex; justify-content: center; align-items: center; background: url('../images/bg.png') center 44.34% / 100% 124.47% no-repeat; }
.hero-content { width: 1200px; max-width: 100%; height: 345px; padding: 48px 64px; border-radius: 4px; background: #000c; color: white; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px; }
.hero-caption { font-size: 18px; opacity: .9; line-height: 22px; margin-bottom: 10px; }
.hero-content h1 { font-size: 48px; line-height: 1.2; font-weight: 700; }
.hero-description { max-width: 600px; font-size: 16px; line-height: 24px; opacity: .85; }
.guest-catalog { padding-top: 100px; padding-bottom: 100px; }
.guest-copy { text-align: center; margin-bottom: 60px; }
.guest-copy h2 { font-size: 48px; font-weight: 700; line-height: 1.25; letter-spacing: -.816px; }
.guest-copy h2 strong { color: #00ad55; font-weight: 900; }
.guest-copy p { font-size: 18px; line-height: 1.25; margin-top: 12px; letter-spacing: -.306px; }
.guest-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px 24px; }
.guest-card { min-width: 0; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; background: white; border: 2px solid transparent; transition: 0.2s ease-in-out;}
.guest-card:hover, .guest-card:focus-visible { border-color: var(--green); box-shadow: 0 0 4px #22c55e59; }
.guest-card-image { width: 248px; height: 248px; max-width: calc(100% + 10px); background: #fcfcfc; display: block; overflow: hidden; }
.guest-card-image img { width: 100%; height: 100%; object-fit: contain; }
/* 이미지가 없거나 불러오지 못해 회색 로고로 대체된 경우 */
.guest-card-image img.product-image-placeholder { box-sizing: border-box; padding: 60px; opacity: 0.25; }
.guest-card h3 { font-size: 20px; line-height: 28px; font-weight: 600; text-align: center; white-space: normal; word-break: keep-all; }
.guest-location { padding-top: 70px; padding-bottom: 100px; }
.guest-location>h2 { font-size: 38px; line-height: 1; font-weight: 700; text-align: center; margin-bottom: 50px; }
.guest-location>h2::after { content: ''; display: block; width: 206px; height: 4px; margin: 15px auto 0; background: var(--green); }
.location-map { height: 400px; position: relative; overflow: hidden; background: #f3f4f6; }
.location-map img { position: absolute; width: 100%; height: 237.74%; top: -56.78%; object-fit: fill; }
.location-contacts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: #1e1e1e; color: white; }
.location-contacts section { min-width: 0; min-height: 140px; padding: 24px 24px 12px; display: flex; flex-direction: column; align-items: start; gap: 8px; }
.location-contacts img { width: 20px; height: 20px; }
.location-contacts h3 { font-size: 14px; line-height: 20px; font-weight: 700; color: #b7d3c4; }
.location-contacts p,.location-contacts a { font-size: 16px; line-height: 24px; font-weight: 500; }
.location-contacts .location-phone { background: var(--green); }
.location-phone h3 { color: white; }
.location-phone a { font-size: 26px; line-height: 32px; font-weight: 700; white-space: nowrap; }
.location-note { font-size: 12px; line-height: 18px; font-weight: 500; margin-top: 20px; }
.guest-home .site-footer { padding: 40px 0; background: #f9fafb; border-top: 1px solid var(--line); }
.guest-home .site-footer nav { padding-bottom: 16px; border-bottom: 1px solid var(--line); gap: 18px; margin-bottom: 16px; font-size: 12px; line-height: 14px; }
.guest-home .site-footer nav a:last-child { font-weight: 400; color: var(--muted); }
.guest-home .site-footer p { margin: 0; font-size: 12px; line-height: 16px; font-weight: 400; }

/* 최신 Figma 비회원 제품정보 */
.guest-product { --header: 80px; }
.guest-product .site-header .logo { width: 118px; }
.guest-product .desktop-nav a[href="login.html"] { color: var(--green); border: 1px solid var(--green); font-size: 14px; padding: 3px 8px; }
.product-page-content { width: min(1200px,calc(100% - 48px)); margin: 0 auto; padding: 80px 0 120px; }
.product-page-content .product-detail-wrap { display: flex; flex-direction: column; align-items: center; gap: 30px; padding-top: 50px; border-top: 1px solid var(--line); }
.product-page-content .product-detail-wrap>.product-image { width: 480px; max-width: 100%; aspect-ratio: 1; object-fit: contain; background: white; border: 2px solid var(--line); }
.product-page-content .product-detail-wrap>div { width: min(560px,100%); padding-top: 24px; text-align: center; }
.product-page-content .product-detail-wrap h2 { display: inline-block; margin: 0 0 28px; padding-bottom: 16px; border-bottom: 4px solid var(--green); font-size: 32px; line-height: 1.35; font-weight: 800; }
.product-page-content .product-detail-wrap p { margin: 0; color: var(--muted); }
.product-page-content .product-detail-wrap .product-inquiry { margin-bottom: 8px; color: var(--green); font-size: 14px; font-weight: 700; }
.product-page-content .product-detail-wrap .product-phone { display: block; margin-bottom: 4px; color: var(--ink); font-size: 24px; line-height: 32px; font-weight: 800; }
.product-page-content .product-detail-wrap .product-hours { font-size: 12px; line-height: 18px; }
.product-page-content .product-description { margin-top: 72px; padding: 32px 0 0; border-top: 0; }
.product-page-content .product-description h3 { margin: 0 0 56px; padding: 0 0 16px; text-align: center; font-size: 18px; line-height: 24px; border-bottom: 2px solid var(--green); }
.product-description-intro { margin-bottom: 56px; text-align: center; }
.product-description-intro h4 { color: #159447; font-size: 18px; line-height: 24px; }
.product-description-intro p { margin-top: 12px !important; color: var(--muted) !important; font-size: 12px; line-height: 18px; }
.product-description-content { color: var(--ink); font-size: 14px; line-height: 1.75; }
.product-description-content>p { margin: 0 0 8px !important; color: var(--ink) !important; }
.product-description-content .notice-heading { margin: 32px 0 8px; color: #c0392b; font-size: 14px; line-height: 24px; }
.product-notice-list, .product-notice-list ol { margin: 0; padding-left: 22px; }
.product-notice-list>li { margin-bottom: 10px; }
.product-notice-list li::marker { color: var(--text); }
.product-notice-list strong { font-weight: 500; }
.product-notice-list p { margin: 4px 0 0; color: var(--ink); }
.product-notice-list ol { margin-top: 4px; }
.product-notice-list ol li { padding-left: 2px; }
.product-contact-divider { margin-top: 56px; border-top: 1px solid var(--line); }
.product-page-content .product-list-button { display: flex; width: min(480px,100%); gap: 12px; margin: 32px auto 0; min-height: 56px; }
.product-page-content .product-list-button .list-icon { width: 20px; height: 20px; flex: 0 0 auto; }

/* 12. 로그인 */
.login-card>.logo{
  margin: 0 auto 40px;
}

.login-card .logo img{
  height: 28px;
  object-fit: contain;
}

.login-card .field{
  gap: 6px;
}

.login-card .field>span {
  font-size: 14px;
}

.login-main {
  grid-template-columns: minmax(0, 1fr);
  background: linear-gradient(180deg,#ffffff55,#ffffffcc),url('../images/sample.png') center/cover no-repeat;
  min-height: 780px;
  display: grid;
  place-items: center;
  padding: 60px 24px;
}

.login-card {
  width: 520px;
  max-width: 100%;
  background: white;
  padding: 60px 50px;
  border: 1px solid var(--line);
}


.login-card h1 {
  position: absolute;
  clip: rect(0,0,0,0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.login-card form>.button {
  width: 100%;
  min-height: 52px;
}

.login-card .helper {
  text-align: center;
  margin-top: 24px;
}

/* 20. 상품 목록 · 옵션 · 수량 */
.list-wrap {
  padding: 32px 24px;
  transition: margin-right .28s ease;
}

.list-item-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.product-card {
  min-width: 0;
  border: 1px solid transparent;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
}

.product-card:hover {
  border-color: var(--green);
  box-shadow: 0 0 4px #22c55e59;
}

.product-card:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 4px #22c55e59;
}

.product-image {
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--paper);
}

.product-card .product-image-placeholder {
  box-sizing: border-box;
  padding: 25%;
  object-position: center;
  opacity: 0.25;
  background: #f5f5f5;
}

.product-card h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 800;
}

.product-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 20px;
  margin-top: 6px;
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option {
  padding: 6px 12px;
  font-size: 12px;
  line-height: 15px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.option.selected {
  background: #ff0004;
  color: white;
  border-color: #ff0004;
  font-weight: 800;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
}

.product-actions .button {
  padding: 10px 6px;
  font-weight: 800;
}

.product-actions .button .icon {
  width: 20px;
  height: 20px;
}

.dialog-footer .button .icon{
  width: 24px;
  height: 24px;
}

.quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--input-line);
  height: 48px;
  min-width: 0;
  background: white;
}

.quantity-control button {
  height: 100%;
  flex: 1;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-control .icon {
  width: 16px;
  height: 16px;
}

.quantity-control output {
  font-size: 16px;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
  color: #38404a;
}

.load-sentinel {
  margin-top: 24px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.load-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  height: 28px;
}

.load-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  opacity: .2;
  transform: translateY(5px);
  animation: load-dot-bounce .9s ease-in-out infinite;
}

.load-dots span:nth-child(2) {
  animation-delay: .15s;
}

.load-dots span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes load-dot-bounce {
  0%,
  100% {
    opacity: .2;
    transform: translateY(5px);
  }

  50% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

.load-sentinel button {
  padding: 8px 16px;
}

.load-sentinel p {
  min-height: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .load-dots span {
    animation: none;
  }
}

.empty-state {
  padding: 120px 16px;
  text-align: center;
}

.empty-state>.icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  opacity: .4;
}

.empty-state p {
  margin: 12px 0 24px;
  color: var(--muted);
}

.quantity-control button:disabled:has(.icon-remove_disabled) {
  opacity: 1;
}

@media (min-width: 1025px) {
  .list-item-wrap {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .order-open .list-wrap {
    margin-inline: auto;
  }

  .order-open .list-item-wrap {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .order-open .list-item-wrap>.product-card:nth-child(odd) {
    grid-column: 1;
  }

  .order-open .list-item-wrap>.product-card:nth-child(even) {
    grid-column: 2;
  }

}

/* 20-1. 장바구니 플로팅 버튼 · PC는 1200px 콘텐츠 우측 끝에 맞춤 */
.cart-fab {
  position: fixed;
  right: max(24px, calc((100% - 1294px) / 2));
  bottom: 40px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--red);
  box-shadow: 0 2px 8px #1118271a;
  cursor: pointer;
}

.cart-fab .icon {
  width: 24px;
  height: 24px;
}

.order-open .cart-fab {
  display: none;
}

/* 21. 상품 상세 */
.product-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.product-detail-wrap>.product-image {
  max-width: 360px;
}

.product-detail-wrap h2 {
  margin: 16px 0;
}

.product-detail-wrap p {
  margin-bottom: 20px;
  color: var(--muted);
}

.product-description {
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

/* 30. 주문 · 수량 확인 · 정보 입력 · 결제 */
.payment-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}

.payment-summary dd {
  font-weight: 700;
  font-size: 20px;
}

.form-section .field>span:not(.field-heading) {
  font-size: 14px;
}

.order-box h3 .icon {
  width: 22px;
  height: 22px;
}

.order-heading h2 .icon {
  width: 22px;
  height: 22px;
}

.form-section h3 .icon {
  width: 24px;
  height: 24px;
}

.order-dialog {
  position: fixed;
  inset: var(--header) 0 0 auto;
  margin: 0;
  width: calc(var(--drawer) - 24px);
  height: calc(100dvh - var(--header));
  overflow: visible;
  background: white;
  box-shadow: -8px 0 24px #1118270f;
}

.order-dialog[open] {
  display: block;
  animation: slide-right .28s ease both;
}

.order-summary-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: white;
}

.order-heading {
  padding: 32px 40px;
  align-items: flex-start;
}

.order-heading h2 {
  font-size: 28px;
}

.order-heading p {
  margin-top: 10px;
}

.order-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  flex: 1;
  min-height: 0;
  padding: 28px 40px;
}

.order-box {
  border: 1px solid var(--line);
  padding: 24px;
}

.order-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.order-item {
  display: grid;
  grid-template-columns: 100px minmax(0,1fr) 32px;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

#order-items .order-item {
  grid-template-columns: 100px minmax(0,1fr);
}

.order-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.order-item img.item-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.order-item img.item-image.product-image-placeholder {
  box-sizing: border-box;
  padding: 24px;
  object-position: center;
  opacity: 0.25;
  background: #f5f5f5;
}

.order-item h4 {
  font-size: 18px;
  margin: 0 0 6px;
}

.order-item p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.item-info-box {
  min-width: 0;
  min-height: 100px;
}

.item-action-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-item .quantity-control {
  width: 116px;
  height: 40px;
}

.order-item .remove-item {
  width: 40px;
  height: 40px;
  padding: 6px;
  min-height: 40px;
  background: #ef4444;
  box-sizing: border-box;
}

.order-item .remove-item .icon {
  width: 18px;
  height: 18px;
}

[data-action="order-back"] .icon {
  width: 24px;
  height: 24px;
}

[data-action="pay"] .icon {
  width: 24px;
  height: 24px;
}

.order-dialog.checkout {
  width: 100%;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  animation: none;
}

.order-dialog.checkout .order-summary-panel {
  position: absolute;
  right: 0;
  width: var(--drawer);
  pointer-events: auto;
}

.checkout .order-summary-panel .order-quantity-footer {
  display: none;
}

.checkout-panel {
  position: absolute;
  left: 5.625vw;
  top: 32px;
  bottom: 32px;
  width: calc(100% - var(--drawer) - 9vw);
  max-width: 960px;
  background: white;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px #1118271a;
  pointer-events: auto;
  animation: fade-in .2s ease;
}

.checkout-scroll {
  min-height: 0;
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 32px;
}

.checkout-summary {
  display: none;
}

.form-section+.form-section {
  margin-top: 32px;
}

.field-heading,
.form-section h3 {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.payment-methods {
  display: grid;
  gap: 16px;
  flex-wrap: wrap;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.agreements>div {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin: 14px 0;
  font-size: 14px;
}

.agreements label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.agreements button {
  color: var(--muted);
  text-decoration: underline;
  white-space: nowrap;
}

.order-dialog::backdrop {
  background: linear-gradient(to bottom,transparent var(--header),#11182733 var(--header));
}

.form-section h3 small {
  color: #ff0004;
  font-size: 12px;
  font-weight: 700;
}

.form-section legend small {
  color: #ff0004;
  font-size: 12px;
  font-weight: 700;
}

.field-heading,
.form-section legend {
  width: 100%;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  justify-content: center;
  padding: 16px 4px;
  min-height: 56px;
  border: 1px solid var(--line);
  font-size: 16px;
  color: var(--muted);
  cursor: pointer;
}

.payment-methods label:has(input:checked) {
  border-color: var(--green);
  color: var(--green);
  font-weight: 700;
}

.payment-methods input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.payment-methods label:has(input:focus-visible) {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* 31. 주문 · 전체 펼침 */
.full-review-page .order-dialog {
  position: static;
  width: min(760px,100%);
  height: auto;
  margin: 32px auto;
  box-shadow: none;
}

.full-review .order-summary-panel {
  display: none !important;
}

.full-review .checkout-panel {
  display: flex;
  position: static;
  width: 100%;
  max-width: none;
  box-shadow: none;
  border: 1px solid var(--line);
}

.full-review .checkout-scroll {
  overflow: visible;
}

.full-review .checkout-summary {
  display: block;
}

.full-review .dialog-footer {
  position: static;
}

.full-review .checkout-panel>.dialog-heading .icon-button {
  display: none;
}

.checkout-panel .dialog-footer .secondary{
  color: #111827;
}

.item-title-wrap *{
  line-height: 1;
}

/* product-list 주문 패널: 첨부 시안의 정보 카드와 고정 CTA 규격 */
.product-list-page .order-dialog { border: 0; }
.product-list-page .order-summary-panel, .product-list-page .checkout-panel { background: #fff; }
.product-list-page .order-box { border-color: #dde4e8; }
.product-list-page .order-box h3, .product-list-page .form-section h3 { color: #101827; }
.product-list-page .order-item img.item-image { background: #f5f5f5; border: 1px solid #d9dce1; }
.product-list-page .order-item h4 { font-weight: 800; }
.product-list-page .order-item .quantity-control { border-color: #cfd6df; }
.product-list-page .order-item .remove-item { background: #ff0004; }
.product-list-page .checkout-heading { min-height: 80px; }
.product-list-page .checkout-heading h2 { font-size: 24px; }
.product-list-page .checkout-panel .dialog-footer { border-top-color: #dfe3e8; }
.order-icon-mobile { display: none; }

/* 40. 마이페이지 · 탭 */
.mypage-tap-wrap .icon {
  width: 18px;
  height: 18px;
}

.mypage-tap-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 32px;
}

.mypage-tap-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  padding: 15px;
  min-height: 56px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.mypage-tap-wrap .active {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

/* 41. 마이페이지 · 회원정보 수정 */
.edit-profile h1 .icon {
  width: 22px;
  height: 22px;
}

.edit-profile {
  max-width: 800px;
  margin: auto;
}

.edit-profile h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  min-height: 40px;
}

.edit-profile .notice {
  margin: 30px 0 32px;
  padding: 16px 24px;
  font-size: 15px;
}

.edit-profile .field {
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
}

.edit-profile .field input {
  font-size: 16px;
  line-height: 26px;
}

.profile-save {
  display: flex;
  width: 250px;
  min-height: 54px;
  margin: 0;
}

.edit-profile-withdrawal {
  padding: 10px 0;
  line-height: 18px;
  margin-top: 15px;
}

.edit-profile-withdrawal .withdrawal-link span {
  position: relative;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.edit-profile-withdrawal .withdrawal-link span::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--line);
  content: '';
}

.edit-profile-withdrawal .withdrawal-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.profile-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.profile-actions .profile-save {
  margin: 0;
}

/* 41-1. 마이페이지 · 회원탈퇴 */
.mypage-withdrawal .withdrawal-section {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
}

.withdrawal-heading {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
}

.withdrawal-heading-icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
}

.withdrawal-heading-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.withdrawal-notice {
  margin: 0 0 24px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.6;
}

.withdrawal-form {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.withdrawal-form-section + .withdrawal-form-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.withdrawal-form-section h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.withdrawal-form .field {
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.withdrawal-form .field + .field {
  margin-top: 16px;
}

.withdrawal-form .field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--input-line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
}

.withdrawal-form .field input[readonly] {
  color: var(--muted);
  background: var(--paper);
}

.withdrawal-form .field input::placeholder {
  color: #9ca3af;
}

.withdrawal-policy {
  max-height: 280px;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.withdrawal-agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.withdrawal-agreement input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
}

.withdrawal-agreement em {
  color: #dc2626;
  font-style: normal;
  font-weight: 700;
}

.withdrawal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.withdrawal-actions > .button {
  width: 200px;
  min-height: 52px;
}

.withdrawal-submit {
  border-color: #dc2626;
  color: #fff;
  background: #dc2626;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.withdrawal-submit:hover,
.withdrawal-submit:focus-visible {
  border-color: #b91c1c;
  background: #b91c1c;
}

/* 42. 마이페이지 · 주문 및 취소 내역 */
.order-history-tabs {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  border-bottom: 1px solid #E5E7EB;
}

.order-history-tabs a {
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
}

.order-history-tabs .active {
  border-color: var(--green);
  color: var(--green);
}

.order-filter {
  display: flex;
  align-items: end;
  gap: 12px;
  background: var(--paper);
  padding: 24px;
  margin-bottom: 32px;
}

.order-filter label {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.order-filter label:first-child {
  flex: .85;
}

.order-filter label.date-end {
  flex: .7;
}

.order-filter select {
  min-width: 100px;
}

.order-filter .button {
  height: 50px;
  min-width: 88px;
}

/* 주문 내역 필터: 서버에는 select[name="status"] 값을 그대로 전달하고,
   화면에서는 커스텀 드롭다운을 사용합니다. */
.order-filter {
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: #f9fafb;
}

.order-status-filter,
.order-period-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.order-status-filter {
  flex: 0 0 auto;
}

.order-period-filter {
  flex: 0 1 auto;
}

.order-filter-label {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.order-status-filter > select,
.custom-select-toggle,
.order-filter .search-date {
  height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  background-color: #fff;
  color: #6b7280;
  font-size: 13px;
  line-height: 20px;
}

.order-status-filter > select {
  width: 100px;
  min-width: 100px;
  padding: 0 30px 0 12px;
}

.custom-select {
  position: relative;
  z-index: 3;
  width: 100px;
}

.custom-select-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 10px 0 12px;
  text-align: left;
}

.custom-select-toggle img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform .18s ease;
}

.custom-select.is-open .custom-select-toggle img {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 4;
  width: 100%;
  max-height: 244px;
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  list-style: none;
  border: 1px solid #d1d5db;
  background: #fff;
  box-shadow: 0 8px 20px #1118271a;
}

.custom-select-option {
  display: block;
  width: 100%;
  min-height: 34px;
  padding: 7px 12px;
  color: #4b5563;
  font-size: 13px;
  line-height: 20px;
  text-align: left;
}

.custom-select-option:hover,
.custom-select-option:focus-visible,
.custom-select-option[aria-selected="true"] {
  color: #12873d;
  background: #e9f7ee;
}

.custom-select-toggle:focus-visible,
.order-filter .search-date:focus-visible,
.order-status-filter > select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.order-period-filter label {
  display: block;
  flex: 0 1 196px;
  min-width: 0;
}

.order-filter .search-date {
  width: 196px;
  max-width: 100%;
  padding: 0 36px 0 12px;
  background-image: url('../images/calendar.svg');
  background-position: right 12px center;
  background-size: 16px 18px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.date-range-separator {
  flex: 0 0 auto;
  color: #9ca3af;
  font-size: 14px;
  line-height: 40px;
}

.order-filter > .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 124px;
  min-width: 124px;
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  font-size: 13px;
}

.order-filter > .button .icon {
  width: 18px;
  height: 18px;
}

.order-history-card {
  border: 1px solid var(--line);
  margin-bottom: 24px;
  padding: 24px;
}

.order-history-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.order-history-head time {
  font-size: 18px;
  font-weight: 700;
}

.order-history-head p {
  color: var(--muted);
  flex: 1;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge--pending {
  color: #667085;
  border-color: #e1e5ea;
  background: #fff;
}

.status-badge--complete {
  color: #159447;
  background: #e9f7ee;
}

.status-badge--shipping {
  color: #2563eb;
  background: #eaf2ff;
}

.status-badge--delivered {
  color: #2563eb;
  border-color: #3b82f6;
  background: #fff;
}

.status-badge--cancelled {
  color: #dc2626;
  background: #fdecec;
}

.order-history-body {
  padding-top: 20px;
}

.order-product-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-product-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.order-product-item img {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #f5f5f5;
}

/* 제품 이미지가 없거나 불러오지 못해 회색 로고로 대체된 경우 */
.order-product-item img.product-image-placeholder {
  box-sizing: border-box;
  padding: 14px;
  opacity: 0.25;
}

.order-product-item>div {
  flex: 1;
}

.order-product-item h3 {
  font-size: 16px;
}

.order-product-item p {
  color: var(--muted);
  font-size: 14px;
}

.order-product-item>strong {
  font-size: 18px;
}

.order-history-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #E5E7EB;
  padding-top: 16px;
  margin-top: 16px;
}

.order-history-actions .button{
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  max-width: 140px;
  display: flex;
  justify-content: space-between;
  padding: 10px 10px 10px 20px;
  box-sizing: border-box;

  img{
    width: 18px;
    height: 18px;
  }
}

.order-history-actions .button.secondary {
  border: 1px solid #22c55e;
  color: #22c55e;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.order-history-actions .button.secondary:hover,
.order-history-actions .button.secondary:focus-visible {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.order-history-actions .button.secondary:hover .icon,
.order-history-actions .button.secondary:focus-visible .icon {
  filter: brightness(0) invert(1);
}

.order-history-actions button{
  color: #fff;
}

/* 43. 마이페이지 · 주문 및 취소 상세 */
.order-cancel-notice {
  margin-top: 16px;
}

.order-info-card h2 .icon {
  width: 24px;
  height: 24px;
}

.order-info-card {
  border: 1px solid var(--line);
  padding: 24px;
  margin: 24px 0;
}

.order-info-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.order-detail-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.order-detail-product {
  display: grid;
  grid-template-columns: 24px 80px 1fr 80px;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.order-detail-product>img {
  width: 80px;
  height: 80px;
}

.order-detail-product h3 {
  font-size: 18px;
}

.order-detail-product p {
  color: var(--muted);
  font-size: 14px;
}

.order-info-card .button-row {
  justify-content: flex-end;
  margin-top: 24px;
}

.order-info-card .button-row>.button {
  flex: 0 1 200px;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.order-detail-grid .order-info-card {
  margin: 0;
}

.info-list {
  display: grid;
  grid-template-columns: 140px minmax(0,1fr);
  gap: 16px;
  font-size: 16px;
}

.info-list dt {
  color: var(--muted);
}

.info-list dd {
  overflow-wrap: anywhere;
}

/* 주문 상세 · 취소 상세: Figma 238 마이페이지 상세 공통 레이아웃 */
.mypage-detail-page .page-content {
  padding-block: 40px 80px;
}

.mypage-detail-page .mypage-tap-wrap {
  margin-bottom: 34px;
}

.detail-page-title {
  margin-bottom: 30px;
}

.detail-page-title h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  line-height: 1.35;
}

.detail-page-title .icon {
  width: 24px;
  height: 24px;
}

.detail-order-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-order-summary {
  min-height: 66px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
}

.detail-order-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: var(--muted);
  font-size: 16px;
}

.detail-order-meta strong {
  color: var(--ink);
  font-size: 18px;
}

.detail-order-meta>span[aria-hidden] {
  width: 1px;
  height: 20px;
  background: var(--line);
}

.detail-product-panel {
  border: 1px solid var(--line);
}

.detail-product-table-head {
  min-height: 50px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 56px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.detail-product-table-head>span:nth-of-type(1) {
  text-align: left;
  padding-left: 80px;
}

.detail-product-table-head label,
.detail-product-row label {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 주문취소 체크박스: 행에서는 이미지 앞 24px 열, 헤더에서는 같은 자리에 겹쳐 놓고 글자는 이미지 열에 맞춘다 */
.detail-product-info>label {
  flex: 0 0 24px;
}

.detail-product-table-head>span:nth-of-type(1) {
  position: relative;
  padding-left: 120px;
}

.detail-product-table-head>span:nth-of-type(1) label {
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  transform: translateY(-50%);
}

.detail-product-row {
  min-height: 82px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 56px;
  align-items: center;
  gap: 16px;
}

.detail-product-row>strong {
  text-align: center;
  font-size: 16px;
  white-space: nowrap;
}

.detail-product-info {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-product-info>div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.detail-product-info>img,
.detail-cancel-product-info>img {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #f5f5f5;
}

.detail-product-row+.detail-product-row,
.detail-cancel-row+.detail-cancel-row {
  border-top: 1px solid var(--line);
}

.detail-product-info>img.product-image-placeholder,
.detail-cancel-product-info>img.product-image-placeholder {
  box-sizing: border-box;
  padding: 16px;
  object-position: center;
  opacity: 0.25;
}

.detail-product-info h2,
.detail-cancel-product-info h2 {
  min-width: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.detail-cancel-table-head {
  min-height: 50px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 188px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.detail-cancel-table-head>span:first-child {
  text-align: left;
  padding-left: 80px;
}

.detail-cancel-row {
  min-height: 82px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 188px;
  align-items: center;
  gap: 16px;
}

.detail-cancel-product-info {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-product-info p,
.detail-cancel-product-info p,
.detail-cancel-state time {
  color: var(--muted);
  font-size: 14px;
}

.detail-cancel-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.detail-cancel-state strong,
.detail-cancel-amount {
  color: #ff0004;
}

.detail-cancel-actions {
  margin-top: -8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.detail-cancel-actions p {
  color: #ff0004;
  font-size: 14px;
  font-weight: 700;
}

.detail-cancel-button {
  min-width: 100px;
  min-height: 50px;
  border-color: #ff0004;
  color: #ff0004;
  background: white;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.detail-cancel-button:hover,
.detail-cancel-button:focus-visible {
  border-color: #ff0004;
  color: #fff;
  background: #ff0004;
}

.mypage-detail-page .detail-info-card {
  margin: 0;
  padding: 24px;
}

.mypage-detail-page .detail-info-card h2 {
  margin: 0 0 16px;
  padding-bottom: 16px;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  line-height: 24px;
}

.mypage-detail-page .detail-info-card h2 .icon {
  width: 24px;
  height: 24px;
}

.detail-info-list {
  display: grid;
  grid-template-columns: 140px minmax(0,1fr);
  column-gap: 16px;
  row-gap: 14px;
  font-size: 16px;
}

.detail-info-list dt {
  color: var(--muted);
  font-size: 14px;
}

.detail-info-list dd {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 500;
}

.detail-request-text {
  min-height: 24px;
  font-size: 16px;
}

.detail-bottom-actions {
  padding-top: 16px;
  display: flex;
  justify-content: center;
}

.detail-list-button {
  min-width: 143px;
  min-height: 56px;
  gap: 8px;
}

.detail-list-button .icon {
  width: 20px;
  height: 20px;
}

/* 44. 주문 완료 */
.purchase-result {
  max-width: 800px;
}

.purchase-result-message {
  text-align: center;
  margin: 0px 0 64px;
}

.purchase-result-message>.icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
}

.purchase-result-message p {
  margin-top: 12px;
  color: var(--muted);
}

.purchase-result>.button-row {
  max-width: 560px;
  margin: 32px auto;
}

.purchase-result-products .order-product-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.purchase-result-products .order-product-item:last-child {
  border: 0;
}

/* 50. 문의 · 연락처 */
.contact.page-content {
  min-height: 0;
  padding-block: 60px 100px;
}

.contact-item {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  height: 140px;
  padding: 0;
  background: #f5f5f5;
}

.contact-item section {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 0 12px;
}

.contact-item section:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 72px;
  background: var(--line);
  content: '';
  transform: translateY(-50%);
}

.contact-item img {
  width: 18px;
  height: 18px;
  margin: 0;
}

.contact-item h2 {
  font-size: 16px;
  line-height: 22px;
}

.contact-item p {
  font-size: 14px;
  line-height: 20px;
  color: var(--ink);
}

.contact-item a {
  font-size: 14px;
  line-height: 20px;
  color: var(--ink);
}

.contact-notice {
  font-size: 12px;
  line-height: 18px;
  color: var(--ink);
  margin-top: 20px;
}

/* 51. 문의 · FAQ */
.faq-section {
  margin-top: 60px;
}

.faq-section>p {
  text-align: center;
  color: var(--muted);
  margin: 12px 0 32px;
}

.faq-section details {
  border-bottom: 1px solid var(--line);
  padding: 20px;
}

.faq-section details:first-child {
  border-top: 1px solid var(--line);
}

.faq-section summary {
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary>.icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 7px;
  background: var(--paper);
}

.faq-chevron {
  margin-left: auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--paper);
}

.faq-chevron .icon {
  width: 18px;
  height: 18px;
}

.faq-chevron .icon-chevron_up {
  display: none;
}

.faq-section details[open] .icon-chevron_down {
  display: none;
}

.faq-section details[open] .icon-chevron_up {
  display: block;
}

.faq-section details p {
  margin: 12px 0 0 44px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.faq-section>h1 {
  text-align: left;
  font-size: 24px;
  margin-bottom: 30px;
  line-height: 32px;
}

.faq-section details[open] p {
  background: transparent;
}

.contact .pagination {
  gap: 8px;
  margin-top: 30px;
}

.contact .pagination button:not(.pagination-arrow) {
  border-color: transparent;
  border-radius: 8px;
}

.contact .pagination button:not(.pagination-arrow):hover,
.contact .pagination button:not(.pagination-arrow):focus-visible {
  color: var(--green);
}

.contact .pagination .active {
  border-color: transparent;
  color: var(--green);
  font-weight: 800;
}

.contact .pagination .pagination-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
}

.contact .pagination .pagination-arrow .icon {
  width: 18px;
  height: 18px;
}

/* 60. 약관 · 개인정보 */
.policy-page h1 {
  margin-bottom: 32px;
}

.policy-page h3 {
  font-size: 18px;
  margin: 24px 0 12px;
}

.policy-page p {
  margin-bottom: 12px;
  color: var(--text);
}

.policy-page li {
  margin-bottom: 12px;
  color: var(--text);
}

.policy-page table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

.policy-page td {
  border: 1px solid var(--line);
  padding: 10px;
}

.policy-page th {
  border: 1px solid var(--line);
  padding: 10px;
}

/* 70. 산출물 가이드 */
.guide-table-wrap {
  overflow-x: auto;
  margin: 32px 0;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.guide-table th {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
}

.guide-table td {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
}

.guide-table thead {
  background: var(--paper);
}

.guide-table a {
  color: #12873d;
  text-decoration: underline;
}

.guide > h2 {
  margin-top: 32px;
}

.guide>p {
  margin: 16px 0;
}

.guide ol {
  padding: 0;
  list-style: none;
  margin-top: 32px;
}

.guide li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.guide li a {
  color: #12873d;
  text-decoration: underline;
}

.guide li span {
  font-size: 14px;
  color: var(--muted);
}


/* 정보 확인의 본문만 스크롤하며 제목과 결제 버튼은 패널 안에 유지합니다. */
.checkout-scroll, .order-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
/* PDF 18p 회원탈퇴: 긴 개인정보 본문은 폼과 분리된 스크롤 영역입니다. */
.withdraw-policy { max-height: 240px; overflow-y: auto; border: 1px solid var(--line); padding: 16px; margin: 20px 0; overscroll-behavior: contain; }

/* 사용자가 추가한 카카오 지도 퍼가기: 지도/저작권 UI는 유지하고 고정 640px 폭만 해제합니다. */
.guest-location .contact-map { width: 100%; height: auto; min-height: 400px; overflow: hidden; }
.guest-location .root_daum_roughmap { width: 100% !important; box-sizing: border-box; }
.guest-location .root_daum_roughmap .wrap_map { height: 400px !important; }
.guest-location .root_daum_roughmap .wrap_controllers{display: none !important;}
/* 주소/전화는 바로 아래 시안의 연락처 카드에서 표시합니다. 지도 저작권 바는 유지합니다. */
.guest-location .root_daum_roughmap > .cont { display: none; }

@media(min-width: 1024px) and (max-width:1500px){
  .intro-page .access-console{
    padding: 70px 32px 84px;
  }
}
