@charset "utf-8";

/* ==========================================================================
   [AS / 교환·반품 / QnA 게시판 접수 폼 — 전용 스타일시트]
   파일: receipt_form.css  |  서버: /niiobbs/inc/css/receipt_form.css
   ==========================================================================

   ■ 이 파일의 역할
   as_form.jsp, exchange_form.jsp, qna_form.jsp 에서 사용되는 접수 폼 전용 디자인 스타일.
   - 스텝퍼 & 1~5단계 접수 마법사 (.as-form-page, .as-purchase-wizard)
   - 구입 정보 카드 (.as-purchase-group-card, .as-saved-card-view)
   - 수리 정보 카드 (.as-repair-group-card)
   - 5단계 요약 확인 (.as-summary-*)
   - 고객 정보 입력 & 인풋 그룹 (.as-email-input-group, .as-password-input-group)
   - 상품 검색 모달, 첨부파일 드롭존, 유효성 체크 펄스 애니메이션
   ========================================================================== */

/* ==========================================================================
   1. 공통 레이아웃 및 폼 컨테이너 (.as-container)
   ========================================================================== */
.as-container .row > [class*="col-"] {
    min-width: 0;
}

/* ==========================================================================
   2. 입력 필드 및 폼 컨트롤 공통 디자인
   ========================================================================== */
.as-form-page {
    --as-form-input-radius: 12px;
    --as-step3-input-max: 300px;
    --as-step3-input-wide-max: 420px;
    --as-step3-hint-max: 560px;
    --as-step3-prod-max: 520px;
    --as-contact-field-width: 50%;
    --as-contact-field-full-width: 100%;
}

.as-form-page .as-form-step-nav {
    margin-top: 2rem;
}

.as-purchase-wizard-shell {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.as-purchase-wizard-shell .as-purchase-wizard {
    text-align: left;
    margin-bottom: 0;
}
.as-form-page .as-purchase-wizard {
    background: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}
.as-form-page .as-purchase-wizard.as-field-invalid {
    outline: 2px solid #e74a3b;
    outline-offset: 4px;
}

.as-form-page .as-wizard-count-input {
    max-width: 120px;
}

.as-form-page .form-control,
.as-form-page .form-select,
.as-form-page textarea.form-control {
    border-radius: var(--as-form-input-radius);
}

/* ==========================================================================
   3. 특화 필드: 이메일 & 비밀번호 입력기 (Clear / Password Toggle)
   ========================================================================== */
.as-container .as-email-input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.as-container .as-email-input-group > .form-control,
.as-container .as-email-input-group > #bd_email {
    min-width: 0;
    flex: 1 1 auto;
    width: 1% !important;
    max-width: none !important;
    overflow: hidden;
    text-overflow: ellipsis;
}
.as-container .as-email-input-group > .input-clear-btn {
    flex: 0 0 auto;
    flex-shrink: 0;
}

.as-form-page .as-step2-zip-group > .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--as-form-input-radius);
    border-bottom-left-radius: var(--as-form-input-radius);
}
.as-form-page .as-step2-zip-group > .as-step2-zip-search-btn {
    border: 1px solid #ced4da;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--as-form-input-radius);
    border-bottom-right-radius: var(--as-form-input-radius);
    background-color: #f8f9fa;
    color: #495057;
}
.as-form-page .as-step2-zip-group > .as-step2-zip-search-btn:hover,
.as-form-page .as-step2-zip-group > .as-step2-zip-search-btn:focus {
    border-color: #ced4da;
    background-color: #e9ecef;
    color: #212529;
    box-shadow: none;
}

.as-form-page .as-email-input-group {
    align-items: stretch;
}
.as-form-page .as-email-input-group > .form-control,
.as-form-page .as-email-input-group > #bd_email {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    line-height: 1.5;
    min-height: calc(1.5em + 1rem + 2px);
}
.as-form-page .as-email-input-group > .input-clear-btn,
.as-form-page .as-email-input-group > .input-group-text.input-clear-btn,
.as-form-page .as-email-input-group > .as-email-entry-btn {
    align-self: stretch;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
}

.as-form-page .as-email-input-group > .form-control,
.as-form-page .as-email-input-group > #bd_email {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--as-form-input-radius);
    border-bottom-left-radius: var(--as-form-input-radius);
}
.as-form-page .as-email-input-group > .input-clear-btn,
.as-form-page .as-email-input-group > .input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--as-form-input-radius);
    border-bottom-right-radius: var(--as-form-input-radius);
}
.as-form-page .as-email-input-group--empty > #bd_email {
    background-color: #f8f9fc;
    color: #adb5bd;
    cursor: pointer;
}
.as-form-page .as-email-input-group--empty > #bd_email::placeholder {
    color: #adb5bd;
    opacity: 1;
}
.as-form-page .as-email-input-group--empty > #bd_email[readonly] {
    background-color: #f8f9fc;
}

.as-form-page .as-email-entry-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    min-width: 5.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4e73df;
    background-color: #fff;
    border-color: #ced4da;
    border-left: 1px solid #ced4da !important;
    line-height: 1.2;
}
.as-form-page .as-email-entry-btn:hover,
.as-form-page .as-email-entry-btn:focus {
    color: #2e59d9;
    background-color: #f8f9fc;
    border-color: #ced4da;
    border-left-color: #ced4da !important;
    box-shadow: none;
}

.as-form-page .as-email-input-group:not(.as-email-input-group--empty) > #bd_email[readonly],
.as-form-page .as-email-input-group:not(.as-email-input-group--empty) > #bd_email:not(.as-email-input-group--empty) {
    background-color: #f8f9fc;
    color: #495057;
}
.as-form-page .as-email-input-group:not(.as-email-input-group--empty) > .input-clear-btn.input-group-text {
    display: flex !important;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-width: 2.5rem;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    background-color: #fff;
    border-color: #ced4da;
    border-left: 1px solid #ced4da !important;
    color: #858796;
    font-size: 1.15rem;
    line-height: 1;
}

.as-form-page .as-password-input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.as-form-page .as-password-input-group > .form-control {
    min-width: 0;
    flex: 1 1 auto;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--as-form-input-radius);
    border-bottom-left-radius: var(--as-form-input-radius);
}
.as-form-page .as-password-toggle-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    padding-top: 0;
    padding-bottom: 0;
    cursor: pointer;
    background-color: #fff;
    border-color: #ced4da;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--as-form-input-radius);
    border-bottom-right-radius: var(--as-form-input-radius);
    color: #858796;
    line-height: 1;
}
.as-form-page .as-password-toggle-btn:hover,
.as-form-page .as-password-toggle-btn:focus {
    background-color: #f8f9fc;
    color: #4e73df;
    border-color: #ced4da;
    box-shadow: none;
}
.as-form-page .as-password-toggle-btn__icon {
    font-size: 1.25rem;
    line-height: 1;
}
.as-form-page .as-password-input-group > .form-control:focus + .as-password-toggle-btn {
    border-color: #86b7fe;
}

/* ==========================================================================
   4. 회원 기본 정보 프리필 공지 UI
   ========================================================================== */
.as-member-prefill-notice {
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    background: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 18px;
    box-sizing: border-box;
}
.as-member-prefill-notice__text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    color: #5c6670;
    font-size: 0.875rem;
    line-height: 1.55;
}
.as-member-prefill-notice__badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    border: 1px solid #ced4da;
    background: #fff;
    color: #495057;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.as-member-prefill-notice__badge:hover,
.as-member-prefill-notice__badge:focus {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #212529;
}

/* ==========================================================================
   5. 제품 선택 및 수리 정보 입력 영역 (3단계)
   ========================================================================== */
.as-form-page .as-prod-name-group > .form-control,
.as-form-page .as-prod-name-group > #bd_prod_name {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--as-form-input-radius);
    border-bottom-left-radius: var(--as-form-input-radius);
}
.as-form-page .as-prod-name-group > .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--as-form-input-radius);
    border-bottom-right-radius: var(--as-form-input-radius);
}

.as-form-page .as-prod-picker {
    max-width: 420px;
    width: 100%;
    box-sizing: border-box;
}
.as-form-page .as-prod-picker .as-prod-search-trigger {
    width: 100%;
    max-width: var(--as-step3-input-max, 300px);
    border-radius: var(--as-form-input-radius);
    font-size: 0.8125rem;
}
.as-form-page .as-prod-picker .bbs-form-product-list:not(.d-none) + .as-prod-search-trigger {
    margin-top: 0.65rem;
}
.as-form-page .bbs-form-product-card__qty-input {
    border-radius: 0;
}

.as-form-field-hint {
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #5c6670;
    font-size: 0.78rem;
    line-height: 1.55;
    box-sizing: border-box;
}

.as-step3-section + .as-step3-section {
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid #e3e6f0;
}
.as-step3-section__title {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #495057;
    letter-spacing: 0.01em;
}

.as-form-page .as-purchase-groups-root .as-purchase-group__purchase-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.as-form-page .as-purchase-groups-root .as-purchase-group__purchase-section::before {
    content: '';
    display: block;
    border-top: 1px dashed #d0d7e2;
    margin: 0.75rem 0.5rem;
}

.as-form-page #stepPanel3 .form-label {
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
}
.as-form-page #stepPanel3 .as-step3-grid {
    align-items: flex-start;
}

.as-form-page #stepPanel3 .as-step3-field-cell .form-control,
.as-form-page #stepPanel3 .as-step3-field-cell .form-select {
    max-width: var(--as-step3-input-max);
    width: 100%;
    box-sizing: border-box;
}
.as-form-page #stepPanel3 .as-step3-field-cell .as-form-field-hint {
    max-width: var(--as-step3-hint-max);
    width: 100%;
    box-sizing: border-box;
}
.as-form-page #stepPanel3 .as-step3-field-cell--full .form-control {
    max-width: var(--as-step3-input-wide-max);
    width: 100%;
    box-sizing: border-box;
}
.as-form-page #stepPanel3 .as-step3-field-cell--full .as-form-field-hint {
    max-width: var(--as-step3-hint-max);
    width: 100%;
    box-sizing: border-box;
}
.as-form-page #stepPanel3 .as-step3-prod-cell .as-prod-picker,
.as-form-page #stepPanel3 .as-step3-prod-cell .as-prod-name-group,
.as-form-page #stepPanel3 .as-step3-prod-cell .bbs-form-product-list {
    max-width: var(--as-step3-prod-max);
    width: 100%;
    box-sizing: border-box;
}
.as-form-page #stepPanel3 .as-step3-field-cell--stack .as-step3-stack-item + .as-step3-stack-item {
    margin-top: 1.15rem;
}
.as-form-page #stepPanel3 .as-step3-field-cell--stack .as-step3-stack-item--wide .form-control {
    max-width: var(--as-step3-input-wide-max);
    width: 100%;
    box-sizing: border-box;
}
.as-form-page #stepPanel3 .as-step3-field-cell--stack .as-step3-stack-item--wide .as-form-field-hint {
    max-width: var(--as-step3-hint-max);
    width: 100%;
    box-sizing: border-box;
}

.as-form-page #stepPanel4 #bd_ship_method {
    width: 100%;
    box-sizing: border-box;
}

.as-form-page #stepPanel3 .as-field-short .form-control,
.as-form-page #stepPanel3 .as-field-short .form-select {
    max-width: 260px;
    width: 100%;
    box-sizing: border-box;
}
.as-form-page #stepPanel3 .as-field-medium .form-control {
    max-width: 360px;
    width: 100%;
    box-sizing: border-box;
}
.as-form-page #stepPanel3 .as-field-wide .form-control {
    max-width: 420px;
    width: 100%;
    box-sizing: border-box;
}
.as-form-page #stepPanel3 .as-prod-picker,
.as-form-page #stepPanel3 .as-prod-name-group,
.as-form-page #stepPanel3 .bbs-form-product-list {
    max-width: 420px;
    width: 100%;
    box-sizing: border-box;
}
.as-form-page #stepPanel3 .as-prod-picker {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.as-form-page #stepPanel3 .as-prod-name-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}
.as-form-page #stepPanel3 .as-prod-name-group > #bd_prod_name {
    min-width: 0;
    flex: 1 1 auto;
    width: 1% !important;
    max-width: none !important;
    font-size: 0.875rem;
}
.as-form-page #stepPanel3 .as-prod-name-group > .form-control {
    font-size: 0.875rem;
}
.as-form-page #stepPanel3 .as-prod-name-group > .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.8125rem;
}

/* ==========================================================================
   6. 구입 정보 그룹 & 제품 직접 입력 (AS·교환·반품 공통)
   ========================================================================== */
.as-form-page .as-purchase-groups-root .bbs-form-product-card__thumb-wrap {
    width: 84px;
    height: 84px;
    border-radius: 10px;
}
.as-form-page .as-purchase-groups-root .bbs-form-product-card__body {
    align-items: flex-start;
    gap: 0.85rem;
    padding-right: 1.75rem;
}
.as-form-page .as-purchase-groups-root .bbs-form-product-card {
    padding: 0.7rem 0.85rem;
}
.as-form-page .as-purchase-groups-root .bbs-form-product-card__label {
    font-size: 0.9rem;
    line-height: 1.4;
    white-space: normal;
}

