.home-v2 {
    background: #ffffff;
    color: #12233a;
    word-break: keep-all
}

.home-v2 svg {
    width: 30px;
    height: 30px;
    flex: none
}

.home-v2 .top {
    max-width: 1360px;
    margin: auto;
    padding: 16px 20px;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 29px;
    line-height: 1.1;
    white-space: nowrap
}

.brand svg {
    width: 58px;
    height: 48px;
    color: #164b36
}

.brand small {
    display: block;
    font-size: 12px;
    margin-top: 6px
}

.top form {
    display: flex;
    flex: 1;
    max-width: 490px
}

.top input {
    width: 100%;
    min-width: 0;
    border-radius: 7px 0 0 7px
}

.top form button {
    background: #172e46;
    color: white;
    border-radius: 0 7px 7px 0;
    padding: 8px 15px
}

.quick,.hero-links {
    display: flex;
    gap: 24px
}

.quick a,.hero-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700
}

.home-v2 .menu {
    gap: 0;
    padding: 0;
    justify-content: center
}

.menu a {
    padding: 14px 23px;
    font-weight: 700;
    font-size: 15px
}

.menu a:hover {
    background: #29465e
}

.home-v2 main {
    max-width: 1360px;
    padding: 0 16px 16px
}

.banner {
    min-height: 340px;
    padding: 38px 42px;
    color: white;
    background: linear-gradient(90deg,#132e40 0%,#132e40e8 25%,#132e4055 55%,transparent 80%),url('/img/hero-wide.webp') right center/auto 100% no-repeat,#132e40;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.banner h1 {
    font-size: clamp(28px,3.3vw,44px);
    line-height: 1.25;
    margin: 0
}

.banner p {
    font-size: 18px;
    line-height: 1.6;
    margin: 14px 0 20px
}

.hero-links {
    gap: 42px
}

.hero-links svg {
    width: 36px;
    height: 36px
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 10px;
    padding: 12px 0
}

.category-grid button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f9fafb;
    box-shadow: 0 2px 4px #172e4612;
    padding: 10px 3px;
    min-height: 105px;
    transition: background 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.2s ease,
                transform 0.2s ease;
}

.category-grid svg {
    width: 40px;
    height: 40px
}

.category-grid small {
    font-size: 11px
}

.category-grid button.active {
    border-color: #ced7df;
    background: #f9fafb;
    color: inherit;
}

@media (hover: hover) {
    .category-grid button:hover {
        background: #e9f1f7;
        border-color: #315b77;
        color: #17364e;
        transform: translateY(-3px);
        box-shadow: 0 5px 12px rgba(20, 43, 66, 0.15);
    }
}

.filter {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 2px 0 10px
}

.filter span {
    font-weight: 800;
    margin-right: auto
}

.filter button {
    font-size: 12px;
    padding: 5px 12px
}

.market-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.market {
    border: 1px solid #d5e6f4;
    background: #f0f7fc;
    border-radius: 12px;
    overflow: hidden;
    min-width: 0
}

.market.ali {
    background: #fff4f2;
    border-color: #f4dad6
}

.market-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 14px;
    background: #e0effb
}

.ali .market-head {
    background: #fbe7e5
}

.market-head h2 {
    font-size: 18px;
    margin: 0
}

.market-head small {
    font-size: 12px
}

.cp-logo,.ali-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #a42b16
}

.cp-logo span {
    color: #0087ce
}

.ali-logo {
    color: #e52320
}

.more {
    margin-left: auto;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700
}

.market .products {
    padding: 10px;
    gap: 0;
    min-height: 225px;
    align-content: start
}

.market .product {
    border: 0;
    border-right: 1px solid #d7e1ea;
    border-radius: 0;
    padding: 9px;
    background: #ffffff85
}

.market .product:last-child {
    border-right: 0
}

.market .product img {
    border-radius: 5px;
    background: white
}

.market .product span {
    font-weight: 650;
    font-size: 13px
}

.market .product strong {
    font-size: 16px;
    color: #b91717
}

.market .product small {
    color: #0076bc;
    font-weight: 700
}

.stamp {
    display: block;
    text-align: right;
    padding: 0 12px 8px;
    color: #526475
}

.empty-state {
    grid-column: 1/-1;
    display: grid;
    place-content: center;
    text-align: center;
    min-height: 210px;
    color: #536477;
    font-size: 14px;
    padding: 20px
}

