/**
* 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";*/

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

body.flash-sales.id-4 .products.px-3.pt-3 {
    padding: 0px !important;
}


.price-prefix {
    font-weight: 400;
    color: #555;
    margin-right: 4px;
}


.product_prices {
    display: ruby;
}

section.sub-header {
    padding-top: 20px;
    padding-bottom: 20px;
    background: #FFFFFF;
}

body {
    position: relative;
}



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





.shop-search {
    /*position: relative;*/
    /*top: 92px;*/
    flex: 0 0 100%;
}

#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%;
    font-size: 18px;
}

header nav.navbar {
    position: relative;
    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 #627b5e;
    width: 255px;
}

/*.out-of-stock {
    background: rgb(173 66 0 / 60%);
}
*/


.top-banner header {
    /*height: 235px;*/
    min-height: 235px;
}




/* THF - muta DOAR logo-ul, fara sa schimbe bannerul sau cart-ul */
@media (min-width: 1200px) {

    body.flash-sales section.sub-header > .container {
        overflow: visible !important;
    }

    body.flash-sales section.sub-header .logo {
        transform: translateX(
            calc(
                (100vw * 64 / 1920) - ((100vw - 1440px) / 2 + 15px)
            )
        ) !important;
    }

    body.flash-sales section.sub-header .logo-image {
        margin-left: 0 !important;
        display: block !important;
    }
}






/* THF FIX FINAL - banner desktop responsive sub 1920px */
@media only screen and (min-width: 768px) and (max-width: 1919.98px) {

    body.flash-sales section.header.top-banner {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    body.flash-sales section.header.top-banner .thf-top-banner-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
        text-align: center !important;
    }

    body.flash-sales section.header.top-banner .thf-top-banner-wrap img.thf-banner-img-desktop,
    body.flash-sales section.header.top-banner img.thf-banner-img-desktop {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
        object-fit: contain !important;
    }
}

/* peste 1920px ramane natural, fara pixelare */
@media only screen and (min-width: 1920px) {

    body.flash-sales section.header.top-banner .thf-top-banner-wrap {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        overflow: hidden !important;
        text-align: center !important;
    }

    body.flash-sales section.header.top-banner .thf-top-banner-wrap img.thf-banner-img-desktop,
    body.flash-sales section.header.top-banner img.thf-banner-img-desktop {
        width: 1920px !important;
        max-width: none !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}












a.doofinderLogo {
    display: none !important;
}

.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: 75px;
    /*padding-top: 65px;*/
}

.navbar-desktop {
    width: 100%;
    display:none;
}

.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 {
    width: 100%;
    max-width: 100%;
    height: 85px;
}




.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;
}



.footer-link-info {
    color: #fff;
}

.footer-link-info:hover {
    color: #cacaca;
}

/*.cart-wrapper {*/
    /*width: 40px;*/
/*}*/

.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: #000 !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;
}



.show-gdpr-modal {
    background: transparent !important;
    border: none !important;
}

span.regular_price {
    display: block;
}

.item.is-hot-product {
    flex: 0 0 50%;
    max-width: 50%;
}

.item.is-hot-product .product_box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

article.product_block {
    height: 100%;
}

.item.is-hot-product .top-box {
    max-width: 35%;
    flex: 0 0 35%;
}

.item.is-hot-product .bottom-box {
    flex: 0 0 49%;
    max-width: 49%;
}

.item.is-hot-product .product_description {
    text-align: left;
    padding-left: 20px;
}

.item.is-hot-product article.product_block .product_button {
     visibility: visible;
}

.item.is-hot-product .product_block {
    -webkit-box-shadow: 0px 0px 1px 0px #1d92eb;
    box-shadow: 0px 0px 3px 1px #1d92eb;
}

.item.is-hot-product .top-box {
    position: static;
}

.item.is-hot-product .product-discount {
    right: 8px;
}

/*==================================================
=            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;
    }

    .shop-search {
        top: 0;
    }

    .item.is-hot-product {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Phones Landscape */
