@charset "utf-8";

/* 자동 생성 파일. www/css/skin의 항목별 원본을 수정하고 npm run css:build를 실행한다. */

/*
 * 상단·하위·전체 메뉴 · 공통 메뉴
 * 적용 범위: 전체 화면
 * 적용 순서: tools/css-bundles.json — 수정 후 npm run css:build
 */
/* 상단·하위·전체 메뉴의 글자, 간격, 색 기준. */
.site-modern .site-navigation {
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    background: transparent;
    padding-bottom: 0 !important;
}

.site-modern .site-navigation[data-navigation-style="0"] {
    border-color: var(--skin-accent);
}

.site-modern .site-navigation[data-navigation-style="1"] {
    border-color: var(--skin-accent);
    background: var(--skin-accent);
}

/* 상단 링크에만 대비색을 적용한다. 흰 하위·전체 메뉴는 관리자 포인트색을 유지한다. */
.site-modern .site-navigation[data-navigation-style="1"] .shop-nav-item>a {
    --skin-accent: var(--navigation-foreground);
    color: var(--navigation-foreground);
}

.site-modern .site-navigation[data-navigation-style="1"] .shop-menu-toggle,
.site-modern .site-navigation[data-navigation-style="1"] .shop-menu-more,
.site-modern .site-navigation[data-navigation-style="1"] .shop-category-toggle {
    color: var(--navigation-foreground);
}

.site-modern .site-navigation[data-navigation-style="1"] .shop-menu-toggle:hover,
.site-modern .site-navigation[data-navigation-style="1"] .shop-menu-toggle[aria-expanded="true"],
.site-modern .site-navigation[data-navigation-style="1"] .shop-menu-more:hover,
.site-modern .site-navigation[data-navigation-style="1"] .shop-menu-more[aria-expanded="true"],
.site-modern .site-navigation[data-navigation-style="1"] .shop-category-toggle:hover,
.site-modern .site-navigation[data-navigation-style="1"] .shop-category-toggle[aria-expanded="true"] {
    color: var(--skin-ink);
    background: var(--skin-paper);
}

.site-modern .site-navigation[data-navigation-style="1"] .shop-nav-item>a:focus-visible,
.site-modern .site-navigation[data-navigation-style="1"] .shop-menu-toggle:focus-visible,
.site-modern .site-navigation[data-navigation-style="1"] .shop-menu-more:focus-visible,
.site-modern .site-navigation[data-navigation-style="1"] .shop-category-toggle:focus-visible {
    outline-color: var(--navigation-foreground);
}

.site-modern .site-navigation[data-navigation-style="1"] .shop-nav-item>a:focus-visible {
    outline-offset: -5px;
}

.site-modern .shop-navigation {
    --navigation-height: 58px;
    --navigation-available-height: 70vh;
    width: var(--width);
    margin: 0 auto;
    position: relative;
    z-index: 1000;
    font-size: 14px;
    line-height: 1.5;
}

.shop-navigation *,
.shop-navigation *::before,
.shop-navigation *::after {
    box-sizing: border-box;
}

.shop-navigation [hidden] {
    display: none !important;
}

.shop-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-nav-bar {
    display: flex;
    align-items: center;
    min-height: var(--navigation-height);
}

.shop-menu-toggle,
.shop-menu-more,
.shop-menu-close,
.shop-category-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--skin-ink);
    background: transparent;
    flex-shrink: 0;
    cursor: pointer;
}

.shop-menu-toggle {
    width: 44px;
    height: 44px;
    margin-right: 14px;
    border-radius: 3px;
}

.shop-menu-toggle:hover,
.shop-menu-toggle[aria-expanded="true"],
.shop-menu-close:hover {
    background: var(--skin-paper);
}

.shop-menu-lines,
.shop-menu-lines::before,
.shop-menu-lines::after {
    display: block;
    width: 19px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
}

.shop-menu-lines {
    position: relative;
}

.shop-menu-lines::before,
.shop-menu-lines::after {
    position: absolute;
    left: 0;
    content: "";
}

.shop-menu-lines::before {
    top: -6px;
}

.shop-menu-lines::after {
    top: 6px;
}