.as-form-page .as-group-manual-input-row {
    align-items: stretch;
    gap: 0;
}
.as-form-page .as-group-manual-field-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}
.as-form-page .as-group-manual-field-wrap .as-group-manual-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-right: 2.75rem;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    box-shadow: none;
}
.as-form-page .as-group-manual-field-wrap .as-group-manual-input:focus,
.as-form-page .as-group-manual-field-wrap .as-group-manual-input:focus-visible {
    border-color: #ced4da;
    box-shadow: none !important;
    outline: none !important;
}
.as-form-page .as-group-manual-field-wrap .as-group-manual-input.as-field-entry-hint,
.as-form-page .as-group-manual-field-wrap .as-group-manual-input.as-field-entry-pulse {
    box-shadow: none !important;
    animation: none !important;
}
.as-form-page .as-group-manual-field-wrap .as-group-manual-input.is-invalid {
    border-color: #e74a3b;
}
.as-form-page .as-group-manual-close {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #6c757d;
    border-radius: 50%;
    line-height: 1;
}
.as-form-page .as-group-manual-close .material-icons {
    font-size: 1.25rem;
}
.as-form-page .as-group-manual-close:hover,
.as-form-page .as-group-manual-close:focus {
    color: #212529;
    background: rgba(0, 0, 0, 0.06);
}
.as-form-page .as-group-manual-confirm {
    flex-shrink: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-weight: 600;
}

.bbs-prod-name-suggest-wrap {
    position: relative;
}
.bbs-prod-name-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 30;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}
.bbs-prod-name-suggest__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.75rem 0.35rem;
    border-bottom: 1px solid #f1f3f5;
}
.bbs-prod-name-suggest__title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6c757d;
}
.bbs-prod-name-suggest__close {
    border: none;
    background: transparent;
    color: #adb5bd;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0;
}
.bbs-prod-name-suggest__list {
    list-style: none;
    margin: 0;
    padding: 0.2rem 0;
    max-height: 280px;
    overflow-y: auto;
}
.bbs-prod-name-suggest__item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 0.5rem 0.75rem;
    font-size: 0.86rem;
    color: #212529;
}
.bbs-prod-name-suggest__item:hover,
.bbs-prod-name-suggest__item:focus {
    background: #f8f9fc;
}
.bbs-prod-name-suggest__thumb-wrap {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 7px;
    overflow: hidden;
    background: #f1f3f5;
    border: 1px solid #eef1f3;
}
.bbs-prod-name-suggest__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bbs-prod-name-suggest__label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bbs-prod-name-suggest__mark {
    background: transparent;
    color: #4e73df;
    font-weight: 700;
    padding: 0;
}
.bbs-prod-name-suggest__tag {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: #868e96;
    max-width: 5.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bbs-prod-name-suggest__tag--match {
    color: #4e73df;
    font-weight: 600;
}

@media (min-width: 992px) {
    .as-form-page .as-purchase-groups-root .as-group-brand-prod-row.as-step3-grid,
    .as-form-page .as-purchase-groups-root .as-purchase-group__purchase-section .as-step3-grid {
        display: block;
    }
    .as-form-page .as-purchase-groups-root .as-step3-grid--stack > [class*="col-"],
    .as-form-page .as-purchase-groups-root .as-group-brand-prod-row.as-step3-grid > [class*="col-"],
    .as-form-page .as-purchase-groups-root .as-purchase-group__purchase-section .as-step3-grid > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0.75rem;
    }
    .as-form-page .as-purchase-groups-root .as-step3-grid .form-control,
    .as-form-page .as-purchase-groups-root .as-step3-grid .form-select,
    .as-form-page .as-purchase-groups-root .as-group-brand-cell .as-group-brand-select,
    .as-form-page .as-purchase-groups-root .as-group-brand-cell .as-group-brand-ac-input {
        max-width: none;
        width: 100%;
    }
}

.as-group-brand-picker-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}
.as-group-brand-picker-row .as-group-brand-ac-wrap {
    flex: 1 1 auto;
    min-width: 0;
}
.as-group-brand-warranty-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
}

@media (max-width: 575.98px) {
    .as-group-brand-picker-row {
        flex-wrap: wrap;
    }
    .as-group-brand-warranty-btn {
        width: 100%;
    }
}

.as-prod-member-hint {
    display: inline-block;
    padding: 0;
    font-size: 0.73rem;
    font-weight: 500;
    line-height: 1.35;
    color: #6c757d;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: default;
    user-select: none;
}
.as-step3-section__title-row {
    gap: 0.5rem 0.75rem;
}
.as-step3-section__title-row .as-step3-section__title {
    flex: 0 1 auto;
}
.as-step3-section__title-row .as-prod-member-hint {
    margin-left: auto;
}

/* 구입정보 카드 저장 상태 및 요약 뷰 */
.as-purchase-group-card--saved {
    background: #f8fafc;
}
.as-saved-card-view {
    background: #ffffff;
    border: 1px solid #e3e6f0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(58, 59, 69, 0.04);
}
.as-summary-badge-label {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4e73df;
    background-color: #f0f4ff;
    border-radius: 4px;
    border: 1px solid #d0e0ff;
}
.as-saved-card__meta-grid {
    background-color: #f8f9fc;
    border-radius: 8px;
    padding: 0.75rem 0.85rem;
    margin-top: 0.5rem;
    border: 1px solid #eef1f6;
}
.as-purchase-group-card__saved-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: 0;
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1cc88a;
}
.as-purchase-group-card__saved-badge .material-icons {
    font-size: 0.95rem;
}

.as-purchase-group-card__actions .as-group-action-btn {
    min-width: 88px;
    padding: 0.52rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    border-radius: 8px;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.as-purchase-group-card__actions .as-group-save-btn,
.as-purchase-group-card__actions .as-group-add-product-btn {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: #fff;
    border: none;
}
.as-purchase-group-card__actions .as-group-save-btn:hover,
.as-purchase-group-card__actions .as-group-save-btn:focus,
.as-purchase-group-card__actions .as-group-add-product-btn:hover,
.as-purchase-group-card__actions .as-group-add-product-btn:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.35);
}

.as-purchase-group-card__actions .as-group-cancel-btn,
.as-purchase-group-card__actions .as-group-delete-btn,
.as-purchase-group-card__actions .as-group-cancel-edit-btn {
    background: #fff;
    color: #6c757d;
    border: 1px solid #d1d3e2;
}
.as-purchase-group-card__actions .as-group-cancel-btn:hover,
.as-purchase-group-card__actions .as-group-cancel-btn:focus,
.as-purchase-group-card__actions .as-group-delete-btn:hover,
.as-purchase-group-card__actions .as-group-delete-btn:focus,
.as-purchase-group-card__actions .as-group-cancel-edit-btn:hover,
.as-purchase-group-card__actions .as-group-cancel-edit-btn:focus {
    background: #f8f9fc;
    border-color: #c5cad6;
    color: #495057;
}

.as-purchase-group-card__actions .as-group-edit-btn {
    background: #fff;
    color: #5a5c69;
    border: 1px solid #d1d3e2;
}
.as-purchase-group-card__actions .as-group-edit-btn:hover,
.as-purchase-group-card__actions .as-group-edit-btn:focus {
    background: #f8f9fc;
    color: #4e73df;
    border-color: #bac8f3;
}

.as-summary-group-card__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.as-summary-group-edit {
    margin-left: auto;
    font-size: 0.78rem;
    padding: 0.2rem 0.65rem;
}

.exchange-terms-list li + li {
    margin-top: 0.35rem;
}

.as-form-page--exchange .as-exchange-purchase-notice {
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    background: #fff5f5;
    border: 1px solid #f5c2c7;
    color: #c0392b;
    font-size: 0.78rem;
    line-height: 1.55;
}
.as-form-page--exchange .as-exchange-purchase-notice__title {
    margin: 0;
    font-weight: 700;
    color: #e74a3b;
}
.as-form-page--exchange .as-exchange-purchase-notice__list {
    color: #e74a3b;
}
.as-form-page--exchange .as-exchange-purchase-notice__list li + li {
    margin-top: 0.45rem;
}

/* ==========================================================================
   7. 작성 내용 최종 확인 및 요약 디자인 (5단계)
   ========================================================================== */
.as-summary-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.9rem 1.15rem;
    margin-bottom: 1.15rem;
    border-radius: 12px;
    background: #fffbf0;
    border: 1px solid #ffe8a3;
    color: #664d03;
    font-size: 1.0rem;
    line-height: 1.55;
}
.as-summary-notice__icon {
    flex: 0 0 auto;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #e6a817;
}
.as-summary-notice p {
    margin: 0;
}

.as-summary-card {
    border: 1px solid #e3e6f0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 14px rgba(58, 59, 69, 0.05);
}
.as-step5-header {
    gap: 0.75rem;
}
.as-step5-header__submit {
    flex: 0 0 auto;
    white-space: nowrap;
}
.as-summary-section {
    padding: 1.15rem 1.35rem 1.2rem;
}
.as-summary-section + .as-summary-section {
    border-top: 1px solid #eef1f6;
}
.as-summary-section__title {
    margin: 0 0 0.8rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #858796;
    letter-spacing: 0.01em;
}
.as-summary-section__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}
.as-summary-section__head .as-summary-section__title {
    margin-bottom: 0;
}
.as-summary-customer-edit {
    font-size: 0.8125rem;
    padding: 0.2rem 0.65rem;
}
.as-summary-add-purchase-wrap {
    padding: 0.85rem 1.35rem 1.15rem;
    border-top: 1px solid #eef1f6;
}
.as-summary-add-purchase-wrap .as-summary-add-purchase-group {
    width: 100%;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
    padding: 0.75rem 1rem;
    border: 2px dashed #b8c9e8 !important;
    border-radius: 10px;
    color: #4e73df;
    background: #f8faff;
    transition: background 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.as-summary-add-purchase-wrap .as-summary-add-purchase-group:hover,
.as-summary-add-purchase-wrap .as-summary-add-purchase-group:focus {
    background: #eef3ff !important;
    border-color: #4e73df !important;
    color: #2e59d9 !important;
    outline: none;
}
.as-summary-dl {
    margin: 0;
}

.as-summary-item {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 0.35rem 0.85rem;
    align-items: start;
    padding: 0.65rem 0;
}
.as-summary-item + .as-summary-item {
    border-top: 1px solid #f4f5f9;
}
.as-summary-item:first-child {
    padding-top: 0;
}
.as-summary-item:last-child {
    padding-bottom: 0;
}
.as-summary-item dt {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    line-height: 1.55;
}
.as-summary-item dd {
    margin: 0;
    font-size: 1rem;
    color: #2e384d;
    line-height: 1.65;
    word-break: break-word;
}
.as-summary-value--emphasis {
    font-weight: 700;
    color: #212529;
}
.as-summary-value--multiline {
    white-space: pre-line;
}

.as-summary-groups-detail {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 0.25rem;
}
.as-summary-groups-detail__empty {
    font-size: 0.9375rem;
}
.as-summary-group-card {
    border: 1px solid #e3e6f0;
    border-radius: 12px;
    background: #f8f9fc;
    padding: 0.85rem 1rem 0.95rem;
}
.as-summary-group-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.65rem;
    margin-bottom: 0.35rem;
}
.as-summary-group-card__badge {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #4e73df;
    letter-spacing: 0.01em;
}
.as-summary-group-card__brand {
    font-size: 1rem;
    font-weight: 700;
    color: #2e384d;
    line-height: 1.4;
}
.as-summary-group-card__meta {
    margin: 0 0 0.65rem;
    font-size: 0.875rem;
    color: #858796;
    line-height: 1.5;
}
.as-summary-group-card__meta-sep {
    color: #ced4da;
}
.as-summary-group-card__products {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.as-summary-product-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eef1f6;
}
.as-summary-product-row__thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e3e6f0;
    background: #fff;
}
.as-summary-product-row__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.as-summary-product-row__body {
    flex: 1 1 auto;
    min-width: 0;
}
.as-summary-product-row__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2e384d;
    line-height: 1.45;
    word-break: break-word;
}
.as-summary-product-row__qty {
    font-weight: 700;
    color: #858796;
    font-size: 0.85em;
}
.as-summary-product-row__symptom {
    margin-top: 0.35rem;
    font-size: 0.9375rem;
    color: #6c757d;
    line-height: 1.55;
    white-space: pre-line;
    word-break: break-word;
}

.as-summary-item--attachments {
    align-items: start;
}
.as-summary-item--attachments dd {
    min-width: 0;
}
.as-summary-files {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.55rem;
    width: 100%;
    max-width: 100%;
}
.as-summary-files--empty {
    display: block;
    width: 100%;
    padding: 0.15rem 0;
    color: #adb5bd;
    font-size: 0.88rem;
}

