body.switch1_on .enhanced-pic .below-img,
body.switch2_on .counter-parent .s-slider-block__title-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

body.switch2_on .counter-parent .s-slider-block__title-right {
    padding: 0;
    grid-template-columns: 1fr 2fr;
}

body.switch1_on .enhanced-pic .banner__description {
    position: relative
}

body.switch1_on .enhanced-pic .banner__description:after {
    content: var(--custom-title4);
    position: absolute;
    left: 50%;
    bottom: -100%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    text-decoration: underline
}

body.switch1_on .enhanced-pic .banner-outer:hover .banner__description:after {
    opacity: 0.5;
}

body.switch1_on .enhanced-pic .banner-texts {
    width: 100%;
    height: 100%;
    background-color: var(--custom_clr1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

body.switch2_on section.s-block.counter {
    margin-top: 0;
}

body.switch2_on .counter .s-count-down-list {
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

body.switch2_on .counter .s-count-down-item-label {
    display: none;
}

body.switch2_on .counter .s-count-down-item {
    padding: 0;
    min-width: 30px !important;
    height: auto;
    background-color: white;
    border-radius: 0.25rem;
}

body.switch2_on .counter-parent .s-slider-block__title {
    padding: 0.5rem;
    background: var(--custom-image1);
}


body.switch2_on .counter-parent .s-slider-block__title h2,
body.switch2_on .counter-parent .s-slider-block__title .s-slider-nav-arrow svg,
body.switch2_on .counter-parent .s-slider-block__title .s-slider-block__display-all {
    padding: 0;
    fill: var(--custom-color1);
    color: var(--custom-color1);
}

@media(max-width:767px) {

    body.switch2_on section.s-block.counter {
        margin-top: 0;
        width: auto;
        margin: 0;
    }

    body.switch2_on .counter-parent .s-slider-block__title {
        flex-direction: column;
        gap: 1rem;
    }

    body.switch2_on .counter-parent .s-slider-block__title-right {
        padding: 0;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
}

/* solar features */
[dir="rtl"] body.switch3_on .header-btn__icon.icon {
    margin-left: 0;
}

[dir="rtl"] body.switch3_on .header-innerLeft salla-cart-summary.ml-2 {
    margin-left: 0;
}

.hdr-srch-wide {
    display: block !important;
}

#app .hdr-srch-wide .s-search-icon-wrap {
    color: #969799;
}

#app .hdr-srch-wide input::placeholder {
    color: var(--custom-color1, #bbbbbb);
    caret-color: var(--custom-color1, #bbbbbb);
}

#app .top-navbar .s-search-input {
    background-color: var(--custom-color2, #bbbbbb);
    border-radius: 0.5rem;
}

#app .top-navbar i {
    vertical-align: middle;
}

/* change inout plasehoder color */
.new-styles .top-navbar .mburger .header-menu-icon {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

/* hide notification icon if not user */
@media only screen and (min-width: 1024px) {
    .is_guest .noti-icon-wrapper {
        display: none !important;
    }

    .normal-menu .main-menu li.root-level>a {
        padding-bottom: 1rem;
    }
}

.new-styles.desk-menu-like-mob .mburger {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

[dir="rtl"] .new-styles .mburger {
    padding-left: 0.8rem;
}

[dir="ltr"] .new-styles .mburger {
    padding-right: 0.8rem;
}

.new-styles .top-navbar {
    border-top: 1.5px solid #ebebeb;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-bottom: 0rem;
}

.new-styles .main-nav-container {
    min-height: 40px;
}

body:not(.normal-menu).new-styles .header-inner-wrapper {
    padding-top: 0.6rem;
    padding-bottom: 0.7rem;
}

@media only screen and (max-width: 640px) {
    .new-styles .navbar-brand img {
        max-width: 110px;
    }
}

@media only screen and (max-width: 400px) {
    .store-header .hdr-promotion {
        font-size: 0.75rem;
    }
}

@media only screen and (max-width: 370px) {
    .store-header .hdr-promotion {
        font-size: 0.6rem;
    }
}

.new-styles .mburger {
    color: var(--header-text-color, #111111);
}

.new-styles #mainnav {
    height: auto !important;
}

.hdr-promotion span {
    font-weight: 600;
}

.new-styles .header-innerLeft .s-cart-summary-wrapper,
.new-styles .header-innerLeft .hdr-srch.header-btn {
    display: none !important;
}

#app.new-styles .top-navbar .s-search-input {
    height: 2.5rem !important;
}

.s-block--banners h3 {
    font-weight: 400;
}

/*  new css */

/* product card */
#app .custom-pc .badge {
    padding: 0 1.1em;
    border-radius: 100px !important;
    font-size: 0.6rem;
    top: 0.6rem;
}

[dir="rtl"] #app .custom-pc .badge {
    right: 0.4rem !important;
    left: auto;
}

[dir="ltr"] #app .custom-pc .badge {
    left: 0.4rem !important;
    right: auto;
}

.alt-brand-name.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 72%;
    font-size: 80%;
    unicode-bidi: plaintext;
    text-align: right;
}

