/* Custom code goes here - paste your css code below in line 3 */
#_desktop_top_menu ul.top-menu #category-436 .popover.sub-menu {
    width: 330px;
}
#_desktop_top_menu ul.top-menu #category-356 .popover.sub-menu {
    width: 420px;
}
#_desktop_top_menu ul.top-menu #category-356 .popover.sub-menu > ul {
    display: flex;
    flex-wrap: wrap;
}
#_desktop_top_menu ul.top-menu #category-356 .popover.sub-menu > ul > li:nth-child(odd) {
    padding-left: 0;
}

#_desktop_top_menu ul.top-menu #category-356 .popover.sub-menu > ul > li:nth-child(even) {
    padding-right: 0;
}
#_desktop_top_menu ul.top-menu #category-356 .popover.sub-menu > ul > li {
    width: 50%;
    padding: 0px 15px;
}
#homepage-slider .angarslider-description {
    justify-content: normal;
    left: 4%;
    font-size: 30px;
    color: #3d1e50;
    line-height: 4;
    font-style: italic;
}
#homepage-slider .angarslider-description p {
    text-transform: none;
    text-align: left;
    font-weight: 600;
    transform: scaleY(1.2);
    padding:0;
}
#homepage-slider .bx-wrapper .bx-controls-direction a:before {
    background: #623a98;
    color: #fff;
    border-radius: 50%;
}

#homepage-slider:hover .bx-wrapper .bx-controls-direction a.bx-next,#homepage-slider:hover .bx-wrapper .bx-controls-direction a.bx-prev {
    border-radius: 50%;
}
a:focus {
    outline: 0;
}
#subcategories ul li h5 .subcategory-name {
    font-size: 12px;
    font-weight: 500;
}
#home_cat_product ul li .right-block .name_block a:hover,.products .product-miniature .product-title a:hover,.footer-container li a:hover,a:hover{
        text-decoration: blink;
}
.product-image-container a.quick-view{
    background: rgb(98 58 152 / 80%);     /*rgb(98 58 152 / 50%);*/
    border-radius: 8px;
}
body .products article .wishlist-button-add{
    background-color: #623a98;
}
body .products article .wishlist-button-add i{
    color:#fff;
}
.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
    outline: none;
}
.ets-htmlBox-hook #custom-text,.homecat_title {
    display:none;
}
#index .ets-htmlBox-hook #custom-text {
    display:block;
}
.feat_cat_style4 #home_categories ul li .cat-container {
    padding: 0;
    -webkit-box-shadow: unset
}

.feat_cat_style4 #home_categories ul li.cat_block {
    padding: 5px 5px;
}

.catlinks_container {margin-top: 10px;}
.feat_cat_style4 #home_categories ul li .cat-container {
    padding: 0;
    -webkit-box-shadow: unset;
    border: 1px solid red;
    border-radius: 8px;
    overflow: hidden; /* 🔥 IMPORTANT */
}

/* Apply different border colors */
.feat_cat_style4 #home_categories ul li:nth-child(4n+1) .cat-container {
    border: 1px solid red;
}

.feat_cat_style4 #home_categories ul li:nth-child(4n+2) .cat-container {
    border: 1px solid green;
}

.feat_cat_style4 #home_categories ul li:nth-child(4n+3) .cat-container {
    border: 1px solid blue;
}

.feat_cat_style4 #home_categories ul li:nth-child(4n+4) .cat-container {
    border: 1px solid black;
}
.catimg_container img {
    width: 100%;
    display: block;
}

.feat_cat_style4 #home_categories ul li:nth-child(1) .cat-container  .view_more {
    background: #f63e00;
}

.feat_cat_style4 #home_categories ul li:nth-child(2) .cat-container  .view_more{
    background: #1d1d1b;
}

.feat_cat_style4 #home_categories ul li:nth-child(3) .cat-container  .view_more{
    background: #8c0a24;
}

.feat_cat_style4 #home_categories ul li:nth-child(4) .cat-container .view_more{
    background: #86d9f6;
}
.feat_cat_style4 #home_categories ul li:nth-child(5) .cat-container .view_more{
    background: #133fac;
}

.feat_cat_style4 #home_categories ul li:nth-child(6) .cat-container  .view_more {
    background: #630983;
}

.feat_cat_style4 #home_categories ul li:nth-child(7) .cat-container  .view_more{
    background: #881f19;
}

.feat_cat_style4 #home_categories ul li:nth-child(8) .cat-container  .view_more{
    background: #252f62;
}

.feat_cat_style4 #home_categories ul li:nth-child(9) .cat-container .view_more{
    background: #e1b125;
}
.feat_cat_style4 #home_categories ul li:nth-child(10) .cat-container .view_more{
    background: #fc0000;
}
.feat_cat_style4 #home_categories ul li:nth-child(11) .cat-container  .view_more {
    background: #b61e23;
}

