.nice-select .list {
    width: auto;
    font-size: 1rem;
}

.ui-widget.ui-widget-content {
    border: none;
}

.ui-slider-horizontal .ui-slider-handle {
    top: 50% !important;
    width: 10px !important;
    height: 10px !important;
    background-color: var(--color-primary);
    border: none;
}

.widget-filter label,.widget-filter .btn {
    white-space: nowrap;
}

.widget-filter label {
    margin-top: 5px;
    margin-bottom: 5px;
}

.widget-filter .price-output {
    justify-content: space-between;
}

.widget-filter .price-output .d-flex {
    align-items: center;
    flex-wrap: wrap;
}

.filter-option-view {
    display: flex;
    align-items: center;
}

.filter-option-view #gridView{
    margin-right: 8px;
}

.product-action .btn-primary,
.product-quantity .btn-primary {
    font-size: 1.18rem;
    min-width: 140px;
    letter-spacing: 1px;
    background-color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.product-action  .btn-primary.btn-hover2:active, .product-action .btn-primary.btn-hover2:focus, .btn-primary.btn-hover2:hover {
    background-color: #ffffff;
    color: var(--color-secondary);
    border-color: #ffffff;
}

.product-item  .product-title {
    color: #282828;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-item .product-cat {
    margin-bottom: 8px;
}

.product-item .product-cat a {
    color: #9b9b9b;
    font-size: 0.95rem;
}

.product-item .product-price {
    font-size: 1.1rem;
}

.product-item .product-price::before {
    content: 'NT$';
    margin-right: 5px;
    font-size: 1.1rem;
}

.product-item .product-hover {
    background-image: none;
}

.sort-box span {
    white-space: nowrap;
}

.filtering-options .select-box:before {
    display: none;
}

label.error {
    position: absolute;
    top: -45px;
    right: 0;
    color: #f7665e;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

aside {
    margin-top: 25px;
}

.product-single .product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-single .product-price {
    font-size: 1.45rem;
}

.product-single .product-meta-title {
    font-weight: 600;
}

.product-single .quantity-input-wrap .qty-input {
    width: 80px;
    font-size: 1.15rem;
    padding-right: 28px;
    padding-left: 8px;
}

.product-single .quantity-input-wrap .decrease-qty,
.product-single .quantity-input-wrap .increase-qty {
    width: 12px;
    height: 12px;
}

.product-single .product-item-slide #item-thumbs .item img {
    height: 100%;
    width: 100%;
    object-position: center;
    object-fit: contain;
}

.product-single .product-item-slide #item-thumbs .item {
    background: #C9C9C9;
    padding: 0;
    margin: 5px;
    color: #FFF;
    text-align: center;
    cursor: pointer;
    height: 90px;
    overflow: hidden;
}

.product-single .slider .carousel-arrows .owl-nav .owl-prev {
    left: 5px;
}

.product-single .slider .carousel-arrows .owl-nav .owl-next {
    right: 5px;
}

#item-images .item {
    padding: 5px;
}

#item-thumbs {
    margin-bottom: 30px;
}

#item-thumbs .owl-nav {
    display: none;
}

.product-single #quantity-error {
    top: auto;
    bottom: -30px;
    left: 0;
    font-size: 1rem;
    white-space: nowrap;
}

.alert-product {
    position: fixed;
    top: 120px;
    right: 15px;
    z-index: 10;
    color: #fff;
    padding: 5px 15px;
    background-color: var(--color-primary);
}

.alert-product p {
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    color: #9b9b9b;
    text-align: center;
    font-size: 1.25rem;
    line-height: unset;
    margin-right: 8px;
    padding: 10px 20px 5px;
    display: block;
    text-decoration: none;
    border-radius: 0;
    background: #f6f6f6;
    border: 1px solid #e7e7e7;
    border-top: 3px solid #e7e7e7;
    border-bottom: none;
    transition: all linear 0.15s;
}

.nav-tabs .nav-link.active {
    background-color: #fff;
    border-color:#e7e7e7;
    border-top-color:transparent;
    border-bottom-width: 0px;
    margin-bottom: -1px;
    color: var(--color-primary);
}

.nav-tabs .nav-link:not(.active):hover {
    color: #9b9b9b;
}

.nav-tabs .nav-link.active:after, .nav-tabs .nav-link:hover:after {
    width: calc(100% + 2px);
}

.nav-tabs .nav-link:after {
    top: -3px;
    left: -1px;
    bottom: auto;
    height: 3px;
}

.nav-tabs .nav-link:not(.active):hover:after {
    width: 0;
}

.product-tabs .tab {
    display: none;
    padding: 15px;
    border-radius: 3px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-bottom-width: 3px;
    border-radius: 0;
}

.product-tabs .tab.active {
    display: block;
}

.product-tabs .tab .content,
.product-tabs .tab.active .content {
    margin: 25px;
    padding: 0;
    background-color: #fff;
}

.product-tabs .tab-content img {
    margin-bottom: 30px;
}

.product-tabs .tab-content {
    padding-top: 25px;
}

.product-tabs .tab-content p {
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

@media only screen and (max-width: 1199px) {
    .alert-product {
        top: 100px;
    }
}

@media only screen and (max-width: 991px) and (min-width: 768px) {
    .filtering-options {
        display: flex;
    }

    .filter-option-sorting {
        justify-content: flex-start;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .filtering-options {
        position: relative;
    }

    .filter-option-sorting {
        flex-direction: column;
        align-items: flex-start;
    }

    .filtering-options .sort-box+.sort-box {
        margin-top: 15px;
    }

    .filter-option-view {
        position: absolute;
        right: 20px;
    }

    .filter-option-view span, .sort-box span {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .product-tabs .tab .content, .product-tabs .tab.active .content {
        margin: 10px;
    }
}

@media only screen and (max-width: 440px) and (min-width: 320px) {
    .filtering-options {
        display: flex;
        padding: 10px;
    }

    .filter-option-view {
        position: absolute;
        right: 10px;
    }

    .nav-tabs .nav-link {
        padding: 10px 15px 5px;
    }

    .product-tabs .tab .content, .product-tabs .tab.active .content {
        margin-right: 0;
        margin-left: 0;
    }

    .sort-box span {
        font-size: 1.05rem;
        margin-right: 3px;
    }

    .nice-select {
        padding-left: 10px;
        padding-right: 20px;
    }

    .nice-select:after {
        right: 10px;
    }

    .list-view .product-item .product-title {
        font-size: 1.3rem;
    }
}
