/**
* 2006-2020 THECON SRL
*
* NOTICE OF LICENSE
*
* DISCLAIMER
*
* YOU ARE NOT ALLOWED TO REDISTRIBUTE OR RESELL THIS FILE OR ANY OTHER FILE
* USED BY THIS MODULE.
*
*  @author    THECON SRL <contact@thecon.ro>
*  @copyright 2006-2020 THECON SRL
*  @license   Commercial
*/

@import "custom.css";

body {
    position: relative;
}

img {
    max-width: 100%;
}

.sub-category-products {
    margin-bottom: 50px;
}

#toTop {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 18px;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: none;
}

.loader.more {
    border-width: 10px !important;
    top: auto !important;
    width: 45px;
    height: 45px;
    bottom: 8px;
    border-top: 16px solid #2E274E;
    border-bottom: 16px solid #2E274E;
}

.main-tabs-content {
    position: relative;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.top-box {
    position: relative;
}

.sub-categories .nav-item.active a, .sub-categories .nav-item a.active {
    color: #000;
    font-weight: bold;
}

.out-of-stock {
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
    width: 80%;
    margin-left: 10%;
    opacity: 0.8;
}

.product-discount {
    position: absolute;
    top: 10px;
    width: 100%;
}

header nav.navbar {
    position: relative;
    top: 55px;
}

.main-tabs-content{
    top: 40px;
}

.top-banner {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#countdown {
    background-color: rgba(1,1,1,0.6) !important;
    color: #333333;
    border: 1px solid #169d73;
    width: 300px;
}

/*.out-of-stock {
    background: rgb(173 66 0 / 60%);
}
*/
.top-banner header {
    height: 250px;
}

.nav-tabs{
    border-bottom: 0;
}

.one_row {
    height: 1.5em;
    overflow: hidden;
}

.two_rows {
    height: 3em;
    overflow: hidden;
}

.three_rows {
    height: 4.5em;
    overflow: hidden;
}

.product_title {
    font-size: 15px;
}

.main-menu {
    min-height: 42px;
}

div#countdown p {
    font-size: 30px;
    line-height: 30px;
}

.products {
    background-color: #fff;
    min-height: 450px;
}

.sub-categories {
    background-color: #fff;
}

.btn-link:hover {
    text-decoration: none;
}

.sub-title {
    padding: 9px 15px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.sub-categories .btn-link {
    display: block;
    text-align: left;
    color: #000;
}
.sub-categories .btn-link:hover {
    color: #595959;
}

section#main-section {
    padding-bottom: 200px;
    padding-top: 40px;
}

.nav-tabs .nav-link {
    background-color: #F3F3F3;
    color: #000000;
    border-color: #F3F3F3;
}

.cart-wrapper {
    background: #ffffff;
}

.cart-wrapper a {
    color: #000000;
}

.subfixed {
    position: fixed;
    top: 50px;
}

.btn-link.focus, .btn-link:focus {
    text-decoration: none;
}

.logo-image {
    max-width: 150px;
}

.header_banner img {
    width: 80%;
    margin: auto;
    padding-top: 15px;
}

.top_menu ul {
    padding: 0px;
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

.top_menu ul li {
    display: inline-block;
    background-color: #ffffff;
    margin: 10px;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    width: 10%;
}

.top_menu ul li p {
    margin: 0;
}

.top_menu ul li img {
    width: 50px;
    margin-bottom: 10px;
}

.main .left_column #subcategory_list {
    background-color: white;
    border-radius: 5px;
    padding: 10px 30px;
}

.footer p {
    margin-bottom: 0;
}

.main .left_column #subcategory_list ul {
    padding: 0;
    list-style-type: none;
}

.main .left_column #subcategory_list ul li {
    padding: 5px;
    font-weight: 600;
}

.main .left_column #subcategory_list ul li:hover {
    background-color: lightgrey;
}

.main .left_column #subcategory_list ul li a {
    color: black;
}

.main .left_column #subcategory_list h3 {
    text-align: center;
}