.shop-menu-toggle[aria-expanded="true"] .shop-menu-lines {
    background: transparent;
}

.shop-menu-toggle[aria-expanded="true"] .shop-menu-lines::before {
    top: 0;
    transform: rotate(45deg);
}

.shop-menu-toggle[aria-expanded="true"] .shop-menu-lines::after {
    top: 0;
    transform: rotate(-45deg);
}

.shop-navigation .shop-nav-links {
    display: flex;
    align-items: stretch;
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
    gap: 20px; /* 메뉴 간 간격 (원하시는 크기로 조절 가능) */
}

.shop-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.shop-nav-item>a {
    display: flex;
    align-items: center;
    min-height: var(--navigation-height);
    padding: 0 12px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 550;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.shop-nav-item>a:hover,
.shop-nav-item.is-current>a,
.shop-nav-item.is-dropdown-open>a {
    color: var(--skin-accent);
    border-bottom-color: var(--skin-accent);
}

.shop-category-toggle {
    width: 22px;
    height: 34px;
    padding: 0;
    margin-left: -8px;
    color: var(--skin-muted);
}

.site-modern .shop-category-toggle .skin-icon {
    width: 16px;
    height: 16px;
}

.shop-category-toggle[aria-expanded="true"] .skin-icon {
    transform: rotate(180deg);
}

.shop-menu-more {
    width: 34px;
    height: 44px;
}

/*
 * 상단·하위·전체 메뉴 · 공통 메뉴
 * 적용 범위: 전체 화면
 * 적용 순서: tools/css-bundles.json — 수정 후 npm run css:build
 */
/* 위치·높이는 CSS가 담당한다. 픽셀 위치 계산·펼침 애니메이션은 사용하지 않는다. */
.shop-dropdown,
.shop-all-menu {
    position: absolute;
    top: 100%;
    background: #fff;
    border: 1px solid var(--skin-line);
    box-shadow: 0 14px 32px #20211f12;
    border-radius: 0 0 10px 10px;
    max-height: var(--navigation-available-height);
    overflow-y: auto;
    scrollbar-width: thin;
    overscroll-behavior: contain;
}

.shop-dropdown {
    left: 0;
    width: max-content;   /* 고정 폭 대신 내용물 크기에 맞춤 */
    min-width: 160px;     /* 너무 좁아지는 것을 방지하는 최소 폭 */
    padding: 16px 20px;   /* 여백 조절 (원하시는 만큼 수정 가능) */
}

.shop-nav-item:nth-last-child(-n + 3) .shop-dropdown {
    left: auto;
    right: 0;
}

.shop-dropdown .shop-category-level-2>li+li {
    margin-top: 16px;
}

.shop-dropdown .shop-category-level-2>li>a {
    font-weight: 600;
}

.shop-nav-item:has(.shop-dropdown-wide) {
    position: static;
}

.shop-dropdown-wide {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px; /* 원하는 최대 폭 (예: 900px, 1000px 등) */
    padding: 26px 30px;
}

.shop-dropdown-wide .shop-category-level-2 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 5를 4 또는 3으로 변경 */
    gap: 24px;
}

.shop-dropdown-wide .shop-category-level-2>li+li {
    margin-top: 0;
}

.shop-navigation .shop-category-level a {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 28px;
    padding: 3px 0;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.shop-navigation .shop-category-level a:hover,
.shop-navigation a[aria-current="page"] {
    color: var(--skin-accent);
}

.shop-navigation .shop-category-level-3 {
    margin-top: 3px;
    padding-left: 12px;
    border-left: 1px solid var(--skin-line);
}

.shop-navigation .shop-category-level-3 a {
    font-size: 13px;
    color: var(--skin-muted);
}

/* 관리자 지정 뱃지는 링크 안에 두어 옆 카테고리를 덮지 않게 한다. */
.shop-navigation .category_icon {
    position: relative;
    transform: none;
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 0 5px;
    border: 1px solid var(--icon-border);
    border-radius: 3px;
    background: var(--icon-background);
    color: var(--icon-color);
    font-family: inherit;
    font-size: 10px;
    line-height: 1.5;
    white-space: nowrap;
}

.shop-navigation .category_icon::before,
.shop-navigation .category_icon::after {
    display: none;
}

/* 관리자 배지 모양은 링크 내부의 작은 꼬리로 보존한다. */
.shop-navigation .category_icon.left::before,
.shop-navigation .category_icon.left::after,
.shop-navigation .category_icon.bottom::before,
.shop-navigation .category_icon.bottom::after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    pointer-events: none;
}

