.sitenav-container {
    position: relative;
}

.costco #primary-nav .supernav.supernav-products {
    width: 300px;
    left: -51px;
    height: 0px;
    overflow: hidden;
    transition:
        height 0.25s 0s,
        visibility 0.1s 0s;
    visibility: hidden;
    display: block;
    position: absolute;
}

.costco #primary-nav .supernav .column .column-content ul {
    text-align: left;
}

.costco #primary-nav .supernav .column.full-column {
    width: 100%;
    height: unset;
    margin: 0px;
}

.costco .sitenav-container #primary-nav {
    width: 100%;
    text-align: center;
    right: 0;
}

.costco .supernav .column-content ul li {
    margin-top: 10px;
}

.costco #primary-nav .supernav .column .column-content a {
    font-size: 16px;
}

.costco .up-caret {    
    transition: all 0.25s 0s;
    transform: rotate(0);
    display: inline-block;
    position: relative;
    height: 14px;
    width: 14px;
}

.costco .up-caret img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

html:not(.tablet) header #primary-nav>ul>li:hover:not(.hide) .up-caret {
    transform: rotate(180deg);
}

.costco header #primary-nav>ul>li .supernav-title {
    height: 26px;
}

@media screen and (min-width: 1024px) {
    html:not(.tablet) .costco header #primary-nav>ul>li:hover:not(.hide) .supernav {
        height: 310px;
        visibility: visible;
    }

    .costco .sitenav-container #primary-nav>ul>li {
        margin-right: 0;
    }
}