.as-summary-file-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 96px;
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e3e6f0;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    background: #f8f9fc;
}
.as-summary-file-thumb__slot {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 1;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.3rem;
    border-radius: 4px;
    background: rgba(33, 37, 41, 0.72);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.25rem;
    text-align: center;
    pointer-events: none;
}
.as-summary-file-thumb:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.as-summary-file-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.as-summary-file-chip {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    padding: 0.25rem;
    border-radius: 10px;
    border: 1px solid #e3e6f0;
    background: #f8f9fc;
    color: #858796;
    font-size: 0.68rem;
    text-align: center;
    word-break: break-all;
    line-height: 1.3;
    box-sizing: border-box;
}
.as-summary-file-chip__label {
    font-weight: 700;
    color: #4e73df;
    font-size: 0.72rem;
}
.as-summary-file-chip__name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 0.15rem;
    font-size: 0.62rem;
}

/* ==========================================================================
   8. 4단계 개인 정보 및 세부 구조 설정
   ========================================================================== */
.as-step2-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.as-step2-section {
    padding: 1.15rem 0;
    border-bottom: 1px solid #e3e6f0;
}
.as-step2-section:first-child {
    padding-top: 0;
}
.as-step2-section:last-child {
    padding-bottom: 0;
}
.as-step2-section--guest:last-child {
    border-bottom: 0;
}

.as-form-page #stepPanel4 .as-step4-grid {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    margin-bottom: 0;
}
.as-form-page #stepPanel4 .as-step4-grid > .as-step3-field-cell:not(:last-child) {
    margin-bottom: 1.5rem;
}
.as-form-page #stepPanel4 .as-step4-grid .as-step3-field-cell > .form-label,
.as-form-page #stepPanel4 .as-step4-grid .as-step3-field-cell > .as-step2-label-row .form-label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
.as-form-page #stepPanel4 .as-step4-grid .form-control,
.as-form-page #stepPanel4 .as-step4-grid .form-select,
.as-form-page #stepPanel4 .as-step4-grid .as-email-input-group,
.as-form-page #stepPanel4 .as-step4-grid .as-password-input-group,
.as-form-page #stepPanel4 .as-step4-grid .as-step2-zip-group,
.as-form-page #stepPanel4 .as-step4-grid .as-step2-address-block .form-control {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.5;
}
.as-form-page #stepPanel4 .as-step4-grid .as-step2-label-row {
    max-width: 100%;
    width: 100%;
    margin-bottom: 0.5rem;
}

.as-form-page.as-form-page--qna #qna-step-write .as-step2-layout--qna .as-step2-section {
    padding: 1.5rem 0.85rem;
    box-sizing: border-box;
}
.as-form-page.as-form-page--qna #qna-step-write .as-step2-layout--qna .as-step2-section:first-child {
    padding-top: 0;
}
.as-form-page.as-form-page--qna #qna-step-write .as-step2-layout--qna .as-step2-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.as-form-page.as-form-page--qna #qna-step-write .as-step3-grid {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    margin-bottom: 0;
}
.as-form-page.as-form-page--qna #qna-step-write .as-step3-grid > .as-step3-field-cell:not(:last-child) {
    margin-bottom: 1.5rem;
}
.as-form-page.as-form-page--qna #qna-step-write .as-step3-field-cell > .form-label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
.as-form-page.as-form-page--qna #qna-step-write .as-step3-field-cell .form-control,
.as-form-page.as-form-page--qna #qna-step-write .as-step3-field-cell .form-select,
.as-form-page.as-form-page--qna #qna-step-write .as-step3-field-cell textarea.form-control {
    font-size: 1rem;
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.as-form-page.as-form-page--qna #qna-step-write .as-step3-field-cell .as-email-input-group,
.as-form-page.as-form-page--qna #qna-step-write .as-step3-field-cell .as-password-input-group {
    width: 100%;
    max-width: 100%;
}
.as-form-page.as-form-page--qna .as-email-input-group:not(.as-email-input-group--empty) > #bd_email {
    background-color: #f8f9fc;
    color: #495057;
}
.as-form-page.as-form-page--qna .as-email-input-group:not(.as-email-input-group--empty) > .input-clear-btn.input-group-text {
    display: flex !important;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-width: 2.5rem;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    background-color: #fff !important;
    border-color: #ced4da;
    border-left: 1px solid #ced4da !important;
    color: #858796;
    font-size: 1.15rem;
    line-height: 1;
}
.as-form-page.as-form-page--qna #qna-step-write .qna-field-hint,
.as-form-page.as-form-page--qna #qna-step-write .as-step3-field-cell .text-secondary.fs-8,
.as-form-page.as-form-page--qna #qna-step-write .as-step3-field-cell .text-muted.small {
    font-size: 0.78rem;
    line-height: 1.55;
    margin-top: 0.5rem;
}
.as-form-page.as-form-page--qna #qna-step-write .as-prod-pick-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.15rem;
    margin-bottom: 0.75rem;
}
.as-form-page.as-form-page--qna #qna-step-write .bbs-form-product-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.25rem;
}
.as-form-page.as-form-page--qna #qna-step-write .bbs-form-product-list .bbs-form-product-card,
.as-form-page.as-form-page--qna #qna-step-confirm .bbs-form-product-list .bbs-form-product-card {
    margin-bottom: 0;
}
.as-form-page.as-form-page--qna .bbs-form-product-card__qty-row {
    display: none !important;
}
.as-form-page.as-form-page--qna #qna-step-write .as-form-step-nav {
    margin-top: 2rem;
}

@media (max-width: 991.98px) {
    .as-form-page.as-form-page--qna #qna-step-write .as-step2-layout--qna .as-step2-section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}
@media (min-width: 992px) {
    .as-form-page.as-form-page--qna #qna-step-write .as-step3-grid > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
}

.as-step2-section__title {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #858796;
    letter-spacing: 0.01em;
}
.as-step2-section .as-step2-pair-row + .as-step2-pair-row {
    margin-top: 0.15rem;
}
.as-step2-split-col .as-step2-field:last-child {
    margin-bottom: 0;
}
.as-step2-split-col--single {
    max-width: 100%;
}
.as-step2-zip-group {
    width: 100%;
    max-width: 100%;
}
.as-step2-zip-group > #bd_zip {
    min-width: 0;
    flex: 1 1 auto;
    max-width: none;
}
.as-step2-zip-search-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.85rem;
}
.as-field-optional {
    margin-left: 0.2rem;
    color: #858796;
    font-weight: 500;
}

.as-step2-section--contact-addr {
    border-bottom: 0;
}
.as-step2-section--guest {
    border-top: 1px solid #e3e6f0;
    padding-top: 0.85rem;
}
.as-step2-side-col .as-step2-section__title {
    margin-bottom: 0.85rem;
}
.as-step2-side-col .as-step2-field--email {
    margin-bottom: 0;
}
.as-step2-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.5rem;
}

.as-same-applicant-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
}
.as-same-applicant-toggle:hover,
.as-same-applicant-toggle:focus {
    outline: none;
    box-shadow: none;
}
.as-same-applicant-toggle__label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #6c757d;
    white-space: nowrap;
}
.as-same-applicant-toggle__switch {
    position: relative;
    flex: 0 0 auto;
    width: 1.5rem;
    height: 0.84rem;
    border-radius: 999px;
    background: #dee2e6;
    transition: background-color 0.2s ease;
}
.as-same-applicant-toggle__knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(0.84rem - 4px);
    height: calc(0.84rem - 4px);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}
.as-same-applicant-toggle.is-on,
.as-same-applicant-toggle[aria-pressed="true"] {
    background: transparent;
}
.as-same-applicant-toggle.is-on .as-same-applicant-toggle__label,
.as-same-applicant-toggle[aria-pressed="true"] .as-same-applicant-toggle__label {
    color: #4e73df;
}
.as-same-applicant-toggle.is-on .as-same-applicant-toggle__switch,
.as-same-applicant-toggle[aria-pressed="true"] .as-same-applicant-toggle__switch {
    background: #4e73df;
}
.as-same-applicant-toggle.is-on .as-same-applicant-toggle__knob,
.as-same-applicant-toggle[aria-pressed="true"] .as-same-applicant-toggle__knob {
    transform: translateX(calc(1.5rem - 0.84rem));
}
.as-step2-address-block .form-control {
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   9. 미디어 쿼리 반응형 레이아웃 처리 (PC / 모바일 분기)
   ========================================================================== */
@media screen and (min-width: 768px) {
    .as-form-page #stepPanel4 .as-step4-grid .form-control,
    .as-form-page #stepPanel4 .as-step4-grid .form-select,
    .as-form-page #stepPanel4 .as-step4-grid .as-step3-field-cell > .input-group,
    .as-form-page #stepPanel4 .as-step4-grid .as-email-input-group,
    .as-form-page #stepPanel4 .as-step4-grid .as-password-input-group,
    .as-form-page #stepPanel4 .as-step4-grid .as-step2-zip-group,
    .as-form-page #stepPanel4 .as-step4-grid .as-step2-address-block .form-control,
    .as-form-page #stepPanel4 .as-step4-grid .as-step2-label-row,
    .as-form-page #stepPanel4 #bd_ship_method {
        width: 100%;
        max-width: var(--as-contact-field-width);
        box-sizing: border-box;
    }

    .as-form-page.as-form-page--qna #qna-step-write .as-step2-section--contact .form-control,
    .as-form-page.as-form-page--qna #qna-step-write .as-step2-section--guest .form-control,
    .as-form-page.as-form-page--qna #qna-step-write .as-step2-section--contact .as-email-input-group,
    .as-form-page.as-form-page--qna #qna-step-write .as-step2-section--guest .as-password-input-group,
    .as-form-page.as-form-page--qna #qna-step-write .as-step2-section--inquiry input.form-control,
    .as-form-page.as-form-page--qna #qna-step-write .as-step2-section--product .as-group-manual-input-row,
    .as-form-page.as-form-page--qna #qna-step-write .as-step2-section--product .bbs-form-product-list {
        max-width: var(--as-contact-field-width);
    }
    .as-form-page.as-form-page--qna #qna-step-write .as-step2-section--inquiry textarea.form-control,
    .as-form-page.as-form-page--qna #qna-step-write .as-step2-section--files input[type="file"].form-control {
        max-width: var(--as-contact-field-full-width);
    }
}