.shop-navigation .category_icon.left::before,
.shop-navigation .category_icon.left::after {
    top: 50%;
    left: -4px;
    border-left: 0;
    border-right-color: var(--icon-border);
    transform: translateY(-50%);
}

.shop-navigation .category_icon.left::after {
    left: -3px;
    border-width: 3px;
    border-left: 0;
    border-right-color: var(--icon-background);
}

.shop-navigation .category_icon.bottom {
    margin-bottom: 4px;
}

.shop-navigation .category_icon.bottom::before,
.shop-navigation .category_icon.bottom::after {
    bottom: -4px;
    left: 50%;
    border-bottom: 0;
    border-top-color: var(--icon-border);
    transform: translateX(-50%);
}

.shop-navigation .category_icon.bottom::after {
    bottom: -3px;
    border-width: 3px;
    border-bottom: 0;
    border-top-color: var(--icon-background);
}

/*
 * 상단·하위·전체 메뉴 · 공통 메뉴
 * 적용 범위: 전체 화면
 * 적용 순서: tools/css-bundles.json — 수정 후 npm run css:build
 */
/* 전체 메뉴: 바로 가기와 카테고리 묶음. */
.shop-all-menu {
    left: 0;
    right: 0;
    padding: 22px 30px 30px;
}

.shop-all-menu-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.shop-all-menu-heading h2 {
    font-size: 17px;
    font-weight: 650;
    line-height: 1.5;
}

.shop-menu-close {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.shop-navigation .shop-all-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--skin-line);
}

.shop-all-shortcuts a {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.shop-all-shortcuts a:hover {
    color: var(--skin-accent);
}

.shop-navigation .shop-all-groups {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 30px;
}

.shop-all-group {
    min-width: 0;
}

.shop-all-group>a {
    display: block;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--skin-line);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.5;
}

.shop-all-group>a:hover {
    color: var(--skin-accent);
}

.shop-all-group .shop-category-level-2>li+li {
    margin-top: 7px;
}

.shop-all-group .shop-category-level-2>li>a {
    font-weight: 450;
}

@media (max-width: 1239px) {
    /*
     * 상단·하위·전체 메뉴 · 공통 메뉴
     * 적용 범위: @media (max-width: 1239px)
     * 적용 순서: tools/css-bundles.json — 수정 후 npm run css:build
     */
    .shop-menu-toggle {
        margin-right: 6px;
    }

    .shop-nav-item>a {
        padding-left: 8px;
        padding-right: 8px;
    }

    .shop-navigation .shop-all-groups,
    .shop-dropdown-wide .shop-category-level-2 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

}

@media (max-width: 1023px) {
    /*
     * 상단·하위·전체 메뉴 · 공통 메뉴
     * 적용 범위: @media (max-width: 1023px)
     * 적용 순서: tools/css-bundles.json — 수정 후 npm run css:build
     */
    .shop-navigation .shop-nav-links {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        justify-content: flex-start;
    }

    .shop-nav-links::-webkit-scrollbar {
        display: none;
    }

    .shop-navigation .shop-nav-links::after {
        content: "";
        flex: 0 0 var(--navigation-scroll-end, 0px);
    }

    .shop-nav-item>a {
        padding: 0 14px;
    }

    .shop-category-toggle,
    .shop-dropdown {
        display: none !important;
    }

    .shop-navigation .shop-all-groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

}

