/**
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2020 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

body {
    position: relative;
}

body.thfsales-page-width-1400 .thfsales-page-container {
    width: 100%;
    max-width: 1400px;
}

body.thfsales-page-width-1600 .thfsales-page-container {
    width: 100%;
    max-width: 1600px;
}

body.thfsales-page-width-full .thfsales-page-container {
    width: 100%;
    max-width: none;
}

body.thfsales-reference-layout.thfsales-page-width-reference .thfsales-page-container {
    width: 90%;
    max-width: none;
}

@media (min-width: 1367px) {
    body.thfsales-reference-layout.thfsales-page-width-reference .thfsales-page-container {
        width: 80%;
    }
}

@media (max-width: 767px) {
    body.thfsales-reference-layout.thfsales-page-width-reference .thfsales-page-container {
        width: 100%;
    }
}

body.thfsales-has-top-offers .top-banner header,
body.thfsales-has-subcategory-slider .top-banner header {
    height: auto;
    min-height: 230px;
    padding-bottom: 20px;
}

.top-offers-carousel {
    width: 100%;
    margin: 18px 0 6px;
    padding: 16px 12px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.category-offers-carousel {
    margin-top: 12px;
    margin-bottom: 22px;
}

.subcategory-offers {
    margin-bottom: 20px;
}

.mobile-global-offers {
    width: 100%;
}

.top-offers-heading {
    gap: 15px;
    margin: 0 8px 14px;
}

.top-offers-title {
    color: #222;
    font-size: 22px;
    line-height: 1.25;
}

.top-offers-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 7px;
}

.top-offers-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    background: #fff;
    color: #222;
    cursor: pointer;
}

.top-offers-arrow span {
    margin-top: -3px;
    font-size: 30px;
    line-height: 1;
}

.top-offers-arrow:hover,
.top-offers-arrow:focus {
    border-color: #222;
    outline: none;
    background: #f3f3f3;
}

.top-offers-carousel.is-static .top-offers-controls {
    visibility: hidden;
}

.top-offers-pagination {
    display: none;
}

.top-offers-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.top-offers-viewport::-webkit-scrollbar {
    display: none;
}

.top-offers-track {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.top-offer-item {
    display: flex;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 0;
    scroll-snap-align: start;
}

.top-offer-item .product_block,
.top-offer-item .product_box {
    width: 100%;
    height: 100%;
}

.top-offer-item .product_box {
    display: flex;
    flex-direction: column;
}

.top-offer-item .bottom-box {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.top-offer-item .product_description {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.top-offer-item .product_cart {
    margin-top: auto !important;
}

.subcategory-nav-slider {
    display: none;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 7px 7px;
    background: #fff;
    box-shadow: 0 2px 9px rgba(0, 0, 0, 0.14);
}

.subcategory-nav-slider.has-active-group {
    display: block;
}

.subcategory-panel-title {
    display: none;
}

.desktop-subcategory-slider {
    margin-top: 20px;
}

.desktop-subcategory-slider.is-fixed {
    position: fixed;
    z-index: 9998;
    margin-top: 0;
    border-radius: 0 0 7px 7px;
}

.subcategory-sticky-placeholder {
    display: none;
    width: 100%;
}

.mobile-subcategory-slider {
    margin-bottom: 12px;
    border-radius: 0;
}

.subcategory-nav-group {
    display: none;
    width: 100%;
    min-height: 50px;
    align-items: stretch;
}

.subcategory-nav-group.is-active {
    display: flex;
}

.subcategory-slider-viewport {
    flex: 1 1 auto;
    width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.subcategory-slider-viewport::-webkit-scrollbar {
    display: none;
}

.subcategory-slider-track {
    display: flex;
    width: max-content;
    min-width: 100%;
    min-height: 50px;
    align-items: center;
    flex-wrap: nowrap;
}

.subcategory-slider-link {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 34px;
    margin: 7px 5px;
    padding: 7px 15px;
    align-items: center;
    border-radius: 18px;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    scroll-snap-align: start;
    text-decoration: none;
    white-space: nowrap;
}

.subcategory-slider-link:hover,
.subcategory-slider-link:focus {
    background: #f0f0f0;
    color: #111;
    outline: none;
    text-decoration: none;
}

.subcategory-slider-link.active,
.subcategory-slider-link.active:hover,
.subcategory-slider-link.active:focus {
    background: #e30613;
    color: #fff;
}

.subcategory-slider-arrow {
    display: inline-flex;
    flex: 0 0 44px;
    width: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #fff;
    color: #222;
    cursor: pointer;
}

.subcategory-slider-arrow span {
    margin-top: -3px;
    font-size: 31px;
    line-height: 1;
}

.subcategory-slider-arrow:hover,
.subcategory-slider-arrow:focus {
    background: #f3f3f3;
    outline: none;
}

.subcategory-nav-group.is-static .subcategory-slider-arrow {
    visibility: hidden;
}

.subcategory-navigation-slider {
    margin-right: 0;
    margin-left: 0;
}

.thfsales-product-badges {
    position: absolute;
    z-index: 5;
    display: flex;
    max-width: calc(100% - 20px);
    gap: 4px;
    pointer-events: none;
}

.thfsales-product-badges-top-left {
    top: 10px;
    left: 10px;
    align-items: flex-start;
    flex-direction: column;
}

.thfsales-product-badges-top-right {
    top: 10px;
    right: 10px;
    align-items: flex-end;
    flex-direction: column;
}

.thfsales-product-badges-bottom-left {
    bottom: 10px;
    left: 10px;
    align-items: flex-start;
    flex-direction: column-reverse;
}

.thfsales-product-badges-bottom-center {
    bottom: 10px;
    left: 50%;
    align-items: center;
    flex-direction: column-reverse;
    transform: translateX(-50%);
}

.thfsales-product-badge {
    display: block;
    max-width: 100%;
    padding: 4px 9px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.thfsales-product-badge-image {
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.thfsales-product-badge-image img {
    display: block;
    width: auto;
    max-width: 120px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

@media only screen and (max-width: 575px) {
    .thfsales-product-badge-image img {
        max-width: 90px;
        max-height: 40px;
    }
}

@media only screen and (min-width: 1200px) {
    .top-offers-columns-2 .top-offer-item { flex-basis: 50%; max-width: 50%; }
    .top-offers-columns-3 .top-offer-item { flex-basis: 33.333333%; max-width: 33.333333%; }
    .top-offers-columns-4 .top-offer-item { flex-basis: 25%; max-width: 25%; }
    .top-offers-columns-5 .top-offer-item { flex-basis: 20%; max-width: 20%; }
    .top-offers-columns-6 .top-offer-item { flex-basis: 16.666667%; max-width: 16.666667%; }
    .top-offers-columns-7 .top-offer-item { flex-basis: 14.285714%; max-width: 14.285714%; }
    .top-offers-columns-8 .top-offer-item { flex-basis: 12.5%; max-width: 12.5%; }
}

@media only screen and (min-width: 768px) {
    .subcategory-layout.subcategory-panel-custom-width {
        flex-wrap: nowrap;
    }

    .subcategory-layout.subcategory-panel-custom-width .subcategory-panel-column {
        flex: 0 1 var(--thfsales-subcategory-panel-max-width, 320px);
        width: var(--thfsales-subcategory-panel-max-width, 320px);
        max-width: 40%;
    }

    .subcategory-layout.subcategory-panel-custom-width .subcategory-products-column {
        flex: 1 1 0;
        width: auto;
        max-width: 100%;
    }
}

@media only screen and (min-width: 1400px) {
    :is(body.thfsales-page-width-1400, body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxl-1 { flex: 0 0 100%; max-width: 100%; }
    :is(body.thfsales-page-width-1400, body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxl-2 { flex: 0 0 50%; max-width: 50%; }
    :is(body.thfsales-page-width-1400, body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxl-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    :is(body.thfsales-page-width-1400, body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxl-4 { flex: 0 0 25%; max-width: 25%; }
    :is(body.thfsales-page-width-1400, body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxl-5 { flex: 0 0 20%; max-width: 20%; }
    :is(body.thfsales-page-width-1400, body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxl-6 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    :is(body.thfsales-page-width-1400, body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxl-8 { flex: 0 0 12.5%; max-width: 12.5%; }
}

@media only screen and (min-width: 1600px) {
    :is(body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxxl-1 { flex: 0 0 100%; max-width: 100%; }
    :is(body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxxl-2 { flex: 0 0 50%; max-width: 50%; }
    :is(body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxxl-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    :is(body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxxl-4 { flex: 0 0 25%; max-width: 25%; }
    :is(body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxxl-5 { flex: 0 0 20%; max-width: 20%; }
    :is(body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxxl-6 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    :is(body.thfsales-page-width-1600, body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-xxxl-8 { flex: 0 0 12.5%; max-width: 12.5%; }
}

@media only screen and (min-width: 1920px) {
    :is(body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-wide-1 { flex: 0 0 100%; max-width: 100%; }
    :is(body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-wide-2 { flex: 0 0 50%; max-width: 50%; }
    :is(body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-wide-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    :is(body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-wide-4 { flex: 0 0 25%; max-width: 25%; }
    :is(body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-wide-5 { flex: 0 0 20%; max-width: 20%; }
    :is(body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-wide-6 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    :is(body.thfsales-page-width-full, body.thfsales-page-width-reference) .thf-grid-wide-8 { flex: 0 0 12.5%; max-width: 12.5%; }
}

img {
    max-width: 100%;
}

.top-box {
    position: relative;
}

.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: 5%;
}

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

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

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

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

.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 {
    position: relative;
    min-height: 42px;
}

.main-category-slider-arrow {
    display: none;
}

.main-category-title {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.2;
    max-height: 2.4em;
    overflow-wrap: anywhere;
    text-overflow: ellipsis;
    white-space: normal;
}

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

.products {
    background-color: #fff;
}

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

.footer.py-5 {
    background: #000;
    color: #f9f9f9;
}

section#main-section {
    padding-bottom: 40px;
    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;
}

.subcategory-one-page .left-items {
    position: sticky;
    top: 58px;
    z-index: 10;
}

.subcategory-one-page .sub-categories {
    position: static !important;
    width: 100% !important;
}

.subcategory-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    scroll-margin-top: 82px;
    border-bottom: 1px solid #e4e4e4;
}

.subcategory-section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.subcategory-banners {
    overflow: hidden;
    border-radius: 7px;
    background: #f3f3f3;
}

.subcategory-banner-image {
    width: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
}

.subcategory-carousel .carousel-control-prev,
.subcategory-carousel .carousel-control-next {
    width: 8%;
}

.subcategory-carousel .carousel-indicators {
    margin-bottom: 8px;
}

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

.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;
    z-index: 10000;
    top: 0;
    right: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

body.thfsales-mobile-open {
    overflow: hidden;
}

.active-mobile .back-main {
    position: sticky;
    z-index: 30;
    top: 0;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .12);
}

.active-mobile .back-butt {
    cursor: pointer;
}

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

.mobile-header .nav-tabs .nav-link {
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
}

.mobile-header .mobile-main-tabs {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mobile-header .mobile-main-tabs::-webkit-scrollbar {
    display: none;
}

.mobile-header .mobile-main-tabs .nav-item {
    flex: 0 0 auto;
}


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

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

/* Phones Portrait */
@media only screen and (min-width : 320px) and (max-width : 479px) {
    .top-offer-item {
        flex-basis: 100%;
        max-width: 100%;
    }

    .product_prices {
        min-height: 50px;
    }
    .product_prices span {
        display: block;
    }
}

