/**
 * KR Product Navigation v2.2.0
 * Centered directly above h2.page-title
 */

.kr-product-nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    position: relative;
    margin: 0 0 12px;
    padding: 0;

    z-index: 10;
    box-sizing: border-box;
}

.kr-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    text-decoration: none !important;
    padding: 5px 10px;

    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #fff;

    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: #000;

    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.kr-nav-button:visited {
    color: #000;
}

.kr-nav-button .kr-thumb-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.kr-nav-button .kr-thumb-wrap img {
    display: block;
    width: 38px;
    height: 38px;
    max-width: none;
    border-radius: 5px;
    object-fit: cover;
}

.kr-nav-button:hover,
.kr-nav-button:focus {
    color: #666 !important;
    border-color: rgba(0, 0, 0, 0.20);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.kr-nav-button:hover .kr-label,
.kr-nav-button:focus .kr-label {
    color: #666 !important;
}

@media (max-width: 720px) {
    .kr-product-nav {
        gap: 8px;
        margin: 0 0 10px;
    }

    .kr-nav-button {
        padding: 5px 9px;
        gap: 5px;
        font-size: 11px;
    }

    .kr-nav-button .kr-thumb-wrap img {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 360px) {
    .kr-product-nav {
        gap: 5px;
    }

    .kr-nav-button {
        padding: 4px 7px;
    }

    .kr-nav-button .kr-thumb-wrap img {
        width: 30px;
        height: 30px;
    }
}
