/* Module Block Title Styles */
/* Red Tab Design - Applied to all module titles */

.block-title {
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #a68a6a;
    margin-bottom: 20px;
}

.block-title strong {
    display: inline-block;
    padding: 12px 24px;
    background-color: #a68a6a;
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    font-size: 16px;
    line-height: 1.4;
}

/* Triangular flag shape at top-left */
.block-title strong:before {
    content: "";
    position: absolute;
    left: 0;
    top: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ff1d2a;
}

/* Apply red tab style to all module titles */
.cosmetics-module-heading,
.unified-module-heading,
.module-heading-title,
.bs-module-title,
.pst-module-title,
.premium-flash-title,
.flash-deal-title,
.flashdeal-title,
.rv-title,
.rv-module-heading h2,
.rv-module-heading h2.rv-title,
.popular-products__title,
.latest-products__title,
.featured-products__title,
.special-products__title,
.section-title h2:not(.product-name):not(.name),
.section-title h3:not(.product-name):not(.name),
.section-title .h3:not(.product-name):not(.name),
.heading_title:not(.product-name):not(.name),
.tcp2-module-title,
.offer-title,
.panel-heading,
.page_heading,
.luxe-special-page-title,
.cat-name,
.page-heading,
/* Additional selectors for module sections */
.bs-module-header h2,
.pst-module-header h2,
.premium-flash-header h2,
.premium-flash-title-wrapper h2,
.module-heading-wrapper h2,
.module-heading-wrapper h3,
.section-head h2:not(.product-name):not(.name),
.section-head h3:not(.product-name):not(.name),
.section-head .title:not(.product-name):not(.name),
/* Category and page titles */
.cp-title,
.cp-page-title {
    display: inline-block !important;
    padding: 12px 24px !important;
    background-color: #a68a6a !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    position: relative !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin: 0 0 20px 0 !important;
    border-bottom: 2px solid #a68a6a !important;
}

/* Remove the gradient underline from unified headings when using block-title style */
.cosmetics-module-heading::after,
.unified-module-heading::after,
.module-heading-title::after,
.bs-module-title::after,
.pst-module-title::after,
.premium-flash-title::after,
.flash-deal-title::after,
.flashdeal-title::after,
.rv-title::after,
.rv-module-heading h2::after,
.popular-products__title::after,
.latest-products__title::after,
.featured-products__title::after,
.special-products__title::after,
.section-title h2:not(.product-name):not(.name)::after,
.section-title h3:not(.product-name):not(.name)::after,
.section-title .h3:not(.product-name):not(.name)::after,
.heading_title:not(.product-name):not(.name)::after,
.section-head h2:not(.product-name):not(.name)::after,
.section-head h3:not(.product-name):not(.name)::after,
.bs-module-header h2::after,
.pst-module-header h2::after,
.premium-flash-header h2::after,
.premium-flash-title-wrapper h2::after,
.module-heading-wrapper h2::after,
.module-heading-wrapper h3::after {
    display: none !important;
}

/* Triangular flag shape for all module titles (top-left corner) */
.cosmetics-module-heading:before,
.unified-module-heading:before,
.module-heading-title:before,
.bs-module-title:before,
.pst-module-title:before,
.premium-flash-title:before,
.flash-deal-title:before,
.flashdeal-title:before,
.rv-title:before,
.rv-module-heading h2:before,
.heading_title:not(.product-name):not(.name):before,
.section-title h2:not(.product-name):not(.name):before,
.section-title h3:not(.product-name):not(.name):before,
.section-head h2:not(.product-name):not(.name):before,
.section-head h3:not(.product-name):not(.name):before,
.tcp2-module-title:before,
.block-title strong:before,
.bs-module-header h2:before,
.pst-module-header h2:before,
.premium-flash-header h2:before,
.premium-flash-title-wrapper h2:before,
.module-heading-wrapper h2:before,
.module-heading-wrapper h3:before,
.section-head h2:before,
.section-head h3:before,
.section-head .title:before,
.cp-title:before,
.cp-page-title:before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: -10px !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 10px solid transparent !important;
    border-right: 10px solid transparent !important;
    border-bottom: 10px solid #8b7355 !important;
    z-index: 1 !important;
}