.empty-state b {
    font-size: 17px;
    color: #24394e;
    margin-bottom: 6px
}

.disclosure {
    font-size: 11px;
    color: #526475;
    margin: 8px 0 12px
}

.toolstrip {
    display: flex;
    align-items: stretch;
    gap: 8px;
    background: #eaf3e6;
    border: 1px solid #dce8d8;
    border-radius: 11px;
    padding: 12px;
    margin-bottom: 15px
}

.toolstrip h2 {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 17px;
    margin: 0 8px 0 0;
    color: #18562e;
    white-space: nowrap
}

.toolstrip a {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e1e8dd;
    border-radius: 8px;
    padding: 10px 7px;
    flex: 1;
    min-width: 0
}

.toolstrip a svg {
    color: #27713d;
    width: 25px
}

.toolstrip b,.toolstrip small {
    display: block;
    font-size: 14px;
}

.toolstrip small {
    font-size: 12px;
    color: #526475;
    margin-top: 2px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px
}

.guide-card {
    position: relative;
    background: white;
    border: 1px solid #dce3e9;
    border-radius: 12px;
    padding: 10px;
    overflow: hidden
}

.guide-card h2 {
    font-size: 19px;
    margin: 0 0 8px
}

.guide-card img {
    width: 100%;
    height: 115px;
    object-fit: cover;
    border-radius: 6px
}

.guide-card ul {
    margin: 8px 0 6px;
    padding-left: 19px;
    font-size: 14px;
    line-height: 1.65
}

.arrow {
    position: absolute;
    right: 12px;
    bottom: 8px;
    font-size: 25px
}

.extra {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    margin: 14px 0
}

.extra a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #dce3e9;
    border-radius: 10px;
    background: white;
    padding: 15px;
    font-weight: 700
}

.home-v2 a:hover {
    filter: brightness(.94)
}

.home-v2 footer {
    margin-top: 0
}

.home-v2 :focus-visible {
    outline: 3px solid #2680ba;
    outline-offset: 2px
}

@media(max-width:1050px) {
    .quick {
        gap: 10px
    }

    .brand {
        font-size: 23px
    }

    .menu a {
        padding: 12px
    }

    .toolstrip {
        flex-wrap: wrap
    }

    .toolstrip a {
        flex: 1 1 25%
    }

    .market-head {
        gap: 8px
    }

    .market-head h2 {
        font-size: 15px
    }

    .cp-logo,.ali-logo {
        font-size: 19px
    }

}

@media(max-width:760px) {
    .home-v2 .top {
        flex-wrap: wrap;
        padding: 12px
    }

    .top form {
        order: 3;
        max-width: none;
        flex-basis: 100%
    }

    .quick a {
        font-size: 10px
    }

    .quick svg {
        width: 23px;
        height: 23px
    }

    .brand svg {
        width: 36px
    }

    .brand {
        font-size: 19px
    }

    .brand small {
        font-size: 10px
    }

    .home-v2 .menu {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start
    }

    .menu a {
        white-space: nowrap;
        font-size: 13px
    }

    .home-v2 main {
        padding: 0 10px 10px
    }

    .banner {
        min-height: 290px;
        padding: 22px;
        background-size: auto,auto 100%;
        background-position: center,right center
    }

    .banner p {
        font-size: 14px
    }

    .hero-links {
        gap: 22px
    }

    .category-grid {
        grid-template-columns: repeat(4,1fr);
        gap: 6px
    }

    .category-grid button {
        min-height: 84px;
        font-size: 12px
    }

    .category-grid svg {
        width: 28px;
        height: 28px
    }

    .category-grid small {
        font-size: 9px
    }

    .market-grid,.guide-grid {
        grid-template-columns: 1fr
    }

    .market .products {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .toolstrip h2 {
        width: 100%
    }

    .toolstrip a {
        flex-basis: 40%
    }

    .extra {
        grid-template-columns: repeat(2,1fr)
    }

    .guide-card img {
        height: 150px
    }

}

/* V3: full-width photographic hero, overlay guide headings, centered chevrons */
.home-v2 .banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #203d50;
    min-height: 340px
}

.home-v2 .banner::before,.home-v2 .banner::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1
}

.home-v2 .banner::before {
    background: linear-gradient(90deg,rgba(9,25,39,.65),rgba(9,25,39,.34) 55%,transparent 85%),url('/img/hero-wide.webp') center 12%/cover no-repeat
}

