/**
* 2007-2025 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-2025 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/
.badcategoryslider-block {
    margin-top: 80px;
    padding: 80px 0;
    background-color: #1C1B18;
}
.badcategoryslider-content-wrapper{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.badcategoryslider-item-title {
    display: inline-block;
    font-size: 18px;
    line-height: 26px;
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
}
.badcategoryslider-item-title:hover{
    color: #fff;
}
.badmain-btn{
    margin-top: 30px;
}
.badcategory-btn {
    background: transparent;
    padding: 10px 22px;
    text-transform: capitalize;
    font-size: 16px;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 400;
    border: 1px solid #747474;
    display: flex;
    overflow: hidden;
    position: relative;
    align-items: center;
    gap: 5px;
    width: fit-content;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    z-index: 1;
    margin: auto;
}
.badcategory-btn::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--theme-custom-color);
    border: none;
    transition: all .35s;
    z-index: -1;
}
.badcategory-btn:hover{
    color: #000000;
    border-color: var(--theme-custom-color);
}
.badcategory-btn:hover::after {
    width: 100%;
}
.badcategoryslider-item-img-wrapper{
    position: relative;
    margin: 0 15px;
}
.badcategoryslider-item-img-wrapper img {
    width: 100% !important;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.img-hover-category-box {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 15px;
    opacity: 0;
    height: 50px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
}
.badcategoryslider-item-img-wrapper:hover .img-hover-category-box {
    opacity: 1;
    height: 94%;
}
@media(max-width: 1200px){
    .badcategoryslider-block {
        margin-top: 50px;
        padding: 30px;
    }
}
@media(max-width: 991px){
    .badcategoryslider-block {
        margin-top: 30px;
        padding: 30px 0;
    }
    .badcategoryslider-item-img-wrapper:hover .img-hover-category-box,
    .img-hover-category-box {
        opacity: 1;
        height: 40px;
        bottom: 10px;
        top: auto;
    }
    .badcategoryslider-item-title {
        font-size: 15px;
        line-height: 22px;
    }
}
@media(max-width: 767px){
    .badcategoryslider-content{
        padding: 0;
    }
    .badcategory-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}
@media(max-width: 575px){
    .badcategoryslider-item-title {
        font-size: 13px;
        line-height: 18px;
    }
    .badcategoryslider-item-img-wrapper:hover .img-hover-category-box, .img-hover-category-box {
        height: 35px;
        border-radius: 4px;
    }
}
@media(max-width: 480px){
    .badmain-btn {
        margin-top: 20px;
    }
}