.feat_cat_style4 #home_categories ul li:nth-child(12) .cat-container  .view_more{
    background: #de0330;
}

.feat_cat_style4 #home_categories ul li:nth-child(13) .cat-container  .view_more{
    background: #0163aa;
}

.feat_cat_style4 #home_categories ul li:nth-child(14) .cat-container .view_more{
    background: #271770;
}
.feat_cat_style4 #home_categories ul li:nth-child(15) .cat-container .view_more{
    background: #003287;
}
.feat_cat_style4 #home_categories ul li .cat-container .view_more {
    color: #fff;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
}
.catimg_container img.replace-2x {
    height: 110px;
    width: auto;
    margin-left: 15px;
}
.feat_cat_style4 #home_categories ul li:nth-child(5n+1) {
    padding-right: 20px;
}

/* 5th, 10th, 15th... → only left padding */
.feat_cat_style4 #home_categories ul li:nth-child(5n) {
    padding-left: 20px;
}

/* Middle items (2,3,4) → bigger both sides */
.feat_cat_style4 #home_categories ul li:nth-child(5n+2),
.feat_cat_style4 #home_categories ul li:nth-child(5n+3),
.feat_cat_style4 #home_categories ul li:nth-child(5n+4) {
    padding-left: 20px;
    padding-right: 20px;
}

.banner-content h4{
    transform: scaleY(1.2);
    line-height: 1;
}
a.btn.btn-custom {
    background: #623a98;
    color: #fff;
}

a.btn.btn-custom-secondary {
    color: #fff;
    border: 1px solid;
}
a.btn.btn-custom:hover {
    background: none;
    border: 1px solid;
}

a.btn.btn-custom-secondary:hover {
    background: #623a98;
    border: 1px solid #623a98;
}
.banner-content .btn-group {
    display: block;
}
@media (max-width: 1199px) and (min-width: 992px) {
    .feat_cat_style4 #home_categories ul li {
        width: 25% !important;
        max-width: 25% !important;
        flex: 0 0 25% !important;
    }
    .feat_cat5 #home_categories ul > li.cat_block:nth-child(5n+1) {clear:unset;}
        .feat_cat_style4 #home_categories ul li {
        padding-left: 0;
        padding-right: 0;
    }

    /* 1st item special (only once) */
    .feat_cat_style4 #home_categories ul li:nth-child(1) {
        padding-left: 20px;
    }

    /* 1st in each row (1,5,9...) */
    .feat_cat_style4 #home_categories ul li:nth-child(4n+1) {
        padding-right: 10px;
    }

    /* last in each row (4,8,12...) */
    .feat_cat_style4 #home_categories ul li:nth-child(4n) {
        padding-left: 10px;
    }

    /* middle items (2,3) */
    .feat_cat_style4 #home_categories ul li:nth-child(4n+2),
    .feat_cat_style4 #home_categories ul li:nth-child(4n+3) {
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media (max-width: 991px) {

    .feat_cat_style4 #home_categories ul li {
        padding-left: 0;
        padding-right: 0;
    }

    /* 1st in row */
    .feat_cat_style4 #home_categories ul li:nth-child(1) {
         padding-left: 20px;
    }
    .feat_cat_style4 #home_categories ul li:nth-child(3n+1) {
        padding-right: 10px;
    }

    /* last in row */
    .feat_cat_style4 #home_categories ul li:nth-child(3n) {
        padding-left: 10px;
    }

    /* middle item */
    .feat_cat_style4 #home_categories ul li:nth-child(3n+2) {
        padding-left: 10px;
        padding-right: 10px;
    }

    .button-container .add-to-cart, .button-container .add-to-cart:disabled  {
        font-size: 12px;
        padding: 8px 12px;
    }

    .btn.add-to-cart i.material-icons.shopping-cart,#angarbest {
        display: none;
    }
    #_desktop_top_menu > ul > li > a {
        font-size: .8rem;
        padding:12px 15px
    }
}
@media (max-width: 767px) {
    .feat_cat_style4 #home_categories ul li:nth-child(1),
    .feat_cat_style4 #home_categories ul li:nth-child(3n+1),
    .feat_cat_style4 #home_categories ul li:nth-child(3n+2),
    .feat_cat_style4 #home_categories ul li:nth-child(3n) {
        padding: 10px 20px;
    } 
    .button-container .add-to-cart, .button-container .add-to-cart:disabled  {
        font-size: 12px;
        padding: 8px 15px;
    }

    .btn.add-to-cart i.material-icons.shopping-cart,#angarbest {
        display: none;
    }  

}
@media (max-width: 375px) {
    .button-container .add-to-cart, .button-container .add-to-cart:disabled  {
        padding: 5px 5px;
        font-size: 10px;
    }
}