@media screen and (min-width: 768px) {
    .as-form-page #stepPanel4 .as-step2-side-row > .as-step2-side-col {
        min-width: 0;
    }
    .as-form-page #stepPanel4 .as-step2-col-4.as-step2-side-col .as-step2-field .form-control,
    .as-form-page #stepPanel4 .as-step2-col-4.as-step2-side-col .as-step2-field .form-select {
        max-width: var(--as-contact-field-width);
        width: 100%;
        box-sizing: border-box;
    }
    .as-form-page #stepPanel4 .as-step2-col-4 .as-step2-label-row {
        max-width: var(--as-contact-field-width);
    }
    .as-form-page #stepPanel4 .as-step2-col-6.as-step2-side-col .as-step2-zip-group {
        max-width: var(--as-contact-field-width);
        width: 100%;
    }
    .as-form-page #stepPanel4 .as-step2-col-6.as-step2-side-col #bd_ship_method {
        max-width: var(--as-contact-field-width);
        width: 100%;
        box-sizing: border-box;
    }
    .as-form-page #stepPanel4 .as-step2-col-6 .as-step2-field--email .as-email-input-group {
        max-width: var(--as-contact-field-width);
        width: 100%;
        margin-left: 0;
        margin-right: auto;
        box-sizing: border-box;
    }
    .as-form-page #stepPanel4 .as-step2-address-block {
        max-width: 100%;
        width: 100%;
    }
    .as-form-page #stepPanel4 .as-step2-layout--exchange .as-step2-address-block .form-control,
    .as-form-page #stepPanel4 .as-step2-layout--as .as-step2-address-block .form-control {
        max-width: var(--as-contact-field-width);
        width: 100%;
        box-sizing: border-box;
    }
    .as-form-page #stepPanel4 .as-step2-field.mb-3 {
        margin-bottom: 1rem !important;
    }
    .as-form-page #stepPanel4 .as-step2-address-block .form-control.mb-2 {
        margin-bottom: 0.5rem !important;
    }
    .as-form-page #stepPanel4 .as-step2-address-block .form-control:last-of-type {
        margin-bottom: 0 !important;
    }
    .as-form-page #stepPanel4 .as-step2-field--email {
        margin-top: 1rem;
    }
    .as-form-page #stepPanel4 .as-step2-pair-row .as-step2-field .form-control {
        max-width: var(--as-contact-field-width);
        width: 100%;
        box-sizing: border-box;
    }
    .as-form-page #stepPanel4 .as-step2-col-4:not(.col-md-5) {
        flex: 0 0 40% !important;
        max-width: 40% !important;
        width: 40% !important;
    }
    .as-form-page #stepPanel4 .as-step2-col-6:not(.col-md-7) {
        flex: 0 0 60% !important;
        max-width: 60% !important;
        width: 60% !important;
    }
    .as-form-page #stepPanel4 .as-step2-col-4,
    .as-form-page #stepPanel4 .as-step2-col-6 {
        min-width: 0;
    }

    .as-form-page #stepPanel4 .as-step2-side-row,
    .as-form-page #stepPanel4 .as-step2-pair-row {
        display: block;
        --bs-gutter-y: 0;
    }
    .as-form-page #stepPanel4 .as-step2-side-row > .as-step2-side-col,
    .as-form-page #stepPanel4 .as-step2-side-row > [class*="col-"],
    .as-form-page #stepPanel4 .as-step2-pair-row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
    }
    .as-form-page #stepPanel4 .as-step2-col-4.as-step2-side-col .as-step2-field .form-control,
    .as-form-page #stepPanel4 .as-step2-col-4.as-step2-side-col .as-step2-field .form-select,
    .as-form-page #stepPanel4 .as-step2-col-4 .as-step2-label-row,
    .as-form-page #stepPanel4 .as-step2-col-6.as-step2-side-col .as-step2-zip-group,
    .as-form-page #stepPanel4 .as-step2-col-6.as-step2-side-col #bd_ship_method,
    .as-form-page #stepPanel4 .as-step2-col-6 .as-step2-field--email .as-email-input-group,
    .as-form-page #stepPanel4 .as-step2-pair-row .as-step2-field .form-control,
    .as-form-page #stepPanel4 .as-step2-field--email .as-email-input-group,
    .as-form-page #stepPanel4 .as-step2-zip-group,
    .as-form-page #stepPanel4 .as-password-input-group {
        max-width: var(--as-contact-field-width);
        width: 100% !important;
    }
    .as-form-page #stepPanel4 .as-step4-grid .as-step2-address-block .form-control {
        max-width: var(--as-contact-field-width);
    }
    .as-form-page #stepPanel4 .as-step2-col-4:not(.col-md-5),
    .as-form-page #stepPanel4 .as-step2-col-6:not(.col-md-7) {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .as-form-page #stepPanel4 .as-step2-field.mb-3 {
        margin-bottom: 1.5rem !important;
    }
    .as-form-page #stepPanel4 .as-step2-field--email {
        margin-top: 0;
    }

    .as-form-page #stepPanel4 .as-step2-split-row,
    .as-form-page #stepPanel4 .as-step2-side-row,
    .as-form-page #stepPanel4 .as-step2-pair-row {
        --bs-gutter-x: 2.25rem;
        --bs-gutter-y: 0;
    }
    .as-form-page #stepPanel4 .as-step2-split-col,
    .as-form-page #stepPanel4 .as-step2-side-col,
    .as-form-page #stepPanel4 .as-step2-pair-row > [class*="col-"] {
        padding: 0.85rem calc(var(--bs-gutter-x) * 0.5 + 0.5rem) !important;
        box-sizing: border-box;
    }
    .as-form-page .as-step3-grid {
        --bs-gutter-x: 2rem;
        --bs-gutter-y: 0;
    }
    .as-form-page .as-step3-grid > [class*="col-"] {
        padding: 0.85rem calc(var(--bs-gutter-x) * 0.5 + 0.5rem) !important;
        box-sizing: border-box;
    }
    .as-form-page #stepPanel3 .as-step3-prod-cell .bbs-form-product-card {
        width: 100%;
        box-sizing: border-box;
    }
    .as-form-page #stepPanel3 .bbs-form-product-list {
        gap: 0.4rem;
        margin-top: 0.45rem;
    }
    .as-form-page #stepPanel3 .bbs-form-product-card {
        padding: 0.38rem 0.48rem;
        border-radius: 8px;
    }
    .as-form-page #stepPanel3 .bbs-form-product-card__body {
        gap: 0.5rem;
        padding-right: 1.25rem;
    }
    .as-form-page #stepPanel3 .bbs-form-product-card__thumb-wrap {
        width: 46px;
        height: 46px;
        border-radius: 7px;
    }
    .as-form-page #stepPanel3 .bbs-form-product-card__brand {
        font-size: 0.66rem;
        margin-bottom: 0;
        line-height: 1.2;
    }
    .as-form-page #stepPanel3 .bbs-form-product-card__label-row {
        min-width: 0;
    }
    .as-form-page #stepPanel3 .bbs-form-product-card__label {
        font-size: 0.76rem;
        line-height: 1.35;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        word-break: break-word;
    }
    .as-form-page #stepPanel3 .bbs-form-product-card__qty-row {
        margin-top: 0.1rem;
    }
    .as-form-page #stepPanel3 .bbs-form-product-card__qty {
        flex: 0 0 auto;
    }
    .as-form-page #stepPanel3 .bbs-form-product-card__qty-btn {
        width: 1.05rem;
        min-width: 1.05rem;
        font-size: 0.72rem;
    }
    .as-form-page #stepPanel3 .bbs-form-product-card__qty-input {
        width: 1.65rem;
        min-width: 1.65rem;
        height: 1.05rem;
        font-size: 0.68rem;
    }
    .as-form-page #stepPanel3 .bbs-form-product-card__remove {
        top: 0.18rem;
        right: 0.18rem;
        width: 1.15rem;
        height: 1.15rem;
    }
    .as-form-page #stepPanel3 .bbs-form-product-card__remove .material-icons {
        font-size: 0.74rem;
    }
}

@media (max-width: 767.98px) {
    .as-form-page #stepPanel4 .as-step2-col-4,
    .as-form-page #stepPanel4 .as-step2-col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    .as-form-page {
        padding-left: 0.625rem !important;
        padding-right: 0.625rem !important;
        max-width: 100%;
    }
    .as-form-page .as-purchase-group-card--numbered > .as-purchase-group-card__actions {
        padding: 0.85rem 0.75rem 1.25rem;
    }
    .as-form-page .as-purchase-group-card:not(.as-purchase-group-card--numbered) {
        padding: 0.75rem 0.75rem 1.25rem !important;
    }
    .as-form-page .as-purchase-group-card--numbered > .row,
    .as-form-page .as-purchase-group-card--numbered > section {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .as-form-page .as-purchase-group-card--numbered > .as-purchase-group-card__head {
        padding-left: 0.75rem;
        padding-right: 3.25rem;
    }
    .as-form-page .as-purchase-group-card__head--single {
        padding-right: 3.25rem;
    }
    .as-form-page .as-qty-notice {
        padding: 0.75rem 0.85rem !important;
    }
    .as-form-page .as-add-purchase-group-card {
        padding: 0.9rem 0.85rem;
        gap: 0.65rem;
    }
    .as-form-page .as-add-purchase-group-wrap--ready .as-add-purchase-group-card {
        padding: 0.85rem 0.85rem;
    }
    .as-form-page .as-add-purchase-group-card__title {
        font-size: 0.88rem;
    }
    .as-form-page .as-add-purchase-group-card__desc {
        font-size: 0.74rem;
    }
    .as-form-page .as-qty-notice-badge {
        font-size: 0.68rem !important;
    }
    .as-form-page .as-qty-notice-tip-label {
        font-size: 0.66rem !important;
    }
    .as-form-page .as-prod-pick-modes {
        gap: 0.4rem !important;
    }
    .as-form-page .as-purchase-groups-root .as-group-prod-cell > .as-prod-pick-modes {
        margin-bottom: 0.85rem !important;
    }
    .as-form-page .as-purchase-groups-root .as-group-prod-cell > .as-group-lines {
        margin-top: 0.15rem;
    }
    .as-form-page .as-prod-pick-badge-label {
        font-size: 0.74rem !important;
        padding: 0.35rem 0.6rem !important;
    }
    .as-form-page .as-prod-pick-badge-label .material-icons {
        font-size: 0.85rem !important;
        margin-right: 0.12rem !important;
    }
    .as-form-page > .text-center.my-3 {
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    .as-form-page .as-container {
        padding: 1rem 0.75rem;
        margin-top: 0.5rem;
        margin-bottom: 1.25rem;
        border-radius: 12px;
    }
    .as-form-page .stepper-wrapper {
        height: 72px;
        margin-bottom: 1.25rem;
    }
    .as-form-page .form-step-panel .p-3,
    .as-form-page #stepPanel4 .as-step2-layout {
        padding: 0.75rem !important;
    }
    .as-form-page #stepPanel4 .as-step2-layout {
        padding: 0 !important;
        margin-bottom: 0.75rem !important;
    }
    .as-form-page #stepPanel2 > .d-flex.justify-content-between.mb-4 {
        margin-bottom: 0.75rem !important;
    }
    .as-form-page .as-member-prefill-notice {
        margin-bottom: 1.5rem;
        padding: 1rem 1.05rem;
        border-radius: 20px;
    }
    .as-form-page .as-member-prefill-notice__text {
        font-size: 0.98rem;
        line-height: 1.6;
        color: #495057;
        align-items: center;
        gap: 0.4rem;
    }
    .as-form-page .as-member-prefill-notice__badge {
        font-size: 0.8rem;
        padding: 0.22rem 0.6rem;
    }
    .as-form-page #stepPanel4 .as-step2-field .form-control,
    .as-form-page #stepPanel4 .as-step2-address-block .form-control,
    .as-form-page #stepPanel4 .as-step2-zip-group,
    .as-form-page #stepPanel4 .as-step2-field--email .as-email-input-group,
    .as-form-page #stepPanel3 .as-step3-field-cell .form-control,
    .as-form-page #stepPanel3 .as-step3-field-cell .form-select,
    .as-form-page #stepPanel3 .as-step3-field-cell .as-form-field-hint,
    .as-form-page #stepPanel3 .as-step3-field-cell--full .form-control,
    .as-form-page #stepPanel3 .as-step3-field-cell--full .as-form-field-hint,
    .as-form-page #stepPanel3 .as-step3-prod-cell .as-prod-picker,
    .as-form-page #stepPanel3 .as-step3-prod-cell .as-prod-name-group,
    .as-form-page #stepPanel3 .as-step3-prod-cell .bbs-form-product-list,
    .as-form-page #stepPanel4 #bd_ship_method {
        max-width: 100% !important;
        width: 100% !important;
    }
    .as-summary-section {
        padding: 1rem 1rem 1.05rem;
    }
    .as-summary-item {
        grid-template-columns: 1fr;
        gap: 0.3rem;
        padding: 0.65rem 0;
    }
    .as-summary-file-thumb,
    .as-summary-file-chip {
        width: 76px;
        height: 76px;
    }
    .bbs-form-file-preview__thumb,
    .bbs-form-file-preview__type {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   10. 제품 상세 검색 모달 & 바코드 스캐너 UI (#productSearchModal)
   ========================================================================== */
#productSearchModal .bbs-prod-search-modal-dialog {
    max-width: 560px;
}
@media (min-width: 576px) {
    #productSearchModal .bbs-prod-search-modal-dialog {
        max-width: 680px;
    }
}
#productSearchModal .bbs-prod-search-modal-content {
    min-height: min(90vh, 780px);
    display: flex;
    flex-direction: column;
}
#productSearchModal .modal-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.bbs-prod-search-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 1.35rem;
}
.bbs-prod-search-meta-row #productSearchStatus {
    flex: 1 1 auto;
    min-width: 0;
}
.bbs-prod-search-admin-tools {
    flex: 0 0 auto;
    margin-left: auto;
}
.bbs-prod-search-admin-tools.d-none {
    display: none !important;
}

.bbs-prod-search-hidden-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.08rem 0.22rem 0.08rem 0.38rem;
    border: none;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    line-height: 1;
    transition: background-color 0.2s ease;
}
.bbs-prod-search-hidden-toggle-btn:hover,
.bbs-prod-search-hidden-toggle-btn:focus {
    border: none;
    outline: none;
    background: #fff5f5;
    box-shadow: none;
}
.bbs-prod-search-hidden-toggle-btn__label {
    font-size: 0.66rem;
    font-weight: 700;
    color: #e74a3b;
    white-space: nowrap;
}
.bbs-prod-search-hidden-toggle-btn__switch {
    position: relative;
    flex: 0 0 auto;
    width: 1.55rem;
    height: 0.88rem;
    border-radius: 999px;
    background: #dee2e6;
    transition: background-color 0.2s ease;
}
.bbs-prod-search-hidden-toggle-btn__knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(0.88rem - 4px);
    height: calc(0.88rem - 4px);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}
.bbs-prod-search-hidden-toggle-btn.is-on,
.bbs-prod-search-hidden-toggle-btn[aria-pressed="true"] {
    background: #fff5f5;
}
.bbs-prod-search-hidden-toggle-btn.is-on .bbs-prod-search-hidden-toggle-btn__switch,
.bbs-prod-search-hidden-toggle-btn[aria-pressed="true"] .bbs-prod-search-hidden-toggle-btn__switch {
    background: #e74a3b;
}
.bbs-prod-search-hidden-toggle-btn.is-on .bbs-prod-search-hidden-toggle-btn__knob,
.bbs-prod-search-hidden-toggle-btn[aria-pressed="true"] .bbs-prod-search-hidden-toggle-btn__knob {
    transform: translateX(0.67rem);
}