@media only screen and (min-width : 480px) and (max-width : 767px) {
    .item.is-hot-product {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* 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: 0;
    }

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

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

    .top-header {
        flex-direction: unset;
        /*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) {

}

@media only screen and (max-width : 992px) {
.logo-image {
    height: 32px!important;
}
}



/* 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) {
	.header.top-banner{
		padding-top: 5px;
	}
	/*.logo{*/
		/*display: none;*/
	/*}*/
    .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: 215px;
        padding-bottom: 0;
        background-position: center -40px !important;
    }

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

@media only screen and (min-width: 1980px) {

    .flash-sales .header.top-banner {
        padding-top: 130px;
        margin-bottom: 50px!important;
    }
    
}

.flash-sales .footer-banner-content.mb-5 {
    display: none;
}


@media only screen and (min-width: 1220px) and (max-width: 1979px) {

   .flash-sales .header.top-banner {
        padding-top:0px;
        margin-bottom: 0px!important;
    }
}

.flash-sales .bottom-box.p-2 {
    background: #fff!important;
}

.flash-sales .products {
    background-color: #fff!important;
}

.flash-sales.id-1 .products {
    background-color: #fff!important;
}

.flash-sales.id-5 .products {
    background-color: #fff!important;
}


.flash-sales article.product_block.text-center {
    background: #fff!important;
}

.flash-sales .two_rows {
    height: 85px!important;
}

.flash-sales a#tab-337 {
    color: #000!important;
}




@media only screen and (min-width: 1920px) {


    .desktop-menu .nav-tabs .nav-item {
        flex: 1 1 auto;
    }

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

    /*.sub-categories .btn-link:hover {*/
        /*color: #231f20;*/
    /*}*/

    .subfixed {
        top: 84px;
    }

    nav.sub-categories.p-3 {
        margin-top: 16px;
    }

    /*.sub-categories .nav-item.active a, .sub-categories .nav-item a.active,*/
    /*.sub-categories .btn-link {*/
        /*color: #FFF;*/
    /*}*/
}







/* THF - View button (icon + text) */
.flash-sales .thf-view-btn{
  display:flex;
  align-items:stretch;
  width:100%;
  text-decoration:none !important;
  overflow:hidden;
  border-radius:0; /* sau 6px daca vrei rotund */
  box-shadow:0 10px 20px rgba(29,146,235,.25);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
   position:relative;
  height:40px; /* important ca icon-ul absolut să aibă înălțime */
}

.flash-sales .thf-view-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 24px rgba(29,146,235,.32);
  filter:brightness(1.02);
}

.flash-sales .thf-view-btn:active{
  transform:translateY(0);
  box-shadow:0 10px 18px rgba(29,146,235,.22);
}

/* zona galbena (icon) */
.flash-sales .thf-view-btn .thf-btn-ico{
  width:45px;
  min-width:45px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ffa200;
  color:#fff; /* SVG foloseste currentColor */
  border-bottom-right-radius: 50% 100% !important;
  

  position:absolute;
  left:0;
  top:0;
  z-index:2;

}

/* zona albastra (text) */
.flash-sales .thf-view-btn .thf-btn-text{
  flex:1;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#1d92eb;
  color:#fff;
  font-weight:600;
  font-size:15px;
  position:relative;
  overflow:hidden;
  
  width:100%;
  padding-left:45px;   /* rezervă loc pentru icon */
  padding-right:45px;  /* balans optic, opțional */
  z-index:1;
}

/* shine DOAR pe partea albastra (nu peste icon) */
.flash-sales .thf-view-btn .thf-btn-text::before{
  content:"";
  position:absolute;
  top:-60%;
  left:-55%;
  width:40%;
  height:220%;
  background:rgba(255,255,255,.35);
  transform:rotate(25deg);
  opacity:0;
  pointer-events:none;
  animation:thfShine 3.8s ease-in-out infinite;
}

