/* 직접 편집하는 원본 CSS. 섹션 번호와 순서는 네 파일에서 동일합니다. */
/* 모바일 전용: 539px 이하. */
@media (max-width: 539px) {
  /* 00. 기본 · 글꼴 · 토큰 · 초기화 */
  :root {
    --header: 64px;
    --body: 15px;
    --drawer: 100vw;
  }

  html {
    scrollbar-gutter: auto;
  }

  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  legend {
    font-size: 18px;
  }

  small {
    font-size: 12px;
  }

  input {
    height: 45px;
    font-size: 15px;
    padding: 10px 12px;
  }

  select {
    height: 45px;
    font-size: 15px;
    padding: 10px 12px;
  }

  input::placeholder {
    font-size: 14px;
  }

  textarea::placeholder {
    font-size: 14px;
  }

  textarea {
    font-size: 15px;
    padding: 12px;
    min-height: 100px;
  }

  /* 01. 공통 레이아웃 · 버튼 · 입력 */
  .container {
    width: calc(100% - 32px);
  }

  .icon {
    width: 18px;
    height: 18px;
  }

  .page-content {
    padding-block: 24px 40px;
  }

  .page-heading {
    align-items: flex-start;
  }

  .page-heading>.button {
    font-size: 12px;
    min-height: 36px;
    padding: 8px 10px;
  }

  .helper {
    font-size: 13px;
  }

  .notice {
    padding: 16px;
    font-size: 13px;
    margin: 20px 0;
  }

  .field {
    font-size: 14px;
    gap: 8px;
  }

  .field+.field {
    margin-top: 16px;
  }

  .date-picker {
    min-height: 45px;
    font-size: 14px;
    padding: 10px 12px;
  }

  .date-picker.has-value {
    font-size: 15px;
  }

  .button {
    min-height: 45px;
    padding: 12px;
    font-size: 15px;
  }

  /* 02. 헤더 · 내비게이션 */
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle .icon{
    width: 24px;
    height: 24px;
  }

  .logo {
    width: 132px;
  }

  .site-header .icon-button {
    margin-right: -8px;
  }

  /* 03. 푸터 */
  .site-footer {
    padding: 24px 0;
    font-size: 12px;
    line-height: 18px;
  }

  .site-footer nav {
    font-size: 12px;
    gap: 20px;
    margin-bottom: 20px;
  }

  /* 04. 공통 모달 */
  .dialog-heading {
    padding: 20px 16px;
    min-height: 84px;
  }

  .dialog-heading>.icon-button,
  .dialog-heading .icon-button {
    transform: none;
    padding: 0;
    height: 40px;
    min-height: 40px;
    margin-right: -8px;
    margin-top: 0;
  }

  .dialog-heading .icon-button img {
    width: 40px;
    height: 40px;
  }

  .dialog-footer {
    padding: 16px;
    gap: 12px;
    min-height: 88px;
    padding-bottom: max(16px,env(safe-area-inset-bottom));
  }

  .dialog-footer>.button {
    min-height: 56px;
    font-size: 15px;
    padding: 12px 8px;
  }

  .dialog-footer .icon {
    width: 18px;
  }

  .content-dialog {
    width: calc(100% - 32px);
    height: calc(100dvh - 96px);
  }

  .dialog-scroll {
    padding: 20px 16px;
  }

  .message-dialog h2 {
    font-size: 18px;
  }

  .message-dialog p {
    font-size: 15px;
  }

  /* 05. 달력 */
  .ui-datepicker {
    font-size: 15px;
    padding: 12px;
  }

  #delivery-datepicker .ui-datepicker,
  .calendar-dialog--search .ui-datepicker {
    padding: 0 16px 16px;
  }

  .ui-datepicker th,
  .ui-datepicker td {
    text-align: center;
  }

  .ui-datepicker .ui-state-default {
    width: 100%;
    height: 36px;
    margin: 0 auto;
    padding: 0;
    justify-content: center;
    text-align: center;
  }

  .calendar-dialog--search .ui-state-default {
    width: 36px;
  }

  .ui-datepicker .ui-datepicker-title {
    font-size: 15px;
    text-align: center;
    font-weight: 700;
  }

  .search-date {
    height: 45px;
  }

  /* 10–11. New-Mobile 인트로 · 비회원 메인 */
  .intro-media { min-height: 350px; padding: 24px 20px; align-items: end; background-position: 42% center; }
  .intro-trust { padding: 18px; }
  .intro-trust p:first-child { font-size: 9px; }
  .intro-trust h1 { margin: 8px 0; font-size: 25px; }
  .intro-trust p:last-child { font-size: 11px; line-height: 1.5; }
  .access-console { width: 100%; padding: 36px 20px 80px; }
  .intro-brand img { width: 104px; height: 25px; }
  .access-options { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .access-options>p { font-size: 14px; }
  .access-options .gate { height: 82px; padding: 18px; gap: 14px; }
  .access-options .gate>.icon { width: 44px; height: 44px; padding: 10px; }
  .access-options .gate strong { font-size: 16px; }
  .access-options .gate span { font-size: 20px; }
  .intro-support { margin-top: 24px; font-size: 11px; }
  .intro-page .site-footer { padding: 24px 20px; }
  .intro-page .site-footer .container { width: 100%; }
  .guest-home { --header: 64px; }
  .guest-home .site-header .logo, .guest-product .site-header .logo { width: 112px; }
  .guest-home .desktop-nav, .guest-product .desktop-nav { display: flex; gap: 12px; font-size: 15px; }
  .guest-home .desktop-nav>a:first-child .icon, .guest-product .desktop-nav>a:first-child .icon, .guest-home .nav-divider, .guest-product .nav-divider, .guest-home .login-link .icon, .guest-product .login-link .icon { display: none; }
  .guest-home .desktop-nav .login-link, .guest-product .desktop-nav .login-link { padding: 4px 8px; }
  .guest-home .menu-toggle, .guest-product .menu-toggle { display: none; }
  .guest-hero { height: 420px; padding: 20px; background-size: cover; background-position: center; }
  .hero-content { height: auto; min-height: 0; padding: 28px 20px; gap: 14px; }
  .hero-caption { font-size: 14px; line-height: 20px; margin: 0; }
  .hero-content h1 { font-size: 26px; line-height: 1.2; word-break: keep-all; }
  .hero-description { font-size: 14px; line-height: 21px; word-break: keep-all; }
  .hero-description br { display: none; }
  .guest-catalog { width: 100%; padding: 56px 20px; }
  .guest-copy { margin-bottom: 18px; }
  .guest-copy h2 { font-size: 26px; letter-spacing: 0; }
  .guest-copy p { font-size: 13px; line-height: 20px; }
  .guest-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
  .guest-card { padding: 8px; gap: 12px; }
  .guest-card-image { width: 100%; height: auto; aspect-ratio: 1; max-width: 100%; }
  .guest-card h3 { font-size: 15px; line-height: 22px; white-space: normal; word-break: keep-all; }
  .guest-location { padding-top: 30px; padding-bottom: 50px; }
  .guest-location>h2 { font-size: 28px; margin-bottom: 30px; }
  .guest-location>h2::after { width: 160px; }
  .location-map { height: 250px; }
  .location-map img { width: auto; min-width: 100%; height: 237.74%; left: 50%; transform: translateX(-50%); }
  .location-contacts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .location-contacts section { padding: 20px 12px; min-height: 145px; }
  .location-contacts p,.location-contacts a { font-size: 13px; line-height: 20px; overflow-wrap: anywhere; }
  .location-contacts .location-phone a { font-size: 18px; }
  .location-note { font-size: 11px; }
  .guest-home .site-footer { min-height: 0; padding: 32px 20px; }
  .guest-home .site-footer .container { width: 100%; }

  .guest-product { --header: 48px; }
  .product-page-content { width: 100%; padding: 58px 12px 60px; }
  .product-page-content .product-detail-wrap { gap: 20px; padding-top: 8px; }
  .product-page-content .product-detail-wrap>.product-image { width: 100%; max-width: 100%; }
  .product-page-content .product-detail-wrap>div { padding-top: 22px; }
  .product-page-content .product-detail-wrap h2 { margin-bottom: 24px; padding-bottom: 10px; font-size: 20px; line-height: 28px; }
  .product-page-content .product-detail-wrap .product-inquiry { margin-bottom: 8px; font-size: 14px; }
  .product-page-content .product-detail-wrap .product-phone { font-size: 18px; line-height: 26px; white-space: nowrap; }
  .product-page-content .product-detail-wrap .product-hours { font-size: 12px; line-height: 18px; }
  .product-page-content .product-description { margin-top: 48px; padding-top: 0; }
  .product-page-content .product-description h3 { margin-bottom: 56px; padding-bottom: 12px; font-size: 14px; line-height: 20px; }
  .product-description-intro { margin-bottom: 56px; }
  .product-description-intro h4 { font-size: 16px; line-height: 24px; }
  .product-description-intro p { margin-top: 10px !important; font-size: 11px; line-height: 18px; }
  .product-description-content { font-size: 13px; line-height: 1.7; }
  .product-description-content .notice-heading { margin-top: 28px; font-size: 13px; }
  .product-notice-list, .product-notice-list ol { padding-left: 20px; }
  .product-notice-list>li { margin-bottom: 8px; }
  .product-contact-divider { margin-top: 48px; }
  .product-page-content .product-list-button { width: 100%; gap: 8px; margin-top: 32px; min-height: 56px; }

  /* 12. 로그인 */
  .login-main {
    min-height: 580px;
    padding: 40px 16px;
  }

  .login-card {
    width: 100%;
    padding: 32px 20px;
  }

  .login-card>.logo {
    width: 170px;
  }

  .login-card h1 {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .login-card .helper {
    font-size: 13px;
  }

  .login-card form>.button {
    min-height: 45px;
  }

  .login-card .check-line {
    font-size: 13px;
  }

  /* 20. 상품 목록 · 옵션 · 수량 */
  .order-open .list-wrap {
    margin-right: 0;
  }

  .list-wrap {
    padding: 20px 16px;
  }

  .list-item-wrap {
    max-width: 900px;
    grid-template-columns: minmax(0,1fr);
    gap: 20px;
  }

  .order-open .list-item-wrap {
    grid-template-columns: minmax(0,1fr);
    gap: 20px;
  }

  .product-card {
    padding: 16px;
    gap: 14px;
  }

  .product-card h2 {
    font-size: 18px;
    line-height: 26px;
  }

  .product-card p {
    font-size: 13px;
    line-height: 20px;
  }

  .product-actions {
    gap: 10px;
  }

  .order-item img.item-image{
    width: 92px;
    height: 92px;
  }

  .item-info-box{
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
  }

  .product-actions .button {
    height: 40px;
    min-height: 40px;
  }

  .quantity-control {
    height: 40px;
  }

  .quantity-control output {
    font-size: 15px;
  }

  .option {
    font-size: 12px;
  }

  /* 21. 상품 상세 */
  .product-detail-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-detail-wrap>.product-image {
    max-width: 100%;
  }

  .product-description {
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
  }

  /* 30. 주문 · 수량 확인 · 정보 입력 · 결제 */
  .order-dialog.checkout .order-summary-panel {
    display: none;
  }

  .checkout-summary .order-item .item-image {
    width: 64px;
    height: 64px;
  }

  .checkout-summary .order-item:last-child {
    padding-bottom: 0;
  }

  .order-dialog {
    width: 100%;
    height: calc(100dvh - 64px);
    inset: 64px 0 0;
    box-shadow: none;
  }

  .order-dialog[open] {
    animation: slide-up .3s ease both;
  }

  .order-dialog.checkout {
    animation: none;
    pointer-events: auto;
    background: white;
  }

  .order-heading {
    padding: 20px 16px 12px;
    min-height: 96px;
  }

  .order-heading h2 {
    font-size: 20px;
  }

  .order-heading p {
    margin-top: 8px;
  }

  .order-heading .icon-button {
    margin-right: -6px;
    margin-top: -4px;
  }

  .order-scroll {
    padding: 16px;
  }

  .order-box {
    padding: 16px;
  }

  .order-box h3 {
    font-size: 18px;
    padding-bottom: 16px;
  }

  .order-item {
    gap: 12px;
    padding: 20px 0;
    grid-template-columns: 92px minmax(0,1fr) 40px;
  }

  #order-items .order-item {
    grid-template-columns: 92px minmax(0,1fr);
  }

  .order-item h4 {
    font-size: 18px;
  }

  .order-item p {
    font-size: 13px;
    margin-bottom: 0;
  }

  .order-item .remove-item {
    width: 40px;
    height: 40px;
    padding: 9px;
  }

  .order-item .quantity-control {
    height: 40px;
    width: 126px;
  }

  .checkout-panel {
    left: 50%;
    top: 32px;
    bottom: 32px;
    width: 100%;
    max-width: none;
    position: absolute;
    inset: 0;
    transform: none;
    height: 100%;
    box-shadow: none;
    animation: fade-in .18s ease;
  }

  .checkout-panel>.dialog-heading {
    min-height: 72px;
    padding: 20px 16px 12px;
  }

  .checkout-scroll {
    padding: 16px;
  }

  .checkout-summary {
    display: block;
    margin-bottom: 24px;
  }

  .checkout-summary .order-box {
    padding: 16px;
  }

  .checkout-summary .order-item {
    padding: 16px 0;
    grid-template-columns: 92px 1fr auto;
    gap: 12px;
  }

  .checkout-summary .order-item h4 {
    font-size: 18px;
  }

  .checkout-summary .order-item p {
    margin-bottom: 0;
    font-size: 13px;
  }

  .checkout-summary .order-item strong {
    font-size: 15px;
  }

  .form-section+.form-section {
    margin-top: 24px;
  }

  .payment-methods {
    gap: 8px;
    font-size: 14px;
  }

  .agreements>div {
    font-size: 12px;
    gap: 8px;
  }

  .agreements label {
    line-height: 20px;
  }

  .form-section h3 {
    gap: 6px;
    margin-bottom: 16px;
    font-size: 18px;
    padding-bottom: 16px;
  }

  .product-list-page .order-dialog { background: #fff; }
  .product-list-page .order-heading h2 { font-size: 20px; }
  .product-list-page .order-heading .icon-button,
  .product-list-page .checkout-heading .icon-button {
    width: 40px;
    height: 40px;
    padding: 0;
    min-height: 40px;
    margin: 0;
    margin-left: auto;
    margin-right: -8px;
    transform: none;
  }
  .product-list-page .order-heading .icon-close,
  .product-list-page .checkout-heading .icon-close {
    flex: 0 0 24px;
    min-width: 24px;
    width: 24px !important;
    max-width: none;
    height: 24px !important;
    aspect-ratio: 1;
  }
  .product-list-page .order-box { padding: 16px; }
  .product-list-page .order-box h3 { min-height: 44px; }
  .product-list-page .checkout-heading h2 { font-size: 20px; }
  .product-list-page .checkout-summary { margin-bottom: 24px; }
  .product-list-page .checkout-summary .order-item img.item-image { width: 92px; height: 92px; }
  .product-list-page .dialog-footer { gap: 12px; padding: 15px 16px 20px; }
  .product-list-page .dialog-footer>.button { min-height: 50px; font-size: 15px; }
  .product-list-page .order-icon-pc { display: none; }
  .product-list-page .order-icon-mobile { display: block; }
  .product-list-page [data-action="order-next"] .order-icon-mobile { width: 18px; height: 18px; }
  .product-list-page [data-action="order-back"] .order-icon-mobile { width: 20px; height: 20px; }

  .form-section legend {
    font-size: 18px;
    padding-bottom: 16px;
  }

  .payment-methods label {
    font-size: 14px;
    min-height: 45px;
    padding: 12px 4px;
  }

  /* 31. 주문 · 전체 펼침 */
  .full-review-page>.container {
    width: 100%;
  }

  .full-review-page .order-dialog {
    margin: 0;
  }

  .full-review .checkout-panel {
    transform: none;
    border: 0;
  }

  .full-review .checkout-scroll {
    padding: 20px 16px;
  }

  .full-review .checkout-summary {
    display: block;
  }

  /* 40. 마이페이지 · 탭 */
  .mypage-tap-wrap {
    margin-bottom: 24px;
  }

  .mypage-tap-wrap a {
    font-size: 15px;
    padding: 14px 6px;
    gap: 6px;
  }

  .mypage-tap-wrap .icon {
    width: 18px;
  }

  /* 41. 마이페이지 · 회원정보 수정 */
  .edit-profile .field input {
    font-size: 15px;
  }

  .profile-save {
    width: 100%;
  }

  .profile-actions {
    margin-top: 14px;
  }

  .edit-profile-withdrawal .withdrawal-link span {
    font-size: 13px;
  }

  /* 41-1. 마이페이지 · 회원탈퇴 */
  .withdrawal-heading {
    min-height: 32px;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 20px;
  }

  .withdrawal-heading-icon,
  .withdrawal-heading-icon img {
    width: 20px;
    height: 20px;
  }

  .withdrawal-heading-icon {
    flex-basis: 20px;
  }

  .withdrawal-notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .withdrawal-form {
    padding: 16px;
  }

  .withdrawal-form-section + .withdrawal-form-section {
    margin-top: 20px;
    padding-top: 20px;
  }

  .withdrawal-form-section h2 {
    margin-bottom: 14px;
    font-size: 16px;
  }

  .withdrawal-form .field {
    font-size: 13px;
  }

  .withdrawal-form .field input {
    min-height: 46px;
    font-size: 14px;
  }

  .withdrawal-policy {
    max-height: 320px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.75;
  }

  .withdrawal-agreement {
    align-items: flex-start;
    font-size: 13px;
  }

  .withdrawal-agreement input {
    margin-top: 1px;
  }

  .withdrawal-actions {
    gap: 8px;
    margin-top: 24px;
  }

  .withdrawal-actions > .button {
    width: auto;
    min-width: 0;
    min-height: 48px;
    flex: 1 1 0;
    padding-inline: 10px;
    font-size: 14px;
  }

  /* 42. 마이페이지 · 주문 및 취소 내역 */
  .order-history-tabs {
    gap: 24px;
  }

  .order-history-tabs a {
    font-size: 18px;
  }

  .order-filter {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    padding: 20px 16px;
    gap: 12px;
    align-items: stretch;
  }

  .order-status-filter,
  .order-period-filter {
    display: grid;
    grid-template-columns: 72px minmax(0,1fr);
    gap: 8px;
    align-items: center;
  }

  .order-status-filter {
    min-width: 0;
  }

  .order-status-filter .order-filter-label,
  .order-period-filter .order-filter-label {
    font-size: 14px;
  }

  .order-status-filter > select,
  .order-status-filter .custom-select {
    grid-column: 2;
    width: 100%;
  }

  .order-period-filter .order-filter-label {
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 12px;
  }

  .order-period-filter label {
    grid-column: 2;
    width: 100%;
  }

  .order-period-filter .search-date {
    width: 100%;
  }

  .order-period-filter .date-range-separator {
    display: none;
  }

  .order-filter>.button {
    grid-column: 1 / -1;
    width: 100%;
    height: 45px;
  }

  .order-history-card {
    padding: 16px;
    margin-bottom: 20px;
  }

  .order-history-head {
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    font-size: 13px;
  }

  .order-history-head time {
    font-size: 14px;
  }

  .order-history-head p {
    order: 3;
    flex-basis: 100%;
    font-size: 13px;
  }

  .order-history-head .status {
    margin-left: auto;
  }

  .order-history-body {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 16px;
  }

  .order-product-item {
    gap: 12px;
  }

  .order-product-item h3 {
    font-size: 15px;
  }

  .order-product-item p {
    font-size: 13px;
  }

  .order-product-item>strong {
    font-size: 15px;
  }

  .order-history-actions {
    flex-direction: row;
    gap: 10px;
  }

  .order-history-actions>* {
    flex: 1;
  }

  /* 43. 마이페이지 · 주문 및 취소 상세 */
  .order-info-card {
    padding: 16px;
    margin: 20px 0;
  }

  .order-info-card h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .order-detail-meta {
    gap: 8px 16px;
    padding-bottom: 20px;
    font-size: 13px;
  }

  .order-detail-product {
    grid-template-columns: 18px 60px minmax(0,1fr) 32px;
    gap: 10px;
    padding: 20px 0;
  }

  .order-detail-product>img {
    width: 60px;
    height: 60px;
  }

  .order-detail-product h3 {
    font-size: 15px;
  }

  .order-detail-product p {
    font-size: 13px;
  }

  .order-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .info-list {
    grid-template-columns: 90px minmax(0,1fr);
    gap: 12px;
    font-size: 14px;
  }

  .info-list dd {
    font-size: 15px;
  }

  /* 43. 마이페이지 · 주문 및 취소 상세 Figma 레이아웃 */
  .mypage-detail-page .page-content {
    padding-block: 40px 64px;
  }

  .mypage-detail-page .mypage-tap-wrap {
    margin-bottom: 36px;
  }

  .detail-page-title {
    margin-bottom: 34px;
  }

  .detail-page-title h1 {
    gap: 10px;
    font-size: 24px;
  }

  .detail-page-title .icon {
    width: 22px;
    height: 22px;
  }

  .detail-order-content {
    gap: 20px;
  }

  .detail-order-summary {
    min-height: 90px;
    padding: 16px;
    align-items: flex-start;
  }

  .detail-order-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 14px;
  }

  .detail-order-meta strong {
    font-size: 16px;
  }

  .detail-order-meta>span[aria-hidden] {
    display: none;
  }

  .status-badge {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 12px;
  }

  .detail-product-table-head {
    min-height: 54px;
    padding: 12px 8px;
    grid-template-columns: minmax(0,1fr) 44px;
    gap: 8px;
    font-size: 14px;
  }

  .detail-product-row {
    min-height: 74px;
    padding: 12px 8px;
    grid-template-columns: minmax(0,1fr) 44px;
    gap: 8px;
  }

  .detail-product-table-head>span:nth-of-type(1) {
    padding-left: 100px;
  }

  .detail-product-row>strong {
    font-size: 15px;
  }

  .detail-product-info {
    gap: 12px;
  }

  .detail-product-info>img,
  .detail-cancel-product-info>img {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }

  .detail-product-info>img.product-image-placeholder,
  .detail-cancel-product-info>img.product-image-placeholder {
    padding: 13px;
  }

  .detail-cancel-product-info h2 {
    font-size: 16px;
  }

  .detail-cancel-table-head {
    min-height: 50px;
    padding: 12px 16px;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .detail-cancel-table-head>span:last-child {
    display: none;
  }

  .detail-cancel-row {
    min-height: 0;
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .detail-cancel-product-info {
    gap: 12px;
  }

  .detail-cancel-state {
    padding-top: 12px;
    flex-direction: row;
    justify-content: space-between;
    border-top: 1px solid var(--line);
  }

  .detail-cancel-state time,
  .detail-cancel-product-info p {
    font-size: 14px;
  }

  .detail-cancel-actions {
    margin-top: -4px;
    align-items: flex-start;
  }

  .detail-cancel-actions p {
    max-width: 235px;
    font-size: 13px;
    line-height: 20px;
  }

  .detail-cancel-button {
    min-width: 102px;
    min-height: 44px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .mypage-detail-page .detail-info-card {
    margin: 0;
    padding: 24px;
  }

  .mypage-detail-page .detail-info-card h2 {
    margin-bottom: 16px;
    padding-bottom: 16px;
    font-size: 18px;
  }

  .detail-info-list {
    grid-template-columns: minmax(112px, 44%) minmax(0,1fr);
    column-gap: 12px;
    row-gap: 14px;
    font-size: 15px;
  }

  .detail-info-list dt {
    font-size: 14px;
  }

  .detail-info-list dd {
    font-size: 15px;
  }

  .detail-request-text {
    font-size: 15px;
  }

  .detail-bottom-actions {
    padding-top: 16px;
  }

  .detail-list-button {
    width: 100%;
    min-height: 54px;
  }

  /* 44. 주문 완료 */
  .purchase-result-message {
    margin: 8px 0 24px;
  }

  .purchase-result-message h1 {
    font-size: 20px;
  }

  .purchase-result-message p {
    font-size: 13px;
  }

  .purchase-result>.button-row {
    margin: 24px 0;
  }

  /* 50. 문의 · 연락처 */
  .contact.page-content {
    padding-block: 40px 60px;
  }

  .contact-item {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    height: auto;
  }

  .contact-item section {
    min-height: 124px;
    justify-content: flex-start;
    gap: 5px;
    padding: 26px 4px 12px;
  }

  .contact-item section::after {
    display: none;
  }

  .contact-item section:nth-child(n + 3) {
    padding-top: 16px;
    padding-bottom: 26px;
  }

  .contact-item h2 {
    font-size: 15px;
    line-height: 22px;
  }

  .contact-item p,
  .contact-item a {
    font-size: 13px;
    line-height: 18px;
  }

  .contact-notice {
    font-size: 13px;
    line-height: 20px;
    text-align: center;
  }

  /* 51. 문의 · FAQ */
  .faq-section {
    margin-top: 60px;
  }

  .faq-section>h1 {
    font-size: 20px;
    line-height: 28px;
  }

  .faq-section summary {
    padding: 0;
    font-size: 15px;
    gap: 12px;
  }

  .faq-section details p {
    margin: 12px 24px 0 44px;
    padding: 0;
    font-size: 14px;
    line-height: 20px;
  }

  /* 60. 약관 · 개인정보 */
  .policy-page h3 {
    font-size: 18px;
  }

  .policy-page {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .policy-page table {
    font-size: 12px;
  }

  .policy-page td {
    padding: 6px;
  }

  .policy-page th {
    padding: 6px;
  }

  /* 70. 산출물 가이드 */
  .guide li {
    flex-direction: column;
    gap: 4px;
  }

}

@media (max-width: 359px) {
  /* 11. 메인 · 상품 롤링 */
  .main-page-box p {
    font-size: 12px;
    white-space: normal;
  }

}


@media (max-width: 539px) {
  .guest-location .contact-map { min-height: 250px; }
  .guest-location .root_daum_roughmap .wrap_map { height: 250px !important; }
}

/* 20-1. 장바구니 플로팅 버튼 */
@media (max-width: 539px) {
  .cart-fab {
    right: 20px;
    bottom: 20px;
  }
}
