@charset "utf-8";

/* All custom sub-page local navigation — Figma 400:59 */
.ps-product-local-nav,
.ps-detail .ps-detail-local,
.ps-tech-local,
.ps-app-local {
    height: 96px;
    overflow: hidden;
    border-bottom: 1px solid #e0ded9;
    background: #fff;
}

/* Product detail local menu follows the fixed site header while scrolling. */
.ps-detail .ps-detail-local {
    position: sticky;
    top: 107px;
    z-index: 900;
}

@media (max-width: 1180px) {
    .ps-detail .ps-detail-local { top: 82px; }
}

@media (max-width: 920px) {
    .ps-detail .ps-detail-local { top: 76px; }
}

.ps-product-local-nav > .ps-product-inner,
.ps-detail .ps-detail-local > .ps-detail-inner,
.ps-tech-local > .ps-tech-inner,
.ps-app-local > .ps-app-inner {
    position: relative;
    width: min(1200px, calc(100% - 48px));
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0 auto;
    padding: 0;
}

.ps-product-local-category,
.ps-detail .ps-detail-local-title,
.ps-tech-local-title,
.ps-app-local-title {
    width: 450px;
    height: 95px;
    flex: 0 0 450px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding-top: 29px;
    font-family: 'Noto Sans KR','Pretendard','Malgun Gothic',sans-serif;
}

.ps-product-local-category strong,
.ps-detail .ps-detail-local-title strong,
.ps-tech-local-title strong,
.ps-app-local-title strong {
    width: auto;
    color: #0f1112;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
}

.ps-product-local-category span,
.ps-detail .ps-detail-local-title span,
.ps-tech-local-title span,
.ps-app-local-title span {
    width: auto;
    margin-top: -2px;
    color: #d14f30;
    font-family: 'Noto Sans KR','Pretendard','Malgun Gothic',sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: .06em;
}

.ps-product-local-links,
.ps-detail .ps-detail-local-links,
.ps-detail .ps-detail-local-products,
.ps-tech-local-links,
.ps-app-local-links {
    position: static;
    min-width: 0;
    width: auto;
    height: 95px;
    flex: 1 1 auto;
    align-self: auto;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.ps-product-local-links::-webkit-scrollbar,
.ps-detail .ps-detail-local-links::-webkit-scrollbar,
.ps-tech-local-links::-webkit-scrollbar,
.ps-app-local-links::-webkit-scrollbar { display: none; }

.ps-product-local-links a,
.ps-detail .ps-detail-local-links a,
.ps-detail .ps-detail-local-products a,
.ps-tech-local-links a,
.ps-tech-local-links a:nth-child(n),
.ps-app-local-links a {
    position: relative;
    min-width: max-content;
    width: auto;
    height: 95px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 28px;
    color: #616366;
    font-family: 'Noto Sans KR','Pretendard','Malgun Gothic',sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

.ps-detail .ps-detail-local-products a {
    padding-right: 20px;
    padding-left: 20px;
    font-family: Inter,'Noto Sans KR',sans-serif;
    font-size: 16px;
}

.ps-product-local-links a + a::before,
.ps-detail .ps-detail-local-links a + a::before,
.ps-tech-local-links a + a::before,
.ps-app-local-links a + a::before {
    position: absolute;
    top: 25px;
    left: 0;
    width: 1px;
    height: 34px;
    background: #e0ded9;
    content: '';
}

.ps-product-local-links a::after,
.ps-detail .ps-detail-local-links a::after,
.ps-detail .ps-detail-local-products a::after,
.ps-tech-local-links a::after,
.ps-tech-local-links a:nth-child(n)::after,
.ps-app-local-links a::after {
    position: absolute;
    right: 28px;
    bottom: 5px;
    left: 28px;
    width: auto;
    height: 2px;
    background: #d14f30;
    content: '';
    opacity: 0;
    transform: scaleX(.25);
    transition: opacity .25s ease, transform .25s ease;
}

.ps-detail .ps-detail-local-products a::after {
    right: 20px;
    left: 20px;
}

.ps-product-local-links a:hover,
.ps-product-local-links a:focus-visible,
.ps-product-local-links a.is-active,
.ps-detail .ps-detail-local-links a:hover,
.ps-detail .ps-detail-local-links a:focus-visible,
.ps-detail .ps-detail-local-links a.is-active,
.ps-tech-local-links a:hover,
.ps-tech-local-links a:focus-visible,
.ps-tech-local-links a.is-active,
.ps-app-local-links a:hover,
.ps-app-local-links a:focus-visible,
.ps-app-local-links a.is-active {
    color: #d14f30;
    font-weight: 700;
}

.ps-product-local-links a:hover::after,
.ps-product-local-links a:focus-visible::after,
.ps-product-local-links a.is-active::after,
.ps-detail .ps-detail-local-links a:hover::after,
.ps-detail .ps-detail-local-links a:focus-visible::after,
.ps-detail .ps-detail-local-links a.is-active::after,
.ps-tech-local-links a:hover::after,
.ps-tech-local-links a:focus-visible::after,
.ps-tech-local-links a.is-active::after,
.ps-app-local-links a:hover::after,
.ps-app-local-links a:focus-visible::after,
.ps-app-local-links a.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

@media (max-width: 720px) {
    .ps-product-local-nav,
    .ps-detail .ps-detail-local,
    .ps-tech-local,
    .ps-app-local { height: 135px; }

    .ps-product-local-nav > .ps-product-inner,
    .ps-detail .ps-detail-local > .ps-detail-inner,
    .ps-tech-local > .ps-tech-inner,
    .ps-app-local > .ps-app-inner {
        width: 100%;
        display: block;
        padding: 0;
    }

    .ps-product-local-category,
    .ps-detail .ps-detail-local-title,
    .ps-tech-local-title,
    .ps-app-local-title {
        width: 100%;
        height: 68px;
        padding: 12px 20px 0;
    }

    .ps-product-local-category strong,
    .ps-detail .ps-detail-local-title strong,
    .ps-tech-local-title strong,
    .ps-app-local-title strong { font-size: 17px; line-height: 25px; }

    .ps-product-local-category span,
    .ps-detail .ps-detail-local-title span,
    .ps-tech-local-title span,
    .ps-app-local-title span { margin-top: -1px; font-size: 12px; line-height: 18px; }

    .ps-product-local-links,
    .ps-detail .ps-detail-local-links,
    .ps-detail .ps-detail-local-products,
    .ps-tech-local-links,
    .ps-app-local-links {
        width: 100%;
        height: 67px;
        justify-content: flex-start;
        padding: 0 4px;
    }

    .ps-product-local-links a,
    .ps-detail .ps-detail-local-links a,
    .ps-detail .ps-detail-local-products a,
    .ps-tech-local-links a,
    .ps-tech-local-links a:nth-child(n),
    .ps-app-local-links a {
        height: 67px;
        padding: 0 16px;
        font-size: 15px;
    }

    .ps-product-local-links a + a::before,
    .ps-detail .ps-detail-local-links a + a::before,
    .ps-tech-local-links a + a::before,
    .ps-app-local-links a + a::before { top: 17px; height: 30px; }

    .ps-product-local-links a::after,
    .ps-detail .ps-detail-local-links a::after,
    .ps-detail .ps-detail-local-products a::after,
    .ps-tech-local-links a::after,
    .ps-tech-local-links a:nth-child(n)::after,
    .ps-app-local-links a::after { right: 16px; bottom: 0; left: 16px; }
}