@keyframes thfShine{
  0%,70% { transform:translateX(-160%) rotate(25deg); opacity:0; }
  74%    { opacity:.55; }
  100%   { transform:translateX(520%) rotate(25deg); opacity:0; }
}


@media (max-width: 768px){

  /* pe mobile trecem pe GRID: [icon 46px] [text 1fr] */
  .flash-sales .product_cart a.thf-view-btn{
    display: grid !important;
    grid-template-columns: 46px 1fr !important;
    align-items: stretch !important;

    width: 100% !important;
    height: 35px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* icon-ul NU mai e absolut pe mobile */
  .flash-sales .product_cart a.thf-view-btn .thf-btn-ico{
    position: static !important;
    width: 46px !important;
    height: 35px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    z-index: auto !important;
  }

  /* textul e centrat PERFECT în zona albastră (coloana 2) */
  .flash-sales .product_cart a.thf-view-btn .thf-btn-text{
    position: static !important;
    width: auto !important;
    height: 35px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 8px !important;
    box-sizing: border-box !important;

    font-size: 13px !important;        /* 13 ca să încapă “Adaugă în coș” */
    font-weight: 500 !important;
    line-height: 1 !important;

    letter-spacing: 0 !important;
    text-transform: none !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  img {
    width: 100%;
}
}



article.product_block .product_button:hover {
    background: #1d92eb; 
    border-color: #1d92eb;
}


/* Stop hover lift on product cards (flash sales / landing) */
.flash-sales .product_block .product_box:hover{
  transform: none !important;
}





@media (min-width: 1800px) {
    .flash-sales .top-banner {
        background-size: 1920px 482px !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        min-height: 482px !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 1799px) {
    .flash-sales .top-banner {
        background-size: 100% auto !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        min-height: calc(100vw * 482 / 1920) !important;
        margin-bottom: 0 !important;
    }
}

.flash-sales .top-banner header {
    height: auto !important;
    min-height: 0 !important;
}





/* THF FINAL - desktop banner + mobile banner as separate IMG elements */
.flash-sales section.header.top-banner {
    background: none !important;
    background-image: none !important;
    background-size: auto !important;
    background-position: initial !important;
    background-repeat: no-repeat !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-shadow: none !important;
    line-height: 0 !important;
}

.flash-sales section.header.top-banner .thf-top-banner-wrap {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow: hidden !important;
    text-align: center !important;
    line-height: 0 !important;
    font-size: 0 !important;
    background: #fff !important;
}

.flash-sales section.header.top-banner .thf-banner-img-desktop {
    display: block !important;
    width: 1920px !important;
    max-width: none !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border: 0 !important;
    object-fit: unset !important;
    image-rendering: auto !important;
    transform: none !important;
    backface-visibility: visible !important;
}

.flash-sales section.header.top-banner .thf-banner-img-mobile {
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    border: 0 !important;
    object-fit: contain !important;
    image-rendering: auto !important;
    transform: none !important;
    backface-visibility: visible !important;
}

.flash-sales section.header.top-banner > .container.thf-top-banner-content {
    display: none !important;
}

.flash-sales section.header.top-banner header {
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

@media only screen and (max-width: 767px) {
    .flash-sales section.header.top-banner .thf-top-banner-wrap.has-mobile .thf-banner-img-desktop {
        display: none !important;
    }

    .flash-sales section.header.top-banner .thf-top-banner-wrap.has-mobile .thf-banner-img-mobile {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .flash-sales section.header.top-banner .thf-top-banner-wrap:not(.has-mobile) .thf-banner-img-desktop {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}



/* THF - selector stanga, pret dreapta */
.flash-sales .thf-qty-price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    box-sizing: border-box !important;
    padding: 0 8px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

/* selector cantitate in stanga */
.flash-sales .thf-qty-price-row .thf-product-qty-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
    gap: 6px !important;
    margin: 0 !important;
}

/* pretul impins in dreapta */
.flash-sales .thf-qty-price-row > *:last-child {
    margin-left: auto !important;
    text-align: right !important;
    white-space: nowrap !important;
}

/* daca pretul are wrapper de preturi */
.flash-sales .thf-qty-price-row .product_prices,
.flash-sales .thf-qty-price-row .product-price-and-shipping,
.flash-sales .thf-qty-price-row .price,
.flash-sales .thf-qty-price-row .current-price {
    margin-left: auto !important;
    text-align: right !important;
    white-space: nowrap !important;
}


@media (max-width: 767px) {
    .flash-sales .thf-qty-price-row {
        padding: 0 4px !important;
        gap: 4px !important;
    }

    .flash-sales .thf-qty-price-row .thf-product-qty-wrap {
        gap: 4px !important;
    }
}

.footer a {
    color: #000;
}

@media (min-width: 960px) {
/* THF - imagini produse incadrate corect in card */
.flash-sales article.product_block .top-box {
    height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #fff !important;
}

}

.flash-sales article.product_block .top-box a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.flash-sales article.product_block .top-box img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}


/* THF - stshoppingcart modal in landing page: keep original modal layout + fixes */
body.flash-sales #blockcart-modal .modal-dialog {
    width: min(1200px, calc(100vw - 32px)) !important;
    max-width: 1200px !important;
    margin: 16px auto !important;
}

body.flash-sales #blockcart-modal .modal-content {
    border-radius: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

body.flash-sales #blockcart-modal .modal-body.modal_cart {
    padding: 18px 20px !important;
    max-height: calc(100vh - 120px) !important;
    overflow: auto !important;
}

body.flash-sales #blockcart-modal .st_modal_close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 5 !important;
    font-size: 28px !important;
    line-height: 1 !important;
    opacity: .75 !important;
    color: #000 !important;
}

/* Full width totals area, like on normal product pages */
body.flash-sales #blockcart-modal .modal_cart_details,
body.flash-sales #blockcart-modal .modal_cart_details .row,
body.flash-sales #blockcart-modal .modal_cart_details .col-9,
body.flash-sales #blockcart-modal .modal_cart_details .col-md-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.flash-sales #blockcart-modal .modal_cart_details .list_detail_item {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 14px 0 0 0 !important;
    width: 100% !important;
}