/* Phones Landscape */
@media only screen and (min-width : 480px) and (max-width : 767px) {
    .top-offer-item {
        flex-basis: 50%;
        max-width: 50%;
    }
}

/* Phones Portrait and Landscape */
@media only screen and (min-width : 320px) and (max-width : 767px) {
    body.thfsales-has-top-offers .top-banner header,
    body.thfsales-has-subcategory-slider .top-banner header {
        height: auto;
        min-height: 210px;
    }

    .top-offers-carousel {
        margin-top: 12px;
        padding: 12px 6px;
    }

    .top-offers-title {
        font-size: 18px;
    }

    .top-offers-heading {
        margin-right: 4px;
        margin-left: 4px;
    }

    .top-offers-arrow {
        width: 32px;
        height: 32px;
    }

    .category-offers-carousel {
        margin: 10px 0 18px;
    }

    .logo {
        margin-bottom: 35px;
    }

    .tab-pane {
        background-color: #fff;
    }

    .sub-categories .nav-item a.active {
        font-weight: normal;
        background: #000;
        color: #fff;
    }

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

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

    .sub-categories {
        width: 100vw;
        overflow: hidden;
    }

    .subcategory-one-page .left-items {
        top: 0;
    }

    .subcategory-one-page .sub-categories {
        width: 100% !important;
    }

    .subcategory-one-page .sub-categories .nav {
        flex-direction: row !important;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .subcategory-one-page .sub-categories .nav-item {
        flex: 0 0 auto;
    }

    .subcategory-section {
        scroll-margin-top: 90px;
    }

    .subcategory-banner-image {
        min-height: 120px;
    }

    section#main-section {
        padding-top: 15px;
        padding-bottom: 15px;
        min-height: 55vh;
    }

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



    header {
        padding-bottom: 15px;
    }

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

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

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

    .top-header {
        flex-direction: column !important;
    }

    .main-tabs-content:not(.active-mobile) .main-tab.show.active {
        display: block !important;
    }

    .main-tabs-content:not(.active-mobile) .back-main {
        display: none !important;
    }

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

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) and (max-width : 991px) {
    .top-offer-item {
        flex-basis: 33.333333%;
        max-width: 33.333333%;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) and (max-width : 1199px) {
    .top-offer-item {
        flex-basis: 25%;
        max-width: 25%;
    }
}

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

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

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

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

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

/* 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%;
        max-width: none;
        box-shadow: 0 0 5px 0 rgba(0,0,0,0.75);
    }

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

/* ================================================================
   THF Sales 2.8.0 - reference landing layout
   Inspired by the navigation/content structure supplied by the shop owner.
   Keeps existing configurable colors, banners and product carousels.
   ================================================================ */
body.thfsales-reference-layout {
    background: #f4f4f4;
}

body.thfsales-reference-layout .thfsales-page-container {
    width: 90%;
}

body.thfsales-reference-layout .top-banner header {
    padding-left: 0;
    padding-right: 0;
}

body.thfsales-reference-layout .desktop-menu {
    top: 0;
    margin-top: 18px;
    width: 100%;
}

body.thfsales-reference-layout .desktop-menu .nav-tabs {
    width: 100%;
    border-bottom: 2px solid rgba(0, 0, 0, .12);
    align-items: stretch !important;
}

body.thfsales-reference-layout .desktop-menu .nav-item {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
}

body.thfsales-reference-layout .desktop-menu .nav-link {
    display: flex;
    width: 100%;
    min-height: 58px;
    padding: 9px 8px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px 7px 0 0 !important;
    text-align: center;
    line-height: 1.15;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

body.thfsales-reference-layout .desktop-menu .nav-link.active {
    position: relative;
    z-index: 2;
    min-height: 66px;
    margin-top: -8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .08);
}

body.thfsales-reference-layout #main-section {
    padding-top: 12px;
    padding-bottom: 45px;
    background-size: cover;
}