.bbs-prod-search-results-panel {
    position: relative;
    flex: 1 1 auto;
    min-height: 420px;
    height: min(58vh, 520px);
    overflow-y: auto;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #adb5bd transparent;
    display: flex;
    flex-direction: column;
}
.bbs-prod-search-results-panel.is-layout-settling {
    overflow-y: hidden;
}
#productSearchResultWrap.bbs-prod-search-results-section--empty:not(.d-none) {
    flex: 1 1 auto;
    min-height: 0;
    display: flex !important;
    flex-direction: column;
}
#productSearchResultWrap.bbs-prod-search-results-section--empty #productSearchEmptyWrap:not(.d-none) {
    flex: 1 1 auto;
    min-height: min(48vh, 460px);
    justify-content: center;
}
.bbs-prod-search-empty-message {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.45;
}
.bbs-prod-search-results-panel::-webkit-scrollbar {
    width: 6px;
}
.bbs-prod-search-results-panel::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 999px;
}

.bbs-prod-search-results-panel > .bbs-prod-search-loading:not(.d-none) {
    position: absolute;
    inset: 0;
    z-index: 2;
    margin: 0;
    min-height: 0;
    background: rgba(255, 255, 255, 0.88);
}
.bbs-prod-search-results-section {
    display: flex;
    flex-direction: column;
    min-height: min-content;
    flex: 1 1 auto;
}
.bbs-prod-search-results-section:not(.d-none) {
    min-height: 0;
}
.bbs-prod-search-results-section.d-none {
    display: none !important;
}

.bbs-prod-search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    padding: 2rem 0.75rem;
    margin-bottom: 0.25rem;
}
.bbs-prod-search-loading.d-none {
    display: none !important;
}
.bbs-prod-search-spinner {
    width: 1.35rem;
    height: 1.35rem;
    border: 2px solid #dee2e6;
    border-top-color: #4e73df;
    border-radius: 50%;
    animation: bbs-prod-search-spin 0.7s linear infinite;
    flex-shrink: 0;
}
.bbs-prod-search-loading .bbs-prod-search-spinner {
    width: 2.25rem;
    height: 2.25rem;
    border-width: 3px;
    border-color: #e2e8f0;
    border-top-color: #4e73df;
}
.bbs-prod-search-loading__text {
    display: none !important;
}
@keyframes bbs-prod-search-spin {
    to { transform: rotate(360deg); }
}

.bbs-prod-search-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #6c757d;
    margin: 0.25rem 0 0.5rem;
    letter-spacing: -0.01em;
}
.bbs-prod-search-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-height: 320px;
    overflow-y: auto;
}
.bbs-prod-search-list-scroll {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}
.bbs-prod-search-list-scroll::after {
    display: none !important;
}
.bbs-prod-search-list-scroll.is-scrollable::after {
    display: none !important;
}

.bbs-prod-search-list--recent {
    max-height: none;
    height: auto;
    overflow-y: visible;
    padding-bottom: 0.15rem;
}
.bbs-prod-search-list--results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    align-content: start;
    max-height: none;
    overflow: visible;
}
@media (min-width: 576px) {
    .bbs-prod-search-list--results {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.bbs-prod-search-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 0.25rem 0.15rem;
    color: #6c757d;
    font-size: 0.82rem;
}
.bbs-prod-search-more.d-none {
    display: none !important;
}
.bbs-prod-search-more__text {
    line-height: 1.3;
}

.bbs-prod-search-no-result-area {
    flex: 1 1 auto;
    width: 100%;
    min-height: 220px;
    padding: 1.25rem 0.75rem;
    text-align: center;
}
.bbs-prod-search-no-result-area:not(.d-none) {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: auto 0;
}
.bbs-prod-search-no-result-area.d-none {
    display: none !important;
}
#productSearchManualOpenBtn:not(.d-none) {
    display: inline-block !important;
}
#productSearchResultWrap:not(.d-none) {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 260px;
}
#productSearchResultList.bbs-prod-search-list--results.d-none {
    display: none !important;
}
.bbs-prod-search-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 220px;
    padding: 1.25rem 0.75rem;
    text-align: center;
}
.bbs-prod-search-empty.d-none {
    display: none !important;
}

.bbs-prod-search-manual--centered {
    width: 100%;
    max-width: min(100%, 340px);
    margin: 0 auto;
    text-align: left;
}
.bbs-prod-search-manual--centered .input-group {
    width: 100%;
}
.bbs-prod-search-manual-open-btn {
    min-width: 200px;
    border-radius: 10px;
    font-size: 0.875rem;
    padding: 0.55rem 1rem;
}
.bbs-prod-search-manual {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.bbs-prod-search-manual:not(.bbs-prod-search-manual--centered) {
    border-top: 1px solid #e9ecef;
    margin-top: 0.75rem;
    padding-top: 0.85rem;
}
.bbs-prod-search-manual.d-none {
    display: none !important;
}
#productSearchManualWrap.bbs-prod-search-manual--footer:not(.d-none) {
    display: block;
    flex-shrink: 0;
    border-top: 1px solid #e9ecef;
    margin-top: 0.75rem;
    padding-top: 0.85rem;
}
#productSearchManualWrap.bbs-prod-search-manual--footer .input-group {
    width: 100%;
}
.bbs-prod-search-manual--inline {
    width: 100%;
    max-width: min(100%, 360px);
    margin: 0 auto;
    text-align: left;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.bbs-prod-search-manual--inline .input-group {
    width: 100%;
}
.bbs-prod-search-results-panel > .bbs-prod-search-loading:not(.d-none) {
    z-index: 2;
}
.bbs-prod-search-manual .form-control.is-invalid {
    border-color: #dc3545;
}
.bbs-prod-search-manual .form-control:focus,
.bbs-prod-search-manual .form-control:focus-visible,
#productSearchManualInput:focus,
#productSearchManualInput:focus-visible {
    border-color: #ced4da;
    box-shadow: none !important;
    outline: none !important;
}

.bbs-prod-search-list--results::-webkit-scrollbar,
.bbs-prod-search-list--recent::-webkit-scrollbar {
    width: 6px;
}
.bbs-prod-search-list--recent::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 999px;
}
.bbs-prod-search-list--recent::-webkit-scrollbar-track {
    background: transparent;
}

.bbs-prod-search-item {
    display: block;
    width: 100%;
    border: 1px solid #e3e6f0;
    border-radius: 10px;
    background: #fff;
    padding: 0.55rem 0.65rem;
    text-align: left;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.bbs-prod-search-item__body {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.bbs-prod-search-item--recent .bbs-prod-search-item__body {
    align-items: flex-start;
}
.bbs-prod-search-item:hover,
.bbs-prod-search-item:focus {
    border-color: #4e73df;
    background: #f8f9fc;
    outline: none;
}

.bbs-prod-search-recent-empty {
    padding: 2rem 1.25rem;
    text-align: center;
    color: #495057;
    font-size: 0.9375rem;
    line-height: 1.6;
    border: 1px dashed #dee2e6;
    border-radius: 10px;
    background: #f8f9fc;
    margin-top: 0.35rem;
}
.bbs-prod-search-recent-empty__message {
    margin-bottom: 0;
}
.bbs-prod-search-recent-empty__actions {
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid #e9ecef;
}
.bbs-prod-search-recent-empty__actions-lead {
    font-size: 0.8125rem;
    color: #6c757d;
}

.bbs-prod-search-thumb-wrap {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f3f5;
    border: none;
}

.bbs-prod-search-item--result {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    padding: 0.65rem;
    box-sizing: border-box;
}
.bbs-prod-search-thumb-wrap--result {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 0.45rem;
    flex-shrink: 0;
}
.bbs-prod-search-item--result .bbs-prod-search-meta {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
    justify-content: flex-start;
}
.bbs-prod-search-item--result .bbs-prod-search-brand {
    font-size: 0.75rem;
    color: #888;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bbs-prod-search-item--result .bbs-prod-search-brand.bbs-prod-search-brand--match,
.bbs-prod-search-item--recent .bbs-prod-search-brand.bbs-prod-search-brand--match {
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
}
.bbs-prod-search-brand-badge {
    display: inline-block;
    max-width: 100%;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--bs-primary, #4e73df);
    background-color: rgba(78, 115, 223, 0.12);
    border: 1px solid rgba(78, 115, 223, 0.35);
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bbs-prod-search-item--result .bbs-prod-search-label {
    font-size: 0.82rem;
    color: #212529;
    line-height: 1.35;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}
.bbs-prod-search-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bbs-prod-search-meta {
    min-width: 0;
    flex: 1 1 auto;
}
.bbs-prod-search-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.15rem;
    min-width: 0;
}
.bbs-prod-search-brand-row__start {
    flex: 0 1 auto;
    min-width: 0;
}
.bbs-prod-search-brand-row__end {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    min-width: 0;
    margin-left: auto;
}
.bbs-prod-search-code {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6c757d;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.01em;
    white-space: nowrap;
    flex-shrink: 0;
}
.bbs-prod-search-brand {
    font-size: 0.8125rem;
    color: #888;
}
.bbs-prod-search-item--recent .bbs-prod-search-meta {
    min-width: 0;
}
.bbs-prod-search-item--recent .bbs-prod-search-label {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.bbs-prod-search-item--recent .bbs-prod-search-meta .bbs-prod-search-brand {
    text-align: left;
    margin-bottom: 0.12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bbs-prod-search-label {
    font-size: 0.86rem;
    color: #212529;
    line-height: 1.35;
    word-break: break-word;
}

.bbs-prod-search-recent-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.45rem;
    width: 100%;
    margin-bottom: 0.15rem;
    min-width: 0;
}
.bbs-prod-search-recent-header__brand {
    flex: 0 0 auto;
    min-width: 0;
    max-width: 38%;
    overflow: hidden;
}
.bbs-prod-search-recent-header__meta {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.35rem;
    min-width: 0;
    white-space: nowrap;
    line-height: 1.35;
    overflow: hidden;
}
.bbs-prod-search-recent-header__meta .bbs-prod-search-purchase-date,
.bbs-prod-search-recent-header__meta .bbs-prod-search-order-no {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bbs-prod-search-item--recent .bbs-prod-search-recent-header__brand .bbs-prod-search-brand {
    text-align: left;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bbs-prod-search-recent-top {
    position: static;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.2rem 0.45rem;
    max-width: 100%;
    margin: 0 0 0.1rem;
    padding: 0 0.05rem;
    pointer-events: none;
    line-height: 1.35;
}
.bbs-prod-search-purchase-date {
    flex: 0 1 auto;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #495057;
    white-space: nowrap;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}
.bbs-prod-search-order-no {
    flex: 0 1 auto;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #6c757d;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bbs-prod-search-input-group {
    align-items: stretch;
    gap: 0;
    border: 1px solid #ced4da;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.bbs-prod-search-input-group:focus-within {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}
.bbs-prod-search-input-group > .btn-dark {
    border: none;
    border-radius: 0;
    margin: 0;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    box-shadow: none !important;
    background-color: #212529;
    color: #fff;
}
.bbs-prod-search-input-group > .btn-dark:hover,
.bbs-prod-search-input-group > .btn-dark:focus {
    background-color: #343a40;
    color: #fff;
}
.bbs-prod-search-field-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}
.bbs-prod-search-field-wrap .bbs-prod-search-input {
    width: 100%;
    min-width: 0;
    padding-left: 3.2rem;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.bbs-prod-search-field-wrap .bbs-prod-search-input:focus {
    border-color: transparent;
    box-shadow: none;
}
#productSearchModal .bbs-prod-search-input-group > .bbs-prod-search-field-wrap,
#productSearchModal .bbs-prod-search-input-group > .btn {
    border-radius: 0;
}
#productSearchModal .bbs-prod-search-input-group .form-control {
    border: none;
    box-shadow: none;
}
.bbs-prod-search-barcode-btn {
    position: absolute;
    top: 50%;
    left: 0.25rem;
    transform: translateY(-50%);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    margin: 0;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #6c757d;
    line-height: 1;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}
.bbs-prod-search-barcode-icon {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
}
.bbs-prod-search-barcode-btn:hover,
.bbs-prod-search-barcode-btn:focus {
    color: #4e73df;
    outline: none;
    box-shadow: none !important;
}

.bbs-prod-barcode-overlay {
    position: fixed;
    inset: 0;
    z-index: 10060;
    background: transparent;
    overflow: hidden;
    pointer-events: auto;
    flex-direction: column;
}
.bbs-prod-barcode-overlay.is-open {
    display: flex !important;
}
.bbs-prod-barcode-overlay__header {
    position: relative;
    z-index: 3;
    padding: 1rem 1.25rem 0;
    padding-top: max(1rem, env(safe-area-inset-top, 0px));
    text-align: right;
    pointer-events: none;
    flex-shrink: 0;
}
.bbs-prod-barcode-overlay__body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 10vh;
    pointer-events: none;
}
#bbsProdBarcodeReader {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
    z-index: 0;
}
.bbs-prod-barcode-overlay #qr-shaded-region,
#bbsProdBarcodeReader #qr-shaded-region {
    box-shadow: none !important;
    background: transparent !important;
}
#bbsProdBarcodeReader video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
#bbsProdBarcodeReader > div {
    width: 100% !important;
    height: 100% !important;
}

.bbs-prod-barcode-overlay .barcode-scanner-overlay__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    padding: 0;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.75));
}
.bbs-prod-barcode-overlay .barcode-scanner-overlay__frame {
    width: min(90vw, 400px);
    height: min(90vw, 400px);
    border: 2px solid #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
    pointer-events: none;
    flex-shrink: 0;
}
.bbs-prod-barcode-overlay .barcode-scanner-overlay__hint-sub {
    color: #ffc107;
    font-weight: 400;
    font-size: 0.875rem;
}
.bbs-prod-barcode-overlay .barcode-scanner-overlay__hint {
    margin-top: 1rem;
    padding: 0 1rem;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
    pointer-events: none;
    position: static;
    transform: none;
    background: transparent;
    box-shadow: none;
    max-width: none;
}