.main .center_column .subcategory_content {
    background-color: black;
}

.main .center_column .subcategory_title {
    color: red;
    text-align: center;
    padding: 10px;
}

.main .center_column .item .product_description .product_title {
    font-size: 1rem;
    text-align: center;
    margin-top: 10px;
}

a:hover {
    text-decoration: none;
}

.item {
    margin-bottom: 30px;
}

.item .thumbnail img {
    width: 100%;
}

.cart-wrapper {
    width: 65px;
}

.cart-wrapper svg {
    width: 16px;
    height: 16px;
}

.cart-total {
    font-weight: bold;
}

.item .product_description .original_price .inner_original {
    color: white;
}


.item .special_label {
    background-color: red;
    padding: 20px 15px;
    border-radius: 50%;
    float: right;
}

.item .special_label .special_label_text {
    color: white;
}

.item .product_cart .add_to_cart i {
    padding: 5px 20px 5px 10px;
    background-color: white;
    border-top-right-radius: 30px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    color: red;
    font-size: 1.2rem;
}

.active-mobile {
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
    background: #fff;
}

.c-item {
    min-width: 35px;
}

.mobile-header .nav-tabs .nav-link {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    border: none;
}

.sub-item .sub-link {
    font-size: 20px;
    color: #fff;
    line-height: 40px;
}

section.mobile-header {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: #000;
    padding: 35px 15px;
    z-index: 9999;
    overflow-y: auto;
}

.mobile-head .close {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #fff !important;
    z-index: 1;
    font-size: 30px !important;
}

.mobile-header .nav-tabs .nav-item {
    background-color: transparent;
    color: #000000;
    border-color: #fefefa;
    border-bottom: 1px solid #ababab;
    margin-bottom: 0;
    padding-bottom: 0 !important;
}

.sticky-cat span {
    display: inline-block !important;
}

.mobile-header ul.nav.nav-tabs {
    border-bottom: 0;
}

.sticky-cat.bottom-menu {
    position: fixed;
    z-index: 9;
    bottom: 20px;
    text-align: center;
    left: 0;
    right: 0;
    display: none;
}

.sticky-cat .choose-cat {
    opacity: 0.9;
    box-shadow: 0 0 6px 0 rgba(1,1,1,.3);
    padding-top: 9px;
    padding-bottom: 9px;

}

.flying_image {
    border-radius: 1000px;
    border: 2px solid #f2f2f2;
    position: absolute;
    z-index: 200;
}

.go-to-category a {
    min-width: 50%;
    display: inline-block;
    margin-bottom: 40px;
    margin-top: -10px;
    font-weight: bold;
}

.mobile-add-cart {
    display: none;
}


/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/

/*==========  Mobile First Method  ==========*/

/* Phones Portrait */
@media only screen and (min-width : 320px) and (max-width : 479px) {
    .product_prices {
        min-height: 50px;
    }
    .product_prices span {
        display: block;
    }
}

/* Phones Landscape */
@media only screen and (min-width : 480px) and (max-width : 767px) {

}