body.flash-sales #blockcart-modal .modal_cart_details .list_detail_item > li {
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,.10) !important;
    color: #102033 !important;
    font-size: 15px !important;
}

body.flash-sales #blockcart-modal .modal_cart_details .list_detail_item > li::marker,
body.flash-sales #blockcart-modal .modal_cart_details .list_detail_item > li::before {
    content: "" !important;
    display: none !important;
}

body.flash-sales #blockcart-modal .modal_cart_details .list_detail_item > li > span {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: left !important;
}

body.flash-sales #blockcart-modal .modal_cart_details .list_detail_item > li > p,
body.flash-sales #blockcart-modal .modal_cart_details .list_detail_item > li > .mb-0 {
    flex: 0 0 auto !important;
    margin: 0 0 0 auto !important;
    text-align: right !important;
    white-space: nowrap !important;
    font-weight: 600 !important;
}

body.flash-sales #blockcart-modal .modal_cart_details .list_detail_item > li.pf-total-pay-row {
    border-bottom: 0 !important;
    padding-top: 14px !important;
    font-weight: 600 !important;
}

body.flash-sales #blockcart-modal .modal_cart_details .list_detail_item > li.pf-total-pay-row > p {
    font-weight: 600 !important;
}

/* Keep original action-button structure and restore icons without depending on Panda icon font */
body.flash-sales #blockcart-modal .pf-modal-actions {
    display: flex !important;
    gap: 18px !important;
    margin-top: 14px !important;
    width: 100% !important;
}

body.flash-sales #blockcart-modal .pf-modal-action-btn {
    flex: 1 1 0 !important;
    display: inline-flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    height: 48px !important;
    padding: 0 !important;
    border: 0 !important;
    background: #1d92eb !important;
    color: #fff !important;
    text-decoration: none !important;
    overflow: hidden !important;
    box-shadow: 0 12px 22px rgba(0,0,0,.20) !important;
    cursor: pointer !important;
}

