@charset "utf-8";

.head_txt {
    display: flex;
    height: 46px;
    align-items: center;
    border-top: 1px solid #e2dcff;
    border-bottom: 1px solid #e2dcff;
    background: #f3f1ff;
    color: #333;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
}

.head_txt__inner {
    height: 20px;
    width: min(100% - 60px, 1080px);
    margin: 0 auto;
    overflow: hidden;
}

.head_txt__ticker {
    animation: headTxtTicker 12s ease-in-out infinite;
}

.head_txt__item {
    display: flex;
    height: 20px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
}

.head_txt__emphasis {
    color: #3617ce;
    font-weight: 600;
}

.head_txt__plain {
    color: #333;
}

.head_txt:hover .head_txt__ticker {
    animation-play-state: paused;
}

@keyframes headTxtTicker {
    0%, 29% {transform: translateY(0);}
    34%, 62% {transform: translateY(-25%);}
    67%, 95% {transform: translateY(-50%);}
    100% {transform: translateY(-75%);}
}

@media (prefers-reduced-motion: reduce) {
    .head_txt__ticker {
        animation: none;
        transform: none;
    }
}

.gnb-wrap .contain {
    position: relative;
}

/* 반응형 경계에서 구형 좌측 메뉴와 전체화면 메뉴의 transform이 바뀌어도
   닫힌 메뉴가 화면을 가로질러 보이지 않도록 기본 상태를 먼저 숨깁니다. */
.mobile-navigation {
    visibility: hidden;
    pointer-events: none;
}

.gnb-container {
    height: 90px;
    margin-right: 158px;
    padding-top: 0;
    border-top: 0;
}

.header-fixed #wrapper {
    padding-top: 136px;
}

.header-member {
    position: absolute;
    top: 50%;
    right: 30px;
    z-index: 40;
    display: flex;
    gap: 10px;
    align-items: center;
    transform: translateY(-50%);
}

.header-utility {
    display: none;
}

.header-member__account {
    position: relative;
    flex: 0 0 auto;
}

.header-member__button {
    display: inline-flex;
    min-width: 124px;
    min-height: 40px;
    padding: 0 14px;
    gap: 7px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4d4d8;
    border-radius: 9px;
    background: #fff;
    color: #202124;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease;
}

.header-member__icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.header-member__label-short {
    display: none;
}

.header-member__button:hover {
    border-color: #a1a1aa;
    background: #fafafa;
    color: #111;
}

.header-member__button:focus-visible {
    outline: 3px solid rgba(54, 23, 206, .28);
    outline-offset: 2px;
}

@media (min-width: 1121px) {
    .gnb-container {
        margin-right: 430px;
    }

    .gnb-fixed-menu a,
    #gnb > ul > li > a {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 18px;
    }

    .gnb-fixed-menu .promo-bubble {
        top: -10px;
    }

    .header-utility {
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    .header-utility a {
        position: relative;
        padding: 0 8px;
        color: #65676c;
        font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 13px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: -.025em;
        text-decoration: none;
    }

    .header-utility .header-utility__price {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .header-price-icon {
        display: inline-flex;
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        align-items: center;
        justify-content: center;
        border-radius: 7px;
        background: #f0edff;
        color: #3617ce;
    }

    .header-price-icon svg {
        width: 18px;
        height: 15px;
        overflow: visible;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .header-price-icon__base {
        opacity: .22;
        stroke-width: 1.3;
    }

    .header-price-icon__line {
        stroke-width: 1.8;
        stroke-dasharray: 30;
        stroke-dashoffset: 30;
        animation: headerPriceLine 2.8s ease-in-out infinite;
    }

    .header-price-icon__dot {
        fill: currentColor;
        stroke: none;
        transform-box: fill-box;
        transform-origin: center;
        animation: headerPriceDot 2.8s ease-in-out infinite;
    }

    @keyframes headerPriceLine {
        0%, 18% {stroke-dashoffset: 30; opacity: .35;}
        58%, 100% {stroke-dashoffset: 0; opacity: 1;}
    }

    @keyframes headerPriceDot {
        0%, 44% {opacity: .2; transform: scale(.7);}
        64%, 82% {opacity: 1; transform: scale(1.15);}
        100% {opacity: 1; transform: scale(1);}
    }

    .header-utility a + a::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 1px;
        height: 10px;
        background: #e1e2e5;
        transform: translateY(-50%);
    }

    .header-utility a:hover,
    .header-utility a:focus-visible {
        color: #3617ce;
        outline: 0;
    }

    .header-utility a:focus-visible {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .header-member__button {
        min-width: 78px;
        min-height: 34px;
        padding: 0 10px;
        gap: 5px;
        border-radius: 7px;
        font-size: 12px;
        font-weight: 600;
    }
}

@media (min-width: 901px) {
    .head_txt {
        font-size: 15px;
    }

    .head_txt__item {
        gap: 4px;
        letter-spacing: -.025em;
        word-spacing: 0;
    }

    .gnb-container {
        transform: translateY(6px);
    }

    .header-member {
        margin-top: 6px;
    }

    .header-member__icon {
        display: none;
    }
}

@media (min-width: 1200px) {
    .gnb-container {
        margin-right: 470px;
    }

    .header-member__button {
        min-width: 108px;
        min-height: 32px;
        padding: 0 5px;
        font-size: 12px;
        letter-spacing: -0.045em;
    }
}

@media (min-width: 1121px) and (max-width: 1199px) {
    .header-member__label-full {
        display: none;
    }

    .header-member__label-short {
        display: inline;
    }
}

@media (max-width: 1120px) and (min-width: 901px) {
    .header-fixed #wrapper {
        padding-top: 116px;
    }

    .gnb-fixed-menu .promo-bubble {
        top: -4px;
    }

    .gnb-container {
        height: 70px;
        margin-right: 128px;
        padding-top: 0;
        border-top: 0;
    }

    .header-member {
        right: 15px;
    }

    .header-member__button {
        min-width: 80px;
        min-height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }

    .header-member__label-full {
        display: none;
    }

    .header-member__label-short {
        display: inline;
    }
}

@media (max-width: 900px) {
    .header-member {
        top: 5px;
        right: 15px;
        transform: none;
    }

    .header-member__button {
        width: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        border-color: transparent;
        border-radius: 50%;
        background: transparent;
    }

    .header-member__button:hover {
        border-color: transparent;
        background: #f4f4f5;
    }

    .header-member__icon {
        display: block;
        width: 22px;
        height: 22px;
        stroke-width: 1.9;
    }

    .header-member__chevron {
        display: none;
    }

    .header-member__label-full,
    .header-member__label-short {
        display: none;
    }
}

@media (max-width: 900px) and (min-width: 641px) {
    .btn-m-menu {
        display: none;
    }

    .header-fixed #wrapper {
        padding-top: 150px;
    }

    .gnb-container {
        height: 50px;
        margin-right: 0;
        margin-left: 0;
        padding-top: 0;
        border-top: 1px solid #ddd;
    }
}