/* Phones Portrait and Landscape */
@media only screen and (min-width : 320px) and (max-width : 767px) {
    .logo {
        margin-bottom: 35px;
    }

    .back-main {
        background: #fff;
        border:1px solid #169d73;
    }

    body:not(.scrollspy-active) .sub-categories .nav-item a.active {
        font-weight: normal;
        background: #da0008;
        color: #fff;
    }

    .sub-categories .nav-item a {
        font-size: 20px !important;
        padding: 2px 15px !important;
    }

    body.scrollspy-active .sub-categories .nav-item a.active,
    body.scrollspy-active .sub-categories .nav-item.active a {
        font-weight: normal !important;
    }

    nav.sub-categories .nav {
        flex-wrap: nowrap;
        overflow-y: scroll;
    }

    .sub-categories {
        width: 100% !important;
        position: static !important;
        border: 1px solid #169d73;
        margin-bottom: 20px !important;
        margin-top: 5px !important;
    }

    section#main-section {
        padding-top: 30px;
        padding-bottom: 45px;
        min-height: 55vh;
    }
    #countdown{
        width: 100%;
    }

    #main-section > .container {
        max-width: 100%;
    }

    header {
        padding-bottom: 15px;
    }

    .top-banner header {
        height: 325px;
    }

    div#countdown {
        margin-bottom: 0px;
    }

    .main-tabs-content{
        top: 12px;
    }

    .desktop-countdown {
        display: none !important;
    }

    .top-header {
        flex-direction: none;
        margin-top: -27px;
    }

    .active-mobile .main-tab.show.active {
        display: block !important;
    }

    #toTop {
        bottom: 30px;
        right: 15px;
        padding: 10px 18px;
    }

    .mobile-add-cart {
        display: inline-block;
    }

    .desktop-add-cart {
        display: none;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) and (max-width : 991px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) and (max-width : 1199px) {

}

/* Small and Medium Devices */
@media only screen and (min-width : 768px) and (max-width : 1199px) {
    .top-banner {
        background-size: cover;
        height: auto;
    }

    .bottom-menu {
        display: none !important;
    }

    .mobile-countdown {
        display: none !important;
    }

    .back-main {
        display: none !important;
    }

    .main-menu .fixed {
        position: fixed;
        top: 0;
        z-index: 9999;
        width: 100%;
        max-width: 690px;
        box-shadow: 0 0 5px 0 rgba(0,0,0,0.75);
    }

    .nav-tabs.fixed .nav-item {
        flex: 1 1 auto;
        text-align: center;
    }
    .back-to-site.mt-auto.d-flex.justify-content-between,
    .top-header.mb-auto.d-flex.justify-content-between.align-items-center {
    width: 100%;
}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    .mobile-countdown {
        display: none !important;
    }

    .back-main {
        display: none !important;
    }

    .main-menu .fixed {
        position: fixed;
        top: 0;
        z-index: 9999;
        width: 100%;
        box-shadow: 0 0 5px 0 rgba(0,0,0,0.75);
    }

    .nav-tabs.fixed .nav-item {
        flex: 1 1 auto;
        text-align: center;
    }

    .bottom-menu {
        display: none !important;
    }
}

button#toTop {
    border: 2px solid;
    z-index: 1000;
}

.cart_message {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(1,1,1,0.5);
    top: 0;
    left: 0;
    z-index: 99999999;
    display: none;

}

p.success,
p.error{
    position: absolute;
    width: 100%;
    top: 50%;
    background: #2e7734;
    padding: 20px;
    text-align: center;
    color: #FFF;
    font-size: 20px;
    display: none;
}

p.error{
    background: #a21919;
}

a.active {
    cursor: progress;
}

/*p.title_subcat {
    padding: 10px 0px 0px 10px;
    margin: 0;
}

ul.nav.flex-column {
    margin-top: 5px;
}*/

.sticky-cat.bottom-menu{
    z-index: 1000;
}

.cart_message a {
    position: relative;
    top: 63%;
    left: 46%;
    background: #F11014;
    padding: 20px;
    color: #FFF;
}


/* Small and Medium Devices */
@media only screen and (min-width : 768px) and (max-width : 1199px) {
    .top-banner header {
        height: auto !important;
    }
    .desktop-menu .nav-tabs .nav-item {
    background-color: #ffffff;
    color: #333;
    width: 25%;
    border: 1px solid #FF0000 !important;
}
.nav-tabs .nav-item {
    margin-bottom: -1px;
    margin-right: -1px;
    margin-left: -1px;
    margin-top: -1px;
}

nav.sub-categories.p-3.subfixed {
    margin-top: 200px;
    max-height: 55%;
    overflow: scroll;
}

article.product_block .product_button{
    font-size: 12px;
}
}

@media only screen and (min-width: 320px) and (max-width: 767px){
.top-banner header {
    height: 390px;
    padding-bottom: 0px;
}

.top-header {
    margin-top: -14px;
    margin-left: 78px;
}
}