[dir="ltr"] .alt-brand-name.truncate {
    text-align: left;
}

.product-block__thumb:not(.has-rating)+.product-block-outer .product-title.no-brand .title {
    margin-top: 1.1rem;
}

/* wishlist */

custom-salla-product-card.custom-pc .btn--wishlist {
    position: absolute;
    z-index: 2;
    margin: 0;
    top: 0rem;
    border: none;
}

custom-salla-product-card.custom-pc .btn--wishlist button {
    border: none;
}

custom-salla-product-card .btn--wishlist .s-button-text {
    justify-content: center;
}

custom-salla-product-card salla-button .btn--wishlist {
    border-radius: var(--add-to-cart-radius, 4px) !important;
}

[dir="ltr"] custom-salla-product-card.custom-pc .btn--wishlist {
    right: 0;
}

[dir="rtl"] custom-salla-product-card.custom-pc .btn--wishlist {
    left: 0;
}

custom-salla-product-card.custom-pc .btn--wishlist .s-button-text {
    transform: scale(1.3);
}

/*  wishlist */
custom-salla-product-card.custom-pc .title {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 500;
}

custom-salla-product-card.custom-pc .pc-t {
    line-height: normal;
}

custom-salla-product-card.custom-pc .btn--add-to-cart {
    position: absolute;
    top: -15px;
    width: auto;
}

[dir="rtl"] custom-salla-product-card.custom-pc .btn--add-to-cart {
    left: 0;
}

[dir="ltr"] custom-salla-product-card.custom-pc .btn--add-to-cart {
    right: 0;
}

custom-salla-product-card.custom-pc .btn--add-to-cart button[product-id].s-button-primary {
    height: 2.2rem;
    width: 2.2rem;
    border-radius: 100px;
}

custom-salla-product-card.custom-pc .btn--add-to-cart button[product-id].s-button-primary .s-button-text:before {
    margin-left: 0;
    margin-right: 0;
}

body.small-atc.app-body custom-salla-product-card.custom-pc.product-block:not(.s-product-card-horizontal) .aaliicon-add-to-cart-outer {
    width: 2.2rem;
}

html[dir="ltr"] body.small-atc.app-body .product-block:not(.s-product-card-horizontal) .btn--add-to-cart .aaliicon-add-to-cart-outer {
    margin-right: 0;
    margin-left: auto;
    left: unset;
    right: calc(var(--atc-x-space, 4px) * 0.4);
}

.rating-wrapper .sicon-star2 {
    color: rgb(218, 178, 19);
}

#app .price-wrapper.no-ratio {
    grid-column: 1 / -1;
}

[dir="ltr"] .rat-count {
    margin-left: 0.25rem;
}

[dir="rtl"] .rat-count {
    margin-right: 0.25rem;
}

.rat-count {
    color: #9a9a9a;
    font-size: 0.8rem;
}

.rat-stars {
    background: #f8f8f8;
    padding: 0 0.4rem;
    border-radius: 100px;
    line-height: normal;
    align-items: center;
    justify-content: center;
    display: flex;
    max-height: 1.1rem;
    font-size: 0.9rem;
}

.rat-stars span {
    font-size: 0.8rem;
    margin: 0 0.1rem;
    color: #505050;
}

custom-salla-product-card .price-wrapper.on-sale {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

custom-salla-product-card .price-wrapper.on-sale .t-red+.before-price.text-sm {
    margin-left: 0;
    margin-right: 0;
}

/* on sale ratio */
.sale-ratio-wrapper.price-ratio-down {
    position: absolute;
    left: 0.6rem;
    bottom: 0.8rem;
    background: #fbe7e9;
    padding: 0 0.55rem;
    border-radius: 100px;
    line-height: normal;
    align-items: center;
    justify-content: center;
    display: flex;
    max-height: 1.1rem;
    font-size: 0.9rem;
}

[dir="ltr"] .sale-ratio-wrapper.price-ratio-down {
    left: auto;
    right: 0.6rem;
}

custom-salla-product-card .product-block-outer {
    margin-top: 0;
}

/* on sale ratio */

/* has svg atc */
.btn--add-to-cart.has-svg .s-button-text:before {
    display: none !important;
}

.btn--add-to-cart.has-svg .s-button-wrap svg {
    fill: var(--atc-text-color);
    --webkit-transform: scale(1.18);
    transform: scale(1.18);
}

/* Handling user profile */
@media only screen and (min-width: 200px) {
    #app.user--left-only .store-header .hdi-btn-left {
        display: flex !important;
    }
}

.mob-user, .mob-login {
  display: none !important;
}

@media only screen and (max-width: 767px) {
    #app.mob-user--left-only .store-header .user-menu-left #trigger-slot, #app.mob-user--left-only .store-header .hdi-btn-left {
        display: block !important;
    }
}

/* has svg atc */

/* product card */