/* ==========================================================================
   11. 수량 변경 및 선택 완료 상품 리스트 카드 (3단계 추가 기능)
   ========================================================================== */
.bbs-form-product-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.65rem;
}
.bbs-form-product-name--readonly {
    background-color: #f8f9fc;
    color: #6c757d;
}
.bbs-form-product-card {
    position: relative;
    border: 1px solid #e3e6f0;
    border-radius: 10px;
    background: #fff;
    padding: 0.55rem 0.65rem 0.6rem;
    margin-bottom: 0.75rem;
}
.bbs-form-product-card:last-child {
    margin-bottom: 0;
}
.bbs-form-product-card__remove {
    position: absolute;
    top: 0.3rem;
    right: 0.3rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #f1f3f5;
    color: #6c757d;
    line-height: 1;
}
.bbs-form-product-card__remove .material-icons {
    font-size: 0.82rem;
}
.bbs-form-product-card__remove:hover,
.bbs-form-product-card__remove:focus {
    background: #e9ecef;
    color: #495057;
    outline: none;
}
.bbs-form-product-card__body {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding-right: 1.45rem;
}
.bbs-form-product-card__thumb-wrap {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f3f5;
    border: 1px solid #e9ecef;
}
.bbs-form-product-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bbs-form-product-card__meta {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
}
.bbs-form-product-card__brand {
    font-size: 0.72rem;
    color: #858796;
    margin-bottom: 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bbs-form-product-card__label-row {
    display: block;
    width: 100%;
    min-width: 0;
}
.bbs-form-product-card__label {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: 0.86rem;
    color: #212529;
    line-height: 1.4;
    word-break: break-word;
}
.bbs-form-product-card__qty-row {
    display: flex;
    width: 100%;
    margin-top: 0.15rem;
    padding-top: 0.2rem;
}
.bbs-form-product-card__qty-row .bbs-form-product-card__qty {
    flex: 0 0 auto;
}
.bbs-form-product-card__qty {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}
.bbs-form-product-card__qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    min-width: 1.2rem;
    padding: 0;
    border: 0;
    background: #f8f9fa;
    color: #495057;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.bbs-form-product-card__qty-btn:hover,
.bbs-form-product-card__qty-btn:focus {
    background: #eef1f6;
    color: #212529;
    outline: none;
}
.bbs-form-product-card__qty-input {
    width: 1.85rem;
    min-width: 1.85rem;
    height: 1.15rem;
    text-align: center;
    padding: 0;
    border: 0;
    border-left: 1px solid #e3e6f0;
    border-right: 1px solid #e3e6f0;
    border-radius: 0;
    font-size: 0.72rem;
    line-height: 1;
    box-shadow: none;
    -moz-appearance: textfield;
    appearance: textfield;
}
.bbs-form-product-card__qty-input:focus {
    box-shadow: none;
}
.bbs-form-product-card__qty-input::-webkit-outer-spin-button,
.bbs-form-product-card__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bbs-form-product-summary-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.bbs-form-product-summary-item + .bbs-form-product-summary-item {
    padding-top: 0.45rem;
    border-top: 1px dashed #e3e6f0;
}
.bbs-form-product-summary-qty {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    background: #e9ecef;
    color: #495057;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    vertical-align: middle;
    white-space: nowrap;
}
.bbs-form-product-card__qty-readonly {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.15rem 0.6rem;
    border-radius: 6px;
    background: #f1f3f5;
    border: 1px solid #dee2e6;
    color: #495057;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ==========================================================================
   12. 첨부 파일 업로드 & 이미지 미리보기 요약
   ========================================================================== */
.bbs-form-file-preview {
    margin-top: 0;
}
.bbs-form-file-preview__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    max-width: 100%;
    padding: 0.35rem 0.45rem 0.35rem 0.35rem;
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    background: #f8f9fc;
    box-sizing: border-box;
}
.bbs-form-file-preview__thumb {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #dee2e6;
    flex-shrink: 0;
}
.bbs-form-file-preview__type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #dee2e6;
    font-size: 0.68rem;
    font-weight: 700;
    color: #4e73df;
    flex-shrink: 0;
}
.bbs-form-file-preview__meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    flex: 1 1 auto;
}
.bbs-form-file-preview__name {
    font-size: 0.82rem;
    color: #4e5e6a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.bbs-form-file-preview__size {
    font-size: 0.72rem;
    color: #858796;
    line-height: 1.2;
}
.bbs-form-file-preview__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #858796;
    flex-shrink: 0;
}
.bbs-form-file-preview__remove .material-icons {
    font-size: 16px;
}
.bbs-form-file-preview__remove:hover,
.bbs-form-file-preview__remove:focus {
    background: #eaecf4;
    color: #e74a3b;
}

#email_id,
#email_domain,
.as-form-page #bd_email[type="email"] {
    ime-mode: inactive;
}

/* 한글 우선 입력 (IME Mode Active) - 작성자, 구매처, 구매자, 제품명, 증상 등 */
#bd_writer,
#bd_title_input,
#bd_content_textarea,
#productSearchInput,
#productSearchManualInput,
.as-group-manual-input,
.as-repair-symptom,
.as-group-field[data-field="purchase_place"],
.as-group-field[data-field="orderer"],
.as-group-field[data-field="brand_name"],
input[data-field="purchase_place"],
input[data-field="orderer"],
#bd_purchase_place,
#bd_orderer {
    ime-mode: active !important;
}

/* 증상 사진/동영상 첨부 영역 상단 여백 (상단 제품 카드와의 여유 있는 간격 확보) */
.as-file-attach-section {
    margin-top: 2.75rem !important;
}

@media (max-width: 767.98px) {
    .as-file-attach-section {
        margin-top: 2rem !important;
    }
}

.bbs-form-file-attach {
    margin-top: 0.25rem;
}
.bbs-form-file-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 132px;
    padding: 1.25rem 1rem;
    border: 2px dashed #cfd4e6;
    border-radius: 12px;
    background: #f8f9fc;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.bbs-form-file-zone:focus {
    outline: none;
    border-color: #4e73df;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.18);
}
.bbs-form-file-zone--dragover,
.bbs-form-file-zone:hover {
    border-color: #4e73df;
    background: #eef2ff;
}
.bbs-form-file-zone--full {
    opacity: 0.72;
    cursor: not-allowed;
}
.bbs-form-file-zone--full:hover {
    border-color: #cfd4e6;
    background: #f8f9fc;
}
.bbs-form-file-zone__icon {
    font-size: 2rem;
    color: #4e73df;
    line-height: 1;
}
.bbs-form-file-zone__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #3a3b45;
    margin: 0;
}
.bbs-form-file-zone__hint {
    font-size: 0.8rem;
    color: #858796;
    margin: 0;
}
.bbs-form-file-zone__picker {
    display: none !important;
}
.bbs-form-file-zone__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.bbs-form-file-reorder-hint {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #858796;
}
.bbs-form-file-zone__list .bbs-form-file-preview {
    margin-top: 0;
}
.bbs-form-file-preview--sortable {
    cursor: grab;
}
.bbs-form-file-preview--sortable:active,
.bbs-form-file-preview--dragging {
    opacity: 0.55;
    cursor: grabbing;
}
.bbs-form-file-preview--drag-over {
    box-shadow: 0 0 0 2px #4e73df;
    border-radius: 8px;
}
.bbs-form-file-preview__slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #4e73df;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ==========================================================================
   13. 접수 양식 유효성 검사 — 미입력 red border
   ========================================================================== */
.as-form-page .form-control.as-field-invalid,
.as-form-page .form-select.as-field-invalid,
.as-form-page textarea.form-control.as-field-invalid,
.as-form-page textarea.as-repair-symptom.as-field-invalid {
    border-color: #e74a3b !important;
    box-shadow: 0 0 0 3.5px rgba(231, 74, 59, 0.28) !important;
    animation: as-field-shake 0.45s ease-in-out !important;
}
.as-form-page .as-purchase-groups-root.as-field-invalid,
.as-form-page .as-repair-groups-root.as-field-invalid,
.as-form-page .as-purchase-group-card.as-field-invalid {
    outline: none !important;
    border-color: #e3e6f0 !important;
}
.as-form-page .as-purchase-wizard.as-field-invalid,
.as-form-page #asPurchaseWizardWrap.as-field-invalid .as-purchase-wizard {
    outline: 2px solid #e74a3b;
    outline-offset: 4px;
    border-radius: 12px;
}
.as-form-page .as-group-lines.as-field-invalid {
    border: none;
    padding: 0;
}
.as-form-page .as-group-lines.as-field-invalid .as-group-empty-lines {
    color: #6c757d;
    font-weight: 400;
}
.as-form-page .as-prod-pick-modes.as-field-invalid .as-prod-pick-badge-label:not(.text-muted) {
    border-color: #e74a3b;
    background-color: #fff5f5;
}
.as-form-page .as-prod-name-group.as-field-invalid > .form-control,
.as-form-page .as-prod-picker.as-field-invalid .as-prod-search-trigger,
.as-form-page .bbs-form-product-list.as-field-invalid {
    border: 1px solid #e74a3b;
    border-radius: var(--as-form-input-radius, 12px);
}
.as-form-page #termsAgreeWrap.as-field-invalid,
.as-form-page #privacyAgreeWrap.as-field-invalid {
    outline: 2px solid #e74a3b;
    outline-offset: 2px;
    border-radius: 10px;
}
.as-form-page .as-prod-pick-badge-label.as-field-invalid {
    border-color: #e74a3b;
    background-color: #fff5f5;
    box-shadow: 0 0 0 1px rgba(231, 74, 59, 0.18);
}

.as-purchase-group-card__actions .as-group-save-btn.as-save-btn-pulse-active,
.as-purchase-group-card__actions .as-group-add-product-btn.as-save-btn-pulse-active {
    animation: asSaveBtnPulse 1s ease-in-out 6;
    position: relative;
    z-index: 5;
}

@keyframes asSaveBtnPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(28, 200, 138, 0.55);
    }
    50% {
        transform: scale(1.07);
        box-shadow: 0 0 0 16px rgba(28, 200, 138, 0);
        background-color: #1cc88a !important;
        border-color: #17a673 !important;
        color: #fff !important;
    }
}

.as-purchase-group-card__actions .as-group-save-btn.as-btn-pulse-active,
.as-purchase-group-card__actions .as-group-add-product-btn.as-btn-pulse-active {
    animation: asSaveBtnPulse 1s ease-in-out 6;
}

@keyframes as-field-entry-mist {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(78, 115, 223, 0.16), 0 0 12px rgba(78, 115, 223, 0.14);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(78, 115, 223, 0.36), 0 0 24px rgba(78, 115, 223, 0.3);
    }
}

.as-form-page .form-control.as-field-entry-pulse,
.as-form-page .form-select.as-field-entry-pulse,
.as-form-page textarea.as-field-entry-pulse,
.as-form-page .as-prod-pick-badge-label.as-field-entry-pulse,
.as-form-page .as-group-lines.as-field-entry-pulse,
.as-form-page .as-purchase-groups-root.as-field-entry-pulse,
.as-form-page .as-purchase-wizard.as-field-entry-pulse,
.as-form-page #termsAgreeWrap.as-field-entry-pulse,
.as-form-page #privacyAgreeWrap.as-field-entry-pulse {
    transition: none !important;
    animation: as-field-entry-mist 0.75s ease-in-out 1 !important;
}
.as-form-page .form-control.as-field-entry-pulse:focus,
.as-form-page .form-select.as-field-entry-pulse:focus,
.as-form-page textarea.as-field-entry-pulse:focus {
    outline: none !important;
}

.as-form-page .form-control.as-field-entry-hint,
.as-form-page .form-select.as-field-entry-hint,
.as-form-page textarea.as-field-entry-hint,
.as-form-page .as-prod-pick-badge-label.as-field-entry-hint,
.as-form-page .as-group-lines.as-field-entry-hint,
.as-form-page .as-purchase-groups-root.as-field-entry-hint,
.as-form-page .as-purchase-wizard.as-field-entry-hint,
.as-form-page #termsAgreeWrap.as-field-entry-hint,
.as-form-page #privacyAgreeWrap.as-field-entry-hint {
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.28), 0 0 18px rgba(78, 115, 223, 0.22);
}