body.flash-sales #blockcart-modal .pf-modal-action-btn i {
    flex: 0 0 54px !important;
    width: 54px !important;
    min-width: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f7a623 !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 1 !important;
    border-bottom-right-radius: 35px !important;
    font-style: normal !important;
}

body.flash-sales #blockcart-modal .pf-modal-action-btn i::before {
    content: "" !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}

body.flash-sales #blockcart-modal .pf-modal-action-continue i::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") !important;
}

body.flash-sales #blockcart-modal .pf-modal-action-cart i::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1.7'/%3E%3Ccircle cx='20' cy='21' r='1.7'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h8.9a2 2 0 0 0 2-1.6L22 6H6'/%3E%3C/svg%3E") !important;
}

body.flash-sales #blockcart-modal .pf-modal-action-btn span {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 18px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Product header inside modal */
body.flash-sales #blockcart-modal .st-cart-product-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 10px 0 14px !important;
    border-bottom: 1px solid rgba(0,0,0,.08) !important;
}

body.flash-sales #blockcart-modal .st-cart-product-main {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

body.flash-sales #blockcart-modal .st-cart-product-meta3 {
    flex: 0 0 auto !important;
    margin-left: auto !important;
}

@media (max-width: 775.98px) {
    body.flash-sales #blockcart-modal .modal-dialog {
        width: calc(100vw - 24px) !important;
        max-width: none !important;
        margin: 8px auto !important;
    }

    body.flash-sales #blockcart-modal .modal-body.modal_cart {
        padding: 12px !important;
        max-height: calc(100vh - 90px) !important;
    }

    body.flash-sales #blockcart-modal .pf-modal-actions {
        position: sticky !important;
        bottom: 0 !important;
        z-index: 6 !important;
        background: #fff !important;
        padding: 10px 0 8px !important;
        margin-top: 10px !important;
        box-shadow: 0 -8px 18px rgba(0,0,0,.08) !important;
    }
}

@media (max-width: 575.98px) {
    body.flash-sales #blockcart-modal .st-cart-product-row {
        display: grid !important;
        grid-template-columns: 64px 1fr !important;
        grid-template-areas:
            "img main"
            "meta meta" !important;
        column-gap: 12px !important;
        row-gap: 10px !important;
        align-items: start !important;
    }

    body.flash-sales #blockcart-modal .st-cart-product-img {
        grid-area: img !important;
        width: 64px !important;
        height: 64px !important;
        flex: none !important;
    }

    body.flash-sales #blockcart-modal .st-cart-product-main {
        grid-area: main !important;
        width: 100% !important;
    }

    body.flash-sales #blockcart-modal .st-cart-product-meta3 {
        grid-area: meta !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 8px 10px !important;
        background: rgba(0,0,0,.02) !important;
        border: 1px solid rgba(0,0,0,.06) !important;
    }

    body.flash-sales #blockcart-modal .st-cart-col {
        text-align: center !important;
        white-space: nowrap !important;
        padding: 2px 6px !important;
    }

    body.flash-sales #blockcart-modal .st-cart-col:not(:last-child) {
        border-right: 1px solid rgba(0,0,0,.08) !important;
    }

    body.flash-sales #blockcart-modal .pf-modal-actions {
        display: grid !important;
        gap: 10px !important;
    }

    body.flash-sales #blockcart-modal .pf-modal-action-btn {
        width: 100% !important;
        height: 42px !important;
    }
}



/* THF - header cart icon: SVG fallback, independent from FontAwesome */
.flash-sales section.sub-header .cart-wrapper.thf-header-cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 16px !important;
    padding-left: 16px !important;
    border-left: 1px solid rgba(0,0,0,.18) !important;
    min-width: 58px !important;
    min-height: 38px !important;
    background: transparent !important;
    overflow: visible !important;
}