/* Responsive adjustments for module titles */
@media (max-width: 768px) {
    .cosmetics-module-heading,
    .unified-module-heading,
    .module-heading-title,
    .bs-module-title,
    .pst-module-title,
    .premium-flash-title,
    .flash-deal-title,
    .flashdeal-title,
    .rv-title,
    .rv-module-heading h2,
    .popular-products__title,
    .latest-products__title,
    .featured-products__title,
    .special-products__title,
    .heading_title,
    .block-title strong,
    .bs-module-header h2,
    .pst-module-header h2,
    .premium-flash-header h2,
    .module-heading-wrapper h2,
    .module-heading-wrapper h3 {
        font-size: 14px !important;
        padding: 10px 18px !important;
    }
    
    .cosmetics-module-heading:before,
    .unified-module-heading:before,
    .bs-module-title:before,
    .pst-module-title:before,
    .premium-flash-title:before,
    .rv-title:before,
    .block-title strong:before,
    .bs-module-header h2:before,
    .pst-module-header h2:before,
    .premium-flash-header h2:before {
        top: -8px !important;
        border-left: 8px solid transparent !important;
        border-right: 8px solid transparent !important;
        border-bottom: 8px solid #ff1d2a !important;
    }
}

@media (max-width: 480px) {
    .cosmetics-module-heading,
    .unified-module-heading,
    .module-heading-title,
    .bs-module-title,
    .pst-module-title,
    .premium-flash-title,
    .flash-deal-title,
    .flashdeal-title,
    .rv-title,
    .rv-module-heading h2,
    .popular-products__title,
    .latest-products__title,
    .featured-products__title,
    .special-products__title,
    .heading_title,
    .block-title strong,
    .bs-module-header h2,
    .pst-module-header h2,
    .premium-flash-header h2,
    .module-heading-wrapper h2,
    .module-heading-wrapper h3 {
        font-size: 13px !important;
        padding: 8px 16px !important;
    }
}

/* Block Primary Styles */
.block-primary .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li:hover,
.block-primary .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li.tab-sel {
    color: #222;
}

.block-primary .cms-container {
    float: left;
    width: 300px;
}

.block-primary .sm-listing-tabs .ltabs-wrap .ltabs-items-container {
    float: right;
    width: calc(100% - 305px);
    margin-right: -8px;
}

.block-primary .item-row .item+.item {
    padding-top: 20px !important;
    position: relative;
}

.block-primary .item-row .item+.item:before {
    content: "";
    position: absolute;
    left: -10px;
    top: 0;
    height: 1px;
    width: calc(100% + 20px);
    background-color: #e5e5e5;
}

.block-primary .item-row .item+.item .product-item-info {
    margin-bottom: 0;
}

.block-primary .owl-item.active:last-child .item-row .item+.item:before {
    width: calc(100% + 12px);
}

.block-primary .owl-theme .owl-nav {
    position: absolute;
    top: -66px;
    margin: 0;
    right: -15px;
}

/* Orange Color Theme */
.block-primary.orange-color .block-title {
    border-bottom: 2px solid #f9b513;
}

.block-primary.orange-color .block-title strong {
    background-color: #f9b513;
    color: #fff !important;
}

.block-primary.orange-color .block-title strong:before {
    border-bottom: 10px solid #d49705;
}

.block-primary.orange-color .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li:hover,
.block-primary.orange-color .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li.tab-sel {
    color: #f9b513;
}

/* Blue Color Theme */
.block-primary.blue-color .block-title {
    border-bottom: 2px solid #4dabee;
}

.block-primary.blue-color .block-title strong {
    background-color: #4dabee;
    color: #fff !important;
}

.block-primary.blue-color .block-title strong:before {
    border-bottom: 10px solid #1e95ea;
}