@media (min-width: 641px) {
    .btn-m-menu {
        display: none;
    }

    .mobile-navigation {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateX(100%) !important;
        transition: none !important;
    }
}

@media (max-width: 640px) {
    .head_txt {
        height: 42px;
        font-size: 14px;
        line-height: 18px;
    }

    .head_txt__inner {
        height: 18px;
        width: calc(100% - 24px);
    }

    .head_txt__item {
        height: 18px;
        gap: 4px;
        letter-spacing: -.025em;
    }

    .header-fixed #wrapper {
        padding-top: 160px;
    }

    .gnb-wrap .contain {
        padding-top: 8px;
    }

    .gnb-container {
        height: 45px;
        margin: 0 -15px;
    }

    .header-member {
        display: none;
    }

    .btn-m-menu {
        top: 17px;
        right: 6px;
        left: auto;
        display: block;
        width: 44px;
        height: 44px;
        border-radius: 50%;
    }

    .btn-m-menu:hover,
    .btn-m-menu:focus-visible {
        background: #f4f4f5;
        outline: 0;
    }

    .btn-m-menu:focus-visible {
        box-shadow: 0 0 0 3px rgba(54, 23, 206, .24);
    }

    .btn-m-menu span {
        top: 21px;
        right: 11px;
        left: 11px;
        height: 2px;
        border-radius: 2px;
    }

    .btn-m-menu span::before {
        top: -7px;
        height: 2px;
        border-radius: 2px;
    }

    .btn-m-menu span::after {
        bottom: -7px;
        height: 2px;
        border-radius: 2px;
    }

    .mobile-navigation {
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        display: flex;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        overflow: hidden;
        flex-direction: column;
        visibility: hidden;
        pointer-events: none;
        border-radius: 0;
        background: #fff;
        box-shadow: -12px 0 32px rgba(17, 24, 39, .08);
        transform: translateX(100%);
        transition: transform .24s ease, visibility .24s ease;
        font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    html.menu-opened .mobile-navigation {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .mobile-overlay {
        display: none !important;
    }

    .mobile-menu__header {
        position: relative;
        z-index: 2;
        display: flex;
        min-height: 60px;
        padding: 0 60px;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #e5e7eb;
        background: #fff;
    }

    .mobile-menu__header strong {
        color: #111827;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: -.035em;
    }

    .mobile-navigation .close {
        top: 8px;
        right: auto;
        left: 8px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
    }

    .mobile-navigation .close:hover,
    .mobile-navigation .close:focus-visible {
        background: #f4f4f5;
        outline: 0;
    }

    .mobile-navigation .close:focus-visible {
        box-shadow: 0 0 0 3px rgba(54, 23, 206, .24);
    }

    .mobile-navigation .close::before,
    .mobile-navigation .close::after {
        content: "";
    }

    .mobile-navigation .close::before {
        top: 16px;
        left: 17px;
        width: 11px;
        height: 11px;
        border: 0;
        border-bottom: 2px solid #111827;
        border-left: 2px solid #111827;
        background: transparent;
        transform: rotate(45deg);
    }

    .mobile-navigation .close::after {
        display: none;
    }

    .mobile-menu__body {
        min-height: 0;
        padding: 8px 20px calc(28px + env(safe-area-inset-bottom));
        flex: 1 1 auto;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu__symbols {
        position: absolute;
        width: 0;
        height: 0;
        overflow: hidden;
    }

    .mobile-menu__login {
        display: flex;
        min-height: 116px;
        padding: 16px 4px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #e5e7eb;
        background: #fff;
        color: #111827;
        text-decoration: none;
    }

    .mobile-menu__login span {
        display: inline-flex;
        min-height: 44px;
        padding: 0 20px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: #f0edff;
        color: #3617ce;
        font-size: 15px;
        font-weight: 500;
        letter-spacing: -.025em;
    }

    .mobile-menu__login small {
        display: flex;
        margin-top: 12px;
        align-items: center;
        color: #8a9099;
        font-size: 13px;
        font-weight: 500;
    }

    .mobile-menu__login small strong {
        margin-left: 4px;
        color: #3617ce;
        font-weight: 700;
    }

    .mobile-menu__login small::after {
        content: "";
        width: 6px;
        height: 6px;
        margin-left: 7px;
        border-top: 1.5px solid #9ca3af;
        border-right: 1.5px solid #9ca3af;
        transform: rotate(45deg);
    }

    .mobile-menu__products,
    .mobile-menu__support,
    .mobile-menu__list {
        display: block;
    }

    .mobile-menu__products a,
    .mobile-menu__support a,
    .mobile-menu__list a {
        display: flex;
        min-height: 56px;
        padding: 0 4px;
        align-items: center;
        justify-content: space-between;
        border: 0;
        border-bottom: 1px solid #edf0f3;
        border-radius: 0;
        background: #fff;
        color: #111827;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: -.025em;
        text-decoration: none;
    }

    .mobile-menu__link-content {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 12px;
    }

    .mobile-menu__icon {
        display: inline-flex;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        align-items: center;
        justify-content: center;
        border-radius: 11px;
        background: #f3f4f6;
        color: #4b5563;
    }

    .mobile-menu__icon svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-menu__icon--galaxy,
    .mobile-menu__icon--profile {
        background: #f0edff;
        color: #5b3ee4;
    }

    .mobile-menu__icon--iphone {
        background: #f2f3f5;
        color: #20242a;
    }

    .mobile-menu__icon--kids,
    .mobile-menu__icon--notice {
        background: #fff0f2;
        color: #e84d66;
    }

    .mobile-menu__icon--wifi,
    .mobile-menu__icon--document {
        background: #eef5ff;
        color: #4c78e8;
    }

    .mobile-menu__icon--question,
    .mobile-menu__icon--bell {
        background: #f3efff;
        color: #7656df;
    }

    .mobile-menu__icon--chart {
        background: #edf9f6;
        color: #17846f;
    }

    .mobile-menu__icon--logout {
        background: #f3f4f6;
        color: #6b7280;
    }

    .mobile-menu__products a::after,
    .mobile-menu__support a::after,
    .mobile-menu__list a::after {
        content: "";
        width: 7px;
        height: 7px;
        flex: 0 0 auto;
        border-top: 1.5px solid #9ca3af;
        border-right: 1.5px solid #9ca3af;
        transform: rotate(45deg);
    }

    .mobile-menu__section h2 {
        margin: 24px 4px 6px;
        color: #8a9099;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
        letter-spacing: -.02em;
    }

    .mobile-menu__support-section,
    .mobile-menu__category-section {
        margin: 20px -20px 0;
        padding: 12px 20px 0;
        border-top: 8px solid #f5f6f8;
    }

    .mobile-menu__account-info {
        padding: 18px 4px;
        border-bottom: 1px solid #e5e7eb;
        background: #fff;
    }

    .mobile-menu__account-info span,
    .mobile-menu__account-info strong {
        display: block;
    }

    .mobile-menu__account-info span {
        color: #6b7280;
        font-size: 12px;
        font-weight: 600;
    }

    .mobile-menu__account-info strong {
        margin-top: 5px;
        color: #111827;
        font-size: 16px;
        font-weight: 800;
    }

    .mobile-menu__list .mobile-menu__logout {
        color: #6b7280;
    }

    .mobile-menu__list .mobile-menu__logout::after {
        display: none;
    }

    .mobile-menu__login:focus-visible,
    .mobile-menu__products a:focus-visible,
    .mobile-menu__support a:focus-visible,
    .mobile-menu__list a:focus-visible {
        outline: 3px solid rgba(54, 23, 206, .24);
        outline-offset: 2px;
    }
}

@media (max-width: 360px) {
    .head_txt {
        font-size: 13px;
    }

    .header-member {
        right: 3px;
    }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
    .mobile-navigation {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-price-icon__line,
    .header-price-icon__dot {
        animation: none;
    }

    .header-price-icon__line {
        stroke-dashoffset: 0;
    }
}
