/* ==========================================================================
   shop.css — 쇼핑몰 전체 스타일
========================================================================== */

/* ========================
   전체 레이아웃
======================== */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr 730px;
    min-height: 100vh;
    background: #F9F9F9;
}

.shop-layout--join {
    align-items: start;
}

.shop-layout:has(.shop-right.is-hidden) {
    grid-template-columns: 250px 1fr;
}

.shop-main {
    padding: 20px;
    overflow-y: auto;
    align-self: start;
}

/* ========================
   사이드바 상단 빨간 영역
======================== */
.sidebar-top {
    background: #BA0000;
    border-radius: 0 0 30px 30px;
    overflow: hidden;
}

.sidebar-logo {
    padding: 16px 12px;
    text-align: center;
}

.sidebar-logo__text {
    color: #fff !important;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.sidebar-auth {
    display: flex;
    gap: 6px;
    padding: 10px;
}

.sidebar-auth__btn {
    color: #fff !important;
    flex: 1;
    padding: 15px 0;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    border: 1px solid #fff;
    text-decoration: none;
    transition: background 0.2s;
}

.sidebar-auth__btn--primary {
    background: #fff;
    color: var(--color-red) !important;
    border: none !important;
}

.sidebar-stats {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    padding: 8px 12px;
}

.sidebar-stats__item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #fff;
}

/* ========================
   사이드바
======================== */
.shop-sidebar {
    width: 250px;
    min-height: 100vh;
    background: #fff;
    border-right: 1px solid #E5E5E5;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    margin-top: 20px;
    padding: 0 10px;
}

.sidebar-nav::-webkit-scrollbar { width: 3px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.sidebar-nav__group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #333;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.b-t{
	border-top: 1px solid #E5E5E5;
}

.sidebar-nav__group-title.is-active {
    background: #FFF3F3;
    color: var(--color-red);
    border-radius: 20px;
}

.sidebar-nav__group-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-nav__group-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.sidebar-nav__group-title.is-active .sidebar-nav__group-icon {
    filter: invert(13%) sepia(90%) saturate(5000%) hue-rotate(355deg) brightness(85%);
}

.sidebar-nav__arrow {
    font-size: 11px;
    color: #999;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.sidebar-nav__group.is-open .sidebar-nav__arrow {
    display: inline-block;
    transform: rotate(180deg);
}