.home-v2 .banner::after {
    left: 38%;
    background: url('/img/hero-wide.webp') right center/cover no-repeat;
    mask-image: linear-gradient(90deg,transparent 0%,#000 36%);
    -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 36%)
}

.home-v2 .banner h1,.home-v2 .banner p,.hero-links {
    position: relative;
    text-shadow: 0 2px 5px #081b2bd9
}

.home-v2 .hero-links a {
    color: white
}

.home-v2 .menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.3
}

.nav-chevron {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    flex: none
}

.guide-visual {
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    height: 145px;
    background: #eef1f4
}

.guide-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0
}

.guide-visual::after {
    display: none
}

.guide-card .guide-visual h2 {
    position: absolute;
    top: 9px;
    left: 12px;
    right: 8px;
    z-index: 1;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

@media(max-width:760px) {
    .home-v2 .banner {
        min-height: 290px
    }

    .home-v2 .banner::before {
        background-position: 65% center
    }

    .home-v2 .banner::after {
        left: 28%;
        opacity: .5
    }

    .home-v2 .banner h1 {
        font-size: clamp(23px,5vw,32px)
    }

    .guide-visual {
        height: 160px
    }

    .home-v2 .menu a {
        flex: none
    }

}

/* V4: single panoramic hero and two-line feature cards */
.home-v2 .banner::before {
    background: linear-gradient(90deg,rgba(9,25,39,.53),rgba(9,25,39,.20) 50%,transparent 75%),url('/img/hero-wide.webp') center center/cover no-repeat
}

.home-v2 .banner::after {
    display: none
}

.home-v2 .extra a {
    justify-content: flex-start;
    gap: 12px;
    min-height: 76px;
    padding: 13px 16px
}

.home-v2 .extra a svg {
    width: 34px;
    height: 34px;
    flex: none
}

.extra-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    line-height: 1.35
}

.extra-copy b {
    font-size: 16px;
    font-weight: 750
}

.extra-copy small {
    font-size: 12px;
    font-weight: 400;
    color: #526475
}

@media(max-width:760px) {
    .home-v2 .banner::before {
        background-position: 65% center
    }

    .home-v2 .extra a {
        padding: 10px;
        gap: 8px
    }

    .home-v2 .extra a svg {
        width: 27px;
        height: 27px
    }

    .extra-copy b {
        font-size: 14px
    }

    .extra-copy small {
        font-size: 11px
    }

}