@media (max-width: 767px) {
    /*
     * 상단·하위·전체 메뉴 · 공통 메뉴
     * 적용 범위: @media (max-width: 767px)
     * 적용 순서: tools/css-bundles.json — 수정 후 npm run css:build
     */
    .site-modern .shop-navigation {
        --navigation-height: 49px;
    }

    .shop-menu-toggle {
        width: 36px;
        height: 38px;
    }

    .shop-nav-item>a {
        padding: 0 14px;
        font-size: 15px;
    }

    .shop-all-menu {
        padding: 16px 18px 24px;
    }

    .shop-all-menu-heading {
        margin-bottom: 12px;
    }

    .shop-all-menu-heading h2 {
        font-size: 16px;
    }

    .shop-navigation .shop-all-shortcuts {
        gap: 8px 18px;
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .shop-all-shortcuts a {
        font-size: 15px;
    }

    .shop-navigation .shop-all-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }

    .shop-all-group>a {
        font-size: 16px;
    }

    .shop-navigation .shop-category-level a {
        font-size: 15px;
        min-height: 34px;
    }

    .shop-navigation .shop-category-level-3 {
        padding-left: 8px;
    }

    .shop-navigation .shop-category-level-3 a {
        font-size: 14px;
    }

    .shop-navigation .category_icon {
        font-size: 11px;
    }

    /* 브레드크럼 전용 분류 선택: 헤더를 남겨두고 아래에만 펼친다. */
    .site-modern .mobile-category-popover.is-open {
        position: fixed;
        inset: 0;
        z-index: 2147483647;
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        overflow: visible;
        pointer-events: none;
    }

    .site-modern .mobile-category-popover[hidden] {
        display: none !important;
    }

    .site-modern .mobile-category-popover::backdrop {
        background: transparent;
        pointer-events: none;
    }

    .site-modern .mobile-category-popover,
    .site-modern .mobile-category-popover * {
        box-sizing: border-box;
    }

    .site-modern .mobile-category-backdrop {
        position: absolute;
        inset: calc(var(--category-panel-top) + min(400px, var(--category-panel-height))) 0 0;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: rgb(0 0 0 / 36%);
        pointer-events: auto;
    }

    .site-modern .mobile-category-panel {
        position: absolute;
        top: var(--category-panel-top);
        left: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: min(400px, var(--category-panel-height));
        min-height: 0;
        border-bottom: 1px solid var(--skin-line);
        background: #fff;
        color: var(--skin-ink);
        overflow: hidden;
        pointer-events: auto;
    }

    .site-modern .mobile-category-panel [hidden] {
        display: none !important;
    }

    .site-modern .mobile-category-panel .mobile-menu-layout {
        height: auto;
    }

    .site-modern .mobile-category-full-menu {
        display: flex;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        margin: 0;
        padding: 8px 16px;
        border: 0;
        border-top: 1px solid var(--skin-line);
        border-radius: 0;
        background: #fff;
        color: var(--skin-muted);
        font: inherit;
        font-size: 13px;
        cursor: pointer;
    }

    .site-modern .mobile-category-full-menu .skin-icon {
        width: 16px;
        height: 16px;
    }

    @media (prefers-reduced-motion: reduce) {
        .site-modern .header-category-toggle .skin-icon {
            transition: none;
        }
    }

    /* 메뉴 진입은 로고 행으로 옮기고 기존 가로 카테고리 탐색은 유지한다. */
    .site-modern.has-mobile-header-drawers .shop-navigation {
        --navigation-height: 44px;
    }

    .site-modern.has-mobile-header-drawers .shop-nav-bar>.shop-menu-toggle {
        display: none;
    }

    .site-modern .mobile-menu-drawer .mobile-drawer-body {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .site-modern .mobile-menu-drawer #all_menu {
        position: static;
        inset: auto;
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-width: 0;
        min-height: 0;
        max-height: none;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: hidden;
    }

    .site-modern .mobile-menu-drawer :is(.shop-all-menu-heading, .shop-all-shortcuts) {
        display: none;
    }

    .site-modern .mobile-menu-drawer ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .site-modern .mobile-menu-layout {
        display: grid;
        flex: 1 1 auto;
        grid-template-columns: clamp(100px, 28vw, 112px) minmax(0, 1fr);
        min-width: 0;
        min-height: 0;
        height: 100%;
    }

    .site-modern .mobile-menu-rail {
        min-width: 0;
        min-height: 0;
        border-right: 1px solid var(--skin-line);
        background: #f5f6f3;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
    }

    .site-modern .mobile-menu-rail::-webkit-scrollbar {
        display: none;
    }

    .site-modern .mobile-menu-rail :is(a, button) {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 48px;
        margin: 0;
        padding: 12px 14px;
        border: 0;
        border-bottom: 1px solid var(--skin-line);
        border-radius: 0;
        background: transparent;
        color: var(--skin-muted);
        font-family: inherit;
        font-size: 13px;
        font-weight: 450;
        line-height: 1.5;
        text-align: left;
        overflow-wrap: anywhere;
        cursor: pointer;
    }

    .site-modern .mobile-menu-rail :is(a, button).is-active,
    .site-modern .mobile-menu-rail .is-active>:is(a, button),
    .site-modern .mobile-menu-rail [aria-selected="true"] {
        background: #fff;
        color: var(--skin-accent);
        font-weight: 650;
    }

    .site-modern .mobile-menu-drawer .shop-all-groups {
        display: block;
        min-width: 0;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .site-modern .mobile-menu-drawer .shop-all-group {
        min-width: 0;
        padding-bottom: 16px;
    }

    .site-modern .mobile-menu-drawer .shop-all-group>a {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 8px;
        min-height: 52px;
        margin: 0;
        padding: 14px 16px;
        border-bottom: 1px solid var(--skin-line);
        color: var(--skin-ink);
        font-size: 14px;
        font-weight: 650;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .site-modern .mobile-menu-drawer .mobile-category-all-label {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        min-height: 24px;
        margin-left: auto;
        padding-left: 12px;
        color: var(--skin-muted);
        font-size: 12px;
        font-weight: 450;
        white-space: nowrap;
    }

    .site-modern .mobile-menu-drawer .shop-all-group>a>.shop-category-label {
        flex: 1 1 0;
        min-width: 0;
    }

    .site-modern .mobile-menu-drawer .shop-category-level-2>li {
        position: relative;
        margin: 0;
        border-bottom: 1px solid var(--skin-line);
    }

    .site-modern .mobile-menu-drawer .shop-category-level a {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        min-height: 48px;
        padding: 12px 16px;
        color: var(--skin-ink);
        font-size: 15px;
        font-weight: 450;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

    .site-modern .mobile-menu-drawer .has-mobile-category-children>a {
        padding-right: 52px;
    }

    .site-modern .mobile-menu-drawer a[aria-current="page"] {
        color: var(--skin-accent);
        font-weight: 650;
    }

    .site-modern .mobile-menu-drawer .mobile-category-expand {
        position: absolute;
        top: 2px;
        right: 4px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 6px;
        background: transparent;
        color: var(--skin-muted);
        cursor: pointer;
    }

    .site-modern .mobile-category-expand .skin-icon {
        width: 18px;
        height: 18px;
    }

    .site-modern .mobile-category-expand[aria-expanded="true"] .skin-icon {
        transform: rotate(180deg);
    }

    .site-modern .mobile-menu-drawer .shop-category-level-3 {
        margin: 0;
        padding: 4px 0;
        border: 0;
        background: #f8f9f6;
    }

    .site-modern .mobile-menu-drawer .shop-category-level-3 a {
        min-height: 30px;
        padding: 5px 16px 5px 28px;
        color: var(--skin-muted);
        font-size: 13px;
    }

    .site-modern .mobile-menu-drawer .shop-category-level-3 a[aria-current="page"] {
        color: var(--skin-accent);
        font-weight: 650;
    }

    /* 원본 배지의 관리자 색상과 꼬리 모양을 nav 밖에서도 유지한다. */
    .site-modern .mobile-menu-drawer .category_icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 18px;
        padding: 0 5px;
        border: 1px solid var(--icon-border);
        border-radius: 3px;
        background: var(--icon-background);
        color: var(--icon-color);
        font-family: inherit;
        font-size: 11px;
        font-weight: 400;
        line-height: 1.5;
        white-space: nowrap;
        transform: none;
    }

    .site-modern .mobile-menu-drawer .category_icon::before,
    .site-modern .mobile-menu-drawer .category_icon::after {
        display: none;
    }

    .site-modern .mobile-menu-drawer .category_icon.left::before,
    .site-modern .mobile-menu-drawer .category_icon.left::after,
    .site-modern .mobile-menu-drawer .category_icon.bottom::before,
    .site-modern .mobile-menu-drawer .category_icon.bottom::after {
        content: "";
        position: absolute;
        display: block;
        width: 0;
        height: 0;
        border: 4px solid transparent;
        pointer-events: none;
    }

    .site-modern .mobile-menu-drawer .category_icon.left::before,
    .site-modern .mobile-menu-drawer .category_icon.left::after {
        top: 50%;
        left: -4px;
        border-left: 0;
        border-right-color: var(--icon-border);
        transform: translateY(-50%);
    }

    .site-modern .mobile-menu-drawer .category_icon.left::after {
        left: -3px;
        border-width: 3px;
        border-left: 0;
        border-right-color: var(--icon-background);
    }

    .site-modern .mobile-menu-drawer .category_icon.bottom {
        margin-bottom: 4px;
    }

    .site-modern .mobile-menu-drawer .category_icon.bottom::before,
    .site-modern .mobile-menu-drawer .category_icon.bottom::after {
        bottom: -4px;
        left: 50%;
        border-bottom: 0;
        border-top-color: var(--icon-border);
        transform: translateX(-50%);
    }

    .site-modern .mobile-menu-drawer .category_icon.bottom::after {
        bottom: -3px;
        border-width: 3px;
        border-bottom: 0;
        border-top-color: var(--icon-background);
    }

}

@media (max-width: 359px) {
    /*
     * 상단·하위·전체 메뉴 · 공통 메뉴
     * 적용 범위: @media (max-width: 359px)
     * 적용 순서: tools/css-bundles.json — 수정 후 npm run css:build
     */
    .shop-navigation .shop-all-groups {
        grid-template-columns: minmax(0, 1fr);
    }

}

@media screen and (min-width: 1024px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    /*
     * 상단·하위·전체 메뉴 · PC 마우스 움직임
     * 적용 범위: @media screen and (min-width: 1024px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference)
     * 적용 순서: tools/css-bundles.json — 수정 후 npm run css:build
     */
    .site-modern .shop-navigation .shop-nav-item>a {
        position: relative;
        border-bottom-color: transparent;
        transition: color .2s ease;
    }

    .site-modern .shop-navigation .shop-nav-item>a::after {
        content: '';
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: -1px;
        height: 2px;
        background: var(--skin-accent);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform .24s cubic-bezier(.2, .65, .3, 1);
        pointer-events: none;
    }

    .site-modern .shop-navigation .shop-nav-item>a:hover::after,
    .site-modern .shop-navigation .shop-nav-item>a:focus-visible::after,
    .site-modern .shop-navigation .shop-nav-item.is-current>a::after,
    .site-modern .shop-navigation .shop-nav-item.is-dropdown-open>a::after {
        transform: scaleX(1);
    }

    .site-modern .shop-navigation .shop-nav-item>a:focus-visible {
        color: var(--skin-accent);
    }

    .site-modern .shop-navigation .shop-category-level a,
    .site-modern .shop-navigation .shop-all-shortcuts a,
    .site-modern .shop-navigation .shop-all-group>a {
        transition: color .2s ease;
    }

    .site-modern .shop-navigation .shop-menu-toggle,
    .site-modern .shop-navigation .shop-menu-more,
    .site-modern .shop-navigation .shop-menu-close,
    .site-modern .shop-navigation .shop-category-toggle {
        transition: color .2s ease, background-color .2s ease;
    }

    .site-modern .shop-navigation .shop-category-toggle .skin-icon {
        transition: transform .24s ease;
    }

    .site-modern .shop-navigation .shop-menu-lines {
        transition: background-color .18s ease;
    }

    .site-modern .shop-navigation .shop-menu-lines::before,
    .site-modern .shop-navigation .shop-menu-lines::after {
        transition: top .2s ease, transform .2s ease;
    }

    /* hidden 전환은 기존 메뉴 스크립트가 담당하며 열린 상태에만 진입 효과를 준다. */
    .site-modern .shop-navigation .shop-dropdown:not([hidden]),
    .site-modern .shop-navigation .shop-all-menu:not([hidden]) {
        animation: skinNavEnter .2s cubic-bezier(.2, .65, .3, 1) both;
    }

    @keyframes skinNavEnter {
        from {
            opacity: 0;
            transform: translateY(-4px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

}