/* ROUA: notificare "adaugat in cos" - discreta, in dreapta sus */
.thf-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999999;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 280px;
    max-width: 360px;
    padding: 12px 14px;
    background: #fff;
    color: #1f2937;
    border-left: 4px solid #22a55a;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transform: translateX(24px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.thf-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.thf-toast-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: #22a55a;
    position: relative;
}
.thf-toast-icon:after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.thf-toast.is-error {
    border-left-color: #dc3545;
}
.thf-toast.is-error .thf-toast-icon {
    background: #dc3545;
}
.thf-toast.is-error .thf-toast-icon:after {
    content: '!';
    border: 0;
    transform: none;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    line-height: 22px;
}
.thf-toast-body {
    flex: 1 1 auto;
}
.thf-toast-text {
    font-weight: 600;
}
.thf-toast-link {
    display: inline-block;
    margin-top: 2px;
    color: #22a55a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.thf-toast-link:hover {
    color: #178a47;
    text-decoration: underline;
}
.thf-toast-close {
    flex: 0 0 auto;
    margin: -4px -4px 0 0;
    padding: 0 4px;
    background: none;
    border: 0;
    color: #9ca3af;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.thf-toast-close:hover {
    color: #1f2937;
}
@media (max-width: 575px) {
    .thf-toast {
        top: 12px;
        right: 12px;
        left: 12px;
        min-width: 0;
        max-width: none;
    }
}


/* ROUA: bulina verde cu cantitatea din cos, in coltul dreapta-sus al butonului "Adauga in cos" */
.ajax_add_to_cart_button,
.ajax_add_to_cart_button:hover,
.ajax_add_to_cart_button:focus,
.ajax_add_to_cart_button.active {
    position: relative !important;
    overflow: visible !important;
}
.thf-qty-badge {
    position: absolute;
    top: -9px;
    right: -9px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: #22a55a;
    color: #fff;
    border: 2px solid #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    pointer-events: none;
    z-index: 2;
}
.thf-qty-badge.is-pop {
    animation: thf-badge-pop .35s ease;
}
@keyframes thf-badge-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}


/* ROUA: banner pe mobil = imagine reala, latime 100%, inaltime dupa proportia imaginii;
   sigla sus, "Inapoi la site" + cos jos, ambele peste imagine */
.thf-mobile-banner {
    display: none;
}
@media only screen and (max-width: 767px) {
    .top-banner.thf-has-mobile-banner {
        position: relative;
        background-image: none !important;
        padding: 0 !important;
        height: auto !important;
    }
    .top-banner.thf-has-mobile-banner .thf-mobile-banner {
        display: block;
        width: 100%;
        height: auto;
    }
    .top-banner.thf-has-mobile-banner > .container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        max-width: none;
        padding: 0 12px;
    }
    .top-banner.thf-has-mobile-banner header {
        height: 100% !important;
        min-height: 0 !important;
        padding: 10px 0 !important;
        justify-content: space-between;
    }
    .top-banner.thf-has-mobile-banner .top-header {
        margin: 0 !important;
        justify-content: flex-start !important;
    }
    .top-banner.thf-has-mobile-banner .logo-image {
        max-height: 32px;
        width: auto;
    }
    .top-banner.thf-has-mobile-banner .back-to-site {
        margin-top: auto;
    }
}