.block-primary.blue-color .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li:hover,
.block-primary.blue-color .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li.tab-sel {
    color: #4dabee;
}

/* Red Color Theme */
.block-primary.red-color .block-title {
    border-bottom: 2px solid #A68A6A;
}

.block-primary.red-color .block-title strong {
    background-color: #A68A6A;
    color: #fff !important;
}

.block-primary.red-color .block-title strong:before {
    border-bottom: 10px solid #ff1d2a;
}

.block-primary.red-color .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li:hover,
.block-primary.red-color .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li.tab-sel {
    color: #A68A6A;
}

/* Green Color Theme */
.block-primary.green-color .block-title {
    border-bottom: 2px solid #53c861;
}

.block-primary.green-color .block-title strong {
    background-color: #53c861;
    color: #fff !important;
}

.block-primary.green-color .block-title strong:before {
    border-bottom: 10px solid #38b047;
}

.block-primary.green-color .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li:hover,
.block-primary.green-color .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li.tab-sel {
    color: #53c861;
}

/* Purple Color Theme */
.block-primary.purple-color .block-title {
    border-bottom: 2px solid #c579c0;
}

.block-primary.purple-color .block-title strong {
    background-color: #c579c0;
    color: #fff !important;
}

.block-primary.purple-color .block-title strong:before {
    border-bottom: 10px solid #b655af;
}

.block-primary.purple-color .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li:hover,
.block-primary.purple-color .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li.tab-sel {
    color: #c579c0;
}

/* Padding Owl Styles */
.padding-owl .products-grid {
    margin-left: -8px;
    margin-right: -8px;
}

.padding-owl .products-grid .product-item,
.padding-owl .products-grid .product-item-info {
    margin-bottom: 0;
}

/* Product Banner Styles */
.block-primary.product-banner .banner-image {
    margin-bottom: 20px;
}

.block-primary.product-banner .owl-carousel {
    position: static;
}

.block-primary.product-banner .block-content {
    position: relative;
}

.block-primary.product-banner .owl-theme .owl-nav {
    position: absolute;
    top: -43px;
    margin: 0;
    right: -4px;
}

/* Block News Styles */
.block-news .info-post {
    padding-top: 10px;
}

.block-news .image-post img:hover {
    opacity: .8;
}

.block-news .post-date {
    font-size: 92.857%;
    margin-bottom: 2px;
}

.block-news .post-title {
    margin-bottom: 4px;
}

.block-news .post-title a {
    text-transform: uppercase;
    font-weight: 500;
    transition: .1s;
    -moz-transition: .1s;
    -webkit-transition: .1s;
    -o-transition: .1s;
}

.block-news .post-short-description {
    font-size: 92.857%;
}

.block-news .post-read-more {
    padding-top: 12px;
}

.block-news .post-read-more a {
    font-size: 85.714%;
    border: 1px solid #e5e5e5;
    display: inline-block;
    padding: 9px 20px;
    text-transform: uppercase;
    transition: .1s;
    -moz-transition: .1s;
    -webkit-transition: .1s;
    -o-transition: .1s;
}

.categories-slider .item-row .cat-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* SM Listing Tabs Styles */
.sm-listing-tabs.ltabs-loading-first {
    background: transparent url("../images/loader-1.gif") no-repeat scroll center center;
    display: block;
    max-width: 100%;
    min-height: 300px;
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 0;
}

.sm-listing-tabs .ltabs-wrap {
    position: relative;
}

.sm-listing-tabs.slider .product-items .product-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.sm-listing-tabs.slider .products.wrapper.products-grid .product-items {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.sm-listing-tabs .ltabs-wrap .ltabs-tabs-container {
    margin-bottom: 30px;
}

.sm-listing-tabs.ltabs-loading-first * {
    display: none;
    opacity: 0;
}

.acd-btn-add {
    float: left;
}

.sm-listing-tabs .tab-all .ltabs-tab-img {
    height: 30px;
}

.sm-listing-tabs .ltabs-tabs-container ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sm-listing-tabs .ltabs-tabs-container .ltabs-tabs {
    display: block;
}

.sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 0;
    margin-right: 10px;
    font-weight: 700;
    cursor: pointer;
}