.flash-sales section.sub-header .cart-wrapper.thf-header-cart .cart-icon,
.flash-sales section.sub-header .cart-wrapper.thf-header-cart .thf-header-cart-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: auto !important;
    min-width: 42px !important;
    height: 38px !important;
    padding: 0 !important;
    color: #172033 !important;
    background: transparent !important;
    text-decoration: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.flash-sales section.sub-header .cart-wrapper.thf-header-cart .thf-header-cart-svg {
    display: inline-block !important;
    width: 23px !important;
    height: 23px !important;
    min-width: 23px !important;
    color: #172033 !important;
    fill: currentColor !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.flash-sales section.sub-header .cart-wrapper.thf-header-cart .cart-total {
    display: inline-block !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #172033 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 767px) {
    .flash-sales section.sub-header .cart-wrapper.thf-header-cart {
        margin-left: 10px !important;
        padding-left: 10px !important;
        min-width: 46px !important;
    }

    .flash-sales section.sub-header .cart-wrapper.thf-header-cart .thf-header-cart-link {
        min-width: 36px !important;
        height: 34px !important;
    }

    .flash-sales section.sub-header .cart-wrapper.thf-header-cart .thf-header-cart-svg {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
    }

    .flash-sales section.sub-header .cart-wrapper.thf-header-cart .cart-total {
        font-size: 15px !important;
    }
}


/* THF - do not keep landing page locked if Bootstrap leaves orphan modal artifacts */
body.flash-sales:not(.modal-open) > .modal-backdrop {
    display: none !important;
}


/* THF - fix mobile product card qty + price */
@media (max-width: 767px) {

    .flash-sales .products .item {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .flash-sales article.product_block,
    .flash-sales .product_box,
    .flash-sales .bottom-box {
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .flash-sales .bottom-box.p-2 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .flash-sales .product_title {
        font-size: 13px !important;
        line-height: 1.25 !important;
    }

    .flash-sales .two_rows {
        height: 78px !important;
    }

    .flash-sales .thf-qty-price-row {
        display: grid !important;
        grid-template-columns: auto minmax(52px, auto) !important;
        align-items: center !important;
        column-gap: 4px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-top: 6px !important;
        margin-bottom: 8px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .flash-sales .thf-product-qty-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 3px !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .flash-sales .thf-qty-btn,
    .flash-sales .thf-qty-minus,
    .flash-sales .thf-qty-plus {
        width: 27px !important;
        min-width: 27px !important;
        height: 27px !important;
        padding: 0 !important;
        font-size: 17px !important;
        line-height: 27px !important;
    }

    .flash-sales .thf-product-qty,
    .flash-sales .thf-qty-input,
    .flash-sales input.thf-product-qty {
        width: 43px !important;
        min-width: 43px !important;
        max-width: 43px !important;
        height: 27px !important;
        padding: 0 2px !important;
        font-size: 15px !important;
        line-height: 27px !important;
        text-align: center !important;
    }

    .flash-sales .thf-qty-price-row .product_prices,
    .flash-sales .thf-qty-price-row .product-price-and-shipping,
    .flash-sales .thf-qty-price-row .price,
    .flash-sales .thf-qty-price-row .current-price {
        justify-self: end !important;
        text-align: right !important;
        white-space: nowrap !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
        font-size: 21px !important;
        line-height: 1 !important;
    }

    .flash-sales .thf-qty-price-row .price sup,
    .flash-sales .thf-qty-price-row .current-price sup {
        font-size: 11px !important;
    }

    .flash-sales .thf-view-btn,
    .flash-sales .product_cart a.thf-view-btn {
        height: 35px !important;
    }

    .flash-sales .thf-view-btn .thf-btn-ico {
        width: 42px !important;
        min-width: 42px !important;
        height: 35px !important;
    }

    .flash-sales .thf-view-btn .thf-btn-text {
        height: 35px !important;
        font-size: 11px !important;
        padding-left: 42px !important;
        padding-right: 6px !important;
    }
}



/* THF - MOBILE: pret pe prima linie, selector pe linia a doua */
@media (max-width: 767px) {

    .flash-sales .thf-qty-price-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 5px !important;
        padding: 0 !important;
        margin-top: 6px !important;
        margin-bottom: 8px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* pretul primul */
    .flash-sales .thf-qty-price-row .product_prices,
    .flash-sales .thf-qty-price-row .product-price-and-shipping,
    .flash-sales .thf-qty-price-row .price,
    .flash-sales .thf-qty-price-row .current-price,
    .flash-sales .thf-qty-price-row > *:last-child {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
        white-space: nowrap !important;
        font-size: 22px !important;
        line-height: 1.1 !important;
        overflow: visible !important;
    }

    /* selectorul al doilea */
    .flash-sales .thf-qty-price-row .thf-product-qty-wrap {
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .flash-sales .thf-qty-btn,
    .flash-sales .thf-qty-minus,
    .flash-sales .thf-qty-plus {
        width: 28px !important;
        min-width: 28px !important;
        height: 28px !important;
        padding: 0 !important;
        font-size: 17px !important;
        line-height: 28px !important;
    }

    .flash-sales .thf-product-qty,
    .flash-sales .thf-qty-input,
    .flash-sales input.thf-product-qty {
        width: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        height: 28px !important;
        padding: 0 2px !important;
        font-size: 15px !important;
        line-height: 28px !important;
        text-align: center !important;
    }

    .flash-sales .thf-qty-price-row .price sup,
    .flash-sales .thf-qty-price-row .current-price sup {
        font-size: 11px !important;
    }
    
    
     .flash-sales .thf-qty-price-row {
        gap: 0 !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .flash-sales .thf-qty-price-row .product_prices,
    .flash-sales .thf-qty-price-row .product-price-and-shipping,
    .flash-sales .thf-qty-price-row .price,
    .flash-sales .thf-qty-price-row .current-price,
    .flash-sales .thf-qty-price-row > *:last-child {
        min-height: 0 !important;
        height: auto !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    .flash-sales .thf-qty-price-row .product_prices span,
    .flash-sales .thf-qty-price-row .product-price-and-shipping span,
    .flash-sales .thf-qty-price-row .price span,
    .flash-sales .thf-qty-price-row .current-price span {
        display: inline !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    .flash-sales .thf-qty-price-row .thf-product-qty-wrap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}




/* THF - DESKTOP: pret sus, selector sub pret, apoi buton */
@media (min-width: 768px) {

    .flash-sales .thf-qty-price-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 4px !important;
        padding: 0 !important;
        margin-top: 6px !important;
        margin-bottom: 8px !important;
        box-sizing: border-box !important;
    }

    /* pretul primul */
    .flash-sales .thf-qty-price-row .product_prices,
    .flash-sales .thf-qty-price-row .product-price-and-shipping,
    .flash-sales .thf-qty-price-row .price,
    .flash-sales .thf-qty-price-row .current-price,
    .flash-sales .thf-qty-price-row > *:last-child {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        white-space: nowrap !important;
        line-height: 1 !important;
    }

    /* selectorul al doilea */
    .flash-sales .thf-qty-price-row .thf-product-qty-wrap {
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 10px 0 !important;
        padding: 0 !important;
    }

    .flash-sales .thf-qty-btn,
    .flash-sales .thf-qty-minus,
    .flash-sales .thf-qty-plus {
        width: 30px !important;
        min-width: 30px !important;
        height: 30px !important;
        padding: 0 !important;
        font-size: 18px !important;
        line-height: 30px !important;
    }

    .flash-sales .thf-product-qty,
    .flash-sales .thf-qty-input,
    .flash-sales input.thf-product-qty {
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        height: 30px !important;
        padding: 0 2px !important;
        font-size: 16px !important;
        line-height: 30px !important;
        text-align: center !important;
    }
}