.sidebar-nav__scroll-wrap {
    display: none;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-nav__group.is-open .sidebar-nav__scroll-wrap {
    display: block;
}

.sidebar-nav__scroll-wrap::-webkit-scrollbar { width: 3px; }
.sidebar-nav__scroll-wrap::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.sidebar-nav__list {
    list-style: none;
    margin: 0;
    padding: 4px 25px 8px;
    display: block;
}

.sidebar-nav__item {
    display: block;
    padding: 8px 16px 8px 20px;
    color: #212529;
    text-decoration: none;
    transition: color 0.2s;
    border-radius: 8px;
}

.sidebar-nav__item:hover { color: var(--color-red); }

.sidebar-nav__item.is-active {
    color: var(--color-red);
    border: 1px solid var(--color-red);
    border-radius: 15px;
    font-size: 14px;
}

.sidebar-bizinfo {
    padding: 12px 16px;
    color: #212529;
    line-height: 1.8;
}

.sidebar-bizinfo p { margin: 0; }
.sidebar-bizinfo strong { color: #555; }

.sidebar-info__links {
    display: flex;
    gap: 4px;
    margin-top: 8px;
    font-size: 10px;
    border-top: 1px solid #E5E5E5;
}

.sidebar-info__links a { color: #888; text-decoration: none; }
.sidebar-info__links span { color: #ccc; }

/* ========================
   오른쪽 패널
======================== */
.shop-right {
    width: 720px;
    min-height: 100vh;
    overflow-y: auto;
    margin-top: 10px;
}

.shop-right.is-hidden {
    display: none;
}

.right-banner {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.right-banner__slide img { width: 100%; }
.right-banner__label { font-size: 12px; color: #aac4ff; margin-bottom: 6px; }
.right-banner__title { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.right-banner__highlight { color: #00e5ff; }
.right-banner__date { font-size: 11px; color: #7a9fd4; }
.right-banner__coupons { display: flex; flex-direction: column; gap: 6px; }

.right-banner__coupon {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.right-banner__coupon-label { font-size: 9px; color: #aac4ff; }
.right-banner__coupon-value { font-size: 12px; font-weight: 700; color: #00e5ff; }

.right-banner__pagination {
    position: absolute;
    bottom: 12px;
    right: 16px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
}

.right-section {
    padding: 50px 40px;
    border-bottom: 1px solid #E5E5E5;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
}

.right-section__title {
    color: #212529;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E5E5E5;
}

.right-recommend__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
}

.right-recommend__item:last-child { border-bottom: none; }

.right-recommend__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-recommend__icon img { width: 100%; height: 100%; object-fit: cover; }
.right-recommend__info { flex: 1; }
.right-recommend__platform { color: #999; margin-bottom: 5px; }
.right-recommend__text { color: #212529; }
.right-recommend__arrow { color: #212529; font-size: 20px; }

.right-recommend__icon-bg {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.right-recommend__icon-bg img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.right-faq-marquee {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
    margin: -10px 0;
}

.right-faq-marquee__track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: faqMarquee 20s linear infinite;
}

.right-faq-marquee__track:hover { animation-play-state: paused; }

@keyframes faqMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.right-faq__item {
    border-radius: 10px;
    padding: 15px;
    text-decoration: none;
    transition: background 0.2s;
    flex-shrink: 0;
    width: 170px;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.08);
}

.right-faq__icon {
    width: 100%;
    height: 90px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

.right-faq__icon img { width: 100%; object-fit: contain; }
.right-faq__tag { color: #555; margin-bottom: 15px; background: #F1F1F1; padding: 6px 7px; display: inline-block; width: fit-content; border-radius: 15px; }
.right-faq__name { color: #555; }

.right-why__wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.right-why__item {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    background: #F9F9F9;
    padding: 25px 35px;
    border-radius: 45px;
    gap: 15px;
}

.right-why__item:last-child { border-bottom: none; }

.right-why__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.right-why__icon img { width: 100%; height: 100%; object-fit: contain; }
.right-why__title { color: #212529; margin-bottom: 5px; }
.right-why__desc { color: #999; line-height: 1.6; }

/* ========================
   공통 카드
======================== */
.shop-card {
    background: #fff;
    border-radius: 10px;
    padding: 50px;
    margin-bottom: 12px;
    border: 1px solid #E5E5E5;
}

.shop-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 15px;
}

.shop-card__title { color: #212529; }

.shop-card__link {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #FFF3F3;
    border-radius: 17px;
    padding: 8px 12px;
    text-decoration: none;
}

.shop-card__header img { width: 15px; height: 15px; }
.shop-card-txt { color: #BA0000; }

.board-list-wrap {
    background: #fff;
    padding: 50px 30px;
    border-radius: 10px;
    border: 1px solid #E5E5E5;
}

/* ========================
   공통 컬러 / 유틸
======================== */
.red  { color: #E45445; }
.blue { color: #407CFF; }
.pri  { color: #212529 !important; }
.gray { color: #999999 !important; }
.pria { color: #212529; }
.b-none { border-bottom: none !important; }
.w-200  { width: 200px !important; }
#detailLeft { background: #F9F9F9; }

/* ========================
   공지사항 바 / 검색
======================== */
.shop-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-red);
    color: #fff;
    padding: 10px 16px;
    margin-bottom: 15px;
    border-radius: 10px;
}

.shop-notice__text { flex: 1; }

.shop-search {
    display: flex;
    align-items: center;
    border: 1px solid #BA0000;
    border-radius: 25px;
    padding: 15px 25px;
    margin-bottom: 30px;
    background: #fff;
}

.shop-search__input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #999;
    background: transparent;
}

.shop-search__input::placeholder { color: #bbb; }
.shop-search__btn { background: none; border: none; font-size: 18px; cursor: pointer; color: #999; }

/* ========================
   주문 STEP
======================== */
.order-step { margin-bottom: 24px; }

.order-step__label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #212529;
    margin-bottom: 25px;
}

.order-step__num {
    font-weight: 900;
    color: var(--color-red);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.order-step__hint { margin-top: 6px; }

/* ========================
   서비스 아이콘 그리드
======================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
    margin-bottom: 35px;
    justify-items: start;
}

.service-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.service-icon.is-active .service-icon__name {
    color: var(--color-red);
    font-weight: 700;
}

.service-icon__bg {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #F9F9F9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: background 0.2s, border 0.2s;
}

.service-icon.is-active .service-icon__bg {
    background-color: #FFF3F3;
    border: 1px solid #BA0000;
}

.service-icon__img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: none;
}

.service-icon__name { color: #333; }

/* ========================
   세부 서비스
======================== */
.service-detail {
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    overflow: hidden;
}

.service-detail__header {
    padding: 15px 18px;
    background: #fff;
    border-bottom: 1px solid #E5E5E5;
}

.service-detail__wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
}

.service-detail__col {
    border-right: 1px solid #eee;
    overflow-y: auto;
    max-height: 340px;
}

.service-detail__col:last-child { border-right: none; }

.service-detail__item {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: #444;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.service-detail__item:hover { background: #f9f9f9; }

.service-detail__item--left.is-active {
    background: var(--color-red);
    color: #fff;
    font-weight: 700;
}

.service-detail__item--right.is-active {
    background: #FFF3F3;
    color: var(--color-red);
    font-weight: 700;
}

/* ========================
   입력 필드
======================== */
.order-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.order-input:focus { border-color: #BA0000; }
.order-input::placeholder { color: #bbb; }

/* ========================
   포인트
======================== */
.order-point { display: flex; gap: 8px; }
.order-point .order-input { flex: 1; }

.order-point__input-wrap {
    position: relative;
    width: 100%;
}

.order-point__input-wrap .order-input {
    width: 100%;
    padding-right: 100px;
    box-sizing: border-box;
}

.order-point__btn {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    padding: 10px 55px;
    background: #fff;
    border: 1px solid #BA0000;
    color: #BA0000;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
}

.order-point__btn:hover {
    background: var(--color-red);
    color: #fff;
}

.order-point__balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 25px;
    padding: 12px 16px;
    margin-top: 8px;
    font-size: 14px;
}

.order-point__balance-value { color: var(--color-red); font-weight: 700; }

/* ========================
   아코디언
======================== */
.order-accordion {
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}

.order-accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    color: #212529;
    border-radius: 8px;
    background: #f9f9f9;
}

.order-accordion__body {
    display: none;
    padding: 16px;
    position: relative;
    background: #F9F9F9;
}

.order-accordion__body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: #eee;
}

.order-accordion.is-open .order-accordion__body { display: block; }

.order-accordion__service-name { font-size: 14px; color: #555; margin-bottom: 12px; }
.order-accordion__quote { font-size: 15px; font-weight: 700; color: #111; margin-bottom: 12px; }
.order-accordion__desc { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 12px; }
.order-accordion__sub-title { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 6px; }
.order-accordion__list { list-style: disc; padding-left: 20px; font-size: 14px; color: #555; line-height: 1.8; }

/* ========================
   주문 금액 요약
======================== */
.order-summary__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.order-summary__row {
    display: flex;
    justify-content: space-between;
    color: #212529;
    padding: 6px 0;
}

.order-summary__row del { color: #bbb; }
.order-summary__agree { color: #999; text-align: left; margin: 20px 0 30px; }

/* ========================
   공통 제출 버튼
======================== */
.order-submit,
.charge-submit,
.auth-submit {
    width: 100%;
    padding: 16px;
    background: var(--color-red);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
}

.order-submit:hover,
.charge-submit:hover,
.auth-submit:hover { background: #900000; }

/* ========================
   충전
======================== */
.charge-tabs {
    display: flex;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E5E5E5;
}

.charge-tab {
    flex: 1;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 700;
    border: none;
    background: #fff;
    color: #999;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.charge-tab.is-active { background: var(--color-red); color: #fff; }

.charge-section { margin-bottom: 32px; }

.charge-section__title {
    color: #212529;
    margin-bottom: 20px;
}

.charge-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.charge-amount,
.charge-amount-acc {
    padding: 14px 0;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50px;
    color: #444;
    cursor: pointer;
    transition: all 0.2s;
}

.charge-amount:hover,
.charge-amount.is-active,
.charge-amount-acc:hover,
.charge-amount-acc.is-active {
    background: #fff0f0;
    border-color: var(--color-red);
}

.charge-summary {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #E5E5E5;
}

.charge-summary__row { display: flex; justify-content: space-between; align-items: flex-start; }
.charge-summary__label { color: #666; }
.charge-summary__values { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.charge-summary__main { color: var(--color-red); }
.charge-summary__sub { color: #777; }

.charge-pay__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
}

.charge-pay__total { color: var(--color-red); }

.charge-pay__row {
    display: flex;
    justify-content: space-between;
    color: #666;
    padding: 6px 0;
}

.charge-account {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

.charge-account__label { font-size: 12px; color: #999; margin-bottom: 8px; }
.charge-account__bank { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 4px; }
.charge-account__num { font-size: 20px; font-weight: 900; color: #111; margin-bottom: 4px; letter-spacing: 1px; }
.charge-account__name { font-size: 13px; color: #666; }

/* 계좌입금 탭 */
.charge-summary-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.charge-summary-box__label { font-size: 14px; color: #333; padding-top: 4px; }
.charge-summary-box__right { text-align: right; }
.charge-summary-box__amount { font-size: 18px; font-weight: 700; color: var(--color-red); margin-bottom: 4px; }
.charge-summary-box__point,
.charge-summary-box__balance { font-size: 12px; color: #888; margin-bottom: 2px; }

.charge-depositor { margin-top: 28px; }

.charge-depositor__label {
    color: #212529;
    margin-bottom: 15px;
}

.charge-depositor__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    outline: none;
}

.charge-depositor__input::placeholder { color: #bbb; }
.charge-depositor__input:focus { border-color: var(--color-red); }

.charge-payment-info { margin-top: 60px; }

.charge-payment-info__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.charge-payment-info__total > span:first-child { color: #212529; }

.charge-payment-info__total-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-red);
}

.charge-payment-info__detail {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

.charge-payment-info__row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.charge-payment-info__row--vat { color: #999; }

/* ========================
   주문 내역
======================== */
.order-history__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.order-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    padding: 20px;
    transition: box-shadow 0.2s;
}

.order-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.order-card__date { color: #999; margin-bottom: 10px; }
.order-card__title { color: #212529; margin-bottom: 10px; }

.order-card__tags {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.order-card__status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    color: #fff;
}

.order-card__status--ing,
.order-card__status--done,
.order-card__status--wait,
.order-card__status--stop,
.order-card__status--fail,
.order-card__status--cancel { background: #FFE5E5; color: #BA0000; }

.order-card__status--red  { background: var(--color-red); color: #fff; }
.order-card__status--gray { background: #888; color: #fff; }

.order-card__tag {
    padding: 3px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #555;
    background: #fff;
}

.order-card__link {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #999;
    text-decoration: none;
    font-size: 12px;
}

.order-card__divider { border: none; border-top: 1px solid #f0f0f0; margin-bottom: 12px; }

.order-card__info {
    display: flex;
    gap: 12px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 14px 16px;
}

.order-card__info-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.order-card__info-label { font-size: 10px; color: #999; margin-bottom: 7px; white-space: nowrap; }

.order-card__info-value {
    color: #212529;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.order-card__info-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-card__copy {
    font-size: 10px;
    padding: 2px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #888;
    cursor: pointer;
    white-space: nowrap;
}

.order-card__copy:hover { background: #f5f5f5; }

/* ========================
   이용내역 wrap
======================== */
.order-wrap {
    padding: 50px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
}

.order__title {
    color: #212529;
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 13px;
    margin-bottom: 30px;
}

.search-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.order-search {
    width: 570px;
    display: flex;
    align-items: center;
    border: 1px solid #E5E5E5;
    border-radius: 50px;
    padding: 12px 20px;
    background: #fff;
}

.order-search__input {
    flex: 1;
    border: none;
    outline: none;
    color: #333;
    font-size: 14px;
    background: transparent;
}

.order-search__input::placeholder { color: #bbb; }

.order-search__btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.order-search__btn img { width: 18px; height: 18px; }

.order-filter {
    display: flex;
    gap: 10px;
}

.order-filter__select {
    width: 180px;
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    background: #fff;
    color: #212529;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.order-total { color: #777; margin-bottom: 30px; }

.order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* orderHistory 전용 재정의 */
.order-wrap .order-search {
    width: auto;
    border-radius: 50px;
    padding: 14px 24px;
    margin-bottom: 12px;
}

.order-wrap .order-filter { margin-bottom: 12px; }

.order-wrap .order-filter__select {
    width: auto;
    padding: 12px 16px;
    border-radius: 8px;
    background-position: right 14px center;
    background-size: 16px;
}

.order-wrap .order-filter__select:focus { border-color: var(--color-red); }
.order-wrap .order-total { font-size: 14px; margin-bottom: 16px; color: #888; }

/* ========================
   게시판 공통
======================== */
.board-layout,
.guide-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: flex-start;
}

.board-list-wrap {
    background: #fff;
    padding: 50px 30px;
    border-radius: 10px;
    border: 1px solid #E5E5E5;
}

.guide-search {
    display: flex;
    align-items: center;
    border: 1px solid #E5E5E5;
    border-radius: 25px;
    padding: 15px 25px;
    margin-bottom: 30px;
    background: #fff;
}

.guide-search__input { flex: 1; border: none; outline: none; font-size: 14px; color: #333; background: transparent; }
.guide-search__input::placeholder { color: #bbb; }
.guide-search__btn { background: none; border: none; font-size: 16px; cursor: pointer; color: #999; }
.guide-list__title { color: #212529; margin-bottom: 20px; }

.guide-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 24px;
}

.guide-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
}

.guide-list__item:hover { border-color: var(--color-red); background: #fff8f8; }
.guide-list__item.is-active { border-color: var(--color-red); background: #fff0f0; }
.guide-list__item.is-active .guide-list__item-title { color: var(--color-red); font-weight: 700; }
.guide-list__item.is-active .guide-list__item-arrow { color: var(--color-red); }
.guide-list__item-title { color: #212529; }
.guide-list__item-arrow { font-size: 18px; color: #999; }

.guide-pagination { display: flex; align-items: center; justify-content: center; gap: 4px; }

.guide-pagination__btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    color: #212529;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.guide-pagination__btn.is-active { background: var(--color-red); color: #fff; font-weight: 700; }
.guide-pagination__btn--arrow { color: #D9D9D9; font-size: 18px; background: #F9F9F9; }

.board-detail-panel {
    padding: 50px;
    margin-top: 10px;
    height: 100%;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
}

.board-detail-panel__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #bbb;
}

.board-detail-panel__title { color: #212529; margin-bottom: 20px; }

.board-detail-panel__date {
    color: #999;
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.board-detail-panel__body { color: #444; line-height: 1.8; }

/* ========================
   로그인 모달
======================== */
.login-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.login-backdrop.is-open { display: flex; }

.login-modal {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    width: 340px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.login-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #F9F9F9;
    border: none;
    border-radius: 50%;
    padding: 5px 10px;
    font-size: 18px;
    color: #000;
    cursor: pointer;
}

.login-modal__close:hover { color: #333; }
.login-modal__logo { font-size: 18px; color: var(--color-red); margin-bottom: 8px; }
.login-modal__slogan { font-size: 16px; color: #111; line-height: 1.6; }
.login-modal__divider { border: none; border-top: 2px solid #E5E5E5; margin: 20px 0 45px 0; }

.login-modal__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-modal__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.login-modal__input:focus { border-color: var(--color-red); }
.login-modal__input::placeholder { color: #bbb; }

.login-modal__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 8px;
}

.login-modal__remember { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #666; cursor: pointer; }
.login-modal__remember input { accent-color: var(--color-red); }
.login-modal__find { color: #666; text-decoration: underline; }
.login-modal__find:hover { color: var(--color-red); }
.login-modal__btns { display: flex; gap: 10px; margin-top: 4px; }

.login-modal__btn {
    flex: 1;
    padding: 13px 0;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.login-modal__btn--primary { background: var(--color-red); color: #fff; border: none; }
.login-modal__btn--primary:hover { background: #900000; }
.login-modal__btn--outline { background: #fff; color: var(--color-red); border: 1px solid var(--color-red); }
.login-modal__btn--outline:hover { background: #fff5f5; }

/* ========================
   회원가입 / 비밀번호찾기
======================== */
.auth-wrap {
    max-width: 480px;
    background: #fff;
    border-radius: 10px;
    padding: 32px;
    border: 1px solid #E5E5E5;
}

.auth__title { color: #212529; margin-bottom: 20px; }
.auth__divider { border: none; border-top: 2px solid #E5E5E5; margin-bottom: 45px; }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-field { display: flex; flex-direction: column; gap: 8px; }
.auth-field__label { color: #212529; }

.auth-field__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.auth-field__input:focus { border-color: var(--color-red); }
.auth-field__input::placeholder { color: #bbb; }
.auth-field__error { font-size: 12px; color: var(--color-red); }
.auth-agree { display: flex; flex-direction: column; gap: 10px; }
.auth-agree__item { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: #444; }
.auth-agree__item input { accent-color: var(--color-red); width: 16px; height: 16px; }
.auth-agree__link { color: var(--color-red) !important; text-decoration: underline; }

.findpw__icon { text-align: center; margin-bottom: 20px; }
.findpw__icon img { width: 80px; height: 80px; object-fit: contain; }
.findpw__desc { text-align: center; color: #212529; line-height: 1.8; margin-bottom: 28px; }

/* ========================
   회원정보 수정
======================== */
.edit-field {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.edit-field--pw-confirm {
    margin-top: -12px;
    margin-bottom: 32px;
}

.edit-field__label {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.edit-field__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}

.edit-field__input::placeholder { color: #bbb; }
.edit-field__input:focus { border-color: var(--color-red); }

.edit-field__input--readonly {
    background: #f9f9f9;
    color: #aaa;
    cursor: default;
    border-color: #eee;
}

.edit-field__input--readonly:focus { border-color: #eee; }

.edit-field__error {
    font-size: 12px;
    color: var(--color-red);
    margin-top: 4px;
    display: none;
}

.edit-field__error.is-show { display: block; }

/* ========================
   링크 수정 모달
======================== */
.link-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.link-modal-backdrop.is-open { display: flex; }

.link-modal {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    width: 360px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.link-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #F9F9F9;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-modal__close:hover { background: #eee; }
.link-modal__tag { color: var(--color-red); margin-bottom: 10px; }
.link-modal__title { color: #111; line-height: 1.4; margin-bottom: 20px; }
.link-modal__divider { border: none; border-top: 1px solid #E5E5E5; margin-bottom: 24px; }

.link-modal__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.link-modal__label { color: #333; }

.link-modal__input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.link-modal__input::placeholder { color: #bbb; }
.link-modal__input:focus { border-color: var(--color-red); }

.link-modal__submit {
    width: 100%;
    padding: 15px;
    background: var(--color-red);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
}

.link-modal__submit:hover { background: #900000; }

/* ========================
   반응형
======================== */
@media (max-width: 1200px) {
    .shop-layout { grid-template-columns: 250px 1fr; }
    .shop-right  { display: none; }
    .order-history__grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid { grid-template-columns: repeat(6, 1fr); }
    .board-layout, .guide-layout { grid-template-columns: 1fr 1fr; }
    .shop-card { padding: 30px; }
}

@media (max-width: 768px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { display: none; }
    .shop-right { display: none; }
    .shop-main { padding: 12px; }
    .shop-card { padding: 20px; }
    .service-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
    .service-icon__bg { width: 55px; height: 55px; }
    .order-history__grid { grid-template-columns: 1fr; }
    .board-layout, .guide-layout { grid-template-columns: 1fr; }
    .board-detail-panel { padding: 20px; margin-top: 12px; }
    .charge-amounts { grid-template-columns: repeat(2, 1fr); }
    .order-card__info { flex-wrap: wrap; gap: 10px; }
    .order-card__info-item { flex: 0 0 calc(50% - 5px); }
    .search-wrap { flex-direction: column; }
    .order-search { width: 100%; }
    .order-filter { flex-wrap: wrap; }
    .order-filter__select { flex: 0 0 calc(50% - 5px); width: calc(50% - 5px); }
    .auth-wrap { padding: 20px; max-width: 100%; }
    .login-modal { width: 90%; padding: 24px 20px; }
    .link-modal { width: 90%; padding: 24px 20px; }
    .shop-card .shop-card__header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .order-wrap { padding: 20px; }
    .guide-search { padding: 12px 16px; }
    .guide-list__item { padding: 15px 20px; }
    .charge-summary-box { flex-direction: column; gap: 10px; }
    .charge-summary-box__right { text-align: left; }
    .service-detail__wrap { grid-template-columns: 1fr; }
    .service-detail__col { border-right: none; border-bottom: 1px solid #eee; max-height: 200px; }
}

@media (max-width: 480px) {
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .charge-amounts { grid-template-columns: repeat(2, 1fr); }
    .order-card__info-item { flex: 0 0 100%; }
    .order-filter__select { flex: 0 0 100%; width: 100%; }
    .login-modal__btns { flex-direction: column; }
}


.right-banner__slider { cursor: pointer; }
.right-banner__slide  { display: none; }
.right-banner__slide img { width: 100%; }
.right-banner__pagination {
    position: absolute;
    bottom: 12px;
    right: 16px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
}