@media (prefers-reduced-motion: reduce) {
    .as-form-page .as-field-entry-pulse {
        animation: none !important;
        box-shadow: 0 0 0 2px rgba(78, 115, 223, 0.2) !important;
    }
}

@keyframes as-field-shake {
    0%, 100% { transform: translateX(0); }
    15%, 45%, 75% { transform: translateX(-6px); }
    30%, 60%, 90% { transform: translateX(6px); }
}
.as-field-shake,
#termsAgreeWrap.as-field-shake,
#privacyAgreeWrap.as-field-shake {
    animation: as-field-shake 0.55s ease;
}

/* ==========================================================================
   14. 모바일 팝업 및 대화상자 레이아웃 보완
   ========================================================================== */
.as-form-modal-footer-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end;
    gap: 0.5rem;
}

#formConfirmModal .as-form-modal-footer-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
}

#formConfirmModal .as-form-modal-footer-actions .btn {
    flex: 1 1 0% !important;
    width: 50% !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.9rem !important;
}

.brand-warranty-modal__body {
    min-height: 12rem;
}

.brand-warranty-modal__iframe {
    display: block;
    width: 100%;
    min-height: 65vh;
    height: 65vh;
    border: 0;
    background: #fff;
}

.brand-warranty-modal__html:not(.d-none) {
    display: block;
}
@media (max-width: 575.98px) {
    #alertModal .modal-dialog,
    #formConfirmModal .modal-dialog,
    #receiptCompleteModal .modal-dialog,
    #privacyModal .modal-dialog,
    #emailModal .modal-dialog,
    #productSearchModal .modal-dialog {
        max-width: calc(100vw - 1.5rem);
        margin: 0.75rem auto;
    }
    #alertModal .modal-footer,
    #formConfirmModal .modal-footer,
    #receiptCompleteModal .modal-footer,
    #privacyModal .modal-footer,
    #emailModal .modal-footer,
    #productSearchModal .modal-footer {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0.5rem;
        padding: 0 1rem 1rem;
    }
    #alertModal .modal-footer .btn,
    #formConfirmModal .modal-footer .btn,
    #receiptCompleteModal .modal-footer .btn,
    #productSearchModal .modal-footer .btn {
        width: 100% !important;
        max-width: 100%;
        flex: 0 0 auto;
        margin: 0 !important;
        min-height: 46px;
        padding: 0.65rem 1rem !important;
        font-size: 0.95rem !important;
        line-height: 1.35;
        border-radius: 999px;
        box-sizing: border-box;
    }
    #emailModal .modal-footer.as-form-modal-footer-actions,
    #privacyModal .modal-footer.as-form-modal-footer-actions {
        flex-direction: row !important;
        align-items: stretch !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 0.75rem !important;
    }
    #emailModal .modal-footer.as-form-modal-footer-actions .btn,
    #privacyModal .modal-footer.as-form-modal-footer-actions .btn {
        flex: 1 1 0% !important;
        width: auto !important;
        max-width: none;
        min-width: 0;
        margin: 0 !important;
        min-height: 46px;
        padding: 0.65rem 1rem !important;
        font-size: 0.95rem !important;
        line-height: 1.35;
        border-radius: 999px;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   17. AS 수리 상품 정보 및 진행 단계 상세 (3단계)
   ========================================================================== */
.as-repair-group-card {
    border: 1px solid #e3e6f0;
    border-radius: 16px;
    background: #f8f9fc;
    padding: 0.95rem 1rem 1.05rem;
    margin-bottom: 1.15rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.as-repair-group-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.65rem;
}
.as-repair-group-card__badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #4e73df;
    letter-spacing: 0.01em;
}
.as-repair-group-card__brand {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2e384d;
    line-height: 1.4;
}
.as-repair-group-card__meta {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    color: #858796;
    line-height: 1.5;
}
.as-repair-group-card__meta-sep {
    color: #ced4da;
}
.as-repair-product-card {
    background: #ffffff;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}
.as-repair-product-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.as-repair-product-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e3e6f0;
    background: #fff;
}
.as-repair-product-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.as-repair-product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2e384d;
    line-height: 1.45;
    word-break: break-word;
}
.as-repair-product-qty {
    font-weight: 700;
    color: #858796;
    font-size: 0.85em;
    margin-left: 0.25rem;
}
.as-repair-symptom-field {
    margin-top: 1rem;
}
.as-repair-symptom-field .form-label {
    font-size: 0.88rem;
    color: #4e5e6a;
}
.as-form-page #stepPanel3 .as-repair-group-card:hover {
    border-color: #e3e6f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.as-form-page #stepPanel3 .as-repair-product-card:hover {
    border-color: #dde3ef;
}

.as-add-purchase-group-wrap {
    margin-top: 0.75rem;
}
.as-add-purchase-group-wrap__done-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0 0 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: #eef8f0;
    border: 1px solid #cce8d4;
    color: #2d6a3e;
    font-size: 0.82rem;
    line-height: 1.45;
    font-weight: 500;
}
.as-add-purchase-group-wrap__done-icon {
    font-size: 1.05rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.as-add-purchase-group-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 1rem 1.15rem;
    border: 2px dashed #bac8e0;
    border-radius: 12px;
    background: #fcfdfe;
    color: #2e384d;
    cursor: pointer;
    transition: border-color 0.2s ease-in-out, background 0.2s ease-in-out, box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
    text-align: left;
}
.as-add-purchase-group-card:hover,
.as-add-purchase-group-card:focus {
    border-color: #4e73df;
    background: #f3f6fd;
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.08);
    outline: none;
    transform: translateY(-1px);
}
.as-add-purchase-group-wrap--ready .as-add-purchase-group-card {
    padding: 0.95rem 1.1rem;
}
.as-add-purchase-group-wrap--ready .as-add-purchase-group-card:hover,
.as-add-purchase-group-wrap--ready .as-add-purchase-group-card:focus {
    border-color: #4e73df;
}
.as-add-purchase-group-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.85rem;
    height: 1.85rem;
    padding: 0 0.45rem;
    border-radius: 8px;
    background: #4e73df;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(78, 115, 223, 0.18);
}
.as-add-purchase-group-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}
.as-add-purchase-group-card__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #2e384d;
    line-height: 1.35;
}
.as-add-purchase-group-card__desc {
    font-size: 0.78rem;
    color: #6c757d;
    line-height: 1.4;
    font-weight: 400;
}
.as-add-purchase-group-card__icon {
    font-size: 1.35rem;
    color: #4e73df;
    flex-shrink: 0;
}

.as-btn-dashed-add {
    border: 2px dashed #bac8e0 !important;
    border-radius: 12px !important;
    background-color: #fcfdfe !important;
    color: #4e73df !important;
    transition: all 0.2s ease-in-out !important;
    text-decoration: none !important;
}
.as-btn-dashed-add:hover {
    border-color: #4e73df !important;
    background-color: #f3f6fd !important;
    color: #2e59d9 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.08);
}
.as-btn-dashed-add:active {
    transform: translateY(0);
    box-shadow: none;
}

.as-purchase-group-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e3e6f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem 1.5rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.as-purchase-group-card:hover {
    border-color: #bac8f3;
    box-shadow: 0 4px 14px rgba(46, 56, 77, 0.08);
}
.as-purchase-group-card--numbered {
    padding: 0;
    overflow: hidden;
    margin-bottom: 1.75rem;
    box-shadow: 0 2px 10px rgba(46, 56, 77, 0.04);
}
.as-purchase-group-card--numbered + .as-purchase-group-card--numbered {
    margin-top: 0.25rem;
}
.as-purchase-group-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.as-purchase-group-card--numbered > .as-purchase-group-card__head {
    margin: 0 0 1.25rem;
    padding: 0.85rem 1.25rem;
    padding-right: 3.75rem;
    border-bottom: 1px solid #e3e6f0;
    background: linear-gradient(180deg, #f8f9fc 0%, #f3f5f9 100%);
}
.as-purchase-group-card--numbered > .row,
.as-purchase-group-card--numbered > section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.as-purchase-group-card--numbered > section:last-of-type {
    padding-bottom: 1rem;
}
.as-purchase-group-card--numbered > .as-purchase-group-card__actions {
    padding: 1rem 1.5rem 1.5rem;
    margin-top: 0;
    border-top: 1px solid #eef1f6;
    background: #fff;
    border-radius: 0 0 12px 12px;
}
.as-form-page--exchange .as-purchase-group__purchase-foot {
    margin-top: 0.35rem;
}
.as-form-page--exchange .as-purchase-group-card:not(.as-purchase-group-card--numbered) .as-purchase-group-card__actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eef1f6;
}
.as-purchase-group-card__head--single {
    margin-bottom: 1rem;
    padding-right: 3.75rem;
    background: transparent;
    border-bottom: none;
}
.as-purchase-group-card__head-main {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    flex: 1 1 auto;
}
.as-purchase-group-card__head--single .as-purchase-group-card__title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.as-purchase-group-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.85rem;
    height: 1.85rem;
    padding: 0 0.45rem;
    border-radius: 8px;
    background: #4e73df;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(78, 115, 223, 0.22);
}
.as-purchase-group-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #2e384d;
}

.as-purchase-group-card__remove {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background-color: #ffffff;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    padding: 0;
    z-index: 10;
}
.as-purchase-group-card__remove:hover,
.as-purchase-group-card__remove:focus {
    background-color: #212529;
    border-color: #212529;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(33, 37, 41, 0.15);
}
.as-purchase-group-card__remove:hover .material-icons,
.as-purchase-group-card__remove:focus .material-icons {
    transform: rotate(90deg);
}
.as-purchase-group-card__remove .material-icons {
    font-size: 1.15rem;
    transition: transform 0.25s ease-in-out;
}

.as-form-page .as-prod-pick-modes,
.as-prod-pick-modes {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
}
.as-prod-pick-mode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}
.as-prod-pick-mode-item__main {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}
.as-prod-member-only-hint {
    text-align: center;
    width: 100%;
    line-height: 1.2;
    white-space: nowrap;
}
@media (min-width: 768px) {
    .as-form-page .as-purchase-groups-root .as-group-prod-cell > .as-prod-pick-modes {
        margin-bottom: 1.25rem !important;
    }
    .as-form-page .as-purchase-groups-root .as-group-prod-cell > .as-group-lines {
        margin-top: 0.25rem;
    }
    .as-form-page .as-purchase-groups-root .as-purchase-group__purchase-section::before {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }
}
.as-prod-pick-badge-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid #dee2e6;
    background-color: #ffffff;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin: 0;
    user-select: none;
}
.as-prod-pick-badge-label .material-icons {
    font-size: 0.95rem;
    margin-right: 0.25rem;
    transition: transform 0.2s ease;
}
.as-prod-pick-badge-label:hover {
    border-color: #adb5bd;
    background-color: #f8f9fa;
    color: #212529;
}
.as-prod-pick-mode:checked + .as-prod-pick-badge-label {
    background-color: #f0f4ff;
    border-color: #4e73df;
    color: #4e73df;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.12);
}
.as-prod-pick-mode:disabled + .as-prod-pick-badge-label {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.7;
}
.as-prod-pick-mode:disabled + .as-prod-pick-badge-label:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #adb5bd;
}

@keyframes asAddBtnPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 115, 223, 0.4);
        border-color: #4e73df !important;
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 12px rgba(78, 115, 223, 0);
        border-color: #2e59d9 !important;
        background-color: #f3f6fd !important;
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 115, 223, 0);
        border-color: #4e73df !important;
    }
}
@keyframes asStep2NextBtnPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 115, 223, 0.45);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 14px rgba(78, 115, 223, 0);
        background-color: #4e73df !important;
        border-color: #2e59d9 !important;
        color: #fff !important;
    }
}
.as-btn-pulse-active {
    animation: asAddBtnPulse 0.8s ease-in-out 3;
    position: relative;
    z-index: 5;
}
.as-form-step-nav .btn-next.as-btn-pulse-active,
#asStep2PurchaseNext.as-btn-pulse-active,
#asStep4MainNext.as-btn-pulse-active {
    animation: asStep2NextBtnPulse 1.2s ease-in-out infinite !important;
    position: relative;
    z-index: 1002 !important;
}
.as-add-purchase-group-card.as-btn-pulse-active {
    animation: asAddBtnPulse 0.8s ease-in-out 3;
    position: relative;
    z-index: 5;
}