/* ROUA: pe mobil, la scroll, "Inapoi la site" + cos raman fixate sus */
@media only screen and (max-width: 767px) {
    body.thf-sticky-bar .back-to-site {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10000;
        margin: 0 !important;
        padding: 8px 12px;
        background: rgba(20, 14, 35, .92);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        box-shadow: 0 2px 12px rgba(0, 0, 0, .35);
        animation: thf-bar-in .2s ease;
    }
    body.thf-sticky-bar .thf-toast {
        top: 62px;
    }
}
@keyframes thf-bar-in {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

/* ROUA: bara de categorie pe mobil - card discret + buton clar "Alege categoria" */
@media only screen and (max-width: 767px) {
    .back-main {
        background: rgba(255, 255, 255, .06) !important;
        border: 1px solid rgba(255, 255, 255, .18) !important;
        border-radius: 12px;
        padding: 10px 12px !important;
        margin: 12px 0 !important;
        cursor: pointer;
        gap: 10px;
    }
    .back-main h4 {
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.25;
        margin: 0;
    }
    .back-main h4:before {
        content: 'Categorie';
        display: block;
        margin-bottom: 2px;
        color: rgba(255, 255, 255, .6);
        font-size: 11px;
        font-weight: 500;
        letter-spacing: .06em;
        text-transform: uppercase;
    }
    .back-main .choose-cat,
    .sticky-cat .choose-cat {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
        background: #ff7a1a !important;
        color: #fff !important;
        border: 0 !important;
        border-radius: 999px !important;
        padding: 7px 14px !important;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        white-space: nowrap;
    }
    .back-main .choose-cat span,
    .sticky-cat .choose-cat span {
        display: inline !important;
    }
    .back-main .choose-cat .fa,
    .sticky-cat .choose-cat .fa {
        font-size: 13px;
    }
    .sticky-cat .choose-cat {
        opacity: 1;
        padding: 11px 20px !important;
        font-size: 14px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
    }
}


/* ROUA: lista de categorii pe mobil = panou care urca de jos (bottom sheet) */
@media only screen and (max-width: 767px) {
    section.mobile-header {
        background: rgba(0, 0, 0, .6) !important;
        padding: 0 !important;
        overflow: hidden;
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
    }
    .mobile-header .thf-sheet {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 82vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 16px calc(16px + env(safe-area-inset-bottom));
        background: #1b1a2b;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, .5);
        animation: thf-sheet-up .25s ease-out;
    }
    @keyframes thf-sheet-up {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }
    /* "manerul" de sus */
    .mobile-header .thf-sheet:before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        margin: 0 auto 10px;
        border-radius: 2px;
        background: rgba(255, 255, 255, .25);
    }
    .mobile-header .mobile-head {
        position: relative;
        text-align: left !important;
        padding: 2px 44px 10px 2px;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        margin-bottom: 6px;
    }
    .mobile-header .mobile-head h2 {
        margin: 0 !important;
        color: #fff !important;
        font-size: 17px;
        font-weight: 600;
    }
    .mobile-header .mobile-head .close {
        position: absolute;
        top: -4px;
        right: 0;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .1);
        color: #fff !important;
        font-size: 22px !important;
        line-height: 30px;
        text-align: center;
        opacity: 1;
        text-shadow: none;
        padding: 0;
    }
    .mobile-header .nav-tabs .nav-item {
        border: 0 !important;
        padding: 0 !important;
        margin: 0 0 2px;
    }
    .mobile-header .nav-tabs .nav-link {
        position: relative;
        display: block !important;
        padding: 13px 34px 13px 12px !important;
        border-radius: 10px;
        color: #e9e9f0 !important;
        background: transparent !important;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.3;
    }
    .mobile-header .nav-tabs .nav-link:after {
        content: '\203A';
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, .35);
        font-size: 22px;
        line-height: 1;
    }
    .mobile-header .nav-tabs .nav-link:active {
        background: rgba(255, 255, 255, .06) !important;
    }
    .mobile-header .nav-tabs .nav-link.active {
        color: #ff8a2a !important;
        background: rgba(255, 122, 26, .12) !important;
        font-weight: 600;
    }
    .mobile-header .nav-tabs .nav-link.active:after {
        content: '\2713';
        color: #ff8a2a;
        font-size: 16px;
    }
}