/* CARABINER product carousel */
.market .products.rolling-products {display:flex; flex-wrap:nowrap; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; padding:10px 0; margin:0 10px; cursor:grab; overscroll-behavior-x:contain; touch-action:pan-x pan-y; }
.market .products.rolling-products::-webkit-scrollbar {display:none}
.market .rolling-products .product {flex:0 0 20%; min-width:0; box-sizing:border-box; scroll-snap-align:start; user-select:none; -webkit-user-drag:none}
.market .rolling-products .product img {pointer-events:none; -webkit-user-drag:none}
.market .rolling-products.is-dragging {cursor:grabbing;scroll-snap-type:none}
.rolling-controls {display:flex;align-items:center;justify-content:center;gap:10px;padding:0 10px 8px;font-size:12px;color:#526475}
.rolling-controls button {background:#fff;border:1px solid #cbd7e0;border-radius:5px;min-width:30px;height:27px;padding:0 7px;color:#17364e;cursor:pointer}
.rolling-controls button:disabled {opacity:.4;cursor:default}
@media(max-width:760px){.market .rolling-products .product {flex-basis:33.333333%}}
@media(max-width:480px){.market .rolling-products .product {flex-basis:50%}}

/* 선택된 상품 카테고리 표시 */
.home-v2 .category-grid button.active {background:#142c42;color:#fff;border-color:#142c42;box-shadow:0 3px 10px rgba(20,44,66,.2)}
.home-v2 .category-grid button.active svg,.home-v2 .category-grid button.active small {color:#fff}
.home-v2 .filter button.active {background:#142c42;color:#fff;border-color:#142c42}
.home-v2 .category-grid button.active:hover {background:#1d405d;color:#fff}


/* 메인 화면 상단 배너 여백 및 모서리 라운드 */
.home-v2 main > .banner {
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
}



/* GPS outdoor tools */
.home-v2 .gps-tools{background:#eef4f8;border:1px solid #d3e0ea;border-radius:12px;padding:14px;margin:0 0 16px;box-sizing:border-box}
.home-v2 .calc-directory .gps-tools{margin-top:26px}
.home-v2 .gps-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.home-v2 .gps-heading h2{display:flex;align-items:center;gap:8px;font-size:19px;color:#17374f;margin:0;line-height:1.4}
.home-v2 .gps-heading>a{font-size:12px;font-weight:700;white-space:nowrap;color:#17374f}
.home-v2 .gps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.home-v2 a.gps-card{display:flex;align-items:center;gap:10px;min-width:0;padding:13px 10px;min-height:70px;background:white;border:1px solid #d5dfe8;border-radius:8px;color:#13283c;text-decoration:none;box-sizing:border-box}
.home-v2 .gps-card:hover{border-color:#27734f;background:#f8fcf9}
.home-v2 .gps-card svg,.home-v2 .gps-heading svg{color:#236344;width:30px;height:30px;flex:none}
.home-v2 .gps-card b,.home-v2 .gps-card small{display:block;line-height:1.4}
.home-v2 .gps-card b{font-size:14px}.home-v2 .gps-card small{font-size:12px;color:#526475;margin-top:3px}
.home-v2 .gps-out{margin-left:auto;color:#526475;font-size:13px;flex:none}
.home-v2 .gps-note{font-size:12px;line-height:1.6;color:#526475;margin:10px 0 0}
.home-v2 .gps-note span{display:block;text-align:right;margin-top:4px}
/* Native disclosure menu: works without new JavaScript */
.home-v2 .menu .gps-nav{position:relative;flex:none;color:white;align-self:stretch}
.home-v2 .gps-nav summary{display:flex;align-items:center;justify-content:center;gap:8px;list-style:none;cursor:pointer;padding:14px 20px;font-weight:700;font-size:15px;line-height:1.3;white-space:nowrap}
.home-v2 .gps-nav summary::-webkit-details-marker{display:none}
.home-v2 .gps-nav[open] summary{background:#29465e}
.home-v2 .gps-nav-panel{position:absolute;top:100%;right:0;z-index:1000;width:440px;max-width:calc(100vw - 24px);display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;background:white;color:#13283c;border:1px solid #d5dfe8;border-radius:0 0 10px 10px;box-shadow:0 8px 24px #13283c26;box-sizing:border-box;text-align:left}
.home-v2 .gps-nav-panel strong{display:block;color:#236344;padding:8px 7px;border-bottom:1px solid #dce3e9;font-size:14px}
.home-v2 .menu .gps-nav-panel a{display:block;color:#13283c;background:white;text-align:left;font-size:13px;padding:9px 7px;white-space:normal;line-height:1.4;border-radius:5px}
.home-v2 .menu .gps-nav-panel a:hover{background:#eaf3e6}
@media(max-width:1050px){.home-v2 .gps-nav summary{padding:12px}}
@media(max-width:760px){.home-v2 .gps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-v2 .gps-heading h2{font-size:16px}.home-v2 .gps-card{gap:7px;padding:10px 7px}.home-v2 .gps-card svg{width:24px;height:24px}.home-v2 .gps-card b{font-size:13px}.home-v2 .gps-card small{font-size:11px}.home-v2 .gps-nav summary{font-size:13px}.home-v2 .gps-nav-panel{position:fixed;top: auto;right:12px;left:12px;width:auto;max-width:none;max-height:55vh;overflow-y:auto}}


/* 카테고리 기본 아이콘 */
button[data-cat] img {
    filter: none;
    transition: filter 0.2s ease;
}

/* 마우스 오버 시 검정색 유지 */
button[data-cat]:hover img {
    filter: none;
}

/* 선택된 카테고리만 흰색 아이콘 적용 */
button[data-cat].active img,
button[data-cat][aria-pressed="true"] img {
    filter: brightness(0) invert(1);
}



/* 모바일 상품 추천 카테고리 줄바꿈 */
@media (max-width: 768px) {

    .home-v2 .filter {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    /* 상품 추천 제목은 별도의 한 줄로 표시 */
    .home-v2 .filter > span {
        flex: 0 0 100%;
        width: 100%;
        margin: 0 0 4px;
        white-space: nowrap;
        text-align: left;
    }

    /* 카테고리 버튼 */
    .home-v2 .filter > button {
        flex: 0 0 auto;
        margin: 0;
        padding: 6px 10px;
        font-size: 12px;
        white-space: nowrap;
    }

}