.sm-listing-tabs .products {
    margin: 0;
}

.sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li.tab-sel {
    border-bottom: 2px solid #ddd;
}

.sm-listing-tabs .ltabs-tab-img {
    float: left;
    margin-right: 10px;
    overflow: hidden;
}

.sm-listing-tabs .add-loadmore {
    float: right;
    margin-left: 10px;
    margin-top: 2px;
}

.sm-listing-tabs .loaded .add-loadmore {
    display: none;
}

.sm-listing-tabs .ltabs-wrap .ltabs-items-container {
    margin: 0;
    padding: 0;
}

.sm-listing-tabs .ltabs-items-container .ltabs-items {
    display: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.sm-listing-tabs .ltabs-items-container .ltabs-items-inner {
    margin: 0;
    padding: 0;
    width: 100%;
}

.sm-listing-tabs .ltabs-items-container .ltabs-items-selected {
    display: block;
}

.sm-listing-tabs .ltabs-items-container .ltabs-item-wrap {
    box-shadow: 0 0 0 #000;
    margin: 0;
    opacity: 0;
    padding: 0;
}

.sm-listing-tabs .ltabs-items .ltabs-loading {
    background: transparent url("../images/loader-1.gif") no-repeat scroll center center;
    display: block;
    max-width: 100%;
    min-height: 300px;
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 0;
}

.sm-listing-tabs .ltabs-items-container .ltabs-loadmore {
    display: block;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

.sm-listing-tabs .ltabs-items .ltabs-loadmore .ltabs-loadmore-btn {
    cursor: pointer;
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #ddd;
}

.sm-listing-tabs .ltabs-items .ltabs-loadmore .ltabs-loadmore-btn .ltabs-image-loading {
    background: url(../images/loader-1.gif) no-repeat center center / 22px auto;
    display: none;
    height: 22px;
    margin-right: 10px;
    vertical-align: middle;
    width: 22px;
}

.sm-listing-tabs .ltabs-items .ltabs-loadmore .ltabs-loadmore-btn::after {
    content: attr(data-label);
}

.sm-listing-tabs .ltabs-items.ltabs-process .ltabs-loadmore {
    display: none;
}

.sm-listing-tabs .ltabs-items-container.show-slider {
    margin: 0 10px;
}

.cf::before,
.cf::after {
    content: " ";
    display: table;
}

.cf::after {
    clear: both;
}

.sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap .ltabs-current-select {
    display: none;
}

.sm-listing-tabs ol[data-liffect] li {
    opacity: 0;
    position: relative;
    animation-duration: .3s;
    animation-timing-function: ease;
    animation-fill-mode: both;
}

.sm-listing-tabs ol[data-liffect="fadeIn"].play li {
    animation-name: fadeIn;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (min-width: 1200px) {
    .slidershow-content .owl-carousel+.loading-content {
        min-height: 530px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .slider-banner {
        width: 100%;
        padding-left: 0;
    }

    .block-primary .sm-listing-tabs .ltabs-tabs-container {
        position: static;
        margin-bottom: 20px;
    }

    .block-primary .sm-listing-tabs .owl-theme .owl-nav {
        top: -105px;
    }

    .services-list ul li {
        width: 33.3333333%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .slider-banner {
        width: 100%;
        padding-left: 0;
    }

    .services-list ul li {
        width: 33.33333%;
    }

    .block-primary .sm-listing-tabs .ltabs-tabs-container {
        position: static;
        margin-bottom: 20px;
        margin-right: 65px;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .block-primary .sm-listing-tabs .owl-theme .owl-nav {
        top: -56px;
        right: -8px;
    }

    .block-primary .sm-listing-tabs .block-content {
        padding: 20px;
    }

    .product-banner .banner-image img {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .slider-banner {
        width: 100%;
        padding-left: 0;
    }

    .services-list ul li {
        width: 50%;
    }

    .block-primary .sm-listing-tabs .ltabs-tabs-container {
        position: static;
        margin-bottom: 20px;
        margin-right: 65px;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .block-primary .sm-listing-tabs .owl-theme .owl-nav {
        top: -56px;
        right: -8px;
    }

    .block-primary .cms-container {
        float: none;
        width: 100%;
    }

    .block-primary .sm-listing-tabs .ltabs-wrap .ltabs-items-container {
        margin-left: -8px !important;
        margin-right: -8px !important;
        float: none;
        width: unset;
        margin-bottom: 10px;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap {
        position: relative;
        padding: 10px 30px 10px 10px;
        background: #fff;
        border: 1px solid #ddd;
        cursor: pointer;
        outline: none;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap .ltabs-current-select {
        display: inline;
        text-transform: uppercase;
        font-size: 12px;
        color: #333;
        font-weight: normal;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap:after {
        content: "";
        width: 0;
        height: 0;
        position: absolute;
        right: 10px;
        top: 50%;
        margin-top: -3px;
        border-width: 6px 6px 0 6px;
        border-style: solid;
        border-color: #666 transparent;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap .ltabs-tabs {
        opacity: 0;
        position: absolute;
        top: 140%;
        left: auto;
        right: -1px;
        min-width: 200px;
        padding: 10px;
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.17);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        font-weight: normal;
        list-style: none;
        pointer-events: none;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap .ltabs-tabs:after {
        content: "";
        width: 0;
        height: 0;
        position: absolute;
        bottom: 100%;
        right: 15px;
        border-width: 0 6px 6px 6px;
        border-style: solid;
        border-color: #fff transparent;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap .ltabs-tabs:before {
        content: "";
        width: 0;
        height: 0;
        position: absolute;
        bottom: 100%;
        right: 13px;
        border-width: 0 8px 8px 8px;
        border-style: solid;
        border-color: rgba(0, 0, 0, 0.1) transparent;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap .ltabs-tabs li.active,
    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap .ltabs-tabs li {
        float: none !important;
        display: block !important;
        padding: 0 !important;
        border: none !important;
        background: none !important;
        margin: 0 !important;
        height: auto !important;
        font-weight: normal !important;
        border-radius: 0 !important;
        -webkit-border-radius: 0 !important;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap .ltabs-tabs li.active span,
    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap .ltabs-tabs li span {
        padding: 5px 10px !important;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap .ltabs-tabs li:hover {
        background: #ddd !important;
        color: #222;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap .ltabs-tabs li.active::after {
        display: none;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap .ltabs-tabs li span {
        display: block;
        padding: 10px;
        text-decoration: none;
        border-bottom: 1px solid #ddd;
        -webkit-transition: all .2s ease-out;
        -moz-transition: all .2s ease-out;
        -ms-transition: all .2s ease-out;
        -o-transition: all .2s ease-out;
        transition: all .2s ease-out;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap .ltabs-tabs li:last-of-type span {
        border: none;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs-wrap.active .ltabs-tabs {
        opacity: 1;
        pointer-events: auto;
        z-index: 5;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li.tab-sel>span {
        background-color: #ddd;
        color: #222;
    }
}

@media (max-width: 480px) {
    .services-list ul li {
        width: 100%;
    }

    .slider-banner .banner-right,
    .slider-banner .slidershow-content {
        width: 100%;
        float: none;
    }
}

/* Sidebar Block Styles */
.sidebar .block {
    margin-bottom: 30px !important;
}

.sidebar .block .block-title {
    margin: 0;
    padding: 15px 20px 13px;
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
}

.sidebar .block .block-title strong {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 114.285%;
}

.sidebar .block .block-title .counter {
    display: none !important;
}

.sidebar .block .block-content,
.sidebar .block .empty {
    border: 1px solid #ddd;
    background-color: #fff;
    border-top: none;
    padding: 20px;
    border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
}

/* Toolbar Styles */
.toolbar {
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    padding: 9px;
    margin-bottom: 30px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