/* ROUA: subcategoriile pe mobil = rand de "pastile" derulabil orizontal */
@media only screen and (max-width: 767px) {
    .main-tab .left-items {
        margin: 0 -12px;
    }
    nav.sub-categories,
    nav.sub-categories.subfixed {
        position: static !important;
        width: 100% !important;
        max-height: none !important;
        margin: 0 0 12px !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
    nav.sub-categories .nav {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px;
        position: relative;
        margin: 0 !important;
        padding: 2px 12px 6px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    nav.sub-categories .nav::-webkit-scrollbar {
        display: none;
    }
    nav.sub-categories .nav-item {
        flex: 0 0 auto;
    }
    nav.sub-categories .nav-item a,
    nav.sub-categories .nav-item a.nav-link {
        display: inline-block !important;
        padding: 7px 14px !important;
        border: 1px solid rgba(255, 255, 255, .22) !important;
        border-radius: 999px;
        background: rgba(255, 255, 255, .05) !important;
        color: #e9e9f0 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 1.2;
        white-space: nowrap;
        text-decoration: none;
    }
    nav.sub-categories .nav-item a.active,
    nav.sub-categories .nav-item.active a,
    body:not(.scrollspy-active) nav.sub-categories .nav-item a.active {
        background: #ff7a1a !important;
        border-color: #ff7a1a !important;
        color: #fff !important;
        font-weight: 600 !important;
    }
}


/* ROUA: titlul subcategoriei pe mobil - discret: liniuta portocalie + text + linie fina */
@media only screen and (max-width: 767px) {
    .subcategory .sub-title,
    .sub-title {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 18px 0 12px !important;
        padding: 0 !important;
        background: transparent !important;
        text-align: left !important;
        text-transform: none;
        letter-spacing: normal;
    }
    .sub-title:before {
        content: '';
        flex: 0 0 4px;
        height: 18px;
        border-radius: 2px;
        background: #ff7a1a;
    }
    .sub-title:after {
        content: '';
        flex: 1 1 auto;
        height: 1px;
        background: rgba(255, 255, 255, .15);
    }
    .sub-title h4 {
        flex: 0 1 auto;
        margin: 0 !important;
        color: #fff !important;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.3;
        text-transform: none;
        letter-spacing: normal;
    }
}


/* ROUA: butonul "Mai multe produse" / "Vezi mai multe" - pastila cu contur, vizibila pe fundal inchis */
.next_page button,
.next_page .load-more,
.go-to-category a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 26px !important;
    border: 1px solid rgba(255, 255, 255, .35) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: none !important;
    transition: background .2s ease, border-color .2s ease;
}
.next_page button:after,
.go-to-category a:after {
    content: '\2193';
    font-size: 15px;
    line-height: 1;
}
.go-to-category a:after {
    content: '\2192';
}
.next_page button:hover,
.next_page button:focus,
.go-to-category a:hover {
    background: rgba(255, 255, 255, .14) !important;
    border-color: #fff !important;
    color: #fff !important;
    outline: none;
}
@media only screen and (max-width: 767px) {
    .next_page,
    .go-to-category {
        padding: 0 12px;
    }
    .next_page button,
    .next_page .load-more,
    .go-to-category a {
        width: 100%;
        padding: 12px 20px !important;
    }
}


/* ROUA: selector de sortare (PC), aliniat la dreapta deasupra produselor */
.thf-sort-bar {
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    /* bara de tab-uri e deplasata vizual in jos (header nav.navbar { top: 55px }), asa ca
       selectorul coboara sub ea, cu acelasi spatiu ca intre bara si produse */
    margin: 30px 0 14px;
    position: relative;
    z-index: 2;
}
.thf-sort-bar label {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-weight: 500;
}
.thf-sort-select {
    position: relative;
}
.thf-sort-select:after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    pointer-events: none;
}
.thf-sort-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-width: 200px;
    padding: 9px 42px 9px 18px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.thf-sort-select select:hover,
.thf-sort-select select:focus {
    border-color: #ff7a1a;
    background: rgba(255, 255, 255, .1);
    outline: none;
}
.thf-sort-select select option {
    background: #1b1a2b;
    color: #fff;
}