body.thfsales-reference-layout .main-tabs-content {
    position: relative;
    min-height: 520px;
    padding-top: 4px;
}

body.thfsales-reference-layout .main-tab > .row.subcategory-layout {
    margin-right: 0;
    margin-left: 0;
    align-items: flex-start;
}

body.thfsales-reference-layout .subcategory-panel-column {
    position: relative;
    z-index: 20;
    flex: 0 0 165px;
    width: 165px;
    max-width: 165px;
    padding-left: 0;
}

body.thfsales-reference-layout .subcategory-products-column {
    flex: 1 1 0;
    width: calc(100% - 165px);
    max-width: calc(100% - 165px);
}

body.thfsales-reference-layout .left-items {
    width: 100%;
}

body.thfsales-reference-layout .sub-categories {
    overflow: visible;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
}

body.thfsales-reference-layout .sub-categories.p-3 {
    padding: 5px 0 !important;
}

body.thfsales-reference-layout .sub-categories .nav-item {
    width: 100%;
}

body.thfsales-reference-layout .sub-categories .btn-link {
    position: relative;
    width: 100%;
    padding: 6px 18px 6px 15px !important;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: normal;
}

body.thfsales-reference-layout .sub-categories .btn-link.active {
    font-weight: 700;
}

body.thfsales-reference-layout .sub-categories .btn-link.active::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -11px;
    width: 0;
    height: 0;
    transform: translateY(-50%);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 11px solid currentColor;
    opacity: .16;
}

body.thfsales-reference-layout .products {
    min-height: 340px;
    border-radius: 0 0 7px 7px;
}

body.thfsales-reference-layout .products.px-3 {
    padding-right: 14px !important;
    padding-left: 14px !important;
}

body.thfsales-reference-layout .sub-title {
    padding: 7px 10px 8px;
    text-align: left !important;
    text-transform: none;
    letter-spacing: 0;
}

body.thfsales-reference-layout .sub-title h4 {
    font-size: 20px;
    font-weight: 700;
}