@keyframes asCardSlideUpIn {
    0% {
        opacity: 0;
        transform: translateY(70px);
        box-shadow: 0 0 0 0 rgba(78, 115, 223, 0);
        border-color: #4e73df;
    }
    65% {
        opacity: 1;
        transform: translateY(-14px);
        box-shadow: 0 12px 32px rgba(78, 115, 223, 0.35);
        border-color: #4e73df;
    }
    85% {
        transform: translateY(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }
}

.as-purchase-group-card,
.as-purchase-group-card--pending-entry {
    opacity: 1 !important;
    visibility: visible !important;
}

.as-purchase-group-card--new-added {
    animation: asCardSlideUpIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: opacity, transform, box-shadow;
}

.as-trigger-add-group {
    color: inherit !important;
    text-decoration: underline !important;
    transition: color 0.15s ease-in-out;
}
.as-trigger-add-group:hover,
.as-trigger-add-group:focus {
    color: #4e73df !important;
}

@keyframes stepperActivePulse {
    0% {
        transform: scale(1.02);
        box-shadow: 0 0 10px rgba(78, 115, 223, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 20px rgba(78, 115, 223, 0.6);
    }
    100% {
        transform: scale(1.02);
        box-shadow: 0 0 10px rgba(78, 115, 223, 0.3);
    }
}
@keyframes stepperActiveMiniPulse {
    0% {
        transform: scale(1.05);
        box-shadow: 0 0 6px rgba(78, 115, 223, 0.3);
    }
    50% {
        transform: scale(1.18);
        box-shadow: 0 0 14px rgba(78, 115, 223, 0.6);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 0 6px rgba(78, 115, 223, 0.3);
    }
}

.as-form-page .stepper-item.active .step-counter {
    animation: stepperActivePulse 2.2s infinite ease-in-out !important;
}
.as-form-page .stepper-item.active .step-counter-mini {
    animation: stepperActiveMiniPulse 2.2s infinite ease-in-out !important;
}

.as-prod-pick-modes.as-qty-incomplete .as-prod-pick-mode:not(:disabled) + .as-prod-pick-badge-label {
    border: 1.5px solid #dc3545 !important;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.25);
}

.grecaptcha-badge {
    visibility: visible !important;
    bottom: 85px !important;
    z-index: -1 !important;
}

.as-purchase-group-card,
.as-btn-dashed-add,
.as-add-purchase-group-card {
    position: relative;
    z-index: 10 !important;
}

.as-purchase-groups-root {
    position: relative;
    transition: opacity 0.18s ease-out;
}

.as-purchase-groups-root--fading-out {
    opacity: 0.2;
    pointer-events: none;
}

.as-purchase-groups-root--view-loading {
    min-height: 8.5rem;
}

.as-purchase-groups-root--view-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 12px;
    z-index: 2;
}

.as-purchase-groups-root--view-loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.75rem;
    height: 1.75rem;
    margin: -0.875rem 0 0 -0.875rem;
    border: 2px solid #dee2e6;
    border-top-color: #4e73df;
    border-radius: 50%;
    animation: bbs-prod-search-spin 0.7s linear infinite;
    z-index: 3;
}

.as-purchase-groups-root--view-loading > * {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease-out;
}

.as-purchase-groups-root--view-enter > .as-purchase-group-card {
    animation: as-purchase-card-enter 0.35s ease-out;
}

@keyframes as-purchase-card-enter {
    0% {
        opacity: 0.35;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .as-purchase-groups-root--view-loading::before,
    .as-purchase-groups-root--view-loading::after {
        display: none;
    }
    .as-purchase-groups-root--view-loading > * {
        opacity: 1;
    }
    .as-purchase-groups-root--view-enter > .as-purchase-group-card {
        animation: none;
    }
    .as-purchase-groups-root--fading-out {
        opacity: 1;
    }
}

.as-purchase-groups-root > .as-qty-notice {
    margin-bottom: 1rem;
}
.as-qty-notice {
    margin: 0.5rem 0 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.55;
}
.as-qty-notice--pending {
    background: #fffbf0;
    border: 1px solid #ffe8a3;
    color: #664d03;
}
.as-qty-notice--over {
    background: #fff5f5;
    border: 1px solid #f5c2c7;
    color: #922b21;
}
.as-qty-notice--done {
    background: #ebfbee;
    border: 1px solid #b2f2bb;
    color: #087f5b;
}
.as-qty-notice__icon {
    flex-shrink: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    margin-top: 0.02rem;
}
.as-qty-notice--pending .as-qty-notice__icon {
    color: #e6a817;
}
.as-qty-notice--over .as-qty-notice__icon {
    color: #e74a3b;
}
.as-qty-notice--done .as-qty-notice__icon {
    color: #1cc88a;
}
.as-qty-notice__head {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.as-qty-notice__head-content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}
.as-qty-notice__message {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
    color: inherit;
}
.as-qty-notice--pending .as-qty-notice__tips {
    margin: 0.65rem 0 0 1.8rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(230, 168, 23, 0.28);
}
.as-qty-notice__tips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.as-qty-notice__tip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.as-qty-notice-badge {
    flex-shrink: 0;
    display: inline-block;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 0.22rem 0.55rem;
    letter-spacing: -0.01em;
}
.as-qty-notice-badge--pending {
    color: #856404;
    background: #ffec99;
    border: 1px solid #ffd43b;
}
.as-qty-notice-badge--over {
    color: #c92a2a;
    background: #ffe3e3;
    border: 1px solid #ffa8a8;
}
.as-qty-notice-badge--done {
    color: #087f5b;
    background: #d3f9d8;
    border: 1px solid #8ce99a;
}
.as-qty-notice-tip-label {
    flex-shrink: 0;
    display: inline-block;
    min-width: 4.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    border-radius: 6px;
    padding: 0.18rem 0.45rem;
}
.as-qty-notice--pending .as-qty-notice-tip-label {
    color: #7f5f01;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid #ffe08a;
}
.as-qty-notice-tip-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: inherit;
}
.as-qty-notice-tip-text strong {
    font-weight: 700;
}
.as-qty-notice--pending .as-qty-notice-tip-text strong {
    color: #5c4a00;
}

.as-qty-notice-sub-badge {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    font-size: 0.7rem;
    padding: 0.18rem 0.45rem;
    font-weight: 600;
    color: #495057 !important;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 767.98px) {
    .as-qty-notice {
        padding: 0.8rem 0.85rem;
    }
    .as-qty-notice--pending .as-qty-notice__tips {
        margin-left: 0;
    }
    .as-qty-notice__icon {
        font-size: 1.1rem;
    }
    .as-qty-notice-badge {
        font-size: 0.68rem !important;
        padding: 0.18rem 0.48rem !important;
    }
    .as-qty-notice-tip-label {
        min-width: 4.1rem;
        font-size: 0.66rem !important;
        padding: 0.16rem 0.4rem !important;
    }
    .as-qty-notice-tip-text {
        font-size: 0.74rem;
    }
    .as-qty-notice-sub-badge {
        font-size: 0.66rem !important;
        padding: 0.16rem 0.4rem !important;
    }
}

.grecaptcha-badge {
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.as-reset-footer-hint {
    background-color: #fff !important;
    padding: 1.2rem 30px !important;
    margin-left: -31px !important;
    margin-right: -31px !important;
    margin-bottom: -31px !important;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    position: relative;
    z-index: 10 !important;
    font-size: 0.86rem !important;
    border-top: 1px dashed #e3e6f0 !important;
}

@media (max-width: 767.98px) {
    .as-reset-footer-hint {
        padding: 1rem 12px !important;
        margin-left: -12px !important;
        margin-right: -12px !important;
        margin-bottom: -16px !important;
        border-bottom-left-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
    }
}

.as-form-step-nav {
    position: relative !important;
    z-index: 1000 !important;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}
.as-form-step-nav__prev-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}
.as-form-step-nav__prev-wrap .btn-prev {
    order: 1;
}
.as-form-step-nav__persist-hint {
    order: 2;
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.3;
    margin-top: 0.15rem;
}
.as-form-page .required-star {
    color: #e74a3b;
}
.as-form-page .required-star.required-star--filled,
.required-star.required-star--filled {
    color: #212529 !important;
}

.as-form-step-nav .btn-next,
.as-form-step-nav .btn-prev,
.as-form-step-nav .as-step2-add-group-btn {
    position: relative !important;
    z-index: 1001 !important;
}

.as-form-step-nav .as-step2-add-group-btn {
    align-self: flex-start !important;
    background-color: #ffffff !important;
    color: #4e73df !important;
    border: 1.5px dashed #4e73df !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 8px !important;
    transition: all 0.2s ease-in-out !important;
}
.as-form-step-nav .as-step2-add-group-btn:hover {
    background-color: #4e73df !important;
    color: #ffffff !important;
    border-style: solid !important;
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.25) !important;
}

.as-daum-postcode-wrap {
    display: none;
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 20050;
    background: rgba(0, 0, 0, 0.45);
    align-items: center;
    justify-content: center;
}
.as-daum-postcode-box {
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 500px;
    height: 600px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}
.as-daum-postcode-box--dragging {
    user-select: none;
}
.as-daum-postcode-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    height: 48px;
    padding: 0 10px 0 16px;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
    cursor: move;
    touch-action: none;
}
.as-daum-postcode-head__title {
    font-size: 1rem;
    color: #212529;
}
.as-daum-postcode-head__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}
.as-daum-postcode-head__close .material-icons {
    font-size: 18px;
    color: #495057;
}
.as-daum-postcode-layer {
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow: hidden;
}

.as-group-field[data-field="purchase_date"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23495057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 18px 18px !important;
    padding-right: 38px !important;
    position: relative !important;
}
.as-group-field[data-field="purchase_date"]:hover,
.as-group-field[data-field="purchase_date"]:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234e73df' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") !important;
}

.as-group-field[data-field="purchase_date"]::-webkit-calendar-picker-indicator {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 38px !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

@media (max-width: 767.98px) {
    input[type="date"].as-group-field[data-field="purchase_date"] {
        position: relative;
    }
    input[type="date"].as-group-field[data-field="purchase_date"]:not([value])::before,
    input[type="date"].as-group-field[data-field="purchase_date"][value=""]::before,
    input[type="date"].as-group-field[data-field="purchase_date"]:invalid::before {
        content: attr(placeholder);
        color: #6c757d;
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        background: transparent;
        font-size: 0.95rem;
    }
    input[type="date"].as-group-field[data-field="purchase_date"]:focus::before,
    input[type="date"].as-group-field[data-field="purchase_date"]:valid::before {
        display: none !important;
        content: "" !important;
    }
}


/* ==========================================================================
   18. Step 2 저장 완료 카드의 텍스트 요약 뷰 모드 (.as-saved-card-view)
   ========================================================================== */

/* 저장 완료 뷰 모드 — 이중 카드 테두리를 제거하고 외곽 그룹 카드 내부에 시원하고 깔끔하게 배치 */
.as-saved-card-body {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

@media (max-width: 767.98px) {
    .as-saved-card-body {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

/* 뱃지 라벨 스타일 (브랜드 공통) */
.as-summary-badge-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #495057;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    line-height: 1.2;
    white-space: nowrap !important;
}

/* 수량 알약 뱃지 스타일 (Attached Image 2 대응) */
.as-qty-pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4e73df;
    background: #f0f4ff;
    border: 1px solid #d0dcf9;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap !important;
}

/* 등록된 제품 항목 뷰 (배경/테두리/하단선 제거 + 이미지 92px 확대) */
.as-saved-product-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0.85rem !important;
}

.as-saved-product-card:hover {
    border-color: transparent;
    box-shadow: none;
}

/* 썸네일 박스 — 92px x 92px 확대 시원한 뷰어 적용 */
.as-saved-product-thumb-wrap {
    width: 92px;
    height: 92px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e3e6f0;
    background: #f8f9fc;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(46, 56, 77, 0.04);
}

.as-saved-product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.as-saved-product-brand {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c757d;
    line-height: 1.3;
}

.as-saved-product-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #212529;
    word-break: break-word;
    line-height: 1.4;
}

/* 구매정보 라운드 테이블 박스 (Table Box) — 흰색 배경 + 점선 테두리 적용 */
.as-saved-card__meta-table-box {
    background: #ffffff;
    border: 1px dashed #d0d7de;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-top: 0.85rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out;
}
.as-purchase-group-card:hover .as-saved-card__meta-table-box {
    border-color: #b0b8c4;
}

.as-saved-card__meta-table-box .as-meta-table-row {
    display: flex;
    align-items: center;
    padding: 0.4rem 0;
}

.as-saved-card__meta-table-box .as-meta-table-row + .as-meta-table-row {
    border-top: 1px dashed #eef1f6;
}

/* 항목명 th width = 92px (테이블 좌측 패딩 16px + th 92px = 108px -> 상단 브랜드/제품명 시작 수직선과 픽셀 단위 100% 일치) */
.as-saved-card__meta-table-box .as-meta-th {
    min-width: 92px;
    width: 92px;
    font-size: 0.84rem;
    color: #6c757d;
    font-weight: 500;
    flex-shrink: 0;
}

.as-saved-card__meta-table-box .as-meta-td {
    font-size: 0.9rem;
    color: #212529;
    font-weight: 700;
    word-break: break-word;
}

/* 모바일 여백 및 레이아웃 최적화 (모바일 수직 축선 = 12px 패딩 + 84px th = 96px) */
@media (max-width: 767.98px) {
    .as-saved-product-thumb-wrap {
        width: 80px;
        height: 80px;
    }
    .as-saved-card__meta-table-box {
        padding: 0.6rem 0.75rem;
    }
    .as-saved-card__meta-table-box .as-meta-th {
        min-width: 84px;
        width: 84px;
        font-size: 0.8rem;
    }
    .as-saved-card__meta-table-box .as-meta-td {
        font-size: 0.86rem;
    }
}