body.thfsales-reference-layout article.product_block {
    height: 100%;
    overflow: hidden;
    border-radius: 7px;
    background: #fff;
    transition: transform .16s ease, box-shadow .16s ease;
}

body.thfsales-reference-layout article.product_block:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, .09);
}

body.thfsales-reference-layout .item {
    margin-bottom: 18px;
}

body.thfsales-reference-layout .item .top-box {
    min-height: 165px;
}

body.thfsales-reference-layout .item .thumbnail {
    position: relative;
    display: block;
    height: 165px;
    overflow: hidden;
    padding: 8px;
    background: #fff;
}

body.thfsales-reference-layout .item .thumbnail > img.lazyload,
body.thfsales-reference-layout .item .thumbnail > img.lazyloaded {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.thfsales-reference-layout .item .bottom-box {
    padding: 8px 10px 12px !important;
}

body.thfsales-reference-layout .item .product_title {
    min-height: 43px;
    margin: 0 0 7px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

body.thfsales-reference-layout .item .product_prices {
    min-height: 44px;
}

body.thfsales-reference-layout .item .regular_price {
    display: block;
    font-size: 12px;
}

body.thfsales-reference-layout .item .st_discounted_price {
    display: block;
    font-size: 20px;
    line-height: 1.2;
}

body.thfsales-reference-layout .item .product_button {
    width: 100%;
}

body.thfsales-reference-layout .top-offers-carousel,
body.thfsales-reference-layout .category-offers-carousel,
body.thfsales-reference-layout .subcategory-banners {
    border-radius: 7px;
}

/* Mobile category tabs remain in the document flow. There is deliberately no
   full-screen overlay and no separate Back screen in 2.8.0. */
@media only screen and (max-width: 767px) {
    body.thfsales-reference-layout,
    body.thfsales-reference-layout.thfsales-mobile-open {
        overflow-x: hidden;
        overflow-y: auto;
    }

    body.thfsales-reference-layout .thfsales-page-container,
    body.thfsales-reference-layout #main-section > .container {
        width: 100%;
        max-width: 100%;
        padding-right: 10px;
        padding-left: 10px;
    }

    body.thfsales-reference-layout .active-mobile,
    body.thfsales-reference-layout .main-tabs-content.active-mobile {
        position: static;
        z-index: auto;
        width: auto;
        max-width: none;
        height: auto;
        overflow: visible;
        background: transparent;
    }

    body.thfsales-reference-layout .back-main {
        display: none !important;
    }

    body.thfsales-reference-layout .mobile-header {
        margin: 8px 0 12px;
    }

    body.thfsales-reference-layout .mobile-header .main-menu {
        top: 0;
        display: block;
        min-height: 0;
    }

    body.thfsales-reference-layout .mobile-header .mobile-main-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        overflow: visible;
        border: 0;
    }

    body.thfsales-reference-layout .mobile-header .mobile-main-tabs .nav-item {
        display: flex;
        width: 100%;
        min-width: 0;
    }

    body.thfsales-reference-layout .mobile-header .nav-tabs .nav-link {
        display: flex;
        width: 100%;
        min-height: 48px;
        padding: 7px 8px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 5px !important;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.12;
        text-align: center;
        white-space: normal;
    }

    body.thfsales-reference-layout .mobile-header .nav-tabs .nav-link.active {
        box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
    }

    body.thfsales-reference-layout #main-section {
        padding-top: 8px;
    }

    body.thfsales-reference-layout .main-tabs-content {
        min-height: 0;
        padding-top: 0;
    }

    body.thfsales-reference-layout .main-tabs-content .main-tab.show.active {
        display: block !important;
        position: static;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    body.thfsales-reference-layout .mobile-subcategory-slider {
        position: sticky;
        z-index: 25;
        top: 0;
        margin: 0 0 10px;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    }

    body.thfsales-reference-layout .subcategory-panel-column {
        display: none;
    }

    body.thfsales-reference-layout .subcategory-products-column {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    body.thfsales-reference-layout .products.px-3 {
        padding: 10px 0 0 !important;
    }

    body.thfsales-reference-layout .sub-title {
        padding-right: 4px;
        padding-left: 4px;
    }

    body.thfsales-reference-layout .sub-title h4 {
        font-size: 18px;
    }

    body.thfsales-reference-layout .item {
        padding-right: 5px !important;
        padding-left: 5px !important;
        margin-bottom: 10px;
    }

    body.thfsales-reference-layout .item .top-box,
    body.thfsales-reference-layout .item .thumbnail {
        min-height: 145px;
        height: 145px;
    }

    body.thfsales-reference-layout .item .product_title {
        min-height: 48px;
        font-size: 13px;
    }

    body.thfsales-reference-layout .item .st_discounted_price {
        font-size: 18px;
    }
}

@media only screen and (max-width: 400px) {
    body.thfsales-reference-layout .mobile-header .mobile-main-tabs {
        grid-template-columns: 1fr;
    }
}

@media only screen and (min-width: 641px) and (max-width: 767px) {
    body.thfsales-reference-layout .mobile-header .mobile-main-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* THF Sales 2.11.6 - native landing card controls */
.thfsales-card-overlay-image {
    position: absolute;
    z-index: 5;
    width: 70px;
    height: auto;
    max-width: 45%;
    object-fit: contain;
    pointer-events: none;
}
.thfsales-button-icon-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 0;
}
.thfsales-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.thfsales-button-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}
.product_button.thfsales-icon-position-right .thfsales-button-icon-slot,
.product_button.thfsales-icon-position-right .thfsales-button-icon { order: 2; }
.product_button .thfsales-button-label { min-width: 0; }
.product_button.thfsales-button-icon-custom {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.product_button.thfsales-button-icon-custom.thfsales-icon-position-right {
    flex-direction: row;
}

/* THF Sales 2.11.7 - shared campaign header content and explicit product actions */
body.thfsales-reference-layout .top-banner > .thfsales-page-container > header,
body.thfsales-reference-layout .evomag-header,
body.thfsales-reference-layout .blackfriday-header {
    position: relative;
}
.thfsales-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.thfsales-campaign-content {
    --thf-header-x: 0px;
    --thf-header-y: 0px;
    position: absolute;
    z-index: 12;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    width: max-content;
    max-width: min(92%, 620px);
    margin-top: 25px;
}
.thfsales-campaign-position-top-left { top: 16px; left: 16px; transform: translate(var(--thf-header-x), var(--thf-header-y)); }
.thfsales-campaign-position-top-center { top: 16px; left: 50%; transform: translate(-50%, 0) translate(var(--thf-header-x), var(--thf-header-y)); }
.thfsales-campaign-position-top-right { top: 16px; right: 16px; transform: translate(var(--thf-header-x), var(--thf-header-y)); }
.thfsales-campaign-position-center-left { top: 50%; left: 16px; transform: translate(0, -50%) translate(var(--thf-header-x), var(--thf-header-y)); }
.thfsales-campaign-position-center { top: 50%; left: 50%; transform: translate(-50%, -50%) translate(var(--thf-header-x), var(--thf-header-y)); }
.thfsales-campaign-position-center-right { top: 50%; right: 16px; transform: translate(0, -50%) translate(var(--thf-header-x), var(--thf-header-y)); }
.thfsales-campaign-position-bottom-left { bottom: 16px; left: 16px; transform: translate(var(--thf-header-x), var(--thf-header-y)); }
.thfsales-campaign-position-bottom-center { bottom: 16px; left: 50%; transform: translate(-50%, 0) translate(var(--thf-header-x), var(--thf-header-y)); }
.thfsales-campaign-position-bottom-right { right: 16px; bottom: 16px; transform: translate(var(--thf-header-x), var(--thf-header-y)); }
.thfsales-campaign-align-left { text-align: left; align-items: flex-start; }
.thfsales-campaign-align-center { text-align: center; align-items: center; }
.thfsales-campaign-align-right { text-align: right; align-items: flex-end; }
.thfsales-campaign-title {
    margin: 0;
    padding: 0;
    line-height: 1.03;
    letter-spacing: -.025em;
}
.thfsales-campaign-subtitle { line-height: 1.25; }
.thfsales-campaign-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    padding: 6px 12px;
    line-height: 1.05;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.thfsales-campaign-partner {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.thfsales-campaign-align-center .thfsales-campaign-partner { justify-content: center; }
.thfsales-campaign-align-right .thfsales-campaign-partner { justify-content: flex-end; }
.thfsales-campaign-partner img { display: block; height: auto; max-width: 100%; object-fit: contain; }
.thfsales-button-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.thfsales-product-actions-both {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}
.thfsales-product-actions-both .product_button { width: 100%; min-width: 0; margin: 0 !important; }
@media (max-width: 767px) {
    .thfsales-campaign-content { max-width: calc(100% - 24px) !important; }
    .thfsales-product-actions-both { grid-template-columns: 1fr; }
}
body.thfsales-reference-layout .thfsales-standard-campaign-layer {
    position: absolute;
    z-index: 7;
    top: 0;
    right: 0;
    bottom: 60px;
    left: 0;
    pointer-events: none;
}
body.thfsales-reference-layout .thfsales-standard-campaign-layer .thfsales-campaign-content {
    pointer-events: auto;
}

/* THF Sales 2.11.10 - shared responsive header utilities */
body.thfsales-reference-layout.thfsales-has-header-extras .top-banner header {
    height: auto;
    min-height: 230px;
}
.thfsales-header-extras {
    position: relative;
    z-index: 20;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 25px;
    padding: 0 2px;
    box-sizing: border-box;
}
.thfsales-header-extra-row {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
}
.thfsales-header-extra-align-left { justify-content: flex-start; }
.thfsales-header-extra-align-center { justify-content: center; }
.thfsales-header-extra-align-right { justify-content: flex-end; }
.thfsales-header-period-button,
.thfsales-header-account-button {
    font-family: inherit;
    line-height: 1.15;
}
.thfsales-header-period-button,
.thfsales-header-account-button {
    display: inline-flex;
    min-height: 36px;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(15, 23, 42, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 5px 18px rgba(15, 23, 42, .10);
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}
.thfsales-header-account-button:hover,
.thfsales-header-account-button:focus {
    background: #111827;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.thfsales-header-period-button:hover { transform: translateY(-1px); }
.thfsales-header-period-copy {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}
.thfsales-header-period-prefix { opacity: .72; font-weight: 600; }
.thfsales-header-action-icon {
    display: inline-flex;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    align-items: center;
    justify-content: center;
}
.thfsales-header-action-icon svg,
.thfsales-header-action-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.thfsales-header-action-icon svg { fill: currentColor; }
.thfsales-header-account-actions {
    display: inline-flex;
    max-width: 100%;
    min-width: 0;
    align-items: stretch;
    gap: 8px;
}
.thfsales-header-account-actions.is-joined {
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .16);
    border-radius: 999px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .10);
}
.thfsales-header-account-actions.is-joined .thfsales-header-account-button {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.thfsales-header-account-actions.is-joined .thfsales-header-account-button + .thfsales-header-account-button {
    border-left: 1px solid rgba(15, 23, 42, .15) !important;
}
.thfsales-header-account-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.thfsales-header-cart-counter {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    background: #e30613;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}
body.thfsales-blackfriday .thfsales-header-extras,
body.thfsales-evomag .thfsales-header-extras { margin-top: 4px; }

.thfsales-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
}
.thfsales-footer-links a { color: inherit; text-decoration: none; }
.thfsales-footer-links a:hover,
.thfsales-footer-links a:focus { text-decoration: underline; }
.thfsales-footer-link-separator { opacity: .55; }

@media (max-width: 767px) {
    .thfsales-header-extras { gap: 6px; margin-top: 7px; padding: 0 5px; }
    .thfsales-header-extra-row { padding: 0; }
    .thfsales-header-period-button { max-width: 100%; }
    .thfsales-header-account-actions { max-width: 100%; }
    .thfsales-header-account-button { min-width: 0; padding: 7px 11px; }
    .thfsales-header-account-label { max-width: 140px; }
    .thfsales-product-add-icon-segment { flex-basis: 42px; width: 42px; }
}
@media (max-width: 420px) {
    .thfsales-header-account-actions { width: auto; max-width: 100%; }
    .thfsales-header-account-actions .thfsales-header-account-button { flex: 0 1 auto; }
    .thfsales-header-account-actions.is-joined .thfsales-header-account-button { flex: 1 1 0; }
    .thfsales-header-account-label { max-width: 88px; }
    .thfsales-header-period-copy { min-width: 0; }
    .thfsales-header-period-button { padding-right: 11px; padding-left: 11px; }
    .thfsales-footer-links { gap: 6px; font-size: 12px; }
}

/* THF Sales 2.11.18 - mobile header utilities.
 * Keep Period + Favorites/Cart on one row when they fit; otherwise wrap into
 * two right-aligned rows with consistent vertical spacing. */
@media (max-width: 767px) {
    .thfsales-header-extras {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        column-gap: 8px;
        row-gap: 9px;
    }
    .thfsales-header-extra-row {
        width: auto;
        max-width: 100%;
        flex: 0 0 auto;
        justify-content: flex-end !important;
    }
    .thfsales-header-period-row {
        margin-left: auto;
    }
    .thfsales-header-account-row {
        margin-left: 0;
    }
    .thfsales-header-period-button,
    .thfsales-header-account-actions {
        max-width: 100%;
    }
}

.thfsales-brand-name-fallback {
    display: block;
    max-width: 100%;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

/* THF Sales 2.11.13 - landing-native, configurable add-to-cart confirmation dialog */
body.thfsales-cart-modal-open {
    overflow: hidden !important;
}
.thfsales-cart-modal {
    --thf-modal-bg: #ffffff;
    --thf-modal-text: #111827;
    --thf-modal-muted: #64748b;
    --thf-modal-overlay-bg: #08101a;
    --thf-modal-overlay-opacity-pct: 62;
    --thf-modal-border: rgba(15, 23, 42, .12);
    --thf-modal-border-width: 1px;
    --thf-modal-border-style: solid;
    --thf-modal-radius: 12px;
    --thf-modal-shadow: 0 18px 48px rgba(2, 8, 23, .24);
    --thf-modal-icon-bg: #ecfdf3;
    --thf-modal-icon-color: #16803c;
    --thf-modal-primary-bg: #111827;
    --thf-modal-primary-text: #ffffff;
    --thf-modal-primary-hover: #273449;
    --thf-modal-secondary-bg: transparent;
    --thf-modal-secondary-text: #334155;
    --thf-modal-secondary-border: #d7dde5;
    --thf-modal-secondary-hover: rgba(15, 23, 42, .06);
    --thf-modal-button-radius: 8px;
    position: fixed;
    z-index: 2147482000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
body.thfsales-blackfriday .thfsales-cart-modal {
    --thf-modal-bg: var(--bf-body, #02070a);
    --thf-modal-text: var(--bf-tab-text, #fff);
    --thf-modal-muted: #afc9d3;
    --thf-modal-overlay-bg: #02070a;
    --thf-modal-overlay-opacity-pct: 76;
    --thf-modal-border: var(--bf-tab-hover, #07566d);
    --thf-modal-shadow: var(--bf-box-shadow, 0 24px 80px rgba(0,0,0,.58));
    --thf-modal-icon-bg: var(--bf-tab, #063b4d);
    --thf-modal-icon-color: var(--bf-tab-text, #fff);
    --thf-modal-primary-bg: var(--bf-button, #ed1648);
    --thf-modal-primary-text: var(--bf-button-text, #fff);
    --thf-modal-primary-hover: var(--bf-button-hover, #bd0a32);
    --thf-modal-secondary-bg: transparent;
    --thf-modal-secondary-text: var(--bf-tab-text, #fff);
    --thf-modal-secondary-border: var(--bf-tab, #063b4d);
    --thf-modal-secondary-hover: var(--bf-tab, #063b4d);
    --thf-modal-radius: 8px;
    --thf-modal-button-radius: 4px;
}
body.thfsales-evomag .thfsales-cart-modal {
    --thf-modal-bg: #ffffff;
    --thf-modal-text: var(--evomag-title, #000);
    --thf-modal-muted: var(--evomag-old-price, #555);
    --thf-modal-overlay-bg: #111111;
    --thf-modal-overlay-opacity-pct: 55;
    --thf-modal-border: #e6e6e6;
    --thf-modal-shadow: var(--evomag-box-shadow, 0 12px 38px rgba(0,0,0,.18));
    --thf-modal-icon-bg: #fff1ec;
    --thf-modal-icon-color: var(--evomag-button, #eb4612);
    --thf-modal-primary-bg: var(--evomag-button, #eb4612);
    --thf-modal-primary-text: var(--evomag-button-text, #fff);
    --thf-modal-primary-hover: var(--evomag-button-hover, #f86533);
    --thf-modal-secondary-bg: #fff;
    --thf-modal-secondary-text: var(--evomag-title, #000);
    --thf-modal-secondary-border: #d8d8d8;
    --thf-modal-secondary-hover: #f5f5f5;
    --thf-modal-radius: 4px;
    --thf-modal-button-radius: 3px;
}
.thfsales-cart-modal.is-open { display: flex; }
.thfsales-cart-modal-backdrop {
    position: absolute;
    inset: 0;
    background: var(--thf-modal-overlay-bg);
    opacity: calc(var(--thf-modal-overlay-opacity-pct) / 100);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.thfsales-cart-modal-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px 18px;
    width: min(100%, 510px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 26px;
    border: var(--thf-modal-border-width) var(--thf-modal-border-style) var(--thf-modal-border);
    border-radius: var(--thf-modal-radius);
    background: var(--thf-modal-bg);
    box-shadow: var(--thf-modal-shadow);
    color: var(--thf-modal-text);
    box-sizing: border-box;
    outline: none;
}
.thfsales-cart-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--thf-modal-secondary-border);
    border-radius: var(--thf-modal-button-radius);
    background: var(--thf-modal-secondary-bg);
    color: var(--thf-modal-secondary-text);
    font: inherit;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}
.thfsales-cart-modal-close:hover,
.thfsales-cart-modal-close:focus { background: var(--thf-modal-secondary-hover); color: var(--thf-modal-text); }
.thfsales-cart-modal-success-icon {
    display: flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: var(--thf-modal-button-radius);
    background: var(--thf-modal-icon-bg);
    color: var(--thf-modal-icon-color);
}
.thfsales-cart-modal-success-icon svg { width: 32px; height: 32px; fill: currentColor; }
.thfsales-cart-modal-copy { min-width: 0; padding: 3px 34px 0 0; }
.thfsales-cart-modal-title {
    margin: 0 0 7px;
    color: var(--thf-modal-text);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.18;
}
.thfsales-cart-modal-message {
    margin: 0;
    color: var(--thf-modal-muted);
    font-size: 14px;
    line-height: 1.5;
}
.thfsales-cart-modal-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 4px;
}
.thfsales-cart-modal-continue,
.thfsales-cart-modal-view-cart {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: var(--thf-modal-button-radius);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.thfsales-cart-modal-continue {
    border-color: var(--thf-modal-secondary-border);
    background: var(--thf-modal-secondary-bg);
    color: var(--thf-modal-secondary-text);
}
.thfsales-cart-modal-view-cart {
    border-color: var(--thf-modal-primary-bg);
    background: var(--thf-modal-primary-bg);
    color: var(--thf-modal-primary-text);
}
.thfsales-cart-modal-continue:hover,
.thfsales-cart-modal-continue:focus {
    background: var(--thf-modal-secondary-hover);
    color: var(--thf-modal-text);
}
.thfsales-cart-modal-view-cart:hover,
.thfsales-cart-modal-view-cart:focus {
    border-color: var(--thf-modal-primary-hover);
    background: var(--thf-modal-primary-hover);
    color: var(--thf-modal-primary-text);
    text-decoration: none;
}
@media (max-width: 560px) {
    .thfsales-cart-modal { padding: 12px; align-items: flex-end; }
    .thfsales-cart-modal-dialog {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 13px 14px;
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 20px 16px 16px;
        border-radius: min(var(--thf-modal-radius), 20px);
    }
    .thfsales-cart-modal-success-icon { width: 44px; height: 44px; }
    .thfsales-cart-modal-success-icon svg { width: 27px; height: 27px; }
    .thfsales-cart-modal-copy { padding-right: 28px; }
    .thfsales-cart-modal-title { font-size: 18px; }
    .thfsales-cart-modal-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
    .thfsales-cart-modal-continue,
    .thfsales-cart-modal-view-cart { width: 100%; min-height: 44px; }
    .thfsales-cart-modal-view-cart { grid-row: 1; }
}


/* THF Sales 2.11.16 - native template-aware brand carousel */
.thfsales-brand-placement { position: relative; z-index: 2; }
.thfsales-brand-section {
    --thfsales-brand-title: #222;
    --thfsales-brand-section-bg: #fff;
    --thfsales-brand-section-border: rgba(0,0,0,.08);
    --thfsales-brand-section-radius: 8px;
    --thfsales-brand-card-bg: #fff;
    --thfsales-brand-card-hover-bg: #f8f8f8;
    --thfsales-brand-card-border: rgba(0,0,0,.08);
    --thfsales-brand-card-radius: 7px;
    --thfsales-brand-arrow-bg: #fff;
    --thfsales-brand-arrow-color: #222;
    --thfsales-brand-arrow-hover-bg: #f1f1f1;
    --thfsales-brand-arrow-hover-color: #111;
    --thfsales-brand-arrow-radius: 999px;
    --thfsales-brand-gap: 12px;
    --thfsales-brand-logo-height: 68px;
    --thfsales-brand-columns-desktop: 6;
    --thfsales-brand-columns-tablet: 4;
    --thfsales-brand-columns-mobile: 2;
    width: 100%;
    margin: 22px 0;
}
.thfsales-brand-shell {
    width: 100%;
    padding: 18px 16px;
    border: 1px solid var(--thfsales-brand-section-border);
    border-radius: var(--thfsales-brand-section-radius);
    background: var(--thfsales-brand-section-bg);
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    box-sizing: border-box;
}
.thfsales-brand-heading { margin: 0 0 15px; }
.thfsales-brand-title {
    margin: 0;
    color: var(--thfsales-brand-title);
    font: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}
.thfsales-brand-carousel-body {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr) 38px;
    gap: 9px;
    align-items: center;
}
.thfsales-brand-section.is-static .thfsales-brand-carousel-body,
.thfsales-brand-section.is-no-arrows .thfsales-brand-carousel-body { grid-template-columns: minmax(0,1fr); }
.thfsales-brand-section.is-static .thfsales-brand-arrow { display: none; }
.thfsales-brand-viewport {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.thfsales-brand-viewport::-webkit-scrollbar { display: none; }
.thfsales-brand-track {
    display: flex;
    gap: var(--thfsales-brand-gap);
    align-items: stretch;
}
.thfsales-brand-item {
    flex: 0 0 var(--thfsales-brand-item-width, 160px);
    min-width: 0;
    scroll-snap-align: start;
}
.thfsales-brand-card {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: calc(var(--thfsales-brand-logo-height) + 30px);
    padding: 14px 16px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--thfsales-brand-card-border);
    border-radius: var(--thfsales-brand-card-radius);
    background: var(--thfsales-brand-card-bg);
    box-sizing: border-box;
    text-decoration: none !important;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
a.thfsales-brand-card:hover,
a.thfsales-brand-card:focus {
    background: var(--thfsales-brand-card-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0,0,0,.08);
}
.thfsales-brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: var(--thfsales-brand-logo-height);
    object-fit: contain;
}
.thfsales-brand-arrow {
    display: inline-flex;
    width: 38px;
    height: 38px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--thfsales-brand-section-border);
    border-radius: var(--thfsales-brand-arrow-radius);
    background: var(--thfsales-brand-arrow-bg);
    color: var(--thfsales-brand-arrow-color);
    box-shadow: none;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}
.thfsales-brand-arrow:hover,
.thfsales-brand-arrow:focus {
    background: var(--thfsales-brand-arrow-hover-bg);
    color: var(--thfsales-brand-arrow-hover-color);
    transform: translateY(-1px);
}
.thfsales-brand-arrow span { margin-top: -3px; font-size: 28px; line-height: 1; }
body.thfsales-blackfriday .thfsales-brand-section {
    --thfsales-brand-title: var(--bf-section-text, #111);
    --thfsales-brand-section-bg: var(--bf-section, #fff);
    --thfsales-brand-section-border: rgba(116,199,213,.38);
    --thfsales-brand-card-bg: #fff;
    --thfsales-brand-card-hover-bg: #f3fbfc;
    --thfsales-brand-card-border: rgba(7,21,25,.10);
    --thfsales-brand-arrow-bg: var(--bf-active, #74c7d5);
    --thfsales-brand-arrow-color: var(--bf-active-text, #071519);
    --thfsales-brand-arrow-hover-bg: var(--bf-tab-hover, #dff7fb);
    --thfsales-brand-arrow-hover-color: var(--bf-tab-hover-text, #071519);
}
body.thfsales-evomag .thfsales-brand-section {
    --thfsales-brand-title: #222;
    --thfsales-brand-section-bg: var(--evomag-section, #fff);
    --thfsales-brand-section-border: rgba(0,0,0,.08);
    --thfsales-brand-card-bg: #fff;
    --thfsales-brand-card-hover-bg: #fff5f9;
    --thfsales-brand-card-border: rgba(235,27,94,.14);
    --thfsales-brand-arrow-bg: var(--evomag-button, #eb1b5e);
    --thfsales-brand-arrow-color: var(--evomag-button-text, #fff);
    --thfsales-brand-arrow-hover-bg: var(--evomag-button-hover, #cf124f);
    --thfsales-brand-arrow-hover-color: var(--evomag-button-text-hover, #fff);
}
@media (max-width: 991px) {
    .thfsales-brand-shell { padding-right: 13px; padding-left: 13px; }
}
@media (max-width: 767px) {
    .thfsales-brand-section { margin: 14px 0; }
    .thfsales-brand-shell { padding: 14px 10px; }
    .thfsales-brand-title { font-size: 18px; }
    .thfsales-brand-carousel-body { grid-template-columns: 32px minmax(0,1fr) 32px; gap: 6px; }
    .thfsales-brand-arrow { width: 32px; height: 32px; }
    .thfsales-brand-card { padding: 10px 12px; min-height: calc(var(--thfsales-brand-logo-height) + 20px); }
}


/* THF Sales: independent responsive counts for global Top Offers only. */
@media only screen and (max-width: 767px) {
    .top-offers-carousel.global-top-offers.top-offers-mobile-columns-1 .top-offer-item { flex-basis: 100.000000%; max-width: 100.000000%; }
    .top-offers-carousel.global-top-offers.top-offers-mobile-columns-2 .top-offer-item { flex-basis: 50.000000%; max-width: 50.000000%; }
    .top-offers-carousel.global-top-offers.top-offers-mobile-columns-3 .top-offer-item { flex-basis: 33.333333%; max-width: 33.333333%; }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .top-offers-carousel.global-top-offers.top-offers-tablet-columns-1 .top-offer-item { flex-basis: 100.000000%; max-width: 100.000000%; }
    .top-offers-carousel.global-top-offers.top-offers-tablet-columns-2 .top-offer-item { flex-basis: 50.000000%; max-width: 50.000000%; }
    .top-offers-carousel.global-top-offers.top-offers-tablet-columns-3 .top-offer-item { flex-basis: 33.333333%; max-width: 33.333333%; }
    .top-offers-carousel.global-top-offers.top-offers-tablet-columns-4 .top-offer-item { flex-basis: 25.000000%; max-width: 25.000000%; }
}
@media only screen and (min-width: 992px) {
    .top-offers-carousel.global-top-offers.top-offers-columns-2 .top-offer-item { flex-basis: 50.000000%; max-width: 50.000000%; }
    .top-offers-carousel.global-top-offers.top-offers-columns-3 .top-offer-item { flex-basis: 33.333333%; max-width: 33.333333%; }
    .top-offers-carousel.global-top-offers.top-offers-columns-4 .top-offer-item { flex-basis: 25.000000%; max-width: 25.000000%; }
    .top-offers-carousel.global-top-offers.top-offers-columns-5 .top-offer-item { flex-basis: 20.000000%; max-width: 20.000000%; }
    .top-offers-carousel.global-top-offers.top-offers-columns-6 .top-offer-item { flex-basis: 16.666667%; max-width: 16.666667%; }
    .top-offers-carousel.global-top-offers.top-offers-columns-7 .top-offer-item { flex-basis: 14.285714%; max-width: 14.285714%; }
    .top-offers-carousel.global-top-offers.top-offers-columns-8 .top-offer-item { flex-basis: 12.500000%; max-width: 12.500000%; }
}
